Skip to content

Ratify amend-owner-layer-severity: canon moves to ERROR to meet the shipped validator, and the retro-tagged bundles are dated - #617

Merged
brettheap merged 8 commits into
mainfrom
change/amend-owner-layer-severity
Sep 3, 2026
Merged

brettheap merged 8 commits into
mainfrom
change/amend-owner-layer-severity

Conversation

@brettheap

@brettheap brettheap commented Sep 3, 2026 •

Copy link
Copy Markdown
Contributor

Lane: openxfactory-smalls

Doc-only OpenSpec change (code_surface: none) carrying openxFactory issues #561 and #339 in one packet, on Brett Heap's ruling of 2026-09-03.

MERGED WITH main TWICE — most recently c271caa2 (3045ccbb) — mergeable, and all five checks green including pytest-suite. Two conflicts, both where this branch and main added to the same list on the same day, and both resolved by KEEPING BOTH: README's Archived changes: block carries this branch's amend-owner-layer-severity row AND main's add-project-repo-schema row (the contract-v3.1 cut, #616) with every other row untouched; tests/sequenced_after/test_sweep.py keeps main's MOVEMENT LOG entries ahead of this branch's two and adds a MERGE entry measured on the merged tree. Force-push is blocked on this repository, so this is a merge and not a rebase.

ARCHIVED IN THIS PR — canon moves with the packet, in one commit. code_surface: none makes the archive gate LANDING rather than merged-plus-green, so promotion and archive ride this pull request, the shape 2026-08-25-reconcile-lifecycle-books-count set for a doc-only packet. Performed at b9887c6c through python3 scripts/proposal-support.py . archive amend-owner-layer-severity --yes — never a bare openspec archive: the wrapper runs the origin gate, the incomplete-task gate and openspec validate --strict before the act. The packet is now at openspec/changes/archive/2026-09-03-amend-owner-layer-severity/, both requirements are promoted, and the README row sits under Archived changes:.

The ruling and its basis

Brett Heap, 2026-09-03, in session, over the lane's written recommendations for #561/#339 and four siblings: "implement your recommendations on all these" — recorded VERBATIM as the latest comment on both issues, each comment resolving the general word to that issue's subject. On #561: "Canon moves to ERROR … Basis: the 2026-09-02 measurement above (0 unresolvable tokens across the five consumers), so no consumer is refused and no phasing is owed. Vehicle: one doc-only OpenSpec change (code_surface: none), which also carries #339's sentence." On #339: "Fold into #561's packet … past-tensed and dated (the treatment PR #333 gave the same claim in release_inventory.py)."

#561 — canon comes to the code, not the code to canon. workflow-gate-contract's Owner layer constraint said an owner_layer resolving to neither a canonical role nor a declared layer id "SHALL be reported as a validator warning", promoted at a1a2802b on 2026-07-09. scripts/validate-domain-factory.py's check_workflows has reported it with rpt.error since 493fb33d on 2026-07-03 — six days earlier. Not a regression against canon: canon was written after the code and never matched it. retire-hermes-flat-keys-and-openworkflow-tokens recorded the divergence as its D4, declined to resolve it, and commissioned #561 (tasks § 6.1); its requirement names the fall-through's severity as "whatever the general rule carries" so this change could move it without reopening that row — and it does not reopen it.

The measurement came before the ruling, which is what #561's own item 2 demanded. At 96b2b968, across codexFactory, MedxFactory, LedgerxFactory, OpsxFactory and AdxFactory: zero gates carry an owner_layer that resolves to nothing. Either direction was free; no consumer is refused and no deprecation phasing is owed. The full table is in design.md.

NOT ONE LINE OF THE VALIDATOR MOVES. That is the ruling rather than an omission from it — a version of this packet that edited the validator would perform the opposite of what was ruled. design.md § THE VALIDATOR DOES NOT CHANGE says so with the line quoted.

#339 — an illustration is dated, not deleted. release-surface-integrity's The declared bundle describes the release surface justified its tag-free reference point with three bundles "recorded in the changelog and the manifest with no published tag". contract-v1.33, contract-v1.35 and contract-v1.39 were all retro-tagged 2026-08-25 by PR #333, so the present tense had been false for nine days. The paragraph is past-tensed with the retro-publication dated and attributed — the treatment PR #333 itself gave the identical claim in scripts/doc_health/release_inventory.py's docstring, and the one #339 named. The rule it justifies is untouched and still exactly right; deleting the three names would have removed canon's only evidence that the untagged state occurred.

Which requirement carried #339's sentence: it sits inside a requirement body, not in preamble prose — openspec/specs/release-surface-integrity/spec.md's "The declared bundle describes the release surface" opens at :6 and its first #### Scenario: is at :45, so the paragraph at :38-43 is amendable by a ## MODIFIED Requirements block. Both deltas are therefore carried; nothing had to be reported as unreachable.

Fidelity to canon

Both blocks were built from canon by extraction and substitution, never retyped, which is what makes the diff measured rather than hoped:

requirement canon sha256 delta sha256 word-diff
Owner layer constraint abe58572…77118237 035fb896…bc4ed439 validator warning. → validator error.; MUST report a warning identifying → MUST report an error identifying. Nothing else
The declared bundle describes the release surface 4c9e0b71…313f29567 6e102b2e…d02a1d19a one paragraph past-tensed and dated; four lines out, six in. Nothing else

A MODIFIED block replaces its requirement wholesale, so scenario completeness is load-bearing: canon's 1 scenario under the first and 4 under the second are all restated by title in canon's order, and the modified-block-currency arm that gates at error reads zero. No sibling-pairing finding is possible — both titles are promoted canon, not an active sibling's ADDED block — so no Modified over marker is owed and none is carried.

Evidence

Every gate was run at each of the three states this branch passes through — the packet ACTIVE, the packet ARCHIVED, and the merge with main — because a doc-only landing passes through all three and a reading from one is not a reading of another.

                                     ACTIVE      LANDED     MERGED-1    MERGED-2
                                   (d22dc2db)  (b9887c6c)  (923863ad)  (3045ccbb)
openspec validate <change> --strict   VALID    (archived)  (archived)  (archived)
openspec validate --all --strict     87 / 0      86 / 0      86 / 0      86 / 0
proposal-support verify <change>        ok          ok      (archived)  (archived)
proposal-support verify  (corpus)        —          ok          ok          ok
pytest tests/doc-health            1500 passed 1500 passed 1500 passed 1500 passed
pytest tests/sequenced_after        118 passed  118 passed  118 passed  118 passed

--all --strict reads 86 on every tree from the archive act onward, because the change is no longer an active item; origin/main at c271caa2 reads 86 too.

The promoted canon was re-verified by sha256 after EACH merge rather than assumed to have survived one — Owner layer constraint 035fb896…bc4ed439 and The declared bundle describes the release surface 6e102b2e…d02a1d19a, both still identical to the archived packet's own delta blocks on 3045ccbb.

The promotion is proven by sha256, not asserted. Each block extracted from canon AFTER promotion hashes identical to the packet's own delta block, and the post-promotion word-diff against pre-promotion canon shows the two ruled words and the one dated paragraph and nothing else:

Owner layer constraint
  canon before abe58572…77118237  ->  promoted 035fb896…bc4ed439  == delta   MATCH
  - any other value SHALL be reported as a validator warning.
  + any other value SHALL be reported as a validator error.
  - **THEN** the validator MUST report a warning identifying the gate …
  + **THEN** the validator MUST report an error identifying the gate …

The declared bundle describes the release surface
  canon before 4c9e0b71…313f29567  ->  promoted 6e102b2e…d02a1d19a  == delta   MATCH
  one paragraph past-tensed and dated; four lines out, six in

promotion-fidelity — which measures this packet against canon from the moment it archived — reports 0 critical / 0 error / 0 warning / 0 info and names this packet nowhere.

Doc-health vs a detached origin/main baseline, both --single-repo, finding lines normalized for the worktree name and diffed. Three readings, at the three states this branch passes through, each against the baseline that was current for it:

                                     critical  error  warning  info   lines
origin/main 0bf37d14 (baseline A)           6      6       29    14      55
  ACTIVE   (d22dc2db)                       6      6       29    16      57   +2 info, 0 lost
  LANDED   (b9887c6c)                       6      6       29    14      55   0 new, 0 lost
