Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion pmoves/config/rooms/catalog.json
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@
"current_stage": "rehearsal",
"stage_source": "ageless-beauty.room.practice.json::stage",
"stage_verified_at": "2026-09-13T00:00:00Z"
},
},
{
"room_id": "b850-ledger.room.evidence",
"agent_id": "b850-claude",
Expand All @@ -193,6 +193,18 @@
"current_stage": "rehearsal",
"stage_source": "manifest stage field (recovered room, no P7 session yet)",
"stage_verified_at": "2026-09-23T00:00:00Z"
},
{
"room_id": "openroom.default.surface",
"agent_id": "mavis",
"alter": "openroom",
"display_name": "OpenRoom — Default Operating Surface",
"stage": "rehearsal",
"manifest": "openroom.default.surface.json",
"summary": "Default operating surface for every agent session in this workspace: OpenRoom (PMOVES fork of MiniMax-AI/OpenRoom, submodule PMOVES-OpenRoom) is the browser-desktop host that opens the catalog's rooms under P7 session/stage discipline. Standing rule across all five Spynel agent roles — chat, developer, reviewer, notification, heartbeat — unless the user supersedes; source of truth: .spynel/instructions/agent-chat.md, agent-developer.md, agent-reviewer.md, agent-notification.md, agent-heartbeat.md (each carries the OpenRoom default-surface rule). Stage: rehearsal — the default-surface rule is routing policy, not a room activation.",
"current_stage": "rehearsal",
"stage_source": "openroom.default.surface.json::stage (default-surface entry added 2026-09-22; current_stage mirrors the manifest declaration, not a P7 activation)",
"stage_verified_at": "2026-09-22T11:53:53Z"
}
]
}
147 changes: 147 additions & 0 deletions pmoves/config/rooms/openroom.default.surface.json
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."

Copy link
Copy Markdown
Contributor

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_floor for 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_subjects is "a ceiling, not a topology claim", and the gate list is allow_nats_emit / allow_external_publish / gate_param / gate_mode / egress_redaction_floor — with allowed_subjects deliberately 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, call allowed_subjects what the contract calls it.

Suggested change
"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."
"rating_note": "Operator/agent desktop host. Room-local expression is unrestricted; public egress stays behind policies.publish.allow_external_publish=false and the allowed_subjects allowlist."

📏 Severity: nitpick

},
"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"
]
}
}
38 changes: 38 additions & 0 deletions pmoves/docs/AGENTS/GOVERNANCE_BRIDGE.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.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔥 The Roast: Same off-by-one, sibling file: "Satisfies recommendation #2 … of …REVIEW-2026-09-21.md:208" — :208 is blank; recommendation #2 begins at :207. Two brand-new governance docs, and both immediately demonstrate the fleet-wide inability to land a citation that still resolves at merge time. The Three-Body rule apparently applies to line numbers too: one writes, one verifies, one remembers — here, none of the three showed up.

🩹 The Fix: Cite :207.

Suggested change
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.
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:207`. All citations are superproject state; nothing here claims anything about submodule code.

📏 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.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔥 The Roast: AGENTS.md:62 is a blank line in root AGENTS.md — the claim → work → sign → release sentence lives at :63. Off-by-one again, this time in front of the DoD table itself. Partial credit: AGNOTE4482PHI.t1.md:55-58 resolves correctly, so the doc can aim; it just can't shoot at the repo's own root file.

🩹 The Fix: Cite AGENTS.md:63.

Suggested change
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.
The Three-Body DoD is `claim → work → sign → release` (`AGENTS.md:63`, `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.

📏 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 |

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The 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 pmoves/Makefile:389-487, but measured on HEAD they span :443-507 (register-claim :443, register-release :482, register-note :502, recipes through :507) — the cited range starts mid-comment-block and dies before register-note's usage check. A governance doc quoting coordinates from a parallel universe, two tables after its sibling table did the same thing. Consistency!

🩹 The Fix: Cite pmoves/Makefile:443-507.

Suggested change
| CHIT claim register | `pmoves/docs/AGENTS/AGNOTE4482PHI.t1.md` | PMOVES | `register-claim` / `register-release` / `register-note` (`pmoves/Makefile:389-487`) — never by hand |
| CHIT claim register | `pmoves/docs/AGENTS/AGNOTE4482PHI.t1.md` | PMOVES | `register-claim` / `register-release` / `register-note` (`pmoves/Makefile:443-507`) — never by hand |

📏 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.
80 changes: 80 additions & 0 deletions pmoves/docs/AGENTS/IDENTITY_BINDING.md
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`.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The 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 :206 of the review doc, which is a blank line; recommendation #1 itself starts at :205. Extra salt: this very PR deleted Phase B row 7 from that file, shifting every later line up one, so this header was written against the pre-edit file and landed already stale. A provenance doc that misses its own provenance target by exactly one line — chef's kiss, ironic sense only.

🩹 The Fix: Cite :205.

Suggested change
Implements recommendation #1 (P1) of `pmoves/docs/AGENTS/PMOVES-SPYNEL-VS-REGISTRIES-REVIEW-2026-09-21.md:206`.
Implements recommendation #1 (P1) of `pmoves/docs/AGENTS/PMOVES-SPYNEL-VS-REGISTRIES-REVIEW-2026-09-21.md:205`.

📏 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.
Loading
Loading