Skip to content

Realize amend-chain-anchoring-readiness-and-durability requirements 2 and 3: the fixed-UTC durability batch, and submitted is not confirmed - #657

Merged
brettheap merged 14 commits into
mainfrom
change/realize-anchoring-readiness-and-durability
Sep 4, 2026
Merged

brettheap merged 14 commits into
mainfrom
change/realize-anchoring-readiness-and-durability

Conversation

@brettheap

Copy link
Copy Markdown
Contributor

Lane: openxfactory-1d

Claim: #548 (comment)

The chain, in one line each

#548 (471d3361, 2026-09-04) ratified amend-chain-anchoring-readiness-and-durability
requirements 2 and 3 — Brett Heap, repository owner, in session, verbatim
"ratify 2 and 3"; requirement 1 WITHDRAWN, not refused, by his separate earlier
ruling of the same day. Ratification promotes a spec delta and realizes
nothing
, and that packet's own tasks.md says so in its header.
#629 (11feff75) landed the basis: twelve schemas, a refusing reader, a
packaged corpus. This PR is the successor realization the ratification
created, authorized 2026-09-04 in session: "build the successor realization on
629's schemas."

⚠️ CUT ORDERING — THIS MUST LAND BEFORE #653, OR #653 MUST BE RE-DERIVED

#653 (chore/cut-contract-v3.4) is open and publishes this exact family.
Recorded on it: #653 (comment)

One of this PR's changes is not additive: anchor-state.schema.yaml's
closed per-witness status enumeration [in_flight, landed, terminally_failed]
is REPLACED. That is free before publication and a compatibility break after
it, and today it is free — measured, not assumed:

$ git tag --contains 11feff75
(empty)
$ grep -c chain-anchoring contracts/releases/contract-v3.3.digests.yaml
0

The contract-v3.3 tag (16b85614) predates the basis realization by twenty
minutes, so the family is REGISTERED in contracts/manifest.yaml and UNSHIPPED
in every bundle. #653 is precisely the act that ends that window. If it lands
first, contract-v3.4 publishes the retired spelling and this same edit becomes
a break against a published bundle — the amendment's tasks.md header says it
in its own words. #653's own additive argument rests on a grep
("returns zero matches") that is stale at this head, and its
contracts/manifest.yaml digest would need re-deriving either way.

Why the enumeration had to be replaced rather than widened

in_flight carried ONE word for two facts requirement 3 requires be distinct: a
witness with no accepted submission evidence, and a witness whose submission
an interface accepted while the approved confirmation condition remains
unmet
. One word for both is exactly what lets interface acceptance read as
progress toward confirmation — the defect requirement 3 exists to close.

Old Becomes Mechanical?
in_flight pending or submitted No — and that is the measure of what the old value was hiding
landed confirmed Yes, plus the profile reference the new value requires
terminally_failed terminally_failed Unchanged, same closed ground set
— invalid, unevaluable New; obliged by the amendment's own refusal scenario, which requires a verifier to report "the actual submitted, pending, invalid, or unevaluable state"

Widening instead would have left in_flight and landed in the vocabulary as a
second, ambiguous spelling of the same states — the drift this family's
one-definition rule exists to prevent — and left every consumer free to keep
using the word that conflates the two facts. The migration is written into the
witness_evidence_state $def itself, with the pre-publication measurement
beside it, and into the family README's own table.

The durability witness additionally reports two layers —
upgrade_stage.aggregation_submission and .chain_confirmation — because the
amendment requires the record to say "OpenTimestamps submitted and Bitcoin
pending"
, which one field cannot express and which is the exact state in which
an unupgraded detached proof gets mistaken for durability.

What landed

Six new record shapes (the family is eighteen files, not twelve): the
operator-approved confirmation profile and its append-only signed register, the
released immutable daily-Merkle construction, the append-only eligibility
register that fixes the denominator, the one atomic admission of one event into
one fixed UTC window, and the canonical signed manifest of one closed window —
which is the anchored item of this profile.

Eighteen shared $defs in anchoring-definitions.schema.yaml, because the
two requirements share a registry discipline and a window model and two
spellings of either is the drift that file exists to prevent. The two registers
share an entry DISCIPLINE and not an entry SHAPE: a single shape over both would
make them indistinguishable to anything that compares them.

Forty-eight further closed refusal codes, and the reader recomputes rather
than believes
. The released construction is RESOLVED and every leaf, membership
path and batch root is recomputed under it. The composition runs under the
estate's ONE digest construction, with the domain separators travelling inside
the canonical JSON, so no second hashing rule is minted to reach a Merkle
tree
— and a construction whose declared ordering or shape cannot be reproduced
deterministically is refused rather than trusted (acceptance_time_ascending is
refused for a stated reason: timestamps tie, a tie has no deterministic
tiebreak).

Manifests are reconciled against their own window's admissions. A manifest
that lowers its last sequence and count to match a retained prefix is caught even
though its three summary numbers and its root are perfectly self-consistent —
which is the one attack a self-consistent summary cannot detect. Continuity
resolves to the immediately preceding item's configuration-bound anchored digest;
a link over the previous BATCH ROOT is refused because two consecutive empty
windows share that root on purpose, and a gap between consecutive windows is
refused because a chain of daily items with holes proves nothing about the days
in the holes.

Six digest_subject members added on digest-construction.schema.yaml's own
written invitation, with canonical.py's frozen mirror moved with it. No
second construction. No leaf-grammar widening
— the durability profile's
control leaves are referenced BY IDENTIFIER, as every other record here
references a leaf, so no thirteenth anchoring discriminator was needed or taken.
No bundle number: contract_bundle_version is untouched and
contracts/CHANGELOG.md is the cutting session's, on the #556/#629 precedent.

WHAT THE OPERATOR STILL OWES, IN THE PRESENT TENSE

Amendment tasks 1.3 and 1.4 stay OPEN and are marked [OPERATOR]. They
ask the operator to APPROVE the two confirmation profiles and to RELEASE the
daily-Merkle construction before authoring rests on them. This PR does not
discharge them and does not report them discharged.
What it builds is the
VESSEL those approvals are published into, plus the REFUSALS that make the
amendment's BLOCKED state mechanical rather than a promise —
confirmation_profile_unresolved (a configured network with no active entry),
confirmation_profile_not_operator_approved,
confirmation_profile_numeric_depth_uncited,
profile-transition-vectors-incomplete,
merkle_profile_absent_or_substituted, merkle-domain-separators-equal — each
red-proven by a packaged negative. The packaged register carries EXAMPLE entries
and no operator's act
, the packaged declaration reports
operator_approval_outstanding, and the reader's own docstring says at equal
length that it cannot approve a profile and cannot see a signed log.

Files

Area Change
contracts/chain-anchoring/ +6 schemas (confirmation-profile, confirmation-profile-registry, daily-merkle-profile, durability-eligibility-registry, durability-batch-admission, durability-batch-manifest); M anchoring-definitions (18 $defs, +48 codes, the replaced enum), anchor-receipt, anchor-state, verification-result, conformance-declaration (nine → eleven obligations), README
contracts/chain-anchoring/examples/ +15 positive files (41 records, was 21); 60 existing files migrated; +52 negatives (127, was 75)
contracts/signed-execution-chain/ M digest-construction (+6 subjects), README
contracts/manifest.yaml +6 rows, 6 re-pinned; 187/187 verify; contract_bundle_version UNTOUCHED
scripts/ M validate-chain-anchoring.py (+8 check layers, checks 15–17, 9 kebab findings, two further honest limits), signed_execution_chain/canonical.py
tests/chain_anchoring/ +34 scenario tests; 1 obligation pin 9 → 11
tests/signed_execution_chain/ 1 subject pin 28 → 34
openspec/changes/amend-…/tasks.md 1.6, 2.2, 2.3, 2.4, 2.5 ticked with evidence; 3.1's tick gains the successor's run; 1.3 and 1.4 left open, [OPERATOR]
specs/029-chain-anchoring-durability-confirmation/ the Speckit feature and its evidence

Scenario → test, all thirty-four

Requirement 2 — fixed UTC durability batches account for every accepted event exactly once:

# Scenario Test
1 A non-empty UTC window closes test_a_non_empty_utc_window_closes
2 An empty UTC window closes test_an_empty_utc_window_closes
3 A source-time event arrives after its earlier day closed test_a_source_time_event_arrives_after_its_earlier_day_closed
4 Acceptance occurs exactly at UTC midnight test_acceptance_occurs_exactly_at_utc_midnight
5 Admission races the midnight close test_admission_races_the_midnight_close
6 A minter omits the final eligible admissions test_a_minter_omits_the_final_eligible_admissions
7 An identical dedupe key and digest are replayed test_an_identical_dedupe_key_and_digest_are_replayed
8 A dedupe key is reused for different content test_a_dedupe_key_is_reused_for_different_content
9 An accepted event is omitted from the daily root test_an_accepted_event_is_omitted_from_the_daily_root
10 Eligibility changes during an open window test_eligibility_changes_during_an_open_window
11 Two eligibility entries claim the same boundary test_two_eligibility_entries_claim_the_same_boundary
12 An older eligibility version is offered after successor activation test_an_older_eligibility_version_is_offered_after_successor_activation
13 Eligibility content is substituted under the same version test_eligibility_content_is_substituted_under_the_same_version
14 Merkle construction profile is missing or substituted test_merkle_construction_profile_is_missing_or_substituted
15 Independent validator recomputes a non-empty root test_independent_validator_recomputes_a_non_empty_root
16 An intermediate empty day is omitted test_an_intermediate_empty_day_is_omitted
17 An anchoring control leaf is offered as a source event in its own batch test_an_anchoring_control_leaf_is_offered_as_a_source_event_in_its_own_batch
18 Different roots are proposed for the two configured witnesses test_different_roots_are_proposed_for_the_two_configured_witnesses
19 A witness-specific commitment path is omitted test_a_witness_specific_commitment_path_is_omitted
20 Batch root or mint-time configuration is substituted test_batch_root_or_mint_time_configuration_is_substituted

Requirement 3 — witness submission and confirmation remain distinct evidence states:

# Scenario Test
21 Kaspa accepts a transaction for processing test_the_operational_interface_accepts_a_transaction_for_processing
22 Kaspa confirmation evidence becomes complete test_operational_confirmation_evidence_becomes_complete
23 Schema authoring starts without approved confirmation profiles test_schema_authoring_starts_without_approved_confirmation_profiles
24 A submitted proof is below its approved confirmation condition test_a_submitted_proof_is_below_its_approved_confirmation_condition
25 A profile handles a reorganization or replacement test_a_profile_handles_a_reorganization_or_replacement
26 An operator approves a new profile version test_an_operator_approves_a_new_profile_version
27 A minter rolls back after a newer profile activates test_a_minter_rolls_back_after_a_newer_profile_activates
28 A profile activates during an open window test_a_profile_activates_during_an_open_window
29 Profile content is substituted under an approved id and version test_profile_content_is_substituted_under_an_approved_id_and_version
30 A profile is retired or compromised after historical confirmation test_a_profile_is_retired_or_compromised_after_historical_confirmation
31 OpenTimestamps proof is submitted but not upgraded test_a_durability_proof_is_submitted_but_not_upgraded
32 Bitcoin upgrade verifies test_the_durability_upgrade_verifies
33 Pending evidence is offered as confirmed test_pending_evidence_is_offered_as_confirmed
34 Kaspa alone is offered for a long-horizon claim test_the_operational_witness_alone_is_offered_for_a_long_horizon_claim

34/34. Twelve are ACCEPTING scenarios and assert the positive half rather than
only a refusal. The delta names Kaspa and Bitcoin; this family names no chain,
so the records carry the operational and durability ROLES and the tests read
those.

Red-first, measured

With the amendment's eight check layers replaced by no-ops:

with the amendment's checks DISABLED: 52/52 of its negatives validate cleanly
positive corpus with the checks disabled: 0 error(s)

Every one of the fifty-two is red BECAUSE OF the new rule — not a shape, not
the payload sweep, not the closure rule, not the timing model. Turn the new
layers off and the whole set goes green.

Gates, at this head (0115f346, merged with origin/main bc1bd4ee — clean, no conflicts)

