Repository navigation
Propose admit-deliberation-clearing-operation: admit deliberation as permitted-operations register entry number two (codexFactory #165 task 1.6) - #645
Conversation
…register entry number two (codexFactory #165 task 1.6) The ratified `clearing-dispatch-boundary` requirement "The permitted-operations register is closed" says admission "SHALL BE A GOVERNED CONTRACT CHANGE with a spec delta and a reviewer, and SHALL NOT be a workflow edit". The realized register instance says `deliberation` "IS NOT HERE ON PURPOSE ... a LATER GOVERNED CHANGE", and uses the name as the fixture proving the refusal fires. This is that change, filed as codexFactory PR #165 tasks.md 1.6 / design D13. ONE requirement ADDED to `clearing-dispatch-boundary` -- "deliberation is register entry number two and returns evidence only" -- written over `add-clearing-dispatch-boundary`'s RATIFIED (2026-09-01) and REALIZED (#628, 0d5e1ba) but UNARCHIVED addition, the pairing declared in prose because `govern-sibling-added-modified-deltas`' reserved marker is a MODIFIED-block form and this is an ADDED one. The entry: ARTIFACT LANE ONLY; checkout / writes / secrets all false; token_scopes exactly [actions:read], the clearing side's own scoped read-only admission credential, with entry one's empty list NOT widened; worker_profile council-deliberation-worker; data_handling internal-governance (the stricter class the instance's comment promised a bundle-carrying operation would declare); repository_affecting_output false -- the return is evidence and NO SEAT KEY IS EVER ON THE HOST. output_schema_ref is a NEW NEUTRAL contracts/clearing/deliberation-return.schema.yaml, ruled by Brett Heap 2026-09-04 ("Ruling OQ1: new neutral deliberation-return schema"). NO CONTRACT BYTE MOVES HERE -- ratification authorizes realization, it does not perform it. Two findings recorded rather than papered over: the member set is frozen in FOUR places, not two (the fourth is clearing-dispatch-gate.yml's literal "(1 registered operation)" grep); and the VERDICT_WORDS scan is dispatched by kind == xfactory_clearing_operation_report, so it does not reach a return of a new kind until realization routes it there. Lane: hermes-wallet-exercise Co-Authored-By: Claude Fable 5.1 <[email protected]>
There was a problem hiding this comment.
Hi @brettheap! 👋
Your private repo does not have access to Sourcery.
Please upgrade to continue using Sourcery ✨
…ement in design D11 `add-per-change-sweep-ledger` landed (#623 realized, #632 archived), so the live sequenced-after pin is `tests/sequenced_after/corpus-ledger.yaml` — one row per change — and not the five totals in `test_sweep.py` that the openxFactory shared-substrate register's row 2 still describes. One row ADDED, `class: sole`, no partner flipped: measured 164 ids (35 active + 129 archived), 113 co-modified, 51 sole, active 22 / 13, against a baseline of 163 / 113 / 50 / 22 / 12 taken at both `9ef151ad` and the merged `963c5b77`. `co_modified` holding flat is the check on that reading. Written by `--seed-ledger --moved-by '#645'`, not by hand. No MOVEMENT LOG entry is owed: a row ADDED is the ledger rule's explicit no-entry case. Lane: hermes-wallet-exercise Co-Authored-By: Claude Fable 5.1 <[email protected]>
|
@codex review |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
There was a problem hiding this comment.
🟡 Changes recommended
README.md contains new inline-code/documentation inaccuracies (formatting and a mismatched kind == ... example) that should be corrected before approval.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Pull request overview
Adds a new OpenSpec change packet (admit-deliberation-clearing-operation) that proposes admitting deliberation as the second permitted operation under the existing clearing-dispatch-boundary contract, while explicitly deferring all realization/contract-byte movement to later phases.
Changes:
- Adds a new change directory with proposal, design, tasks, and a spec delta defining the
deliberationregister-entry requirements and scenarios. - Updates the README “OpenSpec Records” index to list the new active change and summarize its intent and constraints.
- Records governance/realization sequencing details (ratification tasking, frozen-copy enumeration, and downstream realization phases) in the packet artifacts.
File summaries
| File | Description |
|---|---|
| README.md | Adds an entry under “OpenSpec Records” for the new active change and summarizes its scope/constraints. |
| openspec/changes/admit-deliberation-clearing-operation/.openspec.yaml | Declares the packet origin and rationale, including authorization context and duplicate-check evidence. |
| openspec/changes/admit-deliberation-clearing-operation/proposal.md | Defines the proposal’s front-matter and narrative: one added requirement, no realization in this PR. |
| openspec/changes/admit-deliberation-clearing-operation/design.md | Captures the design decisions and ruled inputs (OQ1), plus rationale for constraints/fixtures. |
| openspec/changes/admit-deliberation-clearing-operation/tasks.md | Adds a phased task plan covering ratification, realization, contract cut, and downstream notices. |
| openspec/changes/admit-deliberation-clearing-operation/specs/clearing-dispatch-boundary/spec.md | Adds the spec delta requirement and seven scenarios for the deliberation entry. |
Review details
- Files reviewed: 7/7 changed files
- Comments generated: 2
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| "under its OWN entry's constraints"); `worker_profile: | ||
| council-deliberation-worker`; `data_handling: internal-governance` — the | ||
| STRICTER class the register instance's comment promised a bundle-carrying | ||
| operation would declare; and `repository_affecting_output: **false**` — the |
There was a problem hiding this comment.
🔵 Needs a closer look
There are documentation correctness issues (Markdown formatting and duplicate status field) that should be fixed before approval.
Review details
Suppressed comments (2)
Previously missed (1) — in code that hasn't changed since the last review.
openspec/changes/admit-deliberation-clearing-operation/proposal.md:11
- This proposal declares
Status: drafttwice (front-matter and again under the H1). Duplicated status fields are easy to let drift when status changes; keep the status in one place (recommended: front-matter only) and remove the duplicate line under the title.
README.md:513
- Inline-code formatting:
repository_affecting_output: **false**includes Markdown bold markers inside a code span, so it will render with literal asterisks. Use plainfalseinside the code span (or move the emphasis outside it).
"under its OWN entry's constraints"); `worker_profile:
council-deliberation-worker`; `data_handling: internal-governance` — the
STRICTER class the register instance's comment promised a bundle-carrying
operation would declare; and `repository_affecting_output: **false**` — the
return is EVIDENCE, the verdict is computed by the runtime, and **NO SEAT KEY IS
- Files reviewed: 7/7 changed files
- Comments generated: 0 new
- Review effort level: Lite
… ratified text, correct the internal-governance attribution, and count the frozen copies again (five) Adversarial review round 1 on PR #645, reviewed head a47bdb6. Twelve findings, none refused, all fixed in place; two escalated to the operator. No contract byte moves — the diff is still the packet directory, README.md and one corpus-ledger row. P1 (ratification blockers) 1. The schema-validation scenario demanded a ground "from the closed refusal enumeration" and named none, instructing a realizer to widen a closed set on their own authority. That enumeration is dispatch-record.schema.yaml's `refusal_ground` (TWO members, snake_case), not the validator's hyphenated REFUSAL_CODES. The requirement now admits exactly three — lane_not_permitted, output_schema_failure, origin_scoped_credential — the three of the record's nine awaited grounds this entry's landing makes emittable. Design D13, task 2.9. 2. The return record's kind was a realization choice, and the VERDICT_WORDS scan is dispatched on kind. Ratified as `xfactory_clearing_deliberation_return`. 3. Stated that NO validator finding code is minted, so nobody coins `clearing-return-schema-invalid` for a refusal JSON Schema already fires. P2 (accuracy) 4. `internal-governance` occurs nowhere in `document-cataloging`; it is the `Handling:` header value of the document-lifecycle/doc-health family and the doc-health worker's default handling authorization. The FIELD's vocabulary attribution to document-cataloging (the register's own words) is kept; the CLASS NAME's is corrected. Design D7. 5. The entry did not declare `lane_key: artifact`; the lane shape requires it. 6. Named the basis scenario "A migration leaves the old route in place", which on its face reaches this change, and stated the answer and the remedy. P3 (realization surface) 7. FIVE frozen copies of the member set, not four: test_clearing_gate_wiring pins the gate's "1 registered operation" literal from a second file. Plus three pinned numerals the new schema moves (schema list 5->6, manifest rows 6->7, row digests). 8. `registry_version` 1 -> 2, which no test catches. 9. Entry-two twins of the two entry-one fact tests. 10. `test_deliberation_is_refused_by_name` renamed with its re-point. 11. New task 2.10: manifest header counts (already stale at 24 vs 26), row digests, README corpus counts. 12. New task 4.2a: four packaged attestation artifacts carry council-deliberation-worker.yml as a live member and go stale at retirement. P4 (currency) — duplicate check re-run a third time at origin/main 73b1b3c (nine open PRs now, none on clearing); sequenced_after re-measured on this branch: 164 ids / 113 co-modified / 51 sole / active 22-13, ledger consistent at 164 rows — D11 was right in every field and now carries the third sha. Held as authored, verified not assumed: the govern-sibling marker reading (the promoted requirement scopes itself to MODIFIED blocks; modified-block-currency emits nothing against this ADDED delta while emitting eleven elsewhere in the same run); `actions:read` borrowed from credential-contracts' DISPATCH_SCOPES and sufficient for the only read the host performs, with metadata:read rightly omitted as a provider floor; every declared fact fits the shipped schema; the grandfather row's cpc_jobs deliberate/smoke-seat named correctly; no vocabulary collision with codexFactory #165; the honest limit carried, not strengthened. Left for Brett: the route-retirement reading (D10) and whether three grounds is the right number to admit at once (D13). Record: openspec/changes/admit-deliberation-clearing-operation/review/adversarial-round-1-2026-09-04.md Lane: hermes-wallet-exercise Co-Authored-By: Claude Fable 5.1 <[email protected]>
|
Lane: hermes-wallet-exercise Adversarial round 1 discharged — fixed at
|
| # | Finding | Disposition |
|---|---|---|
| P1-1 | The scenario "The return does not validate against the declared neutral schema" required the ground to be "a member of the closed refusal enumeration, added by a governed change" — and named no ground. Unnamed, that sentence tells a realizer to widen a closed set on their own authority: the self-service widening the closed register exists to end, moved one enumeration to the left. The enumeration is contracts/clearing/dispatch-record.schema.yaml's $defs.refusal_ground (TWO members, snake_case, unprefixed) — not the validator's hyphenated clearing-… REFUSAL_CODES. |
FIXED. The requirement admits exactly three grounds, in the record's spelling, each one of the nine that schema says it awaits and each made emittable by this entry: lane_not_permitted (entry one permits both lanes → unreachable), output_schema_failure (entry one declares a report, not a host-produced return), origin_scoped_credential (entry one's job carries no token at all). The other six stay absent. Design D13, new task 2.9 — flagged in the task as the one task that widens a closed set. |
| P1-2 | The return record's kind was left to realization — and check_operation_report, which carries the VERDICT_WORDS scan, is dispatched on kind. A realizer would have held the choice of whether the verdict scan reaches this operation at all. |
FIXED. Ratified text: xfactory_clearing_deliberation_return. The verdict scenario names the kind the scan must reach. D4/D13, tasks 2.2 + 2.5. |
| P1-3 | Nothing stopped a realizer coining clearing-return-schema-invalid. The closed set's own comment refuses it: "schema is the shape refusal and is not a member: it is not this family's rule, it is JSON Schema's." |
FIXED. The requirement states no finding code is minted, names the two that already cover this entry (clearing-lane-not-permitted, clearing-report-carries-a-verdict), and says a shape failure is the family's schema refusal. |
P2 — accuracy of ratified text
| # | Finding | Disposition |
|---|---|---|
| P2-1 | internal-governance occurs nowhere in document-cataloging. That capability types handling as a free string (handling: {type: [string, "null"]}), requires it to "remain mechanical inventory fields and MUST NOT be semantically rewritten" — it copies the source's word — and owns the handling gate. The class name is a Handling: header value of the document-lifecycle/doc-health family, and the doc-health worker's default handling authorization. |
FIXED without contradicting the shipped register: the data_handling FIELD borrows its vocabulary from document-cataloging as the register's own schema and composes_with say; the CLASS NAME is the header value the estate's governance corpus already travels under. Design D7 carries the measurement; D7's protected sentence corrected to "the class the handling gate refuses to dispatch". |
| P2-2 | The entry declared three lane members; the register's lane shape requires four. | FIXED — lane_key: artifact in the requirement, the fact table, and task 2.1. |
| P2-3 | The basis scenario "WHEN a change adds a clearing operation for work an existing direct route still performs THEN the change MUST be refused as leaving a dormant second door" reads, on its face, against this change — and was unanswered. | FIXED in the text, ESCALATED as a ruling. The requirement names the scenario, states the test (whether a second door exists; a register entry with no host job anywhere is not a route), and states the remedy if the reading is refused. See "For Brett" below. |
P3 — completeness of the realization surface
| # | Finding | Disposition |
|---|---|---|
| P3-1 | The packet's own finding of a fourth frozen copy was short by one: tests/clearing/test_clearing_gate_wiring.py::test_the_assertion_pins_the_registers_literal_member_count asserts "1 registered operation" — copy 4's literal, pinned from a second file. |
FIXED — FIVE copies, across D9, tasks 2.3 + 2.6, code_surface, README. D9 also records three pinned numerals the new schema moves: test_the_family_ships_five_schemas' exact list (→ six), test_the_family_registers_exactly_the_six_members (→ seven), and the manifest row digests for the register instance and the dispatch-record schema. |
| P3-2 | registry_version unscheduled; test_the_registry_declares_its_own_identity asserts only >= 1, so nothing catches an unbumped version. |
FIXED — task 2.1 requires 1 → 2 and says why no test will catch its absence. |
| P3-3 | test_the_entry_declares_every_ratified_fact and the lane test read entry one; a malformed entry two passes them in silence. |
FIXED — task 2.1 requires entry-two twins of both. |
| P3-4 | test_deliberation_is_refused_by_name re-pointed to coding keeps a name that lies. |
FIXED — renamed test_coding_is_refused_by_name; plus an inspect-expecting-no-change item for dispatch-record-with-a-free-text-refusal-ground.yaml. |
| P3-5 | Manifest bookkeeping unscheduled. | FIXED as task 2.10 — corpus counts (already stale on main: the comment says 24 negatives, the self-test reports 26), moved row digests, README counts. |
| P3-6 | Four packaged attestation artifacts carry council-deliberation-worker.yml as a live allowlisted member; the retirement makes each stale. |
FIXED as task 4.2a — scheduled, not discovered. |
P4 — currency, re-measured rather than re-read
- Duplicate check re-run a third time at
origin/main73b1b3c1: 35 active change directories, nine open PRs (modified-block-currency: resolve N-writer ordering as a linear chain of declarations (#627) #640/Pin one published tip across the self-gate's two report renderings #639/Fix archive-gate to resolve the ratified proposal by change id #638 merged in the interval; none touchescontracts/clearing/), nodelib*/*permitted*remote head, and the only merge since963c5b77is one doc-health test file. Result unchanged; recorded in the origin reason. - sequenced_after re-swept on this branch: 164 ids (35 active + 129 archived), 113 co-modified, 51 sole, active 22 / 13, 2 declarations, 0 root claims, 3 prose headers, deepest chain 2 hops;
--ledger-diff→ consistent with the corpus (164 rows). D11 was right in every field; it now carries the third sha.
Held as authored — verified, not assumed
- The govern-sibling marker reading HELD. The promoted requirement is "A MODIFIED block over an active sibling's addition is evaluated for its pairing", scoped to
## MODIFIED Requirementsblocks; this delta is## ADDED. Confirmed empirically too:modified-block-currencyemits nothing against this packet's delta while emitting eleven findings against other active changes' MODIFIED blocks in the same run. No collision class reaches it — no other change writes this requirement title. actions:readis right and sufficient. A member ofvalidate-credential-contracts.py'sDISPATCH_SCOPES(borrowed, not minted); satisfies the register'sidentifierpattern; and it is exactly what Ratify align-doxbench-contract-pin-to-publisher, and correct its release axis #165 task 7.3 fixes for the return-fetch job — the only read the host performs.metadata:read's omission is correctly reasoned: a provider floor, not a grant.- Every declared fact fits the shipped schema; the gate's literal
\(1 registered operation\)grep is real (clearing-dispatch-gate.yml:113); the grandfather row'scpc_jobsaredeliberate+smoke-seatand the packet names both (Ratify align-doxbench-contract-pin-to-publisher, and correct its release axis #165'ssmokeis the codexFactory copy); no vocabulary collision with Ratify align-doxbench-contract-pin-to-publisher, and correct its release axis #165, which coins no worker profile, handling class, scope spelling or return-schema name; D10 agrees with Ratify align-doxbench-contract-pin-to-publisher, and correct its release axis #165 D17 and in fact fills a gap — Ratify align-doxbench-contract-pin-to-publisher, and correct its release axis #165 Phase 7 reshapes the operative xFactory copy but no task there strikescouncil-deliberation-worker.yml; the honest limit is carried, not strengthened.
Green at 3bd42c2c
openspec validate admit-deliberation-clearing-operation --strict valid · --all --strict 90/0 · pytest tests/clearing tests/sequenced_after -q 334 passed · validate-clearing-dispatch.py . 0 errors, 0 warnings, 26/26 closed refusal codes red-proven · doc-health --single-repo . — no finding names any path of this packet.
One caveat worth recording: the
record-immutabilityfamily is flaky. It reported "No findings" on one run in this session and four criticals on the next, for the same tree. The four (docs/archive-record-discrepancies.md,docs/domain-ontology-adoption-handoff.md,docs/domain-ontology-pilot-report.md,docs/notebook-projection-migration-evidence-2026-08-24.md) were reproduced on a cleanorigin/mainworktree and are pre-existing, not this packet's. But a green reading of that family is not evidence.
For Brett — the two only you can rule
- The route-retirement reading (P2-3 / D10). Is admitting a register entry, with no host job declared anywhere, "adding a clearing operation for work an existing direct route still performs"? The packet says no — no second door exists until a host job exists — and carries the retirement obligation forward onto the xFactory change that declares one. If you read it the other way, the remedy is plain and cheap: hold this admission until the retiring xFactory change is ready to land beside it. It costs the packet nothing but its landing window.
- Three grounds, or two? (P1-1 / D13). The concepts are the record schema's own awaited nine; the spellings are this review's, matched to the two seeded members' form. Admitting three at once is a judgement. The alternative is to admit only
lane_not_permittedandoutput_schema_failurenow — the two the packet's own scenarios force — and leaveorigin_scoped_credentialto the change that declares the host job. The packet takes three because scenario six's refusal is otherwise unrecordable.
Everything else the packet already flagged for your veto still stands: D2 (one requirement), D3 (artifact lane only), D5 (worker_profile), D6 (token_scopes), D7 (data_handling), D8 (fixtures re-point to coding).
|
@codex review |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
… the second basis requirement this entry exercises Two text-only follow-ups to 3bd42c2, no substantive change: * The route-retirement clause no longer reports its own author's uncertainty inside ratified text ("flagged for the ratifier's veto in design D10"). A ratified sentence that hedges itself is one a later reader cannot rely on; the requirement now states the answer, and the veto lives in design D10 where every other unruled decision in this packet lives. * The "nothing is restated, narrowed or widened" claim now names BOTH basis requirements that reserve an act to a governed change and that this packet performs — the closed register's "adding an operation SHALL be a governed contract change" and the dispatch record's "a ground absent from that enumeration SHALL be added by a governed change". Performing a reserved act is exercising the requirement, not amending it, and the packet now says so rather than leaving a reader to notice the second one on their own. Green: openspec --strict valid, --all --strict 90/0, pytest tests/clearing tests/sequenced_after 334 passed, validate-clearing-dispatch 0/0. Lane: hermes-wallet-exercise Co-Authored-By: Claude Fable 5.1 <[email protected]>
|
Lane: hermes-wallet-exercise Follow-up to round 1 — head moves
|
Catch-up only, no conflict. Main moved twice while this review round ran and BOTH commits came in with this merge, so both are named rather than the one the merge was started for: * #639 (73b1b3c) — tests/doc-health/test_modified_block_currency_self_gate.py and nothing else. * #642 (bbc21e4) — the ideation-dashboard --generated-at anchor, a realization slice of add-nightly-dashboard-refresh: scripts/ and tests/ideation-dashboard/ only. NEITHER adds nor archives a change directory, so the sequenced_after baseline design D11 records is unmoved and no re-derivation is owed. VERIFIED AFTER THE MERGE rather than argued: --ledger-diff still reports 164 change ids (35 active + 129 archived), 113 co-modified, 51 sole, active 22 / 13, and "consistent with the corpus (164 rows)". Neither touches contracts/clearing/, the register, or any artifact this packet names. Merged so that `git diff origin/main` over this branch shows the packet and nothing else. Before it, the same command showed a 246-line phantom revert of main's newer test file — exactly the kind of reader trap this review round exists to remove, and the one this reviewer walked into on the first command of the round. Lane: hermes-wallet-exercise
There was a problem hiding this comment.
🔵 Needs a closer look
README.md includes incorrect/inconsistently formatted inline-code examples that should be corrected before merge.
Review details
Suppressed comments (2)
README.md:515
- Inline code spans don’t render Markdown emphasis, so
repository_affecting_output: **false**will show literal asterisks and can be misread. Prefer a plain code literal for the field/value (and keep emphasis outside the code span if needed).
travels under; and `repository_affecting_output: **false**` — the
README.md:529
- This sentence uses a Python-style comparison (
==) but the RHS is missing the required quotes, which makes the example inaccurate versus the actual code (kind == "xfactory_clearing_operation_report").
`kind == xfactory_clearing_operation_report`, so it does **not** reach a return
- Files reviewed: 8/8 changed files
- Comments generated: 0 new
- Review effort level: Lite
|
Lane: hermes-wallet-exercise Catch-up merge — head
|
…o substantive change) One sentence in the section that fixes the round's ratification blocker read "which is how this gets got wrong". A packet going to a ratifier should not have a typo in the paragraph making its hardest argument. Lane: hermes-wallet-exercise Co-Authored-By: Claude Fable 5.1 <[email protected]>
There was a problem hiding this comment.
🟡 Changes recommended
Several newly added docs/tasks reference non-existent examples/... paths (should be contracts/clearing/examples/...) and there are a couple of fixable documentation formatting issues that would otherwise mislead implementers.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Review details
Suppressed comments (7)
README.md:515
- Inline-code spans render Markdown formatting literally;
repository_affecting_output: **false**will display the asterisks rather than bolding. Use plain code text for the field/value.
travels under; and `repository_affecting_output: **false**` — the
openspec/changes/admit-deliberation-clearing-operation/tasks.md:228
- These fixture paths are inconsistent and currently point at non-existent locations (e.g.
examples/negative/...). In this repo the clearing attestation fixtures live undercontracts/clearing/examples/..., so the references here won’t be navigable as written.
(`examples/negative/attestation-claiming-full-completeness-before-admission.yaml`,
`attestation-filing-a-dark-lane-as-a-widening.yaml`,
`attestation-with-one-estate-wide-expected-set.yaml`, and the positive
`single-door-attestation.example.yaml`). The retirement in 4.3 makes each
openspec/changes/admit-deliberation-clearing-operation/tasks.md:127
- This fixture path is also missing the
contracts/clearing/prefix, so it won’t be navigable from the task list as written.
**Also inspect, expecting NO change:**
`examples/negative/dispatch-record-with-a-free-text-refusal-ground.yaml`
claims `deliberation` as its operation but its declared failure is the
openspec/changes/admit-deliberation-clearing-operation/tasks.md:174
- This fixture path is missing the
contracts/clearing/prefix (the file is undercontracts/clearing/examples/negative/), so this reference will be broken if someone follows the task list literally.
clean, while
`examples/negative/dispatch-record-with-a-free-text-refusal-ground.yaml`
still fires `clearing-record-refusal-ground-unknown`. **THIS IS THE ONE
openspec/changes/admit-deliberation-clearing-operation/proposal.md:48
- These fixture references omit the
contracts/clearing/prefix. The files live undercontracts/clearing/examples/negative/, so the current paths won’t resolve from the repo root.
CHANGE", and the packaged corpus uses the name twice as the honest fixture that
proves the closure refusal fires:
`examples/negative/register-carrying-an-unratified-operation.yaml` and
`examples/negative/manifest-naming-an-unregistered-operation.yaml`. The
openspec/changes/admit-deliberation-clearing-operation/design.md:476
- This fixture path is missing the
contracts/clearing/prefix, so it points to a non-existent location in this repo.
already a member and already red-proven by
`examples/negative/operation-report-carrying-a-readiness-verdict.yaml`; the lane
openspec/changes/admit-deliberation-clearing-operation/tasks.md:152
- This example path is missing the
contracts/clearing/prefix. The file lives atcontracts/clearing/examples/dispatch-record-refused.example.yaml, so the current path won’t resolve.
- [ ] 2.7 **`examples/dispatch-record-refused.example.yaml` follows the fixture
re-point** (design D8): its whole subject is a refused CLAIM of
- Files reviewed: 8/8 changed files
- Comments generated: 5
- Review effort level: Lite
| `examples/dispatch-record-refused.example.yaml` follows, because its whole | ||
| subject is a REFUSED CLAIM of `deliberation` with |
| @@ -0,0 +1,136 @@ | |||
| --- | |||
| code_surface: openxFactory — `contracts/clearing/permitted-operations.registry.yaml` gains ENTRY NUMBER TWO; `scripts/validate-clearing-dispatch.py`'s `RATIFIED_OPERATIONS` frozen set, the INDEPENDENT copy in `tests/clearing/test_register_closure.py` (`RATIFIED`), the LITERAL member-count assertion in `.github/workflows/clearing-dispatch-gate.yml` ("1 registered operation"), and `tests/clearing/test_clearing_gate_wiring.py`'s assertion pinning that same literal from a second file all move in the SAME reviewed diff — FIVE frozen copies, not two, the fourth and fifth being real findings of this packet's authoring and its review round and recorded in design D9, together with three further pinned numerals the new schema moves (the five-schema filename list in `tests/clearing/test_schemas.py`, the six-row family count in `tests/clearing/test_clearing_manifest_rows.py`, and the per-file row digests); a NEW neutral `contracts/clearing/deliberation-return.schema.yaml` (Brett Heap's OQ1 ruling of 2026-09-04) of the ratified kind `xfactory_clearing_deliberation_return`, with a positive example and at least one negative fixture, registered in the validator's `SCHEMA_FILENAMES` and `KIND_TO_SCHEMA`, and the verdict scan extended to reach that kind; `contracts/clearing/dispatch-record.schema.yaml`'s CLOSED `refusal_ground` enumeration gains EXACTLY THREE members named in the ratified text — `lane_not_permitted`, `output_schema_failure`, `origin_scoped_credential` — the three of the record's nine awaited grounds that this entry's landing makes emittable, and no others; the two `deliberation`-named negative fixtures (`examples/negative/register-carrying-an-unratified-operation.yaml`, `examples/negative/manifest-naming-an-unregistered-operation.yaml`) RE-POINTED to another honest unratified operation name — `coding`, which `add-clearing-dispatch-boundary` design D11 names as the next real later operation — so the closure refusal keeps a live probe; `examples/dispatch-record-refused.example.yaml` and `tests/clearing/test_dispatch_record.py`'s refused-claim assertion follow the fixture re-point; `contracts/clearing/README.md`, `contracts/manifest.yaml`, `contracts/CHANGELOG.md`, and the repository README doc index. NO xFactory or codexFactory byte is this change's surface — those are dependent realizations named in the impact map. | |||
| **FIXED.** Task 2.4 renames it `test_coding_is_refused_by_name`, and adds an | ||
| inspect-expecting-no-change item for | ||
| `examples/negative/dispatch-record-with-a-free-text-refusal-ground.yaml`, which | ||
| claims `deliberation` but is red for its free-text ground and survives |
| `host-rider-cpc-brett01`, `expected_runner` `xfactory-artifact-cpc-brett01` — | ||
| the four members the register's lane shape requires, none of them optional. The entry SHALL NOT permit the | ||
| coding lane, and a sealed request declaring `xfactory-execution-lane-workers` or |
| - [ ] 2.4 **Re-point the two `deliberation` negative fixtures to `coding`** | ||
| (design D8) — `examples/negative/register-carrying-an-unratified-operation.yaml` | ||
| and `examples/negative/manifest-naming-an-unregistered-operation.yaml` — |
There was a problem hiding this comment.
🔵 Needs a closer look
The README OpenSpec Records entry needs small but concrete corrections (ordering within the index and Markdown/code-literal formatting accuracy) before it should be merged.
Review details
Suppressed comments (3)
Previously missed (1) — in code that hasn't changed since the last review.
README.md:486
- The
Active changeslist appears to be sorted by change id (e.g.,add-*entries come beforeadopt-*). Addingadmit-deliberation-clearing-operationat the very top breaks that ordering; please move this bullet to its sorted position (after the lastadd-*entry and before the firstadopt-*entry) to keep the index stable and scannable.
README.md:515
- This inline code span includes
**false**, but Markdown emphasis is not rendered inside a code span, so the literal asterisks will show. Use plain code formatting for the value (or remove the code span) so the rendered README matches the intended emphasis.
travels under; and `repository_affecting_output: **false**` — the
README.md:530
- The README is describing a string comparison, but the literal kind value is missing quotes here. This reads like a Python expression with an undefined name rather than
kindbeing compared to the string value.
second file; the `VERDICT_WORDS` scan is dispatched by
`kind == xfactory_clearing_operation_report`, so it does **not** reach a return
of a new kind until realization routes it there, which is why the new record's
- Files reviewed: 8/8 changed files
- Comments generated: 0 new
- Review effort level: Lite
|
Lane: hermes-wallet-exercise Round 1 closed — all seven required checks green at
|
| check | result |
|---|---|
pytest-suite |
pass (run 33840718973) |
clearing-dispatch-gate |
pass |
signed-execution-chain-gate |
pass |
wallet-validation |
pass |
openreposhape-pin |
pass |
merge-master-approval |
pass |
lane-line |
pass |
pytest-suite was pending, never red, through the whole round — it runs 20–25 minutes and each of the round's four pushes superseded the previous run. This is the first run to reach the final head and it passed.
Final head 47f3e2f5 (00009a01 + a one-sentence readability fix in design D13 and the round record; no substantive change). Locally green at the same head: openspec validate admit-deliberation-clearing-operation --strict valid · --all --strict 90/0 · pytest tests/clearing tests/sequenced_after -q 334 passed · validate-clearing-dispatch.py . 0 errors, 0 warnings, 26/26 closed refusal codes red-proven · doc-health --single-repo . naming no path of this packet.
Round 1 is discharged. The packet is ready for Brett's ratification word, with two items only he can rule — the route-retirement reading (D10) and whether three refusal grounds is the right number to admit at once (D13) — both set out in the round-1 comment above and in review/adversarial-round-1-2026-09-04.md. Nothing here merges the PR or changes its draft state.
Catch-up merge before adversarial review round 2. One conflict, README.md's "OpenSpec Records" active-changes block: main archived add-drafted-proposal-origin (#644), removing its active entry and adding the archived one further down; this branch had added its own entry above it. Resolved by keeping BOTH sides' intent — this packet's active entry stays, main's removal of the archived packet's active entry is taken, and main's archived entry (auto-merged, no conflict) stands. tests/sequenced_after/corpus-ledger.yaml auto-merged cleanly: main's add-drafted-proposal-origin row flipped active -> archived, this branch's admit-deliberation-clearing-operation row untouched. Re-measured after the merge; design D11 is corrected in the round-2 commit. git diff origin/main is purely additive again (packet dir, README block, one ledger row) — no revert of main's newer doc-health spec or self-gate test bytes. Lane: hermes-wallet-exercise
There was a problem hiding this comment.
🔵 Needs a closer look
It is an operator-ratified governed contract change (explicitly marked draft/not-for-merge) where approval depends on human governance judgment rather than purely mechanical correctness.
Review details
Suppressed comments (2)
README.md:515
- Markdown formatting:
repository_affecting_output: **false**is inside a code span, so the**false**won’t render as bold and will display literally. Prefer keeping the whole key/value as code (or move the emphasis outside the backticks) to avoid confusing rendering.
travels under; and `repository_affecting_output: **false**` — the
README.md:529
- The code reference is missing quotes: the implementation dispatches on a string kind (e.g.
kind == "xfactory_clearing_operation_report"). As written (kind == xfactory_clearing_operation_report) it reads like an identifier and doesn’t match the code elsewhere in this repo.
`kind == xfactory_clearing_operation_report`, so it does **not** reach a return
- Files reviewed: 8/8 changed files
- Comments generated: 0 new
- Review effort level: Lite
… the record's own words, and put D10 and D13 as rulable questions Adversarial round 2 over what round 1 ADDED, after a catch-up merge of origin/main 342bee5 (#644, an archive; touches no clearing surface). P1-1/P1-2 — the three grounds' spellings are RENDERINGS, not coinages: "lane not permitted", "output-schema failure" and "origin-scoped credential" appear verbatim in the shipped dispatch-record schema's own description and in the ratified basis's tasks 6.4/6.6. The requirement now states the rule that produces an identifier from one of those names (the rule the two seeded members already follow) so the remaining six render the same way. The origin_scoped_credential collision hypothesis was checked against the file the member lands in — origin_repository/origin_signature already fix `origin` as the ORIGINATING REPOSITORY — and does not hold; originating_repository_credential is refused with its reason recorded. P1-3 — scenario six folds a seat key into one credential ground; that is now a stated choice with the rejected fourth member named. P1-4 — "no validator finding code is minted" was true and incomplete. The requirement and design D13 now say WHICH COMPONENT EMITS WHICH: `schema` from the canonical validator and only once the kind is routed (an unrouted kind is not validated at all, validate-clearing-dispatch.py:879); output_schema_failure from the clearing workflow's hosted finalizer, where the basis places it; origin_scoped_credential from the dispatch attempt, owing no fixture; and clearing-record-refusal-ground-unknown unchanged, reading the enum out of the schema at run time. P2-1 — "That enumeration holds TWO members today" is a standing claim this packet's own realization falsifies; rewritten as a reading taken at a moment. P3 — D10 and D13 each gain a `THE QUESTION, PUT FOR RULING` paragraph with both readings and the cost of each. Positions unchanged. D10 adds that #165 D13 makes the alternative circular unless the two land as one act; D13 names the exact edit a ruling for two-not-three requires. P4 — origin reason carries the fourth duplicate check at 342bee5 (nine open PRs checked file by file; none touches a clearing surface). Design D11 carries the fourth ledger reading: baseline moved to 163 (33+130, active 21/12), post-state 164 (34+130, active 21/13); this packet's signature (sole 50->51) is unchanged. Every numeral round 1's tasks name re-verified on the merged tree. P5 — task 2.2 records that a `schema`-declaring negative fixture is lawful, so no realizer mints clearing-return-schema-invalid to give the fixture a code. No contract byte moves. Record: review/adversarial-round-2-2026-09-04.md. Lane: hermes-wallet-exercise
|
Lane: hermes-wallet-exercise ADVERSARIAL REVIEW ROUND 2 — head
|
There was a problem hiding this comment.
🔵 Needs a closer look
README.md contains minor but concrete documentation formatting inaccuracies that should be corrected before merge.
Review details
Suppressed comments (2)
README.md:516
- Inline code spans don’t render Markdown formatting, so
repository_affecting_output: **false**will show the literal asterisks instead of emphasizing the value. Use a plain code value (and, if emphasis is desired, apply it outside the code span).
operation would declare, the `data_handling` FIELD borrowing its vocabulary
from `document-cataloging` as the register's own schema says while the CLASS
NAME is the `Handling:` header value the estate's governance corpus already
travels under; and `repository_affecting_output: **false**` — the
return is EVIDENCE, the verdict is computed by the runtime, and **NO SEAT KEY IS
README.md:530
- The README describes the verdict scan dispatch condition as
kind == xfactory_clearing_operation_report, but in code this is a string comparison (e.g.kind == "xfactory_clearing_operation_report"). Adding the quotes avoids implyingxfactory_clearing_operation_reportis a variable/symbol.
second file; the `VERDICT_WORDS` scan is dispatched by
`kind == xfactory_clearing_operation_report`, so it does **not** reach a return
of a new kind until realization routes it there, which is why the new record's
- Files reviewed: 9/9 changed files
- Comments generated: 0 new
- Review effort level: Lite
…stantive change) The `THE QUESTION, PUT FOR RULING` heading had been inserted ahead of D13's return-kind paragraph, so the kind discussion read as part of the question. Moved the kind paragraph above the heading; the question now closes D13 as it closes D10. No text changed. Lane: hermes-wallet-exercise
There was a problem hiding this comment.
🔵 Needs a closer look
It proposes governed contract/spec admission changes that require explicit human/owner ratification and careful policy review beyond automated checks.
Review details
Suppressed comments (2)
Previously missed (1) — in code that hasn't changed since the last review.
README.md:545
- The README entry references adversarial round 2 using a truncated placeholder (
-round-2-) instead of the actual filename, so the link text is incorrect and won’t match the file in the packet.
README.md:515
repository_affecting_output: **false**is wrapped in backticks, so the**false**will render literally rather than as emphasis. If the intent is a code-formatted value, drop the markdown bold markers inside the code span.
travels under; and `repository_affecting_output: **false**` — the
- Files reviewed: 9/9 changed files
- Comments generated: 0 new
- Review effort level: Lite
|
Lane: hermes-wallet-exercise Round 2 closed — all seven required checks green at
|
| check | result |
|---|---|
| clearing-dispatch-gate | pass |
| lane-line | pass |
| merge-master-approval | pass |
| openreposhape-pin | pass |
| pytest-suite | pass (21m04s) |
| signed-execution-chain-gate | pass |
| wallet-validation | pass |
Re-verified from the lane's main session at 12:35Z on the pushed head: openspec validate admit-deliberation-clearing-operation --strict valid; openspec validate --all --strict 89 passed / 0 failed; pytest tests/clearing tests/sequenced_after 334 passed. Branch is current with main (342bee51); mergeStateStatus is BLOCKED on the code-owner gate only.
No round 3 is owed: round 2 refused nothing and surfaced no third question. The packet now waits on Brett Heap for (1) the D10 ruling, (2) the D13 ruling, and (3) the ratification word — each put as a rulable paragraph in design.md. Not merged; no contract byte moves in this PR.
|
Lane: hermes-wallet-exercise RATIFICATION — RULING for lane hermes-wallet-exercise's PR #645, head
|
…D13 A; ratified head 22afb19) Brett Heap (repository owner), in-session 2026-09-04T12:37Z, verbatim: "D10 A, D13 A, ratify #645". The word is recorded on PR #645 as issuecomment-5540528358, naming lane hermes-wallet-exercise and head 22afb19 — the head this commit lands on. D10 RULED A (the packet's reading): a register entry with no host job declared in any repository is not a second door, so the basis's "A migration leaves the old route in place" scenario binds FORWARD onto the act that declares the deliberation host job. D13 RULED A: exactly three record grounds (lane_not_permitted, output_schema_failure, origin_scoped_credential) are admitted to the closed refusal enumeration. Nothing substantive in the packet moves; both questions were written so that A is the text as it stands. Recording acts only: - review/ratification-2026-09-04.md — new record on the estate's exemplar structure (add-cpc-clearing-boundary/review/ratification-2026-09-02.md, add-clearing-dispatch-boundary/review/ratification-2026-09-01.md). - proposal.md — Status: draft -> ratified (front matter and body), plus the Ratified: front-matter line naming the word, the head and the record; the "two questions are put" paragraph now says both were ruled A. - design.md — D1 gains RULED (c); D10 and D13 each carry a RULED A line under their THE QUESTION, PUT FOR RULING heading. No position or argument changed. - tasks.md — 1.1 ticked with the date, the head and the record path. Nothing else ticked. - .openspec.yaml — approved_by carries the exemplar's post-ratification paragraph; D10/D13 marked ruled rather than pending. - README.md OpenSpec Records — this packet's row moves off "awaiting Brett's ratification word" to Status: ratified with the record path, mirroring the ratified sibling's row (Rule 7 claim for row 3 held: issue #630 comment 5535802164). Ratification authorizes realization and does not perform it: no contract byte moves, the register still holds one member, and the realization is a separate Speckit slice (tasks.md Phases 2-4). MERGE IS A SEPARATE WORD AND WAS NOT GIVEN. Verified at this tree: openspec validate admit-deliberation-clearing-operation --strict valid; --all --strict 89 passed / 0 failed; proposal-support.py verify ok; doc-health.py --single-repo . exit 0 with a finding set IDENTICAL to the pre-recording baseline (6 critical / 4 error / 27 warning / 16 info, 0 new regressions) and no finding naming any path of this packet, ratified-provenance included; pytest tests/sequenced_after 162 passed (a Status flip moves no ledger row) and tests/clearing 172 passed. Lane: hermes-wallet-exercise Co-Authored-By: Claude Fable 5.1 <[email protected]>
|
Lane: hermes-wallet-exercise RATIFIED at
|
| file | act |
|---|---|
openspec/changes/admit-deliberation-clearing-operation/review/ratification-2026-09-04.md |
NEW — the record, on the estate's exemplar structure (add-cpc-clearing-boundary/review/ratification-2026-09-02.md, add-clearing-dispatch-boundary/review/ratification-2026-09-01.md): Status: ratified, the verbatim word, ratifier, 12:37Z, ratified head 22afb198049652ab30afd74eee62ce3c308da930, the comment URL, both rulings with what each settles, the two review rounds, the 7/7 check state, the lane and session, the #165 claim and the OQ1 ruling, and the sentence that ratification authorizes realization and does not perform it |
proposal.md |
Status: draft → ratified (front matter and body), plus the Ratified: line in the sibling's exact form; the "two questions are put" paragraph now says both were ruled A |
design.md |
D1 gains RULED (c); D10 and D13 each carry a one-line RULED A under their THE QUESTION, PUT FOR RULING heading. No position, argument or prose otherwise changed |
tasks.md |
1.1 ticked with the date, the head and the record path. Nothing else ticked |
.openspec.yaml |
approved_by carries the exemplar's post-ratification paragraph ("THE PACKET IS NOW RATIFIED…"); D10/D13 marked ruled rather than pending |
README.md |
this packet's OpenSpec Records row moves off "awaiting Brett's ratification word" to Status: ratified with the record path, mirroring the ratified sibling's row. Rule 7 claim for row 3 is held (#630 comment 5535802164) |
What the two rulings settle
- D10 — A. A register entry with no host job declared in any repository is not a second door; the basis's "A migration leaves the old route in place" scenario binds FORWARD onto the act that declares the
deliberationhost job, which retirescouncil-deliberation-worker.yml's host jobs, its allowlist entry and its grandfather row in the same act. Nothing in the packet moves. - D13 — A. EXACTLY THREE record grounds —
lane_not_permitted,output_schema_failure,origin_scoped_credential— are admitted todispatch-record.schema.yaml's closedrefusal_groundenumeration, carrying it two → five. Nothing in the packet moves.
Validations at fd3573fd
OPENSPEC_TELEMETRY=0 openspec validate admit-deliberation-clearing-operation --strict— valid, zero issuesOPENSPEC_TELEMETRY=0 openspec validate --all --strict— 89 passed, 0 failedpython3 scripts/proposal-support.py . verify— okpython3 scripts/doc-health.py --single-repo .— exit 0, finding set IDENTICAL to the pre-recording baseline (6 critical / 4 error / 27 warning / 16 info, 0 new regressions) and no finding names any path of this packet —ratified-provenanceincluded: the record and the proposal each carry exactly one ratification citation linepython3 -m pytest tests/sequenced_after -q— 162 passed; aStatusflip moves no ledger row, measured rather than assumedpython3 -m pytest tests/clearing -q— 172 passed (334 with the above, unchanged from round 2)
Merge is a separate word and was not given. Realization is tasks.md Phases 2–4, a Speckit slice; archive is merged-plus-green realization evidence, ordered after add-clearing-dispatch-boundary archives.
There was a problem hiding this comment.
🟡 Changes recommended
Several packet headers and README pointers are internally inconsistent (e.g., Status: draft after ratification, ambiguous refusal code vs ground, and a non-actionable filename reference), which should be corrected before approval.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Review details
- Files reviewed: 10/10 changed files
- Comments generated: 5
- Review effort level: Lite
| travels under; and `repository_affecting_output: **false**` — the | ||
| return is EVIDENCE, the verdict is computed by the runtime, and **NO SEAT KEY IS |
| Two adversarial review rounds are recorded in the packet | ||
| (`review/adversarial-round-1-2026-09-04.md`, `-round-2-`), and **TWO QUESTIONS |
| @@ -0,0 +1,644 @@ | |||
| # Design — admit-deliberation-clearing-operation | |||
|
|
|||
| Status: draft | |||
| **The entry's ratified facts**, as the requirement fixes them: **ARTIFACT LANE | ||
| ONLY** (`xfactory-artifact-workers` / `host-rider-cpc-brett01` / | ||
| `xfactory-artifact-cpc-brett01`; a coding-lane request is refused | ||
| `lane_not_permitted`); `checks_out_code` / `writes` / `may_reference_secrets` |
| @@ -0,0 +1,280 @@ | |||
| # Tasks — admit-deliberation-clearing-operation | |||
|
|
|||
| Status: draft | |||
|
Lane: hermes-wallet-exercise LANDING #645 — lane hermes-wallet-exercise, session 45aa0e5f-e855-4bd3-bed3-5b4275dc70f9, 2026-09-04T13:12Z. Head |
|
Lane: hermes-wallet-exercise LANDED #645 — merge commit |
|
Lane: hermes-wallet-exercise CLAIMED — lane hermes-wallet-exercise, session 45aa0e5f-e855-4bd3-bed3-5b4275dc70f9, 2026-09-04T13:13Z, for the REALIZATION of Rule 1 reads at 2026-09-04T13:13Z: (1) no CLAIMED/TAKEOVER on this record for the realization; (2) |
…e in one diff Realizes `admit-deliberation-clearing-operation` (ratified 2026-09-04 12:37Z by Brett Heap, "D10 A, D13 A, ratify #645"; merged 3cf917b) tasks 2.1, 2.3, 2.4 and 2.7. THE FIVE COPIES OF THE MEMBER SET, all of them, once (design D9): 1. scripts/validate-clearing-dispatch.py RATIFIED_OPERATIONS 2. tests/clearing/test_register_closure.py RATIFIED (the INDEPENDENT copy) 3. contracts/clearing/permitted-operations.registry.yaml (the instance) 4. .github/workflows/clearing-dispatch-gate.yml the literal member-count grep 5. tests/clearing/test_clearing_gate_wiring.py which pins (4) from a second file The entry declares every fact the ratified requirement fixes: false for checks_out_code / writes / may_reference_secrets / repository_affecting_output; token_scopes exactly [actions:read] (credential-contracts' spelling, metadata:read deliberately absent); a bounded timeout_minutes of 120 stated as a BOUND and not a budget; worker_profile council-deliberation-worker; THE ARTIFACT LANE AND ONLY THE ARTIFACT LANE; output_schema_ref the new neutral return schema; data_handling internal-governance. registry_version advances 1 -> 2 in the same act. Entry one is not touched and is pinned as untouched. THE FIXTURES RE-POINT TO `coding` (design D8), comments rewritten to argue about `coding`, because admitting `deliberation` would otherwise turn both negative fixtures green for the wrong reason and take two closed refusal codes out of the red-proven set. `test_deliberation_is_refused_by_name` is RENAMED `test_coding_is_refused_by_name` with its docstring's argument intact. validate-clearing-dispatch: 0 errors, 26/26 red-proven, "2 registered operations". pytest tests/clearing: 176 passed. Lane: hermes-wallet-exercise
|
Lane: hermes-wallet-exercise Pre-archive readiness pass for this ratified change, opened as PR #721 (#721, head Ticked: 1.7 (codexFactory #165 tasks.md 1.6 LANDED 2026-09-04 + PINNED 2026-09-06 on Left open: 3.4 — the ratified "lists the new schema" evidence for Gates: Not merged; merges on Brett's word (Rule 6 landing window applies at merge). |
Lane: hermes-wallet-exercise
Claim: https://github.com/opensoft/codexFactory/pull/165#issuecomment-5535747335
DRAFT —
Status: draft. NOT FOR MERGE WITHOUT BRETT'S RATIFICATION WORD.Head
22afb198, after two adversarial review rounds and two catch-up merges ofmain(bbc21e41,342bee51). Round 2's substantive commit is1973c7b1;22afb198moves one design paragraph so D13's ruling question closes its section, and changes no text. Records:review/adversarial-round-1-2026-09-04.md,review/adversarial-round-2-2026-09-04.md.What this is
The governed contract change that the CLOSED permitted-operations register asks for by name.
add-clearing-dispatch-boundary's requirement "The permitted-operations register is closed" — RATIFIED 2026-09-01, REALIZED by #628 (0d5e1ba9), not yet archived — says: "ADDING AN OPERATION SHALL BE A GOVERNED CONTRACT CHANGE with a spec delta and a reviewer, and SHALL NOT be a workflow edit." The realized register instance saysdeliberation"IS NOT HERE ON PURPOSE … a LATER GOVERNED CHANGE" and uses the name as the fixture proving the closure refusal fires.Filed as codexFactory PR #165 (
adopt-bundle-shaped-deliberation, headb9714e21) tasks.md 1.6 / design D13 — "leg 3 has no legal home until this lands".The delta — ONE requirement
## ADDED Requirementsonclearing-dispatch-boundary: "deliberation is register entry number two and returns evidence only", seven scenarios. It mirrors the basis's own entry-number-one requirement and restates nothing the basis ratifies.Written over the basis's ratified-and-realized-but-UNARCHIVED addition. The pairing is declared in prose, not in
govern-sibling-added-modified-deltas' reserved marker form, because that form is required of a## MODIFIED Requirementsblock and this is an## ADDEDone — the reading the siblingadd-cpc-clearing-boundaryalready ships (markers on its three MODIFIED requirements, none on its ADDED block). Verified empirically at round 1:modified-block-currencyemits nothing against this delta, and 10 findings on the branch versus 10 onorigin/main— identical.deliberationchecks_out_code/writes/may_reference_secretsfalse/false/falsetoken_scopes[actions:read]— exactly the clearing side's own scoped, short-lived read-only admission credential; spelled in the vocabularycredential-contractsalready carries (validate-credential-contracts.pyDISPATCH_SCOPES), this family minting none. Entry one's empty list is not widened.worker_profilecouncil-deliberation-workerlane_keyartifact/xfactory-artifact-workers/host-rider-cpc-brett01/xfactory-artifact-cpc-brett01(all four members the lane shape requires); a coding-lane request is refusedclearing-lane-not-permittedoutput_schema_refcontracts/clearing/deliberation-return.schema.yaml(OQ1, ruled), records of the ratified kindxfactory_clearing_deliberation_returnlane_not_permitted,output_schema_failure,origin_scoped_credentialdata_handlinginternal-governance— the stricter class the instance's comment promised a bundle-carrying operation would declare; the FIELD's vocabulary borrowed fromdocument-catalogingas the register's schema says, the CLASS NAME theHandling:header value the governance corpus already travels under (D7, corrected at round 1)repository_affecting_outputfalse— the return is evidence, the verdict is computed by the runtime, and NO SEAT KEY IS EVER ON THE HOST (sign-on-return, #165 D6)NO CONTRACT BYTE MOVES IN THIS PR
Ratification AUTHORIZES realization; it does not PERFORM it.
git diff origin/mainis the packet directory, the README records block, and onetests/sequenced_after/corpus-ledger.yamlrow — purely additive, zero deletions. The register still holds one member on this branch, the validator's frozen set still holds one name, andclearing-dispatch-gatestill asserts "1 registered operation". Realization is Phase 2, after task 1.1.What review round 1 wrote into ratified text
Three ratification blockers, cured in place rather than left to a realizer:
lane_not_permitted(entry one permits both lanes, so the refusal was unreachable),output_schema_failure(entry one declares a report, not a host-produced return),origin_scoped_credential(entry one's job carries no token at all). The other six of the record's awaited nine stay absent: an enumeration seeded with grounds no implementation can emit is closed in name only. Task 2.9 performs it and is marked as the one task in the packet that widens a closed set.check_operation_report, which carriesVERDICT_WORDS, is dispatched onkind, so a realizer free to choose the kind would have been free to choose whether the scan reaches this operation at all. The kind is now ratified text.RATIFIED_OPERATIONS, the independentRATIFIEDcopy intests/clearing/test_register_closure.py, the instance, andclearing-dispatch-gate.yml's literal(1 registered operation)grep, there istest_the_assertion_pins_the_registers_literal_member_count, which pins that same literal from a second file. Task 2.3 moves all five in one diff; task 2.6 proves each fails alone.Round 1 also corrected the
internal-governanceattribution (P2-1), namedlane_key, named the basis scenario that reads against this packet, scheduled theregistry_versionbump, added entry-two twins of the two register tests, renamed a test whose name lied, and scheduled the manifest's own stale corpus counts.What review round 2 added
dispatch-record.schema.yamldescription and in the ratified basis'stasks.md6.4/6.6 — in prose, in no identifier, so there was never one to copy. The requirement now writes down the rule that turns one of those names into an identifier (the ruleunregistered_operationandunknown_lane_selectoralready follow), so the remaining six render the same way.origin_scoped_credentialcollision hypothesis was checked and does not hold. Inside the very file the member lands in,origin_repository/origin_signaturealready fixoriginas the originating repository.originating_repository_credentialwas considered and refused, with the reason recorded.schemafrom the canonical validator, and only once the kind is routed —validate-clearing-dispatch.py:879returns immediately on an unrouted kind, so it is not validated at all;output_schema_failurefrom the clearing workflow's hosted finalizer, where the basis already places it (tasks.md6.6);origin_scoped_credentialfrom the dispatch attempt, owing no fixture and leaving26/26 red-provenuntouched; andclearing-record-refusal-ground-unknownunchanged, since it reads the enumeration out of the schema at run time. Assigning an existing refusal to an existing component is not a widening.TWO QUESTIONS FOR THE RATIFIER — both put with both readings and the cost of each
Under a
THE QUESTION, PUT FOR RULINGheading indesign.md. The packet's positions are unchanged; either ruling costs it only a landing window.D10 — does the basis's "A migration leaves the old route in place" scenario reach THIS admission? A (the packet's): no — the test is whether a SECOND DOOR EXISTS, and a register entry with no host job declared in any repository is not a door; the obligation binds forward onto the act that declares the host job, as a clause and as scenario seven. Cost: an interval in which a ratified entry has no route, enforced by a scenario in a repository (
opensoft/xFactory) that this packet cannot edit. B: yes — hold the admission until the retiring xFactory change lands beside it. Cost: a landing window, and a circularity — #165 D13 says leg 3 has no legal home until this entry exists, so the xFactory change cannot lawfully be authored ahead of it. B is coherent only as ONE act across two repositories in one reviewed window.D13 — three refusal grounds now, or two? A (the packet's): three, because each is made emittable by this entry's landing and scenario six's refusal is otherwise unrecordable. Cost: two of the three are emitted by a component that does not exist yet, so the enumeration briefly carries members nothing can emit. B: two, deferring
origin_scoped_credentialto the change that declares the host job. Cost: scenario six ratifies a refusal whose ground is unnamed until later — a milder form of the defect round 1 caught. A ruling for B is executed by striking one bullet from the requirement, one member from task 2.9, and one row from the proposal's fact table. Nothing else moves.The forward retirement obligation, carried not discharged (design D10)
xfactory-artifact-workerscarries, at this change's ratification, the grandfatheredcouncil-deliberation-worker.yml(cpc_jobs: deliberate, smoke-seat,allowlist_entry: present) — inopensoft/xFactory, which this packet cannot edit. So the requirement binds the act it can bind: the change that declares thedeliberationhost job must retire that member in the same act, in both the live allowlist and the in-repo enumeration. There is a scenario for it, and task 4.2a names the four packaged attestation artifacts that go stale the moment it lands.Duplicate check (recorded in
.openspec.yaml's origin reason)Four surfaces, run four times: 04:40Z, 05:05Z (
9ef151ad/963c5b77), round 1 (73b1b3c1), and round 2 (342bee51). At the round-2 reading: 34 active changes (33 main's plus this packet; #644 archived one); nine other open PRs (#648, #647, #646, #643, #641, #594, #548, #518, #176), every one checked file by file againstcontracts/clearing/,scripts/validate-clearing-dispatch.py,tests/clearing/,clearing-dispatch-gate.ymlandadd-clearing-dispatch-boundary/— none touches any of them; nodelib*/*permitted*remote head; the five interval merges touch no clearing artifact. No sibling, no successor, no duplicate.The sweep ledger (OQ2, design D11) — the baseline moved at round 2
342bee51(#644) is the first main commit since this branch was cut that moves a change directory, so the split figures move and the totals do not.342bee51, measured on an extracted tree: 163 ids (33 active + 130 archived), 113 co-modified, 50 sole, active 21 / 12;--ledger-diffconsistent (163 rows).sole50 → 51,active_sole12 → 13,co_modifiedflat — one added SOLE row, no partner flipped. No MOVEMENT LOG entry is owed.Local verification at
1973c7b1(unchanged at22afb198, a prose reorder)openspec validate admit-deliberation-clearing-operation --strict→ validopenspec validate --all --strict→ 89 passed, 0 failedpython3 -m pytest tests/clearing tests/sequenced_after -q→ 334 passedpython3 scripts/validate-clearing-dispatch.py .→ 0 errors, 0 warnings; 26/26 closed refusal codes red-proven; 6 packaged records validated, 26 negative fixtures refused; register still reads 1 registered operationpython3 scripts/proposal-support.py . verify→ okpython3 scripts/validate-sequenced-after.py . --ledger-diff→ consistent with the corpus (164 rows)scripts/doc-health.py --single-repo .→ no finding names any path of this packet (0 of 53). Run twice per round 1's flakiness warning, byte-identical; the fourrecord-immutabilitycriticals are ondocs/*.mdand were reproduced on a cleanorigin/mainworktree at round 1Shared-substrate claim (Rule 7, rows 2 and 3): #630 (comment)
NOT for merge without Brett's ratification word (task 1.1).
🤖 Generated with Claude Code