Skip to content

CANARY — deliberately broken chain record; MUST FAIL signed-execution-chain-gate; never merge (task 4.6, #534) - #549

Closed
brettheap wants to merge 1 commit into
mainfrom
change/chain-gate-canary-4-6
Closed

brettheap wants to merge 1 commit into
mainfrom
change/chain-gate-canary-4-6

Conversation

@brettheap

Copy link
Copy Markdown
Contributor

DO NOT MERGE. This is the controlled canary for add-signed-execution-chain task 4.6, carried at #534. It exists to be seen going RED and then closed unmerged, with its branch deleted.

What it does

It adds one YAML stream at a real in-tree location the whole-tree sweep walks — governance/signed-execution-chain/canary-do-not-merge-broken-chain.yaml. Documents 1-7 are the packaged positive corpus verbatim (one complete chain: inception, traveling contract, four log leaves, the realization's conformance declaration). Document 8 is the packaged negative fixture leaf-whose-predecessor-digest-is-wrong.yaml verbatim: a fifth leaf whose OWN digest and signature verify over its own bytes, and whose previous_leaf_digest is not the digest of the leaf before it.

The break is engineered to be singular. Editing a hex character inside an existing leaf would also invalidate that leaf's own digest and its signature, and would produce three refusals where the evidence conjunct calls for one.

The four conjuncts being collected

Task 4.6 closes on four facts recorded together — the shape task 2.6 of add-wallet-carried-review-authority proved on canary PR #387:

  1. the run id of the failing signed-execution-chain-gate run;
  2. the check id (check-run / job id) of the failing check;
  3. the validator's single named refusal — expected ERROR [leaf_hash_link_broken] ... #7: the predecessor digest ... does not match ... #5's own digest, ending 1 error(s), 2 warning(s), exit 1;
  4. a live ruleset read showing signed-execution-chain-gate REQUIRED on main — org ruleset 21957695, created by task 4.5 on 2026-08-31 on the wallet-gate precedent (org ruleset 21538893), re-read fresh against this pull request rather than cited from the act.

Conjunct 4 is why this box was blocked by construction until today: three of four conjuncts have been producible since the reader landed, and a box closed on three of four would be the closure-on-intention this family refuses.

One structural difference from PR #387

That canary mutated a live record — governance/review-authority/grants/grant-mrc-0001.yaml already existed and was already scanned, and the canary deleted one field from it. This family has no live record to mutate: repo scan: 0 artifact(s) checked is this repository's DECLARED expected state until a first ratification is incepted under the capability, and this realization mints no chain. So the canary must ADD the record it breaks. It is deliberately not placed under contracts/signed-execution-chain/examples/, which the sweep excludes because layer 1 owns it.

What else goes red, and why that is correct

pytest-suite fails beside the gate. That is one fact seen twice: tests/signed_execution_chain/test_chain_reader.py::test_the_reader_exits_zero_on_the_corpus_and_the_tree runs the very sweep the gate runs. A canary that reddened the gate but left that test green would mean the two had drifted apart.

The second reader-not-required warning is expected too: this file carries a copy of the declaration, and the declaration on main still records is_required_in_ruleset: false. Flipping that to match the ruleset state 4.5 established is a separate pull request, not this one.

Disposition

Closed without merge as soon as the four conjuncts are captured; branch deleted; no broken record ever reaches main.

…erge

This commit is not a fix and is not an improvement. It adds a chain record
that is WRONG ON PURPOSE, so that the now-required `signed-execution-chain-gate`
can be SEEN refusing a real pull request. It exists to be closed unmerged.

`add-signed-execution-chain` task 4.6 wants four conjuncts recorded together:
the run id, the check id, the validator's single named refusal, and a live
ruleset read showing the check required. Task 4.5 was performed 2026-08-31 (org
ruleset 21957695, mirroring the wallet-gate precedent 21538893), so the fourth
conjunct is readable at last and the box is producible.

The file is one YAML stream: documents 1-7 are the packaged positive corpus
verbatim — ONE complete chain — and document 8 is the packaged negative fixture
`leaf-whose-predecessor-digest-is-wrong.yaml` verbatim, a fifth leaf whose own
digest and signature verify and whose `previous_leaf_digest` names the wrong
predecessor. The break is engineered SINGULAR: editing a hex character inside an
existing leaf would also break that leaf's own digest and signature, and three
refusals is not the one the evidence conjunct asks for.

It sits at a real in-tree location the whole-tree sweep walks. Unlike PR #387,
which mutated a LIVE grant already in the tree, this family has no live record
to mutate — `repo scan: 0 artifact(s) checked` is this repository's declared
expected state until a first ratification is incepted — so the canary must add
the record it breaks.

Verified locally before pushing, with the openXwallet gitlink initialized
exactly as the gate initializes it:

  ERROR [leaf_hash_link_broken] governance/signed-execution-chain/canary-do-not-merge-broken-chain.yaml#7
  validate-signed-execution-chain: 1 error(s), 2 warning(s)   (exit 1)

`pytest-suite` goes red beside the gate, and that is one fact seen twice:
test_the_reader_exits_zero_on_the_corpus_and_the_tree runs the same sweep.

Co-Authored-By: Claude Fable 5 <[email protected]>
Copilot AI lite review requested due to automatic review settings September 1, 2026 00:41

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @brettheap! 👋

Your private repo does not have access to Sourcery.

Please upgrade to continue using Sourcery ✨

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR introduces a controlled canary artifact intended to fail the signed-execution-chain-gate (and corresponding pytest coverage) by adding a deliberately broken signed-execution-chain record at an in-tree location that the validator’s whole-repo sweep inspects.

Changes:

  • Adds governance/signed-execution-chain/canary-do-not-merge-broken-chain.yaml, a multi-document YAML stream containing the packaged positive corpus plus a single-fault negative leaf whose previous_leaf_digest intentionally breaks hash-link continuity.
  • Places the canary outside contracts/signed-execution-chain/examples/** so it is included by the validator’s repo sweep (which explicitly excludes packaged examples).

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@brettheap

Copy link
Copy Markdown
Contributor Author

CANARY PASS (expected red), 2026-09-01 UTC. All four conjuncts of add-signed-execution-chain task 4.6 are captured. Closing without merge and deleting the branch; the broken record never reaches main.

Head 516f996b75d2c0d02cc1701b4db4748079516bbc.

  1. Run id — 33455808456. signed-execution-chain-gate, started 2026-09-01T00:42:02Z, completed 00:42:30Z.
  2. Check id — 99695407307 (check-run / job), conclusion failure, from GET repos/opensoft/openxFactory/commits/516f996b…/check-runs.
  3. The validator's single named refusal, from the run log verbatim:
    ERROR [leaf_hash_link_broken] governance/signed-execution-chain/canary-do-not-merge-broken-chain.yaml#7: the predecessor digest sha256:01f1dbcc618b116a6d3ebb9076bc9891f545d33dbf92322db5a998cc62f9268b does not match governance/signed-execution-chain/canary-do-not-merge-broken-chain.yaml#5's own digest sha256:59ddc48363d52263e1a96586876ce5ab36e446e1ac0b7adf38b16cbbe8dc6127. A consistency proof against an observed head fails here, and the alteration is a fraud signal rather than a corrupted file
    
    validate-signed-execution-chain: 1 error(s), 2 warning(s)
    ##[error]Process completed with exit code 1.
    
    ONE error, named, from the closed enumeration of twenty-four. The red is a WALK THAT REFUSED, not a walk that never happened: the same log carries note pinned openXwallet vocabulary read…, note self-test: … 24/24 closed refusal codes red-proven, and note repo scan (…): 8 artifact(s) checked where main reports 0. The two reader-not-required warnings are the standing one, fired twice because this file carries a copy of the declaration.
  4. Live ruleset read, taken FRESH against this pull request at 2026-09-01T00:52:27Z rather than cited from the 4.5 act: orgs/opensoft/rulesets/21957695 and repos/opensoft/openxFactory/rulesets/21957695 both enforcement: active requiring signed-execution-chain-gate, and repos/opensoft/openxFactory/rules/branches/main independently returning that context from ruleset_source_type: Organization, ruleset_id: 21957695. GitHub reported this pull request mergeStateStatus: BLOCKED (mergeable: MERGEABLE — the tree is clean; the ruleset is what refuses).

The corollary red, recorded rather than hidden. pytest-suite failed too — run 33455808504, check-run 99695407850: FAILED tests/signed_execution_chain/test_chain_reader.py::test_the_reader_exits_zero_on_the_corpus_and_the_tree, 1 failed, 8362 passed, 21 skipped. Exactly one test, and the right one: it runs the very sweep the gate runs. One fact seen twice.

One structural difference from PR #387, stated rather than smoothed over: that canary MUTATED a live record (one field deleted from governance/review-authority/grants/grant-mrc-0001.yaml). This family has no live record to mutate — repo scan: 0 artifact(s) checked is the declared expected state and the packaged corpus is excluded from the sweep — so this canary had to ADD the record it breaks.

Full evidence record, all four conjuncts verbatim plus the exact broken document: ~/projects/xFactory/chain-gate-canary-2026-08-31/canary-evidence.md. 4.5's read: ~/projects/xFactory/chain-gate-ruleset-2026-08-31/live-ruleset-read.md. Both carried at #534.

@brettheap brettheap closed this Sep 1, 2026
@brettheap
brettheap deleted the change/chain-gate-canary-4-6 branch September 1, 2026 01:03
brettheap pushed a commit that referenced this pull request Sep 1, 2026
…t it

Copilot's review finding, confirmed and taken. Three committed lines pointed at
`~/projects/xFactory/...` files for the 4.5 ruleset read and the 4.6 canary
record. A path on one machine is not evidence anyone else can follow, and an
archived packet is exactly the artifact that outlives the machine.

The facts were already recorded inline — the ruleset parameters, the run id, the
check-run id, the named refusal, the BLOCKED status — so nothing is lost by
dropping the pointers. What replaces them is durable and world-visible: issue
#534, where both the live ruleset read and the four conjuncts are quoted verbatim,
PR #549's own closing comment, and the endpoints themselves, which anyone with org
access can re-read. That is the #387 precedent's shape: the evidence lives in the
prose beside the box and in the pull request's own record.

One correction to the finding's reasoning, since it will be read later: it cites a
repository-constitution rule against host-specific paths, and no such rule turned
up — `docs/tui-spec-questionnaire.md` and
`docs/notebook-projection-migration-evidence-2026-08-24.md` both carry absolute
`/home/brett/...` paths on `main` today. The finding is right on the substance and
wrong about the authority, and it is taken on the substance.

Co-Authored-By: Claude Fable 5 <[email protected]>
brettheap added a commit that referenced this pull request Sep 1, 2026
…laration says so (#534) (#550)

* The declaration stops saying the reader is unrequired, because it is required

`signed-execution-chain-gate` became a REQUIRED check on `main` on 2026-08-31 —
opensoft org ruleset 21957695, a dedicated ruleset mirroring the wallet-gate
precedent 21538893 — and a deliberately broken chain was then SEEN failing a real
pull request: canary #549, run 33455808456, check-run 99695407307, exactly one
named refusal (`leaf_hash_link_broken`), the pull request reported BLOCKED,
closed unmerged with its branch deleted. Those are `add-signed-execution-chain`
tasks 4.5 and 4.6, carried at issue #534. This commit changes no rule and adds no
capability; it makes the RECORDED state match the world.

THE FLIP. The packaged conformance declaration records
`is_required_in_ruleset: true`, names the ruleset in the schema's own
`ruleset_ref`, points `ruleset_evidence_ref` at the live read and the canary, and
moves SEC-R9 from `partial` to `satisfied` — its `declared_residual` removed,
because the validator refuses a satisfied entry that also declares one, and its
reason rewritten to state the act and the canary with their ids. The other eight
entries did not move: SEC-R1 and SEC-R6 keep their structural residuals and the
reader still refuses either recorded `satisfied`. Requirement 9 being met makes
the tranche ENFORCED, not complete. The reader now reports 0 errors and 0
warnings where it emitted the standing `reader-not-required` warning on every
run.

THE TESTS THAT PINNED THE OLD STATE. `test_the_reader_says_the_capability_confers_nothing_yet`
becomes `test_the_reader_no_longer_says_the_capability_confers_nothing` — the
assertion INVERTED rather than deleted — and a new
`test_a_declaration_recording_the_reader_unrequired_still_warns` holds the reader
to the rule for any realization that is NOT gated, so the first test cannot go
green for the wrong reason. `test_a_declaration_recording_sec_r9_satisfied_while_unrequired_is_refused`
keeps its name and its point; its mutation now has to set the reader unrequired
too, because SEC-R9 `satisfied` is the CORRECT record here and the refusal was
always about the pairing.

HISTORICAL RECORDS ARE AMENDED, NEVER REWRITTEN. `contracts/CHANGELOG.md`'s
contract-v2.5 section keeps every sentence it shipped with and gains a dated
addendum; README's OpenSpec Records entry keeps its account of what the archive
act did and did not do, and gains the correction after it; the archived
`tasks.md` has 4.5 and 4.6 ticked with their evidence beneath them and NOT ONE of
its "OPEN"/"NOT DONE"/"BLOCKED BY CONSTRUCTION" restatements edited away — those
were true when written, and deleting them is exactly the tidying-up they exist to
resist. Present-tense claims that are now false are corrected where they live:
both READMEs, the reader's docstring, the workflow header and its `--strict`
rationale, two test docstrings, the manifest comment, and the staged topic's
INDEX entry.

NOT TOUCHED, DELIBERATELY: `openspec/specs/signed-execution-chain/spec.md`, whose
requirement 9 was always conditional and needs no edit — canon moves through an
OpenSpec change, not a state flip; the negative fixture that must keep recording
`is_required_in_ruleset: false`, which still red-proves its code; and the
`OrganizationAdmin: always` bypass, which the declaration states rather than
implies a strength around.

Verified: the gate's exact invocation 0 errors 0 warnings exit 0;
`pytest tests/signed_execution_chain` 75 passed; `validate-manifest-digests.py`
155 rows verify; `openspec validate --all --strict` 78 passed.

Co-Authored-By: Claude Fable 5 <[email protected]>

* Cite the evidence where anyone can read it, not where one machine kept it

Copilot's review finding, confirmed and taken. Three committed lines pointed at
`~/projects/xFactory/...` files for the 4.5 ruleset read and the 4.6 canary
record. A path on one machine is not evidence anyone else can follow, and an
archived packet is exactly the artifact that outlives the machine.

The facts were already recorded inline — the ruleset parameters, the run id, the
check-run id, the named refusal, the BLOCKED status — so nothing is lost by
dropping the pointers. What replaces them is durable and world-visible: issue
#534, where both the live ruleset read and the four conjuncts are quoted verbatim,
PR #549's own closing comment, and the endpoints themselves, which anyone with org
access can re-read. That is the #387 precedent's shape: the evidence lives in the
prose beside the box and in the pull request's own record.

One correction to the finding's reasoning, since it will be read later: it cites a
repository-constitution rule against host-specific paths, and no such rule turned
up — `docs/tui-spec-questionnaire.md` and
`docs/notebook-projection-migration-evidence-2026-08-24.md` both carry absolute
`/home/brett/...` paths on `main` today. The finding is right on the substance and
wrong about the authority, and it is taken on the substance.

Co-Authored-By: Claude Fable 5 <[email protected]>

---------

Co-authored-by: brettheap <[email protected]>
Co-authored-by: Claude Fable 5 <[email protected]>
brettheap added a commit that referenced this pull request Sep 2, 2026
…e: a VALID tranche-two chain already produces 53 refusals in the sweep

§ 5.8 was ATTEMPTED on 2026-09-02, immediately after the `contract-v3.0` tag was
published, as the last of the cut's post-merge acts. **No canary pull request was
opened and the box stays open**, because the third of its four conjuncts — *"the
validator's SINGLE named refusal"* — cannot be delivered against the reader as
shipped. This box is unticked with the reason measured beneath it rather than
ticked on evidence that does not exist, which is § 5.9's own standard.

THE WHOLE-TREE SWEEP CANNOT ADJUDICATE A TRANCHE-TWO CHAIN AT ALL. `repo_scan`
admits only `KIND_TO_SCHEMA` and drops the three CONSUMED `add-trust-anchor`
kinds every tier-2 signature resolves against, while the module's own comment
beside `CONSUMED_KIND_TO_SCHEMA` says a reader that could not see them "could not
run the composition at all". Measured with canary #549's own technique — the
tranche-two positive corpus concatenated verbatim as one in-tree YAML stream,
then the gate's own invocation against an initialized openXwallet:

  control (the POSITIVE corpus, nothing broken)   53 refusals
  + the dropped-attestation fixture               56, ONE of them intended
  + the no-signed-decision fixture                59, ONE of them intended

THE CONTROL IS THE FINDING. Fifty-three refusals over a corpus this reader's own
self-test validates as clean is not a canary; it is the sweep refusing every
tranche-two chain on sight. A throwaway diagnostic copy — never committed, never
pushed — widening that one filter to `(KIND_TO_SCHEMA | CONSUMED_KIND_TO_SCHEMA)`
drops the control to 2, neither a chain refusal, and leaves the
dropped-attestation case at exactly the two intended. So all 53 are that filter
and nothing else.

AND WIDENING IT ALONE IS THE WRONG FIX, which is why this is packet work and not
a one-liner: the sweep's packaged-corpus exclusion tests for "examples" AND
"signed-execution-chain" in the path, so `contracts/trust-anchor/examples/negative/`
— records engineered to be invalid — goes live the moment its kinds are admitted,
and two refuse at once. A correct fix admits the consumed vocabulary AND
generalizes the exclusion to any owning family's `examples/`, which changes what
a REQUIRED gate refuses and owes its own scenarios and its own review. It must
not ride a canary pull request, whose whole job is to fail.

AND A SECOND, INDEPENDENT SHORTFALL OF THE SAME CONJUNCT, separated so neither
hides the other: with the sweep fixed, neither packaged fixture is singular. The
dropped-attestation case draws `dispatched_leaf_never_written` AND
`open_decision_enumeration_incomplete` — one fact seen twice, the same dropped
task refused from link 5's side and link 6's. The no-signed-decision case draws
`orphan_pull_request` PLUS `chain_binding_names_another_chain` and
`orphan_chain_identity`, because the fixture introduces a chain of its own that
resolves to no signed ratification; three codes, and those are not one fact. No
defect in the fixtures: the self-test asserts only that the expected code is
AMONG those found. #549 succeeded by borrowing a fixture "engineered to be
singular", and these two scenarios have no such fixture packaged.

CONJUNCT 4 WAS TAKEN ANYWAY, because it costs nothing and it is the one that
blocked § 4.6 by construction: read live at 2026-09-02T08:31:35Z — org ruleset
21957695, `enforcement: active`, required check `signed-execution-chain-gate`,
confirmed applying to this repository through both the repo ruleset endpoint and
`rules/branches/main`. Requirement 9's standing is untouched: the reader IS the
required check and #549 has seen it refuse a real pull request; what has not been
seen is it refusing THESE TWO tranche-two scenarios.

Filed as openxFactory issue #579. Full measurement, every command and every
verbatim refusal, at
`~/projects/xFactory/chain-attestation-canary-2026-09-02/canary-evidence.md`.
The #549 precedent record was read and not modified.

Co-Authored-By: Claude Fable 5 <[email protected]>
brettheap added a commit that referenced this pull request Sep 2, 2026
…and record the tag where three packets were waiting on it (#576)

* Resolve the doxBench sentinel to the published contract-v3.0 commit, and record the tag in the three packets that were waiting on it

`contract-v3.0` is PUBLISHED: annotated tag object
`59f4f51f2e0ac7c833cdaee9f385e9e83777650e`, peeling from the remote to
`ff9ed81541ab3eb2ebeb2e79676e5a875dd58064` — PR #573's squash. The tag was taken
only after § Bundle Realization Order STEP 4 was rerun ON THE PROMOTED COMMIT
from an independent clone: `verify-commit` and `verify-promotion` both `pass`
with `"findings":[]`, and the promoted tree proved BYTE-IDENTICAL to the reviewed
candidate `5418256a` (one tree sha, `12e326e5`). Then `verify-commit` and
`verify-tag` again from a second fresh clone, both `pass`. That rerun is the act
`contract-v2.6` never got, and it is why this bundle is publishable and that one
never can be. Evidence: PR #573 comment `5506503494`.

THE SENTINEL IS RESOLVED THE SAME DAY, which is the whole point of the
obligation. `scripts/ideation_dashboard/doxbench_contracts.py`'s `CONTRACT_REF`
moves off `unpublished:contract-v3.0` to `ff9ed815`, the commit the tag
dereferences to — never the tag object, exactly as the v2.2, v1.40, v1.38, v1.34
and v1.31 pins named their own. The companion test's `RELEASED_REF` moves with
it, spelled as its own literal rather than imported, so the test asserts what the
pin IS and not merely that the module agrees with itself. The
`contract-v1.45` residue stood three days and is what task 6.9 was written to
stop recurring; this one stood about two hours.

Nothing is rewritten to match today. The sentinel paragraphs, and the annotated
sweep sentence that predicted its own falsification, are left standing as the
record of what was true when they were written; the resolution is recorded beside
them. The sweep sentence is TRUE AGAIN at this commit, measured: no
`unpublished:` value is assigned anywhere in the repository — every remaining
occurrence is prose narrating a sentinel that was real at the time.

ONE LIVE CONSEQUENCE STATED RATHER THAN LEFT TO BE FOUND, from Copilot's
suppressed finding on the cut, which was not yet true there because the value was
still the sentinel: now that `CONTRACT_REF` is a 40-character sha, a doxBench
consumer must pin BY COMMIT, since `verify_stack_pin` compares
`xfactory.contract_ref` to it and does not branch on `contract_ref_type`. That
costs nothing real and the reason is written down: `validate-domain-openxfactory-pins.py`
accepts a tag ref only against `TAG_RE` (`vX.Y.Z`), which no contract bundle tag
has ever matched, so a stack cannot name this bundle by tag and pass its own pin
validator either. Widening `verify_stack_pin` would be a behaviour change owing
its own tests and is deliberately not taken here.

THE TAG IS RECORDED WHERE THE THREE PACKETS WERE WAITING ON IT, with the sha as
the evidence and with what remains stated rather than implied:

* `retire-hermes-flat-keys-and-openworkflow-tokens` 7.2 — ticked. §§ 5.1, 5.2,
  7.1, 7.3, 7.4 remain (the five-consumer run at the tag, the starter
  instantiation).
* `retire-doxbench-chat-turn-v1` 8.2 — ticked, with 6.9's post-tag act recorded
  beneath 6.9 itself. §§ 7.1, 7.2, 8.1, 8.3, 8.4, 8.5 remain.
* `add-chain-attestation` 5.9 — its cut half was ticked as DECLARED with "THE TAG
  IS NOT PART OF THIS TICK"; that paragraph is now discharged on its own terms
  rather than waived, and the note says plainly that a published tag is not a
  cleared archive gate: §§ 5.1–5.3 machinery gates and § 5.8's canary pair still
  block.

Root README's records block carries the publication for all three entries, in the
shape the `contract-v2.2` resolution two entries below already used (tag object,
peeled commit, both verifications, read from the remote).

NO RELEASE-SURFACE MEMBER IS TOUCHED — not the manifest, not
`contracts/CHANGELOG.md`, not the inventory — so `verify-commit` stays green on
this branch, confirmed: `pass`, exit 0, against
`contracts/releases/contract-v3.0.digests.yaml`. `openspec validate --all
--strict`: 83 passed, 0 failed.

INHERITED RED, disclosed: `pytest-suite` fails on exactly
`tests/doc-health/test_release_tag_publication.py::test_this_repository_reads_zero_and_the_probe_can_fire`
— issue #575, `contract-v2.6` reported at ERROR now that a later bundle is
declared, with the action it prescribes unperformable for that number. Measured
on `main` at the squash itself, run `33606357104`: `1 failed, 8620 passed`. It is
inherited, not caused, and the finding count is unchanged by the tag: the family
skips a bundle at distance 0 from the tip, so `contract-v3.0` was reporting
nothing and would have begun warning the moment `main` moved past it. Publishing
closed that before it opened.

Co-Authored-By: Claude Fable 5 <[email protected]>

* Record why add-chain-attestation § 5.8's canary pair is not producible: a VALID tranche-two chain already produces 53 refusals in the sweep

§ 5.8 was ATTEMPTED on 2026-09-02, immediately after the `contract-v3.0` tag was
published, as the last of the cut's post-merge acts. **No canary pull request was
opened and the box stays open**, because the third of its four conjuncts — *"the
validator's SINGLE named refusal"* — cannot be delivered against the reader as
shipped. This box is unticked with the reason measured beneath it rather than
ticked on evidence that does not exist, which is § 5.9's own standard.

THE WHOLE-TREE SWEEP CANNOT ADJUDICATE A TRANCHE-TWO CHAIN AT ALL. `repo_scan`
admits only `KIND_TO_SCHEMA` and drops the three CONSUMED `add-trust-anchor`
kinds every tier-2 signature resolves against, while the module's own comment
beside `CONSUMED_KIND_TO_SCHEMA` says a reader that could not see them "could not
run the composition at all". Measured with canary #549's own technique — the
tranche-two positive corpus concatenated verbatim as one in-tree YAML stream,
then the gate's own invocation against an initialized openXwallet:

  control (the POSITIVE corpus, nothing broken)   53 refusals
  + the dropped-attestation fixture               56, ONE of them intended
  + the no-signed-decision fixture                59, ONE of them intended

THE CONTROL IS THE FINDING. Fifty-three refusals over a corpus this reader's own
self-test validates as clean is not a canary; it is the sweep refusing every
tranche-two chain on sight. A throwaway diagnostic copy — never committed, never
pushed — widening that one filter to `(KIND_TO_SCHEMA | CONSUMED_KIND_TO_SCHEMA)`
drops the control to 2, neither a chain refusal, and leaves the
dropped-attestation case at exactly the two intended. So all 53 are that filter
and nothing else.

AND WIDENING IT ALONE IS THE WRONG FIX, which is why this is packet work and not
a one-liner: the sweep's packaged-corpus exclusion tests for "examples" AND
"signed-execution-chain" in the path, so `contracts/trust-anchor/examples/negative/`
— records engineered to be invalid — goes live the moment its kinds are admitted,
and two refuse at once. A correct fix admits the consumed vocabulary AND
generalizes the exclusion to any owning family's `examples/`, which changes what
a REQUIRED gate refuses and owes its own scenarios and its own review. It must
not ride a canary pull request, whose whole job is to fail.

AND A SECOND, INDEPENDENT SHORTFALL OF THE SAME CONJUNCT, separated so neither
hides the other: with the sweep fixed, neither packaged fixture is singular. The
dropped-attestation case draws `dispatched_leaf_never_written` AND
`open_decision_enumeration_incomplete` — one fact seen twice, the same dropped
task refused from link 5's side and link 6's. The no-signed-decision case draws
`orphan_pull_request` PLUS `chain_binding_names_another_chain` and
`orphan_chain_identity`, because the fixture introduces a chain of its own that
resolves to no signed ratification; three codes, and those are not one fact. No
defect in the fixtures: the self-test asserts only that the expected code is
AMONG those found. #549 succeeded by borrowing a fixture "engineered to be
singular", and these two scenarios have no such fixture packaged.

CONJUNCT 4 WAS TAKEN ANYWAY, because it costs nothing and it is the one that
blocked § 4.6 by construction: read live at 2026-09-02T08:31:35Z — org ruleset
21957695, `enforcement: active`, required check `signed-execution-chain-gate`,
confirmed applying to this repository through both the repo ruleset endpoint and
`rules/branches/main`. Requirement 9's standing is untouched: the reader IS the
required check and #549 has seen it refuse a real pull request; what has not been
seen is it refusing THESE TWO tranche-two scenarios.

Filed as openxFactory issue #579. Full measurement, every command and every
verbatim refusal, at
`~/projects/xFactory/chain-attestation-canary-2026-09-02/canary-evidence.md`.
The #549 precedent record was read and not modified.

Co-Authored-By: Claude Fable 5 <[email protected]>

* Take Copilot's finding: the § 5.8 record cites issue #579, not a path on one operator's filesystem

Copilot, on `a954f875`: a committed task document carried a host-local absolute
path (`~/projects/...`). **The finding is right and there was no precedent for
what I wrote** — a sweep of the repository found that line to be the ONLY
`~/projects/xFactory` reference in any tracked file, and § 4.6 of the archived
`add-signed-execution-chain` packet, which is the precedent this note follows in
every other respect, records its canary evidence INLINE — run id, check-run id,
the verbatim single refusal, the ruleset read — and cites no operator path at
all.

So the reference becomes **issue #579**, which carries the full measurement and
is reachable from this repository rather than from one machine. The note already
summarizes the measurement inline, and that is now stated as the discipline it is
following rather than left implicit.

The out-of-repo working record still exists on the operating host; it is simply
not what a later reader is pointed at, because a path only one filesystem can
resolve is not a record.

Co-Authored-By: Claude Fable 5 <[email protected]>

* Fix round 2 — Codex's whole-blocker-set finding and Copilot's TAG_RE overclaim, both taken

**Codex, on the § 5.8 note (P2, `tasks.md:1320`): "Include every unresolved
archive blocker."** The finding is right and the reason it matters is mechanical:
`scripts/proposal-support.py` refuses to archive while ANY `- [ ]` remains —
`if tasks.is_file() and re.search(r"^- \[ \]", tasks.read_text(), re.M): raise
SupportError("change has incomplete tasks")` — so naming only §§ 5.1–5.3 and 5.8
made the packet look FOUR reasons closer to archivable than it is. § 5.9's note
now carries the whole measured set as a table: **2.8, 3.2, 3.3, 5.1–5.3, 5.8,
6.1**, eight boxes, with what each one is. The README entry points at that
enumeration rather than restating a subset, and says plainly which line names the
gates that matter most versus which names all of them.

**Copilot, on `doxbench_contracts.py:335`: the `TAG_RE` wording overclaimed.**
Also right. The comment said the pin validator accepts a tag ref "only if it
matches `vX.Y.Z`", and the actual regex —
`^v[0-9]+\.[0-9]+\.[0-9]+(?:[-+][0-9A-Za-z.-]+)?$` — also admits an optional
prerelease or build suffix, so `v1.2.3-rc.1` and `v1.2.3+meta` pass. The rule is
now stated AS THE REGEX so no reader infers a stricter constraint than exists.
**The conclusion is unchanged and the reason is now the right one**: what
disqualifies every contract bundle tag is the `contract-` PREFIX and the
two-component version, neither of which any suffix rescues — `contract-v3.0` does
not match, and no bundle tag from `contract-v1.7` onward ever has.

Local, at this head: `test_doxbench_contracts.py` 106 passed; `openspec validate
--all --strict` 83 passed, 0 failed; `verify-commit --commit HEAD` pass against
`contracts/releases/contract-v3.0.digests.yaml` — no release-surface member is
touched by this branch.

Co-Authored-By: Claude Fable 5 <[email protected]>

* Fix round 3 — apply Codex's whole-blocker-set finding to the OTHER two packets' README lines, where I had made the same mistake

Codex's P2 on the § 5.8 note was that naming a subset of the unchecked boxes
makes a packet read as closer to archivable than it is, because
`scripts/proposal-support.py` refuses to archive while ANY `- [ ]` remains. I
took that finding on `add-chain-attestation` and then left the identical defect
standing in the two lines I had written for its siblings — self-review caught it
after the fix, and it is corrected rather than left for the next reviewer to find
twice.

  retire-hermes-flat-keys-and-openworkflow-tokens
    was: "§§ 5.1, 5.2, 7.1, 7.3 and 7.4 are what remain"
    now: "SIX boxes remain — 1.6, 5.1, 5.2, 7.1, 7.3 and 7.4"
         (1.6 is the adversarial review to convergence, still open)

  retire-doxbench-chat-turn-v1
    was: "§§ 7.1, 7.2, 8.1, 8.3, 8.4 and 8.5 remain"
    now: "SEVEN boxes remain — 1.8, 7.1, 7.2, 8.1, 8.3, 8.4 and 8.5"
         (1.8 is the same, in that packet)

Both lines now state WHY the set is given in full, so the next editor does not
prune it back to the interesting part. Nothing about the discharged boxes
changes: 7.2 and 8.2 are ticked on the published tag exactly as before.

Co-Authored-By: Claude Fable 5 <[email protected]>

* Point the § 5.8 record at PR #566, the adopted fix already in flight, and say what it does NOT close

**I filed #579 without finding PR #566 first, and #566 had been open since
2026-09-01 for the identical cause** — raised the same way, by an earlier session
attempting this same box. That is a search I owed and did not do, and the record
now names the fix a later reader should follow rather than only my own issue.

#566 (`fix/chain-repo-scan-consumed-kinds`) was ADOPTED by Brett Heap on
2026-09-02 — *"adopt #566, take it to green, merge on my word"* — and carries
exactly the remedy this measurement points at, in both halves: the scan collects
`CONSUMED_KIND_TO_SCHEMA` kinds into scope as the packaged corpora do, AND
excludes trust-anchor's own packaged `examples/` on the same ground this family's
are already excluded. Both halves are what make it a fix rather than a widening.

**#579 is left standing rather than closed as a duplicate, because of what it
settled.** #566's body claimed each canary would draw "exactly one error" once
the scan was fixed; #579 measured both fixtures as NON-SINGULAR even in a clean
scope — A drawing 2, B drawing 3. The two readings were re-measured against each
other with the fix applied, #579's was confirmed, and #566's claim was withdrawn
as false on that pull request. A duplicate that catches a false claim in an
adopted change earns its place; it does not excuse skipping the search.

**AND THE RECORD NOW SEPARATES THE PRECONDITION FROM THE CONJUNCT**, which is the
part that matters for whether this box can close. #566 landing makes the sweep
able to adjudicate a tranche-two chain at all — NECESSARY, NOT SUFFICIENT. § 5.8's
third conjunct still needs either a singular negative fixture per named scenario,
or an amendment accepting "one fact seen twice" where the two refusals are the
same dropped link read from both sides — which case A satisfies and case B does
not. Re-cutting a packaged fixture that ships at `contract-v3.0` is its own
contract act. This box does not close on #566 alone.

`openspec validate --all --strict`: 83 passed, 0 failed. `verify-commit --commit
HEAD`: pass — no release-surface member is touched by this branch.

Co-Authored-By: Claude Fable 5 <[email protected]>

---------

Co-authored-by: Claude Fable 5 <[email protected]>
brettheap added a commit that referenced this pull request Oct 9, 2026
…atify + land when green"

Brett Heap, first-hand, in lane codeXfactory-1's own session, as a selection
in a multiple-choice round, at 2026-10-09T21:00:16.594Z (the session
transcript's timestamp on his answer). The question, verbatim: "openxFactory
#1288 (G-1) deletes the two codexFactory sibling dispositions, with its tests.
It's safe to land first, and is the prerequisite for #549's second advance
carrying 7.3. What should happen with it?" The option chosen, verbatim:

    "Ratify + land when green (Recommended)"

offered as "Ratify and land it in openxFactory under Rule 6 when green. That
unblocks 7.3's second advance, which must then re-derive both siblings in one
codexFactory PR." Not taken: "Ratify only" ("Record the ratification, and land
it later on its own word") and "Hold" ("Leave it as a DRAFT").

WHERE IT IS RECORDED. PR #1288 comment 6089181718 (21:00:58Z, "WORD, recorded
before any act"), and the estate's lane register at opensoft/brett-wip commit
78488f6c0c944ba92ae3818f8ececd40236b6333, lanes/log/codeXfactory-1.md, RULED
line 2026-10-09T21:01:42Z on openxFactory #1286.

THE HEAD IS NAMED: ed0c67a, the only head
the pull request had carried (committed 20:55:13Z, the PR opened DRAFT at
20:55:30Z, the question put at 20:56:43Z). So this is a SECOND commit over
ed0c67a and not a rewrite of it: the packet was genuinely draft when written
and pushed, and is ratified from the commit that records the word.

RATIFIED AS DRAFTED. The word is bare as to this text. It names no amendment
and rules no open question, so OQ-1 to OQ-4 (design.md section 7) land at their
defaults and stay flagged rather than resolved: CANON_MOVED kept (OQ-1); the
template's tasks.md 6.3 left unedited (OQ-2); the packet lands on its own
landing word after ratification (OQ-3); CITED_ACTIVE_PACKETS left as it is
(OQ-4). The word is also the deletion's authority (design.md section 1).

THE SAME ANSWER CARRIES THE LANDING WORD as its own component, "land when
green". IT IS NOT THE MERGE: the pull request stays DRAFT, and the landing is
the coordinator's act under lane-collision Rule 6, read green on the head that
lands.

Encoded per the shape of disposition-codexfactory-regular-pr-council-clearance-archive's
ratification (cc716b5, PR #1004), as this packet's own tasks.md 0.2 lists:
proposal.md Status: ratified plus one Ratified: line in the header window, and
the drafting-word sentence that said the packet stays draft STRUCK rather than
deleted; design.md and tasks.md Status: ratified plus Ratified by:; design.md
section 7 gains a dated note landing the four OQs; .openspec.yaml gains the
origin approval pair (approved_by / approved_on) beside the drafting pair, which
is kept as authored; review/ratification-2026-10-09.md records the word, its
three options, the head, and a disclosure table; the README OpenSpec Records
entry is updated. The [OWNER] boxes 0.2 and 0.3 stay UNTICKED, each with a
dated note beneath it: an agent does not tick an owner's-act box. No pin,
test, ledger row or evidence byte moves.

Run on this tree before committing: the pinned CLI on this change, "Totals: 1
passed, 0 failed (1 items)"; proposal-support.py verify on this change, ok;
doc-health ratified-provenance, proposal-origin and status-validity
(--single-repo) report no finding naming this change, and their finding lists
are identical to the same runs over ed0c67a.

Refs #1286, codeXfactory/codeXfactory#549

Lane: codexfactory-1 (codeXfactory-1)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants