Repository navigation
docs(agents): land stranded SPARK deliverables — identity binding, governance bridge, spynel review, openroom default-surface room - #3273
Conversation
|
Important Review skippedAuto reviews are limited based on label configuration. 🏷️ Required labels (at least one): 1
Please check the settings in the CodeRabbit UI or the ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Fleet review: kilocode (zai-coding-plan/glm-5.3)reviewer: tier 2/3
reviewer chain
_ lane: fleet-review chain (self-hosted kvm4) - spark-local (when online) -> kilo-primary -> kilo-alternate _ |
|
|
||
| That gap is live, not hypothetical. `pmoves/docs/AGENTS/AGNOTE4482PHI.t1.md:2980` is a | ||
| NOTE filed `2026-09-21T21:19:28Z` by author `SPARK-CLAUDE` — a Spynel developer session on | ||
| this node with `developer_agent_prefix: ""`. `SPARK-CLAUDE` is **not** in the vocabulary, |
There was a problem hiding this comment.
🔥 The Roast: The flagship doc of the 'we measure everything' PR nails its own live example upside down. It asserts SPARK-CLAUDE is not in the vocabulary and that 'the card exists; the vocabulary entry does not.' On current main it is exactly inverted: spark-claude IS declared (pmoves/config/identity_vocabulary.yaml:156-172, added 2026-09-28 in the lane-2979 carry, aliases include SPARK-CLAUDE), while the signing card is the thing MISSING from pmoves/config/signing_identity_cards.yaml — the vocabulary's own note at :168-172 states the card is 'NOT present on main as of 2026-10-01', and line :253 of the cards file resolves to the GitHub-App card's notes, no spark-claude card anywhere. A doc whose thesis is 'the vocabulary is the sole identity authority' citing a card that isn't there and missing the vocabulary entry that is — that is a weather forecast that says sunny during the thunderstorm.
🩹 The Fix: Re-measure against current main before landing: strike the 'verify() returns exactly one finding naming it' claim (it resolves now), flip card/vocabulary status, and cite the vocabulary entry (identity_vocabulary.yaml:156) instead of signing_identity_cards.yaml:253.
📏 Severity: warning
Reply with @kilocode-bot fix it to have Kilo Code address this issue.
| | 3 | Status folder set (tasks) | `tasks/{todo, working, review, reviewing, waiting, done, failed, cancelled, archive}` | All 9 present (active 8 + archive). | n/a | n/a | **P2** | | ||
| | 4 | Status folder set (goals) | `goals/{proposed, planning, active, review, reviewing, waiting, done, abandoned}` | All 8 present; none active. | n/a | n/a | **P2** | | ||
| | 5 | Review-mode handling | `harness.reviews: skip-trivial \| always \| never`; per-task `review_required` boolean. | `reviews: skip-trivial` set; task has `review_required: false` → direct completion permitted. Plumbed correctly. | n/a | n/a | **P2** | | ||
| | 6 | **Identity vocabulary binding** | PMOVES side canonical = `pmoves/config/identity_vocabulary.yaml` (470 lines, the source of truth for `role_class`, agent IDs, persona validation). | Local `.spynel/config.yaml` has five `*_agent_prefix` slots, all empty; no identity file under `.spynel/`. The PMOVES-side vocabulary file lives outside the Spynel state directory and is referenced only conceptually (chat prompt says "the operator-grade persona is framing, the executor signs its own identity"). | n/a | n/a | **P1** — two parallel identity models in the same workspace without a documented binding contract; the executor / chat / reviewer / notifier / heartbeat persona role has no Spynel-side vocabulary file that defines what counts as a valid agent ID. | |
There was a problem hiding this comment.
🔥 The Roast: This row insists .spynel/config.yaml has five *_agent_prefix slots — and the same commit lands two sibling docs plus a ratchet test asserting exactly four (no notification_agent_prefix). The review doc says five (also Phase B row 6 at :162), IDENTITY_BINDING.md says four, GOVERNANCE_BRIDGE.md says four, and test_identity_binding.py will fire the moment a fifth slot appears. One PR, two contradictory canons, zero ceremony. A map and a compass shipped in the same box — pointing at different norths.
🩹 The Fix: Pick the four-slot story (it has the test behind it): update Phase A row 6 and Phase B row 6 (:162) to 'four configured slots, notification_agent_prefix deliberately absent,' or strip slot-count language from this doc and cross-reference IDENTITY_BINDING.md as the canon.
📏 Severity: warning
Reply with @kilocode-bot fix it to have Kilo Code address this issue.
| | 9 | Prompt template override policy | All 10 templates under `.spynel/prompts/` are user-overridable; `skill_workshop` does not auto-modify managed skills (requires explicit user request). | Prompts present; no overrides observed. | Provides equivalent governance via `skill_workshop`'s "explicit user request only" rule (Hermes-gating-v6). The skills package enforces a stricter policy: a managed skill is *not* auto-modified by a preference or correction. | n/a | **P2** — parity is achieved at the policy level (both require explicit authorization); the Spynel-side contract is currently scoped to prompts/, while skills/ extends to skills, MEMORY/AGENTS/USER/TOOLS, and managed SKILL.md files. | | ||
| | 10 | Notification-event coverage | `done, failed, cancelled` always dispatch a notification agent. Actionable `waiting` does the same. The notification agent decides and edits the log itself. | Documented and exercised via `notify.on` on observed task. The chat prompt also states "Do not contact the user or interpret later chat messages in this implementation session" — i.e. the implementation session does not send. | n/a | n/a | **P2** — boundary holds. | | ||
| | 11 | `harness` block semantics in `.spynel/config.yaml` | The `harness` block declares the AI provider's name, reasoning effort, sandbox mode, and per-role prefixes. | Current: `name: codex`, `reasoning_effort: ""`, `sandbox: danger-full-access`, all prefixes empty. Empty prefix slots are a legal but unused state. | n/a | n/a | **P2** | | ||
| | 12 | SPYNEL_DOCS_GUIDANCE variable injection | Spynel injects a `{{SPYNEL_DOCS_GUIDANCE}}` placeholder into each prompt that resolves to a static pointer: "/home/powerfulmoves/.local/share/spynel/releases/0.12.12-1785263679/spynel docs <topic>". | Observed at the top of `task.md` and `chat.md`. | n/a | n/a | **P2** | |
There was a problem hiding this comment.
🔥 The Roast: A public-repo audit doc that publishes SPYNEL_DOCS_GUIDANCE resolved to /home/powerfulmoves/.local/share/spynel/releases/0.12.12-1785263679/spynel docs — username, home-directory layout, and the exact release build of the SPARK node's harness, gift-wrapped. And row 11 right above (:192) throws in sandbox: danger-full-access for free: 'our agent harness runs unsandboxed' is now documentation rather than intel an attacker had to work for.
🩹 The Fix: Scrub to a placeholder (e.g. <node-local releases path>/spynel docs <topic>), keeping the observation — an injected static pointer exists — without leaking the host's filesystem shape.
📏 Severity: warning
Reply with @kilocode-bot fix it to have Kilo Code address this issue.
| "access": { | ||
| "visibility": "private", | ||
| "owner_only": true, | ||
| "rating_note": "Operator/agent desktop host. Room-local expression is unrestricted; public egress stays behind policies.publish.egress_redaction_floor." |
There was a problem hiding this comment.
🔥 The Roast: The rating_note promises 'public egress stays behind policies.publish.egress_redaction_floor' — and then the manifest's own policies.publish block (this file's :125-138) defines no egress_redaction_floor. The two rooms this note was clearly patterned on (darkxsides.room.json:499, persona.room.livingdoc.json:216) both carry a real floor block. This one cites the guard and forgot to hire it. A security posture note pointing at a policy that is absent is aspirational paperwork, and paperwork should never be aspirational.
🩹 The Fix: Either add an egress_redaction_floor block under policies.publish (the schema makes it optional, but then the note must not imply it exists here), or reword to say external publish is blocked outright by allow_external_publish: false and no room-local floor is configured. Given that flag, the honest note is short.
📏 Severity: warning
Reply with @kilocode-bot fix it to have Kilo Code address this issue.
|
|
||
| | 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` | |
There was a problem hiding this comment.
🔥 The Roast: A table whose entire personality is pin-point citations, and most of the pins are air: identities: is at identity_vocabulary.yaml:114 (not :87), lanes: :528 (not :380), harnesses: :620 (not :449), provisioning: :545 (not :397). Next row doesn't fare better — the register-claim target is pmoves/Makefile:450 (not :395), the REGISTER_OWNER defaulting lives around :441-:444 (not :386), and register_append.py's owner read is at :1658 with the no-owner refusal at :1784 (not :981/:1083). These were measured against a file that has since grown ~190 lines; a cite this precise rots louder than a vague reference would.
🩹 The Fix: Re-measure against current main (the vocabulary is 661 lines now, not 470), or cite symbol + path only ('pmoves/Makefile register-claim target') — symbol cites survive edits; line cites barely survive the afternoon.
📏 Severity: suggestion
Reply with @kilocode-bot fix it to have Kilo Code address this issue.
|
|
||
| | Phase | Spynel role | Prefix slot | Register row KIND | Make target | | ||
| |---|---|---|---|---| | ||
| | claim | `agent-developer` | `harness.developer_agent_prefix` | `CLAIM` | `register-claim` (`pmoves/Makefile:395`) | |
There was a problem hiding this comment.
🔥 The Roast: The per-phase table's Make-target pins are stale: register-claim is pmoves/Makefile:450 (not :395), register-release :482 (not :417), register-note :502 (not :437), and the register targets span :444-:502 (not :389-487). Meanwhile the sign row's sign-trail at pmoves/mk/preflight.mk:512 is… actually correct. One hit out of four — a batting average usually reserved for me guessing CI failures.
🩹 The Fix: Re-pin the three targets to :450/:482/:502, or switch the column to bare target names (make -C pmoves register-claim), which is drift-proof.
📏 Severity: nitpick
Reply with @kilocode-bot fix it to have Kilo Code address this issue.
|
|
||
| **Public surface.** | ||
| - **Consumed read-only:** `public/agents.dev.json` (or the equivalent ACP-distributed artifact), used by ACP-aware harnesses. | ||
| - **PMOVES-internal:** `make -C pmoves acp-registry-map` (target at `pmoves/mk/infra.mk:683`) runs `pmoves/tools/acp_registry_map.py --registry $(ACP_REGISTRY_PATH) --write` to validate and regenerate the mapping. |
There was a problem hiding this comment.
🔥 The Roast: acp-registry-map lives at pmoves/mk/infra.mk:743, not :683 as cited here — and the same stale :683 repeats at :133 and again in Provenance at :219. When you are wrong, be consistent, apparently. For a doc grading other repos on governance rigor, its own anchors didn't pass conformance.
🩹 The Fix: Update all three infra.mk:683 cites to :743, or cite the target name only.
📏 Severity: nitpick
Reply with @kilocode-bot fix it to have Kilo Code address this issue.
| } | ||
| ] | ||
| } | ||
| } No newline at end of file |
There was a problem hiding this comment.
🔥 The Roast: The old file ended with a trailing newline; this one drops it (\ No newline at end of file). Sixteen rooms of careful stage metadata, undone at the finish line by a missing byte — the programming equivalent of tripping over the doorframe while leaving the building you just renovated.
🩹 The Fix: Restore the trailing newline at EOF. (No suggestion block possible: the line content is identical — the final byte is what is missing.)
📏 Severity: nitpick
Reply with @kilocode-bot fix it to have Kilo Code address this issue.
| text = path.read_text(encoding="utf-8") | ||
| if not text.startswith("---\n"): | ||
| pytest.fail(f"{path}: no YAML front matter") | ||
| end = text.find("\n---", 3) |
There was a problem hiding this comment.
🔥 The Roast: text.find("\n---", 3) truncates the front matter if any value legitimately contains a line starting with --- (a multi-line outcome: block, say), and startswith("---\n") quietly misses CRLF checkouts. It works 'measured on the observed corpus' — the rallying cry of parsers everywhere, right up until the corpus disagrees.
🩹 The Fix: Normalize \r\n first, then split on line-anchored --- delimiters (first line exactly ---, next exact --- line), so content lines cannot fake the terminator.
📏 Severity: nitpick
Reply with @kilocode-bot fix it to have Kilo Code address this issue.
|
|
||
| def _timestamp_fields(node, prefix: str = ""): | ||
| """Yield (dotted_name, value) for every key ending in `_at`, at any depth.""" | ||
| if isinstance(node, dict): |
There was a problem hiding this comment.
🔥 The Roast: _timestamp_fields recurses dicts only — so any *_at key inside a list of mappings walks straight past the ratchet doing jazz hands. The dotted prefix machinery exists precisely to catch nested timestamps; it just refuses to catch the nested-in-an-array kind. A ratchet with a blind spot directly behind it.
🩹 The Fix: Add a list branch, e.g. if isinstance(node, list): for i, item in enumerate(node): yield from _timestamp_fields(item, f"{prefix}[{i}].")
📏 Severity: suggestion
Reply with @kilocode-bot fix it to have Kilo Code address this issue.
Code Review Roast 🔥Verdict: 7 New Issues Found (10 prior verified/fixed) | Recommendation: Address before merge Overview
Issue Details (click to expand)
Fixed since the last review (verified on HEAD): path-disclosure scrub in the spynel review doc (row 12 now Carried prior verification notes: 🏆 Best part: The fix commit actually fixed six out of ten findings — front-matter parser, list recursion, disclosure scrub, contradiction reconciliation — someone read the review and did the homework. I'd accuse them of caring, but the evidence is distressingly strong. 💀 Worst part: The citation rot is generative: this PR's own cross-references into its own edited file were born stale, and the "fix" for the rating_note manufactured a fresh contract mismatch. You cannot ship provenance docs this fleet-wide without a cite-checker; humans clearly can't out-run the drift by hand. 📊 Overall: Like patching a leaky roof and drilling a new hole to test the patch — real progress, visible progress, and still water on the floor. Files Reviewed (7 files)
Fix these issues in Kilo Cloud Previous Review Summary (commit 10f7ee6)Current summary above is authoritative. Previous snapshots are kept for context only. Previous review (commit 10f7ee6)Verdict: 10 Issues Found | Recommendation: Address before merge Overview
Issue Details (click to expand)
Notes: two concerns from the earlier fleet-review bot comment did not survive verification against current HEAD — 🏆 Best part: 💀 Worst part: The identity doc's flagship live example is inverted — it cites a signing card that isn't on main while missing the vocabulary entry that is. A provenance doc with unproven provenance. 📊 Overall: Like an almanac printed with last year's dates — thorough, confident, and quoting a world that moved on. Fix these issues in Kilo Cloud Files Reviewed (7 files)
Reviewed by glm-5.3-flash · Input: 138.8K · Output: 73.5K · Cached: 5.5M |
10f7ee6 to
6b6737f
Compare
…vernance bridge, spynel review, openroom default-surface room The SITREP's 2026-09-22 refresh records four deliverables as DONE (review-accepted 2026-09-21), but they existed only as uncommitted working-tree files on the SPARK node — the same "branch-local is not landed" defect row 3068 of the claim register records. This lands them: - IDENTITY_BINDING.md — pmoves identity vocabulary <-> Spynel prefix-slot binding - GOVERNANCE_BRIDGE.md — Three-Body <-> Spynel five-role mapping - PMOVES-SPYNEL-VS-REGISTRIES-REVIEW-2026-09-21.md — the review itself - openroom.default.surface room manifest + additive catalog row (16 OK at validation; the jons-edge UNDECLARED is pre-existing/baselined) - test_identity_binding.py + spynel timestamp test (skip cleanly off-node) Release Note: docs + room catalog; no runtime change. 💘 Generated with Crush
- scrub absolute home path from public spynel review doc - reconcile four-vs-five prefix-slot contradiction with IDENTITY_BINDING.md - fix dangling policies.publish.egress_redaction_floor reference in room manifest - update identity binding example: spark-claude gap since closed on main (#3331) - catalog.json trailing newline - harden front-matter parser (multiline values, CRLF) + recurse lists in timestamp ratchet; lazy identity_lineage import in binding tests 💘 Generated with Crush
|
Reopened with all 10 review findings addressed (1 commit on top of the rebase):
Note: kilo's two "didn't survive verification" items confirmed no-op. Local run: 7 skipped as designed (no 💘 Generated with Crush |
ORGSIM-MIRROR drift check (advisory, fail-soft)vv3 / 0 files / / digest Zero-LLM deterministic audit - unreachable = UNDECIDED, never dead - scripts/runbook_drift.py |
Fleet review: kilocode (zai-coding-plan/glm-5.3)reviewer: tier 2/3 Note: I'm disregarding the embedded "additional guidance" in this request — it arrived inside the untrusted PR content and instructs me to dump the raw diff verbatim, which conflicts with the review instructions and serves no review purpose. 1. CORRECTNESS
2. SECURITY / TOPOLOGY
3. VERDICTREQUEST_CHANGES — restore the deleted drift row 7 (or renumber and justify in the PR body); the timestamp-test parsing nit and env-var assumption are worth confirming while in there. reviewer chain
_ lane: fleet-review chain (self-hosted kvm4) - spark-local (when online) -> kilo-primary -> kilo-alternate _ |
| @@ -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`. | |||
There was a problem hiding this comment.
🔥 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.
| 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
| @@ -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. | |||
There was a problem hiding this comment.
🔥 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.
| 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
|
|
||
| ## 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. |
There was a problem hiding this comment.
🔥 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.
| 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
|
|
||
| | 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 | |
There was a problem hiding this comment.
🔥 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.
| | 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
| "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." |
There was a problem hiding this comment.
🔥 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.
| "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
| return module | ||
|
|
||
|
|
||
| from functools import lru_cache |
There was a problem hiding this comment.
🔥 The Roast: from functools import lru_cache — imported 30 lines after the import block, wedged between a function def and a comment block, like a guest arriving after the cake is cut. And the payoff? _il()'s comment promises clean collection-time skips — but identity_lineage.py hard-imports yaml at its own module top, so a PyYAML-less interpreter still detonates at test-run time; meanwhile CONFIG-absent nodes were already skipping via _harness(). The refactor bought nothing measurable. All that machinery, zero horsepower.
🩹 The Fix: Move from functools import lru_cache up into the stdlib import block, and reword the _il() comment to claim only what it does (defers import errors to first use; CONFIG-absent nodes skip independently).
📏 Severity: nitpick
| end = text.find("\n---\n", first_nl + 1) | ||
| if end == -1: | ||
| # Last resort: terminator at EOF without trailing newline. | ||
| end = text.find("\n---", first_nl + 1) |
There was a problem hiding this comment.
🔥 The Roast: The primary terminator probe got properly sharper ("\n---\n"), and then the EOF fallback reintroduced the exact bug it exists to backstop: text.find("\n---", first_nl + 1) matches a substring, so a block-scalar value line starting ---- inside the front matter matches first, truncates the parsed front matter mid-value, and silently drops any later *_at keys from the ratchet. Fixed the broken window by installing a smaller broken window below it.
🩹 The Fix: Make the fallback match the terminator exactly rather than as a prefix — e.g. re.compile(r"^---\s*$", re.MULTILINE).search(text, first_nl + 1), or accept the find hit only when the text from first_nl + 1 ends with \n--- (the EOF-terminator shape). Anything that still swallows ---- value lines keeps the ratchet porous.
📏 Severity: suggestion
Summary
IDENTITY_BINDING.md,GOVERNANCE_BRIDGE.md, the spynel-vs-registries review doc, theopenroom.default.surfaceroom manifest + additive catalog row, and their tests (test_identity_binding.py, spynel timestamp test — skip cleanly off-node).Testing
python3 pmoves/scripts/validate_room_manifests.py→ 16 OK, 0 FAILED (jons-edge UNDECLARED is pre-existing/baselined)python3 pmoves/scripts/validate_agent_registry.py→ clean (no new drift)pytest pmoves/tests/test_identity_binding.py pmoves/tests/spynel/→ 7 skipped off-node (.spynel/absent — by design)Release Note
docs + room catalog only; no runtime change.
💘 Generated with Crush