Gate Result
validate-chain-anchoring.py . 0 errors, 2 warnings; self-test 41 positives / 127 negatives / 118 of 118 closed codes red-proven / 9 further findings probed; repo scan 0 artifacts
validate-signed-execution-chain.py . --require-pinned-wallet-vocabulary 0 / 0
validate-manifest-digests.py . 187/187 verify
pytest tests/chain_anchoring tests/signed_execution_chain tests/manifest_digests 237 passed (195s)
pytest tests/doc-health -q -p no:cacheprovider 1552 passed (354s)
openspec validate --all --strict 89 passed, 0 failed
proposal-support.py . verify amend-chain-anchoring-readiness-and-durability ok
validate-sequenced-after.py . --ledger-diff ledger consistent (165 rows)
doc-health.py --single-repo 6 critical / 4 error / 27 warning / 14 info — identical finding SET to origin/main, zero delta, re-taken after main moved 23 commits

The two warnings are the standing honest pair, unchanged from the basis:
reader-not-required and archival-node-undeclared. Neither is this PR's to
close.

validate-contract-release.py verify-commit --commit HEAD reports exactly one
mismatch, contracts/manifest.yaml — and a detached worktree at
origin/main reports the identical single mismatch on the identical path.
No
other path differs.

What is deliberately NOT reopened

The two-witness configuration (the third_anchor_target refusal and its fixture
stand unchanged); witness_role, still exactly [operational, durability]; the
timing model and every direction in it; the one digest construction; and the leaf
grammar. No chain is named anywhere. No runtime is commissioned — no signed-log
instance identity, signer chain, custody owner, reachable interface or current
checkpoint is claimed, and the repo scan reports 0 real artifacts, which is
the expected state until an anchoring subsystem runs.

Refs #548. Do not merge on my word — the cut ordering against #653 is the
repository owner's call.

🤖 Generated with Claude Code

brettheap and others added 11 commits September 4, 2026 09:19
…y they take by reference, and six further digest subjects

Realizes the shape half of `amend-chain-anchoring-readiness-and-durability`
requirements 2 and 3 (ratified 2026-09-04, `471d3361`) on the schemas
`add-chain-anchoring` landed at `11feff75`.

`contracts/chain-anchoring/` gains six record shapes: the operator-approved
confirmation profile and its append-only signed registry, the released immutable
daily-Merkle construction profile, the append-only eligibility registry that
fixes the denominator, the one atomic admission of one event into one fixed UTC
window, and the canonical signed manifest of one closed window. Fourteen shared
definitions land in `anchoring-definitions.schema.yaml` — the registry entry's
seven bindings, the two snapshots, the dedupe and late-arrival rules, the
resolving checkpoint, the batch membership path, the leaf class and the
contract-defined genesis sentinel — because the two requirements share a
registry discipline and a window model, and two spellings of either is the drift
that file exists to prevent.

The closed refusal enumeration is widened by forty-eight. The per-witness
`witness_evidence_state` REPLACES `[in_flight, landed, terminally_failed]`: the
old `in_flight` conflated "no submission evidence" with "submission accepted,
confirmation condition unmet", which is the exact defect requirement 3 exists to
close. The migration is written into the `$def` itself, including the
measurement that makes replacement legal — this family has never shipped in a
tagged bundle.

`digest-construction.schema.yaml` gains six subjects on its own written
invitation, and `canonical.py`'s frozen mirror moves with it. No second
construction, no leaf-grammar widening, no bundle number.

Lane: openxfactory-1d
Co-Authored-By: Claude Fable 5.1 <[email protected]>
… lifecycle joins it

Fifteen new positive example files carry the amendment's own worked cases: two
immutable confirmation-profile versions with the retired predecessor kept in
place, the durability and ordering-only profiles, the append-only register with
exactly one active entry per network at every boundary, the released
daily-Merkle construction with its deterministic empty root, the versioned
eligibility denominator, three consecutive fixed-UTC windows (a first day with
the genesis sentinel, an EMPTY second day, a third carrying a late-source-time
event), their admissions including a replay acknowledgement that consumes no
second sequence, their receipts as daily items on the identity aggregation path,
and the two anchor states — both witnesses confirmed, and "OpenTimestamps
submitted and Bitcoin pending" in the amendment's own words.

Every batch root and membership path in the corpus is computed under the
released construction rather than written by hand, so the reader's
recomputation has something real to disagree with.

The basis realization's sixty corpus files are migrated uniformly: configured
witnesses gain their window-snapshotted confirmation profile INSIDE the
committed block (it is a receipt-only input and joins the block by the closure
rule, not by an enumeration chase), per-chain entries gain their commitment
derivation and the profile they were confirmed under, anchor-state rows move off
the retired vocabulary with their submission and confirmation evidence, and
anchored digests are recomputed ONLY where they already recomputed — so a
fixture whose whole point is a wrong anchored digest keeps its wrongness.

The conformance declaration closes over ELEVEN obligations now, not nine: a
declaration whose length could not follow the capability would either refuse
every conforming record or tolerate a silence.

Corpus: 40 positive records as one coherent scope, 75 negatives still invalid
for their intended reason, 70/118 closed codes red-proven. The forty-eight new
codes are unprobed at this commit and that is the reader's next slice.

Lane: openxfactory-1d
Co-Authored-By: Claude Fable 5.1 <[email protected]>
…han believes

Eight new check layers, run last because every rule of this profile is a
property of a SET: the durability index is built once over the whole scope and
the comparisons are made against it.

The reader now RESOLVES the released daily-Merkle construction and mechanically
recomputes every leaf, every membership path and every batch root under it — the
composition is under the estate's ONE digest construction, with the domain
separators travelling inside the canonical JSON, so no second hashing rule is
minted to reach a Merkle tree. A released construction whose declared ordering
or shape this reader cannot reproduce deterministically is refused rather than
accepted on the strength of a root nobody can check, and
`acceptance_time_ascending` is refused for a stated reason: timestamps tie, a
tie has no deterministic tiebreak, and a batch two builders order differently
has a root that proves nothing.

Manifests are reconciled against their own window's admissions rather than read:
a lowered `last_leaf_sequence` over a retained prefix is caught even though the
manifest's three summary numbers and its root are perfectly self-consistent,
which is the one attack a self-consistent summary cannot detect. Continuity is
resolved to the immediately preceding item's configuration-bound anchored
digest, a link taken over the previous BATCH ROOT is refused by name, and a gap
between consecutive windows is refused because a chain of daily items with holes
proves nothing about the days in the holes.

Requirement 3's binding is checked across three records at once, because it is
one rule about three: the committed snapshot, the state row's evidence under it,
and the verification result's named profile with its immutable as-of token
beside current registry standing. Both overcorrections are refused — a retired
profile minting a new claim, and current standing rewriting a historical
receipt.

The genesis sentinel the reader holds and the one the contract defines are
compared at startup, for the same reason the refusal sets are.

Positive corpus: 41 records, zero errors, the two standing honest warnings
unchanged. The forty-eight new codes remain unprobed and that is the next slice.

Lane: openxfactory-1d
Co-Authored-By: Claude Fable 5.1 <[email protected]>
…o fire

One single-fault fixture per new code, each generated from the positive corpus
so it is the SAME record with ONE thing wrong, each FILENAME the code it
provokes and each pinned by an expected-failure substring — the family's carried
rule, applied to the amendment's forty-eight.

Four further fixtures probe the semantic findings whose codes live OUTSIDE the
closed enumeration, because inventing a member there would be a contract change
made by a reader: an acceptance instant outside the window it names, a version
chain with no predecessor link, one separator serving both tree positions, and
a profile that has only ever been seen to accept.

The three cross-record faults are written as multi-document fixtures, which is
the only way they are expressible: a retained prefix presented as a whole day
needs its own admissions beside it, a denominator two windows disagree about
needs two, and a profile activating next week applied to last week's window
needs a register, a manifest and a receipt in one scope.

Self-test: 41 positive records as one coherent corpus, 126 negatives invalid for
their intended reason, 118/118 closed refusal codes red-proven, 8 further
finding codes probed. Zero errors; the two standing honest warnings unchanged.

Lane: openxfactory-1d
Co-Authored-By: Claude Fable 5.1 <[email protected]>
…liases in it

One test per ratified scenario — twenty for requirement 2, fourteen for
requirement 3 — each named for the scenario it pins, each building the record
set that scenario describes and asserting the outcome the scenario states. A
scenario with no test is a scenario nobody has seen hold.

They run over a MINIMAL scope rather than the whole packaged corpus: the
durability records are self-contained, the reader's own self-test already
adjudicates all forty-one positives together, and repeating that here would
multiply a quadratic cost for no further evidence. The whole module runs in
eight seconds; the suite is 59 tests in 138s.

The twelve accepting scenarios assert the POSITIVE half rather than only the
refusal — the empty day's root really is the released construction's declared
empty root, the midnight admission really enters the window that opens then,
the two-leaf batch's root and both membership paths really recompute, the
replay really consumes no sequence, the upgrade really appends against the same
anchored digest, and the retired-profile verification really reports current
standing without touching the immutable as-of token.

`contracts/manifest.yaml` gains six rows with per-file digests and the six
moved files are re-pinned: 187 digests verify. `contract_bundle_version` is
UNTOUCHED and no bundle number is reserved, on the #556/#629 precedent — and
the row block carries the measurement that makes this realization additive:
`git tag --contains 11feff7` is empty and `contract-v3.3.digests.yaml` carries
zero rows for this family.

AND THE CORPUS CARRIES NO YAML ANCHORS. The generated files shared object nodes,
so PyYAML emitted `&id001`/`*id001` across forty-seven of them — legal YAML and
a bad artifact: a reader cannot see the value without resolving a reference, and
one edit silently changes two sites. Caught by a scenario test that mutated an
aliased node and moved the anchored digest with it, which is exactly the hazard.

Lane: openxfactory-1d
Co-Authored-By: Claude Fable 5.1 <[email protected]>
…, and what the operator still owes

The enumeration migration table — which old value becomes which, and the one
that CANNOT be mapped mechanically because that is the measure of what it was
hiding — plus the pre-publication measurement stated as a measurement: `git tag
--contains 11feff7` is empty and `contract-v3.3.digests.yaml` carries zero rows
for this family, so replacing a closed enumeration is additive to every bundle
that has ever shipped and had to land before the next cut.

And what this realization does NOT do, in the present tense: the operator still
owes the two profile approvals and the construction release (tasks 1.3 and 1.4).
What is built is the vessel they are published into and the refusal that fires
when a configured network has none, so the amendment's BLOCKED state is
mechanical rather than a promise. The packaged register carries example entries
and no operator's act.

Lane: openxfactory-1d
Co-Authored-By: Claude Fable 5.1 <[email protected]>
…ature that carries it

`amend-chain-anchoring-readiness-and-durability`: 1.6, 2.2, 2.3, 2.4 and 2.5
ticked with the measurements behind each, and 3.1's existing tick — which was
scoped to the ratification commit and said so — gains the successor's own run
against the tree it edits.

TASKS 1.3 AND 1.4 STAY OPEN AND ARE MARKED `[OPERATOR]`. They ask the operator
to APPROVE the two confirmation profiles and to RELEASE the daily-Merkle
construction before authoring rests on them. What this realization built is the
VESSEL those approvals are published into and the REFUSALS that make the
amendment's BLOCKED state mechanical rather than a promise — a configured
network with no active entry, an approval by anyone but the operator, a numeric
depth with nothing cited behind it, a profile with only one transition
direction, a substituted construction, equal domain separators. Each is
red-proven. The packaged register carries EXAMPLE entries and no operator's act,
and the notes on both boxes say so rather than reporting them done.

2.4 was this realization's FIRST act and is recorded as a measurement taken
twice: `git tag --contains 11feff7` empty, zero chain-anchoring rows in the
v3.3 inventory, no open cut PR and no sibling realization in the family. The
shared first release therefore reinterprets no prior artifact because no prior
artifact exists — which is exactly the alternative that task's own text asks
for.

`specs/029-chain-anchoring-durability-confirmation/` is the Speckit feature:
spec.md maps all thirty-four scenarios to the shape, the reader rule and the
test that holds each; data-model.md carries the shape-by-shape design and the
three shapes that can say the wrong thing on purpose; research.md records the
two alternatives refused and why; and evidence/ carries the gates with counts,
the red-first measurement, the test-count deltas and the zero doc-health delta.

One existing pin moved: `test_the_eleven_anchoring_digest_subjects_are_
enumerated_once` becomes `test_the_anchoring_digest_subjects_are_enumerated_once`
and its slice assertions move 28 -> 34, which is the invariant working — this
enumeration is a UNION that grows and `construction_name` does not move.

Lane: openxfactory-1d
Co-Authored-By: Claude Fable 5.1 <[email protected]>
…atched its own list

The docstring said EIGHT and then listed NINE. Five carried from the basis
realization plus four from this amendment is nine, and the self-test's own note
line reports nine probed, so the prose was the only thing that disagreed with
the tool. A reader whose self-description disagrees with its self-test is the
drift the self-test exists to catch, caught here by hand for the second time in
this family's life.

