Production reference implementation of the ORNL INTERSECT (Interconnected Science Ecosystem) strategic and architectural design patterns:
- Multi-Experiment Workflow (
MultiExperimentWorkflowController,WorkflowDAG,MultiExperimentWorkflowPlan) - Experiment Control (
ExperimentController,ExperimentPlan,SafetyCondition) - Experiment Steering (
ExperimentSteeringController,SteeringRule) - Design of Experiments (DoE) (
DesignOfExperimentsRunner,DesignOfExperimentsPolicy) - ACL Science Use Case (
build_acl_hardware_registry,build_acl_workflow_plan)
- INTERSECT Microservices & Event Bus (
IntersectEventBus,IntersectMessage,CapabilityServiceAdapter,DistributedHardwareRegistry) - Declarative Blueprint Serialization & Checkpointing (
WorkflowBlueprintSerializer,WorkflowCheckpointStore,resume_workflow) - Surrogate Response-Surface DoE, Continuous Safety Watchdog & HITL (
ResponseSurfaceDoEOptimizer,ContinuousSafetyWatchdog,HumanInTheLoopGate) - Async HTTP/REST & SSE Telemetry Server (
IntersectWorkflowAPIServer)
- System-of-Systems (SoS) Federation & Contention Scheduler (
FacilityNode,FederatedSystemOfSystemsRouter,ResourceContentionScheduler,SampleChainOfCustodyLedger) - Fault Tolerance, Retry Policies, Circuit Breakers & Digital Twin (
ResilientHardwareRegistry,RetryPolicy,InstrumentCircuitBreaker,DeadLetterQueue,DigitalTwinSimulator) - Scientific Data Lineage (W3C PROV-O) & Prometheus Observability (
ProvenanceGraphBuilder,ObservabilityCollector,TraceSpan) - Interactive Operational Web Console (
render_dashboard_htmlserved atGET /dashboard)
- Zero-Trust Security, RBAC & Tamper-Evident Cryptographic Ledger (
RBACAuthorizer,Principal,Role,Permission,MessageSigner,TamperEvidentAuditChain) - Multi-Objective Pareto DoE & Model Predictive Steering (MPC) (
MultiObjectiveParetoDoEOptimizer,ObjectiveSpec,ModelPredictiveSteeringEngine) - IRI Data Plane & HPC Compute Co-Scheduling (
DataStagingManager,DataArtifactBlob,HPCComputeFacility,HPCJobSpec,HPCJobResult) - Workflow Static Analyzer & Priority Campaign Scheduler (
WorkflowStaticAnalyzer,StaticAnalysisReport,CampaignQueueScheduler,CampaignItem)
- Hierarchical Sub-Workflows & Dynamic Conditional Branching (
SubWorkflowCompositeRunner,ConditionalBranchSpec,DynamicBranchingWorkflowController) - Online Digital Twin Assimilation, CUSUM Drift & Root-Cause Diagnostics (
OnlineDigitalTwinCalibrator,CUSUMDriftDetector,RootCauseDiagnosticsEngine) - INTERSECT Capability Contracts & OpenAPI 3.1 / AsyncAPI 2.6 Generator (
CapabilityContractRegistry,CapabilityContract,ParameterSchema,SpecGenerator) - FAIR Research Object Crate (RO-Crate 1.1) & Reproducibility Verifier (
ROCrateExporter,ReproducibilityVerifier,ReproducibilityReport)
- Multi-Agent Autonomous Scientific Swarm & Blackboard (
SwarmCoordinator,ScientificBlackboard,SynthesisChemistAgent,AnalyticalSpectroscopistAgent,SafetyComplianceAgent) - Consumables Inventory Ledger & Green Chemistry Accountant (
LaboratoryInventoryLedger,GreenChemistryAccountant,GreenChemistryReport) - National Lab Hardware Protocol Bridges (EPICS, OPC-UA & SiLA 2) (
EPICSChannelAccessBridge,OPCUAIndustrialBridge,SiLA2LaboratoryBridge,ProtocolBridgedHardwareRegistry) - Time-Travel Debugger, Counterfactual Simulator & Blueprint Versioning (
WorkflowVersionRepository,ExecutionTimeTravelDebugger,CounterfactualWhatIfSimulator)
- Scientific Intent-to-Workflow Compiler & Declarative DSL (
IntentWorkflowCompiler,CompiledIntentReport,IntentStageNode) - Bayesian Gaussian Process (GP) Active Learning & Phase-Space Discovery (
GaussianProcessActiveLearner,AcquisitionStrategy,GPPosteriorPrediction) - Edge-to-Cloud Streaming Telemetry Compression & QoS Backpressure (
AdaptiveTelemetryStreamProcessor,QoSPriority,WindowAggregateStats) - Automated Scientific Manuscript (Markdown/LaTeX) & Compliance Dossier Generator (
ScientificPublicationGenerator,ScientificDossier)
- Formal Verification, LTL Safety Model Checker & Petri-Net Deadlock Analyzer (
TemporalLogicModelChecker,PetriNetWorkflowAnalyzer,LTLPropertyResult,PetriNetAnalysisReport) - 3D Spatial Robotics Path Planner & 6-DOF Inverse Kinematics (
LabSpatialPathPlanner,Point3D,ObstacleBox3D,RoboticTrajectoryReport) - Multi-Fidelity Simulation-to-Experiment Co-Kriging Transfer Learning (
MultiFidelityCoKrigingOptimizer,FidelitySample) - Cloud-Native K8s CRD/Docker-Compose Manifests & SoS Benchmark Suite (
DeploymentManifestGenerator,SystemOfSystemsBenchmarkSuite,BenchmarkMetricsReport)
| Method & Path | Description |
|---|---|
GET /dashboard |
Interactive HTML5/SVG Operational Console with DAG topology, Digital Twin controls, and live telemetry |
GET /health |
Service status, registered capability IDs, event bus message count, DLQ count, audit blocks, and wire frames |
GET /openapi.json & /asyncapi.json
|
Live OpenAPI 3.1.0 REST specification and AsyncAPI 2.6.0 EventBus channel specification |
GET /contracts |
Registered JSON-Schema capability contracts across Instruments, Robots, Actuators, and Sensors |
GET /metrics |
Prometheus text exposition metrics (intersect_workflows_total, intersect_protocol_wire_frames_total, etc.) |
POST /analyze |
Run static pre-flight verification & critical-path duration estimation on a workflow blueprint |
POST /swarm/negotiate |
Run Multi-Agent Scientific Swarm negotiation & safety vetting on workflow parameters |
POST /workflows |
Execute the ACL template ({"use_acl_template": true}) or a declarative JSON blueprint
|
GET /workflows/{run_id} |
Retrieve full provenance and telemetry audit record for run_id
|
POST /workflows/{run_id}/resume |
Resume a checkpointed workflow run, skipping already completed upstream vertices |
POST /workflows/emergency-stop |
Trigger immediate emergency stop interlock across all actuators |
POST /campaigns & GET /campaigns/{id}
|
Submit and inspect priority-ordered multi-workflow screening campaigns |
GET /sustainability/{run_id} & /inventory
|
Compute Green Chemistry E-Factor, PMI, RME %, |
GET /protocols/frames |
Inspect translated EPICS PV (caput/camonitor), OPC-UA NodeId, and SiLA 2 wire frames |
POST /versions/commit, GET /versions, POST /versions/diff
|
Git-style workflow blueprint version control and semantic diffing |
GET /debugger/{run_id} |
Step-by-step time-travel execution timeline & state seek (?step=N) |
POST /what-if/simulate |
Execute side-by-side counterfactual scenario simulations and rank by composite utility |
GET /diagnostics/{run_id} |
Retrieve Kalman Digital Twin calibration, CUSUM drift alerts, and causal fault-tree root-cause diagnosis |
GET /rocrate/{run_id} |
Export FAIR RO-Crate 1.1 JSON-LD package with W3C PROV-O, custody ledger, and SHA-256 outcome digest |
POST /reproducibility/verify |
Replay a workflow run on a fresh hardware registry and certify deterministic reproducibility |
GET /ledger/verify |
Verify SHA-256 tamper-evident cryptographic audit chain integrity |
POST /iri/stage & POST /iri/hpc-job
|
Stage content-addressable datasets (intersect://staging/.../sha256/...) and submit co-scheduled HPC jobs |
GET /provenance/{run_id} |
Retrieve W3C PROV-O JSON-LD lineage document and Mermaid diagram |
GET /custody/{sample_id} |
Retrieve physical sample chain-of-custody ledger (creation, aliquot splits, archival) |
GET /resources/leases |
Inspect active and historical mutex resource contention leases |
GET /dlq & POST /dlq/replay
|
Inspect and replay failed Dead-Letter Queue actions |
POST /digital-twin/inject & /reset
|
Inject or clear transient hardware faults and sensor drift anomalies |
POST /approvals/{action_id} |
Submit Human-in-the-Loop operator approval/rejection and parameter overrides |
GET /events & GET /events/stream
|
Query or stream real-time Server-Sent Events (text/event-stream) from IntersectEventBus
|
All HMAC signing and verification requires a key supplied either per call or through
the INTERSECT_SIGNING_KEY environment variable. There is deliberately no built-in
default. Every entry point previously defaulted to a literal key that shipped in this
source tree, which meant anyone able to read the repository could re-sign a tampered
receipt or capsule and have it verify — a valid signature proved nothing. A missing key
now raises SigningKeyNotConfiguredError instead of silently substituting a constant.
export INTERSECT_SIGNING_KEY='<operator-held key>' # bash$env:INTERSECT_SIGNING_KEY = '<operator-held key>' # PowerShellThe artifacts under reproducibility/ were signed before this change, using the former
built-in key. To verify them as published, set that value explicitly:
INTERSECT_SIGNING_KEY='intersect-sos-default-hmac-key' \
python -c "import json; from intersect_workflow.workflow_capsule import WorkflowCapsule; \
from intersect_workflow.security import verify_capsule_integrity; \
print(verify_capsule_integrity(WorkflowCapsule.from_dict(json.load(open('reproducibility/capsule.json')))))"Note what that signature does and does not establish. An HMAC is symmetric, so a
signature over a publicly distributed artifact, made with a key that is also public,
demonstrates only that the bytes have not been corrupted — it cannot demonstrate who
produced them, because any reader can recompute it. For the committed package the
meaningful integrity evidence is the SHA-256 chain (capsule_sha256, the Tierkreis
graph digest, the artifact manifest and the audit chain), which is what
verify_capsule_integrity checks alongside the signature. Treat INTERSECT_SIGNING_KEY
as a real secret only for capsules you generate and do not publish; publishing the key
alongside the capsule reduces the signature to a checksum.
$env:PYTHONPATH = "src"
python -m unittest discover -s tests -v$env:PYTHONPATH = "src"
python -m intersect_workflow.cli