Repository navigation
Realize admit-deliberation-clearing-operation: deliberation is register entry number two - #652
Conversation
…eration The ratified change (PR #645, merged 3cf917b, ratified 2026-09-04 12:37Z "D10 A, D13 A, ratify #645") authorizes realization and does not perform it. This packet is the implementation feature its Phase 2 hands off to: spec, plan, research (with the OPEN POINTS the ratified text leaves silent, each with the conservative reading taken), data-model, the contract note for the new neutral return shape, quickstart, tasks and the quality checklist. It authors no requirement and adds no spec delta. Lane: hermes-wallet-exercise
There was a problem hiding this comment.
Hi @brettheap! 👋
Your private repo does not have access to Sourcery.
Please upgrade to continue using Sourcery ✨
There was a problem hiding this comment.
🟡 Changes recommended
The new tasks packet introduces a host-absolute path in committed text and uses an undefined [P] marker, both of which should be corrected before merging.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Pull request overview
This PR adds the Speckit realization packet for feature 029-admit-deliberation-realization, which is intended to drive the contract-byte realization of the ratified OpenSpec change admit-deliberation-clearing-operation (register entry #2, new neutral return schema, refusal-ground widening, and associated bookkeeping).
Changes:
- Adds a detailed executable task plan (
tasks.md) mapped to the ratified Phase 2 build list and subsequent realization phases. - Adds feature artifacts (
spec.md,plan.md,research.md,data-model.md) that trace authored values to ratified text and record conservative resolutions for open points. - Adds verification guidance (
quickstart.md) plus a consumer-facing contract note (contracts/deliberation-return.md) and a spec-quality checklist.
File summaries
| File | Description |
|---|---|
| specs/029-admit-deliberation-realization/tasks.md | Executable task breakdown for the realization, including the “five frozen copies” movement and verification steps. |
| specs/029-admit-deliberation-realization/spec.md | Feature spec capturing authority, user stories, acceptance scenarios, and success criteria for the realization work. |
| specs/029-admit-deliberation-realization/research.md | Traceability + OPEN POINTS register documenting conservative interpretations where ratified text is silent. |
| specs/029-admit-deliberation-realization/quickstart.md | Step-by-step commands to locally verify the realization and its proofs. |
| specs/029-admit-deliberation-realization/plan.md | Implementation plan describing sequencing, constraints, and risk mitigations for the realization. |
| specs/029-admit-deliberation-realization/data-model.md | Concrete data model for the new register entry, new neutral return schema, and refusal-ground enum widening. |
| specs/029-admit-deliberation-realization/contracts/deliberation-return.md | Contract note documenting consumer guarantees and non-guarantees for the new deliberation return kind. |
| specs/029-admit-deliberation-realization/checklists/requirements.md | Quality checklist asserting packet completeness and realization discipline. |
Review details
- Files reviewed: 8/8 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.
| @@ -0,0 +1,157 @@ | |||
| # Tasks: `deliberation` — register entry two and its neutral return schema | |||
|
|
|||
| **Input**: Design documents from `/specs/029-admit-deliberation-realization/` | |||
| **Mapping.** Each task below names the ratified Phase 2 item it discharges. The | ||
| ratified `tasks.md` is the governance record and is ticked with the sha that | ||
| realized it; THIS file is the executable list. Neither restates the other. | ||
|
|
…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
…erdict scan Realizes `admit-deliberation-clearing-operation` tasks 2.2 and 2.5 (design D4, OQ1 ruled by Brett Heap 2026-09-04: "new neutral deliberation-return schema"). contracts/clearing/deliberation-return.schema.yaml — kind `xfactory_clearing_deliberation_return`, named in RATIFIED TEXT rather than chosen here, because the verdict scan is dispatched on kind and a realization free to pick the kind would be free to pick whether the scan reaches this operation at all. WHAT IT CARRIES, and nothing else: `seats`, keyed by seat identity, each with that seat's output as a tagged union of an inline string payload or a reference plus a REQUIRED byte hash; and `binding`, all three identifiers required — the convening job id, the VERIFIED subject pin, and the digest of the INBOUND sealed bundle it answers. Plus `operation` (const) and the DECLARED `lane`. WHAT IT REFUSES BY NOT OFFERING IT: no signature member — the return is UNSIGNED on the host and signed ON RETURN by the originating repository's own hosted signer, so no key is ever present there; no outcome; no verdict-shaped member at any depth, the root and every nested object being closed. WHAT IT DOES NOT AUTHOR: the seat's output is OPAQUE (a string payload or a reference), because a neutral contract that enumerated the producer's per-seat accounting would be authoring the producer's shape from the other side — the same error design D4 refuses when it forbids a producer-owned output_schema_ref. No digest construction, no handling vocabulary, no job envelope, and no lane `const`: WHICH lanes this operation may use is the CLOSED REGISTER's answer. THE SCAN IS EXTRACTED, NOT COPIED. `check_no_verdict` is called from both the operation-report path and the new `check_deliberation_return`; two copies of a word list are two word lists. The refusal is the EXISTING `clearing-report-carries-a-verdict` — REFUSAL_CODES is unchanged at 26 members, and the shape fixture declares the family's non-member `schema`, which `test_no_fixture_declares_a_code_outside_the_closed_set` excepts by name. validate-clearing-dispatch: 0 errors, 7 positives, 28 negatives, 26/26 red-proven. pytest tests/clearing: 194 passed, 1 failed on the manifest row this schema does not yet have (task 2.10, next commit). Lane: hermes-wallet-exercise
There was a problem hiding this comment.
🟡 Changes recommended
The updated contract bytes are not yet kept internally consistent in the manifest prose, and a repo constitution rule is violated by a host-absolute path in newly added docs.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Review details
Suppressed comments (2)
specs/029-admit-deliberation-realization/tasks.md:3
- This new tasks list uses a host-absolute path (
/specs/...) in committed documentation, which violates the repo constitution requirement to use repo-relative paths (no leading slash).
**Input**: Design documents from `/specs/029-admit-deliberation-realization/`
contracts/manifest.yaml:3122
- This manifest row’s
sha256was updated for the register instance, but the adjacentconsumption_ruleprose still claims the register holds “EXACTLY ONE member” and that it was “Registered at contract-v3.3”. That makes the manifest internally inconsistent with the updated contract bytes (two members, and this update is part of the contract-v3.4 cut described elsewhere in this PR).
sha256: d5ae8ad5146faf2591c1303bfbee5d8778fb868b9dc0509b6e3d99846268a6fd
compatibility: canonical_openxfactory_contract
adapter_owner: openxFactory
consumption_rule: >-
The CLOSED permitted-operations register itself, holding EXACTLY ONE member: `readiness-diagnostic`, the ratified entry number one.
- Files reviewed: 24/24 changed files
- Comments generated: 1
- Review effort level: Lite
| # THE MEMBER IS `coding`, AND THE CHOICE IS NOT DECORATIVE. The estate wants a | ||
| # coding operation on the governed host: `add-clearing-dispatch-boundary` design | ||
| # D11 names it as the next real later operation, and the lane | ||
| # (`xfactory-execution-lane-workers` / `host-coding-cpc-brett01`) and the | ||
| # grandfathered worker (`execution-lane-coding-worker.yml`, group 7) are already | ||
| # there waiting for it. It is a REAL, WANTED, LATER GOVERNED CHANGE — which makes | ||
| # it the honest fixture for this refusal, because the failure mode is never | ||
| # somebody adding an absurd operation. It is somebody adding a reasonable one, in | ||
| # a hurry, in the file rather than in a change. This entry is otherwise complete | ||
| # and well-formed; the ONLY thing wrong with it is that no ratified text admits | ||
| # it. | ||
| # |
…the rule down Realizes `admit-deliberation-clearing-operation` task 2.9 (design D13, RULED A by Brett Heap 2026-09-04: three grounds now, not two). `$defs.refusal_ground.enum` 2 -> 5: `lane_not_permitted`, `output_schema_failure`, `origin_scoped_credential`, AND NOTHING ELSE. Each is lawful only because the ratified requirement names it; a fourth added here is the defect that packet exists to refuse. The six that remain — expiry, hash mismatch, workflow-path contradiction, commit mismatch, unreadable API, committed-data offer — stay absent until the operation that can emit them lands. WHY THESE THREE AND NO OTHERS: entry two is the FIRST entry that permits one lane and refuses the other, the FIRST to declare a return shape a host actually produces, and the FIRST whose job carries a token at all. Entry one could reach none of them. THE RENDERING RULE IS NOW IN THE SCHEMA'S OWN DESCRIPTION. The awaited grounds are named in PROSE and nowhere in an identifier, so there was no identifier to copy and a realizer would have had to invent three. The rule the two seeded members already follow — lower-case, words joined by underscores, no `clearing-` prefix, a compound's hyphen becoming an underscore — is written down so the six that remain land on the same answer, and so it is not re-derived from three examples. Applying it to those six is NOT authorization to seed them. Each member records the change that admitted it, and the description fixes the reading of `origin` (the ORIGINATING REPOSITORY, as this schema's own `origin_repository` / `origin_workflow_path` / `origin_signature` already use it) and the boundary between these GROUNDS and the validator's FINDING CODES. NO VALIDATOR EDIT WAS NEEDED and that is the design: `clearing-record-refusal-ground-unknown` reads the enumeration out of the schema at run time. Proof owed for these members is that a packaged record naming each validates CLEAN — the red-proven rule binds finding codes, and two of the three are written by the clearing workflow's hosted finalizer, which no fixture can make fire. Lane: hermes-wallet-exercise
There was a problem hiding this comment.
🟡 Changes recommended
The deliberation-return verdict fixture/test currently uses an underscore seat key that violates the family’s shared identifier pattern, and the register header comment has an internal contract-version wording inconsistency.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Review details
Suppressed comments (2)
Previously missed (1) — in code that hasn't changed since the last review.
contracts/clearing/permitted-operations.registry.yaml:17
- The header comment now says the registry was registered at
contract-v3.3(line 8) but later says entry two was “registered at contract-v3.4” (line 15). Those statements conflict; consider describing v3.4 as an amendment to an artifact originally registered in v3.3 (or update the earlier line if the project convention is “registered at latest cut”).
contracts/clearing/examples/negative/deliberation-return-carrying-a-verdict.yaml:36
- The seat identity
eligibility_verdictdoes not match the family’sidentifierpattern (no_), so this fixture will also fail schema validation. If the intent is to prove the name-scan refusal on a schema-valid document, use a hyphenated key (and keepexpected_failure_detailin sync).
seats:
eligibility_verdict:
output:
form: inline
- Files reviewed: 25/25 changed files
- Comments generated: 2
- Review effort level: Lite
| # expected_failure: clearing-report-carries-a-verdict | ||
| # expected_failure_detail: eligibility_verdict | ||
| # VIOLATES "deliberation is register entry number two and returns evidence only": |
| doc["seats"]["eligibility_verdict"] = { | ||
| "output": {"form": "inline", "payload": "clear to merge"}} | ||
| findings = adjudicate(reader, registry_and_docs, entries, {}, doc) | ||
| codes = reader.codes_of(findings.errors) | ||
| assert "clearing-report-carries-a-verdict" in codes, findings.errors | ||
| assert any("eligibility_verdict" in line for line in findings.errors) |
Realizes `admit-deliberation-clearing-operation` tasks 2.8 and 2.10. contracts/manifest.yaml gains a SEVENTH clearing row, `clearing-deliberation-return`, and the register instance's and the dispatch record schema's row digests move with their bytes. The family header's corpus counts are CORRECTED TO THE MEASURED VALUES rather than incremented: 7 positives and 28 intended-invalid negatives. The second figure read "24" from the contract-v3.3 registration onward while the disk held 26 — the validator's own self-test reported the true number on every run and nobody reconciled the two, which is what task 2.10 found. THE CUT IS NOT TAKEN, AND THE REASON IS MEASURED. On merge order alone the next additive minor would be `contract-v3.4`. It is CLAIMED: openxFactory issue #630 row 4, 2026-09-04T12:40:25Z, lane `repo-shape`, on Brett Heap's word in session — verbatim "cut contract-v3.4" — 25 minutes before this lane's own realization claim, and Lane Collision Protocol Amendment 1 rule 7 serializes contract-cut claims FIFO. So: * `contract_bundle_version` is NOT moved and still reads contract-v3.3; * NO contracts/CHANGELOG.md entry is written (one entry per RELEASE, and this allocates none); * NO contracts/releases/<tag>.digests.yaml is built (an inventory names a bundle, and naming one reserves it); * the new row says so in its own consumption_rule — "the bundle number is the cutting session's and is not reserved here". THAT IS THIS REPOSITORY'S OWN FORM, not an invention: the twelve chain-anchoring rows already on main carry the identical sentence, add-chain-attestation split the same way (#556 rows, #565 cut), and docs/contract-versioning-policy.md forbids reserving a minor before merge order is known. The per-row registration assertion is TIGHTENED rather than weakened for it: a new REGISTRATION map makes it per row — the six cut rows record their bundle, the realization row records its CHANGE — plus `test_the_realization_row_reserves_no_bundle_number`, which is what stops a later session writing a number in without cutting. MEASURED: no member of contracts/releases/contract-v3.3.digests.yaml drifts at this head beyond the EDITORIAL contracts/manifest.yaml, identically to the base, so this feature creates no release-inventory finding. Both READMEs move with the bytes: the family's shape table gains the return, its register section says TWO members, its honest-limit paragraph now names all FIVE frozen copies including the gate's grep and the test that pins it, and the sentence "does not verify a sealed RETURN — no return shape ships here" is corrected in place rather than deleted. pytest tests/clearing: 203 passed. validate-clearing-dispatch: 0 errors. Lane: hermes-wallet-exercise
There was a problem hiding this comment.
🟡 Changes recommended
The contract bundle manifest/release-cut artifacts appear inconsistent/incomplete for the stated contract-v3.4 realization (and there’s at least one validator error-message correctness fix needed), so merge-readiness can’t be confirmed.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Review details
Suppressed comments (1)
contracts/manifest.yaml:3124
contracts/manifest.yaml's clearing register entry appears only partially updated: it still declarescontract_bundle_version: contract-v3.3(line 3), theclearing-permitted-operations-registryrow'sconsumption_rulestill says "EXACTLY ONE member" and "Registered at contract-v3.3" (lines 3122–3134), and there is no manifest entry for the newdeliberation-return.schema.yaml(noclearing-deliberation-returnrow found). This contradicts the PR description's statedcontract-v3.4cut + new contract row(s), and will likely break the manifest/digest consistency tests.
path: contracts/clearing/permitted-operations.schema.yaml
source_path: openxFactory/contracts/clearing/permitted-operations.schema.yaml
type: schema
schema_version: 1
sha256: 51d3f23eb701483f1b441a02e38a54ffb840d561c65f79401eb0defd45755906
compatibility: canonical_openxfactory_contract
adapter_owner: openxFactory
- Files reviewed: 28/28 changed files
- Comments generated: 1
- Review effort level: Lite
| for name in _member_names(doc): | ||
| lowered = name.lower() | ||
| if any(word in lowered for word in VERDICT_WORDS): | ||
| f.error("clearing-report-carries-a-verdict", | ||
| f"{where}: member {name!r} reads as an eligibility verdict. " | ||
| f"The operation report is EVIDENCE produced BY passing " | ||
| f"through the boundary; it is not, and may not grow into, " | ||
| f"the neutral infrastructure-readiness result that the " | ||
| f"promoted document-cataloging and ideation-routing " | ||
| f"preflights await — that is a decision input consulted " | ||
| f"BEFORE dispatch") | ||
| f"{tail}") |
Lane: hermes-wallet-exercise
There was a problem hiding this comment.
🟡 Changes recommended
There are a few factual/documentation inconsistencies in changed contract docs/comments (and one misleading validator error message) that should be corrected before merge.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Review details
Suppressed comments (1)
scripts/validate-clearing-dispatch.py:741
- The verdict-name scan triggers on many decision-like substrings (
verdict,decision,approved, etc.), but the emitted message always says "reads as an eligibility verdict", which is misleading for most matches and now applies to multiple kinds. Consider making the message phrasing generic (verdict/decision marker) so it stays accurate asVERDICT_WORDSevolves.
for name in _member_names(doc):
lowered = name.lower()
if any(word in lowered for word in VERDICT_WORDS):
f.error("clearing-report-carries-a-verdict",
f"{where}: member {name!r} reads as an eligibility verdict. "
f"{tail}")
- Files reviewed: 28/28 changed files
- Comments generated: 2
- Review effort level: Lite
| | `signed-execution-chain/` **tranche two** — seven further record kinds (setup attestation, commitment extension, SIGNED CHAIN BINDING, runner attestation, PR-open decision, closure record, remediation declaration) plus the definitions-only `attestation-common.schema.yaml` | **REGISTERED at `contract-v2.6`** (`add-chain-attestation` task 5.9; ratified by Brett Heap 2026-09-01 at `f54cb5bc`, re-ratified `6d7ef17b`). Links 4–6 and 10: WHAT ACTUALLY RAN, SAID BY THE CHAIN ITSELF. The harness controller attests the environment IT PREPARED and COMMITS to the expected attestation set inside its signed bytes, with a controller-signed extension serving dynamic fan-outs at a DISPATCH deadline — absence is only measurable against a commitment, which is what makes the dropped-attestation attack detectable. Runner attestations are signed AT the controller by the remote signing it serves, on RECORDED requests attributed from the controller's own provisioning, under tier-2 identities whose issuance COMPOSES three records (the consumed canonical `certificate-record` and `issuance-evidence`, redefined NOWHERE, plus this family's signed chain binding carrying subject scope, closed record-kind enumeration and the chain identity served — verified fingerprint-first against the carried public key). The controller CORROBORATES against its own link 4 and never notarizes self-report: every attested fact carries one of three CLOSED evidence classes composing with the ratified trust-anchor chain-custody registry in a declared ORDER, and the signing certificate's custody ceiling bounds what any fact under it evidences. The PR open is a signed, chain-bound decision enumerating EVERY committed attestation — equality in both directions — and binding the exact pull request and head revision; PROPOSING IS NOT PERMITTING. CLOSURE completes the chain on the governed post-merge test the RATIFIED SUBJECT names, controller-dispatched on exactly the merge commit, verified through THREE AMENDMENT-LINEAGE LIMBS against the inception's now-extended signed lineage (the one cross-tranche edit, ADDITIVE on the #497 precedent); a merged-but-unclosed chain is a REFUSING state consumable only by a remediation chain — itself a full chain, its exemption non-inheritable, its own closure owed. Tier-2 keys never enter a worker IN ANY CONFIGURATION on omnigent's constitutional `access_secrets: false`, and the three obligations a gate cannot see are DECLARED in the conformance declaration's `attestation_design` block and refused there by name. The reader is THE SAME REQUIRED CHECK WALKING FURTHER — links 1–6, eleven ordered checks, org ruleset **21957695** unchanged — never a second gate; the row above describes tranche one's cut-time eight-check state. Self-testing over TWO corpora (tranche two: 4 positive chains — interleaved fan-out, unamended lineage, remediation, append target — + 74 indexed negatives), all NINETY-FIVE closed refusal codes red-proven. SEC-R18 (the executing layer refusing an unverified chain) is declared UNMET until a running omnigent layer refuses, and the §5 gates stay open until the PKI plane has ISSUED | `add-chain-attestation` | | ||
| | [`clearing/`](clearing/README.md) — five record kinds (sealed bundle manifest, permitted-operations register as SCHEMA PLUS ITS ONE CLOSED INSTANCE, operation report, clearing dispatch record, single-door attestation) | **REGISTERED at `contract-v3.3`** (`add-clearing-dispatch-boundary` task 6.8; ratified 2026-09-01 by Brett Heap, merged as PR #555 squash `ab0bb2dd`), as MODIFIED by `add-cpc-clearing-boundary` (merged `c0270d28`). All five schemas AND the registry instance carry per-file `sha256` in [`manifest.yaml`](manifest.yaml); the number was fresh-counted at the cut, the two cuts the packet named as ahead of it having since resolved (`add-chain-attestation` carried at `contract-v3.0`, `add-chain-anchoring` unlanded). **REGISTRATION IS NOT ENFORCEMENT**: these are the shapes a clearing implementation validates, records and attests with, and the boundary is enforced by the clearing repository's own workflow — `opensoft/xFactory`'s `clearing-dispatch.yml` (PR #191, squash `95f1a9c6`), which today validates its operation id against its own literal choice list and, per the packet's task 3.7, MUST move to this registry instance now that it exists. The boundary: work reaches a governed execution host ONLY as a sealed bounded request carrying TEN declared fields with an expiry and a byte hash per selected file; field (10) is a REQUIRED ORIGIN SIGNATURE where the originating repository holds an active row in [`governance/factory-identity/`](../governance/factory-identity/README.md) and trusted hosted-workflow provenance only where it does not, so registering an identity TIGHTENS a producer and never loosens one; the policy-checked fields are RESOLVED FROM the register rather than read from the bundle, and a disagreement refuses on NEITHER value; the permitted-operations register is CLOSED at ONE member, `readiness-diagnostic`, and adding an operation is a governed contract change rather than a workflow edit; the operation report is COMPOSED evidence with its lanes typed as DECLARED, a name-allowlisted environment echo and NO eligibility verdict; the ledger records cleared dispatches AND refusals in one shape, keeping the provider-verified, policy-checked and origin-signature outcomes apart and carrying workspace-disposal evidence as a field; and the single-door attestation computes its expected set PER GROUP, keeping a WIDENING, a DARK LANE and CONVERGENCE-NOT-YET-REACHED as three distinct findings. NO SECOND VOCABULARY: the digest is `signed-execution-chain`'s `xfc-jcs-sha256-1`, whose closed `digest_subject` enumeration gained ONE member, `sealed_bundle_manifest`, as a tranche-3 widening of SUBJECTS | `add-clearing-dispatch-boundary` | | ||
| | [`scripts/validate-clearing-dispatch.py`](../scripts/validate-clearing-dispatch.py) + `clearing/examples/` + `tests/clearing/` | Canonical validator published by exact commit with `contract-v3.3`, content-addressed rather than per-file digested (the openxWallet, client-identity-roster, identity-brokering, trust-anchor and signed-execution-chain precedent). It DERIVES NOTHING OF ITS OWN: the digest construction is `scripts/signed_execution_chain/canonical.py`, signature verification is that family's `ed25519.py`, and public-key decoding plus the fingerprint spelling come from the PINNED openXwallet reader, imported rather than copied and REFUSED-on-absence rather than reimplemented — the `scripts/validate-factory-identity.py` precedent, one derivation in one place. Two layers (packaged self-test, then a repo scan), exit 0/1/2, self-testing over 6 positives and 26 indexed negatives with ALL 26 closed refusal codes red-proven and the self-test refusing a code with no probe — including `clearing-origin-row-expired` (an origin row recorded `state: active` whose declared expiry has PASSED refuses in BOTH directions, since skipping it would let an expiry LOOSEN what field (10) may carry) and `clearing-artifact-unparseable` (a file naming a family kind that does not parse is refused rather than skipped, because an artifact the sweep could not read is not one it cleared). CI is [`.github/workflows/clearing-dispatch-gate.yml`](../.github/workflows/clearing-dispatch-gate.yml) (job id `clearing-dispatch-gate`, no display name), whose invocation and POSITIVE log assertions are pinned by `tests/clearing/test_clearing_gate_wiring.py` inside the required `pytest-suite` job. **THE CHECK IS NOT YET REQUIRED**: making it so is an operator act on a ruleset, as `wallet-validation` (21538893) and `signed-execution-chain-gate` (21957695) each needed, and until then this gate REPORTS rather than GATES | `add-clearing-dispatch-boundary` | | ||
| | [`clearing/`](clearing/README.md) — six record kinds (sealed bundle manifest, permitted-operations register as SCHEMA PLUS ITS ONE CLOSED INSTANCE, operation report, DELIBERATION RETURN, clearing dispatch record, single-door attestation) | **REGISTERED at `contract-v3.3`** (`add-clearing-dispatch-boundary` task 6.8; ratified 2026-09-01 by Brett Heap, merged as PR #555 squash `ab0bb2dd`), as MODIFIED by `add-cpc-clearing-boundary` (merged `c0270d28`). All five schemas AND the registry instance carry per-file `sha256` in [`manifest.yaml`](manifest.yaml); the number was fresh-counted at the cut, the two cuts the packet named as ahead of it having since resolved (`add-chain-attestation` carried at `contract-v3.0`, `add-chain-anchoring` unlanded). **REGISTRATION IS NOT ENFORCEMENT**: these are the shapes a clearing implementation validates, records and attests with, and the boundary is enforced by the clearing repository's own workflow — `opensoft/xFactory`'s `clearing-dispatch.yml` (PR #191, squash `95f1a9c6`), which today validates its operation id against its own literal choice list and, per the packet's task 3.7, MUST move to this registry instance now that it exists. The boundary: work reaches a governed execution host ONLY as a sealed bounded request carrying TEN declared fields with an expiry and a byte hash per selected file; field (10) is a REQUIRED ORIGIN SIGNATURE where the originating repository holds an active row in [`governance/factory-identity/`](../governance/factory-identity/README.md) and trusted hosted-workflow provenance only where it does not, so registering an identity TIGHTENS a producer and never loosens one; the policy-checked fields are RESOLVED FROM the register rather than read from the bundle, and a disagreement refuses on NEITHER value; the permitted-operations register is CLOSED at TWO members — `readiness-diagnostic` and, since 2026-09-04, `deliberation` — and adding an operation is a governed contract change rather than a workflow edit; the operation report is COMPOSED evidence with its lanes typed as DECLARED, a name-allowlisted environment echo and NO eligibility verdict; the ledger records cleared dispatches AND refusals in one shape, keeping the provider-verified, policy-checked and origin-signature outcomes apart and carrying workspace-disposal evidence as a field; and the single-door attestation computes its expected set PER GROUP, keeping a WIDENING, a DARK LANE and CONVERGENCE-NOT-YET-REACHED as three distinct findings. NO SECOND VOCABULARY: the digest is `signed-execution-chain`'s `xfc-jcs-sha256-1`, whose closed `digest_subject` enumeration gained ONE member, `sealed_bundle_manifest`, as a tranche-3 widening of SUBJECTS. **EXTENDED AT REALIZATION, 2026-09-04, BY `admit-deliberation-clearing-operation`** (ratified by Brett Heap, PR #645, merged `3cf917b7`), which admits `deliberation` as register ENTRY NUMBER TWO — a bundle-carrying, evidence-only operation on the ARTIFACT LANE ONLY, `checks_out_code`/`writes`/`may_reference_secrets`/`repository_affecting_output` all false, `token_scopes` exactly `[actions:read]`, `data_handling` `internal-governance`, holding NO key of any kind because the return is signed ON RETURN by the originating repository. It adds a SEVENTH registered row, the neutral [`deliberation-return.schema.yaml`](clearing/deliberation-return.schema.yaml) (kind `xfactory_clearing_deliberation_return`, ruled a new neutral schema rather than a producer-owned path), and carries the dispatch record's CLOSED refusal enumeration from two members to five — `lane_not_permitted`, `output_schema_failure`, `origin_scoped_credential`, each named in ratified text and rendered by a rule the schema now writes down. THOSE ROWS RESERVE NO BUNDLE NUMBER: they are registered at realization and the next additive minor is the cutting session's, per the versioning policy's rule that a change must not reserve a minor before merge order is known | `add-clearing-dispatch-boundary` + `admit-deliberation-clearing-operation` | |
| # (PR #645, merged `3cf917b7`; ratified 2026-09-04 by Brett Heap, record | ||
| # `openspec/changes/admit-deliberation-clearing-operation/review/ratification-2026-09-04.md`), | ||
| # same capability, requirement "deliberation is register entry number two and | ||
| # returns evidence only"; tasks.md 2.1, registered at contract-v3.4. |
…and the 2.6 proofs All eleven Phase 2 items are realized and ticked with the commit that realized each: 2.1/2.3/2.4/2.7 at `34030213`, 2.2/2.5 at `e1a5f7b7`, 2.9 at `271f59da`, 2.2/2.8/2.10 at `afae18cc`, 2.6 and 2.11 by measurement recorded in the file. TASK 2.6's EVIDENCE IS WRITTEN OUT, not asserted: a table of five reverts and three, each applied ALONE and each observed RED, with the failing assertion named. It also records the near-miss, because design D12 says the failure mode is moving four of five and missing one: the FIRST attempt at copy (d) did not go red — the gate's literal is written with the parentheses escaped for `grep -E`, and a revert searching for the unescaped form silently changed nothing. A copy "proven" by an edit that never landed is exactly that miss, and it was caught by re-reading the file rather than by trusting the revert's exit code. PHASE 3 IS NOT TICKED, AND ITEM 3.1 NOW RECORDS WHY IT CANNOT BE BY THIS LANE: `contract-v3.4` was claimed on openxFactory issue #630 row 4 at 12:40:25Z by lane `repo-shape` on Brett Heap's word "cut contract-v3.4" — before this lane's own realization claim — and Amendment 1 rule 7 serializes contract-cut claims FIFO. The measurement a cutting session needs is recorded rather than left to be re-derived. Phase 4's downstream items and Phase 5's archive gate are untouched. The feature packet's own tasks.md is ticked to match, with T028 / T031 / T032 marked NOT DONE DELIBERATELY and each carrying its reason. openspec validate --all --strict: 90 passed, 0 failed. proposal-support verify: ok. doc-health single-repo: no critical or error finding names a path this feature moved; release-inventory-drift reports two INFO lines on editorial members ("expected between cuts"), which is the measured pre-existing state. Lane: hermes-wallet-exercise
There was a problem hiding this comment.
🔵 Needs a closer look
There are a couple of newly introduced documentation inconsistencies (bundle/cut references and schema count text) that should be corrected before merge.
Review details
Suppressed comments (2)
contracts/README.md:124
- This clearing-family row now describes six record kinds and a seventh manifest row, but it still says "All five schemas" carry per-file sha256. With
deliberation-return.schema.yamladded, this should be "All six schemas" (plus the registry instance).
| [`clearing/`](clearing/README.md) — six record kinds (sealed bundle manifest, permitted-operations register as SCHEMA PLUS ITS ONE CLOSED INSTANCE, operation report, DELIBERATION RETURN, clearing dispatch record, single-door attestation) | **REGISTERED at `contract-v3.3`** (`add-clearing-dispatch-boundary` task 6.8; ratified 2026-09-01 by Brett Heap, merged as PR #555 squash `ab0bb2dd`), as MODIFIED by `add-cpc-clearing-boundary` (merged `c0270d28`). All five schemas AND the registry instance carry per-file `sha256` in [`manifest.yaml`](manifest.yaml); the number was fresh-counted at the cut, the two cuts the packet named as ahead of it having since resolved (`add-chain-attestation` carried at `contract-v3.0`, `add-chain-anchoring` unlanded). **REGISTRATION IS NOT ENFORCEMENT**: these are the shapes a clearing implementation validates, records and attests with, and the boundary is enforced by the clearing repository's own workflow — `opensoft/xFactory`'s `clearing-dispatch.yml` (PR #191, squash `95f1a9c6`), which today validates its operation id against its own literal choice list and, per the packet's task 3.7, MUST move to this registry instance now that it exists. The boundary: work reaches a governed execution host ONLY as a sealed bounded request carrying TEN declared fields with an expiry and a byte hash per selected file; field (10) is a REQUIRED ORIGIN SIGNATURE where the originating repository holds an active row in [`governance/factory-identity/`](../governance/factory-identity/README.md) and trusted hosted-workflow provenance only where it does not, so registering an identity TIGHTENS a producer and never loosens one; the policy-checked fields are RESOLVED FROM the register rather than read from the bundle, and a disagreement refuses on NEITHER value; the permitted-operations register is CLOSED at TWO members — `readiness-diagnostic` and, since 2026-09-04, `deliberation` — and adding an operation is a governed contract change rather than a workflow edit; the operation report is COMPOSED evidence with its lanes typed as DECLARED, a name-allowlisted environment echo and NO eligibility verdict; the ledger records cleared dispatches AND refusals in one shape, keeping the provider-verified, policy-checked and origin-signature outcomes apart and carrying workspace-disposal evidence as a field; and the single-door attestation computes its expected set PER GROUP, keeping a WIDENING, a DARK LANE and CONVERGENCE-NOT-YET-REACHED as three distinct findings. NO SECOND VOCABULARY: the digest is `signed-execution-chain`'s `xfc-jcs-sha256-1`, whose closed `digest_subject` enumeration gained ONE member, `sealed_bundle_manifest`, as a tranche-3 widening of SUBJECTS. **EXTENDED AT REALIZATION, 2026-09-04, BY `admit-deliberation-clearing-operation`** (ratified by Brett Heap, PR #645, merged `3cf917b7`), which admits `deliberation` as register ENTRY NUMBER TWO — a bundle-carrying, evidence-only operation on the ARTIFACT LANE ONLY, `checks_out_code`/`writes`/`may_reference_secrets`/`repository_affecting_output` all false, `token_scopes` exactly `[actions:read]`, `data_handling` `internal-governance`, holding NO key of any kind because the return is signed ON RETURN by the originating repository. It adds a SEVENTH registered row, the neutral [`deliberation-return.schema.yaml`](clearing/deliberation-return.schema.yaml) (kind `xfactory_clearing_deliberation_return`, ruled a new neutral schema rather than a producer-owned path), and carries the dispatch record's CLOSED refusal enumeration from two members to five — `lane_not_permitted`, `output_schema_failure`, `origin_scoped_credential`, each named in ratified text and rendered by a rule the schema now writes down. THOSE ROWS RESERVE NO BUNDLE NUMBER: they are registered at realization and the next additive minor is the cutting session's, per the versioning policy's rule that a change must not reserve a minor before merge order is known | `add-clearing-dispatch-boundary` + `admit-deliberation-clearing-operation` |
contracts/clearing/permitted-operations.registry.yaml:15
- The header comment says entry #2 was "registered at contract-v3.4", but this PR explicitly avoids reserving/cutting a bundle number and registers the entry at realization. Leaving a specific
contract-v3.4reference here contradicts the surrounding text and the manifest-row form used elsewhere in this PR.
# the realization of the ratified change `admit-deliberation-clearing-operation`
# (PR #645, merged `3cf917b7`; ratified 2026-09-04 by Brett Heap, record
# `openspec/changes/admit-deliberation-clearing-operation/review/ratification-2026-09-04.md`),
# same capability, requirement "deliberation is register entry number two and
# returns evidence only"; tasks.md 2.1, registered at contract-v3.4.
- Files reviewed: 29/29 changed files
- Comments generated: 0 new
- Review effort level: Lite
…d the index's schema count The register instance's own header said the entry was "registered at contract-v3.4", which was written before the measurement that found row 4 held by lane `repo-shape` on the owner's word. It reserves no number, and now says so — with the reason, so a later reader does not read the absence as an oversight. The row digest moves with those bytes. contracts/README.md's clearing row still said "all five schemas AND the registry instance carry per-file sha256". It is six: five at the contract-v3.3 cut and the sixth at realization, stated that way rather than as a bare number, because the two arrived under different acts. Lane: hermes-wallet-exercise
There was a problem hiding this comment.
🟢 Approval recommended
The contract, validator routing/scan changes, manifest updates, and CI/test pins appear internally consistent and are backed by explicit, targeted pytest coverage in the same change.
Review details
- Files reviewed: 29/29 changed files
- Comments generated: 0 new
- Review effort level: Lite
There was a problem hiding this comment.
Hi @brettheap! 👋
Your private repo does not have access to Sourcery.
Please upgrade to continue using Sourcery ✨
|
Lane: hermes-wallet-exercise @codex review |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
The module docstring enumerated the five kinds by name and the repo-scan section said "one of the five family kinds". Both were true until this slice routed `xfactory_clearing_deliberation_return`, and a canonical reader whose first paragraph undercounts what it reads is the kind of stale self-description the routing row exists to make impossible elsewhere. Lane: hermes-wallet-exercise
There was a problem hiding this comment.
🔵 Needs a closer look
A couple of newly-updated invariants aren’t consistently pinned/documented (notably an outdated refusal-ground enum comment in a shipped example, and a too-loose test assertion for the chosen timeout_minutes value).
Review details
Suppressed comments (2)
Previously missed (1) — in code that hasn't changed since the last review.
tests/clearing/test_register_closure.py:198
timeout_minutesis only asserted as “bounded”, but this realization picks a specific value (120) and the registry text treats raising it as a reviewed widening. Pinning the exact value here prevents an accidental change from silently widening the operation while still satisfying the schema bounds.
contracts/clearing/examples/dispatch-record-refused.example.yaml:21
- The comment still says the refusal-ground enum has “exactly two members today”, but
dispatch-record.schema.yamlnow admits three additional grounds (enum size 5). This example should describe the current closed-enum state so readers don’t get misled while auditing fixtures.
# THE GROUND COMES FROM THE CLOSED ENUMERATION. `unregistered_operation` is one
# of exactly two members today, and the other is `unknown_lane_selector`. Those
# two are what the current realization can actually emit. Nine further grounds
# are named in the requirement text and none of them is here, because a closed
# enumeration seeded with grounds no implementation can produce is closed in name
- Files reviewed: 29/29 changed files
- Comments generated: 0 new
- Review effort level: Lite
selected=9538 passed=9517 skipped=21 failures=0 errors=0 — the exact-skip pin held at 21 and both floors cleared with margin. Lane: hermes-wallet-exercise
|
Lane: hermes-wallet-exercise All seven required checks GREEN at
|
| check | result | |
|---|---|---|
clearing-dispatch-gate |
pass | 32s |
pytest-suite |
pass | 18m14s |
signed-execution-chain-gate |
pass | 1m14s |
wallet-validation |
pass | 29s |
merge-master-approval |
pass | 25s |
openreposhape-pin |
pass | 8s |
lane-line |
pass | 3s |
pytest-suite's own numbers: selected=9538 passed=9517 skipped=21 failures=0 errors=0, floors cleared with margin 2448 / 2447, and the exact-skip pin held at 21 — this slice adds assertions, not skips, so neither the pin nor the floors move.
clearing-dispatch-gate is the one that proves the slice: its positive assertions require the reader to have printed permitted-operations register read: … (2 registered operations) — the literal that only a governed contract change may move — alongside N/N closed refusal codes red-proven, still 26/26.
The head has since advanced to fb6229c0, which ticks T037 in the feature packet and changes one markdown checkbox and nothing else; the checks are re-running against it.
Locally, in addition
python3 scripts/validate-clearing-dispatch.py .— 0 errors, 0 warnings; 7 positives, 28 negatives, 26/26 red-provenOPENSPEC_TELEMETRY=0 openspec validate --all --strict— 90 passed, 0 failedpython3 scripts/proposal-support.py . verify— ok- doc-health single-repo — no
criticalorerrorfinding names a path this PR moves;release-inventory-driftreports two INFO lines on editorial members ("expected between cuts"), identical to the base - each of the FIVE frozen copies and the THREE pinned numerals reverted ALONE and observed RED, tabulated in
openspec/changes/admit-deliberation-clearing-operation/tasks.md§ "Task 2.6 evidence"
Two things for the ratifier, neither decided silently
- The contract cut is NOT taken.
contract-v3.4is held by lanerepo-shapeon Brett's word (issue Shared substrates — claims #630 row 4, 12:40Z, FIFO under Amendment 1 rule 7), so this PR registers rows and reserves no number —contract_bundle_versionunmoved, no changelog entry, no release inventory. The ratifiedtasks.mdPhase 3 stays OPEN and item 3.1 now records why. Notice posted at Shared substrates — claims #630 (comment), with the measurement a cutting session needs. - The producer's "four bound values" are three here. codexFactory Ratify align-doxbench-contract-pin-to-publisher, and correct its release axis #165 references four but itemizes none; only
bundle_digest,subject_pinandconvening_job_idare named by identifier anywhere in that packet, and the ratified openxFactory requirement names exactly those three. The schema binds three. If a fourth must travel in the NEUTRAL return, that is an amendment to this entry's declared output schema and owes its own governed change —specs/029-admit-deliberation-realization/research.md§ O2.
Everything else the ratified text left silent is in that file under OPEN POINTS, each with the conservative reading taken and its source.
Not merging. @codex review requested at the ready transition.
|
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.
🔵 Needs a closer look
A new spec task file introduces a host-absolute-style path (/specs/...) that conflicts with the repository constitution’s “no host-absolute paths” rule.
Review details
Suppressed comments (1)
specs/029-admit-deliberation-realization/tasks.md:3
- This line uses a leading-slash path (
/specs/...), which is host-absolute in Unix semantics and conflicts with the constitution rule that committed files must not contain host-absolute paths. Use a repo-relative path (no leading/) instead.
**Input**: Design documents from `/specs/029-admit-deliberation-realization/`
- Files reviewed: 29/29 changed files
- Comments generated: 0 new
- Review effort level: Lite
|
Lane: hermes-wallet-exercise LANDING #652 — lane hermes-wallet-exercise, session 45aa0e5f-e855-4bd3-bed3-5b4275dc70f9, 2026-09-04T18:05Z. Head |
|
Lane: hermes-wallet-exercise LANDED #652 — merge commit |
…choring reaches its first bundle with the readiness amendment already in it, deliberation becomes clearing entry two, and the openRepoShape pin advances The 14:50Z ruling HELD the first candidate (422474e) until amend-chain-anchoring-readiness-and-durability's follow-on pass was on main. It landed as #657 (e65dcc4, 18:25:33Z), so this integrates origin/main (a858e5b) and re-cuts the whole release surface over it. The resulting tree is EXACTLY the tree of the rebase this cut would have pushed; the integration is a merge rather than a rebase because org ruleset 8981805 forbids non-fast-forward on every branch, and lane openxfactory-1d's cross-lane notice on #653 asked for a merge for that reason. The release surface is re-derived here in one act and the inventory is BUILT LAST over the merged tree. Class ADDITIVE (minor), MEASURED at this candidate: 187 additions and 15 modifications under contracts/ since contract-v3.3, every path attributed to its PR and lane in the changelog entry. Every edit to a schema PUBLISHED at contract-v3.3 was checked for narrowing individually and every one WIDENS: digest_subject by seventeen subjects across two commits, leaf_type by twelve members plus one optional anchor_event block, dispatch-record's refusal_ground from two members to five, the permitted-operations register from one member to two. The one REPLACED enumeration — anchor-state's per-witness status, from [in_flight, landed, terminally_failed] to [pending, submitted, confirmed, invalid, unevaluable, terminally_failed] — is inside a schema no tagged bundle has ever carried (git tag --contains 11feff7 is empty; contract-v3.3.digests.yaml holds zero contracts/chain-anchoring/ rows), so it narrows nothing published. That is exactly what the owner's ordering sentence was protecting: "must land BEFORE those schemas ship in a tagged bundle, or the enum change becomes a breaking change on a published bundle." Inventory BUILT LAST by scripts/validate-contract-release.py build, after every other edit was final; no digest hand-edited anywhere. 283 members in both inventories, membership unchanged, four digests move and all four are editorial: manifest.yaml, CHANGELOG.md, README.md, tests/intent-compliance/test_release_boundary.py. Two of them had already moved on main before this cut touched them, which is the whole content of the pre-cut red at a858e5b (README.md and manifest.yaml, and nothing else). Six files against origin/main: the rewritten changelog entry; contract_bundle_version contract-v3.3 -> contract-v3.4 (the version line only); the two chain-anchoring contract-index rows in contracts/README.md, re-measured for eighteen schemas and kept alongside #652's rewritten clearing rows; FEATURE_SUCCESSOR_8 plus its by-hand membership statement re-measured at the new base (the moved editorial rows are now TWO, not one); the repaired clearing guard, composed with #652's per-row REGISTRATION map so both intents survive; and the rebuilt inventory. Lane: repo-shape Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_015WekBEXf55Xv64psGe5t3T
…e act held on #555's ordering (#721) * admit-deliberation-clearing-operation: tick the realized rows; archive act held on #555's ordering Verifies and ticks 1.7, 3.1, 3.2, 3.3, 4.1, 4.2, 4.2a, 4.3, 5.1 against live evidence (codexFactory tasks.md, openxFactory issue #630, tag contract-v3.4, xFactory issue #244, PR #652, the clearing-dispatch-gate and pytest/validator runs). Leaves 3.4 open (the release-digest inventory is scoped to contracts/hermes-runtime/ and has never listed the clearing family, so the specific "lists the new schema" evidence could not be confirmed). Leaves 5.2 open with a dated HELD note (add-clearing-dispatch-boundary / #555 is still active) and 5.3 open (runs at archive). Does NOT run `openspec archive`. Lane: hermes-wallet-exercise * admit-deliberation-clearing-operation: tick 3.4 on the row's own wording; file the digest-inventory scope gap separately Row 3.4 requires only that contracts/releases/contract-v3.4.digests.yaml exists at the tag, that contract-v3.4 is an annotated tag at the landed sha 807a4f4, and that manifest version / changelog heading / tag agree - not that the clearing schema appear in the digests inventory. All five checked facts agree. The scope mismatch (release-digest inventory covers only contracts/hermes-runtime/, never contracts/clearing/, by design in scripts/hermes_runtime_validation/release.py's FAMILY_PREFIX) is filed as openxFactory issue #722 and referenced in the row's note. Lane: hermes-wallet-exercise
Lane: hermes-wallet-exercise
REALIZATION of
admit-deliberation-clearing-operation— Speckit feature029-admit-deliberation-realizationAuthority
admit-deliberation-clearing-operation22afb198openspec/changes/admit-deliberation-clearing-operation/review/ratification-2026-09-04.md3cf917b7tasks.mdPhase 2 (2.1 – 2.11), all eleven now ticked with the sha that realized eachRatification authorizes realization; it does not perform it. No contract byte
moved in #645. They move here, once. This PR authors no requirement and adds no
spec delta.
contract-v3.4IS ANOTHER LANE'SThis is the one place the plan changed on measurement, and it is flagged rather
than absorbed.
On merge order alone the next additive minor would be
contract-v3.4(
git tag -lends atcontract-v3.3;main's manifest still declares it). It isclaimed: openxFactory issue #630 row 4,
comment of 2026-09-04T12:40:25Z,
lane
repo-shape, on Brett Heap's word in session — verbatim "cutcontract-v3.4" — 25 minutes before this lane's own realization claim, and
Lane Collision Protocol Amendment 1 rule 7 serializes contract-cut claims FIFO.
Its object (the openRepoShape pin) has since landed as #650 with the cut still to
come.
So this PR registers rows and reserves no number:
contract_bundle_versionis not moved — stillcontract-v3.3;contracts/CHANGELOG.mdentry (one entry per RELEASE; this allocatesnone);
contracts/releases/<tag>.digests.yaml(an inventory names a bundle, andnaming one reserves it);
admit-deliberation-clearing-operation… the bundle number is the cuttingsession's and is not reserved here."
That is this repository's own established form, not an invention: the twelve
contracts/chain-anchoring/rows already onmaincarry the identical sentence,add-chain-attestationsplit the same way (#556 rows, #565 cut), anddocs/contract-versioning-policy.mdforbids reserving a minor before merge orderis known. The ratified
tasks.mdPhase 3 therefore stays OPEN, and item 3.1now records why.
Measured for whoever cuts next, so it is not re-derived (research.md § O8):
git diff --name-status contract-v3.3 HEAD -- contracts/is 119 additions and 6modifications, of which nine are this change's and 110 are
add-chain-anchoring's (registered at realization, changelog expressly left to"the cutting session's act"), plus the
signed-execution-chaintranche-threefiles and the two
review-lane-*files. Named so a reader does not attribute themto this change — the same courtesy the
contract-v3.3entry paid.No release-inventory drift is created. All 283 members of
contracts/releases/contract-v3.3.digests.yamlwere re-hashed at this head: onediffers,
contracts/manifest.yaml, which doc-health classes EDITORIAL and reportsat INFO — identically to the base.
What landed
Entry number two —
contracts/clearing/permitted-operations.registry.yaml,registry_version1 → 2. Every ratified fact:checks_out_code/writes/may_reference_secrets/repository_affecting_outputall false;token_scopesexactly[actions:read](credential-contracts' spelling;metadata:readdeliberately absent); a boundedtimeout_minutesof 120,stated as a BOUND and not a budget;
worker_profile: council-deliberation-worker; THE ARTIFACT LANE AND ONLY THE ARTIFACT LANE;data_handling: internal-governance. Entry one is untouched and pinned asuntouched.
The new neutral schema —
contracts/clearing/deliberation-return.schema.yaml,kind
xfactory_clearing_deliberation_return(ratified text, not chosen here,because the verdict scan is dispatched on kind). Carries
seats, keyed by seatidentity so a duplicate is unrepresentable, each with that seat's output as a
tagged union of an inline string payload or a reference plus a required byte hash;
and
binding— all three ofconvening_job_id,verified_subject_pin,inbound_bundle_digest. No signature member (no key is ever on the host), nooutcome, no verdict-shaped member at any depth. The seat's output is opaque:
the producer's per-seat accounting travels inside the payload rather than becoming
a neutral member, which is design D4's refusal applied from the other side.
The verdict scan reaches the new kind —
check_no_verdictis EXTRACTED andcalled from both check paths rather than copied.
REFUSAL_CODESis unchanged at26; the shape fixture declares the family's non-member
schema.Three refusal grounds —
$defs.refusal_ground.enum2 → 5, and the RENDERINGRULE is written into the schema's own description so the six that remain land on
the same answer.
The fixtures re-point to
coding, comments rewritten, andtest_deliberation_is_refused_by_name→test_coding_is_refused_by_name.The five frozen copies (design D9) — each proven RED alone
scripts/validate-clearing-dispatch.pyRATIFIED_OPERATIONSclearing-register-member-unratifiedtests/clearing/test_register_closure.pyRATIFIED(independent).github/workflows/clearing-dispatch-gate.ymlliteral greptests/clearing/test_clearing_gate_wiring.py, pinning (d) from a second filePlus the three pinned numerals: schema list five → six, manifest rows six → seven,
and the moved row digests — each RED alone.
(d) is recorded twice on purpose. Its first revert did NOT go red, because the
literal is written with the parentheses escaped for
grep -Eand a revertsearching the unescaped form silently changed nothing. A copy "proven" by an edit
that never landed is exactly design D12's miss; it was caught by re-reading the
file rather than trusting the revert's exit code.
Checks run locally
python3 scripts/validate-clearing-dispatch.py .— 0 errors, 0 warnings;2 registered operations; 7 positives, 28 negatives, 26/26 red-provenpython3 -m pytest tests/ -q -m "not postgres"— full suiteOPENSPEC_TELEMETRY=0 openspec validate --all --strict— 90 passed, 0 failedpython3 scripts/proposal-support.py . verify— okfeature moved
What this PR does NOT do
No
opensoft/xFactorybyte and noopensoft/codexFactorybyte. Nodeliberationhost job, no route retirement of
council-deliberation-worker.yml, noattestation-fixture refresh, no
codingoperation, no hosted finalizer, no seatkey moved or minted, no contract cut and no tag, no archive.
🤖 Generated with Claude Code