|
| 1 | +# SourceOS Interaction Substrate Catalog |
| 2 | + |
| 3 | +Status: Informational |
| 4 | +Schema: `schemas/SourceOSInteractionEvent.json` |
| 5 | +Example: `examples/sourceos-interaction-event.json` |
| 6 | +Normative contract: `docs/contract-additions/sourceos-interaction-substrate.md` |
| 7 | + |
| 8 | +## Purpose |
| 9 | + |
| 10 | +This catalog entry makes the SourceOS interaction substrate discoverable for implementers who start from the contract-additions directory rather than from the schema tree. |
| 11 | + |
| 12 | +`SourceOSInteractionEvent` is the shared noetic/chat/task projection used by Noetica, AgentTerm, Matrix-facing operator flows, Superconscious task boundaries, AgentPlane evidence surfaces, Memory Mesh context-pack handoffs, Agent Registry grant references, and Policy Fabric decisions. |
| 13 | + |
| 14 | +The key architectural rule is that Noetica and AgentTerm are separate surfaces over the same interaction contract: |
| 15 | + |
| 16 | +- Noetica emits browser chat, model route, steering intent, provider evidence, and inline governance-trail events. |
| 17 | +- AgentTerm ingests and renders the same event shape as a terminal / Matrix / operator governance trace. |
| 18 | +- OpsHistory remains the local-first operational event ledger. |
| 19 | +- Policy Fabric, Agent Registry, Memory Mesh, AgentPlane, and model-routing authorities remain outside both UI surfaces. |
| 20 | + |
| 21 | +## Contract objects |
| 22 | + |
| 23 | +| Artifact | Role | |
| 24 | +| --- | --- | |
| 25 | +| `schemas/SourceOSInteractionEvent.json` | Machine-readable JSON Schema for the shared interaction envelope. | |
| 26 | +| `examples/sourceos-interaction-event.json` | Valid Noetica standalone completion example consumable by AgentTerm. | |
| 27 | +| `tools/validate_sourceos_interaction_examples.py` | Dedicated validator for the schema/example pair. | |
| 28 | +| `.github/workflows/sourceos-interaction-substrate.yml` | CI workflow for the interaction-substrate slice. | |
| 29 | +| `docs/contract-additions/sourceos-interaction-substrate.md` | Normative design and authority-boundary contract. | |
| 30 | + |
| 31 | +## Required downstream bindings |
| 32 | + |
| 33 | +| Repository | Binding obligation | |
| 34 | +| --- | --- | |
| 35 | +| `SocioProphet/Noetica` | Emit `SourceOSInteractionEvent` for standalone and SourceOS chat lifecycle events. | |
| 36 | +| `SourceOS-Linux/agent-term` | Ingest and render `SourceOSInteractionEvent` governance traces. | |
| 37 | +| `SocioProphet/superconscious` | Accept or emit this shape at the task boundary without taking ownership of memory, policy, or evidence authority. | |
| 38 | +| `SocioProphet/agentplane` | Attach run, replay, and evidence references rather than scraping surface-local state. | |
| 39 | +| `SocioProphet/memory-mesh` | Consume bounded context-pack references rather than unbounded transcripts. | |
| 40 | +| `SocioProphet/agent-registry` | Resolve non-human participants, grants, sessions, and revocation references. | |
| 41 | +| `SocioProphet/policy-fabric` | Decide side effects, context release, memory writeback, bridge/export, redaction, and replay admission. | |
| 42 | + |
| 43 | +## Payload posture |
| 44 | + |
| 45 | +Interaction payloads are bounded by default. The valid payload modes are `metadata-only`, `summary`, `ref-only`, `inline-bounded`, and `redacted`. |
| 46 | + |
| 47 | +Implementations must not place raw secrets, credentials, unrestricted browser history, unrestricted shell output, unrestricted transcripts, or private chain-of-thought in `payload`. |
| 48 | + |
| 49 | +## Operational flow |
| 50 | + |
| 51 | +```text |
| 52 | +Noetica standalone or SourceOS chat lifecycle |
| 53 | + -> SourceOSInteractionEvent |
| 54 | + -> governance trace visible in Noetica |
| 55 | + -> OpsHistory or artifact reference |
| 56 | + -> AgentTerm render/record/replay surface |
| 57 | +``` |
| 58 | + |
| 59 | +```text |
| 60 | +AgentTerm Matrix or terminal command |
| 61 | + -> SourceOSInteractionEvent |
| 62 | + -> Policy Fabric decision |
| 63 | + -> Agent Registry grant resolution |
| 64 | + -> Superconscious / AgentPlane task |
| 65 | + -> governance trace visible in AgentTerm or Noetica |
| 66 | +``` |
| 67 | + |
| 68 | +## Completion status |
| 69 | + |
| 70 | +Initial implementation status at catalog creation: |
| 71 | + |
| 72 | +- SourceOS spec schema/example/validator/workflow: merged. |
| 73 | +- AgentTerm fixture ingest/render path: merged. |
| 74 | +- Noetica emitter path: merged. |
| 75 | + |
| 76 | +Future work should add generated types or schema-consumption automation when the downstream repositories are ready for a shared package or codegen path. |
0 commit comments