The family README and the feature's gates and test-count evidence carry the same
correction, and the ledger row count moves 164 -> 165 with the catch-up merge.

Lane: openxfactory-1d
Co-Authored-By: Claude Fable 5.1 <[email protected]>
…still holds

main advanced 23 commits (the archives of add-consumer-identity-namespace and
create-medxchart-overlay-boundary among them), this branch took a clean catch-up
merge, and BOTH halves were measured again. Two info findings dropped on both
sides at once — they were modified-block-currency findings on the two changes
that archived — so the base moved and the delta is identical: still zero, and
still a finding-SET comparison rather than a count comparison.

Every gate reading in evidence/gates.md is now stated as taken at the merged
head, with the two counts main itself moved called out: the sweep ledger 164 ->
165 rows and the OpenSpec corpus at 89 items.

Lane: openxfactory-1d
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Copilot AI lite review requested due to automatic review settings September 4, 2026 15:26

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

@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-1d

@codex review

Focus, if it helps to have it named:

  1. The enumeration replacement. anchor-state.schema.yaml's per-witness
    status is REPLACED, not widened. Is the pre-publication measurement
    (git tag --contains 11feff75 empty; zero chain-anchoring rows in
    contract-v3.3.digests.yaml) sufficient to make that additive, and is the
    migration written into the witness_evidence_state $def complete enough
    for a consumer to perform it?
  2. The Merkle composition. Leaf and internal nodes are xfc-jcs-sha256-1
    over {domain, leaf} and {domain, left, right}, so the domain separators
    travel inside the canonical JSON rather than as raw byte prefixes. Is that a
    defensible reading of "distinct leaf and internal-node domain-separation byte
    strings", given that the estate forbids a second digest construction?
  3. The reconciliation. check_manifests reproduces the admission set from
    the records in scope and WARNS (manifest-admissions-not-in-scope) where a
    closed window's admissions do not travel with it. Is warning the right answer
    there, or should an unreconcilable completeness claim be refused?
  4. Anything the fifty-two negatives do NOT cover among the thirty-four
    ratified scenarios. The red-first measurement shows each fixture fails for
    the new rule; it cannot show a rule nobody wrote.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

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.

🟡 Changes recommended

There are concrete documentation inconsistencies (shared $defs count) and an API ambiguity in confirmation_profiles_evaluated_under that should be resolved before merge.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

This PR realizes amend-chain-anchoring-readiness-and-durability requirements 2 (fixed-UTC durability batches with exactly-once accounting) and 3 (submission evidence distinct from confirmation evidence) by extending the chain-anchoring contract family, its refusing reader behavior, and its packaged corpus/tests, while keeping xfc-jcs-sha256-1 as the single digest construction.

Changes:

  • Extends signed-execution-chain’s digest_subject vocabulary (+6) and updates the frozen canonical mirror + settlement tests to match.
  • Extends chain-anchoring verification result schema and example corpus to report confirmation-profile evaluation context.
  • Adds a Speckit feature bundle (specs/029-*) capturing plan, tasks, research, and evidence for the realization and its gates.
File summaries
File Description
tests/signed_execution_chain/test_anchor_event_settlement.py Updates pinned digest_subject ordering/count to include the 6 durability-related subjects.
tests/chain_anchoring/test_anchoring_reader.py Updates obligation pin from 9 → 11 requirements.
scripts/signed_execution_chain/canonical.py Mirrors the 6 new digest_subject members in the frozen SUBJECTS set.
contracts/signed-execution-chain/README.md Documents the additional 6 digest subjects (no new construction, no leaf-grammar widening).
contracts/signed-execution-chain/digest-construction.schema.yaml Adds explanatory text and appends 6 new digest_subject enum members.
contracts/chain-anchoring/verification-result.schema.yaml Adds confirmation_profiles_evaluated_under structure for reporting evaluated profiles.
contracts/chain-anchoring/examples/verification-result-1-receipt-only-complete.example.yaml Adds confirmation_profiles_evaluated_under example content.
contracts/chain-anchoring/examples/verification-result-2-no-determination-ordering-only.example.yaml Notes wrapping update.
contracts/chain-anchoring/examples/verification-result-3-stateful-delay-breach-proven.example.yaml Notes wrapping update.
contracts/chain-anchoring/examples/verification-result-4-receipt-only-same-item-weaker.example.yaml Notes wrapping update.
contracts/chain-anchoring/examples/negative/witness_shortfall_miscomputed.yaml Notes wrapping update.
contracts/chain-anchoring/examples/negative/verification_result_claims_stateful_knowledge.yaml Adds confirmation_profiles_evaluated_under (negative fixture context).
contracts/chain-anchoring/examples/negative/verification_mode_absent.yaml Adds confirmation_profiles_evaluated_under (negative fixture context).
contracts/chain-anchoring/examples/negative/submission_evidence_offered_as_confirmed.yaml New negative fixture for “submitted ≠ confirmed” semantics.
contracts/chain-anchoring/examples/negative/source_time_lateness_recorded_on_chain.yaml New negative fixture for lateness metadata leakage on-chain.
contracts/chain-anchoring/examples/negative/registry-entry-predecessor-unresolved.yaml New negative fixture for append-only registry continuity hole.
contracts/chain-anchoring/examples/negative/registry_history_rewritten.yaml New negative fixture refusing rewrite-declared registry history.
contracts/chain-anchoring/examples/negative/receipt_missing_configured_witness_set.yaml Updates negative fixture to match migrated receipt fields.
contracts/chain-anchoring/examples/negative/receipt_entry_incomplete_for_pending_witness.yaml Migrates negative fixture to new witness evidence states and profile snapshot fields.
contracts/chain-anchoring/examples/negative/profile-transition-vectors-incomplete.yaml New negative fixture for incomplete transition vectors.
contracts/chain-anchoring/examples/negative/operational_anchor_without_retained_proof.yaml Migrates negative fixture to new witness evidence states and profile snapshot fields.
contracts/chain-anchoring/examples/negative/open_window_presented_as_anchored.yaml New negative fixture refusing “open window presented as publicly anchored”.
contracts/chain-anchoring/examples/negative/merkle-domain-separators-equal.yaml New negative fixture refusing equal Merkle domain separators.
contracts/chain-anchoring/examples/negative/merkle_profile_absent_or_substituted.yaml New negative fixture refusing absent/substituted Merkle profile for recomputation.
contracts/chain-anchoring/examples/negative/item_presented_as_anchored_with_missing_witness.yaml Adds confirmation_profiles_evaluated_under (negative fixture context).
contracts/chain-anchoring/examples/negative/horizon_base_from_minter_clock.yaml Adds confirmation_profiles_evaluated_under (negative fixture context).
contracts/chain-anchoring/examples/negative/honest_receipt_refused_within_skew.yaml Notes wrapping update.
contracts/chain-anchoring/examples/negative/first_daily_manifest_without_genesis_sentinel.yaml New negative fixture for missing genesis sentinel on first daily manifest.
contracts/chain-anchoring/examples/negative/empty_window_without_linked_checkpoint.yaml New negative fixture for missing empty-day manifest.
contracts/chain-anchoring/examples/negative/eligibility_terms_substituted_under_version.yaml New negative fixture refusing substituted eligibility terms under version.
contracts/chain-anchoring/examples/negative/eligibility_snapshot_rolled_back.yaml New negative fixture refusing rolled-back eligibility snapshot.
contracts/chain-anchoring/examples/negative/eligibility_boundary_selection_ambiguous.yaml New negative fixture refusing ambiguous (two-active) eligibility selection.
contracts/chain-anchoring/examples/negative/eligibility_activation_applied_to_open_window.yaml New negative fixture refusing mid-stream eligibility application.
contracts/chain-anchoring/examples/negative/durability_window_selected_from_source_time.yaml New negative fixture refusing window selection from owner source time.
contracts/chain-anchoring/examples/negative/durability_window_reopened_after_close.yaml New negative fixture refusing reopened window after close.
contracts/chain-anchoring/examples/negative/durability_window_not_fixed_utc_midnight.yaml New negative fixture refusing non-midnight UTC window boundaries.
contracts/chain-anchoring/examples/negative/durability_proof_reanchored_rather_than_upgraded.yaml Migrates negative fixture to new witness evidence states and profile snapshot fields.
contracts/chain-anchoring/examples/negative/durability_event_selectivity_applied.yaml New negative fixture refusing per-event selectivity after acceptance.
contracts/chain-anchoring/examples/negative/durability_event_assigned_to_two_windows.yaml New negative fixture refusing duplicate admission across windows.
contracts/chain-anchoring/examples/negative/durability_close_watermark_unproven.yaml New negative fixture refusing close watermark not covered by resolving checkpoint.
contracts/chain-anchoring/examples/negative/durability_admission_not_atomic.yaml New negative fixture refusing non-atomic admission transaction.
contracts/chain-anchoring/examples/negative/determination_made_with_minter_claimed_base.yaml Notes wrapping update.
contracts/chain-anchoring/examples/negative/delay-check-arithmetic.yaml Notes wrapping update.
contracts/chain-anchoring/examples/negative/delay_check_read_as_compliance.yaml Notes wrapping update.
contracts/chain-anchoring/examples/negative/dedupe_replay_consumed_a_second_sequence.yaml New negative fixture refusing replay consuming a second sequence.
contracts/chain-anchoring/examples/negative/dedupe_key_reused_for_different_content.yaml New negative fixture refusing key reuse admitted as second leaf.
contracts/chain-anchoring/examples/negative/dedupe_key_reachable_from_anchor.yaml New negative fixture refusing dedupe key custody reachable from anchor.
contracts/chain-anchoring/examples/negative/daily_manifest_configuration_substituted.yaml New negative fixture refusing substituted daily manifest accounting under proof.
contracts/chain-anchoring/examples/negative/daily_continuity_link_unresolved.yaml New negative fixture refusing continuity link that doesn’t resolve to predecessor.
contracts/chain-anchoring/examples/negative/daily_continuity_link_over_batch_root.yaml New negative fixture refusing continuity link taken over batch root.
contracts/chain-anchoring/examples/negative/daily_batch_root_not_reproducible.yaml New negative fixture refusing unreproducible empty-root value.
contracts/chain-anchoring/examples/negative/constituent_event_given_separate_receipt.yaml New negative fixture refusing per-event receipts inside daily batch.
contracts/chain-anchoring/examples/negative/confirmation_profile_unresolved.yaml New negative fixture for configured network with no approved profile entry.
contracts/chain-anchoring/examples/negative/confirmation_profile_terms_substituted_under_version.yaml New negative fixture refusing substituted confirmation-profile terms digest.
contracts/chain-anchoring/examples/negative/confirmation_profile_numeric_depth_uncited.yaml New negative fixture refusing uncited numeric confirmation depth.
contracts/chain-anchoring/examples/negative/confirmation_profile_not_operator_approved.yaml New negative fixture refusing implementer-approved profile entry.
contracts/chain-anchoring/examples/negative/breach_declared_within_tolerance.yaml Notes wrapping update.
contracts/chain-anchoring/examples/negative/anchoring_control_leaf_admitted_as_event.yaml New negative fixture refusing admission of anchoring control leaves as events.
contracts/chain-anchoring/examples/negative/anchor_state_transition_without_leaf.yaml Migrates negative fixture to new witness evidence states and profile snapshot fields.
contracts/chain-anchoring/examples/negative/anchor_state_pending_and_incomplete.yaml Migrates negative fixture to new witness evidence states and profile snapshot fields.
contracts/chain-anchoring/examples/negative/anchor_state_complete_without_captured_receipt.yaml Migrates negative fixture to new witness evidence states and profile snapshot fields.
contracts/chain-anchoring/examples/negative/anchor_state_aggregate_boolean.yaml Migrates negative fixture to new witness evidence states and profile snapshot fields.
contracts/chain-anchoring/examples/negative/admission-window-acceptance-mismatch.yaml New negative fixture refusing acceptance instant outside named window.
contracts/chain-anchoring/examples/durability-eligibility-registry-1-append-only.example.yaml New positive example for append-only eligibility (denominator) registry.
contracts/chain-anchoring/examples/durability-batch-manifest-1-first-day-genesis.example.yaml New positive example for first daily batch manifest w/ genesis sentinel.
contracts/chain-anchoring/examples/durability-batch-manifest-2-empty-day-linked.example.yaml New positive example for empty-day manifest and continuity linkage.
contracts/chain-anchoring/examples/durability-batch-manifest-3-late-arrival-linked.example.yaml New positive example covering late arrival linked across empty day.
contracts/chain-anchoring/examples/daily-merkle-profile-1-released.example.yaml New positive example for released Merkle construction profile.
contracts/chain-anchoring/examples/anchor-state-1-anchor-complete.example.yaml Migrates positive example to new witness evidence states/profile snapshot fields.
contracts/chain-anchoring/examples/anchor-state-2-terminal-failure-fail-closed.example.yaml Migrates positive example to new witness evidence states/profile snapshot fields.
contracts/chain-anchoring/examples/anchor-state-3-horizon-breach-pending-upgrade.example.yaml Migrates positive example to new witness evidence states/profile snapshot fields.
contracts/chain-anchoring/examples/anchor-state-4-anchor-pending-ordinary-window.example.yaml Migrates positive example to new witness evidence states/profile snapshot fields.
specs/029-chain-anchoring-durability-confirmation/spec.md Feature spec describing scope, non-additive enum replacement, and ordering constraint rationale.
specs/029-chain-anchoring-durability-confirmation/tasks.md Task checklist tracking schema/reader/corpus/tests/evidence closure.
specs/029-chain-anchoring-durability-confirmation/plan.md Implementation slice plan and key design decisions.
specs/029-chain-anchoring-durability-confirmation/research.md Pre-authoring measurements and precedent rationale.
specs/029-chain-anchoring-durability-confirmation/quickstart.md Runbook for validators/tests and evidence reproduction.
specs/029-chain-anchoring-durability-confirmation/data-model.md Data-model summary of new record kinds, defs, and proof-chain structure.
specs/029-chain-anchoring-durability-confirmation/evidence/test-counts.md Captures before/after test counts and reader self-test deltas.
specs/029-chain-anchoring-durability-confirmation/evidence/red-first.md Documents red-first measurement methodology and outcome.
specs/029-chain-anchoring-durability-confirmation/evidence/gates.md Records the measured gate results and the manifest mismatch context.
specs/029-chain-anchoring-durability-confirmation/evidence/doc-health-delta.md Documents doc-health delta measurement as zero-new vs base.
Review details
  • Files reviewed: 158/159 changed files
  • Comments generated: 5
  • Review effort level: Lite

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

