Skip to content

Adopt update-standards-body-current-publications as an active draft change: the registry module, its reader, and the policy refresh (rescued from the shared checkout, #591) - #593

Merged
brettheap merged 14 commits into
mainfrom
rescue/standards-body-registry
Sep 3, 2026
Merged

brettheap merged 14 commits into
mainfrom
rescue/standards-body-registry

Conversation

@brettheap

@brettheap brettheap commented Sep 2, 2026 •

Copy link
Copy Markdown
Contributor

Lane: openxfactory-f2

What this is

A packet that existed on no branch and not on main, adopted and made lawful.

Provenance. The originating session (LANES.md draft row
openxfactory-standards-body, last touch 2026-09-01 08:51 -0400) ended without
pushing, leaving its whole change — the packet, a new module, its tests, a
validator line and the registry edit — uncommitted in a shared detached checkout
at 6612d323. Issue #591 records the find. Commit d1799988 is a
byte-identical snapshot of that working tree; nothing was authored, renamed,
re-homed or "fixed" while taking it, and the source checkout was left untouched.
Brett Heap ruled on 2026-09-03, in session, that this PR be ADOPTED and
owned by lane openxfactory-f2.

That ruling authorized the rescue and the reshaping. It ratified nothing.
Status: draft stands, and D1 … D4 — D2 (the SFIA operator override) and D3
(the APQC crosswalk scope) above all — are still owed Brett's word.

What the change itself does

Updates the standards-body registry to its current publications, upstream of the
OpsxFactory adopt-neutral-omnigent-overlay crosswalks that cannot resolve
against a stale one.

  • itil5 added as a distinct body for ITIL Version 5; itil4 preserved
    for historical consumers — no silent rename, so archived references keep their
    meaning.
  • SFIA 9 recorded as current, with the steward's restrictive licence
    statement kept in place and Brett's product-config permission recorded
    beside it as an explicit status: unverified operator override carrying
    approver, date, rationale, conflicting source and legal_review: outstanding.
    A validator refuses an override missing any of them. The decision is preserved
    without being laundered into a licence conclusion.
  • APQC PCF 8.0 re-verified, with its IT-process crosswalk scope and the
    mandatory attribution that must travel with any derivative configuration.
  • Crosswalks stay descriptive: no practice text, skill definition or process
    hierarchy is copied, and no mapping confers archetype, permission, credential
    tier or terminal-action authority.
  • scripts/standards_body_registry.py — a new reader owning registry_errors()
    and load_registry() (the duplicate-key-refusing loader review forced, below)
    — is reached from scripts/validate-omnigent-contracts.py, a gate that already
    runs, rather than from a new one.

What was reshaped, and why

1. It sat in openspec/changes/archive/2026-09-01-… having never landed.
The estate archives only through proposal-support, on merged-plus-green
realization evidence, and docs/release-realization-flow.md § The Archive Gate
is explicit that a code-surface change "SHALL NOT archive until its code is
merged on the implemented target … plus a green run"
, with archiving an
unrealized one a contested-class act. git mvd to
openspec/changes/update-standards-body-current-publications/ (ACTIVE).

2. It had PRE-PROMOTED its own delta into
openspec/specs/standards-body-registry/spec.md. REMOVED.
The copy is the
openspec archive command's own output and says so — it carries the generated
## Purpose / TBD - created by archiving change … Update Purpose after archive. line — and its four requirements are otherwise verbatim the
change's own specs/standards-body-registry/spec.md, checked block by block.
Promotion is the archive step's act; keeping the duplicate would put one
requirement in canon and in an active delta at once. Neither the module nor
the tests read the promoted path
— both resolve
contracts/policies/standards-bodies.yaml and nothing under openspec/ — so
the removal breaks no reader.

3. target_release: none while shipping a module, a validator line and
tests — and outside a front-matter fence, so no machine read it at all.

scripts/frontmatter_strict.py requires a well-formed fence beginning at line 1
and treats anything else as NO front matter. Fenced, and corrected to
target_release: implemented; the release-realization contract reserves
none for code_surface: none. code_surface: now names the whole surface:
the reader module, the two lines that reach it, the tests and their negative
fixture, and the registry policy file.

4. No origin declaration — proposal-origin scores that ERROR for any change
created after 2026-08-07. Added to .openspec.yaml as kind: ad_hoc, checked
rather than assumed: no topic under ideation/staging/ carries this subject and
INDEX.md holds no row for it. The block records the commissioning as the
packet's own account of it
, carried forward from the snapshot and not
re-verified by this lane
— the authoring session left no PR, comment or review
record behind it — and says in terms that the adoption ruling is not a
ratification.

5. README "OpenSpec Records" gains the entry; tasks.md § 5 is rewritten so
the archive claim is marked SUPERSEDED and the three things still owed
(ratification, realization evidence on main, the separate archive act) are
listed as open.

One thing beyond the five, disclosed rather than folded in. The snapshot
moved 176 lines of scripts/validate-omnigent-contracts.py; two were this
change's and the other 174 were a drive-by whole-file reformat — no black
or ruff config exists in this repository and no CI job runs a formatter.
Reverted to origin/main's bytes with the substantive lines reapplied: the diff
is now 45 lines, 0 deletions — no line of origin/main's file is touched,
which is the property that matters, and it grew past the original two only
because review round 1 asked for the absent-registry guard and the
DuplicateRegistryKey arm. The reader is also imported under one spelling
(scripts.standards_body_registry) by both the entrypoint and the tests, where
the snapshot had two — validate-contract-release.py's existing pattern.

Release-inventory finding

contracts/policies/standards-bodies.yaml is NOT a contract-bundle member, so
the policy edit rides this PR and is not split out to wait for the next cut.

Measured before anything touched contracts/:

  • contracts/manifest.yaml lists three policies —
    hermes-governance-agents.yaml, merge-risk-policy.yaml,
    layer-vocabulary.yaml — and not this one.
  • contracts/releases/contract-v3.0.digests.yaml (the newest inventory,
    283 entries) has zero entries under contracts/policies/.
  • scripts/doc_health/release_inventory.py compares only the declared bundle's
    members, so a non-member edit raises no release-inventory-drift finding at
    any severity
    and needs no editorial allowance.

Recorded in tasks.md § 5.1 and in the proposal's target_release: line.

sequenced_after pin movement

Moved in the same commit as the directory, which is that pin's own protocol,
with a dated MOVEMENT LOG entry naming the subject and the reason. The delta is
## ADDED Requirements only, over a new capability whose four requirement
titles exist nowhere else in the corpus, so the packet is a SOLE modifier and
never a co-modifier
:

pin before after
change_ids - 1 155 156
sole_modifiers - 1 48 49
active_sole - 1 11 12
co_modified 107 107 (holds)
active_co_modified 20 20 (holds)

Measured on both trees, not inferred: origin/main at c0270d28 reads
32 active + 124 archived = 156 / 107 / 49 / 20-12; this branch reads
33 active + 124 archived = 157 / 107 / 50 / 20-13. The move is one step and
not two
— the snapshot's archive placement already counted the packet as a
change id and a sole modifier, so git mv moves the active/archived split and
active_sole alone.

These numbers were re-derived once, and the MOVEMENT LOG says so rather than
overwriting the first reading. The branch first pinned 155 / 50 / 13 against
the main of 2026-09-03 00:0xZ; PR #560 (add-cpc-clearing-boundary) then
merged, moving four of the five pins, and this branch took the catch-up merge
(c9c3f37a). active_sole is the pin both branches touched, in opposite
directions for unrelated reasons
— #560 flipped add-clearing-dispatch-boundary
out of the active sole set (13 → 12), this adoption puts a different change into
it (12 → 13). They cancel numerically and are recorded separately, because
netting them would lose both causes.

Validation

All on the final head, after the catch-up merge with origin/main at c0270d28.

$ OPENSPEC_TELEMETRY=0 openspec validate update-standards-body-current-publications --strict
Change 'update-standards-body-current-publications' is valid

$ OPENSPEC_TELEMETRY=0 openspec validate --all --strict
Totals: 86 passed, 0 failed (86 items)

$ python3 -m pytest -q tests/test_standards_body_registry.py
17 passed

$ python3 -m pytest -q tests/test_standards_body_registry.py tests/sequenced_after
135 passed

$ python3 -m pytest -q tests/doc-health
1411 passed, 7 warnings in 435.83s

$ python3 scripts/test-omnigent-semantic-wiring.py
OK omnigent semantic-wiring tests passed

$ python3 scripts/validate-omnigent-contracts.py
ok   standards-body registry current-publication and override records: contracts/policies/standards-bodies.yaml
... 18 negative fixtures rejected as expected ...
All omnigent contract checks passed          (exit 0)

$ python3 scripts/validate-sequenced-after.py . --sweep
change ids (33 active + 124 archived): 157
co-modified at requirement granularity: 107
sole modifiers: 50
ACTIVE changes: co-modified / sole: 20 / 13

scripts/validate-omnigent-contracts.py is the only validator in the
repository that reads contracts/policies/standards-bodies.yaml (grepped).

doc-health, measured on both sides rather than predicted:

$ python3 scripts/doc-health.py --single-repo .     # this branch
Findings: 6 critical, 5 error, 29 warning, 14 info. New regressions vs previous report: 0.

$ python3 scripts/doc-health.py --single-repo .     # origin/main @ c0270d28
Findings: 6 critical, 5 error, 29 warning, 14 info. New regressions vs previous report: 0.

diff over the two reports, normalized for the repo-identity label: 0 lines.
The packet introduces and removes no finding of any family — proposal-origin,
duplicate-packet, promotion-fidelity, location-conformance and
release-inventory-drift included. The 6 critical / 5 error are main's
inherited state, not this packet's.

origin/main was merged into the branch twice, never rebased; base moved
96b2b968 → 1a0cd035 → c0270d28.

Review rounds

11 findings over 5 Copilot rounds. 11 TAKEN, 0 declined. Every review thread
is resolved. All four required checks are green on the final head. Two of the seven were defects in the SNAPSHOT and five in code this
branch wrote or reshaped:

  1. source_url declared twice in the sfia entry — yaml.safe_load takes
    the last silently, so the licensing evidence D2 exists to preserve was absent
    from every reader while both lines sat visibly in the file. The licensing URL
    moved to licence_page; the CLASS is closed by load_registry(), which
    refuses a repeated key at any mapping level, because no post-parse check can
    ever reach this.
  2. Unguarded registry read raising FileNotFoundError — now degrades to a
    named skip, matching standards_body_ids() three functions above.
  3. The pre-promoted spec's TBD purpose — already discharged by the
    reshape, which removes the file rather than filling it in.
  4. The completeness requirement was false of 29 records. Measured: 45
    bodies, 32 status: current, 3 carrying a verification date — and the
    validator was enforcing a hidden three-id allowlist, so the stated rule and
    the applied rule were different rules. Backfilling 29 dates (the fabrication
    the registry's own header forbids) and demoting 29 records were both refused;
    the obligation is now keyed to the CLAIM, with the three named ids as a floor
    so it cannot be withdrawn to escape. Two new scenarios; D5 in design.md.
  5. steward and names missing from the enforced set — a body could claim
    verification while saying nothing about who stewards it or what KIND of term
    it names, and names is the registry's own load-bearing field.
  6. The duplicate scan could raise a bare TypeError on a YAML structural
    key. Fixed with a hashable comparison token; a single structural key is still
    refused by PyYAML exactly as yaml.safe_load refuses it, and a REPEATED one
    is now caught as the duplicate it is.
  7. (the duplicate-key finding, re-raised on a stale head and suppressed by
    Copilot itself as a repeat.)
  8. The claim trigger tested TRUTHINESS, so verified_on: "" and
    verified_on: (null) — the record shape most likely to be a MISTAKE — were
    read as "makes no claim" and escaped every check. Presence of the key is now
    the claim.
  9. standards_body_ids() still read the registry through yaml.safe_load,
    re-opening in the same module the collapse load_registry was added to
    close — and worse there than anywhere, because that set decides which
    crosswalk ids RESOLVE. Now reads through the strict loader, reports once,
    degrades to empty; cached, since it was called eighteen times per run.
  10. The whole-record test did not assert steward and names (already
    taken in round 3).
  11. Both registry call sites caught only DuplicateRegistryKey — a
    ValueError — while a syntax error or an unhashable key arrives as
    yaml.YAMLError, so a malformed registry took the validator down with a
    traceback. Both arms added; probed with real breakage, no traceback either
    time. In standards_body_ids() that crash predated this change; in main()
    the read is new, so that arm is a regression this branch would have
    shipped
    without the finding.

Codex never reviewed this PR. Four @codex review requests drew four
identical replies: "You have reached your Codex usage limits for code
reviews."
That is a provider non-review, recorded as such and not counted
as a clean round. Sourcery is the private-repo upsell stub throughout — also
a non-review.

The ask

Ratify or veto — Status: draft, and only Brett ratifies. D1 (add itil5,
keep itil4), D2 (the SFIA unverified operator override), D3 (the APQC
crosswalk authorization for all nine Opsx worker classes) and D4 (no bundle) are
the authoring session's decisions and are flagged for veto, as
.openspec.yaml § approved_by says.

After merge, the realization is discharged by this PR's own merge plus a
green pytest-suite on main, and then the packet archives separately,
through proposal-support
— which is the act that promotes
specs/standards-body-registry/spec.md into
openspec/specs/standards-body-registry/spec.md, with a real ## Purpose
replacing the archiver's TBD line.

Closes nothing on its own. Related: #591 (the rescue), OpsxFactory
adopt-neutral-omnigent-overlay (the downstream consumer, handoff at
handoff/opsx-overlay-current-standards.md).

🤖 Generated with Claude Code

https://claude.ai/code/session_01WNxTJoaJQkcDi2ybmLCZgW

…6612d32

Snapshot ONLY. Every byte is the shared detached checkout's working tree at
6612d32, copied unchanged; nothing here was authored, renamed, re-homed or
"fixed" by the rescuing lane. The source checkout was left untouched.

The originating lane (LANES.md draft row `openxfactory-standards-body`, last
touch 2026-09-01 08:51 -0400) ended without pushing, so this content existed on
no branch and not on main.

Lane: openxfactory-f2
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01WNxTJoaJQkcDi2ybmLCZgW
Copilot AI lite review requested due to automatic review settings September 2, 2026 23:03

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Hi @brettheap! 👋

Your private repo does not have access to Sourcery.

Please upgrade to continue using Sourcery ✨

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Changes recommended

The updated standards-bodies registry contains a duplicate YAML key (source_url) that silently overwrites licensing evidence, and the Omnigent validator change can raise an unhandled FileNotFoundError instead of reporting a normal failure.

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

Pull request overview

This PR snapshots (byte-identical rescue) a “standards-body registry” work-in-progress into the repo: it introduces a small Python validator for the standards-body registry, wires that validator into the existing Omnigent contract validator, adds regression tests/fixtures, updates the standards-bodies policy registry content for ITIL/SFIA/APQC, and includes the associated OpenSpec change packet + promoted spec.

Changes:

  • Add scripts/standards_body_registry.py with registry_errors() plus pytest coverage and a negative fixture.
  • Extend scripts/validate-omnigent-contracts.py to validate contracts/policies/standards-bodies.yaml via the new registry validator.
  • Update the standards-body registry policy content (SFIA/ITIL/APQC) and add the related OpenSpec change directory + promoted spec.
File summaries
File Description
scripts/standards_body_registry.py New registry validation helper used by tests and contract validation.
scripts/validate-omnigent-contracts.py Calls the registry validator as part of the Omnigent validator run.
contracts/policies/standards-bodies.yaml Updates SFIA/ITIL/APQC current-publication metadata and override fields.
tests/test_standards_body_registry.py Regression tests covering ITIL/SFIA/APQC expectations and validator behavior.
tests/fixtures-standards-body-registry-unqualified-override.yaml Negative fixture ensuring incomplete overrides are rejected.
openspec/specs/standards-body-registry/spec.md Promoted capability spec describing registry requirements and scenarios.
openspec/changes/archive/2026-09-01-update-standards-body-current-publications/.openspec.yaml OpenSpec change metadata for the rescued packet.
openspec/changes/archive/2026-09-01-update-standards-body-current-publications/README.md Short change README summarizing intent.
openspec/changes/archive/2026-09-01-update-standards-body-current-publications/design.md Design record for the registry update and licensing posture handling.
openspec/changes/archive/2026-09-01-update-standards-body-current-publications/evidence/current-publications-2026-09-01.md Evidence record of primary sources and licensing posture readings.
openspec/changes/archive/2026-09-01-update-standards-body-current-publications/handoff/opsx-overlay-current-standards.md Consumer handoff guidance for downstream overlays.
openspec/changes/archive/2026-09-01-update-standards-body-current-publications/proposal.md Proposal describing why/what/capabilities/decisions for the update.
openspec/changes/archive/2026-09-01-update-standards-body-current-publications/specs/standards-body-registry/spec.md Change-local spec content added by the packet.
openspec/changes/archive/2026-09-01-update-standards-body-current-publications/tasks.md Tasks checklist for the rescued packet (all marked done locally).
Review details
  • Files reviewed: 14/14 changed files
  • Comments generated: 3
  • 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 thread scripts/validate-omnigent-contracts.py Resolved
@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-f2

CLAIMED — lane openxfactory-f2, session_01WNxTJoaJQkcDi2ybmLCZgW, 2026-09-03T00:01:18Z, for the adoption of PR #593 (Brett's ruling 2026-09-03 item 3)

Sibling check before claiming: gh pr list --repo opensoft/openxFactory --state all --search standards-body returns only this PR open (383/378/375/385/382 all MERGED registry ticks), and git ls-remote --heads origin | grep -i standards returns only rescue/standards-body-registry. No other lane carries this content.

brettheap and others added 3 commits September 2, 2026 20:04
…the three archive-step acts it had already performed

The snapshot at d179998 is byte-identical to what the stranded session left in
the shared checkout (issue #591), and that session had put the packet into three
shapes it had not earned. Each is undone here; nothing in its CONTENT is
touched, and `Status:` stays `draft` because only Brett ratifies.

1. IT SAT IN `openspec/changes/archive/2026-09-01-...` HAVING NEVER LANDED.
   The estate archives only through `proposal-support`, on merged-plus-green
   realization evidence, and `docs/release-realization-flow.md` § The Archive
   Gate is explicit that a change carrying a code surface "SHALL NOT archive
   until its code is merged on the implemented target ... plus a green run",
   with archiving an unrealized one a CONTESTED-CLASS act. `git mv`d to
   `openspec/changes/update-standards-body-current-publications/` (ACTIVE).

2. IT HAD PRE-PROMOTED ITS OWN DELTA into
   `openspec/specs/standards-body-registry/spec.md`. REMOVED. The copy is the
   `openspec archive` command's output and says so — it carries the generated
   `## Purpose\nTBD - created by archiving change
   update-standards-body-current-publications. Update Purpose after archive.`
   line — and its four requirements are otherwise VERBATIM the change's own
   `specs/standards-body-registry/spec.md`, checked block by block. Promotion is
   the archive step's act; keeping a duplicate before it would put the same
   requirement in canon and in an active delta at once. NEITHER the module NOR
   the tests read the promoted path — `scripts/standards_body_registry.py` and
   `tests/test_standards_body_registry.py` both resolve
   `contracts/policies/standards-bodies.yaml` and nothing under `openspec/` — so
   the removal breaks no reader. `OPENSPEC_TELEMETRY=0 openspec validate --all
   --strict` reads 85 passed, 0 failed with the capability gone from canon and
   present as an active change.

3. IT DECLARED `target_release: none` WHILE SHIPPING A MODULE, A VALIDATOR LINE
   AND TESTS, and it declared them OUTSIDE a front-matter fence, so no machine
   read them at all: `scripts/frontmatter_strict.py` requires a well-formed
   fence beginning at line 1 and treats anything else as NO front matter.
   Fenced, and corrected to `target_release: implemented` — the
   release-realization contract reserves `none` for `code_surface: none`. The
   `code_surface:` line now names the whole surface it actually ships: the new
   `scripts/standards_body_registry.py` reader, the two lines in
   `scripts/validate-omnigent-contracts.py` that reach it, the tests and their
   negative fixture, and the registry policy file.

AND IT CARRIED NO ORIGIN DECLARATION, which the `proposal-origin` family scores
ERROR for any change created after 2026-08-07. Added to `.openspec.yaml` as
`kind: ad_hoc` — checked rather than assumed: no topic under `ideation/staging/`
carries this subject and `INDEX.md` holds no row for it. The block records the
commissioning AS THE PACKET'S OWN ACCOUNT OF IT, carried forward from the
snapshot and NOT re-verified by this lane, and states in terms that Brett's
2026-09-03 adoption ruling authorized the RESCUE AND RESHAPING and ratifies
nothing in the packet.

THE RELEASE-INVENTORY QUESTION, ANSWERED BY MEASUREMENT BEFORE ANYTHING TOUCHED
`contracts/`: `contracts/policies/standards-bodies.yaml` is a member of NEITHER
`contracts/manifest.yaml` (three policies listed — `hermes-governance-agents`,
`merge-risk-policy`, `layer-vocabulary` — and not this one) NOR
`contracts/releases/contract-v3.0.digests.yaml` (283 entries, zero under
`contracts/policies/`). `scripts/doc_health/release_inventory.py` compares only
the declared bundle's members, so the edit raises no `release-inventory-drift`
finding at any severity and needs no editorial allowance. THE POLICY EDIT
THEREFORE RIDES THIS PR and is not split out to wait for the next cut.
Recorded in `tasks.md` § 5.1 and in the proposal's `target_release:` line.

THE `sequenced_after` LIVE PIN MOVES IN THIS COMMIT, which is that pin's own
protocol, with a dated MOVEMENT LOG entry naming which subject moved and why.
The packet's delta is `## ADDED Requirements` ONLY over a NEW capability whose
four requirement titles exist nowhere else, so it is a SOLE modifier and never a
co-modifier: `change_ids - 1` 154 -> 155, `sole_modifiers - 1` 49 -> 50,
`active_sole - 1` 12 -> 13, with `co_modified` and `active_co_modified` HOLDING
at 105 and 18. MEASURED ON BOTH TREES rather than inferred — `origin/main` at
1a0cd03 reads 31 active + 124 archived = 155 / 105 / 50 / 18-13, this branch
reads 32 active + 124 archived = 156 / 105 / 51 / 18-14. The move is ONE step
and not two: the snapshot's archive placement already counted the packet as a
change id and a sole modifier, so `git mv` moves the active/archived split and
`active_sole` alone.

MEASURED, NOT PREDICTED: `python3 scripts/doc-health.py --single-repo .` reports
6 critical / 5 error / 29 warning / 14 info on this branch and 6 / 5 / 29 / 14 on
`origin/main`, the two reports BYTE-IDENTICAL after normalizing the repo-identity
label — so the reshape introduces and removes no doc-health finding of any
family, `proposal-origin`, `duplicate-packet`, `promotion-fidelity`,
`location-conformance` and `release-inventory-drift` included.

Lane: openxfactory-f2
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01WNxTJoaJQkcDi2ybmLCZgW
…ually needs

The snapshot moved 176 lines of `scripts/validate-omnigent-contracts.py`. Two of
them were this change's; the other 174 were a drive-by whole-file reformat — no
`black` or `ruff` configuration exists anywhere in this repository (no
`pyproject.toml`, no `setup.cfg`, no `tox.ini`), no CI job runs a formatter, and
the reformat touched `semantic_errors`, `overlay_profile_errors`,
`install_wiring_errors` and `validate_repo`, none of which this packet has any
business in. A reformat folded into a policy change makes the review surface 88x
the change and makes a later `git log -L` on any of those functions land on a
commit about standards bodies. Reverted to `origin/main`'s bytes and the two
substantive lines reapplied on top.

WHAT ACTUALLY LANDS, and it is the whole diff: the import, and one block in
`main()` that runs `registry_errors` over the registry and fails the validator on
each finding. The registry is checked BEFORE the overlays that resolve body ids
through it, so an incomplete current-publication record or an unqualified
operator override reports as the registry defect it is rather than as a
downstream crosswalk failure, and the pass prints a positive line in the shape
every other check in this file already prints.

ONE THING WAS FIXED RATHER THAN RESTORED. The snapshot imported the reader as
`from standards_body_registry import registry_errors` while
`tests/test_standards_body_registry.py` imports the SAME module as
`from scripts.standards_body_registry import registry_errors` — two spellings for
one module, which works only because a script run puts `scripts/` on `sys.path`
and `python3 -m pytest` puts the repository root there. That is two `sys.modules`
entries for one file whenever both run in one process. Both callers now name it
`scripts.standards_body_registry`, with the entrypoint adding the repository root
to `sys.path` first — `scripts/validate-contract-release.py`'s existing pattern,
and it carries the same comment for the same reason: a hyphenated entrypoint
cannot be imported as a module, so shared code lives in an importable sibling and
the callers must agree on how to name it.

VERIFIED: `python3 scripts/validate-omnigent-contracts.py` exits 0 with the new
`ok   standards-body registry current-publication and override records:
contracts/policies/standards-bodies.yaml` line and all eighteen negative fixtures
still rejected as expected; `python3 -m pytest -q
tests/test_standards_body_registry.py tests/sequenced_after` reads 123 passed.

Lane: openxfactory-f2
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01WNxTJoaJQkcDi2ybmLCZgW
Copilot AI review requested due to automatic review settings September 3, 2026 00:19
@brettheap brettheap changed the title Rescue (snapshot): standards-body-registry from the shared checkout at 6612d323 Adopt update-standards-body-current-publications as an active draft change: the registry module, its reader, and the policy refresh (rescued from the shared checkout, #591) Sep 3, 2026
@brettheap
brettheap marked this pull request as ready for review September 3, 2026 00:20

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

@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 standards-body registry YAML currently contains a duplicate source_url key (silently overwriting licensing evidence), and the new spec text overstates enforcement scope compared to the current registry corpus.

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

Review details

Suppressed comments (1)

contracts/policies/standards-bodies.yaml:57

  • The SFIA entry defines source_url twice (licensing URL and publication URL). In YAML, the later key silently overwrites the earlier one (PyYAML safe_load keeps only the last), so the licensing URL at line 56 is lost in the parsed registry.
    redistribution_permitted_in_product_config: 'yes'
    source_url: https://sfia-online.org/en/about-sfia/licensing-sfia/using-and-licensing-sfia
    confidence: high
  • Files reviewed: 15/15 changed files
  • Comments generated: 1
  • Review effort level: Lite

…e licensing evidence was gone from every reader

**THE P1, AND IT IS REAL.** The `sfia` body carried `source_url` TWICE — the
licensing page written 2026-08-09, and the SFIA-9 publication page this change
added below it. `yaml.safe_load` applies LAST-DUPLICATE-KEY-WINS SILENTLY, so
the parsed document held `https://sfia-online.org/en/sfia-9` and the licensing
URL was ABSENT FROM EVERY READER while both lines sat visibly in the file for
any human reviewing it. Measured, not reasoned: `yaml.safe_load(...)` over the
snapshot's registry answers the publication URL for `sfia.source_url`.

That is the exact evidence D2 exists to preserve. `design.md` § D2 says the
registry "retains the official primary licensing evidence" beside the operator
override so a reader cannot mistake the override for a licence grant, and
`evidence/current-publications-2026-09-01.md` calls the official licensing
reading a load-bearing fact. Both were true of the TEXT and false of the
DOCUMENT.

**THE INSTANCE.** The licensing URL moves to `licence_page`, which is the field
this registry already uses for a licence source — APQC and IAB Tech Lab both
carry it — so the current-publication source and the licensing source are now
independently readable rather than positional. `source_url` keeps the SFIA-9
page, which is what `registry_errors` requires of a `status: current` body.

**THE CLASS, WHICH IS THE PART THAT MATTERS.** `registry_errors` could not have
caught this and no post-parse check ever can: by the time a checker sees the
mapping there is one key and the other value is gone. So the refusal moves to
LOAD time. `scripts/standards_body_registry.py` gains `load_registry()` and
`DuplicateRegistryKey` — a `yaml.SafeLoader` subclass whose `construct_mapping`
raises on a repeated key at ANY mapping level, so nesting cannot smuggle one
past a top-level check (a duplicate inside `operator_override` discards a value
exactly as well as one at the body's own level). The validator and the tests
both read through it; `yaml.safe_load` on this registry is now a defect in the
caller, and the module says so.

It is the same rule `scripts/frontmatter_strict.py` applies to proposal front
matter, and deliberately NOT that module reused: its declared ceiling is 65,536
bytes and this registry is already 76,897, so the shared thing is the rule
rather than the code. The refusal set here is duplicate keys and nothing else —
this is a registry read, not an authorization input.

**FOUR NEW TESTS**, one of which asserts that `yaml.safe_load` is GREEN on the
same bytes and answers the last value. That is the whole point: the permissive
reader cannot tell a repaired registry from a broken one, so the test that
proves the loader works is the one that shows the two disagreeing.

**COPILOT'S SECOND FINDING, ALSO TAKEN.** `main()` read the registry
unconditionally, so a checkout without it raised `FileNotFoundError` instead of
a validator failure. It now degrades to a named `skip` line, matching
`standards_body_ids()` immediately above, which has always returned an empty set
for the same reason. Probed by deleting the file: no traceback, `skip
standards-body registry absent: contracts/policies/standards-bodies.yaml`. The
run still exits 1 on `overlay-terminology-unknown-body.yaml` — that negative
fixture needs the registry to be rejected at all — but that is `main`'s
behaviour unchanged, reproduced on an `origin/main` worktree with the same file
removed, and is not this change's to fix.

**COPILOT'S THIRD FINDING WAS ALREADY DISCHARGED** by the reshape commit, and
for a stronger reason than the one raised: the promoted spec's `TBD` purpose was
not a placeholder to fill in but the `openspec archive` command's own output on
a packet that had never landed. The whole file is REMOVED, promotion being the
archive step's act.

VERIFIED: `python3 -m pytest -q tests/test_standards_body_registry.py` 9 passed;
`tests/sequenced_after` + registry 127 passed; `OPENSPEC_TELEMETRY=0 openspec
validate --all --strict` 85 passed / 0 failed; `python3
scripts/validate-omnigent-contracts.py` exit 0 with the registry line green.

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

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-f2

Bot round 1 — dispositions (head 9203de38)

Copilot: 3 findings, 3 TAKEN, 0 declined. Sourcery: provider non-review (twice) — the upsell stub, Your private repo does not have access to Sourcery; recorded, not a review.

C-1 — contracts/policies/standards-bodies.yaml: source_url declared twice in the sfia entry — TAKEN (9203de38), and it is a P1

Copilot is right and the consequence is worse than "ambiguous". yaml.safe_load applies LAST-DUPLICATE-KEY-WINS silently, so the parsed document held the SFIA-9 publication URL and the licensing URL was absent from every reader — including this change's own validator — while both lines sat visibly in the file. Measured on the snapshot, not reasoned: yaml.safe_load(...) answers https://sfia-online.org/en/sfia-9 for sfia.source_url.

That is exactly the evidence D2 exists to preserve. design.md § D2 says the registry "retains the official primary licensing evidence" beside the operator override so no reader mistakes the override for a licence grant, and evidence/current-publications-2026-09-01.md calls the official licensing reading load-bearing. Both were true of the TEXT and false of the DOCUMENT.

Instance: the licensing URL moves to licence_page — the field this registry already uses for a licence source (APQC, IAB Tech Lab) — so the current-publication source and the licensing source are independently readable rather than positional. source_url keeps the SFIA-9 page, which is what registry_errors requires of a status: current body.

Class, which is the part that matters: registry_errors could not have caught this and no post-parse check ever can — by the time a checker sees the mapping there is one key. So the refusal moved to LOAD time. scripts/standards_body_registry.py gains load_registry() + DuplicateRegistryKey: a SafeLoader subclass whose construct_mapping raises on a repeated key at any mapping level, so nesting cannot smuggle one past a top-level check. Validator and tests both read through it. Same rule scripts/frontmatter_strict.py applies to proposal front matter, deliberately not that module reused — its declared ceiling is 65,536 bytes and this registry is 76,897.

Four new tests; one asserts that yaml.safe_load is green on the same bytes and answers the last value, which is the whole point.

C-2 — scripts/validate-omnigent-contracts.py: unguarded read raises FileNotFoundError on a partial checkout — TAKEN (9203de38)

Correct, and the file already had the answer three functions above: standards_body_ids() returns an empty set when the registry is absent "so the check degrades to a no-op rather than failing every overlay in a checkout without it". The registry arm now matches it — a named skip line, and the DuplicateRegistryKey case reported through fail() rather than as a traceback.

Probed by deleting the file: no traceback, skip standards-body registry absent: contracts/policies/standards-bodies.yaml. The run still exits 1 on overlay-terminology-unknown-body.yaml — that negative fixture needs the registry present to be rejected at all — but that is main's behaviour unchanged, reproduced identically on an origin/main worktree with the same file removed, and is not this change's to fix.

C-3 — openspec/specs/standards-body-registry/spec.md: TBD purpose on a published capability spec — TAKEN (5014819a, before this round), for a stronger reason than the one raised

The TBD was not a placeholder awaiting prose. It is the openspec archive command's own generated output, and its presence is the tell that the stranded session ran the archive step on a packet that had never landed. The whole file is removed, not filled in: promotion is the archive step's act, the copy duplicated the change's own delta verbatim, and keeping it would put one requirement in canon and in an active delta at once. The real ## Purpose gets written when the packet actually archives — tasks.md § 5.6.

Verification on 9203de38

$ python3 -m pytest -q tests/test_standards_body_registry.py
9 passed in 0.58s
$ python3 -m pytest -q tests/test_standards_body_registry.py tests/sequenced_after
127 passed in 2.93s
$ OPENSPEC_TELEMETRY=0 openspec validate --all --strict
Totals: 85 passed, 0 failed (85 items)
$ python3 scripts/validate-omnigent-contracts.py
ok   standards-body registry current-publication and override records: contracts/policies/standards-bodies.yaml
All omnigent contract checks passed          (exit 0)

@codex review

🤖 Generated with Claude Code

https://claude.ai/code/session_01WNxTJoaJQkcDi2ybmLCZgW

@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 duplicate-key loader can still crash on unhashable YAML keys, and the added spec text currently overstates the validator/enforcement scope relative to existing registry data.

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

Review details

Suppressed comments (1)

openspec/changes/update-standards-body-current-publications/specs/standards-body-registry/spec.md:9

  • This requirement/scenario currently reads as if every registry body with status: current must carry the full current-publication metadata. The implementation introduced in this PR only enforces the current-publication fields for a specific set of ids (itil5, sfia, apqc_pcf), and the existing registry contains many other status: current bodies that would not satisfy this stricter global rule. Narrow the requirement text to match the intended/enforced scope so the spec doesn’t overstate what the validator guarantees.
The standards-body registry SHALL identify the current publication for every
body marked current with a stable body id, steward, term kind, current version,
primary source URL, verification date, and confidence. Historical body ids and
records SHALL remain resolvable and SHALL NOT be silently renamed.

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

Comment thread scripts/standards_body_registry.py Resolved
…cords, and the checker was quietly doing something narrower

**THE FINDING IS CORRECT AND THE MEASUREMENT CONFIRMS IT.** The requirement
obliged "every body marked current" to carry a complete current-publication
record including a verification date. Measured against the registry it governs:
of 45 bodies, **32 carry `status: current` and exactly 3 carry a verification
date** — `itil5`, `sfia`, `apqc_pcf`, the three this change read against primary
sources. The requirement would have been FALSE of 29 records on the day it
promoted.

THE WORSE HALF IS THE ONE COPILOT NAMED IN PASSING: the validator enforced a
hard-coded three-id allowlist, so the rule the spec stated and the rule the code
applied were different rules, and nothing said so. A requirement nobody can see
is not being applied is worse than one that is simply too broad.

**BOTH REPAIRS THAT WOULD HAVE MADE THE ORIGINAL TEXT TRUE ARE REFUSED, AND
NAMED.** Backfilling 29 verification dates is the fabrication the registry's own
header forbids in terms — those entries are "drawn from working knowledge, not
verified against each body's current publication", an asymmetry the file calls
"deliberate rather than hidden". Demoting 29 records out of `status: current`
would misstate their currency to satisfy a checker. Neither is done.

**THE OBLIGATION IS NOW KEYED TO THE CLAIM.** `verified_on` IS the verification
claim: a body declaring one asserts its current-publication facts were read from
that body's own material on that date and owes the whole record; a body
declaring none asserts nothing and is left as it stands, reported against by
nothing. The three named ids remain as a FLOOR on top of that rule, closing the
one escape it would otherwise leave open — a finding repaired by DELETING the
verification date, withdrawing the assertion to move out of scope.

The rule is now true of every record that makes a claim, enforced on every record
added or amended from here, and silent about records that assert nothing. The
delta says all of this in the requirement body rather than leaving it to the
module: the scope, the measurement it rests on, and why the two repairs were
refused.

**FOUR SCENARIOS WHERE THERE WERE TWO**, and the two new ones are the arms that
were previously unstated: a half-verified record is rejected AND is never
repaired by dropping the claim; an unverified legacy record is left as it stands
AND has nothing invented for it.

**THE 29 ARE NOT THEREBY BLESSED.** Re-verifying them is real work, now an
explicit Open Question in `design.md` naming what a successor must do. The
migration is incremental BY CONSTRUCTION: the checker enforces the whole record
the moment a claim appears, so a successor adds `verified_on` one body at a time
and cannot land a half-verified entry.

Six new tests across two classes: the corpus measurement kept re-runnable (32 /
3, and zero findings), the claim-owes-the-record arm, the claims-nothing arm, and
the floor arm.

VERIFIED: `pytest -q tests/test_standards_body_registry.py` 13 passed; with
`tests/sequenced_after` 131 passed; `OPENSPEC_TELEMETRY=0 openspec validate --all
--strict` 85 passed / 0 failed; `openspec validate
update-standards-body-current-publications --strict` valid;
`scripts/validate-omnigent-contracts.py` exit 0.

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

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-f2

Bot round 2 — dispositions (head 65005dd1)

Copilot re-reviewed dc287289 (the reshape, before the round-1 fix landed). Two findings: one already fixed, one NEW and correct. Both TAKEN. Sourcery: provider non-review again — recorded, not a review. All four review threads resolved.

C-4 — duplicate source_url (repeat of C-1) — already TAKEN in 9203de38

Copilot's own review details mark it suppressed (1) as a duplicate. It reviewed the head before the fix. Nothing further.

C-5 — specs/standards-body-registry/spec.md: the requirement claims more than the registry can honour — TAKEN (65005dd1), and it is the better finding of the two rounds

Copilot is right, and the measurement confirms it exactly. The requirement obliged "every body marked current" to carry a complete current-publication record including a verification date. Measured against the registry it governs:

count
bodies in the registry 45
status: current 32
carrying verified_on 3 (itil5, sfia, apqc_pcf)

The requirement would have been FALSE of 29 records on the day it promoted.

And the worse half is the one Copilot named in passing: the validator enforced a hard-coded three-id allowlist, so the rule the spec stated and the rule the code applied were different rules, and nothing said so. A requirement nobody can see is not being applied is worse than one that is merely too broad.

Both repairs that would have made the original text true are REFUSED, and named. Backfilling 29 verification dates is the fabrication the registry's own header forbids in terms — those entries are "drawn from working knowledge, not verified against each body's current publication", an asymmetry the file calls "deliberate rather than hidden". Demoting 29 records out of status: current would misstate their currency to satisfy a checker.

The obligation is now keyed to the CLAIM. verified_on is the verification claim: a body declaring one asserts its facts were read from that body's own material on that date and owes the whole record; a body declaring none asserts nothing and is reported against by nothing. The three named ids stay as a floor on top of that, closing the escape the claim-keyed rule would otherwise leave open — repairing a finding by deleting the verification date to move out of scope.

Delta now carries four scenarios where it had two; the new arms are the ones that were previously unstated — a half-verified record is rejected AND is never repaired by dropping the claim; an unverified legacy record is left as it stands AND has nothing invented for it. The requirement body carries the measurement and the refusals, so a reader is not left to find them in the module. Recorded as D5 in design.md and in tasks.md § 3.1.

The 29 are not thereby blessed. Re-verifying them is now an explicit Open Question naming what a successor must do, and the migration is incremental by construction: the checker enforces the whole record the moment a claim appears, so a body can be re-verified one at a time and a half-verified entry cannot land.

Verification on 65005dd1

$ python3 -m pytest -q tests/test_standards_body_registry.py
13 passed in 0.45s
$ python3 -m pytest -q tests/test_standards_body_registry.py tests/sequenced_after
131 passed in 3.86s
$ OPENSPEC_TELEMETRY=0 openspec validate update-standards-body-current-publications --strict
Change 'update-standards-body-current-publications' is valid
$ OPENSPEC_TELEMETRY=0 openspec validate --all --strict
Totals: 85 passed, 0 failed (85 items)
$ python3 scripts/validate-omnigent-contracts.py          (exit 0)

Running tally: 5 bot findings over 2 rounds, 5 TAKEN, 0 declined. No unresolved thread stands.

@codex review

🤖 Generated with Claude Code

https://claude.ai/code/session_01WNxTJoaJQkcDi2ybmLCZgW

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

…ive the sweep pin against it

TWO CONFLICTS, BOTH THE SAME KIND — two branches each adding themselves to a
list — and neither resolved by choosing a side.

README "OpenSpec Records": both sides added a new first entry to `Active
changes:`. BOTH KEPT.

`tests/sequenced_after/test_sweep.py`: both sides moved the live pin, and #560
moves FOUR of the five readings this branch touches, so the numbers are
RE-MEASURED ON THE MERGED TREE rather than adjusted by arithmetic. The two
movement-log entries are kept side by side in landing order, and this branch's
entry now records that it was re-derived once and says why — the superseded
`155 / 50 / 13` reading is left in the log as the record of the first
measurement rather than quietly overwritten.

MEASURED ON BOTH SIDES: `origin/main` at `c0270d28` reads `32 active + 124
archived` = 156 change ids, `107` co-modified, `49` sole modifiers, `20 / 12`
active co-modified/sole. This branch after the merge reads `33 active + 124
archived` = 157, `107`, `50`, `20 / 13`. Via `python3
scripts/validate-sequenced-after.py . --sweep` on each tree.

THE THREE PINS THIS BRANCH MOVES ARE UNCHANGED IN SHAPE, only in value:
`change_ids - 1` 155 -> 156, `sole_modifiers - 1` 48 -> 49, `active_sole - 1`
11 -> 12, with `co_modified` and `active_co_modified` HOLDING at #560's own 107
and 20. An ADDED-only packet over a new capability with novel requirement titles
is a SOLE modifier and cannot move a co-modified count — the same rule that made
#560, which carries three MODIFIED blocks, move the co-modified counts and not
these.

`active_sole` is the one pin both branches touched, in OPPOSITE directions and
for unrelated reasons: #560 flipped `add-clearing-dispatch-boundary` out of the
active sole set by sharing three requirement keys with it (13 -> 12), and this
adoption puts a different change into it (12 -> 13). They cancel numerically and
are recorded separately, because netting them would lose both causes.

VERIFIED ON THE MERGED TREE: `python3 -m pytest -q tests/sequenced_after
tests/test_standards_body_registry.py` 131 passed; `OPENSPEC_TELEMETRY=0 openspec
validate --all --strict` 86 passed / 0 failed (85 before the merge, +1 for #560's
own change); `python3 scripts/validate-omnigent-contracts.py` exit 0.

Lane: openxfactory-f2
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01WNxTJoaJQkcDi2ybmLCZgW
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits. You can see your limits in the Codex usage dashboard.

…09-03, D1–D4 as written

Brett Heap ruled 2026-09-03, in-session, verbatim "merge 210 and ratify
and merge 593". D1-D4 are adopted as written, including D2 (the SFIA
unverified operator override standing beside the steward's restrictive
licence statement) and D3 (the scope of the later APQC crosswalk
authorization) — both flagged in tasks.md 5.4 as the authoring
session's own decisions, owed an explicit ruling rather than silence.

- proposal.md: Status: draft -> Status: ratified, with one Ratified:
  citation line naming the approver, the date, and the verbatim ruling
  (document-lifecycle's sanction-ratified-record-spelling: Ratified:
  is the correct spelling here since no approving OpenSpec change
  exists to name with Ratified by:).
- tasks.md: task 5.4 ticked, with a dated file-forward ratification
  record appended beneath its existing text.
- .openspec.yaml: a dated ratification record appended to
  origin.approved_by, beneath the prior "Status: is draft and only
  Brett ratifies" prose, which a reader would otherwise take as
  still current.

Verified before push: openspec validate (single change and --all
--strict) both green; tests/doc-health 1411 passed; exactly one
Ratified citation line in proposal.md; diff scoped to these three
packet files only.

Lane: openxfactory-f2
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01BMMXGREN4rQDUsUYgwRiXm
Copilot AI review requested due to automatic review settings September 3, 2026 02:51
@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-f2

Ratification applied. Brett Heap ruled 2026-09-03, in-session, verbatim: "merge 210 and ratify and merge 593." D1–D4 are adopted as written, including D2 (the SFIA unverified operator override) and D3 (the scope of the later APQC crosswalk authorization) — both flagged in tasks.md 5.4 as owed an explicit ruling.

Header flip, commit 1d9ae04 on rescue/standards-body-registry:

  • proposal.md: Status: draft → Status: ratified, with one Ratified: citation line naming the approver, date, and verbatim ruling.
  • tasks.md: task 5.4 ticked, with a dated ratification record appended.
  • .openspec.yaml: a dated ratification record appended beneath the prior "Status: is draft" prose in origin.approved_by, so a reader isn't left seeing a stale claim.

Verified before push: openspec validate update-standards-body-current-publications --strict and openspec validate --all --strict both green (86/86 items); tests/doc-health 1411 passed; exactly one Ratified: citation line in proposal.md; diff scoped to these three packet files only.

The four checks are re-running on the new head.

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 confirmed inconsistencies in documentation and tests (status/ratification and verification-claim semantics) that should be corrected before approval.

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

Review details

Suppressed comments (1)

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

tests/test_standards_body_registry.py:97

  • test_the_29_UNVERIFIED_current_bodies_are_reported_against uses b.get("verified_on") (truthiness) to decide which bodies are "claiming" verification. That conflicts with the production rule in registry_errors/spec that the presence of the verified_on key is the claim (so verified_on: "" / null should still be treated as a claim and rejected). This test should mirror the presence-based rule so it would fail if a blank claim accidentally lands in the live registry.
  • Files reviewed: 15/15 changed files
  • Comments generated: 3
  • Review effort level: Lite

Comment thread README.md Resolved
Comment thread README.md Resolved
…tHub skipped, and re-measure the sweep pin over the merged corpus

The push of the ratification commit produced check suites for
`merge-master-approval` (a `pull_request_target` workflow) and Copilot ONLY:
no run was created for `pytest-suite`, `signed-execution-chain-gate` or
`wallet-validation`, and `mergeable` read UNKNOWN. GitHub skips `pull_request`
workflows when it cannot build the PR's test-merge commit, so the missing runs
were a symptom and the unbuildable merge was the cause. THIS MERGE IS THE FIX
AND NOT A FEATURE CHANGE: it takes `origin/main` at `ee294f9f` into the branch
so the test-merge commit exists again and the three skipped workflows have
something to run on.

TWO FILES CONFLICTED, both of them files `add-project-repo-schema` (#605/#606)
also touched:

README.md — the "OpenSpec Records" block, where each side appended its own
entry at the head of the active list. BOTH ARE KEPT, in date order: this
change's 2026-09-03 entry, then `add-project-repo-schema`'s 2026-09-02 entry,
then `add-cpc-clearing-boundary`'s. Nothing else in the block moved.

tests/sequenced_after/test_sweep.py — the live sweep pin, which both branches
moved because both added an ACTIVE change. THE PINS ARE RE-MEASURED OVER THE
MERGED TREE, per this test's own maintenance rule, and never carried over from
either side: `python3 scripts/validate-sequenced-after.py . --sweep` reads
`34 active + 124 archived` = 158 change ids, 108 co-modified, 50 sole
modifiers, 21 / 13 active co-modified/sole.

THE TWO PACKETS MOVE DISJOINT PINS, which is why exactly one assertion changes
here. `add-project-repo-schema` carries a `## MODIFIED Requirements` block, so
it moves the CO-modified readings alone (`co_modified` 107 -> 108,
`active_co_modified` 20 -> 21) and leaves the sole readings untouched.
`update-standards-body-current-publications` is ADDED-only over a NEW
capability with novel requirement titles, so it moves the SOLE readings alone
(`sole_modifiers - 1` 48 -> 49, `active_sole - 1` 11 -> 12) and leaves the
co-modified readings untouched. Git's own auto-merge therefore landed four of
the five pins correctly, each side's move being the only edit to its line.
Only `change_ids` is moved by BOTH -- one more active change each -- so only it
compounds: `assert sweep.change_ids - 1 == 156` becomes `== 157`. No pin here
is the net of two OPPOSED moves, unlike the 2026-09-02 `active_co_modified`
reconciliation this log already records.

MEASURED ON ALL THREE TREES AND BY EXCLUSION, not inferred from the arithmetic.
`origin/main` at `ee294f9f` reads 157 / 108 / 49, 21 / 12; this branch at
`1d9ae04c` reads 157 / 107 / 50, 20 / 13. Dropping `add-project-repo-schema`
from the MERGED corpus reproduces this branch's own reading exactly, and
dropping `update-standards-body-current-publications` reproduces main's
exactly -- so the whole movement is those two packets' contribution and no
third change moved in the window. A dated MOVEMENT LOG entry records it, and
`main`'s own entry is kept verbatim with this branch's re-labelled as the
SIBLING reading it is: both are taken from the merge-base `c0270d28`, neither
is a step after the other.

The README entry's own bookkeeping sentence is corrected in the same commit for
the same reason. It still carried the pin's FIRST derivation (`change_ids - 1`
154 -> 155 with `co_modified` 105), which the branch's later catch-up merge with
#560 had already superseded in the test but not in the prose; it now states the
measured merged reading and says which of the two packets moves which pin.

`ideation/README.md` merged clean -- this branch never touched it -- and is
byte-identical to `origin/main`.

The ratification edits are untouched: `Status: ratified` plus the single
`Ratified:` line in `proposal.md` (grep for `^(Ratified by:|Ratified:)` still
prints exactly 1), `tasks.md` 5.4, and the `.openspec.yaml` `approved_by`
record.

Validated on the merged tree: `openspec validate
update-standards-body-current-publications --strict` valid; `openspec validate
--all --strict` 87 passed, 0 failed; `pytest tests/test_standards_body_registry.py
tests/sequenced_after` 135 passed; `scripts/validate-omnigent-contracts.py` all
checks passed.

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

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

OpenSpec lifecycle status is internally inconsistent across the packet metadata and the README record, which can mislead tooling/readers about the change’s state.

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

Review details

Suppressed comments (3)

openspec/changes/update-standards-body-current-publications/proposal.md:7

  • Front matter marks the change as Status: ratified, but the Origin: line still says the 2026-09-03 adoption ruling is not a ratification and that Status: stays draft. This is internally inconsistent and may confuse OpenSpec readers about the packet’s actual lifecycle state.
Origin: no staged topic — searched `ideation/staging/` and its `INDEX.md` for the registry, ITIL, SFIA and APQC subjects and found none. Commissioned in session by Brett Heap on 2026-09-01, as the upstream-registry-first half of the OpsxFactory `adopt-neutral-omnigent-overlay` close-out. **THE COMMISSIONING IS THE PACKET'S OWN RECORD, CARRIED FORWARD FROM THE RESCUED SNAPSHOT AND NOT RE-VERIFIED BY THE ADOPTING LANE** — see `.openspec.yaml` `origin.approved_by`, which says so in the same words. The SEPARATE and later act this branch stands on is Brett Heap's ruling of 2026-09-03, in session, that PR #593 be ADOPTED and owned by lane `openxfactory-f2`; that ruling authorizes the ADOPTION and RESHAPING of a stranded packet and is NOT a ratification of its content. `Status:` stays `draft`.

README.md:432

  • This README entry says the change is “still Status: draft”, but the packet’s proposal front matter in this PR sets Status: ratified. These should agree so the OpenSpec Records index doesn’t contradict the packet metadata.
  — authored 2026-09-01, **ADOPTED 2026-09-03 AND STILL `Status: draft`** — the

README.md:439

  • These lines state the adoption ruling “ratifies nothing” and that D1–D4 are still owed a ruling, but this PR’s packet metadata (proposal.md) explicitly records ratification. Please update this wording to reflect the current state (adoption/reshaping vs ratification) to avoid a contradictory historical record.
  and owned by lane `openxfactory-f2`. **THAT RULING AUTHORIZED THE ADOPTION AND
  THE RESHAPING AND RATIFIES NOTHING IN IT** — D1 … D4 are still owed a ruling,
  D2 (the SFIA operator override) and D3 (the APQC crosswalk scope) most of all.
  • Files reviewed: 15/15 changed files
  • Comments generated: 2
  • Review effort level: Lite

Comment thread tests/test_standards_body_registry.py Resolved
Comment thread scripts/validate-omnigent-contracts.py Resolved
@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-f2

Merged main into the branch — the three skipped pull_request workflows are running again

New head c57c069d (merge of origin/main at ee294f9f into 1d9ae04c). No rebase, no force-push, no change to the ratification edits.

Why the merge was needed

The push of the ratification commit 1d9ae04c at 02:51Z produced check suites for merge-master-approval (a pull_request_target workflow, which runs on the base and never needs a test-merge) and Copilot only. No run was created for pytest-suite, signed-execution-chain-gate or wallet-validation, and gh pr view 593 --json mergeable read UNKNOWN. GitHub skips pull_request workflows when it cannot build the PR's test-merge commit, so the absent runs were the symptom and the unbuildable merge the cause. Taking main in rebuilds it.

Conflicts: two files, both of them files add-project-repo-schema (#605/#606) also touched

README.md — the "OpenSpec Records" block, where each side appended its own entry at the head of the active list. Both kept, in date order: this change's 2026-09-03 entry, then add-project-repo-schema's 2026-09-02 entry, then add-cpc-clearing-boundary's. Nothing else in the block moved.

tests/sequenced_after/test_sweep.py — the live sweep pin, which both branches moved because both added an ACTIVE change. Pins re-measured over the merged tree per the test's own maintenance rule, never carried over from either side.

ideation/README.md merged clean — this branch never touched it — and is byte-identical to origin/main (git diff origin/main -- ideation/README.md is empty).

The pin re-measurement

python3 scripts/validate-sequenced-after.py . --sweep:

tree change ids co-modified sole active co/sole
origin/main ee294f9f 157 (33+124) 108 49 21 / 12
this branch 1d9ae04c 157 (33+124) 107 50 20 / 13
the merge c57c069d 158 (34+124) 108 50 21 / 13

The two packets move DISJOINT pins, which is why exactly one assertion changed. add-project-repo-schema carries a ## MODIFIED Requirements block, so it moves the CO-modified readings alone (co_modified 107 → 108, active_co_modified 20 → 21) and leaves the sole readings untouched. update-standards-body-current-publications is ADDED-only over a NEW capability with novel requirement titles, so it moves the SOLE readings alone (sole_modifiers - 1 48 → 49, active_sole - 1 11 → 12) and leaves the co-modified readings untouched. Git's own auto-merge therefore landed four of the five pins correctly, each side's move being the only edit to its line. Only change_ids is moved by both — one more active change each — so only it compounds:

  • assert sweep.change_ids - 1 == 156 → == 157 (the sole live-pin edit this merge makes)
  • co_modified == 108, active_co_modified == 21, sole_modifiers - 1 == 49, active_sole - 1 == 12 — auto-merged, and each re-measured as correct rather than accepted on trust.

No pin here is the net of two opposed moves, unlike the 2026-09-02 active_co_modified reconciliation the MOVEMENT LOG already records.

Measured by exclusion, not inferred from the arithmetic — the step that rules out a third change having moved in the window: dropping add-project-repo-schema from the merged corpus reproduces this branch's own reading exactly (157, 107, 50, 20 / 13), and dropping update-standards-body-current-publications reproduces main's exactly (157, 108, 49, 21 / 12). archived holds at 124, prose headers at 3 (3 archived), declaring/root_claims at 1/0.

A dated MOVEMENT LOG entry records the merge. main's entry is kept verbatim; this branch's is re-labelled as the SIBLING reading it is, both being taken from the merge-base c0270d28 with neither a step after the other.

The README entry's own bookkeeping sentence is corrected in the same commit for the same reason: it still carried the pin's first derivation (change_ids - 1 154 → 155 with co_modified 105), which this branch's earlier catch-up merge with #560 had already superseded in the test but not in the prose. It now states the measured merged reading and says which packet moves which pin.

Ratification edits untouched

Status: ratified plus the single Ratified: line in proposal.md — grep -c -E '^(Ratified by:|Ratified:)' prints 1 — tasks.md 5.4, and the .openspec.yaml approved_by record.

Validation on the merged tree

  • openspec validate update-standards-body-current-publications --strict → valid
  • openspec validate --all --strict → 87 passed, 0 failed (87 items)
  • pytest tests/doc-health tests/test_standards_body_registry.py tests/sequenced_after → 1546 passed in 8:01
  • scripts/validate-omnigent-contracts.py → All omnigent contract checks passed

CI on the new head

mergeable UNKNOWN → MERGEABLE, and all four checks are present where three were missing:

  • pytest-suite — running
  • signed-execution-chain-gate — SUCCESS
  • wallet-validation — SUCCESS
  • merge-master-approval — SUCCESS
  • openreposhape-pin — SUCCESS (new required gate, arrived with add-project-repo-schema)

No close/reopen was needed. This lane does not merge the PR.

brettheap added a commit that referenced this pull request Sep 3, 2026
…t is wider than one pull request

998a31b's closing "STANDING RACE" paragraph asserts that openxFactory #599
carries a `## MODIFIED Requirements` block and would move the live corpus pin
ahead of this branch. THAT WAS WRITTEN WITHOUT BEING MEASURED, AND IT IS FALSE.
Measured now:

  $ gh api repos/opensoft/openxFactory/pulls/599/files \
      --jq '.[] | "\(.status) \(.filename) +\(.additions) -\(.deletions)"'
  modified openspec/changes/add-credential-escrow-checkout/tasks.md +25 -2

One `tasks.md` edit. It adds no requirement block, no packet and no spec delta,
so it moves no reading of `scripts/validate-sequenced-after.py --sweep`.

The race itself is real and wider: any open change that ADDS a packet or a spec
delta moves `change_ids` / `active`, and any that adds or drops a
`## MODIFIED Requirements` block moves the co-modified and sole sets. Measured
against the open queue on 2026-09-03, SEVEN pull requests touch a `proposal.md`
or a `specs/**/spec.md` under `openspec/changes/` — #609 (this change's own
MedxPractice sibling), #595, #594, #593, #548, #491 and #447 — and whichever
lands first re-breaks this branch's pin.

This is the second fix commit rather than an amendment of the first, for the
same reason the first is not an amendment of c39d29b: force-pushing is
forbidden here (GH013), so a wrong statement in a pushed commit message is
corrected in the durable record and named there, never rewritten. The
correction lands in `review/verification-2026-09-03.md` § 9, beside the
paragraph that supersedes c39d29b's message by the same mechanism. Correcting
an evidentiary defect this round exists to remove, in the round's own commit,
is not an exception to the round — it is the round.

Validation, measured on this commit's tree:
  openspec validate create-medxchart-overlay-boundary --strict
    -> Change 'create-medxchart-overlay-boundary' is valid
  openspec validate --all --strict -> Totals: 86 passed, 0 failed (86 items)
  scripts/doc-health.py --single-repo .
    -> Findings: 6 critical, 6 error, 29 warning, 14 info. New regressions: 0.
       Finding lines BYTE-IDENTICAL to the c39d29b baseline; ZERO findings
       name this change.
  scripts/validate-sequenced-after.py . --sweep -> 157 / 109 / 48 / 22 / 11
  pytest tests/sequenced_after -q -> 118 passed

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_012RQo21NbWtnTVsb6JU67at
Lane: openxfactory-max001
…count by key presence, the docstring says frozenset

- README.md: rewrite the OpenSpec Records index entry for
  update-standards-body-current-publications from "ADOPTED and STILL
  Status: draft" to the current fact — ratified 2026-09-03 by Brett Heap
  in-session ("merge 210 and ratify and merge 593"), D1-D4 adopted as
  written, realization merged-plus-green on main, archive owed under the
  release-realization gate.
- proposal.md: amend the Origin line's closing phrase so it records the
  Status transition ("stayed draft through adoption, flipped to ratified
  on 2026-09-03") instead of contradicting the Status: ratified header
  above it. Exactly one Ratified: line remains.
- tests/test_standards_body_registry.py: count verification claims by key
  presence (VERIFICATION_CLAIM_FIELD in body) instead of truthiness, to
  mirror registry_errors' own rule that a malformed verified_on (empty or
  null) is a claim, not an absence.
- scripts/validate-omnigent-contracts.py: align standards_body_ids()'s
  docstring with its actual return type/value (frozenset(), not "an empty
  set") when the registry is absent. No behavior change.

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

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

It contains a small but concrete correctness issue in standards_body_ids() typing/filtering plus two documentation inaccuracies that should be corrected before merge.

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

Review details

Suppressed comments (1)

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

openspec/changes/update-standards-body-current-publications/proposal.md:2

  • The proposal front matter describes scripts/standards_body_registry.py as a "stdlib-only" reader module, but the module imports yaml (PyYAML), so it is not stdlib-only. This is misleading in the code-surface declaration and should be corrected.
  • Files reviewed: 15/15 changed files
  • Comments generated: 2
  • Review effort level: Lite

Comment thread scripts/validate-omnigent-contracts.py Resolved
Comment thread README.md Resolved
… the gate rather than the result

- scripts/validate-omnigent-contracts.py: standards_body_ids() is annotated
  frozenset[str] but its comprehension admitted any truthy id, so a
  malformed `id: 123` would yield frozenset[int]. Filter to non-empty str
  values instead. Defense in depth: scripts/standards_body_registry.py's
  registry_errors() already rejects a non-string id, but that check and
  this one run independently (fail() does not abort main()'s later
  standards_body_ids() call), so a malformed id would still reach this
  frozenset before the registry finding is read.
- README.md: the OpenSpec Records entry asserted "REALIZATION IS
  MERGED-PLUS-GREEN ON main" before this PR had merged. Rephrase as the
  gate definition (what merged-plus-green means and how it is measured)
  rather than an asserted current state.

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

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 duplicate-key refusal logic in the new registry loader can miss certain “duplicate” keys (e.g., NaN/unicode normalization edge cases), weakening its stated guarantee and needs to be hardened before approval.

Review details

Suppressed comments (1)

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

scripts/standards_body_registry.py:80

  • _comparison_token() returns the key unchanged for any hashable key, but that means the duplicate-key scan can miss duplicates for values that are hashable yet not self-equal (e.g., YAML float NaN) and for visually-identical Unicode keys in different normalization forms. That undermines the loader’s guarantee to refuse duplicate keys “at ANY mapping level” and can allow two human-identical keys to pass the scan.
  • Files reviewed: 15/15 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-f2

Provenance for the admin merge. RULING for lane openxfactory-f2's PR #593 (head 07d5548c): Brett Heap, 2026-09-03 ~02:3xZ, in-session, verbatim: "merge 210 and ratify and merge 593". The ratification is recorded in the packet (Status: ratified, one Ratified: citation line, tasks 5.4) since 1d9ae04c; c57c069d merged main ee294f9f in with pins re-measured (change_ids - 1 156 → 157; disjoint pins with add-project-repo-schema); d1eaa95e and 07d5548c took Copilot rounds 6 and 7 (index and Origin line say ratified; claims counted by key presence; frozenset docstring; non-string id filter; gate stated rather than asserted). Merge basis: all FIVE required checks SUCCESS on 07d5548c — merge-master-approval, wallet-validation, pytest-suite, signed-execution-chain-gate, openreposhape-pin — and ZERO unresolved review threads (17 Copilot findings TAKEN over seven rounds; Codex rate-limited throughout, recorded as provider non-review). Adoption ruled 2026-09-03 ~00:1xZ ("go with recommendations", item 3); register issue #591. --admin satisfies only the review-count rule. Squash merge at 2026-09-03T05:04Z. Session: https://claude.ai/code/session_01GSRxesWQMRgFKUjoJiDd1w (continuation of session_01WNxTJoaJQkcDi2ybmLCZgW)

@brettheap
brettheap merged commit 3c237cd into main Sep 3, 2026
6 checks passed
brettheap pushed a commit that referenced this pull request Sep 3, 2026
…ME rows kept both sides; the corpus pin re-derived on the merged tree

`main` moved three merges past this branch's base `642ac147` while PR #608 sat
awaiting the convener's merge word — #606 (ratify add-project-repo-schema),
#593 (adopt update-standards-body-current-publications as an ACTIVE draft
change, a new change directory), #589 (SPENT-state containment hardening) — and
GitHub could no longer build the test-merge commit. Force-pushing is forbidden
here, so this is a CATCH-UP MERGE and not a second rebase.

TWO FILES CONFLICTED AND EACH IS RESOLVED BY KEEPING WHAT BOTH SIDES SAID.

`README.md` — BOTH SIDES' "OpenSpec Records" entries are kept, none duplicated
and no marker left behind: main's rewritten `add-project-repo-schema` row (now
`Status: ratified`, still ACTIVE until its bundle is cut) and its new
`update-standards-body-current-publications` row stand exactly as main wrote
them; this branch's rewritten `create-medxchart-overlay-boundary` row stands
exactly as this branch wrote it; and main's `docs/project-repo-schema.md`
lifecycle line is untouched. The two sides never wrote the same row, so the
merged file is the union and the diff against `origin/main` is this branch's
one row and nothing else.

`tests/sequenced_after/test_sweep.py` — MAIN'S PIN BLOCK AND MOVEMENT LOG ARE
THE BASE, and the pin is then RE-DERIVED ON THE MERGED TREE rather than netted
out of the two branches' arithmetic. Main's two new log entries (#593's adoption
and its own catch-up merge with #606) are kept verbatim; this branch's entry is
kept as the chronologically last one, rewritten to the merged-tree readings and
carrying the same substance it always had — that RATIFYING an already-active
change is a THIRD cause of this test's failure, distinct from the authoring
cause and the archiving cause the assertion messages name, and the only shape in
which the co-modified set rises by ONE while the sole set FALLS, because the
change entering one is the change leaving the other. No entry is carried twice.

MEASURED, VIA `python3 scripts/validate-sequenced-after.py . --sweep`:

  merged tree                       34 active + 124 archived = 158 change ids,
                                    109 co-modified, 49 sole modifiers,
                                    22 / 12 active co-modified/sole
  merged tree, with only
  .../create-medxchart-overlay-boundary/specs/domain-descendant-boundary/
  moved aside                       158, 108, 50, 21 / 13
  origin/main at 6da1e1f           158, 108, 50, 21 / 13

The exclusion reproduces main's own reading EXACTLY, and main's own tree
confirms that reading independently, so this branch's single `## MODIFIED
Requirements` delta over `domain-descendant-boundary` is the whole of the
difference between the two trees: +1 `co_modified`, +1 `active_co_modified`,
-1 `sole_modifiers`, -1 `active_sole`, and `change_ids` and `active` not at all.
No third change moved in the window; #589 touches no `openspec/changes/**/specs/`
delta and #606 ratifies a change already counted, so of the three merges only
#593 moved main's pin.

The five pinned values become, all measured and none inferred:

  sweep.co_modified          == 109   (was 109 on this branch, 108 on main)
  sweep.active_co_modified   == 22    (was 22 on this branch, 21 on main)
  sweep.change_ids - 1       == 157   (main's; this ratification holds it)
  sweep.sole_modifiers - 1   == 48    (was 47 on this branch, 49 on main)
  sweep.active_sole - 1      == 11    (was 10 on this branch, 12 on main)

The pin moves in the SAME COMMIT as the corpus, which is that test's own
protocol.

VALIDATION ON THE MERGED TREE:

  openspec validate create-medxchart-overlay-boundary --strict   valid
  openspec validate --all --strict                               87 passed,
                                                                 0 failed
                                                                 (87 items)
  python3 -m pytest tests/sequenced_after -q                     118 passed
  scripts/doc-health.py --single-repo .                          6 critical,
                                                                 6 error,
                                                                 29 warning,
                                                                 14 info,
                                                                 0 new
                                                                 regressions

The doc-health report is BYTE-IDENTICAL to the same run on `origin/main` at
`6da1e1f5` once the checkout directory name is normalised, and zero findings
name this change. The `--all --strict` total moved 86 → 87 because #593 added
one ACTIVE change; this packet adds none.

The two `review/` records still state the pre-merge readings and are corrected
in the commit that follows this one, before capture — capture is the merge of
PR #608, which has not merged.

Lane: openxfactory-max001

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_012RQo21NbWtnTVsb6JU67at
brettheap pushed a commit that referenced this pull request Sep 3, 2026
… a second time pre-capture after main moved (#606, #593, #589)

CAPTURE IS MERGE, AND NOTHING IS MERGED. `record-immutability` forbids editing a
`Status: record` document AFTER capture; capture is the merge of the pull
request that establishes it, and PR #608 has not merged. These two records have
therefore never been captured, and correcting them on the branch is lawful. No
capture happened before this merge and none is claimed.

WHAT MOVED, AND WHY. `main` moved three merges past this branch's base
`642ac147` — #606 (ratify add-project-repo-schema), #593 (adopt
update-standards-body-current-publications as an ACTIVE draft change), #589
(SPENT-state containment hardening) — and this branch took the catch-up merge at
`6da1e1f5` in the commit directly below. The race the verification record itself
measured and named on 2026-09-03 duly ran, and #593 was the pull request that
won it. Of the three, only #593 moves the live corpus pin.

COUNTS MOVED, AND ONLY COUNTS:

  openspec validate --all --strict        86/86 -> 87/87
                                          (#593 added one ACTIVE change; this
                                          packet adds none, ratifying a change
                                          that was already active and already
                                          counted)

  this branch's own sweep                 157 / 109 / 48 / 22 / 11
                                          -> 158 / 109 / 49 / 22 / 12
                                          (change ids / co-modified / sole
                                          modifiers / active co-modified /
                                          active sole)

  measured-by-exclusion baseline,         157 / 108 / 49 / 21 / 12
  which is main's own reading             -> 158 / 108 / 50 / 21 / 13

so this packet's contribution, restated from main's new baseline, reads
`co_modified` 108 -> 109, `active_co_modified` 21 -> 22, `sole_modifiers`
50 -> 49 and `active_sole` 13 -> 12 — the same +1 / +1 / -1 / -1 shape it always
had, with `change_ids` and `active` still moving not at all.

MEASURED BY EXCLUSION, NOT INFERRED. The baseline above was proved by moving
`openspec/changes/create-medxchart-overlay-boundary/specs/domain-descendant-boundary/`
aside on the merged tree and re-running
`python3 scripts/validate-sequenced-after.py . --sweep`, and independently
confirmed by running the same sweep on `origin/main` at `6da1e1f5` itself, which
prints the same 158 / 108 / 50 / 21 / 13.

NOTHING ELSE IN THE RECORDS CHANGED. Beyond those counts and the `Captured:`
header naming the second tree it was re-derived on, no governance statement, no
evidence block, no console output, no finding and no citation moved. The
ratification act, its date, its ruler and its quoted words are untouched.

VALIDATION ON THE MERGED TREE, RE-RUN AFTER THESE EDITS:

  openspec validate create-medxchart-overlay-boundary --strict   valid
  openspec validate --all --strict                               87 passed,
                                                                 0 failed
                                                                 (87 items)
  python3 -m pytest tests/sequenced_after -q                     118 passed
  scripts/doc-health.py --single-repo .                          6 critical,
                                                                 6 error,
                                                                 29 warning,
                                                                 14 info,
                                                                 0 new
                                                                 regressions,
                                                                 byte-identical
                                                                 to origin/main

Lane: openxfactory-max001

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_012RQo21NbWtnTVsb6JU67at
brettheap added a commit that referenced this pull request Sep 3, 2026
…e follows the HARDENED reader, and the pin is re-derived rather than adjusted

PR #611 was authored 2026-09-03T03:55Z by a sibling session that then ended,
against the `main` of 2026-09-02 (`ee294f9f`). Two commits landed on `main`
before it could merge and it went CONFLICTING; lane openxfactory-1d adopted it
on the owner's word and fixes it forward here. Nothing about the archive act is
redone: the promotion, the README move and the `docs/doc-health.md` retarget are
#611's and stand.

## What landed on `main` in between, and why each one matters here

- PR #593 (`3c237cd0`) ADOPTED `update-standards-body-current-publications` as
  an ACTIVE change and re-baselined three `sequenced_after` pins.
- PR #589 (`6da1e1f5`) HARDENED the SPENT containment guard on top of the
  realization #587 landed, and recorded that hardening under this packet's
  § 2.3 without re-ticking anything.

## Conflict resolutions, each taken deliberately

`openspec/changes/declare-spent-bundle-state/tasks.md` — a delete/modify shape
that git's rename detection resolved into the archived copy, and the result was
CHECKED rather than trusted: the archived
`openspec/changes/archive/2026-09-03-declare-spent-bundle-state/tasks.md` now
carries `main`'s POST-#589 file, § 2.3's thirteen-line hardening note included,
with #611's group-5 ticks re-applied over it.

`tests/sequenced_after/test_sweep.py` — the MOVEMENT LOG conflicted: #611's
entry against #593's two. #611's entry is REPLACED rather than kept beside them,
because the two contradict on the active/archived split, and the replacement
says so in terms. Every pin was RE-MEASURED on both trees with
`python3 scripts/validate-sequenced-after.py . --sweep` rather than adjusted by
arithmetic: `origin/main` at `6da1e1f5` reads `34 active + 124 archived` = 158
change ids, `108` co-modified, `50` sole modifiers, `21 / 13` active
co-modified/sole; this merge reads `33 active + 125 archived` = 158, `108`,
`50`, `20 / 13`. EXACTLY ONE PIN MOVES — `active_co_modified` 21 -> 20 — and
`main`'s own reading is the by-exclusion control, this archive being the only
difference between the two trees. #611's "32 active + 125 archived = 157" prose
was arithmetically stale, not wrong in its reasoning: both addends were one
lower than the corpus now carries, and the TOTAL-unchanged invariant it was
making survives the correction.

`README.md` and `docs/doc-health.md` — both auto-merged and both verified:
#593's new ACTIVE row for `update-standards-body-current-publications` is kept
AND `declare-spent-bundle-state` moves from Active to Archived the way #571 did;
`docs/doc-health.md` carries BOTH sides — #589's two new containment paragraphs
and #611's retarget of the one stale link to the archived path — with the family
count sentences untouched.

## Task 3.1's tick is REVERTED, and that is the one substantive change here

#611 ticked 3.1 on the reading that the DECISION the box posed was made. What
the box names is the PARAGRAPH in `docs/contract-versioning-policy.md`, which is
deliberately owed to the next contract cut under the owner's 2026-09-02 ruling
to CARRY #577's drift. It is un-ticked, #611's note is kept in full, and one
dated sentence records the revert and its reason. The box travels OPEN into the
archived packet the way 3.2 does. Group 5's ticks stand and gain the #589
evidence: run `33719770363` (`success`) on `main` at `6da1e1f5`, the Speckit
feature `specs/027-spent-bundle-state/`, and the family file at 46 -> 135 tests.

## § 5.2 re-verified on the post-#589 tree rather than carried forward

The archived delta's `### Requirement: Release-tag publication` block and the
promoted requirement in `openspec/specs/doc-health/spec.md` were extracted from
the MERGED tree and diffed: ZERO lines of difference, 392 lines, 24 scenarios.
Against `main`'s pre-promotion requirement (129 lines, 11 scenarios): 263 lines
added, ZERO REMOVED, and the canon file's whole-file diff is `263
insertions(+), 0 deletions(-)` over 43 requirements on both sides. #589 touches
`scripts/doc_health/`, `tests/doc-health/` and `docs/doc-health.md` and NOT the
canon spec, so the block could not have moved — checked anyway.

## Gates, on the merged tree

`OPENSPEC_TELEMETRY=0 openspec validate --all --strict`: 86 passed, 0 failed —
one fewer than `origin/main`'s 87, which is the archived change leaving the
active corpus. `python3 scripts/validate-sequenced-after.py .`: passed (33
active, 1 declaring). `pytest tests/sequenced_after`: 118 passed.
`pytest tests/doc-health -p no:cacheprovider`: 1500 passed, 0 failed.
`pytest tests/doc-health/test_release_tag_publication.py`: 135 passed (46 at
#587's `3fa222f3`). doc-health `--single-repo` before and after: 55 findings on
both, 6 critical / 6 error / 29 warning / 14 info on both, and the two finding
lists BYTE-IDENTICAL once the repo-identity string is normalized. No
`health/dispositions.yaml` row is owed and no carriage-ledger or
`modified-block-currency` test names this change.

Lane: openxfactory-1d
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LAWoydPqwc9TxqDb8bWcWy
brettheap added a commit that referenced this pull request Sep 3, 2026
…03, realized by #593 (3c237cd), green on main (run 33717394896) (#615)

* Archive update-standards-body-current-publications: ratified 2026-09-03, realized by #593 (3c237cd), green on main (run 33717394896)

Brett's word: "archive it". Finishes work an Opus agent left on disk,
uncommitted, after being killed twice by provider errors — verified
rather than redone: the 8-file move to
openspec/changes/archive/2026-09-03-update-standards-body-current-publications/,
the byte-identical promotion to
openspec/specs/standards-body-registry/spec.md (real Purpose section,
requirements diff-clean against the delta), and the README "OpenSpec
Records" entry.

Took a catch-up merge of origin/main first: declare-spent-bundle-state's
own archive (PR #611, squash 7af2725) landed on main after this
branch was cut from 6da1e1f, so every gate and pin below is
re-measured against 7af2725 rather than the stale base. Corrected the
sequenced_after live pin accordingly in the same commit as the corpus
move (its own protocol): active_sole - 1 falls 12 -> 11 (this archive,
a SOLE modifier); active_co_modified already held at 20 from the
sibling archive this branch merged, not from this one. Ran
`python3 scripts/validate-sequenced-after.py . --sweep` on both trees
to confirm: 32 active + 126 archived = 158, 108, 50, 20 / 12.

Also added tasks.md 5.7 naming this PR as the landing act for the
archive that ran uncommitted in the isolated clone.

Gate evidence: PR #593 squash 3c237cd
on main; pytest-suite run 33717394896 (2026-09-03T05:26Z) and
signed-execution-chain-gate both success on that commit.

Validated: openspec validate --all --strict 86 -> 86 passed (33
active + 53 specs -> 32 active + 54 specs); pytest tests/doc-health
1500 passed either side; pytest tests/test_standards_body_registry.py
17 passed; pytest tests/sequenced_after 118 passed;
scripts/validate-omnigent-contracts.py all checks passed; doc-health.py
--single-repo . 6 critical / 6 error / 29 warning / 13 info either
side, 0 new regressions, and --family promotion-fidelity /
duplicate-packet / status-validity all zero findings either side.

Lane: openxfactory-f2

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

* README: re-measure the archive entry's gates against the second catch-up merge

origin/main moved 5 more commits (#603 #599 #601 #614 #602, tip
1c3e744) while this PR was being finished. None touch this packet's
files, so the archive act itself is unaffected, but the doc-health.py
--single-repo info count and the base commit cited in the entry were
stale. Re-measured back-to-back on 1c3e744 (before) and the merged
tree (after): 6 critical, 6 error, 29 warning, 14 info, 0 new
regressions, unchanged by this act. Also records the one transient
pytest tests/doc-health network-read failure
(test_this_repository_can_consult_the_retention_namespace) that a
clean rerun did not reproduce.

Lane: openxfactory-f2

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

* tasks.md: name PR #615 as the landing act

Fills the placeholder §5.7 left after PR creation.

Lane: openxfactory-f2

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

* tasks.md: stop claiming PR #615 already landed on main

Copilot review round 1, taken: 5.7 said "LANDED ON main" while the PR
is still open. Corrected to state the PR exists and is open, not
merged; a follow-up line records the squash SHA once it actually
merges.

Lane: openxfactory-f2

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

* tasks.md: name the third catch-up merge (#604)

A fourth commit landed on origin/main after the round-1 fix; §5.7 said
"TWO catch-up merges" when a third had since happened.

Lane: openxfactory-f2

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

* Fix two Markdown rendering defects Copilot flagged

Round 2/3: an inline-code span split across two lines in tasks.md
(inline spans can't contain a newline) and a stray line break in
README.md that orphaned "with" on its own line. Cosmetic only, no
claims changed.

Lane: openxfactory-f2

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

* Advance the review-lane pin onto codexFactory's regenerated 58-entry floor

THE OPENXFACTORY HALF OF A TWO-REPOSITORY REPAIR THIS PR'S OWN PROMOTION
FORCED. Promoting `standards-body-registry` adds a path under
`openspec/specs/`, and codexFactory's `repository_gate_floor` for this
repository ENUMERATES that surface exactly — so the new spec arrived OFF the
floor and `tests/review_lane_pin/test_floor_snapshot.py`'s LQ-A7 coverage
assertion reddened the REQUIRED `pytest-suite`. That is the guard working: a
spec the floor does not carry is a spec the floor does not protect.

THE ORDER IS FORCED AND IS THE RUNBOOK'S
(`docs/repository-gate-floor-repair-runbook.md` in the pinned core, and the
ordered repair the assertion prints on failure): codexFactory regenerates the
block at an openxFactory commit that ALREADY carries the new path, and only
then may this pin advance onto it — a pin cannot name a document that does
not yet exist.

CODEXFACTORY'S HALF LANDED FIRST: PR #184, merge
`8cb173738ebecd773eadd1b77b11d29029b37382` (2026-09-03T19:53:55Z),
regenerated by `scripts/merge_master/generate_specs_floor_block.py` at
openxFactory `c9928846` — this branch's own head, the only tree carrying the
new path.

FIVE SITES MOVE, IN ONE LOGICAL CHANGE, because the tests fail if any of them
disagree:

  contracts/review-lane-pin.yaml          core_commit  db157dbb -> 8cb17373
  .github/workflows/merge-master-approval.yml  PINNED_CORE_COMMIT (same)
  .github/workflows/merge-master-approval.yml  core checkout ref: (same)
  .github/workflows/pytest-suite.yml           core checkout ref: (same)
  contracts/review-lane-floor-snapshot.yaml    re-copied at the new commit

and the snapshot's declared witnesses move with it:
`entry_count` 57 -> 58, `sha256` bf7a6b69… ->
22993960b31ff7853df719a701b0f53cd62c420ed7fe25b2da1ba6646bf16f7b.

THE SNAPSHOT IS A WITNESS AND WAS NOT HAND-EDITED. It is a byte copy fetched
from the pinned core at `8cb17373` and verified two independent ways: sha256
as above over 9219 bytes, and GIT'S OWN content addressing —
`git hash-object` of the vendored file equals the blob sha codexFactory's
tree carries at that path and commit, `cdb08cd603a0d10c44f3c843e024d73bd1d6e1ce`.
The freshness comparison in `test_floor_snapshot.py` — which SKIPS when the
core is absent — was additionally run WITH the core on disk
(`PINNED_CORE_CHECKOUT=…`): 56 passed, ZERO skipped, so the byte-for-byte
assertion CI performs actually ran and passed here.

MEASURED, NOT ASSUMED. The new floor is the old floor plus exactly
`openspec/specs/standards-body-registry/spec.md` — nothing removed, no dead
entry introduced. 58 entries = the same 4 hand-reasoned chokepoints + 54 spec
paths (was 53). Coverage over the merged tree: all 54 tracked paths under
`openspec/specs/` are floored, 0 uncovered, and 0 floored spec paths are dead.
`project-repo-schema` has NOT landed, so 54 is the correct surface.

LOCKSTEP RE-MEASURED RATHER THAN CARRIED OVER: xFactory's two judging surfaces
still name `f4702f64` (read from xFactory main 2026-09-03), so
`lockstep.status` stays `diverged` and the obligation to converge at a future
re-point ceremony stands. The gap widened by ONE ENTRY, not by a new kind of
divergence — the cause is unchanged from 2026-09-01 and still forced by the
feature.

Also files forward the archived packet's tasks.md §5.7 with the floor repair.
The squash SHA is deliberately NOT invented there: it is filled in at landing
by the merge-provenance comment.

Validated: tests/review_lane_pin + tests/sequenced_after +
tests/test_standards_body_registry.py = 190 passed, 1 skipped (that skip being
the freshness comparison, separately exercised green with the core present);
tests/doc-health = 1500 passed; `openspec validate --all --strict` = 86 passed
0 failed; `scripts/validate-omnigent-contracts.py` = all checks passed.

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

* Anchor §5.7's not-yet-merged claim to its writing instant, not the present tense

TAKEN FROM COPILOT's review of `0d17d1be` ("Needs a closer look"): the §5.7
prose asserts landed state in the PRESENT TENSE — "still not merged", "`main`
does not carry this archive" — and this packet is ARCHIVED, so that wording
goes FALSE the instant the pull request merges and leaves a permanent stale
claim inside a record.

The finding is right about the shape and this commit takes it FOR THE HALF THIS
LANE AUTHORED. The claim is now ANCHORED TO AN INSTANT — "as of this note's
writing, 2026-09-03, branch head `0d17d1be`, this packet had not merged" — so
it stays TRUE after the merge instead of decaying, and it points a reader
wanting the LANDED state at the merge-provenance comment rather than at a line
that speaks only for the moment it was written. No fact changes; the tense
does.

WHAT THIS COMMIT DOES NOT TOUCH, AND WHY. Copilot also flagged lines 172 and
184-189 — the PRIOR session's §5.7 prose, not this lane's. Those are left
alone on two grounds: this lane's scope is to APPEND a dated note to §5.7, not
to rewrite another lane's record text; and the phrasing there is the
repository's deliberate doctrine, stated in its own voice ("NOT YET TRUE, AND
NAMED SO IT STAYS FALSE UNTIL IT ISN'T"), which exists to stop a packet
claiming landed state before it lands — the archive-gate rule in
`docs/release-realization-flow.md` § The Archive Gate, and the
claim-outrunning-machinery lesson family. Rewriting it as a bare "TBD" would
weaken a guard rather than fix a defect. That text also already commits to
completing the provenance at landing, which is the act that retires the
staleness.

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

* Advance the review-lane pin onto the 63-entry floor: second lander of the two-packet collision

THE OPENXFACTORY HALF OF THE FLOOR REPAIR THIS PACKET'S OWN PROMOTION FORCED,
TAKEN A SECOND TIME AND FOR A REASON THAT IS NOT A CORRECTION OF THE FIRST.

TWO openxFactory packets each promoted a NEW capability on 2026-09-03, and
codexFactory's `repository_gate_floor` for this repository is REGENERATED BY
ENUMERATING A TREE rather than by editing a list. `add-project-repo-schema`
(PR #616, merged 20:49Z as `19d00872`) landed first and codexFactory PR #183
(`605d48ac`) regenerated for it. codexFactory PR #184 (`8cb17373`) then
regenerated for THIS packet at `c9928846` — PR #615's PRE-MERGE branch head,
which did not yet carry #616's promotion — so its block went 54 -> 54 rather
than 54 -> 55 and SILENTLY DROPPED `openspec/specs/project-repo-schema/spec.md`,
the entry #183 had just landed.

NEITHER EARLIER PULL REQUEST IS DEFECTIVE. Each regenerated at a real tree,
exactly as CSC-C7 requires. This is the failure mode a two-lander collision
HAS, and the pinned core's `docs/repository-gate-floor-repair-runbook.md`
already answers it by making the SECOND LANDER regenerate once at its OWN
POST-MAIN-MERGE head.

AND `main` WAS NEVER BROKEN IN THE INTERVAL — stated so nobody hunts an
incident that did not happen. `main`'s pin named `605d48ac`, whose 58-entry
floor covers `main`'s 54-spec tree INCLUDING `project-repo-schema`. The gap
becomes reachable only when THIS packet's fifty-fifth spec lands, which is the
moment this advance exists to serve.

CODEXFACTORY'S HALF LANDED: PR #186, MERGE COMMIT (not squash)
`8f770afbf86043ee0f5494ded0f12f51c2a9b45e`, 2026-09-03T21:55:35Z, regenerated
at openxFactory `8d893a0f` — this branch's merge of `main` `19d00872`, and the
FIRST COMMIT ANYWHERE carrying fifty-five tracked paths under
`openspec/specs` — restoring `project-repo-schema` BESIDE
`standards-body-registry`. codexFactory `main` was re-verified at that same
commit by `git ls-remote` immediately before this advance rather than assumed.

FIVE SITES MOVE, IN ONE LOGICAL CHANGE, because the tests fail if any of them
disagree:

  contracts/review-lane-pin.yaml               core_commit  605d48ac -> 8f770afb
  .github/workflows/merge-master-approval.yml  PINNED_CORE_COMMIT (same)
  .github/workflows/merge-master-approval.yml  core checkout ref: (same)
  .github/workflows/pytest-suite.yml           core checkout ref: (same)
  contracts/review-lane-floor-snapshot.yaml    re-copied at the new commit

and the snapshot's declared witnesses move with it: `entry_count` 58 -> 63,
`sha256` 6ab79400… -> b8f95136916fc58d297a8319408bebbffaf327790fd2885a677e22de193f41f8.

THIS PIN NEVER NAMED `8cb17373`, AND THAT IS RECORDED RATHER THAN TIDIED AWAY.
Commit `0d17d1be` on this branch DID advance onto it at 16:24, and the later
catch-up merge of `main` — which carried PR #616's own advance to `605d48ac` —
resolved the pin sites to `main`'s side, so the intermediate 58-entry state
`8cb17373` describes was never the state this branch shipped. A reader
comparing this file's history to codexFactory's will see #184 land and this pin
skip it; that is the collision, not a lost edit.

THE SNAPSHOT IS A WITNESS AND WAS NOT HAND-EDITED (CSC-C7). It is a byte copy
fetched from the pinned core at `8f770afb` and verified THREE independent ways:
sha256 as above over 12492 bytes; GIT'S OWN CONTENT ADDRESSING —
`git hash-object` of the vendored file equals the blob sha codexFactory's tree
carries at that path and commit, `351c47fb5bfad13697dc6c777b9bb17a147e8e45`;
and `cmp` against a REAL shallow checkout of codexFactory at that commit. The
freshness comparison in `test_floor_snapshot.py` — which SKIPS when the core is
absent — was additionally run WITH that core on disk
(`PINNED_CORE_CHECKOUT=…`): 56 passed, ZERO skipped, so the byte-for-byte
assertion CI performs actually ran and passed here.

THE FLOOR GREW BY FIVE, AND ONLY ONE OF THEM IS A SPEC. Measured on the merged
tree, not inferred from the proposal.

  * THE SPEC: `openspec/specs/standards-body-registry/spec.md`. The generated
    block goes 54 -> 55 tracked paths. Coverage over this branch's merged tree:
    all 55 tracked paths under `openspec/specs` are floored, 0 uncovered, and 0
    floored spec paths are dead. Both `project-repo-schema` and
    `standards-body-registry` are present.
  * THE OTHER FOUR ARE CHOKEPOINTS, NOT SPECS, and they arrive here for the
    first time: codexFactory PR #182 (merge `e5534552`, 20:51:52Z — AUTHORED
    BEFORE #183/#184 BUT MERGED AFTER BOTH, which is why they surface at an
    advance whose stated object is a spec) floored the sibling
    FACTORY-IDENTITY REGISTER FAMILY BY NAME —
    `governance/factory-identity/register.yaml` and the wallet, grant and
    custody attestation beside it — realizing THIS repository's own ratified
    `add-cpc-clearing-boundary` task 2.7. By name is FORCED, not preferred:
    `_parse_exact_path` refuses wildcards and trailing slashes, so the
    directory cannot be floored as a prefix. All four exist on this tree,
    verified path by path, so the advisory lane gains four reachable floor
    paths and no dead entry. The document's hand-reasoned chokepoints go
    4 -> 8, and its own self-description moves with it: 4 + 1 becomes 8 + 1.

LOCKSTEP RE-MEASURED RATHER THAN CARRIED OVER: both xFactory judging surfaces
still name `f4702f64` (read directly off xFactory `main` 2026-09-03 — the two
`ref:` literals in `merge-master-approval.yml` and
`council-convening-lane.yml`), so `lockstep.status` stays `diverged` and the
obligation to converge at a future re-point ceremony stands. THE GAP WIDENED BY
FIVE ENTRIES, NOT BY A NEW KIND OF DIVERGENCE: the cause is unchanged from
2026-09-01 and is still forced by the feature.

Also takes a FIFTH catch-up merge of `origin/main` (`9a773a31`, the
`contract-v3.2` cut) — merged, never rebased — and files the archived packet's
tasks.md §5.7 forward with the completed repair. The squash SHA is deliberately
NOT invented there: it is filled in at landing by the merge-provenance comment.

Validated: tests/review_lane_pin + tests/sequenced_after +
tests/test_standards_body_registry.py = 190 passed, 1 skipped, 18 subtests
passed (that one skip being the freshness comparison, separately exercised
green with the core present); tests/doc-health = 1500 passed;
`openspec validate --all --strict` = 86 passed, 0 failed;
`scripts/validate-omnigent-contracts.py` = all checks passed;
`import cryptography` = 41.0.7.

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

---------

Co-authored-by: openRepoShape CI <[email protected]>
Co-authored-by: Claude Fable 5.1 <[email protected]>
Co-authored-by: Brett Heap <[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