Skip to content

CANARY B — add-chain-attestation § 5.8: a pull request with no signed open decision must FAIL this pull request (close unmerged) - #759

Closed
brettheap wants to merge 1 commit into
mainfrom
canary/5-8-b-no-signed-open-decision
Closed

brettheap wants to merge 1 commit into
mainfrom
canary/5-8-b-no-signed-open-decision

Conversation

@brettheap

Copy link
Copy Markdown
Contributor

Lane: openxfactory-1 (openXfactory-1)

DO NOT MERGE — this pull request exists to be REFUSED by the live signed-execution-chain-gate, and then closed unmerged with its branch deleted. Nothing in it is proposed for main.

The § 5.8 sentence this discharges

openspec/changes/add-chain-attestation/tasks.md § 5.8, verbatim:

Gate: a chain with a dropped runner attestation, and a pull request with no signed open decision, each FAIL a real pull request, with the run id, the check id, the validator's single named refusal, and the live ruleset read recorded.

This is the SECOND of that pair — a pull request with no signed open decision. Its sibling, a chain with a dropped runner attestation, is canary A (#758).

The third conjunct reads as § 5.8's ACCEPTANCE AMENDED 2026-09-07 has it — Brett Heap, on #579, in session, by multiple choice, the option labelled verbatim "Amend the task text", landed as PR #755, merge commit 64aad02e: "the validator's single named refusal" is the validator's named refusal SET for that canary, and for canary B that set is the DISTINCT TRUE FACTS the packaged fixture carries. The sequence is his second ruling of the same day, the option labelled verbatim "After the remedy lands" — which is why this pull request is opened now and not before.

What it does

It adds ONE YAML stream at a real in-tree location the whole-tree sweep walks — governance/signed-execution-chain/canary-b-do-not-merge-no-signed-open-decision.yaml. It is deliberately NOT under contracts/signed-execution-chain/examples/, which repo_scan() excludes (under_packaged_examples(), the three-component sequence contracts/<family>/examples) because layer 1 owns it. Placement is the whole canary.

  • Documents 1-106 — the tranche-two POSITIVE corpus verbatim, in the order the reader's own positive_records() loads it (sorted(glob("*.example.yaml"))): chains t2, t3, t4, t5, the tranche-two conformance declaration, and the CONSUMED add-trust-anchor records every tier-2 signature resolves against.
  • Documents 107-110 — the packaged negative fixture contracts/signed-execution-chain/examples/tranche-two/negative/attestations-presented-with-no-signed-decision.yaml verbatim: runner attestations presented for a chain of the fixture's own, with NO link-6 signed open decision behind the pull request that exists.

Not a byte of either half is edited. § 5.8's amendment rules that both canaries stay byte-for-byte as they ship at contract-v3.0; each of the seven source files was verified to appear verbatim in the stream.

The expected refusal set

Reproduced locally BEFORE this pull request was opened, against the gate's own invocation (python3 scripts/verify-openxwallet-pin.py, then python3 scripts/validate-signed-execution-chain.py . --require-pinned-wallet-vocabulary), on this branch's tree — 110 artifact(s) checked, exit 1:

ERROR [orphan_chain_identity] chain sha256:64b95694...a77710 resolves to no signed ratification (...#107, ...#109). ...
ERROR [chain_binding_names_another_chain] ...#108: the signing identity's binding serves chain sha256:269a80d8...96ff95, not this one
ERROR [orphan_pull_request] chain sha256:64b95694...a77710: runner attestations are presented and NO link-6 record exists. ...

validate-signed-execution-chain: 3 error(s), 0 warning(s)

orphan_pull_request + orphan_chain_identity + chain_binding_names_another_chain — exactly § 5.8's accepted set for canary B. The extra two beyond the fixture's own expected_failure are not a validator over-report and not a defect in the fixture: they are EARNED by the chain identity the fixture introduces of its own, on the corpus's own doctrine that a negative introducing a chain of its own "draws the completeness findings its own incompleteness earns". Anything outside that set fails the box rather than discharging it.

The CONTROL for this reading — the same 106 positives placed live at the same path with no fixture appended — draws 106 artifact(s) checked, 0 error(s), 0 warning(s). So the three refusals above are the fixture and nothing else, which is what #566 (squash 4fc7b94c) made possible and what #579 re-measured.

The live ruleset read

Read live at 2026-09-07T14:32:01Z, repos/opensoft/openxFactory/rulesets and repos/opensoft/openxFactory/rules/branches/main: organization ruleset 21957695, "openxFactory chain-gate (require signed-execution-chain-gate)", source opensoft (Organization), target branch, condition ref_name.include: ["~DEFAULT_BRANCH"], enforcement: active, required_status_checks contexts signed-execution-chain-gate and lane-line.

What else goes red, and why that is correct

pytest-suite fails beside the gate. That is one fact seen twice, not a second defect: 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, so a canary that reddened the gate and left that test green would mean the two had drifted apart. Same reading as canary PR #549 (add-signed-execution-chain task 4.6).

Disposition

Closed unmerged as soon as the run id, the check id, the refusal set and the mergeability read are captured; branch deleted; recorded on #579 and in § 5.8. No review is requested on this pull request — it is not a proposal.

Refs #579

🤖 Generated with Claude Code

https://claude.ai/code/session_01JZqmqSDBCmY4cfhPbxN9Xb

…, placed live so the required gate refuses it (#579)

add-chain-attestation tasks.md § 5.8's second canary. One YAML stream at
`governance/signed-execution-chain/`, which the whole-tree sweep walks and the
packaged-corpus exclusion does not cover: documents 1-106 are the tranche-two
POSITIVE corpus verbatim, documents 107-110 are the packaged negative fixture
`.../tranche-two/negative/attestations-presented-with-no-signed-decision.yaml`
verbatim. No byte of either half is edited — § 5.8's amendment of 2026-09-07
rules both canaries stay as they ship at `contract-v3.0`.

Reproduced locally against the gate's own invocation
(`python3 scripts/validate-signed-execution-chain.py . --require-pinned-wallet-vocabulary`,
openXwallet pin verified first): 110 artifact(s) checked, exit 1, and EXACTLY
the accepted set — `orphan_chain_identity`, `chain_binding_names_another_chain`
and `orphan_pull_request`, three DISTINCT true statements about the records in
scope, the extra two earned by the chain identity the fixture introduces of its
own. Control (the same 106 positives placed live with no fixture appended):
0 error(s), 0 warning(s).

This pull request is opened to be REFUSED and closed unmerged. Nothing here is
proposed for `main`.

Lane: openxfactory-1
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01JZqmqSDBCmY4cfhPbxN9Xb
Copilot AI lite review requested due to automatic review settings September 7, 2026 14:36

@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.

Copilot wasn't able to review any files in this pull request.


💡 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

Lane: openxfactory-1 (openXfactory-1)

Refused as designed: run 34133903555, check 101780251342, conclusion failure, refusal set orphan_chain_identity + chain_binding_names_another_chain + orphan_pull_request — THREE DISTINCT TRUE FACTS, the extra two earned by the chain identity the packaged fixture introduces of its own, which is exactly what § 5.8's acceptance (AMENDED 2026-09-07, PR #755 → 64aad02e) admits for canary B, and nothing outside it. GitHub reported mergeStateStatus: BLOCKED with that check at FAILURE under active organization ruleset 21957695 — the refusal held the merge. pytest-suite went red beside it as designed (test_the_reader_exits_zero_on_the_corpus_and_the_tree runs the very sweep the gate runs).

Closed unmerged; branch deleted; recorded on #579 and in § 5.8.

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