Repository navigation
docs(agents): land stranded SPARK deliverables — identity binding, governance bridge, spynel review, openroom default-surface room #3273
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,147 @@ | ||
| { | ||
| "room_id": "openroom.default.surface", | ||
| "version": "0.1.0", | ||
| "stage": "rehearsal", | ||
| "display_name": "OpenRoom — Default Operating Surface", | ||
| "description": "OpenRoom (PMOVES fork of MiniMax-AI/OpenRoom, submodule PMOVES-OpenRoom) is the browser-desktop host that opens the rooms of pmoves/config/rooms/catalog.json for operators and agents, with P7 session/stage discipline applied on entry. Standing workspace rule (persisted 2026-09-21): OpenRoom is the DEFAULT OPERATING SURFACE for all five Spynel agent roles — chat, developer, reviewer, notification, heartbeat — unless the user supersedes it; each role declares 'operating surface: OpenRoom' when signing output. Source of truth for the rule: the five .spynel/instructions/ role files (.spynel/instructions/agent-chat.md, agent-developer.md, agent-reviewer.md, agent-notification.md, agent-heartbeat.md).", | ||
| "agent_id": "mavis", | ||
| "alter": "openroom", | ||
| "room_type": "operator", | ||
| "owner_mode": "primary", | ||
| "access": { | ||
| "visibility": "private", | ||
| "owner_only": true, | ||
| "rating_note": "Operator/agent desktop host. Room-local expression is unrestricted; public egress stays behind policies.publish.allow_external_publish and its allowed_subjects gate." | ||
| }, | ||
| "shell": { | ||
| "theme": { | ||
| "theme_id": "openroom", | ||
| "accent_color": "#7c5cff", | ||
| "icon": "door-open" | ||
| }, | ||
| "layout": { | ||
| "default_route": "/desktop", | ||
| "panels": [ | ||
| { | ||
| "panel_id": "room-desktop", | ||
| "kind": "browser", | ||
| "position": "center", | ||
| "size": 100, | ||
| "pinned": true | ||
| } | ||
| ] | ||
| } | ||
| }, | ||
| "apps": [ | ||
| { | ||
| "app_id": "openroom-desktop", | ||
| "kind": "browser", | ||
| "route": "/desktop", | ||
| "provider": "openroom", | ||
| "capabilities": [ | ||
| "room-launch", | ||
| "surface-render", | ||
| "p7-session" | ||
| ], | ||
| "pinned": true, | ||
| "status": "active" | ||
| } | ||
| ], | ||
| "notebook": { | ||
| "provider": "open-notebook", | ||
| "workspace_ref": "openroom", | ||
| "default_page": "orientation", | ||
| "sync": { | ||
| "mode": "mirrored", | ||
| "writeback_targets": [ | ||
| "entries" | ||
| ], | ||
| "artifact_prefix": "rooms/openroom" | ||
| } | ||
| }, | ||
| "skill_bindings": [ | ||
| { | ||
| "binding_id": "openroom-default-surface-declare", | ||
| "skill_id": "pmoves/openroom-default-surface", | ||
| "room_id": "openroom.default.surface", | ||
| "display_name": "Declare OpenRoom as the operating surface", | ||
| "intent": [ | ||
| "operating surface", | ||
| "openroom", | ||
| "sign output" | ||
| ], | ||
| "surface": { | ||
| "app_id": "openroom-desktop", | ||
| "target": "toolbar", | ||
| "route": "/desktop" | ||
| }, | ||
| "execution": { | ||
| "mode": "workflow", | ||
| "run_as": "agent", | ||
| "stream": "status", | ||
| "max_steps": 2 | ||
| }, | ||
| "context": { | ||
| "sources": [ | ||
| "user-intent", | ||
| "room-state" | ||
| ], | ||
| "include_last_turns": 1, | ||
| "artifact_types": [ | ||
| "text" | ||
| ] | ||
| }, | ||
| "outputs": [ | ||
| { | ||
| "target": "chat-response", | ||
| "delivery": "notify", | ||
| "artifact_type": "text" | ||
| } | ||
| ], | ||
| "guardrails": { | ||
| "require_approval": false, | ||
| "max_runtime_sec": 30, | ||
| "fail_open": false, | ||
| "one_active_run": true | ||
| }, | ||
| "enabled": true, | ||
| "tags": [ | ||
| "openroom", | ||
| "default-surface", | ||
| "governance" | ||
| ] | ||
| } | ||
| ], | ||
| "policies": { | ||
| "model_routing": "hybrid", | ||
| "publish": { | ||
| "allow_nats_emit": true, | ||
| "allow_external_publish": false, | ||
| "allowed_subjects": [ | ||
| "room.session.updated.v1" | ||
| ] | ||
| }, | ||
| "memory": { | ||
| "graphiti": false, | ||
| "notebook_writeback": true, | ||
| "chit_handoff": true | ||
| } | ||
| }, | ||
| "telemetry": { | ||
| "room_events_subject": "room.session.updated.v1", | ||
| "healthcheck_route": "/healthz" | ||
| }, | ||
| "provenance": { | ||
| "source": "pmoves/docs/ROOMS_ON_A_STAGE.md + .spynel/instructions/ (five role files)", | ||
| "updated_at": "2026-09-22T11:53:53Z", | ||
| "related_docs": [ | ||
| "pmoves/docs/ROOMS_ON_A_STAGE.md", | ||
| "pmoves/docs/ROOM_MANIFEST_CONTRACT.md", | ||
| ".spynel/instructions/agent-chat.md", | ||
| ".spynel/instructions/agent-developer.md", | ||
| ".spynel/instructions/agent-reviewer.md", | ||
| ".spynel/instructions/agent-notification.md", | ||
| ".spynel/instructions/agent-heartbeat.md" | ||
| ] | ||
| } | ||
| } | ||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,38 @@ | ||||||
| # Governance Bridge — PMOVES Three-Body ↔ Spynel five-role | ||||||
|
|
||||||
| Two governance systems run in this workspace. This page records how they line up **as they are today**, and names the gaps rather than inventing correspondences. Satisfies recommendation #2 (P1) of `pmoves/docs/AGENTS/PMOVES-SPYNEL-VS-REGISTRIES-REVIEW-2026-09-21.md:208`. All citations are superproject state; nothing here claims anything about submodule code. | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🔥 The Roast: Same off-by-one, sibling file: "Satisfies recommendation #2 … of 🩹 The Fix: Cite
Suggested change
📏 Severity: nitpick |
||||||
|
|
||||||
| ## Body → role mapping | ||||||
|
|
||||||
| Three bodies against five roles is not a bijection. Two bodies have a usable Spynel counterpart, one has none, and three Spynel roles have no Three-Body counterpart. | ||||||
|
|
||||||
| | Three-Body body | Spynel role (`.spynel/AGENTS.md:14`) | Relationship | | ||||||
| |---|---|---| | ||||||
| | **Delivery** — execution lane (`AGNOTE4482PHI.t1.md:20`) | `agent-developer` | Closest to a true pair: each is the only writing body in its system. | | ||||||
| | **Control** — governance lane, read-only (`AGNOTE4482PHI.t1.md:26`) | `agent-reviewer` | Partial. Control also owns merge sequencing and branch-pruning policy; the Spynel reviewer's authority stops at one task document (`.spynel/tasks/AGENTS.md:27`). | | ||||||
| | **Memory** — Cipher/CHIT custody and signature trail (`AGNOTE4482PHI.t1.md:32`) | **none** | Spynel has no memory or custody role. CHIT custody stays PMOVES-side via `.claude/agents/memory-agent.md`. | | ||||||
| | **none** | `agent-chat` | Communication dispatcher — records tasks and goals, delegates execution. Runs *before* any lane exists (`.spynel/AGENTS.md:15`). | | ||||||
| | **none** | `agent-notification` | Outbound delivery decision on terminal and actionable-waiting transitions (`.spynel/tasks/AGENTS.md:29`). | | ||||||
| | **none** | `agent-heartbeat` | Non-overlapping primary-owned workflow audit (`.spynel/AGENTS.md:21`). | | ||||||
|
|
||||||
| ## Per-phase prefix notes | ||||||
|
|
||||||
| The Three-Body DoD is `claim → work → sign → release` (`AGENTS.md:62`, `AGNOTE4482PHI.t1.md:55-58`). `.spynel/config.yaml:12-15` defines **four** prefix slots — chat, developer, reviewer, heartbeat — and **all four are empty strings today**, so no prefix is actually applied. There is no notification prefix slot. The table records the slot each phase *would* use. | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🔥 The Roast: 🩹 The Fix: Cite
Suggested change
📏 Severity: nitpick |
||||||
|
|
||||||
| | Phase | Spynel role | Prefix slot | Register row KIND | Make target | | ||||||
| |---|---|---|---|---| | ||||||
| | claim | `agent-developer` | `harness.developer_agent_prefix` | `CLAIM` | `register-claim` (`pmoves/Makefile:395`) | | ||||||
| | work | `agent-developer` | `harness.developer_agent_prefix` | `UPDATE`, or no row | `register-note` (`pmoves/Makefile:437`) | | ||||||
| | sign | **no counterpart** | none | ACK block / trail entry | `sign-trail` (`pmoves/mk/preflight.mk:512`) | | ||||||
| | release | `agent-developer`; `agent-reviewer` when `review_required: true` | developer / reviewer slot | `RELEASE` | `register-release` (`pmoves/Makefile:417`) | | ||||||
|
|
||||||
| `sign` is the real gap: no Spynel role emits a CHIT signature, and a `completion_summary` is not one. A task can move `working -> done` with no trail entry and no register row at all. | ||||||
|
|
||||||
| ## Two registers, two owners | ||||||
|
|
||||||
| | Register | Path | Owner | Written by | | ||||||
| |---|---|---|---| | ||||||
| | CHIT claim register | `pmoves/docs/AGENTS/AGNOTE4482PHI.t1.md` | PMOVES | `register-claim` / `register-release` / `register-note` (`pmoves/Makefile:389-487`) — never by hand | | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🔥 The Roast: The "Two registers, two owners" table carries its own unverified pin: the three register targets are cited as 🩹 The Fix: Cite
Suggested change
📏 Severity: suggestion |
||||||
| | Spynel claim / lease | `.spynel/runtime/leases/` | Spynel | Spynel alone; agents must not edit (`.spynel/AGENTS.md:10`, `:20`) | | ||||||
|
|
||||||
| **Neither register is derived from the other.** No tool reads across them, no transition in one writes the other, and an open CHIT lane neither blocks nor is blocked by a Spynel dispatch. A Spynel-dispatched developer session that edits code must file its own `CLAIM` row: being claimed into `working/` is task ownership, not lane ownership. | ||||||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,80 @@ | ||||||
| # Identity binding — PMOVES vocabulary ↔ Spynel harness prefix slots | ||||||
|
|
||||||
| Implements recommendation #1 (P1) of `pmoves/docs/AGENTS/PMOVES-SPYNEL-VS-REGISTRIES-REVIEW-2026-09-21.md:206`. | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🔥 The Roast: The doc's very first citation — the sentence that says "implements recommendation #1" — points at 🩹 The Fix: Cite
Suggested change
📏 Severity: nitpick |
||||||
| Gated by `pmoves/tests/test_identity_binding.py`. All citations are superproject paths; | ||||||
| this document makes no claim about any submodule's code. | ||||||
|
|
||||||
| ## The binding in one line | ||||||
|
|
||||||
| **The PMOVES vocabulary is the sole surface that declares identity. The Spynel | ||||||
| `harness.*_agent_prefix` slots declare none, so there is nothing for the CLAIM line to | ||||||
| override — the CLAIM line is simply the only writer.** | ||||||
|
|
||||||
| The review stated it as "Spynel `harness.developer_agent_prefix` is overridden by the | ||||||
| CHIT-signed CLAIM line; the PMOVES vocabulary provides the *valid prefixes* set." That is | ||||||
| the right conclusion from a wrong premise, and the difference matters. Measured | ||||||
| 2026-09-21: per `spynel docs harnesses` § *Agent prefixes*, a prefix slot is "an optional | ||||||
| validated one-line harness-native command, such as `/goal` or `/ultrathink`" that Spynel | ||||||
| outer-trims and joins to the prompt with one ASCII space. It is a **prompt prefix, not an | ||||||
| identity prefix**. The two surfaces do not compete; one is empty of identity by | ||||||
| construction. | ||||||
|
|
||||||
| ## Which surface answers which question | ||||||
|
|
||||||
| | Question | Authoritative surface | | ||||||
| |---|---| | ||||||
| | What is the set of valid identities and spellings? | `pmoves/config/identity_vocabulary.yaml:87` (`identities:`), plus `lanes:` `:380`, `harnesses:` `:449`, `provisioning:` `:397` | | ||||||
| | What identity does *this* session use? | Neither. It is the `OWNER=` argument at `pmoves/Makefile:395`, defaulting to `$REGISTER_OWNER` (`pmoves/Makefile:386`, `pmoves/tools/register_append.py:981`) | | ||||||
| | What author string actually lands in the register? | The CLAIM/RELEASE/NOTE row written by `pmoves/tools/register_append.py`; `:1083` refuses a row with no owner | | ||||||
| | Is that author string legal? | `pmoves/tools/identity_lineage.py:538` (`verify`), via `canonical_identity` `:326` — enforced post-hoc by `pmoves/tests/test_identity_lineage.py`, per the vocabulary's own rule at `pmoves/config/identity_vocabulary.yaml:37-40` | | ||||||
| | What text is prepended to the agent prompt? | `.spynel/config.yaml:12-15` | | ||||||
|
|
||||||
| ## The four configured slots and what may fill them | ||||||
|
|
||||||
| `.spynel/config.yaml:7` `harness:` carries exactly four: | ||||||
|
|
||||||
| | Slot | Line | May be filled by a vocabulary entry? | | ||||||
| |---|---|---| | ||||||
| | `chat_agent_prefix` | `.spynel/config.yaml:12` | No — harness-native command only | | ||||||
| | `developer_agent_prefix` | `.spynel/config.yaml:13` | No — harness-native command only | | ||||||
| | `reviewer_agent_prefix` | `.spynel/config.yaml:14` | No — harness-native command only | | ||||||
| | `heartbeat_agent_prefix` | `.spynel/config.yaml:15` | No — harness-native command only | | ||||||
|
|
||||||
| The mapping is empty in both directions, and that is the contract: putting a vocabulary | ||||||
| identity into a prefix slot would inject that string into the prompt, not into the | ||||||
| register, producing an identity claim no gate reads. | ||||||
|
|
||||||
| ## Precedence when they disagree | ||||||
|
|
||||||
| 1. The CLAIM-line author string (`OWNER=`) is what the register records — always. | ||||||
| 2. `pmoves/config/identity_vocabulary.yaml` decides whether that string is legal. | ||||||
| 3. `.spynel/config.yaml` prefix slots have no vote. A disagreement between a prefix slot | ||||||
| and the vocabulary is not a tie to break; it is a misconfiguration to remove. | ||||||
|
|
||||||
| ## The empty-slot default — the live state, not an edge case | ||||||
|
|
||||||
| All four slots are `""` today (`.spynel/config.yaml:12-15`, verified 2026-09-21). Per | ||||||
| `spynel docs harnesses`, an empty prefix "preserves the prompt byte-for-byte", so a | ||||||
| Spynel-dispatched session receives **no identity at all** from the harness. It resolves | ||||||
| identity only when it reaches `make -C pmoves register-claim` and supplies `OWNER=`. | ||||||
| Nothing validates that string at write time; `identity_lineage.verify()` catches it | ||||||
| afterward. | ||||||
|
|
||||||
| That gap was live when this document was drafted (2026-09-21): a NOTE filed by author | ||||||
| `SPARK-CLAUDE` — a Spynel developer session with `developer_agent_prefix: ""` — was not in | ||||||
| the vocabulary while the signing card was pending. **It has since closed on main**: the | ||||||
| spark-claude signing card landed (PR #3331, `pmoves/config/signing_identity_cards.yaml`, | ||||||
| `agent_id: "spark-claude"`) and `pmoves/config/identity_vocabulary.yaml` now carries the | ||||||
| `spark-claude` canonical entry (with the `claude_spark -> spark-claude` alias). The | ||||||
| example stands as the shape of the gap: identity resolves only when the CLAIM reaches | ||||||
| `identity_lineage.verify()`, never at write time. | ||||||
|
|
||||||
| ## The missing fifth slot | ||||||
|
|
||||||
| `.spynel/instructions/` holds five role files — `agent-chat.md`, `agent-developer.md`, | ||||||
| `agent-reviewer.md`, `agent-heartbeat.md`, `agent-notification.md` — but `.spynel/config.yaml` | ||||||
| defines only four prefix slots. There is **no `notification_agent_prefix`**. Recorded, not | ||||||
| papered over: under this binding the asymmetry is harmless, because a prefix slot carries | ||||||
| no identity and the notification agent files no register row. It would become load-bearing | ||||||
| only if prefix slots ever gained identity meaning, which is exactly what the ratchet test | ||||||
| guards against. | ||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔥 The Roast: The rewrite swapped the dangling
egress_redaction_floorfor two fields that actually exist in this manifest — progress! — then misfiled one of them. The Room Manifest Contract's Publish Policy section is explicit:allowed_subjectsis "a ceiling, not a topology claim", and the gate list isallow_nats_emit/allow_external_publish/gate_param/gate_mode/egress_redaction_floor— withallowed_subjectsdeliberately not in it. Calling it "its allowed_subjects gate" turns a bound into a gate in the exact vocabulary these docs police. One contract mismatch fixed, one freshly minted — the treadmill never stops.🩹 The Fix: Keep the gate word on
allow_external_publish, callallowed_subjectswhat the contract calls it.📏 Severity: nitpick