|
| 1 | +# Execution Control Reconciliation v0.3 |
| 2 | + |
| 3 | +Status: planning baseline |
| 4 | +Base: current `main` after agent harness, runtime observability, OpsHistory, reasoning, Agent Machine, local runtime, browser, and shell receipt tranches. |
| 5 | + |
| 6 | +## Purpose |
| 7 | + |
| 8 | +This note reconciles the proposed execution-control contract pack with the newer contract families already present in `sourceos-spec`. |
| 9 | + |
| 10 | +The goal is to avoid duplicate schema classes while preserving the missing control-plane vocabulary needed by downstream consumers. |
| 11 | + |
| 12 | +## Upstream families already present |
| 13 | + |
| 14 | +Recent upstream work already covers several adjacent domains: |
| 15 | + |
| 16 | +- Agent harness execution receipts: local runtime, shell, browser, host mutation, and download artifact receipt boundaries. |
| 17 | +- Runtime observability and capability governance: capability ledger, browser automation receipt, Git workspace state, orphan event receipt, and runtime install receipt. |
| 18 | +- OpsHistory: local-first operational history and redaction vocabulary. |
| 19 | +- Reasoning contracts: reasoning event, run, receipt, replay plan, and benchmark surfaces. |
| 20 | +- Agent Machine / model carry projections: model residency, inference provider, placement facts, and machine receipts. |
| 21 | +- Local runtime, browser history, shell receipt, and local-first service manifest surfaces. |
| 22 | + |
| 23 | +## Reuse-first decisions |
| 24 | + |
| 25 | +| Need | Reuse existing upstream surface | Net-new surface only if needed | |
| 26 | +|---|---|---| |
| 27 | +| Runtime receipt / execution proof | `AgentHarnessExecutionReceipts`, `RunRecord`, `SessionReceipt`, `TruthSurface`, `DeltaSurface` | No new generic run receipt in this tranche | |
| 28 | +| Browser, shell, terminal, host, and download evidence | Existing local-runtime, browser/shell, OpsHistory, and runtime observability receipts | No generic replacement evidence schema in this tranche | |
| 29 | +| Capability truth after reconciliation | `CapabilityLedger`, `Policy`, `PolicyDecision`, `CapabilityToken` | Optional `ToolExposurePolicy` for presentation-layer tool visibility only | |
| 30 | +| Workflow / validation program shape | `WorkflowSpec`, `WorkflowNode`, `WorkflowEdge`, `SkillManifest` | No new `ValidationProgram` schema in this tranche | |
| 31 | +| Agent skill packaging | `SkillManifest` | No new `AgentSkillBundle` schema in this tranche | |
| 32 | +| Lightweight environment fork | No exact current top-level schema | `ExecutionFork` remains net-new | |
| 33 | +| Request/session routing into a fork | No exact current top-level schema | `RoutingContract` remains net-new | |
| 34 | +| Team/developer runtime quota controls | No exact current top-level schema | `QuotaPolicy` remains net-new | |
| 35 | +| Runner image and primitive bundle | No exact current top-level schema | `RunnerGroup` remains net-new | |
| 36 | +| Protocol server test harness | No exact current top-level schema | `ProtocolWorkbench` remains net-new | |
| 37 | +| Generic artifact index | Partly covered by download/runtime receipts and Memory Mesh pointers | Defer `ArtifactDescriptor` until it aligns with existing artifact-pointer conventions | |
| 38 | + |
| 39 | +## Proposed v0.3 net-new tranche |
| 40 | + |
| 41 | +Add only these top-level schemas first: |
| 42 | + |
| 43 | +1. `ExecutionFork` |
| 44 | +2. `RoutingContract` |
| 45 | +3. `ToolExposurePolicy` |
| 46 | +4. `QuotaPolicy` |
| 47 | +5. `RunnerGroup` |
| 48 | +6. `ProtocolWorkbench` |
| 49 | + |
| 50 | +Defer or profile instead of adding: |
| 51 | + |
| 52 | +- `CapabilityPolicy`: use existing `Policy`, `PolicyDecision`, `CapabilityToken`, and `CapabilityLedger` until a genuine missing shape is proven. |
| 53 | +- `ArtifactDescriptor`: reconcile first with AgentHarness download artifact receipts, RuntimeInstall receipts, and Memory Mesh artifact pointer conventions. |
| 54 | +- `ValidationProgram`: profile `WorkflowSpec`. |
| 55 | +- `AgentSkillBundle`: profile `SkillManifest`. |
| 56 | +- `GovernedRun`: profile `RunRecord` and `AgentHarnessExecutionReceipts`. |
| 57 | +- `CairnEvidenceManifest`: profile `TruthSurface`, `DeltaSurface`, and existing provenance/receipt contracts. |
| 58 | + |
| 59 | +## Downstream alignment |
| 60 | + |
| 61 | +- `SocioProphet/agentplane`: consume `ExecutionFork`, `RoutingContract`, `RunnerGroup`, and `ProtocolWorkbench` as runtime orchestration inputs. |
| 62 | +- `SocioProphet/policy-fabric`: consume `ToolExposurePolicy` and `QuotaPolicy`; continue using existing policy decision/token flows for authority. |
| 63 | +- `SocioProphet/TriTRPC`: bind routing/workbench/session events to protocol frames. |
| 64 | +- `SourceOS-Linux/openclaw`: consume `ProtocolWorkbench` and `ToolExposurePolicy` for agent workbench and skill execution defaults. |
| 65 | +- `SourceOS-Linux/agent-term`, `TurtleTerm`, `sourceos-shell`, `BearBrowser`, and `agent-machine`: continue emitting the receipt families already added upstream. |
| 66 | +- `SociOS-Linux/workstation-contracts`: publish a workstation-safe subset profile. |
| 67 | +- `SocioProphet/socioprophet-agent-standards`: own conformance profiles, not canonical schemas. |
| 68 | + |
| 69 | +## Non-goals |
| 70 | + |
| 71 | +- No ADR in this tranche. |
| 72 | +- No replacement of current receipt or runtime-observability families. |
| 73 | +- No direct external-system wire compatibility promise. |
| 74 | +- No catalog count update until the exact schema tranche stabilizes. |
| 75 | + |
| 76 | +## Validation plan |
| 77 | + |
| 78 | +1. Add schemas and examples for the six net-new top-level objects. |
| 79 | +2. Add focused validators only after the shape stabilizes. |
| 80 | +3. Add OpenAPI/AsyncAPI patch entries later, when runtime producers are ready. |
| 81 | +4. Add derived profiles in downstream standards repos after canonical merge. |
0 commit comments