…asured

TWO findings, both taken.

**The verification result's rows were keyed by chain, and the chain is not
enough to say which witness.** `configured_witnesses` carries no uniqueness
constraint on `chain_id`, and the per-chain entry's own `witness_id` exists for
exactly that reason — "where the realization configures more than one witness
against one chain". A `confirmation_profiles_evaluated_under` row keyed on the
chain alone collapses two such witnesses into one row, and a reader cannot tell
which pairing was evaluated. `witness_id` is now REQUIRED on the row; the
shortfall arithmetic is already keyed by it, so this is the family's key and not
a new one.

And the reader COMPARES it rather than trusting it: the named witness must be in
the referenced receipt's committed configured set, its chain must be that
witness's chain, the profile named must be the one the committed block
snapshotted FOR THAT WITNESS — not one chosen at verification time — and two
rows for one witness are two answers about one evaluation. Each is refused as
`witness_confirmed_without_named_profile`, and two new probes in the scenario
tests hold the witness-not-configured and profile-mismatched halves.

**Four feature documents said "fourteen shared definitions" while listing
eighteen.** Fixed by MEASUREMENT rather than by recounting: `set(now['$defs']) -
set(basis['$defs'])` gives basis 13 / now 31 / ADDED 18 / removed none. The
measurement is recorded beside the list so the next reader does not re-derive
it, and the commit message that introduced "fourteen" is wrong on the record —
history stays as it is, and the documents a reader reads are correct.

Gates on this head: chain-anchoring reader 0/2 (41 positives, 127 negatives,
118/118 closed codes), sec validator 0/0, manifest digests 187/187 (the
verification-result row re-pinned), openspec 89/0, proposal-support ok,
scenario tests 34 passed.

Lane: openxfactory-1d
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Copilot AI review requested due to automatic review settings September 4, 2026 15:55
@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-1d

Round 1 — Copilot 🟡, five comments, two distinct findings, BOTH TAKEN. Head 134432c9.

