Repository navigation
Propose add-clearing-dispatch-boundary: one door to the governed host, and the machinery that keeps it one (draft) - #555
Conversation
…, and the machinery that keeps it one (draft) A job sat queued for eighteen hours because the door held. Run 33381257642, a codexFactory-path council smoke, targeted a runner group that admits the codexFactory repository but lists only xFactory workflow paths, so no runner could ever claim it. Nothing executed ungoverned — the right outcome, produced by a configuration nobody had written down, which is one console edit away from not existing with nothing reporting that it had stopped. So the boundary becomes a contract. Origin is Brett Heap's operator ruling of 2026-09-01 (xFactory/cpc-clearing-boundary-ruling-2026-09-01.md) plus his option-1 supersession the same day: no per-path allowlist addition for the readiness test, which becomes the clearing lane's FIRST OPERATION; the allowlist converges to ONE PERMANENT ENTRY PER GROUP, added once; PR #188's standalone diagnostic workflow retires into that operation. TEN ADDED requirements over 41 scenarios in a new neutral capability, organized as the five enforcement layers ruled in the same session: the SINGLE DOOR, with every host job living physically inside the clearing workflow file because the provider evaluates the allowlist against the file that CONTAINS the job — so no reusable-workflow indirection, ever; the SEALED BOUNDED REQUEST and its ten declared fields on a short-lived job object rather than a committed folder of copied data; API-SIDE VERIFICATION that never trusts a field from inside the bundle, with the verifiable / merely-policy-checked split stated so "verified" is never applied to a field nothing could verify; ONE SANCTIONED PRODUCER EXIT, the boundary RE-SEALING so the host never holds a credential scoped to the originating repository; hosted validation of returned output before any repository effect; the CLOSED permitted-operations register with readiness-diagnostic as entry #1; ROUTE RETIREMENT, with a grandfather enumeration of the nine existing worker workflows that is append-never and shrink-only; the AUTHORING-TIME GUARD, structural rather than a text search because the estate already contains the case that proves it — two `concurrency: group: xfactory-artifact-worker` declarations one character off a runner group's name; and the DISPATCH LEDGER plus a periodic SINGLE-DOOR ATTESTATION, since the ledger's completeness claim is true only while the door is single. The residual dependence on console-side settings the estate cannot version is declared, not assumed away. TEXT ONLY. No contract byte, no workflow, no console act, no runner. The declared code surface — the xFactory clearing-dispatch.yml lane, the retirement of runner-readiness-diagnostic.yml, the guard, and the future contracts/clearing/ family — realizes POST-RATIFICATION at its own additive cut, and the two cuts ahead are already claimed by the in-flight chain-attestation and chain-anchoring realizations, so this packet spends no number. Ratification authorizes realization and does not perform it. Validation: `openspec validate add-clearing-dispatch-boundary --strict` and `--all --strict` both green (80 passed, 0 failed); doc-health proposal-origin, status-validity, duplicate-packet and location-conformance clean, and the full single-repo run adds no finding and no regression. Co-Authored-By: Claude Fable 5 <[email protected]>
|
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.
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 OpenSpec change packet, add-clearing-dispatch-boundary, defining the neutral “single-door” clearing/dispatch boundary for governed Cloud PC execution (text-only: proposal/design/spec delta/tasks/origin metadata) and indexes it in the repository’s OpenSpec Records list.
Changes:
- Add the full spec-driven change packet artifacts (proposal, design, spec delta, tasks, origin metadata) for
clearing-dispatch-boundary. - Define 10 added requirements (41 scenarios) covering the single-door model, sealed bounded request, API-side verification, closed operations register, route retirement, authoring-time guard, dispatch ledger, and attestation.
- Update
README.mdto list the new change in “OpenSpec Records”.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| README.md | Adds the change to the “OpenSpec Records” active index with a synopsis and origin pointer. |
| openspec/changes/add-clearing-dispatch-boundary/.openspec.yaml | Declares the packet’s machine-readable origin (ad_hoc) and related change references. |
| openspec/changes/add-clearing-dispatch-boundary/proposal.md | Introduces the proposal narrative, declared code surface, and impact/successor framing. |
| openspec/changes/add-clearing-dispatch-boundary/design.md | Records design decisions and the measured baseline facts motivating the contract. |
| openspec/changes/add-clearing-dispatch-boundary/tasks.md | Captures the ratify→realize sequencing and the concrete realization/ops checklist. |
| openspec/changes/add-clearing-dispatch-boundary/specs/clearing-dispatch-boundary/spec.md | Adds the capability’s requirement/scenario delta (10 requirements / 41 scenarios). |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| Output returned by a governed execution host SHALL be treated as UNTRUSTED | ||
| INPUT and SHALL be validated, and where the register entry so declares | ||
| tested, by a hosted finalizer in the clearing repository BEFORE it may affect | ||
| any repository. No output from a host SHALL reach a branch, commit, pull |
| - [ ] 3.2 In the SAME pull request, DELETE | ||
| `.github/workflows/runner-readiness-diagnostic.yml` (PR #188, merged | ||
| `4fffb6e5`, 2026-09-01). Its checks move into the operation verbatim in |
| are allowlisted and work. Two — `ideation-organizer-worker.yml` and | ||
| `review-lane-worker.yml` — declare a group job and are NOT allowlisted, so | ||
| their children are already fail-closed today, which nothing reports. The | ||
| tenth is `runner-readiness-diagnostic.yml` (PR #188, merged `4fffb6e5`), |
| no writes, no token scopes, and a STRUCTURED OPERATION REPORT rather | ||
| than a log a human reads. Its checks are PR #188's, verbatim in | ||
| substance, which is why #188's workflow retires into it. |
… and an attestation given a definition that can be green Discharges the adversarial review's P1-1..P1-5, P2-1..P2-5 and P3-1..P3-6 on PR #555. Text only; the packet still authors no contract byte. P1-1 PROVENANCE HONESTY. The proposal claimed "Every requirement below traces to it; nothing below extends it." That was FALSE for three of the ten. Replaced with a per-requirement split, because a bulk claim in either direction would have been imprecise: requirements 1-7 trace to the written ruling; requirement 8 GENERALIZES the single retirement the record names verbatim ("PR #188's standalone workflow is retired into the clearing operation"); requirement 9, the authoring-time guard, is WHOLLY ABSENT from the record and is the largest of the three extensions; requirement 10's DISPATCH RECORD is written ("records the dispatch") while its PERIODIC ATTESTATION is not — the word appears nowhere in the record. All three were ruled the same session on "fold 1-5 in and fan out" and are carried as DECLARED EXTENSIONS. Mirrored in .openspec.yaml and the front matter. P1-2 ORIGIN VERIFIABILITY. The record is located accurately everywhere: committed to opensoft/xFactory at root as cpc-clearing-boundary-ruling-2026-09-01.md via a PR on branch record/cpc-clearing-boundary-ruling, merge PENDING BRETT'S WORD at authoring time. New tasks 2.3 gates ratification on that merge; new 2.4 asks that the three extensions be ratified AS extensions. P1-3 THE ATTESTATION COULD NOT HAVE BEEN GREEN, AND ITS PER-GROUP SET WAS ILL-DEFINED. The expected set is now computed PER GROUP — the clearing path UNION that group's enumerated members whose allowlist entry is `present` — because one estate-wide set reports every group as diverging from every other group's members and can never be green. The two divergence directions are split: an entry the expected set does not derive is a WIDENING and a single-door breach; an enumerated member with NO entry is already failing closed and is a DARK-LANE DISPOSITION ITEM, not a breach. The grandfather enumeration moves out of the guard's test module into the governed data file .github/clearing/grandfather-enumeration.yaml, read by BOTH consumers, each member carrying workflow filename, governed group, host job ids and allowlist-entry status — the group attribution is what makes the per-group set computable and the status is what keeps a dark lane from reading as a breach. Seeded with the measured reality (group 7: one entry; group 5: six; review-lane and ideation-organizer `absent`). Tasks 7.1 states what the FIRST run is expected to report: zero allowlist widenings, two dark lanes, two not-yet-converged notices, and exactly ONE open widening — group 5's codexFactory admission, which task 4.3 closes. The ledger's completeness claim is now stated at two strengths, before and after the operator acts. P1-4 R9 ASSERTED CAPABILITIES THAT DO NOT EXIST. Measured: NONE of opensoft/xFactory's five active rulesets declares required_status_checks. New operator act 4.5 creates one naming `validate`, and records the residual that ruleset 18962101's bypass_actors (OrganizationAdmin, mode always) leaves even a required check operator-bypassable. The expression refusal is tightened from "unresolvable expression" to ANY expression in the runs-on group position, because the weaker form invites an evaluator inside the guard. The append-refusal is restated as what it is: a frozen ORIGIN subset assertion, which makes an append VISIBLE rather than impossible, backed by review of any diff touching the enumeration or the guard — an in-repo guard can be edited, and the spec no longer implies otherwise. P1-5 LEDGER VS THE REALIZATION. For a bundle-less operation the record carries the register entry's DECLARED handling class and each lane's DECLARED group and label; observed group membership is attested by L5, never self-reported by the runner. Tasks 3.5 names the fields opensoft/xFactory#191 emits verbatim, and the refusal-ground enumeration is seeded closed with unregistered_operation and unknown_lane_selector. P2-1 worker-enrollment-broker named RATIFIED-BUT-UNPROMOTED (an active change under openspec/changes/, realized at contract-v1.29) in both the proposal and design D8, rather than promoted. P2-2 Report carrier settled: lane jobs forward facts as job outputs and an operation-report job COMPOSES the single report of record; spec R7 admits a composed report, tasks 6.3 describes that artifact and 5.1/5.2 name the harvester. P2-3 The producer's dispatch credential is scoped to dispatching the clearing workflow alone, with the honest residual: a compromised producer can still dispatch REGISTERED operations, and the closed register plus per-operation constraints are the containment — not the credential's scope. P2-4 The no-secrets/no-token-scopes constraints are scoped to the OPERATION CLASS, not to the clearing workflow forever; the clearing side gains its admission credential at the first bundle-carrying operation. P2-5 New task 3.7 carries the interim register explicitly: until 6.2's registry instance exists the register is the workflow's choice list plus the guard's constant — exactly the workflow-edit surface R6 forbids — and the workflow must validate against the instance once it lands. P3-1 tasks 5.3 cited "the design's declared svc-omniworker"; the design declares none. Now cites cloudpc-worker-handoff-prompt.md at the root of opensoft/xFactory, verified present, which specifies .\svc-omniworker. P3-2 Every bare #188 qualified as opensoft/xFactory#188 (and #528 as #528). P3-3 R1's convergence scenario is stated as expected-false until operator task 4.1 lands, in the spec and in 4.1 itself, so the first attestation run is not misread as a breach. P3-4 R7's probe REPORTS the lane's DECLARED group and label — the provider exposes no runner-group context to a job — with actual membership attested by L5. P3-5 The jobs-in-the-clearing-file rule is rephrased as the provider-neutral property (the host-touching job is declared in the artifact the provider evaluates its allowlist against), with the workflow file named as the realization; design D2 keeps the GitHub-specific evidence. P3-6 The label hazard is SYMMETRIC and now says so: the artifact runner also carries `artifact-only` AND `rider`, so neither label discriminates the lanes in either direction. Tasks 5.3's verbatim coding-runner label set stays. BLOCKER OF RECORD, recorded in tasks 9.2 rather than left as an implied green: #555's required pytest-suite check is RED from an INHERITED main failure — tests/doc-health/test_modified_block_currency_self_gate.py, newly-unnamed subject ('add-chain-attestation', 'signed-execution-chain', 'A gate validates the short chain as a hash-linked chain'), reproduced on origin/main b7dc590. This packet's spec delta is ADDED-ONLY and carries no MODIFIED block, so it cannot contribute a carriage-ledger subject; the failure is owned by the in-flight add-chain-attestation realization lane. MERGE WAITS on that lane's resolution; ratification does not. Verification: `openspec validate add-clearing-dispatch-boundary --strict` and `--all --strict` (80 passed, 0 failed) both green. doc-health single-repo run exits 0 with ZERO findings naming this packet and 0 new regressions. Co-Authored-By: Claude Fable 5 <[email protected]>
Adversarial round discharged — fixed at
|
| # | Finding | Disposition |
|---|---|---|
| P1-1 | proposal.md claimed "Every requirement below traces to it; nothing below extends it" — false for requirements 8–10 |
Fixed. Replaced with a per-requirement split, because a bulk claim in either direction was imprecise: R1–R7 trace to the written ruling; R8 generalizes the one retirement the record names verbatim ("PR #188's standalone workflow is retired into the clearing operation"); R9 (the authoring-time guard) is wholly absent from the record and is the largest extension; R10's dispatch record IS written ("records the dispatch") while its periodic attestation is not — the word appears nowhere in the record. All three carried as DECLARED EXTENSIONS from "fold 1-5 in and fan out". Mirrored in .openspec.yaml + front matter. |
| P1-2 | Origin record not locatable | Fixed. Located accurately everywhere: opensoft/xFactory root, cpc-clearing-boundary-ruling-2026-09-01.md, PR on branch record/cpc-clearing-boundary-ruling, merge pending Brett's word at authoring time — said so. New task 2.3 gates ratification on that merge; new task 2.4 asks that the three extensions be ratified as extensions. |
| P1-3 | L5 attestation red on day one; per-group expected set ill-defined | Fixed. Expected set now computed per group — clearing path ∪ that group's enumerated members with allowlist status present (one estate-wide set reports every group as diverging from every other group's members and can never be green). Divergence directions split: an entry the expected set does not derive is a WIDENING / single-door breach; an enumerated member with no entry is already failing closed → dark-lane disposition item (§8.3), not a breach. Enumeration moved out of the test module into the governed data file .github/clearing/grandfather-enumeration.yaml, read by both consumers, per member: workflow filename, governed group, host job ids, allowlist-entry status. Seeded with measured reality (group 7 → 1 entry; group 5 → 6; review-lane-worker + ideation-organizer-worker absent). Tasks 7.1 states what the first run should report: 0 allowlist widenings, 2 dark lanes, 2 not-yet-converged notices, and exactly one open widening — group 5's codexFactory admission, closed by task 4.3. spec.md's completeness claim now states two strengths, before and after the operator acts. |
| P1-4 | R9 asserts capabilities that do not exist | Fixed, all three parts. (a) Verified against the API: none of opensoft/xFactory's five active rulesets declares required_status_checks — 18962101 carries pull_request/non_fast_forward/deletion only. New operator act 4.5 creates the rule naming validate, and records the residual that 18962101's bypass_actors (OrganizationAdmin, always) leaves even a required check operator-bypassable. (b) Expression scenario kept and tightened — from "unresolvable expression" to any expression in the runs-on group position, "whether or not it could have been resolved", since the weaker form invites an evaluator inside the guard. (c) Append-refusal restated as a frozen ORIGIN subset assertion: it makes an append visible, not impossible, backed by review of any diff touching the enumeration or the guard. No unforgeable-refusal claim survives. |
| P1-5 | R10 ledger fields vs xFactory#191 | Fixed. Bundle-less clarification in the spec: the record carries the register entry's DECLARED handling class and each lane's DECLARED group and label; observed membership is attested by L5, never self-reported by the runner. Tasks 3.5 names #191's field spellings verbatim; refusal grounds seeded as a closed enum — unregistered_operation, unknown_lane_selector. |
P2
| # | Finding | Disposition |
|---|---|---|
| P2-1 | worker-enrollment-broker called promoted |
Fixed in both places (proposal + design D8): ratified-but-unpromoted — the active change openspec/changes/add-worker-enrollment-broker, realized at contract-v1.29, verified absent from openspec/specs/. |
| P2-2 | Structured-report carrier unsettled | Fixed. Lane jobs forward facts as job outputs; an operation-report job composes the single report of record. Spec R7 admits a composed report, tasks 6.3 describes that artifact, 5.1/5.2 name the harvester. |
| P2-3 | Producer dispatch credential unscoped | Fixed as a requirement paragraph + scenario in R4 (keeps the count at ten): scoped to dispatching the clearing workflow alone, with the honest residual — a compromised producer can still dispatch registered operations, and the closed register plus per-operation constraints are the containment, not the credential's scope. |
| P2-4 | No-secrets/no-scopes read as per-workflow-forever | Fixed. Scoped to the operation class in spec R7 and the proposal; the clearing side gains its admission credential at the first bundle-carrying operation. |
| P2-5 | Interim register not carried | Fixed. New task 3.7 says it outright: until §6.2's registry instance exists the register is the workflow's closed choice list plus the guard's constant — exactly the workflow-edit surface R6 forbids — and the workflow must validate against the instance once it lands. |
P3
| # | Finding | Disposition |
|---|---|---|
| P3-1 | tasks.md cited "the design's declared svc-omniworker"; the design declares none |
Fixed. Now cites cloudpc-worker-handoff-prompt.md at the root of opensoft/xFactory — filename verified present, specifies .\svc-omniworker at lines 62/179/183. |
| P3-2 | Bare #188 |
Fixed — every occurrence qualified opensoft/xFactory#188 (and #528 → opensoft/openxFactory#528). Grep-clean. |
| P3-3 | R1's convergence scenario expected-false until task 4.1 | Fixed in the spec and in 4.1: that interval is the not-yet-converged state, not a breach, so the first attestation run is not misread. |
| P3-4 | R7 report wording | Fixed. The probe reports the lane's DECLARED group and label — the provider exposes no runner-group context to a job — with actual membership attested by L5. |
| P3-5 | Jobs-in-the-clearing-file stated provider-specifically | Fixed. Neutral property: the host-touching job is declared in the artifact the provider evaluates its allowlist against; the workflow file is named as the realization. Design D2 keeps the honest GitHub-specific evidence and now says why it stays there. |
| P3-6 | Label hazard presented as one-sided | Fixed. The hazard is symmetric — measured the same day, the artifact runner also carries artifact-only and rider, so neither label discriminates the lanes in either direction; only coding-patch, the per-lane host-*-cpc-brett01, and the artifact host's task labels do. Tasks 5.3's verbatim coding-runner label set stays. |
Blocker of record — merge is NOT clear
Recorded in tasks 9.2 rather than left as an implied green: this PR's required pytest-suite check is RED from an inherited main failure.
tests/doc-health/test_modified_block_currency_self_gate.py::test_every_carriage_ledger_finding_over_the_real_tree_is_named- Newly-unnamed subject:
('add-chain-attestation', 'signed-execution-chain', 'A gate validates the short chain as a hash-linked chain') - Reproduced on
origin/mainb7dc5909. This packet's spec delta is ADDED-only — it carries no## MODIFIED Requirementsblock at all — so it cannot contribute a carriage-ledger subject. - Owned by the in-flight
add-chain-attestationrealization lane, which is where the named-subject list gets re-aimed. Fixing it here would edit another lane's gate out from under it. - Merge waits on that lane's resolution. Ratification does not.
Verification
$ OPENSPEC_TELEMETRY=0 openspec validate add-clearing-dispatch-boundary --strict
Change 'add-clearing-dispatch-boundary' is valid
$ OPENSPEC_TELEMETRY=0 openspec validate --all --strict
Totals: 80 passed, 0 failed (80 items)
python3 scripts/doc-health.py --single-repo . exits 0, with zero findings naming this packet and 0 new regressions vs the previous report. Ten requirements, all carrying SHALL on the first body line; scenario counts 5/4/4/5/3/4/5/3/6/8. Diff touches only the five packet files.
Not merged, as instructed.
The branch was CONFLICTING against `main` on `README.md` alone — a mechanical both-inserted-at-the-top collision in the "OpenSpec Records" Active-changes block, where `main` gained `retire-hermes-flat-keys-and-openworkflow-tokens` and `retire-doxbench-chat-turn-v1` while this branch added its own entry. Resolved by KEEPING ALL THREE entries; nothing from either side is dropped. Resolving it surfaced real residue of this round's own fixes, because the README entry restates the packet's claims and had not been carried with them: - **P1-2** — the entry located the origin record at `xFactory/cpc-clearing-boundary-ruling-2026-09-01.md`. Now stated accurately: the record at the ROOT of `opensoft/xFactory`, via a pull request on branch `record/cpc-clearing-boundary-ruling`, merge PENDING BRETT'S WORD, ratification GATED on it. - **P1-1** — the entry presented the ruling as the undifferentiated origin. Now carries the split: requirements 1–7 trace to the written record; requirements 8–10 EXTEND it, requirement 9 wholly absent from it. - **P3-2** — bare `#188` qualified as `opensoft/xFactory#188`. - **Stale count** — "over 41 scenarios" is now **47**, the scenarios this round added (5/4/4/5/3/4/5/3/6/8 across the ten requirements). - **P1-3 / P1-4** — the entry now names the grandfather enumeration as the governed data file both consumers read, the append-refusal as a frozen-ORIGIN subset assertion backed by review rather than an unforgeable refusal, the required-status-check rule the clearing repository does not yet have, and the attestation's PER-GROUP expected set with the widening / dark-lane split. `openspec validate add-clearing-dispatch-boundary --strict` green; `--all --strict` 82 passed, 0 failed (the count rises from 80 with `main`'s two new changes merged in). Co-Authored-By: Claude Fable 5 <[email protected]>
Follow-up — conflict resolved, and it surfaced residue of this round at
|
| Residue | Correction |
|---|---|
| P1-2 | The entry located the record at xFactory/cpc-clearing-boundary-ruling-2026-09-01.md. Now: the record at the root of opensoft/xFactory, via a PR on branch record/cpc-clearing-boundary-ruling, merge pending Brett's word, ratification gated on it. |
| P1-1 | The entry presented the ruling as the undifferentiated origin. Now carries the split — R1–R7 trace to the written record; R8–R10 extend it, R9 wholly absent from it. |
| P3-2 | Bare #188 → opensoft/xFactory#188. |
| Stale count | "over 41 scenarios" → 47 (5/4/4/5/3/4/5/3/6/8 across the ten requirements, after this round's additions). |
| P1-3 / P1-4 | The entry now names the enumeration as the governed data file both consumers read, the append-refusal as a frozen-ORIGIN subset assertion backed by review rather than an unforgeable refusal, the required-status-check rule the repository does not yet have, and the attestation's per-group expected set with the widening / dark-lane split. |
Had the conflict not been resolved here, P1-1 and P1-2 would have shipped half-applied — the packet body honest and its own index entry still asserting the claim P1-1 exists to retract.
Validation on the merged head: openspec validate add-clearing-dispatch-boundary --strict valid; --all --strict 82 passed, 0 failed (up from 80 with main's two new changes merged in).
The pytest-suite red is unchanged and still the inherited add-chain-attestation carriage-ledger failure described above — merge still waits on that lane. Not merged.
…s not exist yet
P1-2 asked that the packet locate the origin record accurately. The previous
commit wrote it as a pull request awaiting Brett's word, which still implied
something a reader could open. Measured against the provider API at this
commit, it is not:
- `opensoft/xFactory` branch `record/cpc-clearing-boundary-ruling` — 404, not
present on the remote.
- pull requests with that head branch, any state — none.
- `cpc-clearing-boundary-ruling-2026-09-01.md` at the root of `main` — 404.
So the record still has to be WRITTEN, PUSHED and MERGED, and every place the
packet cites it now says so and calls the citation a FORWARD REFERENCE rather
than a path: `proposal.md` ("Why" and the front-matter Origin line),
`.openspec.yaml`, the README index entry, and tasks 2.3 — which changes from a
"confirm the merge landed" item into a "the record does not exist yet, confirm
all three steps" one.
This matters more than the wording usually would, because requirements 8-10
are DECLARED EXTENSIONS whose only provenance is that record's append-only
addendum. Until it lands, none of their provenance can be opened by anyone,
and the packet should not read as though it could.
`openspec validate add-clearing-dispatch-boundary --strict` valid;
`--all --strict` 82 passed, 0 failed.
Co-Authored-By: Claude Fable 5 <[email protected]>
Correction to P1-2 — the origin record is a FORWARD REFERENCE, fixed at
|
| Check | Result |
|---|---|
opensoft/xFactory branch record/cpc-clearing-boundary-ruling |
404 — not present on the remote |
| Pull requests with that head branch, any state | none |
cpc-clearing-boundary-ruling-2026-09-01.md at the root of main |
404 |
So the record still has to be written, pushed and merged. Every place the packet cites it now says exactly that and labels the citation a forward reference rather than a path: proposal.md (both the "Why" split and the front-matter Origin: line), .openspec.yaml, the README index entry, and tasks 2.3 — which changes from a "confirm the merge landed" item into a "the record does not exist yet; confirm all three steps" one.
This matters more than wording usually would: requirements 8–10 are declared extensions whose only provenance is that record's append-only addendum. Until it lands, none of their provenance can be opened by anyone, and the packet should not read as though it could. It is also the single largest thing standing between this packet and ratification — larger than any remaining text issue.
openspec validate add-clearing-dispatch-boundary --strict valid; --all --strict 82 passed, 0 failed.
Head is now 85403812. Still not merged; the inherited add-chain-attestation pytest red is unchanged.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 6 out of 6 changed files in this pull request and generated 3 comments.
Suppressed comments (3)
README.md:436
- The reference to “PR #188” is ambiguous in this repository (openxFactory has its own PR #188). Since this is referring to xFactory’s workflow PR, spell it as
opensoft/xFactory#188here for unambiguous provenance.
ADDED requirements over 47 scenarios**, organized as the five enforcement
layers ruled in the same session: **the SINGLE DOOR** (fail-closed, and every host job living
physically inside the clearing workflow file because the provider evaluates
the allowlist against the file that CONTAINS the job — so no
openspec/changes/add-clearing-dispatch-boundary/proposal.md:66
- This quoted “PR #188” reference is ambiguous from the perspective of the openxFactory repository. Consider adding a parenthetical repo-qualified reference after the quote so a reader can locate the exact xFactory PR without mistaking it for openxFactory PR #188.
- **Requirement 8, route retirement.** The record names ONE retirement,
verbatim: *"PR #188's standalone workflow is retired into the clearing
operation."* So the specific act is on the record. THE GENERAL RULE IS NOT:
openspec/changes/add-clearing-dispatch-boundary/.openspec.yaml:62
- The reference to “codexFactory issue #156” isn’t repo-qualified. Since this packet also discusses multiple repositories and PR numbers, make this link explicit (e.g.,
opensoft/codexFactory#156) so readers can reliably find the record without guessing the repo.
`33381257642`, a codexFactory-path council smoke test, sat queued about
eighteen hours and was never claimable, because the runner group admits the
codexFactory repository but lists only xFactory workflow paths. It was
cancelled 2026-09-01 and recorded on codexFactory issue #156. The right
outcome, produced by a configuration nobody had written down — which is the
| REQUIREMENTS 8-10 EXTEND IT, per requirement rather than in bulk, because two | ||
| of the three have a partial written footing and one has none. Requirement 8 | ||
| (route retirement): the record names ONE retirement verbatim — "PR #188's | ||
| standalone workflow is retired into the clearing operation" — so the specific | ||
| act is written; the GENERAL rule, and the append-never shrink-only grandfather |
| **Origin: Brett Heap's operator ruling of 2026-09-01** | ||
| (`xFactory/cpc-clearing-boundary-ruling-2026-09-01.md`) — xFactory is THE | ||
| clearing and dispatch boundary for the governed Cloud PC, runner-group |
| target_release: THE NEXT ADDITIVE MINOR, DELIBERATELY NOT NUMBERED HERE — allocated AT REALIZATION by merge order per `docs/contract-versioning-policy.md`, which forbids a proposal reserving a minor before merge order is known. The count was taken at this branch's tip rather than remembered: `contracts/manifest.yaml:3` declares `contract_bundle_version: contract-v2.5` and `contracts/releases/contract-v2.5.digests.yaml` is a cut inventory in the tree. A NUMBER IS NOT WRITTEN HERE BECAUSE THE TWO CUTS AHEAD OF THIS PACKET ARE ALREADY CLAIMED: the in-flight realization of `add-chain-attestation` takes the next additive cut, and the in-flight realization of `add-chain-anchoring` allocates after it. This packet claims neither and names none; its realization reads the manifest at ITS OWN tip. THE CLASS IS ADDITIVE and nothing narrows: a new neutral contract family, no existing schema changes, no consumer pinned at the current bundle made non-conformant, and no domain obliged to own a governed execution host. | ||
| Status: draft | ||
| Proposed: 2026-09-01 | ||
| Origin: `cpc-clearing-boundary-ruling-2026-09-01.md` at the root of `opensoft/xFactory` — being committed there via a pull request on branch `record/cpc-clearing-boundary-ruling`, whose merge is PENDING BRETT'S WORD at this packet's authoring time and on which ratification is gated (`tasks.md` §2.3) — Brett Heap's in-session operator ruling of 2026-09-01, which is the whole substance of this packet, PLUS his OPTION-1 SUPERSESSION of that same day recorded in its "Immediate consequences" section: NO per-path allowlist addition for readiness, the readiness test becomes THE CLEARING LANE'S FIRST OPERATION, the workflow allowlist converges to ONE PERMANENT ENTRY PER GROUP added by the operator once, and `opensoft/xFactory#188`'s standalone diagnostic workflow retires into that operation. Requirements 1–7 trace to that written record; requirements 8–10 EXTEND it and are DECLARED EXTENSIONS ruled in the same session on Brett's verbatim instruction "fold 1-5 in and fan out", their provenance recorded in that record's append-only addendum — requirement 9 (the authoring-time guard) wholly absent from the record, requirement 8's general rule a generalization of the one retirement the record names, and requirement 10's periodic attestation an addition to the dispatch recording the record does state (the per-requirement split is in "Why"). Its immediate consequence is also on the record: stuck run `33381257642` (a codexFactory-path council smoke queued about eighteen hours, unclaimable by design) cancelled, recorded on codexFactory issue #156. |
|
@codex review |
| requirement 9, the authoring-time guard, is WHOLLY ABSENT from the record; | ||
| requirement 8 generalizes the one retirement it names; requirement 10 adds | ||
| the periodic attestation to the dispatch recording it does state. **TEN | ||
| ADDED requirements over 47 scenarios**, organized as the five enforcement | ||
| layers ruled in the same session: **the SINGLE DOOR** (fail-closed, and every host job living |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
…e pending The packet described the origin ruling record (cpc-clearing-boundary-ruling-2026-09-01.md) as a forward reference that still had to be written, pushed, and merged. It has since been written and pushed as opensoft/xFactory PR #192 (branch record/cpc-clearing-boundary-ruling, head 5b6a9fdf). Update .openspec.yaml, proposal.md, and tasks.md to name the PR and state that only the merge is pending Brett's word, with ratification still gated on that merge. Co-Authored-By: Claude Fable 5 <[email protected]>
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.
Suppressed comments (1)
README.md:434
- The PR description says this capability is “ten requirements over 41 scenarios”, but the spec in this PR contains 47
#### Scenario:sections (and this README entry also states 47). Please reconcile the scenario count (either update the PR description or adjust the packet) so reviewers don’t have conflicting numbers.
the periodic attestation to the dispatch recording it does state. **TEN
ADDED requirements over 47 scenarios**, organized as the five enforcement
layers ruled in the same session: **the SINGLE DOOR** (fail-closed, and every host job living
| its declared code surface (the xFactory `clearing-dispatch.yml` lane, the | ||
| retirement of `runner-readiness-diagnostic.yml`, the authoring-time guard, | ||
| and the future `contracts/clearing/` family) is realized POST-RATIFICATION, |
| `cpc-clearing-boundary-ruling-2026-09-01.md`, TO BE committed at the ROOT of | ||
| `opensoft/xFactory` via a pull request on branch | ||
| `record/cpc-clearing-boundary-ruling` merging on Brett's word, A FORWARD | ||
| REFERENCE NOT YET OPENABLE (measured: neither branch nor pull request | ||
| present on the remote, file not on `main`), and on which ratification is |
Brett Heap (repository owner) ratified this packet in-session on 2026-09-01, verbatim: "merge #192 and ratify #555". The origin record's pull request, opensoft/xFactory#192, merged the same moment at faee7a96ae6e06c15b6c2122947c62356e96f71d (2026-09-01T11:47:21Z), discharging tasks.md 2.3's gate on the origin record's provenance. Status: ratified, with the Ratified: line and record filed at review/ratification-2026-09-01.md. Ratification authorizes realization (xFactory PR #191, the post-ratification contracts/clearing/ artifacts at their own cut, and the operator console acts at tasks.md 4) and performs none of it. No contract byte moves with this act, and #555's own merge stays gated on the inherited pytest-suite failure recorded at tasks.md 9.2. Co-Authored-By: Claude Fable 5 <[email protected]>
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 7 out of 7 changed files in this pull request and generated 2 comments.
Suppressed comments (2)
README.md:422
- This README entry still describes the origin record as a forward reference “TO BE committed” / “NOT YET OPENABLE” and says ratification is gated on it, but the packet’s own proposal/tasks/ratification record say xFactory#192 is already merged. The index should reflect the current state so readers aren’t told the provenance is unavailable.
`cpc-clearing-boundary-ruling-2026-09-01.md`, TO BE committed at the ROOT of
`opensoft/xFactory` via a pull request on branch
`record/cpc-clearing-boundary-ruling` merging on Brett's word, A FORWARD
REFERENCE NOT YET OPENABLE (measured: neither branch nor pull request
present on the remote, file not on `main`), and on which ratification is
openspec/changes/add-clearing-dispatch-boundary/tasks.md:52
- Task 2.3 is still unchecked even though it states (with timestamp + SHA) that the origin record PR xFactory#192 is merged. If that merge is being asserted as completed, this checklist item should be marked done to avoid implying the precondition is still outstanding.
- [ ] 2.3 **RATIFICATION IS GATED ON THE ORIGIN RECORD BEING MERGED.** The
| rejected candidates); **OQ4** | ||
| attestation cadence and finding surface (recommendation: ride the | ||
| existing nightly lane, emit a doc-health-shaped finding). | ||
| - [ ] 2.2 Record the rulings as a Ratification section in `proposal.md`, set |
| honoring this ruling as its origin." That is the authorization to DRAFT and | ||
| nothing more: no ratification is claimed here, the packet lands `Status: | ||
| draft`, and the two acts only he can perform — ratification, and the one | ||
| console act per runner group — are carried as open tasks rather than as | ||
| approvals already given. |
…ied, a topology finding opened opensoft/xFactory run 33512287539 dispatched readiness-diagnostic through clearing-dispatch.yml on both lanes and ran green — the first operation ever through the clearing door. review/readiness-evidence-2026-09-01.md records the three preceding console acts (§4.1/4.3/4.4/4.5, verified against the provider API), the dispatch itself, and the per-gap disposition: the coding lane's isolated round trip and the artifact lane's service account both CLOSED with the report lines quoted; the artifact-only label hazard STILL OPEN. tasks.md §4 and §5 mark the discharged items done with dated pointers to the record. Two obligations that had no existing checkbox get one rather than staying recorded only in prose: §4.6 for the mislabeled runners, and §4.7 for the same-host topology the reports exposed (both lanes are two services on one Cloud PC, not two machines) — an operator decision, not a defect this record closes on its own. spec.md is untouched. Co-Authored-By: Claude Fable 5 <[email protected]>
…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.
🔵 Needs a closer look
There are several verified internal-document inconsistencies (README origin text, .openspec.yaml “draft” wording, and tasks checkbox state) that should be corrected before merge.
Review details
Suppressed comments (5)
README.md:509
- This README entry still states the origin record is a forward reference “TO BE committed” and “NOT YET OPENABLE”, but the packet’s own tasks/proposal say xFactory#192 merged (and the ratification gate was discharged). This should be updated so the README doesn’t contradict the packet’s internal records.
**Origin: Brett Heap's operator ruling of 2026-09-01** — the record
`cpc-clearing-boundary-ruling-2026-09-01.md`, TO BE committed at the ROOT of
`opensoft/xFactory` via a pull request on branch
`record/cpc-clearing-boundary-ruling` merging on Brett's word, A FORWARD
REFERENCE NOT YET OPENABLE (measured: neither branch nor pull request
README.md:550
- This clause says the clearing repository “DOES NOT HAVE YET” the required-status-check rule needed for the authoring-time guard, but
tasks.md/review/readiness-evidence-2026-09-01.mdrecord that operator act as completed. The README should reflect the current state to avoid misleading readers about whether the prerequisite has been satisfied.
unforgeable refusal, and which needs a required-status-check rule the
clearing repository DOES NOT HAVE YET (an operator act, §4.5) — and **the
openspec/changes/add-clearing-dispatch-boundary/tasks.md:52
- Tasks 2.2 and 2.3 are still unchecked even though the branch content indicates they’re already complete (proposal front matter is
Status: ratifiedwith the ratifying commit + record, and the origin record merge is recorded as merged). Leaving them unchecked makes the checklist internally inconsistent.
- [ ] 2.2 Record the rulings as a Ratification section in `proposal.md`, set
`Status: ratified` with the ratifying commit named, and state that the
change stays ACTIVE until the declared code surface is merged with
green evidence and the contract cut exists.
- [ ] 2.3 **RATIFICATION IS GATED ON THE ORIGIN RECORD BEING MERGED.** The
openspec/changes/add-clearing-dispatch-boundary/.openspec.yaml:82
- The
approved_bytext says “no ratification is claimed here” and that the packet landsStatus: draft, but this change’s proposal/review files in this PR are explicitlyStatus: ratified. The origin metadata should not contradict the packet’s actual status.
honoring this ruling as its origin." That is the authorization to DRAFT and
nothing more: no ratification is claimed here, the packet lands `Status:
draft`, and the two acts only he can perform — ratification, and the one
console act per runner group — are carried as open tasks rather than as
approvals already given.
README.md:525
- The PR description says the spec delta is “TEN ADDED requirements over 41 scenarios”, but the added spec file contains 47
#### Scenario:blocks (and this README entry also says 47). Please reconcile the PR description vs. the committed packet so reviewers don’t rely on the wrong scenario count.
the periodic attestation to the dispatch recording it does state. **TEN
ADDED requirements over 47 scenarios**, organized as the five enforcement
layers ruled in the same session: **the SINGLE DOOR** (fail-closed, and every host job living
- Files reviewed: 8/8 changed files
- Comments generated: 0 new
- Review effort level: Lite
…(152→153) Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01WNxTJoaJQkcDi2ybmLCZgW
There was a problem hiding this comment.
🔵 Needs a closer look
There are a few concrete internal inconsistencies (README origin forward-reference, tasks checklist state, and origin metadata wording) that should be corrected to keep the ratified record self-consistent.
Review details
Suppressed comments (5)
Previously missed (1) — in code that hasn't changed since the last review.
openspec/changes/add-clearing-dispatch-boundary/tasks.md:26
- Task 1.4’s suggested
git diff --statexpectation is already violated by this PR (it also changestests/sequenced_after/test_sweep.py). Update the task text so a reviewer doesn’t treat the test update as an unexpected extra file.
README.md:509
- This README entry still describes the origin record as a not-yet-openable forward reference, but the packet’s own proposal metadata says xFactory#192 was merged on 2026-09-01 (commit faee7a96…). The README should reflect the origin record as already merged so the index isn’t misleading.
**Origin: Brett Heap's operator ruling of 2026-09-01** — the record
`cpc-clearing-boundary-ruling-2026-09-01.md`, TO BE committed at the ROOT of
`opensoft/xFactory` via a pull request on branch
`record/cpc-clearing-boundary-ruling` merging on Brett's word, A FORWARD
REFERENCE NOT YET OPENABLE (measured: neither branch nor pull request
openspec/changes/add-clearing-dispatch-boundary/tasks.md:52
- Tasks 2.2 and 2.3 describe work that appears already completed in this branch (proposal front matter includes
Status: ratified+ ratification record, and 2.3 states xFactory#192 is merged). Mark them complete to keep the checklist accurate.
- [ ] 2.2 Record the rulings as a Ratification section in `proposal.md`, set
`Status: ratified` with the ratifying commit named, and state that the
change stays ACTIVE until the declared code surface is merged with
green evidence and the contract cut exists.
- [ ] 2.3 **RATIFICATION IS GATED ON THE ORIGIN RECORD BEING MERGED.** The
openspec/changes/add-clearing-dispatch-boundary/.openspec.yaml:82
- The origin metadata’s
approved_byblock says “the packet lands Status: draft”, but this packet is markedStatus: ratifiedin proposal.md and is listed as ratified in README. Update this text so the origin record doesn’t contradict the packet’s current status.
honoring this ruling as its origin." That is the authorization to DRAFT and
nothing more: no ratification is claimed here, the packet lands `Status:
draft`, and the two acts only he can perform — ratification, and the one
console act per runner group — are carried as open tasks rather than as
approvals already given.
README.md:525
- The PR description states “TEN ADDED requirements over 41 scenarios”, but the spec text for this packet contains 47
#### Scenario:blocks (and this README entry says 47). Please reconcile the PR description with the actual scenario count (or adjust the spec/README if 41 is intended).
the periodic attestation to the dispatch recording it does state. **TEN
ADDED requirements over 47 scenarios**, organized as the five enforcement
layers ruled in the same session: **the SINGLE DOOR** (fail-closed, and every host job living
- Files reviewed: 9/9 changed files
- Comments generated: 0 new
- Review effort level: Lite
…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]>
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]>
|
Merging on the operator's recorded word (Brett Heap, 2026-09-02, in-session): "merge #172 and #555" — following his ratification of this packet on 2026-09-01 (ratified head 15b14bb; record at review/ratification-2026-09-01.md). Admin squash with provenance, per openxFactory practice. Head 8d6f091: all four required checks green after main's inherited reds cleared (#557, #568) and this packet's own sequenced_after pin move (152→153, movement log in the test). Realization xFactory #191 is already merged and green; the clearing door is live with its first ledger entry cd-33512287539-1. 🤖 Generated with Claude Code |
… one of two `main` moved twice under this branch — #555 (`ab0bb2dd`) and #577 (`2898b104`) — and #555 moved the same live pin this branch moves, for the opposite reason: an ADDED-only packet raises the SOLE-modifier readings and leaves the co-modified ones, while a packet carrying a MODIFIED block does the exact opposite. The conflict is resolved by KEEPING BOTH MOVEMENT-LOG ENTRIES and appending this branch's as the third, rather than by picking a side. `change_ids - 1` reads 154 (152 at authoring, 153 at #555's landing, 154 here), `sole_modifiers - 1` holds at 49 and `active_sole - 1` at 12 — #555's readings, untouched — while `co_modified` reads 105 and `active_co_modified` 19. The pair is worth reading together and the log now says so: a packet that moved BOTH families of reading would be a defect in the sweep rather than a corpus event. Merged rather than rebased because the branch is already pushed and the repository ruleset declines a non-fast-forward. `pytest tests/sequenced_after` 118 passed. Co-Authored-By: Claude Fable 5 <[email protected]>
Copilot found the last of the review's own wake: proposal.md's `code_surface` still claimed authoring this change moves `change_ids - 1` from 152 to 153, while the pin it describes now asserts 154 and attributes 152 -> 153 to #555's landing on 2026-09-01. RE-DERIVED FROM THE LIVE SWEEP rather than reasoned about: `change ids (32 active + 123 archived): 155`, `co-modified 105`, `sole modifiers 50`, `ACTIVE co-modified / sole: 19 / 13`. So the absolute population moves 154 -> 155 and the `- 1` reading — which subtracts the pin's OWN owning change — moves 153 -> 154. Three sites now say exactly that in the same words: `code_surface`, tasks 4.7, and the README records row. AND THE FIRST MEASUREMENT IS KEPT RATHER THAN OVERWRITTEN, because it was true when taken: before #555 was merged in, the same act moved `change_ids` 153 -> 154 absolute. #555 moved the absolute population and the SOLE-modifier readings and left the co-modified ones untouched; this packet does the opposite. That pair is the same rule read from both ends, and the movement log already says a change moving BOTH families of reading would be a defect in the sweep rather than a corpus event. `validate-sequenced-after.py --sweep` re-derived; `pytest tests/sequenced_after` 118 passed; `openspec validate --all --strict` 85 passed / 0 failed. Co-Authored-By: Claude Fable 5 <[email protected]>
The ratification record and the proposal's convergence section now carry the fourth round: nine findings over four rounds, eight taken, one refused with a measurement. And the pattern is named rather than left as four separate corrections: THREE of the nine findings are the same shape — a narrative site left behind by a repair or by a merge, not a defect in the design. Two were mine to catch and were not caught until a reviewer pointed at them (the operative summary after OD-5 moved, the pin numbers after #555 merged in), one I caught on a read-through (the dispositions argument's tense). That is why the packet now carries a consistency sweep of its own counts instead of trusting them, and why the convergence section says so where a later reader will look. Co-Authored-By: Claude Fable 5 <[email protected]>
…d state, and contract-v2.6 is that state (DO NOT MERGE) (#578) * Propose declare-spent-bundle-state: the release-tag family has no third state, and contract-v2.6 is that state Issue #575, filed by the contract-v3.0 cut (#573, `ff9ed815`) at the moment it met the defect rather than afterwards. `release-tag-publication` has exactly two answers for a bundle — published, or owes a tag — and `contract-v2.6` is neither. It was declared at `bbbbeda9` (#565); `verify-commit` there returns five HGR-RELEASE-DIGEST-MISMATCH findings (measurement of record: PR #565 comment 5502452624), so the targeting rule has no legal target; and it declares change class ADDITIVE over a tree that refuses three shapes contract-v2.5 accepted, which no completion commit and no rebuilt inventory can cure. Brett Heap ruled the supersession 2026-09-02 — "Supersede: v3.0 is the completion" — and commissioned this packet: "Merge now, fix #575 next". Since `ff9ed815` the family reports that bundle at ERROR without grading and `test_this_repository_reads_zero_and_the_probe_can_fire` is RED on main. The action it prescribes is unperformable by anyone, and a finding whose only action cannot be taken teaches its readers to stop reading the report. ONE `## MODIFIED Requirements` BLOCK over the promoted `Release-tag publication` requirement, adding a SPENT state entered ONLY by an explicit reserved declaration and refused by every absence. SILENCE STILL ERRORS. The only way to quiet a spent bundle is to publish its SUCCESSOR's tag — the very act this family exists to compel — so the escape hatch cannot be taken by writing anything, which is the answer to #575's guard-against-the-obvious-abuse. THE RECORD IS `contracts/CHANGELOG.md`, NOT `health/dispositions.yaml`, and that is measured rather than preferred: dispositions key on (family, repo, path), every finding of this family lands on `contracts/manifest.yaml`, so one row would suppress the whole family for the repository forever — and the loader's own docstring records that the file is unreachable in the `--single-repo` scope the red self-gate runs in. The changelog is a release-inventory member a consumer already pins, is one of the three EDITORIAL members writable between cuts, and is already where this estate records supersessions twice over. SCENARIO-COMPLETE AND VERIFIED MECHANICALLY, not by eye: 11 of 11 canon scenarios present, 10 byte-identical, the eleventh differing by exactly one added AND bullet with nothing removed, all 67 canon body lines surviving. The block was BUILT FROM CANON at named anchors rather than retyped. Ten scenarios added; twenty-one in total. PROPOSAL ONLY (OD-8). #544's one-landing shape was ruled for a mechanical reason — a family ADDITION reddens family-enumeration's self-gate in the interval — and this change adds no family and moves no count. The cut's own entry says this vocabulary "owes its own change and its own review", the family's own precedent recorded an amendment "awaiting Brett rather than absorbed into the realization", and what is being amended is a fail-closed check. main stays red one more PR, on a red that is declared, named, inherited. OD-6 is the constraint #575 did not anticipate: the obligation-side paragraph belongs in `docs/contract-versioning-policy.md`, a NON-EDITORIAL member of `contracts/releases/contract-v3.0.digests.yaml`, so it rides the next cut rather than trading this error for a release-inventory-drift one. OPENSPEC_TELEMETRY=0 openspec validate --all --strict: 84 passed, 0 failed. proposal-support verify: ok. OD-1 … OD-8 and OQ-1 … OQ-3 flagged for veto. Co-Authored-By: Claude Fable 5 <[email protected]> * Record the measurement instead of predicting it: the packet moves NOTHING `--single-repo` doc-health with and without this packet, same clock — base a detached worktree at `ff9ed815`, head this packet COMMITTED, because an UNTRACKED packet is invisible to the readers and the first measurement was taken before the commit and had to be retaken. 6 critical / 5 error / 29 warning / 12 info on BOTH, and the two reports are BYTE-IDENTICAL once the repo-identity string is normalized — not merely equal in the four counts. The proposal predicted one `modified-block-currency` info; the measurement says zero, and the prediction is replaced by the number rather than left standing beside it. Three zeroes checked rather than assumed: `family-enumeration` reports nothing (no family, no count moves — OD-8's mechanical argument); `modified-block- currency` reports `scenario-title completeness: 0`, its gate-bearing arm, agreeing with the scenario-by-scenario verification; and the census is unmoved because `proposal.md` is in the LIFECYCLE SCAN SET rather than the governed corpus, which `Deterministic check families` states in terms. The one error that does not move is the point: `release-tag-publication` still reports contract-v2.6 at error in both runs, in the same words. Co-Authored-By: Claude Fable 5 <[email protected]> * Move the sequenced-after live pin, which CI found and the measurement missed The first `pytest-suite` run reported TWO failures, not one. The first is the inherited red this packet is about. The second is NOT inherited — `tests/sequenced_after/test_sweep.py::test_the_live_sweep_reproduces_the_AUTHORING_measurement` passes at `ff9ed815` in a detached worktree and fails with the packet, because AUTHORING an active change that carries a `## MODIFIED Requirements` block raises `co_modified` 104 -> 105, `active_co_modified` 18 -> 19 and `change_ids` 153 -> 154. That is the pin doing exactly its job, and its own docstring prescribes the response: "WHEN THE CORPUS MOVES, THIS PIN MOVES WITH IT — and the move is RECORDED below rather than silently re-typed", in the SAME COMMIT, with a dated MOVEMENT LOG entry naming which subject moved and why. So the log gains an entry and each moved assertion gains a message that distinguishes the TWO expected causes of its own failure — an ARCHIVE lowers `active_co_modified` while leaving `co_modified` untouched; an AUTHORING raises both — because a pin whose failure message names one cause invites the wrong repair for the other. THE THREE COUNTS THAT DID NOT MOVE ARE THE INTERESTING HALF, and they are now asserted with their reasons rather than left to coincidence: `sole_modifiers` holds at 49 (`change_ids - co_modified`, both sides up one), `active_sole` holds at 12 (the new change is a CO-modifier, not a sole one), and `declaring` holds at 1 — this packet declares no `sequenced_after:` field, the field being carried by an ACTIVE, UNPROMOTED change, and adopting an unratified surface is not what its "declaring must never be worth less than omitting" doctrine asks of a packet written before it lands. A change that added itself to both populations at once would be a defect in the sweep, and that is now checked rather than assumed. THIS FILE IS CORPUS BOOKKEEPING, NOT THE REALIZATION OD-8 DEFERS, and the proposal's `code_surface` says so rather than leaving a reader to infer it from a diff. Recorded in tasks 4.7 as a MISS: the doc-health measurement in 4.6 was complete for doc-health and was read as though it were complete for the repository. `python3 scripts/validate-sequenced-after.py .` passes (31 active, 1 declaring); `pytest tests/sequenced_after` 118 passed; `openspec validate --all --strict` 84 passed, 0 failed. Co-Authored-By: Claude Fable 5 <[email protected]> * Put the amendment note where its own claim is true As first spliced, the `**AMENDED BY declare-spent-bundle-state**` note sat directly after the paragraph it qualifies — and then claimed that "everything from here to the scenarios is this change's addition", with eight PROMOTED paragraphs sitting below it. The note mis-described canon as this change's work, which is the opposite of what a restatement note is for. The note now sits after the LAST promoted body paragraph and before the first scenario, so both halves of its claim are true as written. AND THE QUALIFICATION IT OWED IS NOW STATED. `A SUPERSEDED BUNDLE IS NOT GRADED BY DISTANCE` still reads "reported at `error` without grading", byte-unchanged, and that is still exactly what such a bundle reads as WHEREVER NO DECLARATION NAMES IT — every bundle in the estate's history but one, and the default forever. The sentence is kept byte-faithful rather than rewritten so a reader arriving at it meets the promoted rule and then its one exception, instead of a rewritten rule with no trace of what it replaced. Re-verified: 11 of 11 canon scenarios present, 10 byte-identical, the eleventh differing by one added AND bullet, 67 of 67 canon body lines surviving. `openspec validate --all --strict` 84 passed; `pytest tests/doc-health` 1384 passed. Co-Authored-By: Claude Fable 5 <[email protected]> * Ratify declare-spent-bundle-state, and take both Codex P1s into the requirement first RATIFIED 2026-09-02 by Brett Heap (repository owner), in session, in TWO ACTS over the two decisions this proposal declined to take by silence: - OD-3 ACCEPTED AS PROPOSED — a correctly declared spent bundle emits an `info` with its own finding key, not silence: "the reader who finds contracts/releases/contract-v2.6.digests.yaml with no matching tag is owed the answer where they are looking, and the key is what makes the one permanent finding auditable". - OD-4 ACCEPTED AS PROPOSED — "quiet only once the superseding bundle's tag is published, warning while it is cut but untagged, error where the named successor was never cut. The only way to make a bundle quiet is to publish its successor's tag." Record: review/ratification-2026-09-02.md, on the add-signed-execution-chain precedent. It carries the chain of authority as SEPARATE acts (#575 filed by the v3.0 cut -> the supersession ruling -> the commissioning -> these two rulings -> this ratification), what was flagged and how each was disposed, the bot rounds, the inherited red measured three ways, and a seven-item list of what ratification does NOT authorize. AND THE RATIFIED TIP IS NOT THE BASELINE, WHICH IS SAID FIRST RATHER THAN LEFT TO A DIFF. Two Codex P1s on `2b66096c` — the tip the ruling was given over — moved normative text before this commit. Both are NARROWINGS of what was ruled rather than departures from it, and both are holes in the guard the ruling had just accepted rather than extensions of it, which is why they are repaired here instead of filed as successors: - THE GUARD WAS SATISFIABLE BACKWARDS (new OD-9). As ruled it required the named successor to be CUT and PUBLISHED, never LATER. A declaration for contract-v2.6 written into contract-v2.5's entry and naming contract-v2.5 — cut, published, valid annotated tag on a declaring commit — passed every check, so an untagged bundle would have gone quiet with NO replacement published at all. The successor must now be STRICTLY LATER, with its own error and its own scenario. A decision whose purpose is "the only way to make a bundle quiet is to publish its successor's tag" is not met by a tag that already existed. - TWO SPENT BUNDLES WOULD HAVE SHARED ONE FINDING IDENTITY (OD-5 amended). `match_key()` is (family, repo, path) and ignores the rule, so the contracts/CHANGELOG.md path repeated the very defect OD-5 was written to avoid one step over: removing one declaration while the other stood would raise nothing. The findings now land on contracts/releases/<bundle>.digests.yaml, unique per bundle BY CONSTRUCTION — it is the artifact that made the bundle enumerable at all. The one finding with no inventory to land on (a declaration whose SUBJECT was never cut) stays on the changelog at `warning`. Three scenarios joined the delta for those two findings; twenty-one -> TWENTY-FOUR. Re-verified against canon: 11 of 11 promoted scenarios present, 10 byte-identical, the eleventh differing by one added AND bullet, 67 of 67 canon body lines surviving. COPILOT: the marker-form delimiter finding TAKEN (the reserved form is now a code block, and the requirement says why). The "unquoted #575 breaks YAML metadata" finding REFUSED WITH A MEASUREMENT: nothing parses proposal front matter as YAML — `yaml.safe_load` FAILS on add-release-tag-publication-check, add-requirement-ref-resolution-integrity and add-clearing-dispatch-boundary alike, on "mapping values are not allowed here" — the reader that exists is line-wise (`corpus.STATUS_RE`), and sixteen proposals already carry an unquoted `#<issue>` on their Origin line, this packet's own basis among them. The YAML surface that IS parsed, `.openspec.yaml`, already uses folded `>-` blocks for exactly that reason. AND A PARALLEL LANE MADE OD-6'S PREDICTION TRUE WHILE SPENDING ITS ARITHMETIC. PR #577 (`2898b104`) recorded the supersession in docs/contract-versioning-policy.md — the between-cuts edit to a NON-EDITORIAL inventory member OD-6 declined — and release-inventory-drift now reports it at ERROR on main. The analysis is vindicated and its conclusion overtaken in one stroke: the incremental cost of the SPENT-state paragraph is now ZERO. The decision is not rewritten retroactively; tasks 3.1 records the new arithmetic, notes that #577 discharges the consumer-facing half and MUST NOT be re-authored, and leaves the routing to the realization. Ratification authorizes realization and performs none of it: no checker line, no test, and no SPENT declaration lands in this commit. OQ-1 … OQ-3 remain OPEN. `openspec validate declare-spent-bundle-state --strict` VALID; `--all --strict` 85 passed / 0 failed; proposal-support verify ok; `status-validity` and `ratified-provenance` report nothing against this packet. Co-Authored-By: Claude Fable 5 <[email protected]> * Take round three: the ruled `warning` band was unreachable in the words that encoded it Four findings on the ratifying commit `7e9267a4`, all four TAKEN. The first is a defect in the ENCODING of what Brett ruled rather than in the design, which is why it is repaired here rather than filed. CODEX P1 — THE PROVISIONAL BAND WAS UNREACHABLE. OD-4 as ruled makes a cut-but-unpublished successor a `warning`. The delta wrote that case as a NON-ACCEPTANCE, and its fallback clause kept the superseded-and-never-published `error` for every declaration that was not accepted — so a conforming family would have reported BOTH a warning and an error through the legitimate publication window, contradicting the ruling the clause exists to encode. The requirement now names THREE outcomes rather than two — ACCEPTED, REFUSED, PROVISIONAL — and a PROVISIONAL declaration SUPPRESSES the superseded error and reports ONE finding. The suppression loses nothing and the requirement now says why: the successor is the bundle the manifest declares, so the distance arm grades it on its own account, warning inside its window and error past the threshold. The obligation has MOVED ONTO THE SUCCESSOR rather than been discharged, which is exactly what the successor guard is for, and the band is bounded by that grading rather than by this state's patience. The promoted scenario's added AND bullet and the warning scenario both now distinguish REFUSED from PROVISIONAL explicitly. CODEX P2 — THE PROPOSAL'S OWN SUMMARY CONTRADICTED ITS AMENDED DECISION. OD-5 moved the findings to `contracts/releases/<bundle>.digests.yaml`; § What changes still said `contracts/CHANGELOG.md`. A Spec Kit implementation following the summary would have rebuilt the exact shared-identity defect the requirement now avoids. Repaired rather than noted — a proposal whose operative paragraph contradicts its own decision is a defect in the proposal. COPILOT — `recognise` -> `recognize`. Canon spells it with a `z` five times and with an `s` never. A delta that introduces the other spelling into text it is RESTATING is introducing the drift the restatement exists to prevent. COPILOT — A PIN MESSAGE POINTING AT THE WRONG SUBJECT. The `co_modified` assertion said the population is "unchanged by THIS change" — true of the test's OWNING change, add-sequenced-after-substrate, whose requirement titles are ADDED and novel — while the reading it guards had just been raised BY this packet. It now names which change raised it and which one does not move it, because a pin whose failure message points at the wrong subject invites the wrong repair. Re-verified against canon after the repairs, which moved requirement prose and one existing scenario's bullets and added no scenario: 11 of 11 promoted scenarios present, 10 byte-identical, the eleventh differing by one added AND bullet, 67 of 67 canon body lines surviving. Twenty-four scenarios. `openspec validate --all --strict` 85 passed / 0 failed; `pytest tests/sequenced_after` 118 passed. Co-Authored-By: Claude Fable 5 <[email protected]> * Say "before this amendment" where the argument means it Self-caught on a read-through, not by a bot, and worth fixing because the sentence had just been made false by this change's own repair. The dispositions-file argument said "every finding this family raises against a repository lands on contracts/manifest.yaml". That was true when written and stopped being true two commits ago, when OD-5's amendment moved the spent-state findings onto per-bundle inventories — so a requirement arguing from a fact its own later paragraph contradicts. The claim is now tensed and scoped: every finding raised BEFORE this amendment lands on the manifest, so ONE entry on that path would suppress every absent-tag, misplaced-tag and lightweight-ref finding for the repository forever. And the argument is sharpened rather than merely repaired: the findings THIS amendment adds land on per-bundle inventories for exactly the same reason, which is the distinction `health/dispositions.yaml` has no way to draw. The coarseness belongs to the mechanism, not to the state. Re-verified: 11 of 11 canon scenarios, 10 byte-identical, one added AND bullet, 67 of 67 body lines. `openspec validate --all --strict` 85 passed / 0 failed. Co-Authored-By: Claude Fable 5 <[email protected]> * Move the three counts the review's own repairs made stale Self-caught on a consistency sweep. The two Codex P1s added three scenarios, and three sites still reported the pre-review shape: - proposal.md § What changes said "Ten scenarios are added, bringing the requirement to twenty-one" — now THIRTEEN and TWENTY-FOUR, and it names where the extra three came from rather than leaving the arithmetic to a reader. - README's records row said the same thing, and now says the same corrected thing. - .openspec.yaml's `approved_by` said the authoring session's decisions are "listed as OD-1 … OD-8" without pointing at OD-9, which the very next sentences record as added under review. It now points forward. A packet whose narrative sites disagree with its own delta is the shape `modified-block-currency` and `family-enumeration` both exist to catch, and this estate's record is that the catch was human every time until a check existed. It was human again here; the sweep is cheap and the drift is not. `openspec validate --all --strict` 85 passed / 0 failed; proposal-support verify ok. Co-Authored-By: Claude Fable 5 <[email protected]> * Take Copilot round 4: the pin numbers the merge with #555 made stale Copilot found the last of the review's own wake: proposal.md's `code_surface` still claimed authoring this change moves `change_ids - 1` from 152 to 153, while the pin it describes now asserts 154 and attributes 152 -> 153 to #555's landing on 2026-09-01. RE-DERIVED FROM THE LIVE SWEEP rather than reasoned about: `change ids (32 active + 123 archived): 155`, `co-modified 105`, `sole modifiers 50`, `ACTIVE co-modified / sole: 19 / 13`. So the absolute population moves 154 -> 155 and the `- 1` reading — which subtracts the pin's OWN owning change — moves 153 -> 154. Three sites now say exactly that in the same words: `code_surface`, tasks 4.7, and the README records row. AND THE FIRST MEASUREMENT IS KEPT RATHER THAN OVERWRITTEN, because it was true when taken: before #555 was merged in, the same act moved `change_ids` 153 -> 154 absolute. #555 moved the absolute population and the SOLE-modifier readings and left the co-modified ones untouched; this packet does the opposite. That pair is the same rule read from both ends, and the movement log already says a change moving BOTH families of reading would be a defect in the sweep rather than a corpus event. `validate-sequenced-after.py --sweep` re-derived; `pytest tests/sequenced_after` 118 passed; `openspec validate --all --strict` 85 passed / 0 failed. Co-Authored-By: Claude Fable 5 <[email protected]> * Record round four in the two places that keep the review's own account The ratification record and the proposal's convergence section now carry the fourth round: nine findings over four rounds, eight taken, one refused with a measurement. And the pattern is named rather than left as four separate corrections: THREE of the nine findings are the same shape — a narrative site left behind by a repair or by a merge, not a defect in the design. Two were mine to catch and were not caught until a reviewer pointed at them (the operative summary after OD-5 moved, the pin numbers after #555 merged in), one I caught on a read-through (the dispositions argument's tense). That is why the packet now carries a consistency sweep of its own counts instead of trusting them, and why the convergence section says so where a later reader will look. Co-Authored-By: Claude Fable 5 <[email protected]> * Two scenario titles differed by one word and meant opposite things `A SPENT declaration names a superseding bundle this repository never cut` and `A SPENT declaration names a bundle this repository never cut` sat five lines apart, and one is about the SUCCESSOR (an `error`, the declaration points at nothing) while the other is about the SUBJECT (a `warning`, the declaration disposes nothing and the real bundle is still reported). A reader skimming the titles would read them as a duplicate, and a test author picking one by title could write the wrong assertion. The second is now `A SPENT declaration's SUBJECT is a bundle this repository never cut`. Scenario titles are how this capability's own arms and its readers address scenarios, so an ambiguous pair is a defect in the delta rather than a matter of taste. Re-verified: 11 of 11 canon scenarios, 10 byte-identical, one added AND bullet, 67 of 67 body lines, 24 scenarios. `openspec validate --all --strict` 85 passed. Co-Authored-By: Claude Fable 5 <[email protected]> --------- Co-authored-by: brettheap <[email protected]> Co-authored-by: Claude Fable 5 <[email protected]>
…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]>
…re-derive the sequenced-after sweep pin after the contract-v3.0 cut Single conflict (tests/sequenced_after/test_sweep.py): both sides moved the authoring-measurement pin. Re-derived with scripts/validate-sequenced-after.py --sweep: 154 change_ids, 104 co_modified, 50 sole_modifiers, 17 active co-modified / 13 active sole — every assertion value already auto-merged to these numbers; MOVEMENT LOG keeps both entries (#555 2026-09-01, #571 2026-09-02) plus a synthesis bullet. openspec --all --strict 83/0. NOTE: tests/doc-health/test_release_tag_publication.py still fails on MAIN-NATIVE state (contract-v2.6 cut and superseded without a published tag; see #578) — not introduced here. Co-Authored-By: Claude Fable 5 <[email protected]>
|
Lane: openxfactory-f2 CLAIMED — lane openxfactory-f2, session_01WNxTJoaJQkcDi2ybmLCZgW (team-01d), 2026-09-02T22:50Z, for the stale-wording correction owed on this change's packet ( |
|
Lane: openxfactory-f2 Filed forward: PR #592 (branch |
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]>
… stale (§9.2 style) (#592) * add-clearing-dispatch-boundary: file forward what #555's landing made stale (§9.2 style) #555 (this packet) merged as squash ab0bb2d on 2026-09-02, and PR #191 (xFactory realization), PR #557 and PR #568 (the two inherited-red fixes) have all landed since the packet's own text was last written. File forward dated CORRECTION entries beside each now-stale statement, per this repo's convention (no deletion or rewording of retained text): - proposal.md Ratification section: "#555's own merge stays gated on..." corrected — #555 has merged. - tasks.md §9.2: the "CONSEQUENCE FOR THIS PULL REQUEST... MERGE WAITS..." clause corrected — the wait ended; #555 merged. Also notes the later, unrelated release-tag-publication red (#575) and its fix (PR #587) so a reader does not conflate it with this packet's own already-resolved reds. - tasks.md §3 heading: "authored IN PARALLEL... is being authored beside this one" corrected — it landed as xFactory#191, verified against the provider API. - design.md OQ3 heading: "PENDING RATIFICATION" corrected — ratification landed 2026-09-01 and confirmed OQ3 (tasks.md §2.1). Ticks §9.1 and §9.2 with evidence produced in this same commit: OPENSPEC_TELEMETRY=0 openspec validate add-clearing-dispatch-boundary --strict and --all --strict both green (84/84); python3 -m pytest -q tests/doc-health tests/sequenced_after: 1529 passed. §9.3 (release- realization archiving) is left untouched and not claimed. Lane: openxfactory-f2 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01WNxTJoaJQkcDi2ybmLCZgW * Address bot review: fix leftover-fragment wording, add whole-suite CI evidence for 9.2 Copilot (thread on tasks.md:562/566): the §9.1/§9.2 DONE annotations I added interrupted the original retained sentences mid-thought, reading as duplicated/leftover fragments. Fix: reordered so each original sentence stays intact and contiguous (no deletion or rewording of retained text, per this repo's file-forward rule), with my own DONE evidence now following rather than interrupting it — this only reorders text this PR itself introduced, not yet part of any landed record. Codex (P2 on tasks.md:567): the local `tests/doc-health tests/sequenced_after` run alone doesn't speak for the required `pytest-suite` check, which runs the whole `tests/` tree. Fix: added the required check's own result on this head as evidence — opensoft/openxFactory run 33693230302 passed (`8671 passed, 21 skipped, ... failures=0 errors=0`, freshness verifier passed) — so §9.2's tick is now backed by both the targeted suites and the full required suite, not the targeted suites alone. Lane: openxfactory-f2 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01WNxTJoaJQkcDi2ybmLCZgW --------- Co-authored-by: Claude Fable 5.1 <[email protected]>
…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
What this is
The NEUTRAL SEALED-BUNDLE CLEARING CONTRACT for the governed Cloud PC execution
estate, as an OpenSpec packet. Text only — proposal, design, spec delta,
tasks, origin metadata, README listing. No contract byte, no workflow, no
console act, no runner. Merge is gated on Brett's ratification word.
Origin
xFactory/cpc-clearing-boundary-ruling-2026-09-01.md— Brett Heap's in-sessionoperator ruling of 2026-09-01, which is the whole substance of the packet:
Runner-group allowlists stay xFactory-only. No factory is ever broadly
authorized to originate jobs directly to the host.
bounded request → hosted packaging (selected files only, no repository
credentials, signed manifest, hashes + source revision) → the xFactory
clearing workflow (verifies provenance, policy, schema; records the dispatch;
selects the exact runner and lane) → the runner receives ONLY the sealed
bundle → a hosted finalizer validates any returned output before it can affect
any repository.
API and never trusted from inside the bundle.
folder of copied data.
protected main — never repository-wide.
The option-1 supersession, same day, same author
Brett superseded the ruling's QA-now paragraph himself: no per-path allowlist
addition for readiness. The readiness test becomes the clearing lane's FIRST
OPERATION; the allowlist converges to ONE PERMANENT ENTRY PER GROUP, added
by him once, ever; and xFactory PR #188's standalone
runner-readiness-diagnostic.ymlretires into that operation. The packet isbuilt to the superseding form throughout.
The forcing fact, on the record
Run
33381257642— a codexFactory-path council smoke — sat queued abouteighteen hours and was never claimable, because the group admits the
codexFactory repository but lists only xFactory workflow paths. Cancelled
2026-09-01, recorded on codexFactory issue #156. The right outcome from a
configuration nobody had written down, which is why fail-closed is the floor
here and not the whole design.
The five enforcement layers, folded in as requirement material
Ruled in the same session ("fold 1-5 in"):
both repository access and
selected_workflows, and the allowlist convergesto one permanent entry per group. Because the provider evaluates
selected_workflowsagainst the workflow file that directly contains therunner job, every host-touching job must live physically inside the clearing
workflow file — no reusable-workflow indirection for a host job, ever. A
bypass does not run ungoverned: it queues unclaimable. The nine existing
worker workflows are carried as a closed grandfather enumeration that is
append-never and shrink-only.
clearing workflow with the bundle handle. The host never clones the origin
repo and never holds a credential scoped to it, so the boundary re-seals:
the hosted clearing side admits the producer's object with a scoped
credential of its own and serves the host from the clearing run.
lane retires the old route in the same change. No dormant second doors. The
precedent lands in this packet's own first slice: PR Propose add-staged-topic-outline-template: the outline is a contract, not a habit #188's workflow.
outside the clearing workflow and the enumeration that declares a job on a
governed group. Structural, not a text search: the estate already contains
the case that proves it, two
concurrency: group: xfactory-artifact-workerdeclarations one character off a runner group's name.
the door is single, that record is the complete audit of what reached the
host — a claim true only while the door is single, so a periodic attestation
reads the groups from the API and compares them to the expected entries. The
residual dependence on console-side settings the estate cannot version is
declared, not assumed away.
First permitted operation
The permitted-operations register is CLOSED (adding an operation is a
governed contract change). Entry #1 is
readiness-diagnostic: a strictlyread-only probe — runner identity vs expected, group, dispatch label, service
account, host identity, heartbeat/clock, a name-allowlist-only environment
echo, and a fixed-digest compute round trip; no secrets, no checkout, no writes,
no token scopes — emitting a structured operation report. Its checks are PR
#188's verbatim in substance, which is why #188 retires into it.
Spec delta
## ADDED Requirementson a new capabilityclearing-dispatch-boundary— tenrequirements over 41 scenarios: the single door; the sealed bounded request and
its ten fields; API-side verification (with the verifiable / merely
policy-checked split stated, so "verified" is never applied to a field nothing
could verify); the sanctioned producer exit with the re-seal; hosted validation
of returned output; the closed register;
readiness-diagnosticas entry #1;route retirement; the authoring-time guard; the ledger plus the single-door
attestation.
No second vocabulary. Runner groups, labels and trust tiers are
worker-enrollment-broker's; digests usesigned-execution-chain's oneconstruction; scoped tokens are
credential-contractsrecords; job scope isneutral-job-envelope's; handling class and host attestation aredocument-cataloging's andideation-routing's. Design D8 states the mapping asa table a reviewer can check, and D9 records the one real pull: both promoted
preflights forbid generalizing readiness into a competing readiness-result
schema, so the operation report is per-dispatch evidence, never the awaited
infrastructure-readiness decision input — and a future
eligible: truefieldon it is the moment that clause is broken.
Relationship to the parallel xFactory realization
The
opensoft/xFactoryclearing-workflow PR is being authored in parallelagainst the fixed interface constants in
tasks.md§3(
.github/workflows/clearing-dispatch.yml, operation idreadiness-diagnostic,both lanes' groups/labels/runners). That PR merges only after this packet
ratifies, and Brett's one console act per group comes after it lands, since an
allowlist entry naming a path that does not yet exist on
mainis an entrynobody can verify.
Two live measurements this packet rests on
Taken against the provider API 2026-09-01, recorded so a reader can re-take them:
xfactory-artifact-workers(5)opensoft/xFactory,opensoft/codexFactoryxfactory-execution-lane-workers(7)opensoft/xFactoryThe codexFactory admission is the residual the ruling closes and is why run
33381257642could queue at all;tasks.md§4.3 carries its removal. Twoworkflows (
ideation-organizer-worker,review-lane-worker) declare a group jobwith no allowlist entry, so they are already failing closed with nothing
reporting it — §8.3 carries their disposition. And runner
xfactory-coding-cpc-brett01carries a suspiciousartifact-onlylabel, flaggedfor investigation in §5.3.
Validation
doc-health
proposal-origin,status-validity,duplicate-packetandlocation-conformanceclean; the full single-repo run adds no finding and noregression.
Not in this slice, deliberately
The coding operation and the factory-side packaging realization
(
realize-factory-bundle-packaging); the hosted finalizer for patch-returningoperations, gated on that packaging because
readiness-diagnosticreturnsnothing a finalizer would validate; the nine grandfather retirements; throttling
and emergency shutdown (enabled by a single door, not specified here); and every
contracts/clearing/byte, which lands post-ratification at its own additive cut— the two cuts ahead are already claimed by the in-flight chain-attestation
and chain-anchoring realizations, so this packet spends no number.
🤖 Generated with Claude Code