origin/main 19d00872 (baseline B)           6      6       29    13      54
  MERGED-1 (923863ad)                       6      6       29    13      54   0 new, 0 lost
origin/main c271caa2 (baseline C)           6      4       29    13      52
  MERGED-2 (3045ccbb)                       6      4       29    13      52   0 new, 0 lost

On each merged tree the two finding sets are IDENTICAL to origin/main's at that moment — 54 lines each against baseline B, 52 each against baseline C, zero new at any severity and zero lost both times. The baselines themselves move because main cut contract-v3.1 and then contract-v3.2 in between, re-baselining release-inventory-drift rows; every one of those movements is main's and is present on both sides of the diff.

On the landed tree the two finding sets are IDENTICAL — zero new at any severity and zero lost — because the carriage-ledger rows retire with the promotion. While the packet stood ACTIVE the only movement was its own two info rows, naming exactly the units the word-diffs above name:

  • …/specs/workflow-gate-contract/spec.md — "does not carry 2 of the 3 body units and scenario bullets" (the body clause and the scenario's **THEN** bullet; the **WHEN** bullet is byte-identical)
  • …/specs/release-surface-integrity/spec.md — "does not carry 1 of the 23" (the tag-is-not-the-reference paragraph; the other 22, all four scenarios included, are byte-identical)

The arm cannot distinguish a ruled amendment from stale text and does not claim to; the rows were the audit trail, and both retired on the condition they were written with — both halves verified before the rows were deleted: the packet is at openspec/changes/archive/2026-09-03-amend-owner-layer-severity/, both blocks promoted byte-identical under the hashes above, and a --family modified-block-currency run over the landed tree returns zero lines mentioning the change id at any path.

Two live corpus pins move — bookkeeping, not a code surface

Both count the corpus, so both move whenever any change is authored — and both move AGAIN when it archives. A doc-only landing does both in one commit, so each pin moves twice here, and both halves are recorded rather than netted: a reader who sees only the net cannot tell an archived packet from one that was never authored.

tests/sequenced_after/test_sweep.py, re-derived on EVERY tree rather than carried over — twice more after each catch-up merge:

                  main(0bf37d14) authoring archive  main(19d00872) MERGED-1  main(c271caa2) MERGED-2/asserted
co_modified            109    ->   111   ->  111        109          111          109            111
change_ids - 1         157    ->   158   ->  158        157          158          157            158
sole_modifiers - 1      48    ->    47   ->   47         48           47           48             47
active_co_modified      21    ->    22   ->   21         20           20           20             20
active_sole - 1         11    ->    11   ->   11         11           11           10             10

This branch's contribution is unchanged in shape across both merges and lives entirely in co_modified (+2), sole_modifiers (−1) and change_ids (+1). active_co_modified it moves NOT AT ALL — the authoring and the archive cancel inside the one commit, which is what a doc-only landing does to that pin — and active_sole it never touches, a hold that is ASSERTED rather than assumed precisely because the same commit moves four other readings. active_sole - 1 falls to 10 on the second merge for main's own reason (#615 archived update-standards-body-current-publications, a SOLE active).

active_co_modified is a NET OF FOUR OPPOSED MOVES, and the other pins COMPOUND — that asymmetry is the first merge's whole content. main moved twice off the shared 20-baseline (create-medxchart-overlay-boundary's RATIFICATION #608 20 → 21, then add-project-repo-schema's ARCHIVE on the contract-v3.1 cut 21 → 20) and this branch moved twice off the same baseline in one commit (authoring 20 → 21, archive 21 → 20). Four moves, cancelling two-for-two, so the merged tree reads 20 — neither branch's intermediate and not arithmetic on either. co_modified, change_ids and sole_modifiers compound instead, because main's two moves were an active-membership ratification and an archive, neither of which touches a corpus-wide count. Both sides' MOVEMENT LOG entries are KEPT in every conflict resolution and none is rewritten; a merge entry measured on the merged tree is added each time.

The authoring's rise-of-two-with-the-sole-set-falling is the add-cpc-clearing-boundary shape: the archived promote-workflow-gate-contract was SOLE on the owner-layer key and flips, while the archived add-release-inventory-drift-check was already co-modified and does not; active_sole holds because the flipped change is ARCHIVED. Measured on every tree and by exclusion, never adjusted by arithmetic. At the final state: origin/main at c271caa2 31 active + 127 archived = 158 / 109 / 49 / 20-11; the merged tree 31 + 128 = 159 / 111 / 48 / 20-11; and the control that rules out a third mover, run after each merge: the same sweep on the merged tree with only openspec/changes/archive/2026-09-03-amend-owner-layer-severity/ moved aside reads 158 / 109 / 49 / 20-11 — main's own reading exactly, so this one archived packet is the whole of the difference and none of main's newer commits interacts with it.

tests/doc-health/test_modified_block_currency_self_gate.py — the carriage-ledger population 8 → 10 → 8, the two rows added with dated notes and retired in the same commit, verified before deletion.

Each is moved in this change's own commit with a dated note, which is those pins' own stated protocol, and the proposal's code_surface: none names them rather than leaving them to a diff.

Not in scope

scripts/validate-domain-factory.py (§ above); the openworkflow-prefixed branch, retired by #551's realization; the contract-v1.33/v1.35/v1.39 release records themselves, which are the record of what was declared and are not rewritten to match a later world; OpsxFactory's three unrelated validator errors, recorded in design.md only so the measurement is honest.

A README "OpenSpec Records" conflict with sibling lane PRs is expected at merge time and is not pre-empted here; the one with main is already resolved above, keeping both rows.

tasks.md § 6 (promotion + archive) is ticked with Executed rows carrying the hashes, the promotion-fidelity zero and the both-sides sweep. § 3.5 and § 5.1 record BOTH doc-health readings rather than only the transient one, and the ratification record's Next section says the act was performed rather than owed.

A README "OpenSpec Records" conflict with sibling lane PRs is expected at merge time and is not pre-empted here.

Review state

CI: merge-master-approval, openreposhape-pin, signed-execution-chain-gate and wallet-validation PASS.

pytest-suite is GREEN on the final head 3045ccbb: selected=9029 passed=9008 skipped=21 failures=0 errors=0. The failing set is EMPTY. The six tests/factory_identity/test_mint_script.py ModuleNotFoundError: No module named 'cryptography' failures this PR inherited from main ea117d4e — the only failures it ever carried, at 2721b07d, d22dc2db and b9887c6c alike, 6 failed, 8935 passed each time — are fixed on main by #621 (11db75ee, "The mint script's Ed25519 dependency is declared where the suite installs it"), and the merge picks that fix up. The failing set is now empty, and this PR never had a failure of its own.

One local flake, recorded rather than hidden. test_the_report_moves_only_in_this_family_s_lines failed once in a local tests/doc-health run on the merged tree, reporting a report movement of 9 info against the family's own 8. The extra row is release-tag-publication's contract-v2.6 SPENT info, which that family derives by reading origin/main and the repository's published tag refs; under concurrent git activity in this shared checkout the read can come back empty and the row falls out of ONE of the two renderings the test compares, which is enough to fail a difference assertion. It is not this packet's: the row belongs to another family, the same test PASSES at origin/main 19d00872, and a clean re-run of the whole suite on the merged tree reads 1500 passed. CI's own pytest-suite covers it and is green.

Codex: PROVIDER REFUSAL, not a verdict. @codex review was requested ONCE and returned, verbatim:

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.

Not re-requested. This is the provider's usage ceiling — not a finding, not a silence basis, and not evidence of anything about the packet. A Codex pass remains owed and is blocked by nothing here.

Copilot round 1 — 🟡 Changes recommended, one finding, TAKEN (2721b07d). The design's Context said the validator had reported error "for fourteen months of commits"; the commit it cites is 493fb33d, 2026-07-03, two months before this packet — and every other statement in the packet, including the proposal's "conformed to for two months", said so. Corrected to the date and to the interval that actually carries the argument, which is an ORDERING rather than a duration: the validator has behaved this way since 2026-07-03, six days LONGER than the requirement contradicting it has existed. No normative text moved; both spec deltas are byte-unchanged, and openspec validate --strict / --all --strict (87 passed) and proposal-support verify re-ran green.

Copilot round 2 — 🔵 Needs a closer look, two findings, BOTH TAKEN (d22dc2db).

  1. The find command quoted in tasks.md § 1.4 would not have supported the row it was cited for. find binds -a tighter than -o, so the ungrouped -path A -o -path B -not -path '*archive*' applies the archive exclusion to the SECOND branch alone and returns every archived workflow-gate-contract delta — including archive/2026-07-09-promote-workflow-gate-contract/, which exists and which this packet's own sequenced_after note names as the change it flips out of the sole set. The grouped \( … \) form is what was actually executed; the row now carries it, says why the parentheses are load-bearing, and states the reading from both sides (NOTHING at origin/main 0bf37d14; exactly this packet's own two and nothing else today). The finding was in the QUOTE, not in the measurement.
  2. The README overstated one half of the Past-tense the retro-tagged bundles in release-surface-integrity's spec (queued for the next change) #339 claim. It said the rule sentence and its scenario "are byte-identical". The scenario is; the rule sentence is word-identical but sits inside the one paragraph this delta rewrites, so it survives with the tense-driven rewrap — which is what proposal.md already said in those words. The row now says which half is which. (Copilot read the same sentence as a subject-verb disagreement; the compound subject took a plural verb correctly, but a sentence whose grammar has to be defended is worth rewriting, and the rewrite fixes the accuracy defect underneath it.)

No normative text moved in either round: both spec deltas are byte-unchanged from 1fea21d1, and openspec validate --strict / --all --strict (87 passed) and proposal-support verify re-ran green after each.

Copilot round 3 — 🟢 Approval recommended on d22dc2db, no new comments. Round 4 on b9887c6c — 🟡, two findings, BOTH TAKEN (637a1094): the packet's prose said "retro-tagged" in seven places while its own amended canon paragraph and the precedent it cites (release_inventory.py, PR #333) say "retro-published" — a packet whose #339 half is about a stale word for an event should not mint a second word for it, so every prose site now reads "retro-published" and no normative text moved; and the change_ids pin's message said "one more ACTIVE change" when the assertion is over a POPULATION count that survives the same commit's archive, which now says so and points at the two readings that DID see the archive. Round 5 on 637a1094 — 🔵, one finding, TAKEN (d71752eb): the movement log cited archive/2026-08-24-add-release-inventory-drift-check; the directory is 2026-08-25-…. Corrected, and every other archive path this branch names was checked against the tree. Round 6 on 3045ccbb — 🟡, one finding, NOT TAKEN and recorded rather than hidden: it asks for the README row's record review/ratification-2026-09-03.md`` to carry the full archived path. The observation is right — that string does not resolve from the repository root — but the bare review/ratification-*.md form is the README's own established convention, used by four other rows including the neighbouring archived `add-project-repo-schema`, so taking it here would make this row the lone divergence. Left for a sweep that fixes the convention everywhere rather than in one row, and flagged here so the choice is visible rather than silent.

Sourcery returned a private-repo upsell, not a review.

Closes #561
Closes #339

🤖 Generated with Claude Code

https://claude.ai/code/session_01RhXyJoZvtSmGcTdPVDKPoD

…hipped validator, and the retro-tagged bundles are dated

Two texts in this repository said something untrue, each already filed as its
own issue and each queued there for whichever change would carry it. Brett Heap
ruled on 2026-09-03, in session, over the lane's written recommendations:
"implement your recommendations on all these" — recorded VERBATIM as the latest
comment on openxFactory issues #561 and #339, each comment resolving the general
word to that issue's subject.

#561 — CANON COMES TO THE CODE, NOT THE CODE TO CANON. workflow-gate-contract's
"Owner layer constraint" said an owner_layer resolving to neither a canonical
role nor a declared layer id "SHALL be reported as a validator warning". It was
promoted at a1a2802 on 2026-07-09. scripts/validate-domain-factory.py's
check_workflows has reported that same condition with rpt.error since 493fb33
on 2026-07-03 — SIX DAYS EARLIER. This is not a regression against canon; canon
was written after the code and did not match it on the day it landed.
retire-hermes-flat-keys-and-openworkflow-tokens met the divergence while
retiring the openworkflow-prefixed token branch, recorded it as its D4 and
deliberately declined to resolve it, and its tasks 6.1 commissioned the issue so
the record would outlive that packet. Its requirement names the fall-through's
severity as "whatever the general rule carries" precisely so this change could
move the general rule without reopening that row, and this change does not
reopen it.

THE MEASUREMENT CAME BEFORE THE RULING, which is what the issue's own item 2
demanded. At 96b2b96, across codexFactory, MedxFactory, LedgerxFactory,
OpsxFactory and AdxFactory: ZERO gates carry an owner_layer that resolves to
nothing. Either direction was therefore free — no consumer is refused, and no
deprecation phasing is owed. The stricter gate every consumer has conformed to
since 2026-07-03 is the one that stays. NOT ONE LINE OF THE VALIDATOR MOVES,
which is the ruling rather than an omission from it: a version of this packet
that edited the validator would perform the opposite of what was ruled.

#339 — AN ILLUSTRATION IS DATED, NOT DELETED. release-surface-integrity's "The
declared bundle describes the release surface" justified its tag-free reference
point with three bundles that "are recorded in the changelog and the manifest
with no published tag". All three — contract-v1.33, contract-v1.35 and
contract-v1.39 — were retro-tagged on 2026-08-25 by PR #333, so the present
tense had been false for nine days. The paragraph is past-tensed with the
retro-publication dated and attributed, the treatment PR #333 itself gave the
identical claim in scripts/doc_health/release_inventory.py's docstring and the
one issue #339 named. The rule it justifies is untouched and still exactly
right: a declared bundle need not carry a tag, so the inventory FILE at the
commit is the reference. Deleting the three names would have removed canon's
only evidence that the untagged state ever occurred.

BOTH BLOCKS WERE BUILT FROM CANON BY EXTRACTION AND SUBSTITUTION, NEVER RETYPED,
which is what makes the diff measured rather than hoped:

  Owner layer constraint
    canon abe58572…77118237  ->  delta 035fb896…bc4ed439
    - any other value SHALL be reported as a validator warning.
    + any other value SHALL be reported as a validator error.
    - **THEN** the validator MUST report a warning identifying the gate …
    + **THEN** the validator MUST report an error identifying the gate …
  The declared bundle describes the release surface
    canon 4c9e0b71…313f29567  ->  delta 6e102b2e…d02a1d19a
    one paragraph past-tensed and dated; four lines out, six in

Nothing else moves in either block. A MODIFIED block REPLACES its requirement
wholesale, so scenario completeness is the load-bearing property: canon's 1
scenario under the first requirement and its 4 under the second are all restated
by title in canon's order, and the modified-block-currency arm that gates at
error reads ZERO.

Gates: openspec validate amend-owner-layer-severity --strict VALID;
--all --strict 87 passed / 0 failed (86 at the origin/main baseline, this change
being the one item added); proposal-support verify ok; pytest tests/doc-health
1500 passed; pytest tests/sequenced_after 118 passed. Doc-health rendered on this
branch and on a detached origin/main baseline at 0bf37d1 and the finding sets
diffed: 6 critical / 6 error / 29 warning IDENTICAL on both, info 14 -> 16,
zero findings gone, and the two new rows are this packet's own carriage-ledger
INFOs — 2 of 3 units on the first block (the body clause and the scenario's THEN
bullet), 1 of 23 on the second (the tag paragraph) — which are exactly the units
the word-diffs above name.

TWO LIVE CORPUS PINS MOVE AS BOOKKEEPING RATHER THAN AS A CODE SURFACE, named in
the proposal's code_surface line rather than left to a diff, and each moved in
this commit with a dated note per those pins' own protocol.
tests/sequenced_after/test_sweep.py: co_modified 109 -> 111, active_co_modified
21 -> 22, change_ids - 1 157 -> 158, sole_modifiers - 1 48 -> 47, and
active_sole - 1 HELD at 11 with the hold asserted. The rise of two with the sole
set falling by one is the add-cpc-clearing-boundary shape: the archived
promote-workflow-gate-contract was SOLE on the owner-layer key and flips, while
the archived add-release-inventory-drift-check was already co-modified and does
not; active_sole holds because the flipped change is ARCHIVED. Measured on both
trees AND by exclusion.
tests/doc-health/test_modified_block_currency_self_gate.py: the two carriage
rows above, each with its note and each retiring when the packet archives.

code_surface: none, so this change archives on landing. tasks 6 is deliberately
unticked: promotion and archive are the landing act and are not performed on an
unmerged branch.

Closes #561
Closes #339

Lane: openxfactory-smalls
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01RhXyJoZvtSmGcTdPVDKPoD
Copilot AI lite review requested due to automatic review settings September 3, 2026 19:49

@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

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

🟡 Changes recommended

The new design doc contains a factual timeline mismatch (“fourteen months”) relative to the cited 2026-07-03 change date and the rest of the packet’s narrative.

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

Pull request overview

Doc-only OpenSpec change that (1) aligns promoted canon for workflow-gate-contract’s “Owner layer constraint” with the shipped validator severity (ERROR), and (2) past-tenses/dates the retro-tagged bundle illustration in release-surface-integrity, plus the expected bookkeeping updates (carriage-ledger subjects and corpus-count pins).

Changes:

  • Amend the two promoted requirements via ## MODIFIED Requirements blocks in a single code_surface: none change packet (amend-owner-layer-severity).
  • Update doc-health and sequenced-after tests that pin corpus counts / carriage-ledger subjects to reflect the newly authored change.
  • Add/record the new active change in README.md’s OpenSpec Records index.
File summaries
File Description
tests/sequenced_after/test_sweep.py Updates sweep pin assertions and explanatory narrative for the newly authored change’s effect on corpus counts.
tests/doc-health/test_modified_block_currency_self_gate.py Adds the two new info-level carriage-ledger subjects and updates the population history string accordingly.
README.md Adds an “Active changes” record entry for amend-owner-layer-severity with rationale and references.
openspec/changes/amend-owner-layer-severity/tasks.md Documents verification steps, measurements, and the (deliberately unticked) promotion/archive tasks.
openspec/changes/amend-owner-layer-severity/specs/workflow-gate-contract/spec.md MODIFIED block: changes owner-layer unresolvable severity wording from warning → error (and scenario THEN bullet).
openspec/changes/amend-owner-layer-severity/specs/release-surface-integrity/spec.md MODIFIED block: past-tenses/dates the retro-tagged bundle illustration paragraph; scenarios unchanged.
openspec/changes/amend-owner-layer-severity/review/ratification-2026-09-03.md Records the ratification decision and its stated constraints (including “validator does not change”).
openspec/changes/amend-owner-layer-severity/proposal.md Captures the proposal narrative, impact statement, and non-scope declarations for this doc-only change.
openspec/changes/amend-owner-layer-severity/design.md Records measurement and rationale for moving canon (not validator), plus the #339 illustration treatment.
openspec/changes/amend-owner-layer-severity/.openspec.yaml Declares machine-readable origin and approval provenance for the change.
Review details
  • Files reviewed: 10/10 changed files
  • Comments generated: 1
  • Review effort level: Lite

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

Comment on lines +6 to +8
defect is a design problem. One is a SEVERITY that promoted canon states as
`warning` while the shipped validator has reported `error` for fourteen months
of commits; the other is a PRESENT TENSE describing three bundles that were
…een (Copilot round 1)

Copilot's one finding, and it is a real one. The design's Context said the
shipped validator has reported `error` "for fourteen months of commits". The
commit it cites is `493fb33d`, 2026-07-03, which is TWO months before this
packet — every other statement in the packet says so, including the proposal's
"the stricter gate every consumer has conformed to for two months". A duration
that contradicts the packet's own dates would have a reader doubting the dates
rather than the sentence.

Corrected to the date and the interval that actually matters, which is not a
duration at all but an ORDERING: the validator has behaved this way since
2026-07-03, six days LONGER than the requirement contradicting it has existed
(promoted `a1a2802b`, 2026-07-09). That is the fact the whole disposition rests
on — canon was written after the code and did not match it on the day it landed
— and it is now stated where the wrong duration was.

No normative text moves: this is `design.md` Context prose. Both spec deltas are
byte-unchanged, and openspec validate --strict / --all --strict (87 passed) and
proposal-support verify re-run green.

Lane: openxfactory-smalls
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01RhXyJoZvtSmGcTdPVDKPoD
Copilot AI review requested due to automatic review settings September 3, 2026 20:00

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 new tasks documentation contains an incorrect find command whose predicate precedence makes its stated “returns nothing” claim unreliable, and a small README grammar issue should also be corrected.

Review details

Suppressed comments (2)

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

openspec/changes/amend-owner-layer-severity/tasks.md:27

  • The find ... -o ... -not -path '*archive*' expression has incorrect precedence: -not -path '*archive*' only applies to the second -path test, so archived workflow-gate-contract deltas (e.g. openspec/changes/archive/2026-07-09-promote-workflow-gate-contract/...) will still be returned. That makes the claim that this command “returns nothing” unreliable; group the -path predicates and apply the archive exclusion to the whole match.
    README.md:465
  • Grammar: “the scenario that states it are byte-identical” should use singular agreement (“is”).
  • Files reviewed: 10/10 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

…e README says which half is byte-identical

Two findings, both real, both taken.

THE FIND COMMAND IN tasks.md 1.4 WAS MIS-QUOTED, and the mis-quote would not
have supported the claim it was cited for. find binds -a tighter than -o, so
the ungrouped

  -path A -o -path B -not -path '*archive*'

applies the archive exclusion to the SECOND branch alone and returns every
archived workflow-gate-contract delta — including
archive/2026-07-09-promote-workflow-gate-contract/, which exists and which this
packet's own sequenced_after note names as the change it flips out of the sole
set. A reader re-running the quoted form would have got a hit and concluded the
row was false. The grouped form with \( … \) is what was actually executed; the
row now carries it, says why the parentheses are load-bearing, and states the
reading from both sides: NOTHING at origin/main 0bf37d1 before this packet's
own delta directories existed, and exactly those two and nothing else today.
The finding was in the QUOTE and not in the measurement, and the sentence that
follows the row is an independent corpus-wide reading of the same absence.

THE README OVERSTATED ONE HALF OF THE #339 CLAIM. It said the rule sentence and
its scenario "are byte-identical". The SCENARIO is — *The declared bundle was
never tagged*, unchanged. The rule sentence is word-identical but sits inside
the one paragraph this delta rewrites, so it survives with the tense-driven
rewrap rather than byte-for-byte, which is what proposal.md already said in
those words. The row now says which half is which. Copilot read the same
sentence as a subject-verb disagreement; the compound subject took a plural
verb correctly, but a sentence whose grammar has to be defended is a sentence
worth rewriting, and the rewrite fixes the accuracy defect underneath it.

No normative text moves: both spec deltas are byte-unchanged from 1fea21d.
openspec validate --strict VALID, --all --strict 87 passed / 0 failed, and
proposal-support verify ok, re-run after both edits.

Lane: openxfactory-smalls
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01RhXyJoZvtSmGcTdPVDKPoD
Copilot AI review requested due to automatic review settings September 3, 2026 20:26

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.

🟢 Approval recommended

The changes are internally consistent, doc-only as declared, and the updated corpus pins and ledger subjects align with the newly introduced OpenSpec change packet.

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

…ow says ERROR, and the retro-tagged bundles are dated

The shape 2026-08-25-reconcile-lifecycle-books-count set for a doc-only packet.
code_surface: none makes the archive gate LANDING rather than merged-plus-green,
so promotion and archive ride the same pull request as the packet and canon
moves in one commit instead of two. Performed through

  python3 scripts/proposal-support.py . archive amend-owner-layer-severity --yes

and never a bare openspec archive: the wrapper runs the origin gate, the
incomplete-task gate and openspec validate --strict BEFORE the act, and it is
the sanctioned path.

THE PROMOTION IS PROVEN BY sha256, NOT ASSERTED. Each block extracted from canon
AFTER promotion hashes identical to the packet's own delta block, and the
post-promotion word-diff against pre-promotion canon shows the two ruled words
and the one dated paragraph and nothing else:

  Owner layer constraint
    canon before abe58572…77118237  ->  promoted 035fb896…bc4ed439 == delta
    - any other value SHALL be reported as a validator warning.
    + any other value SHALL be reported as a validator error.
    - **THEN** the validator MUST report a warning identifying the gate …
    + **THEN** the validator MUST report an error identifying the gate …
  The declared bundle describes the release surface
    canon before 4c9e0b71…313f29567  ->  promoted 6e102b2e…d02a1d19a == delta
    one paragraph past-tensed and dated; four lines out, six in

Canon's 1 + 4 scenario titles are all present in canon's order. The two promoted
specs were read at their new text after the act, not merely hashed.

THE DOC-HEALTH READING ON THE LANDED TREE IS STRONGER THAN THE ONE THE ACTIVE
PACKET COULD GIVE, and both are recorded rather than only the better one. With
the packet ACTIVE: 6 critical / 6 error / 29 warning IDENTICAL on both trees and
info 14 -> 16, the two rows being its own carriage-ledger rows, zero lost. AFTER
the archive: the two finding sets are IDENTICAL — 55 lines each, 6 critical /
6 error / 29 warning / 14 info on the branch and on the origin/main baseline at
0bf37d1 alike, ZERO new at any severity and ZERO lost — because the carriage
rows retire with the promotion.

promotion-fidelity, which measures this packet against canon from the moment it
archived, reports 0 critical / 0 error / 0 warning / 0 info and names this packet
nowhere.

BOTH LIVE CORPUS PINS MOVED TWICE IN THIS ONE COMMIT, and both halves are
recorded rather than netted: a reader who sees only the net cannot tell an
archived packet from one that was never authored.

  tests/sequenced_after/test_sweep.py
    co_modified          109 -> 111   (authoring; HELD through the archive —
                                       an archive never un-shares a key)
    change_ids - 1       157 -> 158   (authoring; held — moving a change
                                       between buckets cannot move the total)
    sole_modifiers - 1    48 ->  47   (authoring; held — this change was
                                       always a co-modifier)
    active_co_modified    21 ->  22 ->  21   (authoring, then the archive)
    active_sole - 1       11           HELD through both, hold asserted
    Measured on both sides of the act: 34 active + 125 archived = 159 /111/48/
    22-12 before, 33 active + 126 archived = 159 /111/48/21-12 after. Exactly
    one pin moves, and the pre-archive reading is its own by-exclusion control.

  tests/doc-health/test_modified_block_currency_self_gate.py
    the carriage-ledger population 8 -> 10 -> 8. Both rows retired ON THE
    CONDITION THEY WERE WRITTEN WITH, with BOTH halves verified before the rows
    were deleted: the packet is at
    openspec/changes/archive/2026-09-03-amend-owner-layer-severity/, both blocks
    promoted byte-identical under the hashes above, and a --family run over the
    tree returns zero lines mentioning the change id at any path.

tasks.md § 6 is ticked with Executed rows carrying that evidence, § 3.5 and
§ 5.1 now record BOTH readings rather than only the transient one, and the
ratification record's Next section says the act was performed rather than owed.
The README row moved from Active changes: to Archived changes: and is restated
in the archived voice.

Gates re-run after the act: openspec validate --all --strict 86 passed / 0 failed
(86 again, this change no longer being an active item); proposal-support verify
ok for the change and for the whole corpus; pytest tests/doc-health 1500 passed;
pytest tests/sequenced_after 118 passed.

Lane: openxfactory-smalls
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01RhXyJoZvtSmGcTdPVDKPoD
Copilot AI review requested due to automatic review settings September 3, 2026 21:03

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

A few newly added records/tests introduce inconsistent terminology (“retro-tagged” vs the established “retro-published”) and one assertion message misstates an “active” change impact, which should be corrected for clarity and corpus consistency.

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

Review details
  • Files reviewed: 12/12 changed files
  • Comments generated: 8
  • Review effort level: Lite

Comment thread README.md Resolved
Comment on lines +734 to 736
"158 since amend-owner-layer-severity was authored 2026-09-03, one "
"more ACTIVE change in the corpus. Before that: "
"the `- 1` subtracts THIS change and nothing else, so the reading is "
…oth README archive rows, and the sweep pin re-derived on the merged tree

Two conflicts, both in files where this branch and `main` added to the same
list on the same day.

README.md "OpenSpec Records" — both sides prepended a row to `Archived
changes:`. BOTH ARE KEPT, this branch's `amend-owner-layer-severity` first and
main's `add-project-repo-schema` (the `contract-v3.1` cut, #616) second, with
every other row of main's untouched. No row is dropped and none is rewritten:
the block is a record, and a merge that resolved it by picking a side would
delete somebody's history.

tests/sequenced_after/test_sweep.py — both sides appended MOVEMENT LOG entries
and both moved `active_co_modified`. Main's entries are kept ahead of this
branch's two, and a MERGE entry is added that measures the merged tree rather
than reasoning about it.

THE PIN IS A NET OF FOUR OPPOSED MOVES ON ONE READING AND A COMPOUND ON THE
OTHERS, and that asymmetry is the whole content of the merge entry.
`active_co_modified`: main moved twice off the shared 20-baseline
(create-medxchart-overlay-boundary's RATIFICATION #608 20 -> 21, then
add-project-repo-schema's ARCHIVE on the contract-v3.1 cut 21 -> 20) and this
branch moved twice off the same baseline in one commit (the authoring 20 -> 21,
the archive 21 -> 20). Four moves, cancelling two-for-two, so the merged tree
reads 20 — neither branch's intermediate, and not arithmetic on either.
`co_modified`, `change_ids` and `sole_modifiers` COMPOUND instead, because
main's two moves were an active-membership ratification and an archive, neither
of which touches a corpus-wide count, while this branch's authoring raised
`co_modified` by two and lowered `sole_modifiers` by one for good.

  merged tree     32 active + 127 archived = 159 / 111 / 48 / 20-12
  origin/main     32 active + 126 archived = 158 / 109 / 49 / 20-12
  this branch     33 active + 126 archived = 159 / 111 / 48 / 21-12

MEASURED ON ALL THREE TREES AND BY EXCLUSION, never adjusted by arithmetic: the
same sweep on the merged tree with only
openspec/changes/archive/2026-09-03-amend-owner-layer-severity/ moved aside
reads 158 / 109 / 49 / 20-12 — main's own reading EXACTLY — so this one
archived packet is the whole of the difference and no third change moved in the
window. `archived` rises 126 -> 127; prose headers hold at 3 (3 archived);
`declaring`/`root_claims` hold at 1/0.

The promoted canon this branch carries is re-verified on the merged tree by
sha256 rather than assumed to have survived the merge: `Owner layer constraint`
hashes 035fb896…bc4ed439 and `The declared bundle describes the release
surface` hashes 6e102b2e…d02a1d19a, both identical to the archived packet's own
delta blocks, and `promotion-fidelity` reads 0/0/0/0 over the merged tree.

Gates on the merged tree: openspec validate --all --strict 86 passed / 0 failed;
proposal-support verify ok over the whole corpus; pytest tests/sequenced_after
118 passed.

Lane: openxfactory-smalls
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01RhXyJoZvtSmGcTdPVDKPoD
Copilot AI review requested due to automatic review settings September 3, 2026 21:44

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.

🟢 Approval recommended

The change is doc-only, internally consistent across promoted canon/archived packet/README and the necessary corpus-pin tests are updated accordingly.

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

…tion pin that stops sounding like an active-count claim

Two findings on b9887c6, both real, both taken.

ONE TERM FOR ONE EVENT. The packet's prose said "retro-tagged" in seven places
while its OWN amended canon paragraph, and the precedent it cites
(scripts/doc_health/release_inventory.py's docstring, PR #333), both say
"retro-published". A packet whose whole #339 half is about a stale word for a
real event should not introduce a second word for that event in the same
breath. Every prose site now reads "retro-published": the README archived row,
the .openspec.yaml origin reason, the proposal front matter and its two body
sites, design.md, tasks.md, and the carriage-ledger retirement note in
tests/doc-health/test_modified_block_currency_self_gate.py. NO NORMATIVE TEXT
MOVES — the promoted requirement already said "retro-published" and is
byte-unchanged, re-verified by sha256 after the edit (Owner layer constraint
035fb896…bc4ed439, The declared bundle describes the release surface
6e102b2e…d02a1d19a, both still identical to the archived packet's delta
blocks).

THE change_ids PIN'S MESSAGE MISDESCRIBED ITS OWN SUBJECT. It said the reading
moved because this change is "one more ACTIVE change in the corpus". The
assertion is over sweep.change_ids, a POPULATION count, and this packet is not
an active change at all after the archive act three commits back — yet the
reading is still 158, precisely because a bucket move cannot change a total.
The message now says that: one more change id in the CORPUS, held through the
same commit's archive (34+125 -> 33+126, and 32+127 after the merge with main),
with an explicit pointer that active_co_modified and active_sole are the
readings that saw the archive and this one is not to be read as an active-count
claim. A pin whose failure message names the wrong population invites the wrong
repair.

Gates re-run after both edits: openspec validate --all --strict 86 passed /
0 failed; proposal-support verify ok over the whole corpus; pytest
tests/doc-health 1500 passed; pytest tests/sequenced_after 118 passed.

Lane: openxfactory-smalls
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01RhXyJoZvtSmGcTdPVDKPoD
Copilot AI review requested due to automatic review settings September 3, 2026 22:15

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 updated tests/sequenced_after/test_sweep.py movement log contains an incorrect archived change path date (2026-08-24 vs the repo’s 2026-08-25 directory), which should be corrected for accuracy.

Review details

Suppressed comments (1)

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

tests/sequenced_after/test_sweep.py:635

  • The movement-log text references archive/2026-08-24-add-release-inventory-drift-check, but the archived change directory in the repo is dated 2026-08-25 (see openspec/changes/archive/2026-08-25-add-release-inventory-drift-check/). This looks like an off-by-one-day path typo and will mislead anyone trying to follow the reference.
  • Files reviewed: 12/12 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

… packet by the date it actually carries

One finding, real and one character wide. The `active_co_modified` merge entry
cited `archive/2026-08-24-add-release-inventory-drift-check` as the earlier
writer of the release-surface-integrity key that did NOT flip out of the sole
set. The directory is `archive/2026-08-25-add-release-inventory-drift-check`.
The reasoning is unaffected — that packet was already co-modified either way —
but a movement log exists to be FOLLOWED, and a path that resolves to nothing
sends the next reader looking for a packet that does not exist under that name.

Corrected, and every other archive path this branch names was checked against
the tree rather than assumed: 2026-08-25-add-release-inventory-drift-check,
2026-07-09-promote-workflow-gate-contract,
2026-09-03-amend-owner-layer-severity and the precedent
2026-08-25-reconcile-lifecycle-books-count all exist.

Lane: openxfactory-smalls
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01RhXyJoZvtSmGcTdPVDKPoD
…ctive_sole re-derived, and this branch moves nothing main had not already moved

`main` advanced three commits under this branch — #616's `contract-v3.1` cut
with its archive of `add-project-repo-schema`, #624's `contract-v3.2`
superseding cut, and #615's archive of
`update-standards-body-current-publications` — and one conflict reached this
branch, in the file both sides keep a movement log in.

tests/sequenced_after/test_sweep.py — BOTH SIDES' ENTRIES ARE KEPT and neither
is rewritten: main's `active_sole` entry (the (a)/(b) pair, whose two moves
COMPOUND rather than cancel because they remove DIFFERENT changes from one
population) stands ahead of this branch's, and this branch's HELD note is
re-aimed onto the merged reading rather than deleted — the hold is still the
claim it was making, and it is still worth asserting, because this packet's
authoring AND its archive both leave `active_sole` untouched while moving four
other readings in the same commit. `active_sole - 1` takes main's 10.

THIS BRANCH'S CONTRIBUTION IS UNCHANGED IN SHAPE A SECOND TIME and is entirely
in the other four readings: `co_modified` 109 -> 111, `sole_modifiers` 49 -> 48,
`change_ids` 158 -> 159, and `active_co_modified` NOT AT ALL — its authoring and
its archive cancel inside the one commit, which is what a doc-only landing does
to that pin.

  merged tree     31 active + 128 archived = 159 / 111 / 48 / 20-11
  origin/main     31 active + 127 archived = 158 / 109 / 49 / 20-11

MEASURED ON BOTH TREES AND BY EXCLUSION a second time, never adjusted by
arithmetic: the same sweep on the merged tree with only
openspec/changes/archive/2026-09-03-amend-owner-layer-severity/ moved aside
reads 158 / 109 / 49 / 20-11 — main's own reading EXACTLY — so this one archived
packet remains the whole of the difference and none of main's three new commits
interacts with it. `archived` rises 127 -> 128; prose headers hold at 3
(3 archived); `declaring`/`root_claims` hold at 1/0.

README.md merged clean this time: three archived rows now head the block —
this branch's `amend-owner-layer-severity`, main's `add-project-repo-schema`
and main's `update-standards-body-current-publications` — and no row is
dropped or rewritten.

The promoted canon is re-verified on the merged tree by sha256 rather than
assumed to have survived a second merge: `Owner layer constraint`
035fb896…bc4ed439 and `The declared bundle describes the release surface`
6e102b2e…d02a1d19a, both still identical to the archived packet's delta blocks.

Gates on the merged tree: openspec validate --all --strict 86 passed / 0 failed;
proposal-support verify ok over the whole corpus; pytest tests/sequenced_after
118 passed.

Lane: openxfactory-smalls
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01RhXyJoZvtSmGcTdPVDKPoD
Copilot AI review requested due to automatic review settings September 3, 2026 22:37

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 new README entry references a non-existent ratification record path (review/ratification-2026-09-03.md) from repo root and should be corrected to the archived packet location.

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

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

Comment thread README.md
Comment on lines +2002 to +2006
rather than a commit later. Authored and **RATIFIED 2026-09-03 by Brett
Heap, in-session** (verbatim "implement your recommendations on all these",
recorded VERBATIM as the latest comment on openxFactory issues **#561** and
**#339**; record `review/ratification-2026-09-03.md`). Two
`## MODIFIED Requirements` blocks, one per issue.
@brettheap

Copy link
Copy Markdown
Contributor Author

RULING for lane openxfactory-smalls PR #617 (head 3045ccbb): Brett Heap, 2026-09-03 ~21:05Z, "merge #617 once the archive lands, then rebase #622". The archive act landed on the branch (2026-09-03-amend-owner-layer-severity, promoting the two amended requirements in one landing commit per the 2026-08-25-reconcile-lifecycle-books-count precedent); the branch was caught up to main c271caa2 by merge (force-push is blocked here). All five checks green on this head, failing set EMPTY (9008 passed). Admin-merged on his word — PRs opened as brettheap cannot be self-approved. Codex: quota-refused, never reviewed. Copilot: five rounds taken, round six declined with reason in the body. Closes #561 and #339 by promoting canon to ERROR and dating the retro-published bundles.

Lane: openxfactory-smalls

@brettheap
brettheap merged commit 6a39d2a into main Sep 3, 2026
6 checks passed
@brettheap
brettheap deleted the change/amend-owner-layer-severity branch September 3, 2026 23:02
brettheap added a commit that referenced this pull request Sep 3, 2026
…earns the first entry the new rule owes

ONE CONFLICT, same shape and same resolution: the branch side is taken for the
assertion block in `tests/sequenced_after/test_sweep.py`, main's newer scalar
literals being the shared total this packet removes. Main's MOVEMENT LOG
additions merged CLEANLY and are retained VERBATIM -- verified line by line
against `origin/main`'s docstring, now 721 lines: ZERO missing. `README.md`
auto-merged this time: main's removal of the archived entry applied, and this
packet's row stands first under "Active changes:" with nothing resurrected.

THE LEDGER WAS RE-DERIVED MECHANICALLY AND TWO ROWS MOVED:

  + amend-owner-layer-severity:     {state: archived, class: co-modifier, ...}
  - promote-workflow-gate-contract: {state: archived, class: sole,        ...}
  + promote-workflow-gate-contract: {state: archived, class: co-modifier, ...}

AND AN ENTRY IS OWED FOR THE SECOND, WHICH IS THE FIRST TIME THAT HAS BEEN TRUE.
Nothing about `promote-workflow-gate-contract` moved: it was archived 2026-07-09
and has not been touched since. Read the two rows alone and you can see that a
co-modifier appeared and an unrelated archived change flipped, but not WHICH key
they share, nor that this newcomer is what flipped it rather than anything else
landing in the same window. That is precisely the case the rule reserves -- "a
PARTNER'S row moving because of someone else's delta, where the reason is not
legible from the two rows alone" -- so the MOVEMENT LOG carries it, with the
shared key MEASURED rather than inferred.

WHY IT ROSE BY TWO AND NOT BY THREE, since the newcomer carries TWO MODIFIED
blocks: "Owner layer constraint" (`workflow-gate-contract`) has exactly one
other writer, `promote-workflow-gate-contract`, which was SOLE and therefore
flips; "The declared bundle describes the release surface"
(`release-surface-integrity`) has `add-release-inventory-drift-check`, ALREADY
co-modified, so nothing flips there. `co_modified` 109 -> 111 is the newcomer
entering plus the one flip; `sole_modifiers` 50 -> 49 falls with it, the
rise-by-two shape always being accompanied by the sole set falling.

NO ENTRY WAS OWED FOR EITHER EARLIER MERGE and the contrast is the point:
`19d00872` and `c271caa2` each moved one row's `state`, which the diff states in
full.

THE SEEDING ENTRY IS RE-MEASURED AGAIN, every reading carrying its sha:

  origin/main 9a773a3 (superseded) : 32 active + 126 archived = 158, 109, 49, 20/12, 1 decl
  origin/main c271caa (superseded) : 31 active + 127 archived = 158, 109, 49, 20/11, 1 decl
  origin/main 6a39d2a              : 31 active + 128 archived = 159, 111, 48, 20/11, 1 decl
  this branch merged with 6a39d2a  : 32 active + 128 archived = 160, 111, 49, 20/12, 2 decl

Gates on the merged tree: `pytest tests/sequenced_after` 156 passed;
`openspec validate --all --strict` 87/87; `--ledger-diff` clean on 160 rows.

Refs #618
Lane: openxfactory-max001

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01H9aKd8YF3ktcLmVJJxQYKv
Lane: openxfactory-max001
brettheap added a commit that referenced this pull request Sep 3, 2026
…onsumer-identity-namespace

A catch-up MERGE, not a rebase: force-push stays refused by repository rule on
this branch and the earlier heads are published and reviewed.

Two conflicts, both resolved by keeping what each side owns.

README "OpenSpec Records": my Active row kept, and main's removal of the
update-standards-body-current-publications row taken — #615 archived it.

tests/sequenced_after/test_sweep.py: BOTH branches' MOVEMENT LOG entries kept
VERBATIM with a merge entry above each, which is that file's own protocol. Every
pin RE-MEASURED on the merged tree and on the new origin/main, never by
arithmetic. main 6a39d2a reads 159/111/48/20/11; the merged tree reads
160/112/48/21/11, so this packet contributes +1 to change_ids, co_modified and
active_co_modified and nothing to either sole reading.

The two packets' moves are DISJOINT and that is measured rather than assumed:
#617 writes workflow-gate-contract and release-surface-integrity, this packet
writes credential-contracts, so neither changes the other's membership. That is
WHY the readings compose here; it is not a rule that they compose.

sole_modifiers and active_sole carry #617's move alone. It flipped an archived
sole modifier into the co-modified set; this packet flipped nobody, the earlier
writer of both its keys being already co-modified through a third key.

Canon re-verified after the merge BY SHA: credential-contracts/spec.md is blob
a688a46 on both trees, so both MODIFIED blocks still stand over canon as canon
now states it, all 24 scenario titles carried.

Bundle figures re-read a second time: contract-v3.1 was cut, then found
DEFECTIVE and SUPERSEDED by contract-v3.2 (#624). Two bundle moves under one
unchanged packet, which is the argument for never writing the number.

Lane: openxfactory-smalls
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01RhXyJoZvtSmGcTdPVDKPoD
brettheap added a commit that referenced this pull request Sep 3, 2026
…-new-error

Re-measured against origin/main 6a39d2a after #617 and #624. The answer
changed, and the change is a fact about main rather than about this packet.

While main was itself drifting docs/contract-versioning-policy.md since
contract-v3.0, this branch's edit to that file added no finding — it sat on both
sides. PR #624 then cut contract-v3.2, the superseding release for a defective
contract-v3.1, which rebaselined the inventory and made main clean. The same
unchanged edit now raises a NEW ERROR on its own.

Baseline 6a39d2a reads 6/4/39/12; the branch reads 6/5/39/15. The delta is one
error and three info. The error is release-inventory-drift and it is the CUT's
to discharge: the family's own remedy line forbids hand-editing an inventory to
make this comparison pass, and greening it would make a published digest
describe bytes nobody shipped.

Gate 7.5 is UNTICKED rather than ticked with an excuse, which is what
add-binding-consumer-identity 6.3 did with the identical finding.

Lane: openxfactory-smalls
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01RhXyJoZvtSmGcTdPVDKPoD
brettheap added a commit that referenced this pull request Sep 4, 2026
…ctory that issued it (#622)

* A fetch identity is a name, and a name is unique only inside the directory that issued it

Declares `consumer.identity_namespace` and rescopes `shared-authority-identity`
from a bare string to the pair `(identity_namespace, fetch_identity)`. The
finding refused two tenants of one provider whose principals share a name, and
the only escape was to rename a fetch identity in the record while the principal
kept its real name in the provider — a refusal whose only escape is a lie.

The fallback REPORTS rather than clears. Where either side declares no namespace,
or one outside the identifier grammar, the comparison returns to the bare
identity: an estate able to silence a real shared authority by omitting a member
on one side would hold a rule it can turn off without writing anything false.

One predicate serves both the named finding and the lift's third condition, canon
stating the comparison once. The first draft rescoped only the finding and was
caught by execution — a two-tenant pair sharing a secret escaped the named fault
and was refused by `shared-secret-identity` instead, sending a reader to split a
secret rather than read a namespace.

Carries openxFactory #553's ruling in the same MODIFIED block, because a MODIFIED
block replaces a requirement wholesale and both rulings write the same one: the
ambiguity scenario narrows to the per-document scope `resolve_requirement`
enforces, and the six-conditions sentence with it. Exactly two edits; the
resolver, its `ambiguous` verdict and § 3.4's freeze are cited and not edited.

Lane: openxfactory-smalls
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01RhXyJoZvtSmGcTdPVDKPoD

* Copilot round one: name the four screened sinks, re-wrap, and pin the arity before indexing a finding

Two findings taken. `docs/credential-access-model.md` said "those three members
… governs all four" and left the fourth to arithmetic; a reviewer misread it,
which is proof enough that naming the four beats counting them. The starter
pack's inserted clause left a run-on line and is re-wrapped.

One refuted with its substantive half taken. Sorting `_consumers()`'s keys is
refused — no test in that section reads WHICH binding an edit lands on, every
assertion being symmetric over the pair, so sorting would fix an order the tests
do not read while implying they do. The real fragility is that two tests index
`_findings(doc)[0]` without pinning the arity, so a second finding arriving
later would change what they assert about without failing them. Both now assert
one finding first, and `_consumers` says which property is load-bearing.

Lane: openxfactory-smalls
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01RhXyJoZvtSmGcTdPVDKPoD

* Pin the authority predicate's whole truth table, eight rows, each asserted symmetrically

The fallback is a rule about ABSENCE, and a rule about absence is only as good
as its enumeration of the ways a value can be missing: not declared, declared
and ungrammatical, declared as null. The tests covered the first and left the
other two to a reader's confidence.

Exactly one row clears — both sides declaring a grammatical namespace and the
two differing — and the other seven fall back to the bare identity and report.
Symmetry is asserted rather than assumed: the predicate is called over
`combinations`, which fixes an order, and a rule whose outcome depends on which
binding was found first is not a rule.

Also re-measures doc-health on the Copilot-round head rather than carrying the
first figures forward: same 6/6/39/16, same three-finding info delta.

Lane: openxfactory-smalls
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01RhXyJoZvtSmGcTdPVDKPoD

* Move the corpus-sweep pins this packet moves, and say why the sole set held

CI on f4a8fa8 reported seven failures; six were the inherited #620 set and the
seventh was mine — the live sequenced-after sweep, whose pins this packet moves
by adding an active change with two MODIFIED blocks.

Measured on both trees after rebasing onto current main, because #616 landed the
contract-v3.1 cut underneath this branch and had itself moved
active_co_modified 21 -> 20; pinning against the stale base would have produced
numbers that were wrong on arrival. main 19d0087 reads 158/109/49/20/12;
this branch reads 159/110/49/21/12.

The mechanism is the opposite of the obvious prediction, so it is written into
the pin rather than left to be re-derived. A MODIFIED block over a requirement
whose only earlier writer was archived and sole normally raises co_modified by
TWO and drops sole_modifiers by one. Here it raised by one and the sole set held,
because add-binding-consumer-identity was ALREADY co-modified through a third key
it shares with add-notebook-hosting-credential-custody, so it was never in the
sole set and had nothing to leave. The two pins that did not move carry a HOLD
note each: a pin that silently holds through a move that usually shifts it is
indistinguishable from one nobody re-derived.

Also re-reads the bundle figures the packet is indexed to. contract-v3.1 is now
CUT and published, so the next additive minor re-reads as contract-v3.2 — and is
still not written down, for the same reason it was not written before.

Lane: openxfactory-smalls
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01RhXyJoZvtSmGcTdPVDKPoD

* Record that the catch-up was a merge, not the rebase whose push the rule refused

The rebase was done first and its push was refused — "Cannot force-push to this
branch". The earlier heads are published and reviewed, so rewriting them is both
forbidden and wrong. The branch was reset to the published head and took an
ordinary catch-up merge instead, and the sweep was re-measured on the MERGED
tree rather than carried over: identical at 159 / 110 / 49 / 21 / 12.

Lane: openxfactory-smalls
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01RhXyJoZvtSmGcTdPVDKPoD

* Report the doc-health delta at the new baseline: it is no longer zero-new-error

Re-measured against origin/main 6a39d2a after #617 and #624. The answer
changed, and the change is a fact about main rather than about this packet.

While main was itself drifting docs/contract-versioning-policy.md since
contract-v3.0, this branch's edit to that file added no finding — it sat on both
sides. PR #624 then cut contract-v3.2, the superseding release for a defective
contract-v3.1, which rebaselined the inventory and made main clean. The same
unchanged edit now raises a NEW ERROR on its own.

Baseline 6a39d2a reads 6/4/39/12; the branch reads 6/5/39/15. The delta is one
error and three info. The error is release-inventory-drift and it is the CUT's
to discharge: the family's own remedy line forbids hand-editing an inventory to
make this comparison pass, and greening it would make a published digest
describe bytes nobody shipped.

Gate 7.5 is UNTICKED rather than ticked with an excuse, which is what
add-binding-consumer-identity 6.3 did with the identical finding.

Lane: openxfactory-smalls
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01RhXyJoZvtSmGcTdPVDKPoD

---------

Co-authored-by: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 4, 2026
Catches PR #619 up to main after amend-owner-layer-severity (#617,
archived) and add-consumer-identity-namespace (#622, active) both
landed on the same bookkeeping files this packet touches.

Conflicts resolved:
- README.md "OpenSpec Records": kept every row from both sides; this
  packet's row stays under Active, #622's row joins it under Active,
  and the stale Active copy of update-standards-body-current-publications
  (already correctly archived on main, via #615) is dropped in favor of
  its one archived entry.
- tests/doc-health/test_modified_block_currency_self_gate.py
  `_LEDGER_SUBJECTS` and its population-count narrative: kept both
  packets' rows (this packet's two, #622's two already present
  unconflicted); #617's rows never existed as live tuples (added and
  retired within its own PR), so only its retrospective comment
  carries forward, per origin/main.
- tests/sequenced_after/test_sweep.py: kept both branches' MOVEMENT LOG
  entries verbatim and added a merge entry. Every pin re-measured by
  `scripts/validate-sequenced-after.py . --sweep` on the merged tree
  and on an origin/main baseline, and confirmed by exclusion (removing
  this packet's directory reproduces main's reading exactly):
  change_ids 160 -> 161, co_modified 112 -> 113,
  active_co_modified 21 -> 22, sole_modifiers and active_sole unmoved
  at 48 / 11.

Lane: openxfactory-smalls
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_014FBRdVuA6fmSEey9WQNAB7
brettheap added a commit that referenced this pull request Sep 4, 2026
…e's prescribed entry into the release that already ships its bytes (#622) (#636)

* Cut contract-v3.3: consumer.identity_namespace is declared, and the shared-authority comparison reads the pair

Realizes add-consumer-identity-namespace (merged as #622, 95c2cf6), whose
ratification excluded the cut in terms and whose tasks.md 5.3 prescribed this
changelog entry so the cutting session invents nothing. Cut on the convener's
word, Brett Heap, 2026-09-04, verbatim: "cut v3.3".

MEASURED SURFACE. Intersecting `git diff --name-only contract-v3.2 HEAD` (71
paths) with the 283 registered members of contract-v3.2.digests.yaml leaves
EXACTLY TWO: contracts/manifest.yaml and docs/contract-versioning-policy.md.
`git log contract-v3.2..HEAD` over each names only 95c2cf6 (#622), so both are
that packet's own. Four other landings reached main since the tag — #617
(6a39d2a), #623 (56e1227), #619 (d611666) and #631 (b1d492a) — and moved no
registered member.

CLASS: ADDITIVE (minor), measured against the policy's own definition. The
schema member is DESCRIBED and unconstrained; the shared-authority comparison
reads the pair only where both sides declare a grammatical namespace and the
bare identity everywhere else, so absence and malformedness REPORT rather than
clear; one predicate serves both the named finding and the lift's third
condition; the block's shape codes go from eight to nine with
consumer-identity-namespace-grammar, whose window opens at THIS minor rather
than at contract-v2.4; the one narrowing is baked-secret over the third free
string, under add-binding-consumer-identity 2.6's precedent; nothing else
narrows.

Membership is 283 rows in both inventories, zero added and zero removed. Four
digests move: the two registered members #622 moved, plus this cut's own
changelog and tests/intent-compliance/test_release_boundary.py. That file gains
FEATURE_SUCCESSOR_7 in the enum and both match arms, with the by-hand statement
its tripwire requires: this bundle touches NO intent-compliance member and the
membership it asserts is UNCHANGED.

The inventory is built LAST at the final tree by the repository's own builder.
The annotated tag is NOT pushed here: it is a post-merge act taken only after
verify-commit passes at the squash commit — Bundle Realization Order step 4
before step 5, the step whose omission made contract-v3.1 defective and forced
#624's superseding cut.

Lane: openxfactory-smalls
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_014FBRdVuA6fmSEey9WQNAB7

* Name the cut by its branch rather than by a guessed PR number

PR #632 was taken by another lane's archive landing while this cut was being
measured, so the packet's Executed rows name `chore/cut-contract-v3.3` instead.
The number is added once the pull request exists.

Lane: openxfactory-smalls
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_014FBRdVuA6fmSEey9WQNAB7

* Name the cut PR in the packet's Executed rows now that it exists: #636

Lane: openxfactory-smalls
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_014FBRdVuA6fmSEey9WQNAB7

* Record the fold's measured doc-health delta in the packet's 8.1: zero movement

Baseline origin/main 21190cf and this tip both report 6 critical, 4 error,
40 warning, 16 info — 66 machine rows each, byte-identical finding sets in both
directions, and release-inventory-drift at ZERO on both sides because #628's cut
re-baselined the inventory over #622's already-landed bytes.

Lane: openxfactory-smalls
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Xf699RDAfTs5gnSr7igJ2v

* Copilot round one: the ticked boxes no longer contradict their own prose

Both findings taken, and neither by deletion. Ticking 5.4 and 7.5 left three
present-tense sentences standing — "UNTICKED RATHER THAN TICKED WITH AN EXCUSE",
"EXECUTED AND NOT ZERO AT THE CURRENT BASELINE — UNTICKED DELIBERATELY", and
8.1's "THE BOX STAYS UNTICKED" — each of which read as a claim about the present
state while the checkbox above it said the opposite. A reader had to infer the
timeline from the discharge paragraph below.

Each is now explicitly the record of the state at its own reading, with the
discharge named as what changed it. The sentences are KEPT rather than removed:
they say why the boxes were not ticked with an excuse while the packet was open,
which is the fact worth preserving, and deleting them would erase the reasoning
that made the refusal to hand-fix an inventory legible.

Lane: openxfactory-smalls
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Xf699RDAfTs5gnSr7igJ2v

---------

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

2 participants