1. confirmation_profiles_evaluated_under was keyed by CHAIN and the chain is
not enough to say which witness.
A real ambiguity, confirmed rather than
assumed: configured_witnesses is {type: array, minItems: 1} with no
uniqueness constraint on chain_id, and the per-chain entry's own witness_id
exists for exactly that reason — its comment says "where the realization
configures more than one witness against one chain"
. witness_id is now
required on the row (the shortfall arithmetic is already keyed by it, so this
is the family's key rather than a new one), and the reader compares it instead
of trusting it
: a witness the referenced receipt does not configure, a
chain_id that is not that witness's chain, a profile the committed block did
not snapshot FOR THAT WITNESS, and two rows for one witness are each refused as
witness_confirmed_without_named_profile. Two new probes hold the first and
third halves.

2. Four feature documents said "fourteen shared definitions" while listing
eighteen.
Fixed by MEASUREMENT rather than by recounting, because recounting is
how it went wrong: set(now) - set(basis) over
anchoring-definitions.schema.yaml at 11feff75 gives basis 13 / now 31 /
ADDED 18 / removed none
— and "removed none" is the half a count cannot report.
The measurement is now recorded beside the list.

Not a review, recorded as such

  • Codex replied "You have reached your Codex usage limits for code
    reviews"
    . NON-REVIEW — no findings were produced and none are claimed.
    The four questions I put to it stand unanswered and are listed above for a
    human reviewer.
  • Sourcery is the private-repo upsell stub, not a review.

Gates re-run on this head

chain-anchoring reader 0 errors / 2 standing warnings (41 positives, 127
negatives, 118/118 closed codes red-proven); signed-execution-chain
0 / 0; manifest digests 187/187 verify (verification-result's row
re-pinned); openspec validate --all --strict 89 passed / 0 failed;
proposal-support verify ok; scenario tests 34 passed. Full suites
re-running in CI.

The cut-ordering statement in the body still stands: #653 publishes this
family, and this realization changes a closed enumeration that no bundle has
shipped. Not merging either.

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.

🔵 Needs a closer look

The change spans multiple contract surfaces, validators, and a large migrated corpus, so it warrants final human review despite no specific defects identified in the inspected diffs.

Review details
  • Files reviewed: 158/159 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-1d

Round 2 — Copilot 🔵 "Needs a closer look", 0 new comments, on head 134432c9

The change spans multiple contract surfaces, validators, and a large migrated corpus, so it warrants final human review despite no specific defects identified in the inspected diffs.
Files reviewed: 158/159 · Comments generated: 0 new · Review effort: Lite

Recorded as what it is: a verdict about the SIZE of the change and not a
finding. Nothing to take or refuse. Zero unresolved review threads.

The seven required checks, green on 134432c9

Check Result Run
pytest-suite pass (19m32s) 33892275609
signed-execution-chain-gate pass (1m12s) 33892275633
wallet-validation pass (34s) 33892275629
clearing-dispatch-gate pass (26s) 33892275881
merge-master-approval pass (17s) 33892274723
openreposhape-pin pass (10s) 33892275751
lane-line pass (4s) 33892275627

Re-run locally at the same head: 237 passed (chain_anchoring +
signed_execution_chain + manifest_digests), 1552 passed (doc-health),
validate-sequenced-after --ledger-diff consistent at 165 rows, and
verify-commit mismatching on contracts/manifest.yaml only — the identical
single mismatch a detached worktree at origin/main reports.

One observation for whoever owns CI time, not a defect

pytest-suite now takes ~20 minutes. The reader's self-test is
O(negatives × records) — it re-validates the whole positive scope once per
negative, because several refusals in this family are properties of a SET rather
than of a document — and this amendment took the corpus from 21 positives / 75
negatives to 41 / 127, roughly tripling that product. It is honest work and
nothing is skipped; it is also the obvious place to look if the suite needs to
get shorter, and the new scenario module deliberately does NOT pay that cost
(minimal scopes, 34 tests in ~8 seconds).

Still open, and deliberately

Copilot AI review requested due to automatic review settings September 4, 2026 16:25
@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-1d

Catch-up merge 2 — origin/main 2ba666ee (#658), head now f496d6ba

main moved by one commit that edits the same manifest comment block this PR
extends
: #658 rewrote #629's registration clause so it states the invariant
("a cut, and only a cut, advances it") instead of asserting
contract-v3.2, which had gone stale. Auto-merged with no conflicts — that
edit sits in #629's block and this PR's six rows are appended after the
conformance-declaration row, so the two hunks do not touch.

Worth saying because it is the same subject: #658's new clause and this PR's own
row block now say the same thing from two directions, and neither reserves a
number. This PR's block adds the measurement — git tag --contains 11feff75
empty, zero chain-anchoring rows in contract-v3.3.digests.yaml — which is what
makes the enumeration replacement additive.

Gates re-run on f496d6ba: manifest digests 187/187 verify,
chain-anchoring reader 0 errors / 2 standing warnings,
signed-execution-chain 0 / 0, openspec validate --all --strict
89 passed / 0 failed, proposal-support verify ok,
validate-sequenced-after --ledger-diff consistent at 165 rows, and
verify-commit still mismatching on contracts/manifest.yaml only — the
identical single mismatch origin/main itself reports. CI re-running.

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.

🟡 Changes recommended

The updated chain-anchoring validator builds per-witness confirmation-profile snapshots keyed by chain_id, which can silently collapse multiple configured witnesses on the same chain and undermine the intended cross-record consistency checks.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Review details
  • Files reviewed: 158/159 changed files
  • Comments generated: 1
  • Review effort level: Lite

Comment thread scripts/validate-chain-anchoring.py Resolved
@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-1d

RULING for lane openxfactory-1d's PR #657 — Brett Heap, 2026-09-04 ~17:50Z in session: "merge 657 when green." Condition: all seven checks green on the final head and no unaddressed review thread (Codex's usage-limit replies are recorded non-reviews). The orchestrator merges with provenance citing this ruling; no other PR may borrow it.

…yed by chain, not by witness

TAKEN. One section earlier in `check_confirmation_bindings`, the receipt's
own committed snapshots were indexed `snapshots[chain] = snapshot` — the same
anti-pattern round 1 fixed on the verification-result side. `configured_witnesses`
carries no uniqueness constraint on `chain_id`, and the per-chain entry's own
`witness_id` exists for exactly that reason ("where the realization configures
more than one witness against one chain"), so a second witness on one chain
silently overwrote the first witness's snapshot, and a `per_chain_anchors`
entry naming the profile it was ACTUALLY confirmed under, for its OWN
witness, could be compared against the WRONG witness's snapshot and refused
for a defect that never happened.

Snapshots are now keyed by `witness_id`. An entry that names its own
`witness_id` (optional on this shape, unlike the now-required field on
verification-result rows) is resolved directly; an entry that omits it falls
back to the chain only where the chain resolves to exactly one configured
witness, and is refused (`witness_confirmed_without_named_profile`) where the
chain is ambiguous rather than guessed by array order. No new refusal code:
this reuses the family's existing code for "a confirmed entry names no
profile that can be trusted."

Red-proved: a new regression test builds a receipt with two witnesses
collapsed onto one chain, each correctly confirmed under its own committed
profile. Without the fix it wrongly fires
`witness_confirmed_without_named_profile` (plus a cascading
`confirmation_profile_standing_rewrites_historical_receipt`) on the entry
compared against the other witness's snapshot; with the fix, zero errors.

Gates on this head: chain-anchoring reader 0 errors (41 positives, 127
negatives, 118/118 closed codes — unchanged, no new code), manifest digests
187/187 (unchanged, no fixture touched), chain_anchoring + signed_execution_chain
+ manifest_digests suites 238 passed, doc-health suite 1552 passed.

Lane: openxfactory-1d
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Copilot AI review requested due to automatic review settings September 4, 2026 17:58
@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-1d

Round 2 — Copilot's receipt-side finding TAKEN on 4cdd071c

Defect: check_confirmation_bindings keyed the receipt's own committed snapshots by chain_id (snapshots[chain] = snapshot) — the same anti-pattern round 1 fixed on the verification-result side, one section earlier in the same function. configured_witnesses carries no uniqueness constraint on chain_id, and the per-chain entry's own witness_id exists for exactly that reason ("where the realization configures more than one witness against one chain"), so a second witness configured against one chain silently overwrote the first witness's snapshot, and a per_chain_anchors entry correctly naming the profile it was confirmed under, for its OWN witness, could be compared against the WRONG witness's snapshot and refused for a defect that never happened.

Fix: snapshots are now keyed by witness_id. An entry that names its own witness_id (optional on this shape, unlike the now-required field on verification-result rows) resolves directly; an entry that omits it falls back to the chain only where the chain resolves to exactly one configured witness, and is refused (witness_confirmed_without_named_profile) rather than guessed by array order where the chain is ambiguous. No new refusal code — this reuses the family's existing one.

Red-proof: a new regression test (test_two_witnesses_are_configured_against_one_chain) collapses two witnesses from the packaged both-witnesses-landed receipt onto one chain, each still correctly confirmed under its own committed profile, and reseals anchored_digest. Without the fix it wrongly fires witness_confirmed_without_named_profile (plus a cascading confirmation_profile_standing_rewrites_historical_receipt) on the entry compared against the wrong witness's snapshot; with the fix, zero errors. Confirmed via git stash on the validator alone.

Gates on 4cdd071c:

  • scripts/validate-chain-anchoring.py . — 0 errors (41 positives, 127 negatives, 118/118 closed refusal codes — unchanged, no new code)
  • scripts/validate-manifest-digests.py — 187/187 verify (unchanged, no fixture touched)
  • pytest tests/chain_anchoring tests/signed_execution_chain tests/manifest_digests — 238 passed
  • pytest tests/doc-health — 1552 passed

@codex review (Codex has answered every request today with a usage-limit message; a repeat is recorded as a non-review)

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

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.

🔵 Needs a closer look

It makes broad contract/validator/corpus changes across many files (including closed-enum semantics), so it warrants final human review despite strong automated evidence.

Review details

Suppressed comments (1)

Previously missed (1) — in code that hasn't changed since the last review.

tests/signed_execution_chain/test_anchor_event_settlement.py:467

  • The docstring still says “The count pin below moves from 27 to 28”, but the assertions below now pin the enum length at 34 (and the later paragraph already describes 28 -> 34). As written, this reads like the current pin is 28 and contradicts the updated assertions. Consider rephrasing the catch-up-merge paragraph to describe the sealed_bundle_manifest addition without implying the current pin value.
  • Files reviewed: 158/159 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-1d (session openxfactory-43)

MERGING — RULING for lane openxfactory-1d's PR #657, Brett Heap, 2026-09-04 ~17:50Z in session: "merge 657 when green." Head 4cdd071c: all seven checks PASS — pytest-suite 33903375245 (24m25s), signed-execution-chain-gate 33903375309, clearing-dispatch-gate 33903375347, wallet-validation 33903375233, openreposhape-pin 33903375200, lane-line 33903375194, merge-master-approval 33903371676. --admin satisfies only the review-count rule; no check is bypassed.

Bots: Copilot 🔵 needs a closer look on the final head, 0 new comments; three rounds taken (verification-result and receipt-side snapshot keying by chain_id → by witness_id, red-proven); 0 unresolved threads. Codex: NON-REVIEW (usage limit) on every head — recorded, not a pass.

What lands: the successor realization of amend-chain-anchoring-readiness-and-durability requirements 2 and 3 (ratified #548 → 471d3361) on #629's schemas — six durability/confirmation-profile schemas, the anchor-state status enum widened to submitted-vs-confirmed states bound to confirmation profiles, the reader's 48 new refusal codes each seen to fire (118/118 closed codes red-proven), 34 scenario tests, 187 manifest digests verifying, family README. No bundle number taken.

CUT ORDERING: this lands BEFORE open cut PR #653 (contract-v3.4), which ships the chain-anchoring family into its first tagged bundle — so the enum change is additive at publication, not breaking. #653 must now RE-DERIVE its inventory LAST over the merged tree and re-run verify-commit; notice posted there.

@brettheap
brettheap merged commit e65dcc4 into main Sep 4, 2026
8 checks passed
brettheap added a commit that referenced this pull request Sep 4, 2026
…choring reaches its first bundle with the readiness amendment already in it, deliberation becomes clearing entry two, and the openRepoShape pin advances

The 14:50Z ruling HELD the first candidate (422474e) until
amend-chain-anchoring-readiness-and-durability's follow-on pass was on main. It
landed as #657 (e65dcc4, 18:25:33Z), so this integrates origin/main (a858e5b)
and re-cuts the whole release surface over it. The resulting tree is EXACTLY the
tree of the rebase this cut would have pushed; the integration is a merge rather
than a rebase because org ruleset 8981805 forbids non-fast-forward on every
branch, and lane openxfactory-1d's cross-lane notice on #653 asked for a merge
for that reason. The release surface is re-derived here in one act and the
inventory is BUILT LAST over the merged tree.

Class ADDITIVE (minor), MEASURED at this candidate: 187 additions and 15
modifications under contracts/ since contract-v3.3, every path attributed to its
PR and lane in the changelog entry. Every edit to a schema PUBLISHED at
contract-v3.3 was checked for narrowing individually and every one WIDENS:
digest_subject by seventeen subjects across two commits, leaf_type by twelve
members plus one optional anchor_event block, dispatch-record's refusal_ground
from two members to five, the permitted-operations register from one member to
two. The one REPLACED enumeration — anchor-state's per-witness status, from
[in_flight, landed, terminally_failed] to [pending, submitted, confirmed,
invalid, unevaluable, terminally_failed] — is inside a schema no tagged bundle
has ever carried (git tag --contains 11feff7 is empty;
contract-v3.3.digests.yaml holds zero contracts/chain-anchoring/ rows), so it
narrows nothing published. That is exactly what the owner's ordering sentence
was protecting: "must land BEFORE those schemas ship in a tagged bundle, or the
enum change becomes a breaking change on a published bundle."

Inventory BUILT LAST by scripts/validate-contract-release.py build, after every
other edit was final; no digest hand-edited anywhere. 283 members in both
inventories, membership unchanged, four digests move and all four are editorial:
manifest.yaml, CHANGELOG.md, README.md, tests/intent-compliance/test_release_boundary.py.
Two of them had already moved on main before this cut touched them, which is the
whole content of the pre-cut red at a858e5b (README.md and manifest.yaml, and
nothing else).

Six files against origin/main: the rewritten changelog entry; contract_bundle_version
contract-v3.3 -> contract-v3.4 (the version line only); the two chain-anchoring
contract-index rows in contracts/README.md, re-measured for eighteen schemas and
kept alongside #652's rewritten clearing rows; FEATURE_SUCCESSOR_8 plus its
by-hand membership statement re-measured at the new base (the moved editorial
rows are now TWO, not one); the repaired clearing guard, composed with #652's
per-row REGISTRATION map so both intents survive; and the rebuilt inventory.

Lane: repo-shape

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_015WekBEXf55Xv64psGe5t3T
brettheap added a commit that referenced this pull request Sep 4, 2026
…on paths to the packet's new home

Both halves are consequences of the move in the previous commit. Neither is a
re-baseline to make a check pass.

## The corpus-ledger row — moved by the tool, never by hand

`python3 scripts/validate-sequenced-after.py . --seed-ledger --moved-by '#669'
--moved-on 2026-09-04` → `wrote tests/sequenced_after/corpus-ledger.yaml (165
rows, 1 moved by #669)`, and the row it names is `add-chain-anchoring`.

    -  add-chain-anchoring: {state: active,   ... moved_by: "#623", ...}
    +  add-chain-anchoring: {state: archived, ... moved_by: "#669", ...}

ONE LINE. `class: sole`, `declares: absent` and `prose: false` are unchanged and
NO PARTNER FLIPPED, so **no MOVEMENT LOG entry is owed** —
`add-per-change-sweep-ledger`'s restated rule reserves an entry for a move the
row diff does NOT state, and this move is entirely stated by the row diff.
`--ledger-diff` had reported the staleness in advance and named its whole
extent: one stale row plus the three derived totals that follow from it (active
31→30, archived 134→135, active_sole 12→11). It now reads `per-change sweep
ledger consistent with the corpus (165 rows)`, exit 0, and
`pytest tests/sequenced_after` is 162 passed where it was 3 failed.

## The four ideation paths, repointed — three stale, one that was ALREADY a declared dead reference

`ideation/staging/INDEX.md` (three sites, the staged topic's Exit-3 record) and
`ideation/brainstorm/medxchain-blockchain-medical-records.md` (one site) named
`openspec/changes/add-chain-anchoring/…`, which the move dissolved. Each now
names the archive path. The brainstorm site is the interesting one: its own
sentence already declared the reference dead — *"That path resolves once #513
lands and is a dead reference before then"* — so this repoint DISCHARGES a
disclosure the source made about itself rather than repairing an oversight, and
the sentence's historical framing is left exactly as written.

The INDEX also carried a claim the archive falsifies: **EXIT 3 IS THEREFORE
RATIFIED AND NOT REALIZED**; the contract family and its validator are a later
commission. That sentence was true when written and is not now. It is KEPT and
answered rather than rewritten — the lifecycle's rule for a superseded
statement — with the closing act named: realized #629 `11feff75`, completed
#657 `e65dcc48`, published `contract-v3.4` `807a4f47` / tag `a3309921`,
archived 2026-09-04.

## The sentinel pin — 70 -> 70, and the equality is why nothing else moved

RE-ENUMERATED WITH `pin_class.verify()` ON BOTH TREES rather than reasoned
about: `origin/main` and this branch each report **70 sites / 24 members**,
verdicts `pass` 53 / `not-applicable` 16 / `lost` 1, with
`lost_awaiting_record` 0, `uncovered` `()` and `clean` true — IDENTICAL. Unlike
PR #647, whose `supporting-docs/manifest.yaml` travelled into the archive and
so moved a pin site under a new path, this packet has NO `supporting-docs/`
directory at all, so no site travelled and no comment in
`tests/doc-health/test_sentinel_vocabulary.py` goes stale. The measurement is
recorded because "nothing moved" is a claim like any other.

## Gates at this head

`openspec validate --all --strict` 89 passed / 0 failed (unchanged from
`origin/main`'s 89 — 31 active + 58 specs becomes 30 active + 59 specs);
`proposal-support.py . verify` ok; `validate-sequenced-after.py . --ledger-diff`
consistent, 165 rows; `pytest tests/sequenced_after` 162 passed;
`pytest tests/doc-health` **1552 passed**; and `doc-health.py --single-repo`
taken at `origin/main` (`9420472e`, a detached worktree) and at this branch's
head gives a finding set that is IDENTICAL LINE FOR LINE once the
directory-derived repo identity is normalized — 6 critical / 4 error / 27
warning / 13 info on both sides, `diff` exit 0. The one headline number that
moves is the canon share, 35.4% → 36.6%, which is the promotion doing exactly
what a promotion does.

EXPECTED AND NOT THIS BRANCH'S DEFECT: `pytest tests/review_lane_pin` is 3
failed / 52 passed / 1 skipped, the three being
`test_floor_snapshot.py`'s `test_every_tracked_openspec_spec_path_is_on_the_floor`
and its two negative controls, each naming exactly one path —
`openspec/specs/chain-anchoring/spec.md`. The remedy is the two-repository act
the runbook fixes the order of, and it lands as a companion codexFactory pull
request before this pin advances onto it.

Lane: openxfactory-1d

Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 5, 2026
…, published at contract-v3.4 — tranche three is canon (#669)

* Archive add-chain-anchoring: ratified (#513), realized (#629 11feff7), published at contract-v3.4 — tranche three is canon

Brett Heap ordered the archive 2026-09-04 in session, verbatim "archive
chain-anchoring", and ordered it as a PAIR: this packet FIRST because its
archive CREATES the capability the amendment's archive writes into. Every leg of
the evidence chain is read off `main` and none is assumed.

- RATIFIED 2026-08-30 by Brett Heap, repository owner, ruling item 2 of six,
  verbatim "2 yes with note". PR #513. Record
  `review/ratification-2026-08-30.md`, archived with the packet.
- REALIZED: PR #629, squash `11feff75` — twelve schemas, the canonical refusing
  reader, and twelve manifest rows registered AT REALIZATION on the owner's
  overruling of task 4.11's own timing ("merge 629, register now").
- COMPLETED BEFORE PUBLICATION: PR #657, squash `e65dcc48`, the amendment's
  realization the owner ordered to land before these schemas shipped in a
  tagged bundle.
- PUBLISHED: `contract-v3.4`, PR #653, squash `807a4f47`, annotated tag object
  `a3309921` — verified here by `git rev-list -n1 contract-v3.4` peeling to
  `807a4f47` rather than by reading the release note.

## Archive method — the recorded escape, disclosed in the packet

`python3 scripts/proposal-support.py . archive add-chain-anchoring` was tried
FIRST and REFUSED: exit 1, "change has incomplete tasks". Its gate is

    tasks.is_file() and re.search(r"^- \[ \]", tasks.read_text(), re.M)
    (scripts/proposal-support.py:1079-1081)

read off those three lines rather than remembered — UNCONDITIONAL on WHICH box.
`OPENSPEC_TELEMETRY=0 openspec archive add-chain-anchoring --yes` was run
instead, following `declare-spent-bundle-state` § 5.1 (PR #611, `7af2725c`) as
most recently applied by `add-subject-establishment` (PR #647, `e4ff4fb3`). It
reported `Task status: 24/40 tasks`,
`Warning: 16 incomplete task(s) found. Continuing due to --yes flag.`, created
the spec (`+ 9 added, ~ 0, - 0`), and moved the packet.

THE SIXTEEN OPEN BOXES ARE DISCLOSED AND CLASSIFIED in the archived tasks.md's
new closing section, because they span four sections rather than one § Open and
a reader should not have to reconstruct which class each falls in:

  (a) OPERATOR INFRASTRUCTURE — 4.5, 4.6, 4.7, 4.9, 4.10. Four carry `[OPERATOR]`
      in their own first words and `proposal.md`'s `code_surface` declares the
      anchoring RUNTIME NOT THIS CHANGE'S SURFACE. Ticked box 4.8 already says
      so in the packet's voice, and `contract-v3.4`'s own contract-index row
      says it in canon: no witness is configured, nothing is on any chain.
  (b) SETTLEMENTS THE RATIFIED REQUIREMENTS DELIBERATELY LEAVE OPEN — 5.1, 5.2,
      5.4, 5.5. Requirement 1 fixes the receipt SHAPE and not the unit;
      requirement 3 requires horizons be DECLARED and names no numbers;
      requirement 8 fixes the shape and the refusals and not the construction.
  (c) DISCHARGED ELSEWHERE, DELIBERATELY NOT TICKED HERE — 3.2 and 4.12. 4.12
      says of itself "The CUTTING SESSION's act ... and not this realization's",
      and the cutting session performed it: `contracts/README.md`'s own row reads
      "PUBLISHED at contract-v3.4, the cut that discharged task 4.12's half".
      An archive act is not the place to close another lane's boxes, and ticking
      them moves this gate not at all — fourteen would remain.
  (d) SUCCESSORS AND DEPENDENCIES — 6.1 … 6.5, under a heading that already
      reads NAMED, NOT DRAFTED.

Not one is undone realization of this change, and ticking any to satisfy the
wrapper would be writing a false completion past a gate that cannot tell "open
by omission" from "open by design" apart.

## The promotion was byte-checked, not trusted

`openspec/specs/chain-anchoring/spec.md` NEW. Both sides extracted from their
first `### Requirement:` line and diffed: IDENTICAL but for one trailing blank
line the archiver emits — 95509 bytes against 95510. NINE requirements / 89
SCENARIOS on both sides, the count `proposal.md` and the README record have
declared since the 2026-08-30 fix round. `git status --porcelain -uall
openspec/specs/` names that one file and nothing else, so no promoted
requirement in any other capability moved a word. The packet-side move is R100
on fourteen of fifteen files; tasks.md is R087 and its whole delta is the
disclosure above.

`openspec validate --all --strict`: 89 passed, 0 failed — and the TOTAL IS
UNCHANGED, measured on both sides rather than assumed: `origin/main` is 31
active + 58 specs, this tree is 30 active + 59 specs. An archive trades an
active change for a promoted capability and the item count does not move.

## Bookkeeping

- README "OpenSpec Records": the active entry (101 lines) removed, an archived
  entry added at the head of `Archived changes:`.
- `docs/domain-neutralization-candidate-register.md`: NO EDIT OWED — verified by
  enumeration, the packet names no DTN candidate and the register names no
  `chain-anchoring` row.
- `ideation/README.md`: NO EDIT OWED — verified, it carries no pointer to this
  packet.
- `ideation/staging/INDEX.md`: three path references to the active packet
  (lines 1996-2025) go stale with this move and are repointed in the follow-on
  commit alongside the ledger row, so this commit is the archive act and
  nothing else.

The corpus-ledger row follows in the next commit, the ledger's `moved_by`
needing this pull request's own number.

Lane: openxfactory-1d

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

* Move the one ledger row the archive moves, and follow the four ideation paths to the packet's new home

Both halves are consequences of the move in the previous commit. Neither is a
re-baseline to make a check pass.

## The corpus-ledger row — moved by the tool, never by hand

`python3 scripts/validate-sequenced-after.py . --seed-ledger --moved-by '#669'
--moved-on 2026-09-04` → `wrote tests/sequenced_after/corpus-ledger.yaml (165
rows, 1 moved by #669)`, and the row it names is `add-chain-anchoring`.

    -  add-chain-anchoring: {state: active,   ... moved_by: "#623", ...}
    +  add-chain-anchoring: {state: archived, ... moved_by: "#669", ...}

ONE LINE. `class: sole`, `declares: absent` and `prose: false` are unchanged and
NO PARTNER FLIPPED, so **no MOVEMENT LOG entry is owed** —
`add-per-change-sweep-ledger`'s restated rule reserves an entry for a move the
row diff does NOT state, and this move is entirely stated by the row diff.
`--ledger-diff` had reported the staleness in advance and named its whole
extent: one stale row plus the three derived totals that follow from it (active
31→30, archived 134→135, active_sole 12→11). It now reads `per-change sweep
ledger consistent with the corpus (165 rows)`, exit 0, and
`pytest tests/sequenced_after` is 162 passed where it was 3 failed.

## The four ideation paths, repointed — three stale, one that was ALREADY a declared dead reference

`ideation/staging/INDEX.md` (three sites, the staged topic's Exit-3 record) and
`ideation/brainstorm/medxchain-blockchain-medical-records.md` (one site) named
`openspec/changes/add-chain-anchoring/…`, which the move dissolved. Each now
names the archive path. The brainstorm site is the interesting one: its own
sentence already declared the reference dead — *"That path resolves once #513
lands and is a dead reference before then"* — so this repoint DISCHARGES a
disclosure the source made about itself rather than repairing an oversight, and
the sentence's historical framing is left exactly as written.

The INDEX also carried a claim the archive falsifies: **EXIT 3 IS THEREFORE
RATIFIED AND NOT REALIZED**; the contract family and its validator are a later
commission. That sentence was true when written and is not now. It is KEPT and
answered rather than rewritten — the lifecycle's rule for a superseded
statement — with the closing act named: realized #629 `11feff75`, completed
#657 `e65dcc48`, published `contract-v3.4` `807a4f47` / tag `a3309921`,
archived 2026-09-04.

## The sentinel pin — 70 -> 70, and the equality is why nothing else moved

RE-ENUMERATED WITH `pin_class.verify()` ON BOTH TREES rather than reasoned
about: `origin/main` and this branch each report **70 sites / 24 members**,
verdicts `pass` 53 / `not-applicable` 16 / `lost` 1, with
`lost_awaiting_record` 0, `uncovered` `()` and `clean` true — IDENTICAL. Unlike
PR #647, whose `supporting-docs/manifest.yaml` travelled into the archive and
so moved a pin site under a new path, this packet has NO `supporting-docs/`
directory at all, so no site travelled and no comment in
`tests/doc-health/test_sentinel_vocabulary.py` goes stale. The measurement is
recorded because "nothing moved" is a claim like any other.

## Gates at this head

`openspec validate --all --strict` 89 passed / 0 failed (unchanged from
`origin/main`'s 89 — 31 active + 58 specs becomes 30 active + 59 specs);
`proposal-support.py . verify` ok; `validate-sequenced-after.py . --ledger-diff`
consistent, 165 rows; `pytest tests/sequenced_after` 162 passed;
`pytest tests/doc-health` **1552 passed**; and `doc-health.py --single-repo`
taken at `origin/main` (`9420472e`, a detached worktree) and at this branch's
head gives a finding set that is IDENTICAL LINE FOR LINE once the
directory-derived repo identity is normalized — 6 critical / 4 error / 27
warning / 13 info on both sides, `diff` exit 0. The one headline number that
moves is the canon share, 35.4% → 36.6%, which is the promotion doing exactly
what a promotion does.

EXPECTED AND NOT THIS BRANCH'S DEFECT: `pytest tests/review_lane_pin` is 3
failed / 52 passed / 1 skipped, the three being
`test_floor_snapshot.py`'s `test_every_tracked_openspec_spec_path_is_on_the_floor`
and its two negative controls, each naming exactly one path —
`openspec/specs/chain-anchoring/spec.md`. The remedy is the two-repository act
the runbook fixes the order of, and it lands as a companion codexFactory pull
request before this pin advances onto it.

Lane: openxfactory-1d

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

* Re-pin merge-master core 6d35c4fe -> 76fa501c; floor 66 -> 67 (chain-anchoring)

Archiving `add-chain-anchoring` promotes
`openspec/specs/chain-anchoring/spec.md`. codexFactory's
`repository_gate_floor` for this repository is an EXACT ENUMERATION of that
surface, so the new spec arrived OFF the floor for the same structural reason
as the three promotions before it on this same day. The fourth advance of the
day, eight hours after the prior note called itself the last of the family —
which was accurate when written, and this is exactly the "whichever future
archive first does" it named.

Five sites move in this one commit, per the runbook and openxFactory PR #569:

  1. contracts/review-lane-pin.yaml            core_commit
  2. .github/workflows/merge-master-approval.yml PINNED_CORE_COMMIT
  3. .github/workflows/merge-master-approval.yml core checkout `ref:`
  4. .github/workflows/pytest-suite.yml          core checkout `ref:`
  5. contracts/review-lane-floor-snapshot.yaml   byte copy at the new commit

`6d35c4fecaa4af7a23134678f9239e409ff5215f` (codexFactory PR #198) ->
`76fa501cd1c846ca9676d901e41e33ae1e730733` (codexFactory PR #204, MERGE
COMMIT, 2026-09-04T23:47:59Z, verified an ancestor of codexFactory
origin/main immediately before this advance). entry_count 66 -> 67;
sha256 b890cf1d... -> c4a386dbbfff3b35c0ef0afd1b36932e181effb551a69434cb02b25332a59e78.

SNAPSHOT BYTE IDENTITY, measured three independent ways: (a) sha256 over
the 12809-byte file matches; (b) `git hash-object` on the vendored copy
equals the blob id codexFactory's own tree carries for that path at
76fa501c (`4dffee49`); (c) the pin suite's freshness comparison ran with the
pinned core checked out beside it: 56 passed, ZERO skipped.

THE FLOOR GREW BY EXACTLY ONE, AND IT IS THE SPEC. Whole diff against
6d35c4fe: one added entry line, the generated block's three regeneration
fields (generated_at / --ref 0ae7408 -> 3afd8a8, entry_count 58 -> 59),
and the document's two "8 + 1" self-descriptions moving 66 -> 67. PR #204
regenerated at openxFactory 3afd8a8 — THIS branch's own pushed head,
EXACTLY, the ledger commit that closes the archive — so the snapshot's
`generated_at` non-member value is the immediate parent of this commit.

NO COLLISION, measured directly: `git merge-base --is-ancestor origin/main
HEAD` holds on this branch (main 9420472 is an ancestor of 3afd8a8), so
no commit main gained after the branch was cut needed reconciling. main
carries 58 tracked paths under openspec/specs, this branch 59; the one
addition is this packet's own promotion. One regeneration at one tree
suffices; the second-lander remedy is not engaged.

HISTORY PRESERVED, LIVE CLAIMS RE-MEASURED: every remaining `6d35c4fe` in
the pin file and the caller header is prose describing the 16:02 advance,
retained as history. Live counts moved with the pin: pinned_members
SIXTY-SIX -> SIXTY-SEVEN and FIFTY-EIGHT -> FIFTY-NINE, "ALL THREE" -> "ALL
FOUR 2026-09-04 ADVANCES", the caller header's sixty-six / fifty-eight, the
snapshot generated_at note 0ae7408 -> 3afd8a8, and a seventh regeneration
appended to the block's provenance list.

LOCKSTEP RE-MEASURED, STILL DIVERGED: both xFactory judging surfaces were
read directly off xFactory main (f0ca0365, 2026-09-04T23:09:53Z) —
merge-master-approval.yml line 146 and council-convening-lane.yml line 302
— and both still name f4702f64 verbatim. Cause unchanged since 2026-09-01
and forced by the feature; the convergence obligation stands undischarged,
now owed against a floor moved SEVEN times, four of them this one day.

Validated on this tree:
  pytest tests/review_lane_pin          55 passed, 1 skipped, 18 subtests
  ... with PINNED_CORE_CHECKOUT present  56 passed, ZERO skipped
  pytest tests/doc-health               1552 passed
  pytest tests/sequenced_after          162 passed
  openspec validate --all --strict      89 passed, 0 failed
  validate-sequenced-after.py --ledger-diff  consistent, 165 rows
  all four YAML files re-parse

Refs #669
Lane: openxfactory-1d

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

---------

Co-authored-by: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 5, 2026
The only consequence of the previous commit that needs a tool run, and it is a
tool run and not a hand edit. Unlike PR #669's companion commit there are NO
ideation repoints to follow: `ideation/staging/INDEX.md`,
`ideation/brainstorm/` and `ideation/README.md` were grepped for this packet's
path and none names it, so this commit is the ledger row and nothing else.

## The corpus-ledger row — moved by the tool, never by hand

`python3 scripts/validate-sequenced-after.py . --seed-ledger --moved-by '#670'
--moved-on 2026-09-05` → `wrote tests/sequenced_after/corpus-ledger.yaml (166
rows, 1 moved by #670)`, and the row it names is
`amend-chain-anchoring-readiness-and-durability`.

    -  amend-chain-anchoring-readiness-and-durability: {state: active,   ... moved_by: "#548", moved_on: "2026-09-04"}
    +  amend-chain-anchoring-readiness-and-durability: {state: archived, ... moved_by: "#670", moved_on: "2026-09-05"}

ONE LINE. `class: sole`, `declares: [add-chain-anchoring]`, `depth: 1` and
`prose: false` are unchanged, and **NO PARTNER FLIPPED** — the declared parent
`add-chain-anchoring` was already `archived` by #669 the day before, so this
row's own hop resolves against an archived parent exactly as it did against an
active one. **No MOVEMENT LOG entry is owed**, and the rule is the ledger
header's own: the hand-written narrative "stays in one place and it is not this
file: the MOVEMENT LOG in `tests/sequenced_after/test_sweep.py`, **appended only
when a move is NOT explained by the row diff itself**". This move is entirely
explained by the row diff above.

`--ledger-diff` had reported the staleness in advance and named its whole
extent: one stale row plus the three derived totals that follow from it (active
31→30, archived 135→136, active_sole 11→10). It now reads `per-change sweep
ledger consistent with the corpus (166 rows)`, exit 0, and
`pytest tests/sequenced_after` is **162 passed** where it was 3 failed.

## The sentinel pin — 70 -> 70, and NOT ONE SITE TRAVELLED

RE-ENUMERATED WITH `pin_class.verify()` ON BOTH TREES rather than reasoned
about. `origin/main` (`66d11a24`) and this branch each report **70 sites / 24
members**, verdicts `pass` 53 / `not-applicable` 16 / `inconclusive` 1, with
`lost` 0, `lost_awaiting_record` 0, `uncovered` `()`, `vanished` `()`,
`arrived` `()` and `clean` true — **IDENTICAL**. Like `add-chain-anchoring` and
unlike `add-subject-establishment`, this packet has **no `supporting-docs/`
directory at all** — its six files are `.openspec.yaml`, `design.md`,
`proposal.md`, `tasks.md`, `review/ratification-2026-09-04.md` and the spec
delta — so no pin site moved under a new path and no comment in
`tests/doc-health/test_sentinel_vocabulary.py` goes stale by this act. The
measurement is recorded because "nothing moved" is a claim like any other.

## Gates at this head

`openspec validate --all --strict` **89 passed / 0 failed** (30 active + 59
specs, against `origin/main`'s 90 = 31 active + 59 — an archive into an EXISTING
capability trades an active change for nothing new, so unlike #669's the total
falls by one); `proposal-support.py . verify` ok;
`validate-sequenced-after.py . --ledger-diff` consistent, 166 rows;
`pytest tests/sequenced_after` **162 passed**;
`pytest tests/review_lane_pin` **55 passed / 1 skipped / 18 subtests** — GREEN,
because this act adds no new spec path and the base pin `76fa501c` already
floors `openspec/specs/chain-anchoring/spec.md`; and `doc-health.py
--single-repo` taken on `origin/main` and on this head gives a finding set that
is **IDENTICAL LINE FOR LINE** — 6 critical / 5 error / 30 warning / 13 info on
both sides, `diff` reporting exactly two moved lines, both of them word counts:
canon share 36.6% → 36.8% and promoted-spec words 229 919 → 233 202, which is
the promotion doing exactly what a promotion does.

EXPECTED AND NOT THIS BRANCH'S DEFECT: `pytest tests/doc-health` is 1 failed /
1543 passed / 8 skipped, the one being
`test_sentinel_vocabulary.py::test_the_pin_counts_did_not_move_and_no_site_is_classified_twice`
on `assert len(report.lost) == 1` reading 0. **IT FAILS IDENTICALLY ON A CLEAN
`origin/main` WORKTREE AT `66d11a24`**, same assertion, same line 967, same 0 —
measured, not inferred. The site #669's companion commit recorded as `lost` 1
reads `inconclusive` now that #669 is itself on `main` and the comparison base
has moved; the assertion went stale at that merge, and `main` has been red on it
since. It is disclosed here and dispositioned by nobody in this lane: this
archive neither caused it nor is the place to re-baseline another act's
constant.

Refs #548
Refs #657
Lane: openxfactory-1d
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 5, 2026
…: it is the measuring clone's, not main's

THE PREVIOUS COMMIT'S MESSAGE SAYS ONE THING THAT IS FALSE, and a wrong sentence
about a red gate is exactly the kind that gets believed later, so it is
corrected here rather than left standing. `be85d034` says of
`tests/doc-health/test_sentinel_vocabulary.py::test_the_pin_counts_did_not_move_and_no_site_is_classified_twice`:

    IT FAILS IDENTICALLY ON A CLEAN `origin/main` WORKTREE AT `66d11a24` ...
    the assertion went stale at that merge, and `main` has been red on it
    since.

The first clause is true and the second is **NOT**. `main` is not red. Its own
`pytest-suite` run at `66d11a24` — run `33933527185`, 2026-09-05 00:36:21Z, on a
COMPLETE clone — is **SUCCESS**, and that was measured after the claim was
written rather than before, which is how the error survived to be committed.
It cannot be amended away: this repository's ruleset declines a non-fast-forward
push, so the correction is a commit and not a rewrite.

THE REAL CAUSE, TAKEN FROM THE TOOL'S OWN WORDS RATHER THAN INFERRED. This
branch was authored in a **blobless clone** (`remote.origin.promisor true`,
`partialclonefilter blob:none`). `pin_class.verify()` classifies the site
`openspec/changes/archive/2026-08-27-add-hermes-customer-subject-runtime-contract/evidence/provider-verification.yaml`
key `us3_baseline_commit` as `inconclusive` here, and its `how` string says
exactly why:

    TRUNCATED CLONE, observed not conjectured: <path> is a partial clone
    (remote.origin.promisor true); no
    refs/retention/pins/66b14064bbd50d1af4e9585d10f8150f2bc352f0 on origin and
    none locally

`pin_class` REFUSES to call a site `lost` from a truncated clone, because a
truncated clone cannot tell "gone" from "not fetched" — the report's own
`truncated` flag is true for the same reason. A complete clone classifies that
same site `lost` against its declared loss record, which is the 1 the assertion
reads. So the local census `pass` 53 / `not-applicable` 16 / **`inconclusive` 1**
and CI's `pass` 53 / `not-applicable` 16 / **`lost` 1** are the SAME census
measured through two different clones, and the earlier commit's identical
`origin/main` worktree comparison proves only that both sides of THIS clone are
truncated the same way — which is worth recording, and is not evidence about
`main`.

NOTHING IN THE TREE CHANGES. The site counts (70 / 24), the `clean` verdict, the
`uncovered` / `vanished` / `arrived` emptiness and every other gate the previous
commit reports stand exactly as measured; only the sentence blaming `main` is
withdrawn. No test is re-baselined, no constant is moved, and no box is ticked.

Refs #548
Refs #657
Lane: openxfactory-1d
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 5, 2026
…, realized (#657 e65dcc4), published at contract-v3.4 — chain-anchoring is eleven requirements (#670)

* Archive amend-chain-anchoring-readiness-and-durability: ratified (#548), realized (#657 e65dcc4), published at contract-v3.4 — chain-anchoring is eleven requirements

Brett Heap ordered the archive 2026-09-04 in session, verbatim "archive
chain-anchoring", and ordered it as a PAIR. This is the SECOND half.
`add-chain-anchoring` archived FIRST on 2026-09-04 (PR #669, squash `66d11a24`)
and CREATED `openspec/specs/chain-anchoring/spec.md` at nine requirements; this
packet archives into that same file on 2026-09-05. The order is the one this
packet's own task 3.2 fixes, because the reverse writes a capability holding
only the amendment's two requirements and loses the basis it amends. The two
dates straddle a UTC midnight; the act does not. Every leg of the evidence chain
is read off `main` and none is assumed.

- RATIFIED 2026-09-04 by Brett Heap, repository owner, in session, recorded on
  PR #548, squash `471d3361`, verbatim "ratify 2 and 3" — both requirements AS
  WRITTEN and unamended over head `2677cef9`. Requirement 1 was WITHDRAWN, not
  refused, by his separate and earlier ruling of the same day. Record
  `review/ratification-2026-09-04.md`, archived with the packet.
- REALIZED: PR #657, squash `e65dcc48`, merged 2026-09-04T18:25:33Z — six
  further schemas under `contracts/chain-anchoring/` (confirmation-profile,
  confirmation-profile-registry, daily-merkle-profile,
  durability-eligibility-registry, durability-batch-admission,
  durability-batch-manifest), each with a registered `contracts/manifest.yaml`
  row, plus the replacement of `anchor-state.schema.yaml`'s closed per-witness
  enumeration while it was still unpublished.
- PUBLISHED: `contract-v3.4`, PR #653, squash `807a4f47`, annotated tag object
  `a3309921` — verified here by `git rev-list -n1 contract-v3.4` peeling to
  `807a4f47` rather than by reading the release note. AND THE WORD IS USED
  PRECISELY: `contracts/releases/contract-v3.4.digests.yaml` is a SELECTIVE
  inventory, 283 entries with ZERO rows under `contracts/chain-anchoring/`, so
  publication means the six manifest rows, the `contracts/CHANGELOG.md` v3.4
  entry naming this change at four sites, and the `contracts/README.md`
  contract-index row — never "its digests are in the inventory", which the
  inventory itself refutes.

## Archive method — the recorded escape, disclosed in the packet

`python3 scripts/proposal-support.py . archive amend-chain-anchoring-readiness-and-durability`
was tried FIRST and REFUSED: exit 1, "change has incomplete tasks", tree
unchanged. Its gate is

    tasks = directory / "tasks.md"
    if tasks.is_file() and re.search(r"^- \[ \]", tasks.read_text(), re.M):
        raise SupportError("change has incomplete tasks")
    (scripts/proposal-support.py:1079-1081)

read off those three lines in this tree rather than remembered —
UNCONDITIONAL on WHICH box. `OPENSPEC_TELEMETRY=0 openspec archive
amend-chain-anchoring-readiness-and-durability --yes` was run instead,
following `declare-spent-bundle-state` § 5.1 (PR #611, `7af2725c`) as applied by
`add-subject-establishment` (PR #647, `e4ff4fb3`) and, immediately before this
act, by `add-chain-anchoring` itself (PR #669, `66d11a24`) — the same lane, the
same word, the other half of this pair. It reported `Task status: 10/14 tasks`,
`Warning: 4 incomplete task(s) found. Continuing due to --yes flag.`, updated
the spec (`+ 2 added, ~ 0, - 0`), and moved the packet to
`openspec/changes/archive/2026-09-05-amend-chain-anchoring-readiness-and-durability/`.

THE FOUR OPEN BOXES ARE DISCLOSED AND CLASSIFIED in the archived tasks.md's new
closing section, in three classes:

  (a) OPERATOR APPROVALS NO CONTRACT CAN PERFORM — 1.3 and 1.4. Both carry
      `[OPERATOR]` in their own first words, and both already carry the
      realization's own note saying so ("STILL OWED, AND IT IS AN OPERATOR ACT").
      The schemas fix every element the two tasks enumerate and the canonical
      reader refuses each failure mechanically; what is missing is the operator's
      approval, and the packaged conformance declaration records
      `operator_approval_outstanding` in the present tense.
  (b) THIS ACT — 3.2, "archive add-chain-anchoring FIRST ... then archive this
      amendment SECOND; verify all eleven promoted requirements byte-for-byte".
      That is exactly what the pair did and what this commit completes. IT IS
      STILL NOT TICKED: an archive act does not close its own box, ticking it
      would edit the packet's task list in the commit that freezes the packet as
      a record, and it moves the wrapper's gate not at all — three would remain.
      #669 set the precedent one day earlier and one lane over, leaving its own
      3.2 and 4.12 open and recording the facts one section away.
  (c) THE CUT — 3.3, discharged by the cutting session in another lane at
      `contract-v3.4` (PR #653, `807a4f47`, tag `a3309921`). Its one departure
      from the box's own text is recorded rather than glossed: the cut was taken
      BEFORE either archive was present, on the owner's explicit order that #657
      land before these schemas shipped in a tagged bundle, because replacing a
      closed enum is free while unpublished and a compatibility break once
      published.

Not one is undone realization of this change, and ticking any to satisfy the
wrapper would be writing a false completion past a gate that cannot tell "open
by omission" from "open by design" apart. NO BOX IS TICKED BY THIS COMMIT — the
archived tasks.md still reads 10 ticked and 4 open, exactly as the packet
carried them.

## The promotion was byte-checked in BOTH directions, not trusted

An archive that only checks what it appended has checked half of what it could
break, so both halves were extracted and diffed.

- THE NINE REQUIREMENTS #669 PROMOTED ARE UNTOUCHED: extracted from the first
  `### Requirement:` line of `git show origin/main:openspec/specs/chain-anchoring/spec.md`
  and of this tree's file up to the first appended heading — 95510 bytes against
  95510, `diff` exit 0, NOT ONE CHARACTER. Nine requirements / 89 scenarios both
  sides.
- THE TWO APPENDED ARE THE ARCHIVED DELTA'S OWN TEXT: IDENTICAL but for the one
  trailing blank line the archiver emits — 23811 against 23812, the same
  one-byte signature #669 recorded. Two requirements / 34 scenarios both sides,
  and no `## MODIFIED Requirements` block existed anywhere in the delta.

The file goes 95655 -> 119467 bytes at ELEVEN REQUIREMENTS / 123 SCENARIOS
(9 + 2, 89 + 34) — the counts the archived `add-chain-anchoring` record and this
packet's ratification record each declared separately, now met by measurement.
Neither appended title collides with any of the nine. `git status --porcelain
-uall openspec/specs/` names that one file and nothing else, so no promoted
requirement in any other capability moved a word. The packet-side move is R100
on five of six files; tasks.md is the sixth and its whole delta is the
disclosure above.

`openspec validate --all --strict`: 89 passed, 0 failed, measured on both sides
rather than assumed — `origin/main` is 31 active + 59 specs (90 items), this
tree is 30 active + 59 specs (89). The total DROPS BY ONE here where #669's held,
and that is the difference between an archive that CREATES a capability and one
that writes into an existing one: this promotion adds no new spec directory.

## Bookkeeping

- README "OpenSpec Records": the active entry (32 lines) removed, an archived
  entry added at the HEAD of `Archived changes:`, immediately above
  `add-chain-anchoring`'s own archived row, so the ordered pair reads together.
  The entry's one claim the archive falsifies — that a follow-on pass "is now
  OWED ... and must land before the next chain-anchoring bundle cut" — is KEPT
  AND ANSWERED rather than deleted, per the lifecycle rule, with the closing
  acts named: #657 `e65dcc48`, then `contract-v3.4` `807a4f47`, in that order and
  on the owner's instruction.
- `specs/029-chain-anchoring-durability-confirmation/spec.md:10` names the
  ratification record by path; repointed to the archive path.
- THREE FURTHER PATH REFERENCES ARE DELIBERATELY LEFT UNTOUCHED, being published
  contract bytes at `contract-v3.4`: `contracts/chain-anchoring/README.md:38`,
  `contracts/chain-anchoring/anchoring-definitions.schema.yaml:37` and
  `contracts/manifest.yaml:3532`, each naming
  `openspec/changes/amend-chain-anchoring-readiness-and-durability/review/ratification-2026-09-04.md`.
  Editing a comment inside a released file would drift the release inventory
  (#622 precedent), and #669 left its own equivalents at
  `contracts/chain-anchoring/README.md:6` and `contracts/manifest.yaml:3265`
  exactly the same way. The record they name still resolves, at its archive path.
- A fourth site, inside the archived `review/ratification-2026-09-04.md` itself,
  quotes a `git diff` command that was correct when it was run. It is a frozen
  record and is not edited.
- `docs/domain-neutralization-candidate-register.md`, `ideation/README.md` and
  `ideation/staging/INDEX.md`: NO EDIT OWED — verified by grep, none names this
  packet's path.

The corpus-ledger row follows in the next commit, the ledger's `moved_by`
needing this pull request's own number.

Refs #548
Refs #657
Lane: openxfactory-1d
Co-Authored-By: Claude Fable 5.1 <[email protected]>

* Move the one ledger row the archive moves

The only consequence of the previous commit that needs a tool run, and it is a
tool run and not a hand edit. Unlike PR #669's companion commit there are NO
ideation repoints to follow: `ideation/staging/INDEX.md`,
`ideation/brainstorm/` and `ideation/README.md` were grepped for this packet's
path and none names it, so this commit is the ledger row and nothing else.

## The corpus-ledger row — moved by the tool, never by hand

`python3 scripts/validate-sequenced-after.py . --seed-ledger --moved-by '#670'
--moved-on 2026-09-05` → `wrote tests/sequenced_after/corpus-ledger.yaml (166
rows, 1 moved by #670)`, and the row it names is
`amend-chain-anchoring-readiness-and-durability`.

    -  amend-chain-anchoring-readiness-and-durability: {state: active,   ... moved_by: "#548", moved_on: "2026-09-04"}
    +  amend-chain-anchoring-readiness-and-durability: {state: archived, ... moved_by: "#670", moved_on: "2026-09-05"}

ONE LINE. `class: sole`, `declares: [add-chain-anchoring]`, `depth: 1` and
`prose: false` are unchanged, and **NO PARTNER FLIPPED** — the declared parent
`add-chain-anchoring` was already `archived` by #669 the day before, so this
row's own hop resolves against an archived parent exactly as it did against an
active one. **No MOVEMENT LOG entry is owed**, and the rule is the ledger
header's own: the hand-written narrative "stays in one place and it is not this
file: the MOVEMENT LOG in `tests/sequenced_after/test_sweep.py`, **appended only
when a move is NOT explained by the row diff itself**". This move is entirely
explained by the row diff above.

`--ledger-diff` had reported the staleness in advance and named its whole
extent: one stale row plus the three derived totals that follow from it (active
31→30, archived 135→136, active_sole 11→10). It now reads `per-change sweep
ledger consistent with the corpus (166 rows)`, exit 0, and
`pytest tests/sequenced_after` is **162 passed** where it was 3 failed.

## The sentinel pin — 70 -> 70, and NOT ONE SITE TRAVELLED

RE-ENUMERATED WITH `pin_class.verify()` ON BOTH TREES rather than reasoned
about. `origin/main` (`66d11a24`) and this branch each report **70 sites / 24
members**, verdicts `pass` 53 / `not-applicable` 16 / `inconclusive` 1, with
`lost` 0, `lost_awaiting_record` 0, `uncovered` `()`, `vanished` `()`,
`arrived` `()` and `clean` true — **IDENTICAL**. Like `add-chain-anchoring` and
unlike `add-subject-establishment`, this packet has **no `supporting-docs/`
directory at all** — its six files are `.openspec.yaml`, `design.md`,
`proposal.md`, `tasks.md`, `review/ratification-2026-09-04.md` and the spec
delta — so no pin site moved under a new path and no comment in
`tests/doc-health/test_sentinel_vocabulary.py` goes stale by this act. The
measurement is recorded because "nothing moved" is a claim like any other.

## Gates at this head

`openspec validate --all --strict` **89 passed / 0 failed** (30 active + 59
specs, against `origin/main`'s 90 = 31 active + 59 — an archive into an EXISTING
capability trades an active change for nothing new, so unlike #669's the total
falls by one); `proposal-support.py . verify` ok;
`validate-sequenced-after.py . --ledger-diff` consistent, 166 rows;
`pytest tests/sequenced_after` **162 passed**;
`pytest tests/review_lane_pin` **55 passed / 1 skipped / 18 subtests** — GREEN,
because this act adds no new spec path and the base pin `76fa501c` already
floors `openspec/specs/chain-anchoring/spec.md`; and `doc-health.py
--single-repo` taken on `origin/main` and on this head gives a finding set that
is **IDENTICAL LINE FOR LINE** — 6 critical / 5 error / 30 warning / 13 info on
both sides, `diff` reporting exactly two moved lines, both of them word counts:
canon share 36.6% → 36.8% and promoted-spec words 229 919 → 233 202, which is
the promotion doing exactly what a promotion does.

EXPECTED AND NOT THIS BRANCH'S DEFECT: `pytest tests/doc-health` is 1 failed /
1543 passed / 8 skipped, the one being
`test_sentinel_vocabulary.py::test_the_pin_counts_did_not_move_and_no_site_is_classified_twice`
on `assert len(report.lost) == 1` reading 0. **IT FAILS IDENTICALLY ON A CLEAN
`origin/main` WORKTREE AT `66d11a24`**, same assertion, same line 967, same 0 —
measured, not inferred. The site #669's companion commit recorded as `lost` 1
reads `inconclusive` now that #669 is itself on `main` and the comparison base
has moved; the assertion went stale at that merge, and `main` has been red on it
since. It is disclosed here and dispositioned by nobody in this lane: this
archive neither caused it nor is the place to re-baseline another act's
constant.

Refs #548
Refs #657
Lane: openxfactory-1d
Co-Authored-By: Claude Fable 5.1 <[email protected]>

* Correct the previous commit's diagnosis of the one local test failure: it is the measuring clone's, not main's

THE PREVIOUS COMMIT'S MESSAGE SAYS ONE THING THAT IS FALSE, and a wrong sentence
about a red gate is exactly the kind that gets believed later, so it is
corrected here rather than left standing. `be85d034` says of
`tests/doc-health/test_sentinel_vocabulary.py::test_the_pin_counts_did_not_move_and_no_site_is_classified_twice`:

    IT FAILS IDENTICALLY ON A CLEAN `origin/main` WORKTREE AT `66d11a24` ...
    the assertion went stale at that merge, and `main` has been red on it
    since.

The first clause is true and the second is **NOT**. `main` is not red. Its own
`pytest-suite` run at `66d11a24` — run `33933527185`, 2026-09-05 00:36:21Z, on a
COMPLETE clone — is **SUCCESS**, and that was measured after the claim was
written rather than before, which is how the error survived to be committed.
It cannot be amended away: this repository's ruleset declines a non-fast-forward
push, so the correction is a commit and not a rewrite.

THE REAL CAUSE, TAKEN FROM THE TOOL'S OWN WORDS RATHER THAN INFERRED. This
branch was authored in a **blobless clone** (`remote.origin.promisor true`,
`partialclonefilter blob:none`). `pin_class.verify()` classifies the site
`openspec/changes/archive/2026-08-27-add-hermes-customer-subject-runtime-contract/evidence/provider-verification.yaml`
key `us3_baseline_commit` as `inconclusive` here, and its `how` string says
exactly why:

    TRUNCATED CLONE, observed not conjectured: <path> is a partial clone
    (remote.origin.promisor true); no
    refs/retention/pins/66b14064bbd50d1af4e9585d10f8150f2bc352f0 on origin and
    none locally

`pin_class` REFUSES to call a site `lost` from a truncated clone, because a
truncated clone cannot tell "gone" from "not fetched" — the report's own
`truncated` flag is true for the same reason. A complete clone classifies that
same site `lost` against its declared loss record, which is the 1 the assertion
reads. So the local census `pass` 53 / `not-applicable` 16 / **`inconclusive` 1**
and CI's `pass` 53 / `not-applicable` 16 / **`lost` 1** are the SAME census
measured through two different clones, and the earlier commit's identical
`origin/main` worktree comparison proves only that both sides of THIS clone are
truncated the same way — which is worth recording, and is not evidence about
`main`.

NOTHING IN THE TREE CHANGES. The site counts (70 / 24), the `clean` verdict, the
`uncovered` / `vanished` / `arrived` emptiness and every other gate the previous
commit reports stand exactly as measured; only the sentence blaming `main` is
withdrawn. No test is re-baselined, no constant is moved, and no box is ticked.

Refs #548
Refs #657
Lane: openxfactory-1d
Co-Authored-By: Claude Fable 5.1 <[email protected]>

---------

Co-authored-by: Claude Fable 5.1 <[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