Repository navigation
Proposal: the CPC clearing boundary and factory origin keys (neutral contract) - #560
Conversation
…contract) The neutral half of the operator ruling of 2026-09-01 (Brett Heap), recorded in `cpc-clearing-boundary-ruling-2026-09-01.md` and on codexFactory issue #156 with its same-day extension comment. The ruling refused the obvious shape — authorize an originating factory's repository at another estate's execution surface — and commissioned the inverse as governed design. This packet is that design's domain-neutral contract; the estate and factory realizations are named as dependent work, not authored here. ADDS two capabilities. `clearing-boundary` (11 requirements): work crosses into an execution estate only as a sealed bounded request admitted at a single clearing boundary; the manifest field set is enumerated and a missing field is a refusal; provenance is verified against the hosting platform's authoritative API with bundle fields treated as untrusted input, conjunctively with origin-signature verification so neither substitutes for the other; a job id clears once, expires, and binds to one dispatch label; the carrier is a short-lived sealed job object, never a committed folder; the execution target receives only the bundle — no clone, no repository credential, no attestation key — recomputes the digest and every per-file hash before executing, and proves its workspace wipe on every terminal state; the sealed return validates against its declared output schema on hosted infrastructure before it may affect any repository; attestation is sign-on-return on the originating factory's hosted infrastructure after the return verifies; every decision is audited at the one place that is also the throttle and the emergency stop; and readiness becomes the clearing lane's first operation, converging the authorization surface to one permanent entry per execution group. `factory-origin-identity` (7 requirements): one Ed25519 origin key per originating factory, public half registered in a new `governance/ factory-identity/` register that is a SIBLING of the review-authority intake register rather than an extension of it (design D1) — chiefly because the ruling's act-distinctness requirement becomes structural across two registers read by two readers, where inside one file it would be a field predicate one mistyped `act:` from collapse. Private half custodied in the factory's hosted packaging environment, declared and attested from the closed custody registry; revocation under the ratified wallet lifecycle, re-checked at clearing rather than trusted from an admission stamp, with a stale or unreadable projection refusing rather than proceeding; and the register a permanently human-only surface entered into gate floors by name. Three questions are recorded open, not guessed: the projection path by which the register reaches a clearing workflow (OQ1, four shapes sketched), whether `neutral-job-envelope` carries or references the bundle manifest (OQ2), and who teaches the intake reader to refuse an origin-registered key (OQ3). No register row, key, workflow, or authorization entry is created here. `openspec validate add-cpc-clearing-boundary --strict`: valid, zero issues. `openspec validate --all --strict`: 83 passed, 0 failed. `proposal-support.py . verify`: ok. doc-health proposal-origin, status-validity, location-conformance: no findings. Co-Authored-By: Claude Fable 5 <[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 ✨
There was a problem hiding this comment.
Pull request overview
Adds a new draft OpenSpec change packet proposing a neutral “clearing boundary” model for cross-estate execution and a sibling “factory origin identity” register concept (per-factory Ed25519 origin keys), along with the corresponding README index entry.
Changes:
- Add draft proposal + design + task plan for
add-cpc-clearing-boundary. - Add two new spec-delta documents:
clearing-boundaryandfactory-origin-identity. - Update the README “OpenSpec Records” Active changes list to include the new change.
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| README.md | Adds an Active changes index entry for the new proposal packet. |
| openspec/changes/add-cpc-clearing-boundary/.openspec.yaml | Declares the packet’s machine-readable origin and approval-to-author metadata. |
| openspec/changes/add-cpc-clearing-boundary/proposal.md | Draft proposal describing motivation, new capabilities, and impact/dependencies. |
| openspec/changes/add-cpc-clearing-boundary/design.md | Design decisions (D1–D8) and open questions (OQ1–OQ3) for the proposal. |
| openspec/changes/add-cpc-clearing-boundary/tasks.md | Draft task breakdown: contract work in this repo vs dependent realizations elsewhere. |
| openspec/changes/add-cpc-clearing-boundary/specs/clearing-boundary/spec.md | Spec delta defining requirements/scenarios for sealed bounded requests and clearing. |
| openspec/changes/add-cpc-clearing-boundary/specs/factory-origin-identity/spec.md | Spec delta defining requirements/scenarios for per-factory origin keys and governance register constraints. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| - [add-cpc-clearing-boundary](openspec/changes/add-cpc-clearing-boundary/proposal.md) | ||
| — authored 2026-09-01 for the operator ruling of the same day (recorded in the | ||
| operator workspace as `cpc-clearing-boundary-ruling-2026-09-01.md` and on | ||
| `opensoft/codexFactory` issue #156, with its same-day extension comment), which | ||
| REFUSED the obvious shape — authorize an originating factory's repository at |
…ch-boundary Adversarial review: NOT READY. The first draft did not know `add-clearing-dispatch-boundary` existed — RATIFIED 2026-09-01, ten requirements from the same operator ruling, realization live on xFactory main — and re-authored roughly seven of them in divergent vocabulary. Re-scoped to the measured delta. A-1 The capability `clearing-boundary` is withdrawn. This packet now writes a `## MODIFIED Requirements` block over `clearing-dispatch-boundary`, carrying exactly one `Modified over` marker per the ratified `govern-sibling-added-modified-deltas` form. Both modified requirements are carried VERBATIM from the ratified text with additions marked in place and every original scenario retained. `.openspec.yaml` records the corrected duplicate check — active changes and recent ratifications, not the promoted index alone — and says why the promoted-only check missed it. A-2 No eleventh field. The manifest stays the basis's TEN; the standalone bundle digest is gone; the signature is computed with the one construction `signed-execution-chain` already puts in force. OQ2 resolved to REFERENCE, so no manifest schema is added and no bundle is cut. A-3 Policy-checked fields are RESOLVED FROM the closed permitted-operations register, never read from the bundle; the register governs on disagreement. `deliberation` is named as a future governed register addition (codexFactory #165's task), not assumed. A-4/A-5 Re-seal, dispatch-credential scoping, grandfather enumeration and convergence are the basis's and are cited, not re-authored. D11 records why no transition requirement was written: the basis already ratifies the append-never/shrink-only enumeration AND that convergence is terminal, not an entry condition. A-6 Act distinctness ships as a CHECKED DISJOINTNESS RULE (no shared key_id, did, or fingerprint across the two register families). The read-time refusal is declared NOT YET IN FORCE — the pinned openXwallet reader indexes every wallet record in the tree into one context — with a scenario refusing the premature claim and the reader scoping named as an openXwallet task. A-7 `factory-origin-identity` declares its OWN staleness bound and ceiling; at-clearing revocation is declared unrealizable until OQ1 resolves, with a scenario refusing any claim that it is effective. A-8/9/10 Impact map corrected: `review-authority-intake` is an ADDED delta on an active change, not a promoted capability, and `specs/014-register-and-reader` is a Speckit dir. Unenforceable SHALLs rewritten or dropped — wipe evidence is now a field of the dispatch record the basis already attests; the re-mint and single-door claims are gone. The sibling register declares `holder_class: organisation`, inherits no seat-council spelling or seat_keys block, and task 2.7 names codexFactory's exact-set floor file as a same-act dependency. Sign-on-return and workspace disposal are ADDED to the capability: the basis has no counterpart to either. Known transient: `modified-block-currency` emits two contested WARNINGS because the ratified basis is unmerged and absent from this tree, so the pairing arm cannot resolve. Cited in tasks 1.9 rather than dispositioned; clears when #555 merges. `openspec validate add-cpc-clearing-boundary --strict`: valid, zero issues. `--all --strict`: 84 passed, 0 failed. `proposal-support.py verify`: ok. doc-health proposal-origin, status-validity, location-conformance, modified-block-currency, promotion-fidelity: exit 0, no error or critical. Co-Authored-By: Claude Fable 5 <[email protected]>
There was a problem hiding this comment.
🟡 Changes recommended
There are a few concrete spec/tasks inconsistencies and a recorded verification command that should be corrected before merging.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Review details
- Files reviewed: 7/7 changed files
- Comments generated: 3
- Review effort level: Lite
| repository in the neutral factory-identity register, field (10) SHALL be an | ||
| ORIGIN SIGNATURE made by that identity over the manifest, and trusted | ||
| hosted-workflow provenance alone SHALL NOT satisfy it. Where no origin identity |
| - [ ] 2.1 NEW `governance/factory-identity/register.yaml` — `register_version`, | ||
| its OWN declared revocation staleness bound and ceiling, and `rows` | ||
| carrying holder reference, wallet reference, act, authority tier, grant | ||
| reference, expiry, and state. Deliberately kindless per D3; record D3's |
| - [x] 1.7 `openspec validate add-cpc-clearing-boundary --strict` and | ||
| `--all --strict` green; `proposal-support.py . verify` ok; doc-health | ||
| families green. |
…t, inbound re-seal 1. Merge-order trap. #555 MERGES FIRST, now stated in proposal.md § Standing, design.md Risks and the README entry: if this packet led, its two contested `modified-block-currency` warnings would enter the nightly baseline and #555 landing would resolve them uncited, which `report.py` re-emits as two ERRORs. The belt is two disposition rows keyed (family, repo, path) — but `health/dispositions.yaml` is read from `ctx.agg_root`, ALREADY EXISTS, and is tracked in the `opensoft/xFactory` AGGREGATION repo, not here. It cannot be added from this PR. Recorded as tasks § 1.10 with the exact rows, and as the cross-repo task § 5.3; the aggregation-side PR carries the rows themselves. 2. Digest rule. `digest-construction.schema.yaml` closes `digest_subject` at seventeen members with none for a request, return, or bundle manifest, and `xfc-jcs-sha256-1` is JCS over JSON values, not file bytes. The spec now names TWO constructions so neither reads as a new one: the manifest takes the canonical JSON construction and needs a TRANCHE-3 widening of SUBJECTS (never a second construction — the one way that file says it is meant to move) before the requirement is realizable, and is reported UNREALIZABLE until it lands; per-file content hashes are plain algorithm-tagged SHA-256 over BYTES, canonical JSON having nothing to canonicalize in a byte stream. Two scenarios added; the widening is tasks § 2.9, the no-op confirmation § 2.10; design D12. 3. Tier alignment. Tasks § 2.1 drops the `authority tier` row field the spec's row enumeration never named — the authority cap is a property of the grant and its custody attestation, not a column of the register — and says so. 4. Inbound re-seal. The basis's re-seal is outbound-only and codexFactory #165 takes the return path "by symmetry", which is not a requirement. ADDS "Returned output is re-served to the originator from the clearing side's own sealed object" with three scenarios: the originator never fetches an artifact belonging to the execution host's run and holds no credential scoped to the estate, because it would reintroduce on the return path exactly the reach the outbound rule removes. Preferred over an OQ, per review; design D13. The capability now carries 2 MODIFIED + 3 ADDED requirements. `openspec validate add-cpc-clearing-boundary --strict`: valid, zero issues. `--all --strict`: 84 passed, 0 failed. `proposal-support.py verify`: ok. doc-health proposal-origin, status-validity, location-conformance, modified-block-currency, promotion-fidelity: exit 0. Co-Authored-By: Claude Fable 5 <[email protected]>
There was a problem hiding this comment.
🟡 Changes recommended
There are verified internal inconsistencies/formatting issues in the newly added packet documents (tasks/spec/README) that should be corrected before merge.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Review details
Suppressed comments (3)
Previously missed (1) — in code that hasn't changed since the last review.
openspec/changes/add-cpc-clearing-boundary/tasks.md:22
- Task 1.2 says the design covers “D1 … D11”, but
design.mdin this change includes decisions through D13 (e.g., D12 and D13). This makes the task list inaccurate and harder to use as an index.
This issue also appears on line 29 of the same file.
openspec/changes/add-cpc-clearing-boundary/tasks.md:30
- Task 1.3 states there are “two ADDED requirements”, but
specs/clearing-dispatch-boundary/spec.mdadds three requirements (result attestation/sign-on-return, inbound re-seal of the return, and workspace-disposal evidence). The task summary should match the spec delta contents.
tail its form requires; plus two ADDED requirements (sign-on-return,
workspace-disposal evidence) the basis has no counterpart to.
openspec/changes/add-cpc-clearing-boundary/tasks.md:45
- Task 1.7’s
proposal-support.pyinvocation is incomplete/ambiguous (missing the canonicalscripts/path, Python invocation, and the change id). Elsewhere in the repo tasks typically usepython3 scripts/proposal-support.py . verify <change>so the command is copy/pasteable.
- [x] 1.7 `openspec validate add-cpc-clearing-boundary --strict` and
`--all --strict` green; `proposal-support.py . verify` ok; doc-health
families green.
- Files reviewed: 7/7 changed files
- Comments generated: 2
- Review effort level: Lite
| Hashes and any bundle digest SHALL be computed with the ONE digest | ||
| construction `signed-execution-chain` already puts in force, and the sealed | ||
| request SHALL NOT define a second job-envelope, handling-classification, or | ||
| digest vocabulary; it seals a job expressed in existing vocabulary. |
| it lands, while per-file content hashes are plain algorithm-tagged SHA-256 over BYTES. | ||
| ADDS | ||
| the capability `factory-origin-identity` (six requirements): one Ed25519 origin | ||
| identity per originating repository in a NEW `governance/factory-identity/` register |
1. BLOCKING marker placement. The `Modified over` paragraph sat at SECTION level, under `## MODIFIED Requirements`. `govern-sibling-added-modified-deltas` requires it PER REQUIREMENT: a section-level paragraph leaves every requirement in the block declaring nothing, and the pairing arm reports each as carrying no marker of the reserved form. Each MODIFIED requirement now carries its own marker inside its own body, placed after the opening sentence so the SHALL stays on line one, each with the reason specific to its own addition. The "single marker" claim is corrected in proposal.md, design.md D4, tasks § 1.3 and the README entry. PROVEN BOTH WAYS. With #555's change dir staged into the tree, `modified-block-currency` reports 0 critical / 0 error / 0 WARNING. With it removed, exactly three warnings — one per MODIFIED requirement — which is the absent-basis condition, not a marker defect. 2. The attestation extension is now DECLARED. ADDED requirement 3 made disposal evidence a field of the dispatch record and then had the periodic attestation report a missing one — an extension of a ratified requirement written from outside it, which is the undeclared coupling the sibling-delta rules exist to catch. Preferred option taken: the basis's "Every dispatch is recorded, and the single door is attested rather than assumed" gets its own MODIFIED block, its own marker, and one added paragraph widening what the attestation READS by one field and nothing about what it AUTHORIZES. Design D14; tasks § 1.11. The alternative — narrowing ADDED 3 — was rejected: an evidence field nothing reads is not evidence. The capability now carries 3 MODIFIED + 3 ADDED. Byte-additivity re-measured across all three MODIFIED blocks: 177 basis units, 0 lost. 3. Warning count moves 2 -> 3 with the third MODIFIED block, so the aggregation repo needs a THIRD disposition row; tasks § 1.10 and § 5.3, proposal § Standing, design Risks and the README entry all corrected to three. `openspec validate add-cpc-clearing-boundary --strict`: valid, zero issues. `--all --strict`: 84 passed, 0 failed. `proposal-support.py verify`: ok. doc-health proposal-origin, status-validity, location-conformance, modified-block-currency, promotion-fidelity: exit 0. Co-Authored-By: Claude Fable 5 <[email protected]>
There was a problem hiding this comment.
🟡 Changes recommended
There are concrete internal-document inconsistencies (e.g., .openspec.yaml still states “two” modified requirements) plus minor README/tasks issues that should be corrected before merging.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Review details
Suppressed comments (1)
openspec/changes/add-cpc-clearing-boundary/.openspec.yaml:54
- This list of operator-input decisions says “which two of the ten requirements are modified”, but the packet modifies three requirements (and the rest of this packet consistently says three). Please update the count to avoid contradicting the proposal/spec.
EVERY DECISION BEYOND THOSE INPUTS WAS THE AUTHORING SESSION'S and is flagged
for veto — `design.md` D2 (the seat-council spelling is not inherited), D4
(which two of the ten requirements are modified, and the marker form), D5
(field (10) tightens only for a registered originator), D7 (policy-checked
- Files reviewed: 7/7 changed files
- Comments generated: 4
- Review effort level: Lite
| attestation by ONE FIELD — a dispatch record with no workspace-disposal evidence is | ||
| reported an UNATTESTED DISPOSAL — declared as a MODIFIED block rather than left as an |
| promoted index. On that basis the overlap is exactly `clearing-dispatch- | ||
| boundary`, and this packet is re-scoped to a two-requirement MODIFIED block | ||
| plus what the basis has no counterpart to. |
| **WHAT THIS PACKET NOW CONTAINS IS THE MEASURED DELTA.** The ruling's same-day | ||
| extension on issue #156 adds two things the ratified basis does not reach — a | ||
| registered per-repository ORIGIN KEY verified at clearing, and SIGN-ON-RETURN | ||
| attestation — and those are the only grounds on which this packet touches the | ||
| capability. THREE of the basis's ten requirements are MODIFIED, each carried |
| - [x] 1.11 **The attestation extension is DECLARED, not implicit.** The ADDED | ||
| workspace-disposal requirement makes disposal evidence a field of the | ||
| dispatch record and then has the periodic attestation read it — an | ||
| extension of a ratified requirement written from outside it, which is the | ||
| undeclared coupling `govern-sibling-added-modified-deltas` exists to catch. | ||
| The basis's attestation requirement therefore carries its own MODIFIED | ||
| block with its own marker (design D14), adding one field to what the | ||
| attestation READS and nothing to what it AUTHORIZES. | ||
| - [ ] 1.10 **MERGE ORDER, AND THE DISPOSITION ROWS THAT COVER IT.** | ||
| `add-clearing-dispatch-boundary` (#555) MERGES FIRST. If this packet | ||
| merged first, its three contested `modified-block-currency` warnings would | ||
| enter the nightly baseline, and #555 landing would resolve them — a | ||
| contested finding vanishing without a citation, which `report.py`'s | ||
| uncited-resolution rule re-emits as three ERRORs. Prose in § 1.9 is NOT a | ||
| recorded disposition: the matcher keys on `(family, repo, path)` in | ||
| `health/dispositions.yaml`. **That file lives at the AGGREGATION ROOT and | ||
| is tracked in the `opensoft/xFactory` aggregation repo, not here**, so the | ||
| three rows are a cross-repo act that cannot land in this PR: family | ||
| `modified-block-currency`, repo `openxFactory`, path | ||
| `openspec/changes/add-cpc-clearing-boundary/specs/clearing-dispatch-boundary/spec.md`, | ||
| one per MODIFIED requirement title, each citing `add-clearing-dispatch-boundary` | ||
| as the resolving change. Tracked as the aggregation-side task in § 5.3. |
…wording is now fact Catch-up merge of origin/main brings the ratified add-clearing-dispatch-boundary (#555, merged 2026-09-02T09:16Z) into this branch's tree. Re-validation confirms the three previously-contested modified-block-currency warnings on this packet's MODIFIED blocks are gone (0 warnings for this change; strict openspec validate, --all --strict, and proposal-support.py verify all clean). Update tasks §1.9/§1.10 and the proposal's Standing section from "#555 merges first" (condition) to "#555 merged 2026-09-02" (fact) — the merge order was honored. Co-Authored-By: Claude Fable 5 <[email protected]>
There was a problem hiding this comment.
🟡 Changes recommended
The new tasks.md has non-monotonic task numbering/order (e.g., 1.10 after 1.11, 2.8 after 2.10), which makes cross-references brittle and should be corrected before merge.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Review details
Suppressed comments (1)
openspec/changes/add-cpc-clearing-boundary/tasks.md:76
- Section 1 task numbering is non-monotonic (e.g., 1.10 appears after 1.11, and 1.8 is listed after both). This makes references like "tasks § 1.10" / "§ 1.11" brittle across proposal/design/README and harder to audit for completion; consider renumbering/reordering tasks so numbering is sequential and references stay stable.
- [ ] 1.10 **MERGE ORDER, AND THE DISPOSITION ROWS THAT COVER IT.**
`add-clearing-dispatch-boundary` (#555) MERGED 2026-09-02, FIRST as required. If this packet
merged first, its three contested `modified-block-currency` warnings would
enter the nightly baseline, and #555 landing would resolve them — a
contested finding vanishing without a citation, which `report.py`'s
- Files reviewed: 7/7 changed files
- Comments generated: 1
- Review effort level: Lite
| - [ ] 2.8 Confirm no `contracts/` artifact moves: OQ2 is resolved to REFERENCE, | ||
| no manifest schema is added, no bundle is cut, no digest set moves. |
Brett Heap (repository owner) ratified this packet in-session on 2026-09-02, verbatim: "Ratify + merge openxFactory #560". Unlike add-clearing-dispatch-boundary's ratification (#555), where ratify and merge were separate acts because #555's own merge was gated on an inherited pytest failure, Brett's word here carries both acts together: the ordering precondition (#555 merging first) already discharged on 2026-09-02, and this packet carries no code surface beyond the governance register family. Status: ratified, with the Ratified: line and record filed at review/ratification-2026-09-02.md. Ratifies 3 MODIFIED + 3 ADDED requirements over clearing-dispatch-boundary (the basis, #555, merged 2026-09-02T09:16Z at ab0bb2d first as required) and 6 ADDED requirements under the new capability factory-origin-identity -- the origin-key and sign-on-return rulings from codexFactory issue #156's 2026-09-01 same-day extension comment, and the register-home ruling (design D1, sibling governance/factory-identity/, confirmed by the operator). xFactory#201 (the disposition-row belt for the merge-order control) closed as unnecessary once that order held. Ratification authorizes realization (the register rows + disjointness validator + codexFactory floor entry as one act in this repo; xFactory's clearing origin-signature verification; codexFactory's packaging and sign-on-return via draft PR #165; openXwallet's reader scoping) and performs none of it. No contract byte moves with this act. OQ1 (projection transport), OQ3 (reader-side refusal owner), and the tranche-3 digest_subject widening remain open, carried rather than settled. openspec validate add-cpc-clearing-boundary --strict: valid, zero issues. --all --strict: 85 passed, 0 failed. proposal-support.py verify: ok. doc-health proposal-origin, status-validity, location-conformance, modified-block-currency, promotion-fidelity: exit 0, no findings tied to this change. Co-Authored-By: Claude Fable 5 <[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 ✨
Catch-up merge required to make #560 mergeable — GitHub reported CONFLICTING/DIRTY against main, which had advanced significantly since this branch's last catch-up (33fa2b5). Only README.md conflicted, both sides independently prepending a new "Active changes:" entry at the same list position (this branch's add-cpc-clearing-boundary ratification update; main's newly-landed declare-spent-bundle-state). Resolved by keeping both entries, declare-spent-bundle-state (authored 2026-09-02) first, followed by add-cpc-clearing-boundary, content of each otherwise untouched. Every other path auto-merged cleanly. Co-Authored-By: Claude Fable 5 <[email protected]>
There was a problem hiding this comment.
🟡 Changes recommended
Several newly added packet records contain internal inconsistencies/stale factual claims (status/tasking and “unmerged”/scope wording) that should be corrected to keep the governance artifacts self-consistent.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Review details
Suppressed comments (5)
openspec/changes/add-cpc-clearing-boundary/tasks.md:76
- This task still treats the merge-order “belt” dispositions as pending, but the review record/README already state
opensoft/xFactory#201was closed as unnecessary once #555 merged first. Mark this as completed (and remove the counterfactual wording) so the task list reflects the current ordering facts.
- [ ] 1.10 **MERGE ORDER, AND THE DISPOSITION ROWS THAT COVER IT.**
`add-clearing-dispatch-boundary` (#555) MERGED 2026-09-02, FIRST as required. If this packet
merged first, its three contested `modified-block-currency` warnings would
enter the nightly baseline, and #555 landing would resolve them — a
contested finding vanishing without a citation, which `report.py`'s
openspec/changes/add-cpc-clearing-boundary/tasks.md:196
- §5.3 still states the aggregation-repo disposition rows must land “before or with this packet’s merge”, but the ratification record says that work was closed as unnecessary once merge order held. Update this task to avoid implying there is still a required cross-repo action.
- [ ] 5.3 **xFactory aggregation repo** — add the three
`modified-block-currency` disposition rows described in § 1.10 to
`health/dispositions.yaml`, citing `add-clearing-dispatch-boundary`.
Landed before or with this packet's merge, never after.
openspec/changes/add-cpc-clearing-boundary/.openspec.yaml:31
.openspec.yamlsays the packet was re-scoped to a “two-requirement MODIFIED block”, but the spec delta in this PR has three MODIFIED requirements underclearing-dispatch-boundary. This should be corrected so the origin record matches the actual packet shape.
promoted index. On that basis the overlap is exactly `clearing-dispatch-
boundary`, and this packet is re-scoped to a two-requirement MODIFIED block
plus what the basis has no counterpart to.
openspec/changes/add-cpc-clearing-boundary/specs/clearing-dispatch-boundary/spec.md:167
- This
Modified overmarker still says the basis “is ratified but unmerged”, which is no longer true given the ordering facts recorded elsewhere in this packet. Drop the merge-state clause to keep the marker’s reason tail factually current.
**Modified over `add-clearing-dispatch-boundary`'s addition by add-cpc-clearing-boundary (2026-09-01):** — the basis ADDS this requirement and is ratified but unmerged; the same extension makes the origin signature a THIRD verification class, conjunctive with the provider resolution, and requires the policy-checked fields to be RESOLVED FROM the closed permitted-operations register rather than read from the bundle. The ratified text is carried verbatim and every original scenario retained; both additions tighten and neither loosens.
openspec/changes/add-cpc-clearing-boundary/specs/clearing-dispatch-boundary/spec.md:307
- This
Modified overmarker says the basis “is ratified but unmerged”, but this packet already records that #555 merged first. Removing the merge-state clause keeps the marker accurate without changing any normative intent.
**Modified over `add-clearing-dispatch-boundary`'s addition by add-cpc-clearing-boundary (2026-09-01):** — the basis ADDS this requirement and is ratified but unmerged; this packet's ADDED workspace-disposal requirement makes disposal evidence a field of the dispatch record THIS requirement governs, so the periodic attestation's read set grows by one field. Declared here rather than left as an implicit extension of a ratified requirement from outside it. The ratified text is carried verbatim, every original scenario retained, and nothing the attestation authorizes changes.
- Files reviewed: 8/8 changed files
- Comments generated: 3
- Review effort level: Lite
| NECESSARY. An earlier draft of this packet checked `openspec/specs/` for an | ||
| existing clearing capability, found none — because the basis is an ADDED | ||
| delta on an unmerged change, not a promoted capability — and re-authored |
| rule. One construction for JSON values and one byte hash for file content — | ||
| both already in use, neither invented here. | ||
|
|
||
| **Modified over `add-clearing-dispatch-boundary`'s addition by add-cpc-clearing-boundary (2026-09-01):** — the basis ADDS this requirement and is ratified but unmerged; the ruling's same-day extension on codexFactory issue #156 closes field (10)'s disjunction for an originating repository that holds a registered origin identity. The ratified text is carried verbatim and every original scenario retained; the addition is additive and introduces no eleventh field and no second digest vocabulary. |
| Status: draft | ||
| Proposed: 2026-09-01 |
There was a problem hiding this comment.
🟡 Changes recommended
The tasks ledger still describes the aggregation disposition “belt” work as required/open even though the PR’s own records state it was discharged/closed as unnecessary, leaving follow-up instructions internally inconsistent.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Review details
Suppressed comments (1)
openspec/changes/add-cpc-clearing-boundary/tasks.md:196
- Task 5.3 still instructs landing the three aggregation-root
modified-block-currencydispositions “before or with this packet’s merge”, but the README and ratification record explicitly say those rows were not needed because merge order held (xFactory#201 closed as unnecessary). This should be marked discharged or reworded as a conditional-only safeguard to avoid misleading follow-up work.
- [ ] 5.3 **xFactory aggregation repo** — add the three
`modified-block-currency` disposition rows described in § 1.10 to
`health/dispositions.yaml`, citing `add-clearing-dispatch-boundary`.
Landed before or with this packet's merge, never after.
- Files reviewed: 8/8 changed files
- Comments generated: 1
- Review effort level: Lite
| - [ ] 1.10 **MERGE ORDER, AND THE DISPOSITION ROWS THAT COVER IT.** | ||
| `add-clearing-dispatch-boundary` (#555) MERGED 2026-09-02, FIRST as required. If this packet | ||
| merged first, its three contested `modified-block-currency` warnings would | ||
| enter the nightly baseline, and #555 landing would resolve them — a | ||
| contested finding vanishing without a citation, which `report.py`'s | ||
| uncited-resolution rule re-emits as three ERRORs. Prose in § 1.9 is NOT a | ||
| recorded disposition: the matcher keys on `(family, repo, path)` in | ||
| `health/dispositions.yaml`. **That file lives at the AGGREGATION ROOT and | ||
| is tracked in the `opensoft/xFactory` aggregation repo, not here**, so the | ||
| three rows are a cross-repo act that cannot land in this PR: family | ||
| `modified-block-currency`, repo `openxFactory`, path | ||
| `openspec/changes/add-cpc-clearing-boundary/specs/clearing-dispatch-boundary/spec.md`, | ||
| one per MODIFIED requirement title, each citing `add-clearing-dispatch-boundary` | ||
| as the resolving change. Tracked as the aggregation-side task in § 5.3. |
…dd-cpc-clearing-boundary) add-cpc-clearing-boundary (PR #560) carries three MODIFIED Requirements over clearing-dispatch-boundary, all tracing to the single earlier active change add-clearing-dispatch-boundary, which flips from sole to co-modified. co_modified 105 -> 107, active_co_modified 18 -> 20 (each +2: the new change entering the set, the flipped prior owner leaving sole for it); sole_modifiers and active_sole each -1; change_ids and active each +1. Verified: excluding add-cpc-clearing-boundary from the corpus reproduces the prior pin exactly, and add-clearing-dispatch-boundary is independently confirmed absent from the co-modified set on that exclusion. Co-Authored-By: Claude Fable 5 <[email protected]>
There was a problem hiding this comment.
🔵 Needs a closer look
The new packet’s tasks.md contains internal lifecycle bookkeeping inconsistencies (e.g., Status: draft and an unchecked “merge order” task despite the text stating it is already discharged), which should be corrected for accurate records.
Review details
Suppressed comments (2)
openspec/changes/add-cpc-clearing-boundary/tasks.md:4
- The tasks file declares
Status: draft, but this change’s proposal.md and ratification record in this PR both stateStatus: ratified. This internal inconsistency makes it unclear which lifecycle state is authoritative for the packet’s tasks document.
Status: draft
Proposed: 2026-09-01
openspec/changes/add-cpc-clearing-boundary/tasks.md:75
- Task 1.10 is left unchecked even though its body states the merge-order condition was already satisfied (
#555merged first) and the belt PR was closed as unnecessary. Leaving it open reads like an outstanding requirement in section 1 and contradicts the “DONE/cleared” narrative in this same file and the ratification record.
- [ ] 1.10 **MERGE ORDER, AND THE DISPOSITION ROWS THAT COVER IT.**
`add-clearing-dispatch-boundary` (#555) MERGED 2026-09-02, FIRST as required. If this packet
merged first, its three contested `modified-block-currency` warnings would
enter the nightly baseline, and #555 landing would resolve them — a
- Files reviewed: 9/9 changed files
- Comments generated: 0 new
- Review effort level: Lite
…ive the sweep pin against it TWO CONFLICTS, BOTH THE SAME KIND — two branches each adding themselves to a list — and neither resolved by choosing a side. README "OpenSpec Records": both sides added a new first entry to `Active changes:`. BOTH KEPT. `tests/sequenced_after/test_sweep.py`: both sides moved the live pin, and #560 moves FOUR of the five readings this branch touches, so the numbers are RE-MEASURED ON THE MERGED TREE rather than adjusted by arithmetic. The two movement-log entries are kept side by side in landing order, and this branch's entry now records that it was re-derived once and says why — the superseded `155 / 50 / 13` reading is left in the log as the record of the first measurement rather than quietly overwritten. MEASURED ON BOTH SIDES: `origin/main` at `c0270d28` reads `32 active + 124 archived` = 156 change ids, `107` co-modified, `49` sole modifiers, `20 / 12` active co-modified/sole. This branch after the merge reads `33 active + 124 archived` = 157, `107`, `50`, `20 / 13`. Via `python3 scripts/validate-sequenced-after.py . --sweep` on each tree. THE THREE PINS THIS BRANCH MOVES ARE UNCHANGED IN SHAPE, only in value: `change_ids - 1` 155 -> 156, `sole_modifiers - 1` 48 -> 49, `active_sole - 1` 11 -> 12, with `co_modified` and `active_co_modified` HOLDING at #560's own 107 and 20. An ADDED-only packet over a new capability with novel requirement titles is a SOLE modifier and cannot move a co-modified count — the same rule that made #560, which carries three MODIFIED blocks, move the co-modified counts and not these. `active_sole` is the one pin both branches touched, in OPPOSITE directions and for unrelated reasons: #560 flipped `add-clearing-dispatch-boundary` out of the active sole set by sharing three requirement keys with it (13 -> 12), and this adoption puts a different change into it (12 -> 13). They cancel numerically and are recorded separately, because netting them would lose both causes. VERIFIED ON THE MERGED TREE: `python3 -m pytest -q tests/sequenced_after tests/test_standards_body_registry.py` 131 passed; `OPENSPEC_TELEMETRY=0 openspec validate --all --strict` 86 passed / 0 failed (85 before the merge, +1 for #560's own change); `python3 scripts/validate-omnigent-contracts.py` exit 0. Lane: openxfactory-f2 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01WNxTJoaJQkcDi2ybmLCZgW
…re pushing A second catch-up MERGE, never a rebase. main advanced 14 commits more while this branch was held for a scope ruling; none of them touches scripts/doc_health/release_tag_publication.py, tests/doc-health/test_release_tag_publication.py, docs/doc-health.md, specs/027-spent-bundle-state/ or contracts/CHANGELOG.md. It DOES move tests/sequenced_after/test_sweep.py's corpus pin 105 -> 107, which is main's own (add-cpc-clearing-boundary's third MODIFIED-block landing) and is taken as-is: this branch still moves no pin and authors no MODIFIED block. Lane: openxfactory-1d Co-Authored-By: Claude Fable 5.1 <[email protected]>
…rget_release CI caught three things this branch owed and I had not paid. All three are the corpus's counted invariants working exactly as designed — they are meant to go red when a change moves them, so the mover states WHY — and one of them caught a real error in the proposal's own front matter. 1. THE NEW PIN WAS UNCOVERED. `contracts/openreposhape-pin.yaml`'s `commit` sat under a key `PIN_KEY_VOCABULARY` already knew (from the wallet pin) at a path no member declared, so the scanner FOUND it and nothing covered it — the intended failure shape for a new pin artifact. Declared as `openreposhape-pin-product-commit`, CROSS_REPOSITORY: `deacbdc` is a commit in another repository and can never resolve against this one's `main`. ONE member, not two, and the asymmetry with the wallet pin is the point — that file needed a second, REPO_LOCAL member for its `carve_commit`, the openxFactory commit the wallet bytes were carved out of here. This pin has no such value and cannot: openxFactory authored none of openRepoShape's bytes. 2. TWO COUNT LEDGERS MOVED, and each entry says why rather than just what. The pin census goes 67 -> 69 sites and 23 -> 24 members: TWO sites from one change, by the two routes the census distinguishes — the promotion's `supporting-docs/manifest.yaml` `source_revision`, and the new pin. The `sequenced_after` sweep goes 108 co-modified / 21 active / 157 change ids. IT RISES BY ONE AND NOT BY TWO, and that is the whole content of the new ledger entry: PR #560 rose by two because the earlier writer of its keys was SOLE and flipped. The earlier writers here are two ARCHIVED changes that already shared the key with each other, so nothing flips and the sole sets hold at 49/12. A rise of two always comes with a sole set falling; a rise of one never does — which makes the two readings a check on each other. 3. `target_release` WAS WRONG, and the drift family is what said so. It read `implemented` on a measurement that checked the two CONTRACT artifacts and never checked the VALIDATOR. `scripts/validate-ideation-dashboard-contracts.py` IS a registered row (`contract-v3.0.digests.yaml:1417`), so a registered artifact does move and this change owes the next additive bundle. Corrected, unnumbered, with the ADDITIVE class argued: the validator only GAINS rules over new OPTIONAL fields. Until that cut, `release-inventory-drift` reporting it is the EXPECTED between-cuts state its own action string describes, and hand-editing the inventory to silence it is what that string forbids. python3 -m pytest tests/doc-health tests/sequenced_after tests/openreposhape_pin \ tests/ideation_dashboard tests/review_lane_pin -q -m "not postgres" 1679 passed, 1 skipped, 18 subtests passed OPENSPEC_TELEMETRY=0 openspec validate --all --strict 86 passed, 0 failed scripts/doc-health.py --single-repo . exit 0; the one new finding is the expected release-inventory-drift on the validator above scripts/validate-ideation-routing.py 0 error(s), 0 warning(s) scripts/proposal-support.py . verify ok Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01HGKwdQsmvRZx4fGQESdFGZ
…epoShape pinned, MedxScribe as evidence (#605) * Pin openRepoShape by commit and digest, and make the claim running code openxFactory ratifies the project repository schema's DOCTRINE and CONSUMES its mechanics. `contracts/openreposhape-pin.yaml` is the whole of that consumption — `kind: pinned_contract_manifest` reused unchanged, `revision_kind: commit`, opensoft/openRepoShape at deacbdcce4f52af427bcb4edd075fcc992e3dabe — and `scripts/validate-openreposhape-pin.py` is the running code that checks it. EVERY DIGEST IS COMPUTED FROM THE REAL BYTES at that commit, from a clone checked out there, never transcribed: sixteen per-file sha256 rows over the standard's normative surface, plus eighteen `pinned_by_commit_only:` members. Together they name all 34 files present at the commit, because `neutral-product-pin`'s own scenario says an artifact in neither list "is an undeclared consumption, not a permitted omission" — and check 5 of the verifier asserts exactly that, which is the one failure mode per-file digests cannot see: they say nothing about a file nobody listed. TWO DEPARTURES FROM THE SIBLING WALLET VERIFIER, each a fact about the product. There is no gitlink comparison, because openxFactory CITES this standard rather than mounting it — nothing here runs out of an openRepoShape checkout, so a gitlink would put a working-tree obligation on every clone in exchange for nothing. And it is standard-library only, because the standard it checks insists on running where nothing can be installed; a verifier needing a package to check a package-free standard would carry the assumption the standard exists to refuse. Verified against the real bytes through both resolvers: --checkout OK … 16 digest(s) recomputed, 18 member(s) present, 34 file(s) declared with none undeclared (exit 0) --from-gh OK … same (exit 0) no source REFUSE pin-unresolvable (exit 2) The gate reads the commit OUT OF THE PIN rather than hard-coding it: a workflow holding its own copy of the sha would be the very lockstep defect this whole capability exists to write down. It is not a required check — making one required is an operator act, and a check is not selectable until a workflow has reported under it once, which is why the reporting lands first. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01HGKwdQsmvRZx4fGQESdFGZ * The project register records a schema election, and it still confers nothing The ratified prose says the register is "where it is recorded" and leaves the field undesigned. This designs it: an optional per-project `schema`, an optional `reference` naming the document the election followed, and an optional `repository_roles` list assigning repositories a `role` of spec|code|assembly. `repositories` IS UNCHANGED and stays an array of STRINGS. Retyping its items to `{id, role}` objects was the obvious move and is rejected as consumer-breaking: `scripts/ideation_dashboard/register.py` and every renderer downstream of the snapshot read those items as strings, and widening a schema does not widen its readers. Roles are therefore added BESIDE membership rather than by retyping it, and `repositories` remains the single membership answer. THE POSTURE IS RESTATED, IN FOUR PLACES, ON PURPOSE. `schema` and `role` are exactly the fields a later consumer reads as permission, and the moment a tool reads `role: spec` as "spec authority lives here" the register has quietly become a governance boundary — which the ratified doctrine forbids. So the sentence stands in the capability's first requirement, in the register requirement's own text, in this schema's description, and in the assembly-root manifest template. A posture stated once is a posture the second reader does not meet. Four rules the shape cannot express, because all four RELATE one field to another: a role naming a repository the project does not list; the same repository given a role twice; more than one `role: assembly`, an electing project having exactly one per-project root; and a `reference` with no `schema`, which records which document an election nobody declared followed. None of them is an authority rule. They check that a row is internally coherent; a consumer deriving a permission is defective however well they pass. python3 -m pytest tests/ideation_dashboard/test_project_schema_election.py -q 13 passed python3 scripts/validate-ideation-dashboard-contracts.py 0 error(s), 0 warning(s) — 42 valid, 80 negative examples confirmed Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01HGKwdQsmvRZx4fGQESdFGZ * Ratify the doctrine in one document: elective, and it confers nothing `docs/project-repo-schema.md` is openxFactory's home for what the shape MEANS. It is deliberately not the home for how it WORKS: the mechanics live in opensoft/openRepoShape, which this repository pins by commit and digest, because a directory inside openxFactory cannot be forked into an organisation that has no openxFactory — the convener's own operating constraint and the whole reason the standard is a separate product. What the document carries: the one sentence that governs the rest and the four places it is restated; the three legs, with the ASSEMBLY leg as the per-project ROOT an engineer clones (Brett Heap, 2026-09-02, "yes, assembly is per project") which MAY pin shared review-team code as an overlay, so the ratified sentence about shared assembly code and this reading both hold; the naming families with a descendant form read as a CLAIM that needs a declared open<Product> pin (Brett Heap, 2026-09-02) and the check kept OFFLINE; the double pin and the lockstep invariant, with the aggregation's own measured defect as the reason it ships as machinery rather than as a rule somebody remembers; the manifest as SOURCE with a register row DERIVED from it, which is the only construction under which an organisation with no register is conformant; the schema-neutral bootstrap and its verbatim degrade line; overlays that attach to a shape and never the reverse; the four-way ownership split and the narrowing it states out loud; and the pre-ratification election rule. THE NARROWING IS STATED RATHER THAN ASSUMED. "codexFactory may recommend — and scaffold" is narrowed in exactly one respect, where the mechanics LIVE. codexFactory keeps the recommending role in full and keeps its engineering overlay, and task 8.4 of the ratified change is satisfied by overlay-plus-offer. `Status: draft`. Ratification is the convener's, and the document says so. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01HGKwdQsmvRZx4fGQESdFGZ * Propose add-project-repo-schema, and promote the topic in full The ratified `add-wallet-carried-review-authority` RECOMMENDS a three-repository shape, rules who elects it and rules that electing it changes no gate, no floor, no grant and no clearance eligibility — and then stops. Re-measured at this tip: that change's own specs/ deltas are exactly two, no `project-repo-schema` capability exists under openspec/specs/, and greps for the recommendation resolve only to that one proposal plus its tasks.md:811-814. A PA who says yes has nothing to say yes to, so the delta is ADDED and not MODIFIED. ADDS `project-repo-schema`, eleven requirements — the shape is elective and confers nothing; the ASSEMBLY leg IS the per-project root and may pin shared assembly code as an overlay; the leg naming and the topic; the four families as pinned DATA with a descendant form read as a CLAIM needing a declared pin; the double pin and its one-commit lockstep; the manifest as SOURCE with a register row DERIVED; the schema-neutral bootstrap and its verbatim degrade line; overlays that attach to a shape and never the reverse; the standard's home, consumption by fork and openxFactory's pin; the four-way ownership split and the narrowing it states; and the pre-ratification election rule. MODIFIES `ideation-dashboard`'s "Project grouping hierarchy", carried verbatim with every original scenario retained. No ACTIVE change writes that requirement, so no `Modified over` marker is owed and no archive ordering is raised — checked rather than assumed. FOUR CAPABILITIES WERE READ REQUIREMENT BY REQUIREMENT AND NONE IS MODIFIED, and design.md D9 records the reading because "we checked" is only a claim if it names what was checked. neutral-product-pin enumerates no products and the new pin satisfies it as written — a general rule absorbing a new instance without amendment is the rule working. FULL PROMOTION: the fragment moves to supporting-docs/ with its history, its row AND its detail section leave staging/INDEX.md, and the pointer goes into ideation/README.md's promoted list. `Status: draft`. The convener's "start the add-project-repo-schema exit change" is admission into the proposal queue, and the .openspec.yaml origin says so in those words. RATIFICATION IS THE CONVENER'S and nothing here anticipates it. MedxScribe is cited as realization evidence and is recorded throughout as a TEMPORARY PILOT that exists only to test openRepoShape — not a real project — so the evidence is the RECORDED RUN and survives the pilot's deletion. OPENSPEC_TELEMETRY=0 openspec validate add-project-repo-schema --strict Change 'add-project-repo-schema' is valid OPENSPEC_TELEMETRY=0 openspec validate --all --strict Totals: 86 passed, 0 failed (86 items) python3 scripts/proposal-support.py . verify add-project-repo-schema proposal support verification ok python3 scripts/doc-health.py --single-repo . exit 0, zero new findings in any family against the pre-change baseline python3 scripts/validate-ideation-routing.py 0 error(s), 0 warning(s) Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01HGKwdQsmvRZx4fGQESdFGZ * Correct three counts in tasks.md against the files they describe The ADDED delta carries 28 scenarios, not 31; the rulings recorded in design.md are the convener's rather than a count that disagrees with the proposal's table of seven; and task 2.5's pointer to the pilot framing names slice 6, where the realization evidence actually lives, rather than slice 5. Small, and worth its own commit rather than a quiet amend: a task list whose numbers do not match the artifacts is the same class of defect as a pin whose digest does not match the bytes, and this packet spends several hundred lines arguing that class matters. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01HGKwdQsmvRZx4fGQESdFGZ * Declare the new pin's class, move three corpus counts, and correct target_release CI caught three things this branch owed and I had not paid. All three are the corpus's counted invariants working exactly as designed — they are meant to go red when a change moves them, so the mover states WHY — and one of them caught a real error in the proposal's own front matter. 1. THE NEW PIN WAS UNCOVERED. `contracts/openreposhape-pin.yaml`'s `commit` sat under a key `PIN_KEY_VOCABULARY` already knew (from the wallet pin) at a path no member declared, so the scanner FOUND it and nothing covered it — the intended failure shape for a new pin artifact. Declared as `openreposhape-pin-product-commit`, CROSS_REPOSITORY: `deacbdc` is a commit in another repository and can never resolve against this one's `main`. ONE member, not two, and the asymmetry with the wallet pin is the point — that file needed a second, REPO_LOCAL member for its `carve_commit`, the openxFactory commit the wallet bytes were carved out of here. This pin has no such value and cannot: openxFactory authored none of openRepoShape's bytes. 2. TWO COUNT LEDGERS MOVED, and each entry says why rather than just what. The pin census goes 67 -> 69 sites and 23 -> 24 members: TWO sites from one change, by the two routes the census distinguishes — the promotion's `supporting-docs/manifest.yaml` `source_revision`, and the new pin. The `sequenced_after` sweep goes 108 co-modified / 21 active / 157 change ids. IT RISES BY ONE AND NOT BY TWO, and that is the whole content of the new ledger entry: PR #560 rose by two because the earlier writer of its keys was SOLE and flipped. The earlier writers here are two ARCHIVED changes that already shared the key with each other, so nothing flips and the sole sets hold at 49/12. A rise of two always comes with a sole set falling; a rise of one never does — which makes the two readings a check on each other. 3. `target_release` WAS WRONG, and the drift family is what said so. It read `implemented` on a measurement that checked the two CONTRACT artifacts and never checked the VALIDATOR. `scripts/validate-ideation-dashboard-contracts.py` IS a registered row (`contract-v3.0.digests.yaml:1417`), so a registered artifact does move and this change owes the next additive bundle. Corrected, unnumbered, with the ADDITIVE class argued: the validator only GAINS rules over new OPTIONAL fields. Until that cut, `release-inventory-drift` reporting it is the EXPECTED between-cuts state its own action string describes, and hand-editing the inventory to silence it is what that string forbids. python3 -m pytest tests/doc-health tests/sequenced_after tests/openreposhape_pin \ tests/ideation_dashboard tests/review_lane_pin -q -m "not postgres" 1679 passed, 1 skipped, 18 subtests passed OPENSPEC_TELEMETRY=0 openspec validate --all --strict 86 passed, 0 failed scripts/doc-health.py --single-repo . exit 0; the one new finding is the expected release-inventory-drift on the validator above scripts/validate-ideation-routing.py 0 error(s), 0 warning(s) scripts/proposal-support.py . verify ok Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01HGKwdQsmvRZx4fGQESdFGZ --------- Co-authored-by: Claude Fable 5.1 <[email protected]>
…tHub skipped, and re-measure the sweep pin over the merged corpus The push of the ratification commit produced check suites for `merge-master-approval` (a `pull_request_target` workflow) and Copilot ONLY: no run was created for `pytest-suite`, `signed-execution-chain-gate` or `wallet-validation`, and `mergeable` read UNKNOWN. GitHub skips `pull_request` workflows when it cannot build the PR's test-merge commit, so the missing runs were a symptom and the unbuildable merge was the cause. THIS MERGE IS THE FIX AND NOT A FEATURE CHANGE: it takes `origin/main` at `ee294f9f` into the branch so the test-merge commit exists again and the three skipped workflows have something to run on. TWO FILES CONFLICTED, both of them files `add-project-repo-schema` (#605/#606) also touched: README.md — the "OpenSpec Records" block, where each side appended its own entry at the head of the active list. BOTH ARE KEPT, in date order: this change's 2026-09-03 entry, then `add-project-repo-schema`'s 2026-09-02 entry, then `add-cpc-clearing-boundary`'s. Nothing else in the block moved. tests/sequenced_after/test_sweep.py — the live sweep pin, which both branches moved because both added an ACTIVE change. THE PINS ARE RE-MEASURED OVER THE MERGED TREE, per this test's own maintenance rule, and never carried over from either side: `python3 scripts/validate-sequenced-after.py . --sweep` reads `34 active + 124 archived` = 158 change ids, 108 co-modified, 50 sole modifiers, 21 / 13 active co-modified/sole. THE TWO PACKETS MOVE DISJOINT PINS, which is why exactly one assertion changes here. `add-project-repo-schema` carries a `## MODIFIED Requirements` block, so it moves the CO-modified readings alone (`co_modified` 107 -> 108, `active_co_modified` 20 -> 21) and leaves the sole readings untouched. `update-standards-body-current-publications` is ADDED-only over a NEW capability with novel requirement titles, so it moves the SOLE readings alone (`sole_modifiers - 1` 48 -> 49, `active_sole - 1` 11 -> 12) and leaves the co-modified readings untouched. Git's own auto-merge therefore landed four of the five pins correctly, each side's move being the only edit to its line. Only `change_ids` is moved by BOTH -- one more active change each -- so only it compounds: `assert sweep.change_ids - 1 == 156` becomes `== 157`. No pin here is the net of two OPPOSED moves, unlike the 2026-09-02 `active_co_modified` reconciliation this log already records. MEASURED ON ALL THREE TREES AND BY EXCLUSION, not inferred from the arithmetic. `origin/main` at `ee294f9f` reads 157 / 108 / 49, 21 / 12; this branch at `1d9ae04c` reads 157 / 107 / 50, 20 / 13. Dropping `add-project-repo-schema` from the MERGED corpus reproduces this branch's own reading exactly, and dropping `update-standards-body-current-publications` reproduces main's exactly -- so the whole movement is those two packets' contribution and no third change moved in the window. A dated MOVEMENT LOG entry records it, and `main`'s own entry is kept verbatim with this branch's re-labelled as the SIBLING reading it is: both are taken from the merge-base `c0270d28`, neither is a step after the other. The README entry's own bookkeeping sentence is corrected in the same commit for the same reason. It still carried the pin's FIRST derivation (`change_ids - 1` 154 -> 155 with `co_modified` 105), which the branch's later catch-up merge with #560 had already superseded in the test but not in the prose; it now states the measured merged reading and says which of the two packets moves which pin. `ideation/README.md` merged clean -- this branch never touched it -- and is byte-identical to `origin/main`. The ratification edits are untouched: `Status: ratified` plus the single `Ratified:` line in `proposal.md` (grep for `^(Ratified by:|Ratified:)` still prints exactly 1), `tasks.md` 5.4, and the `.openspec.yaml` `approved_by` record. Validated on the merged tree: `openspec validate update-standards-body-current-publications --strict` valid; `openspec validate --all --strict` 87 passed, 0 failed; `pytest tests/test_standards_body_registry.py tests/sequenced_after` 135 passed; `scripts/validate-omnigent-contracts.py` all checks passed. Lane: openxfactory-f2 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01BMMXGREN4rQDUsUYgwRiXm
…ss validator, and the mint runbook (draft — the key is NOT minted) (#610) * Realize factory-origin-identity: the sibling register, its reader, and the mint runbook Realization of the ratified change `add-cpc-clearing-boundary` (PR #560, merged c0270d2), capability `factory-origin-identity`, tasks 2.1-2.6. Task 2.7's cross-repo half — codexFactory's exact-set floor file — lands in the same governed act as its own draft. DRAFT, AND IT CANNOT MERGE AS IT STANDS. THAT IS THE INTENDED STATE. The operator has not minted the per-factory Ed25519 origin key, so `did`, `public_key_multibase` and `key_fingerprint` carry the literal sentinel `FILL-IN-AT-MINT` rather than a plausible 43-character base64url literal that would pass a scanner and a reader alike. Both readers refuse the tree while the sentinels stand: the new one with the named finding `factory-identity-placeholder-unminted`, and the PINNED openXwallet reader with three schema pattern refusals inside the REQUIRED `wallet-validation` check. WHAT LANDS * `governance/factory-identity/` — a SIBLING of the review-authority intake register, never an extension (design D1). Deliberately kindless, with D3's rule-of-three trigger recorded in the header for instance THREE's author. `holder_class: organisation`, no `seat_keys` block, no `agent:` prefix (D2). Rows carry the six facts the ratified enumeration names plus the row's own name, and NO `authority_tier` column. The register declares its OWN `revocation_staleness_bound` AND its own ceiling, inheriting neither. * `scripts/validate-factory-identity.py` — the ratified DISJOINTNESS RULE (no `key_id`, `did` or public-key fingerprint in both families; not waivable by declaring different acts), the placeholder refusal, the unattested-custody cap, one-active-row-per-repository, and the secret-name refusal the ratified requirement's own words demand. It DERIVES NOTHING OF ITS OWN: every decoding and every fingerprint is imported from the pinned openXwallet reader, and it REFUSES rather than falling back when the gitlink is absent. * Wiring into the REQUIRED `wallet-validation` check with a POSITIVE log conjunction, so a green check that never opened the register is impossible. * `docs/factory-origin-key-mint-runbook.md` — the operator ceremony, and the ONLY governed document that names the CI secret, because the ratified requirement forbids a secret name resolvable to key material anywhere in the register family and the reader refuses one. WHAT IS NOT CLAIMED. A read-time refusal of an origin key presented for a review act is NOT in force: the pinned reader still indexes every wallet record in a scanned tree into one context (openXwallet dependency, tasks 5.1/5.2, OQ3). Origin revocation at the moment of clearing is NOT in force: no projection path exists (OQ1), so the declared bound is the honest ceiling on propagation and a 90-day unconditional expiry is the mechanism that actually works. Co-Authored-By: Claude Fable 5 <[email protected]> * The mint is ONE program the operator runs, not a nine-value manual checklist `docs/factory-origin-key-mint-runbook.md` asked the operator to hand-write nine values across four files in two repositories, two of which have to match CHARACTER FOR CHARACTER. Four of five sentinels replaced is a register naming a key reference nobody can resolve — discovered after the seed is already provisioned and unrecoverable, because the private half has no backup by design. `scripts/mint-factory-origin-key.py` makes the five writes ONE act, so that state is unreachable. IT DERIVES NOTHING. `did`, `key_fingerprint` and `public_key_multibase` come from CALLING `validate-factory-identity.py`'s own `derive` entry point in-process — which itself refuses unless the PINNED openXwallet decoders are importable and round-trips every value through them before printing. So the encodings written into the register are, by construction, the encodings the REQUIRED `wallet-validation` check judges them by. `test_the_derive_path_is_the_validators_own` compares the in-process values against the runbook's own `--derive` subprocess, character for character. THE PRIVATE HALF REACHES ONE DESTINATION. The 32-byte seed is written to `gh secret set --body -` on the child's STDIN — never argv (world-readable in /proc), never an environment variable, never a temp file — then overwritten and deleted. The program's command log records argv and the LENGTH of anything written to a child's stdin, never its bytes. The end-to-end test inspects every argv and every printed line and requires the seed in none of them, while confirming it DID reach the store: an absence check alone would pass on a run that never stored the key. FAIL-CLOSED, IN ORDER, AND EVERY REFUSAL NAMED. Eight read-only preflight checks run before anything is spent; `register-already-minted` and `secret-already-exists` are the two independent guards on ONE ORIGIN IDENTITY PER REPOSITORY, and they are also the idempotence story. Custody precedes the register edit, so a failed store leaves the family untouched. All four gates run before either commit, the register reader must also emit `0 shared` (a green run that adjudicated nothing is a vacuous pass), and any failure leaves the tree MODIFIED AND UNCOMMITTED because the remediation for a bad fill is the diff. It readies both pull requests and does NOT merge — it prints the two merge commands, because `governance/factory-identity/` is a permanently human-only surface. AND THE MINT WOULD HAVE TURNED THE REQUIRED SUITE RED. `test_the_shipped_tree_refuses_until_the_key_is_minted` asserted `returncode == 1` unconditionally, and `test_no_plausible_key_literal_was_ invented` asserted that no `did:key` or `sha256:` literal sits under the family — both true only BEFORE the mint, despite the first one's docstring claiming it was 'the thing that goes green'. The runbook's step 5 ('all four must be clean') was therefore unsatisfiable. Both are now state-aware: five sentinels standing and the reader refusing, or none standing and the reader clean, with anything in between failing as a HALF-COMPLETED MINT — and the post-mint half asserts the inverse (exactly one did:key literal, exactly one fingerprint appearing exactly twice) rather than lapsing into a claim a tree that lost its register would also satisfy. 33 new tests, 77 in tests/factory_identity. The runbook's steps collapse to the one command and its manual checklist is retained verbatim as an appendix for the day the program cannot run. Co-Authored-By: Claude Fable 5 <[email protected]> * The mint suite's own fixture must not be what blocks the mint MEASURED, not anticipated. With `scripts/mint-factory-origin-key.py` run against the REAL family on the real tree, the three non-pytest gates went clean — `verify-openxwallet-pin.py`, the PINNED validator, and the register reader with 0 errors and `0 shared` — and TEN tests in `test_mint_script.py` failed. The fixture copies the shipped family to get the real file shapes, the real comment bodies the targeted fill must not disturb, and the real wallet/grant/row joins, so it also inherited the family's STATE: after the mint there are no sentinels and the expiry pair is re-stamped, and every preflight and fill test was then asserting against an already-minted tree. That is the same defect `test_validator.py` carried, reintroduced one file over: a suite that can only be green before the act it exists to make possible. Step 5 of the runbook says all four gates must be clean, and the fourth is this suite. `unmint()` normalizes the copied family back to the freshly-drafted state — the five sentinels restored and the two expiries re-drafted to 2026-09-02 / 2026-12-01, against which every test passes `--today 2026-09-03` so the re-stamp branch is exercised deterministically. What stays real is everything the tests actually exercise. Verified in BOTH states: 77 passed with the family unminted, and 77 passed with it filled by the program. Co-Authored-By: Claude Fable 5 <[email protected]> * gh secret set takes NO --body: the dash would have stored a one-character secret `gh secret set --help` (2.86.0): '-b, --body string The value for the secret (READS FROM STANDARD INPUT IF NOT SPECIFIED)'. The flag takes no magic dash. `--body -` is a body whose value is one hyphen, so `gh` exits 0 having stored the one-character secret '-' — and this program would have printed a successful mint, filled the register with the public half of a key whose private half reached no destination, run four green gates over it, and readied both pull requests. The failure would have surfaced far away, at the first signature, for a reason nobody would connect back to the mint. The stdin path is reached by OMITTING the flag, which is `gh`'s own documented example (`gh secret set MYSECRET < myfile.txt`). AND BECAUSE THAT CLASS OF FAILURE IS SILENT, THE STORE IS NOW CONFIRMED. A secret's value can never be read back, so the only available evidence is that the NAME appears where preflight proved it did not. The program re-lists after storing and refuses `secret-set-unconfirmed` rather than editing the register — which closes the general case, not only the dash: any `gh` that exits 0 having stored nothing now stops the run before a public half is published. `test_a_store_that_exits_zero_but_stored_nothing_refuses` drives it, and the FakeRunner now MODELS the store (a successful set appends to its secret list) so the confirmation has something real to be wrong about. It also asserts `--body` is absent from the invocation, so the dash cannot come back. The runbook says all of this in prose, because its APPENDIX asks an operator to perform the same step by hand. SEPARATELY: tests/factory_identity/__init__.py, which repairs a collection abort that predates this work. `tests/factory_identity/test_gate_wiring.py` (added by 7647c96) collides by BASENAME with the pre-existing `tests/signed_execution_chain/test_gate_wiring.py`, and under pytest's default prepend import mode both contend for one flat `sys.modules` entry. Measured at this branch's base: the REQUIRED `pytest-suite` invocation (`pytest tests/ -q -m 'not postgres'`) collected 8761 of 9099 and INTERRUPTED with one collection error, while `pytest tests/factory_identity -q` was green — so a per-directory run cannot see this class of defect, and #610's required check was red for a reason unrelated to the register. Making the directory a package gives its modules `factory_identity.`-prefixed names; that is the pattern `tests/sequenced_after/`, `tests/avatar_client_validator/` and `tests/hermes_runtime_contracts/` already use for the same reason. Collection now reports 8803/9141 with no error. Co-Authored-By: Claude Fable 5 <[email protected]> * The mint record's ruling is the operator's word and the register's name, not the program's The record template asked for `Ruled by: <name>, in session <date> — '<the recorded word>'`, and the first cut of this program filled both from constants: 'Brett Heap' and 'mint the codexFactory origin key'. Both are fabrications in a governed record. THE QUOTATION. A program that invents a sentence and attributes it to a named person, inside a `Status: record` document, is fabricating evidence of a ruling however innocuous the sentence reads — and this record is the thing a later reader consults to learn what was decided. `--ruling` carries the operator's own word; its DEFAULT says plainly that none was recorded and points at the pull request thread, which is true and checkable rather than plausible. THE NAME. It is now READ from the custody attestation's `verified_by.name`, which is where the register already declares the responsible operator under the Human Escalation Contract. A second spelling in this program would be two places for one fact to disagree, and the day they diverged the record would attribute the ruling to whoever the program's author had in mind rather than to whoever attested the custody. An attestation naming nobody now refuses `operator-unnamed` at preflight instead of yielding a record signed by a literal. The success banner also tells the operator to READ THE RECORD BEFORE MERGING and echoes the ruling it used, because the obligation and not-discharged sections are prose no program can judge for him. 80 tests in tests/factory_identity. Co-Authored-By: Claude Fable 5 <[email protected]> * Mint the codexFactory origin key: register filled at 2026-09-03T19:34:59Z The operator minted the ONE Ed25519 origin identity of opensoft/codexFactory and provisioned its private half at 2026-09-03T19:34:59Z. The five FILL-IN-AT-MINT sentinels are replaced by the public values the register reader's own derive path produced through the PINNED openXwallet decoders; nothing here was computed by a second implementation. The private half exists only as an encrypted environment secret in opensoft/codexFactory's own hosted worker-credentials environment. It entered no git working tree, no log and no argv. The grant is re-stamped to issued_at 2026-09-03T00:00:00Z and expires_at 2026-12-02T00:00:00Z because the mint happened after the drafted issuance date; the backing row's expires_at is character-for-character equal, which the reader compares. All four gates ran clean against this tree before this commit: the openXwallet pin, the PINNED validator as wallet-validation runs it, the factory-identity register reader (0 errors, 0 shared), and tests/factory_identity. * README: the codexFactory origin key is minted; the realization is complete Co-Authored-By: Claude Fable 5 <[email protected]> --------- Co-authored-by: Claude Fable 5 <[email protected]>
DRAFT —
Status: draft. Extension delta over the RATIFIEDadd-clearing-dispatch-boundary(#555), which promotesclearing-dispatch-boundarywith ten requirements from the same operator ruling and is live on xFactory main. This packet carries only the ruling's same-day extension on codexFactory #156.3 MODIFIED, each carried VERBATIM with additions marked in place and every original scenario retained (177 basis units, 0 lost), each carrying its OWN
Modified overmarker IN ITS REQUIREMENT BODY — per requirement, never per section, since a section-level paragraph leaves every requirement in the block declaring nothing:xfc-jcs-sha256-1and needs a TRANCHE-3 widening of its CLOSEDdigest_subjectenumeration (subjects, never a construction), reported UNREALIZABLE until it lands; per-file hashes are algorithm-tagged SHA-256 over BYTES.3 ADDED (no counterpart in the basis): sign-on-return; INBOUND re-seal of the return (the basis's re-seal is outbound-only); workspace-disposal evidence as a dispatch-record field.
ADDS
factory-origin-identity(6): one Ed25519 identity per originating repo in a SIBLINGgovernance/factory-identity/register (D1, operator-confirmed),holder_class: organisation, no seat-council spelling. Two limits stated honestly: act distinctness ships as a CHECKED DISJOINTNESS RULE with read-time refusal declared NOT YET IN FORCE (the pinned openXwallet reader indexes every wallet record in the tree); own staleness bound with at-clearing revocation declared UNREALIZABLE until OQ1 — each with a scenario refusing the premature claim.Cited, not re-authored: re-seal (outbound), dispatch-credential scoping, the closed operations register, grandfather enumeration and convergence-is-terminal.
validate --strict: valid, 0 issues.--all --strict: 84 passed, 0 failed.proposal-support verify: ok. doc-health (5 families): exit 0. Marker proven both ways: with #555's change dir staged in,modified-block-currency= 0 warnings; without it, exactly 3 (the absent-basis condition). #555 MERGES FIRST; xFactory PR #201 carries the three disposition rows as the belt.Do not merge — awaiting operator ratification (task 1.8).
🤖 Generated with Claude Code