Skip to content

Archive add-declared-former-id on its merged-plus-green realization evidence (#1038 → 701c8fde, #1037 → 8f393758, #1039 → 92d519b0, #1041 → 79ac94b7) - #1064

Merged
brettheap merged 7 commits into
mainfrom
archive/add-declared-former-id
Sep 16, 2026
Merged

brettheap merged 7 commits into
mainfrom
archive/add-declared-former-id

Conversation

@brettheap

@brettheap brettheap commented Sep 16, 2026 •

Copy link
Copy Markdown
Contributor

Lane: openxfactory-1 (openXfactory-1)
Claim: #1003 (comment)

ARCHIVE of add-declared-former-id (tasks.md § 7.1: "a separate pull request on a separate word"), on Brett Heap's SEPARATE ARCHIVE WORD — verbatim "archive it, open the PR", 2026-09-16T12:4xZ, in session to lane openxfactory-1, given on the presented local archive at aa9d089f with its evidence brief; recorded as a RULED line in the lane's object log (brett-wip:lanes/log/openxfactory-1.md). It follows the earlier rulings "Prepare only; ask me before opening" (2026-09-15T23:32Z) and "Yes, with disposition + carry-forward issue" / "Dedicated required check" / "Not yet; leave the canary parked" (#1003, issuecomment-5686436893 and after). refs #1003, refs #1053, refs #1061 — no closing keyword: #1003 is already closed by the orchestrator's own act, #1053 stays an unclaimed queue record by ruling, #1061 is the carry-forward this archive opens.

THIS PULL REQUEST TOUCHES openspec/changes/, SO ITS LANDING IS A RULE 6 ACT. The landing lane posts LANDING … on this PR and in LANES.md before the merge and LANDED … after, when the six required checks are green on the frozen head, on the archive word above.

Why it may archive now

code_surface: openxFactory is non-empty, so under release-realization this packet archives only on MERGED-PLUS-GREEN realization evidence and on nothing else. Every merge is on main and confirmed an ancestor of origin/main:

PR merge commit mergedAt (UTC) slices own pytest-suite run on main decided-green main run whose tree contains it
#1038 701c8fde 2026-09-14T21:09:32Z 1–3 34897189477 success (direct) —
#1037 8f393758 2026-09-15T19:02:27Z 5 35011209877 cancelled 35014513335 @ 8944758c success
#1039 92d519b0 2026-09-15T19:15:02Z 4 35012492979 cancelled 35014513335 @ 8944758c success
#1041 79ac94b7 2026-09-15T21:24:28Z 6 35025437085 cancelled 35026939157 @ b3a75537 success

The cancellations are the workflow's own concurrency: pytest-suite-${{ github.ref }} / cancel-in-progress: true (.github/workflows/pytest-suite.yml:287-289): every landing on main cancels the previous landing's still-running suite, so a decided run is read at the first later main head whose tree contains the merge (git merge-base --is-ancestor verified for each).

Second leg, stated honestly. The refs/pull/<n>/merge test-merge refs are retired by GitHub once a PR merges (HTTP 404 for all four), so tree equality against them is not measurable by anyone. What IS measurable: (a) every PR's own pytest-suite ran success at the reviewed head, which is each merge's second parent — #1038 256fe07a run 34857760902, #1037 c48b91ae run 34905703945, #1039 24cd42a1 run 34909231418, #1041 f7fda10e run 35023330889; (b) every landed tree is the clean mechanical merge of its two parents (git merge-tree --write-tree, all four TREE-EQUAL). One limit named: #1039's PR run (2026-09-14T23:31Z) predates its own base parent 8f393758, so that leg alone does not reach the landed tree; the decided main run at 8944758c does.

What this branch does (commits, oldest first)

commit what
38735c0e tick the last eight boxes with their dispositions: § 4.5 is NOT performed (ticked [x] with the disposition and the carry-forward, because archive_change() refuses every - [ ]), § 6 is not taken, § 7 is this archive
0b22191a the archive act, scripts/proposal-support.py . archive add-declared-former-id (never bare openspec): relocation to openspec/changes/archive/2026-09-15-add-declared-former-id/; promotion of the 31 declared scenarios into openspec/specs/release-realization/spec.md (canon 48 → 76 scenarios = +28 new, 3 already standing; 11 → 14 requirements; per-requirement 7/8/10/6 exactly as declared; all four requirement blocks sha256-identical between the packet delta and canon; the three pre-existing Origin retention at archive scenarios carried verbatim); README OpenSpec Records row retired to the archived ledger; origin retained
f127e5da, aa9d089f conflict-free merges of main (e5896455, then cb2d3a2c; both README edits verified kept)
fc508ebe the four #TBD-carry-forward placeholders filled with #1061, the carry-forward issue filed by the orchestrator on the archive word (README row, archived tasks.md § 4.5 and § 7.1, archived review/ratification-2026-09-13.md)

A second commit follows on this PR's own number: validate-sequenced-after.py . --seed-ledger --moved-by '#<this PR>' (one ledger row active → archived; MOVED_BY must be a real PR number, so it could not precede the PR — the same sequence as #1042's archive).

§ 4.5 — ticked as a disposition, NOT performed, and carried forward

former-id-arrival-gate is a dedicated workflow that runs on every pull request and is named by no branch ruleset (live read at the archive act: three required_status_checks rules on main, the literal occurs 0 times). Registering it is Brett Heap's console act, ruled "Dedicated required check" and, at the archive, "Not yet; leave the canary parked". The obligation now lives in #1061, with the console sequence, the parked canary (brief-4-5-canary.md + canary-4-5.patch, re-verified to apply clean at cb2d3a2c), and the named collateral. Until performed, the gate refuses no landing — the packet and canon say so plainly; the archive is lawful because the requirement reaches canon meeting its own degraded case, not because the act was done.

Validation (fresh clone, origin/main = cb2d3a2c, at aa9d089f; fc508ebe differs by exactly the four placeholder lines)

# command verdict
1 OPENSPEC_TELEMETRY=0 openspec validate --all --strict PASS — 105 passed / 2 failed; the same two pre-existing failures (add-chain-attestation, add-composed-view-authoring), byte-identical in a control clone at main; 108 → 107 items is the one-fewer-active-change
2 python3 -m pytest tests/proposal-support tests/sequenced_after tests/doc-health -q 3 failed / 2306 passed, one cause: the sequenced_after ledger row for this change reads active while the tree says archived — resolved by the second commit (control: 2309 passed)
3 python3 scripts/proposal-support.py . verify PASS
4 python3 scripts/validate-sequenced-after.py . PASS, incl. archive-date-vs-commit agreement passed
5 python3 scripts/validate-former-id-arrival.py . --base origin/main --head HEAD PASS — see below
6 python3 scripts/doc-health.py --single-repo . on the archive clone and a same-kind control clone PASS — 87 = 87 findings (critical 31 / error 6 / info 22 / warning 28), finding-line diff EMPTY

Validator 5 is the first real archive relocation through the gate this very packet built, and it is excepted by id, verbatim:

former-id arrival gate: 2 commit(s) of `cb2d3a2c24e9..aa9d089fc300` judged (2 merge commit(s) skipped: a merge performs no move of its own, and every move one carries is either in this same range under its own author or already on the base branch).
  moves paired: 1 packet-directory move(s) — 1 archive relocation(s) excepted by id, 0 packet-directory move(s) whose source identity has never declared `Status: ratified`.
  corpus sweep: 45 active and 169 archived packet(s) read for their `former_ids:` declaration, their standing ids and the ownership of every identity claimed.
former-id arrival gate passed (every packet-directory move in range is a draft's, an archive relocation, or declared).

Checkout note for reproducers: git submodule update --init --recursive (openXdox nests code/ and spec/; without them seven tests/doc-health tests fail with the checker's own message).

Full evidence brief: brett-wip:handoffs/xFactory/attachments/openxfactory-1-2026-09-13/brief-archive.md (bundle archive-prep-aa9d089f.bundle beside it).

refs #1003
refs #1053
refs #1061

🤖 Generated with Claude Code

Summary by Sourcery

Archive add-declared-former-id after recording its merged-and-green realization and promoting its requirements into the release-realization canon.

New Features:

  • Promote former-identity tracking, fail-closed rename-arrival enforcement, and identity-based packet reference resolution into the canonical release-realization specification.

Bug Fixes:

  • Preserve ratification baselines and packet references across declared renames and archive relocations instead of relying on historical paths.

Enhancements:

  • Archive the completed add-declared-former-id change with its realization evidence, dispositions, and carry-forward for the outstanding required-check registration.
  • Record the change as archived in the sequenced-after corpus ledger and update the README and review/task records with its archival status and provenance.

Documentation:

  • Update the README, ratification record, and task record to document the archived change, realization evidence, outstanding operator action, and carry-forward issue.

Brett Heap and others added 5 commits September 15, 2026 23:38
…rmed, § 6 is not taken, § 7 is this archive

THE ARCHIVE GATE FORCES EVERY BOX TO `[x]` AND THAT IS WHY THE DISPOSITIONS ARE
WRITTEN, NOT WHY THE BOXES ARE CLAIMED DONE. `archive_change()` refuses any
`tasks.md` line matching `^- [ ]` with `change has incomplete tasks`
(`scripts/proposal-support.py:4607-4610`) and carries no per-section exception,
so a box left open refuses the archive the same ruling authorises. Brett Heap
ruled the shape at 2026-09-15T19:00Z, verbatim "Yes, with disposition +
carry-forward issue" (issue #1003, issuecomment-5686436893). No exception to
that gate is built here and none is claimed.

THREE CLASSES OF TICK, NAMED IN THE HEADER SO NO READER HAS TO INFER THEM.

NOT PERFORMED — § 4.5. The console act is outstanding. Re-read LIVE at the
archive, 2026-09-15T23:35:31Z: GET /repos/opensoft/openxFactory/rules/branches/main
returns three required_status_checks rules — 21957695
{signed-execution-chain-gate, lane-line}, 22551797 {openspec-cli-pin}, 21538893
{wallet-validation, pytest-suite, lane-line, release-tag-gate} — and the literal
`former-id-arrival-gate` occurs 0 times in that response. The obligation is
carried forward at openxFactory#TBD-carry-forward, the placeholder the
orchestrator fills when it files the issue; that is the
add-signed-execution-chain shape, whose own § 4.5 was carried at issue #534
filed 2026-08-31 at its archive. What the packet confers meanwhile is said
plainly: the gate RUNS on every pull request and REFUSES NO LANDING.

NOT TAKEN — § 6.1 through § 6.5, each dispositioned where it stands. § 6.1's
successor is FILED as openxFactory #1053 (2026-09-15T21:24:40Z, a routing
record, unclaimed) on the word "File it after #1041 lands" — the box's own
instruction is discharged, the sweep is not. § 6.2 was taken elsewhere, PR #1027
→ 04340d7. § 6.3 stays an open governance
question with no successor filed. § 6.4's line is pinned by
test_a_grafted_boundary_takes_no_refusal rather than left as prose. § 6.5 held
through every slice, with a SPY fixture proving the resolver is never asked
about a cross-repository referent.

PERFORMED — § 7.1 and § 7.2. § 7.1 is the archive act this pull request carries.
§ 7.2 records the ACTUAL close: #1003 closed 2026-09-15T21:24:38Z, state_reason
completed, by brettheap at 21:24:39Z, eleven seconds after slice 6's merge
79ac94b, on his word "Close when #1041 lands" — EARLIER than that box's own
first sentence put it. The departure is recorded rather than reconciled, and
nothing on this packet's branches ever carried a closing keyword against #1003.

THE REALIZATION EVIDENCE IS WRITTEN WHERE IT SURVIVES THE PULL REQUEST, in an
## Addendum appended to review/ratification-2026-09-13.md after everything it
already said, nothing above it edited. It carries the four merges by number and
sha, and the honest reading of the green runs: only 701c8fd has a decided green
pytest-suite run of its own (34897189477); 8f39375, 92d519b and 79ac94b were
each CANCELLED by the next landing, the workflow's concurrency group being
pytest-suite-${{ github.ref }} with cancel-in-progress: true. #1037 and #1041
close on their pull requests' own green runs at merge refs measured TREE-EQUAL
to the merge commits (34ab52f → 1ee37ec = 8f39375^{tree}; 018aa2e → cce4586
= 79ac94b^{tree}). #1039 DOES NOT: its merge ref a7fc93e was built on 7434837
before #1037 landed, tree bd31888 against 92d519b's 8857c32, so that run is
not offered as evidence at this merge's tree. What stands behind it instead is
main's own next decided run 35014513335 at 8944758 (92d519b's first-parent
child; slice 4's whole surface byte-identical between the two trees) and main's
newest decided run 35026939157 at b3a7553, which has all four merges as
ancestors.

Placeholders this commit deliberately leaves for the orchestrator:
openxFactory#TBD-carry-forward, <ARCHIVE-WORD-DATE>, <ARCHIVE-WORD-VERBATIM>,
<ARCHIVE-WORD-URL>.

Lane: openxfactory-1
Refs #1003.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
…vidence; thirty-one scenarios reach canon

THE ACT, AND THE TOOL THAT PERFORMED IT. `python3 scripts/proposal-support.py .
archive add-declared-former-id --yes` — never a bare `openspec archive`, and no
bypass flag exists to have used. Its three pre-gates, measured at the commit
before this one:

  origin gate (strict)      -> no errors
  origin retention          -> ORIGIN RETAINED add-declared-former-id
                               (declaration unchanged since the ratifying
                                commit 2c75d82)
  incomplete tasks          -> 0 open boxes

and measured on origin/main, BEFORE the tick commit, the same gate refuses
`change has incomplete tasks` on EIGHT boxes: 4.5, 6.1, 6.2, 6.3, 6.4, 6.5,
7.1 and 7.2. That refusal is the mechanism `tasks.md` § 7.1 names, and the
tick commit satisfies it with dispositions rather than with an exception.

WHY IT MAY ARCHIVE NOW. `code_surface: openxFactory` is non-empty, so under
`release-realization`'s *Realization archive gate* it archives on
merged-plus-green realization evidence: PR #1038 -> 701c8fd (slices 1-3),
PR #1037 -> 8f39375 (slice 5), PR #1039 -> 92d519b (slice 4) and PR #1041 ->
79ac94b (slice 6), all on `main`. The green-run half is written out honestly
in the archived `review/ratification-2026-09-13.md` addendum and in the README
entry: only 701c8fd carries a decided green `pytest-suite` run of its own
(34897189477); the other three were CANCELLED by the next landing, the
workflow's concurrency group being `pytest-suite-${{ github.ref }}` with
`cancel-in-progress: true`. #1037 and #1041 close on their pull requests' own
green runs at merge refs measured TREE-EQUAL to the merge commits; #1039 does
NOT and is not claimed to — its merge ref predates #1037's landing — and what
stands behind it is main's own next decided green run 35014513335 at 8944758
and main's newest decided green run 35026939157 at b3a7553, which has all four
merges as ancestors.

THE PROMOTION, MEASURED RATHER THAN ASSERTED. One `## MODIFIED` and three
`## ADDED` requirements into openspec/specs/release-realization/spec.md,
THIRTY-ONE scenarios (7 + 8 + 10 + 6). Canon `--numstat` is +352 -0 — A PURE
INSERTION, which is D5's own claim proved rather than restated: *Origin
retention at archive* carries every promoted sentence and all three promoted
scenarios verbatim and only adds, so nothing could be silently dropped. Each
block is byte-identical between the archived delta and canon: *Origin retention
at archive* 5,944 bytes sha256 cf633d606db7f08c…; *A moved packet declares the
identity it was ratified under* 6,574 bytes 88c1b0352afe3a1c…; *An undeclared
rename arrival is refused at its landing* 7,901 bytes 1ee95c2e459552b4…; *A
packet reference resolves by identity, not by path* 4,879 bytes
24312b4fa514f8db….

README: the active bullet retired, the archived-ledger entry added newest-first
with the evidence, the § 4.5 disposition and the carry-forward placeholder.

THIS IS THE FIRST REAL ARCHIVE JUDGED BY THE GATE THIS PACKET BUILT. § 4.3
excepts `openspec/changes/<id>/` -> `openspec/changes/archive/<YYYY-MM-DD>-<id>/`
BY ID and not by path shape, and this relocation is the live proof of it.

WHAT THIS COMMIT DOES NOT DO. It does not seed the per-change sweep ledger:
`--moved-by` must be a real pull-request reference and this branch has no pull
request yet, so `tests/sequenced_after/corpus-ledger.yaml` still reads
`state: active` for this change and `--ledger-diff` reports four findings (one
stale row, three derived totals). The repair is one command once the number
exists — `python3 scripts/validate-sequenced-after.py . --seed-ledger
--moved-by '#<n>'` — and it belongs to the commit that can name it, exactly as
PR #1042's second commit did. The plain `validate-sequenced-after.py .` gate
passes at this commit, including `archive-date-vs-commit`.

Placeholders left for the orchestrator, here and in the archived packet:
openxFactory#TBD-carry-forward, #TBD-archive-pr, <ARCHIVE-WORD-DATE>,
<ARCHIVE-WORD-VERBATIM>, <ARCHIVE-WORD-URL>.

Lane: openxfactory-1
Refs #1003.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Brings the archive branch up to main's e589645 (README openDox
cutover-runbook row: 2406 declared edit lines) before validation.
README.md auto-merged with no conflict: main's edit is one line in the
core-docs list near the top; this branch's edits remove the
add-declared-former-id active-change row and add its archived row far
below. Both edits are kept.

Lane: openxfactory-1
Co-Authored-By: Claude Fable 5.1 <[email protected]>
…2d3a2)

Brings the archive branch to main's cb2d3a2 — PR #1049, which splits the
doc-health pinned-arm containment remedy by refusal code and touches
scripts/doc_health/families.py plus two of its tests. No conflict: the
branch touches none of those three files. Merged before the doc-health
archive-vs-control comparison so both clones read the same checker.

Lane: openxfactory-1
Co-Authored-By: Claude Fable 5.1 <[email protected]>
…archive word

Brett Heap, 2026-09-16T12:4xZ, on the presented archive at aa9d089: "archive it, open the PR". The carry-forward issue for § 4.5 (make former-id-arrival-gate a required check) is #1061; its number replaces the four #TBD-carry-forward placeholders the archive commit left for exactly this act (README OpenSpec Records row, archived tasks.md § 4.5 and § 7.1, archived review/ratification-2026-09-13.md).

Lane: openxfactory-1

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Copilot AI lite review requested due to automatic review settings September 16, 2026 12:49

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Sorry @brettheap, you've used your own review budget of 250,000 diff characters for the last 7 days.

You can request another review in 1 day and 14 hours by commenting @sourcery-ai review. Upgrade to get a review now.

@sourcery-ai

sourcery-ai Bot commented Sep 16, 2026

Copy link
Copy Markdown

Reviewer's Guide

This PR archives add-declared-former-id by relocating its packet, updating governance records and task dispositions, and promoting 31 realization scenarios into the canonical release-realization specification. Review the evidence chain for the four merged slices and CI fallback coverage, then verify that the canonical requirement blocks match the archived packet delta and that the intentionally unperformed required-check registration is clearly carried forward to #1061.

Sequence diagram for archive evidence and carry-forward

sequenceDiagram
    participant Main as main
    participant CI as pytest-suite
    participant Archive as archive_change
    participant Canon as release-realization spec
    participant Issue as openXfactory#1061
    Main->>CI: Run pytest-suite on each landing
    CI-->>Main: Earlier runs cancelled by concurrency
    Main->>CI: Run decided green descendant containing all merges
    CI-->>Main: success
    Main->>Archive: archive add-declared-former-id
    Archive->>Archive: validate-former-id-arrival.py
    Archive->>Canon: Promote 31 declared scenarios
    Canon-->>Archive: Requirement blocks match packet delta
    Archive->>Issue: Carry forward unperformed required-check registration
    Archive-->>Archive: Relocate packet to archived path
Loading

Flow diagram for merged-plus-green archive realization

flowchart LR
    P[Four realization PRs #1038 #1037 #1039 #1041] --> M[Four merge commits on main]
    M --> C{Decided green pytest-suite evidence}
    C -->|Direct green run| G1[Run 34897189477]
    C -->|Later main descendant contains merge| G2[Runs 35014513335 and 35026939157]
    C --> A[All merges verified as ancestors of green main trees]
    G1 --> E[Merged-plus-green realization established]
    G2 --> E
    A --> E
    E --> R[archive_change relocation]
    R --> S[Archive packet and promote 31 scenarios into canon]
Loading

File-Level Changes

Change Details Files
Archived the ratified change packet after recording merged-plus-green realization evidence and the separate archive authorization.
  • Recorded the four realization PRs, merge commits, CI coverage, tree-equivalence checks, and the degraded fallback for cancelled main runs.
  • Moved the packet into the dated archive and updated README active/archive ledgers with provenance and carry-forward references.
  • Completed the archive tasks with explicit performed, not-taken, and not-performed dispositions; carried the outstanding required-check operator action to Carried forward from add-declared-former-id's archive: § 4.5 make former-id-arrival-gate a required check #1061.
  • Preserved ratification history and appended an archive addendum documenting the realization and archive word.
README.md
openspec/changes/archive/2026-09-15-add-declared-former-id/review/ratification-2026-09-13.md
openspec/changes/archive/2026-09-15-add-declared-former-id/tasks.md
Promoted the packet's former-identity and archive-realization requirements into the canonical release-realization specification.
  • Added identity-based ratification baseline resolution across current and declared former IDs, with fail-closed unreadable-history and ambiguity handling.
  • Added append-only former_ids declarations, move-validation rules, ownership checks, and explicit archive-relocation exceptions.
  • Added landing refusal rules for undeclared renames, lineage preservation, and fail-closed arrival and ratification lookups.
  • Added identity-based packet-reference resolution for active, archived, and former identities, including missing-file and ambiguity reporting scenarios.
openspec/specs/release-realization/spec.md

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

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

Unresolved critical and moderate findings remain in archive provenance, task evidence, ledger state, and proposal status.

Get a fresh assessment by requesting another Copilot review.

Pull request overview

Archives add-declared-former-id, promotes its realized requirements into the canonical specification, and records lifecycle evidence.

Changes:

  • Archives the OpenSpec packet and updates lifecycle records.
  • Promotes four requirements and 31 scenarios into canon.
  • Preserves evidence, dispositions, and carry-forward work.
File summaries
File Summary
README.md Critical (3 votes): Archive provenance placeholders remain unresolved.
openspec/specs/release-realization/spec.md Promotes the realized requirements.
openspec/changes/archive/2026-09-15-add-declared-former-id/tasks.md Moderate (1 vote): §7.1 lacks qualifying per-merge evidence or an amended fallback condition. Critical (1 vote): The sequencing ledger still records the change as active.
openspec/changes/archive/2026-09-15-add-declared-former-id/specs/release-realization/spec.md Preserves the archived specification delta.
openspec/changes/archive/2026-09-15-add-declared-former-id/review/ratification-2026-09-13.md Nit (3 votes): Archive-word date, text, and URL placeholders remain unresolved.
openspec/changes/archive/2026-09-15-add-declared-former-id/proposal.md Moderate (1 vote): Contradictory status says issue #1003 remains open.
openspec/changes/archive/2026-09-15-add-declared-former-id/design.md Preserves design decisions and measurements.
openspec/changes/archive/2026-09-15-add-declared-former-id/.openspec.yaml Preserves packet metadata and provenance.
Review details

Suppressed comments (4)

README.md:3263

  • The archive row is present, but tests/sequenced_after/corpus-ledger.yaml:94 still records add-declared-former-id as state: active with moved_by: "#1028". The ledger validator treats this as stale after the packet moved to openspec/changes/archive/..., so this PR will fail its own sequencing validation unless the ledger is re-seeded with the archive PR and archive date.
- [add-declared-former-id](openspec/changes/archive/2026-09-15-add-declared-former-id/proposal.md)
  — **ARCHIVED 2026-09-15** by
  [PR #TBD-archive-pr](https://github.com/opensoft/openxFactory/pull/TBD-archive-pr),
  on Brett Heap's **SEPARATE ARCHIVE WORD** — verbatim
  *"<ARCHIVE-WORD-VERBATIM>"*, <ARCHIVE-WORD-DATE>, recorded at
  <ARCHIVE-WORD-URL> — a different word from the ratification of
  2026-09-13T22:48Z (*"ratify 1028 as encoded"*, PR
  [#1028](https://github.com/opensoft/openxFactory/pull/1028) → `28ad27af`) and
  from every realization merge, exactly as `tasks.md` § 7.1 requires.

openspec/changes/archive/2026-09-15-add-declared-former-id/review/ratification-2026-09-13.md:351

  • The archived ratification addendum likewise leaves <ARCHIVE-WORD-DATE>, <ARCHIVE-WORD-VERBATIM>, and <ARCHIVE-WORD-URL> unresolved. This file is the evidence record for the separate archive word, so the archive cannot be considered fully recorded until these tokens are replaced with the actual authorization.
    openspec/changes/archive/2026-09-15-add-declared-former-id/tasks.md:906
  • § 7.1 is now ticked as performed, but its own acceptance text still explicitly requires a green pytest-suite run ON EACH MERGE COMMIT. The evidence recorded below says the runs for #1037, #1039, and #1041 were cancelled and substitutes PR/descendant runs, so the checkbox does not satisfy the packet's stated archive condition. Either record qualifying per-merge evidence or amend the condition to explicitly authorize this fallback before ticking it.
    openspec/changes/archive/2026-09-15-add-declared-former-id/tasks.md:906
  • This archive tick also leaves the machine-derived sequencing ledger inconsistent: tests/sequenced_after/corpus-ledger.yaml:94 still records add-declared-former-id as state: active with moved_by: "#1028". Because the archive changes the corpus state, the ledger must be reseeded in this PR or the claimed archive will continue to fail the sequencing sweep.
  • Files reviewed: 4/8 changed files
  • Comments generated: 1
  • Review effort level: Lite

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

Comment thread README.md Resolved
@brettheap

Copy link
Copy Markdown
Contributor Author

@codex review

Copilot AI review requested due to automatic review settings September 16, 2026 12:56
…s number (#1064)

validate-sequenced-after.py . --seed-ledger --moved-by '#1064': 214 rows, one moved (active → archived, moved_on 2026-09-15 from the archive directory). MOVED_BY must be a real PR number, so this commit could not precede the PR — the same sequence as #1042's archive (8944758). At this commit, in the fresh clone: pytest tests/proposal-support tests/sequenced_after tests/doc-health → 2309 passed, 288 subtests passed; validate-sequenced-after . → archive-date agreement passed, archive-date-vs-commit agreement passed.

Lane: openxfactory-1

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

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-1 (openXfactory-1)

Second commit pushed, head now d02253ac: the sweep-ledger row re-seeded with this PR's number (--seed-ledger --moved-by '#1064', 214 rows, one moved). At this head in the fresh clone the pytest trio (tests/proposal-support tests/sequenced_after tests/doc-health) is 2309 passed, 288 subtests passed — the three failures the body's validation table reports under row 2 are resolved, and validate-sequenced-after.py . passes both archive-date agreements. No other file moves in this commit.

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

…s: PR #1064, "archive it, open the PR", 2026-09-16

The archive commit (0b22191) wrote the README archived-ledger entry and the ratification record's THE ARCHIVE WORD paragraph with placeholders for facts that did not exist until the archive PR was opened on the word: the PR number (#1064), the verbatim word (Brett Heap, 2026-09-16 ~12:4xZ, in session to lane openxfactory-1: "archive it, open the PR") and where it is recorded (#1003, issuecomment-5697795401). Filled in both places; nothing else in either file moves. Raised by Copilot's review at fc508eb (README.md:3255/3259).

Lane: openxfactory-1

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

Copy link
Copy Markdown
Contributor Author

@codex review

@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-1 (openXfactory-1)

Third commit pushed, head now b9479d2d: Copilot's one thread at fc508ebe taken — the archive commit's placeholders for the archive PR number, the verbatim archive word and its record URL are filled in the README archived-ledger entry and in the archived review/ratification-2026-09-13.md (THE ARCHIVE WORD paragraph); no other line moves. Thread replied to and resolved. Review budgets, stated for the record: Codex answered the first request at d02253ac with its usage-limit notice (re-requested above at this head); Sourcery reports its 7-day diff budget spent (next review possible in ~1d14h). Copilot's auto-review is the review this head will get; the six required checks decide the freeze.

@chatgpt-codex-connector

Copy link
Copy Markdown

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

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🔵 Needs a closer look

Archive-word placeholders and the related date inconsistency remain unresolved in the persisted evidence.

Review details

Suppressed comments (3)

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

openspec/changes/archive/2026-09-15-add-declared-former-id/review/ratification-2026-09-13.md:351

  • The ratification addendum likewise leaves the archive word as literal placeholders, making this persisted evidence incomplete and inconsistent with the actual archive act. Record #1064's separate word and its issue comment here instead of committing <ARCHIVE-WORD-DATE>, <ARCHIVE-WORD-VERBATIM>, and <ARCHIVE-WORD-URL>.
    README.md:3260
  • This archived ledger entry still commits TBD/<ARCHIVE-...> placeholders, so it does not identify the archive PR or preserve the separate archive-word evidence. The archive record is already #1064 with word "archive it, open the PR" and issue comment 5697795401; replace these placeholders before landing.

openspec/changes/archive/2026-09-15-add-declared-former-id/review/ratification-2026-09-13.md:248

  • The addendum heading dates the separate archive word as 2026-09-15, but the recorded archive-word receipt is 2026-09-16T12:4xZ. Once the placeholders are filled, this heading will contradict the evidence in the same record; update it to the word's date or explicitly label it as the archive-act date.
  • Files reviewed: 5/9 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

Copilot AI review requested due to automatic review settings September 16, 2026 13:01
@sonarqubecloud

Copy link
Copy Markdown

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 specification archive and deferred required-check follow-up warrant final human review.

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

@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-1 (openXfactory-1)

FREEZE at b9479d2d. The six required checks are green on this head (lane-line, openspec-cli-pin, pytest-suite run 35099043568, release-tag-gate, signed-execution-chain-gate, wallet-validation), plus former-id-arrival-gate, clearing-dispatch-gate, merge-master-approval, openreposhape-pin and SonarCloud; zero unresolved review threads. Landing under Rule 6 on Brett Heap's word, verbatim "land it when pytest is green" (2026-09-16T13:0xZ, in session to lane openxfactory-1; RULED line in the lane log). LANDING and LANDED lines follow.

@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-1 (openXfactory-1)

LANDING — lane openxfactory-1, session 393ade52-a921-4dd9-9dc5-224ebc056651@Eagle, 2026-09-16T13:21:02Z, PR #1064 into opensoft/openxFactory main

Guard at 2026-09-16T13:21:05Z on head b9479d2d9bb72b70d72ae9b2f7a6f10e3a83d19e: six required checks SUCCESS (lane-line, openspec-cli-pin, pytest-suite, release-tag-gate, signed-execution-chain-gate, wallet-validation); closingIssuesReferences = []; 0 unresolved threads; main's newest decided pytest-suite = success; no other-lane open LANDING into opensoft/openxFactory main (who --landing). mergeStateStatus BLOCKED = the code-owner-review ruleset that never clears on the author's own account; admin merge on Brett Heap's recorded word (ARCHIVED add-declared-former-id on merged-plus-green realization evidence; Brett Heap 2026-09-16 archive it, open the PR; land it when pytest is green). Merge = merge commit.

@brettheap
brettheap merged commit c7daca4 into main Sep 16, 2026
14 checks passed
@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-1 (openXfactory-1)

LANDED — lane openxfactory-1, session 393ade52-a921-4dd9-9dc5-224ebc056651@Eagle, 2026-09-16T13:21:14Z, PR #1064 into opensoft/openxFactory main → c7daca4

brettheap added a commit that referenced this pull request Sep 16, 2026
… kept, newest first

`main` advanced to `a499061e` while this stack was open (#1031's pre-existing
`openxdox_code` row annotations, and #1064's archive of `add-declared-former-id`
before it). The only conflict is the one the lane's own rule predicts: two
closures adding an entry at the top of README's "Archived changes:" block.

Resolved by keeping BOTH in the block's newest-first order — this closure's
entry (2026-09-16) above `add-declared-former-id`'s (2026-09-15) — with no byte
of either edited. The sweep ledger auto-merged: the two rows are different keys.

Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 16, 2026
`origin/main` moved twelve commits since the eighth re-measurement, one of
them PR #1064 archiving `add-declared-former-id`, so the merge is taken here
and the re-measurement WITH it.

  $ python3 scripts/validate-code-surface.py .     # exit 0
  code_surface: 45 active proposals, 45 declaring — 4 `none`, 33 a repository
  list, 8 named by the register, 0 outside the grammar.
    archive (read, never judged): 169 proposals, 123 declaring, 3 of them
    outside the grammar.
  $ python3 scripts/validate-scope-globs.py .      # exit 0

THE SECOND RE-MEASUREMENT AT WHICH THE ACTIVE CORPUS SHRANK, and a
measurement rather than an inference: `git diff --name-status
3c614d3..b1df95e -- 'openspec/changes/*/proposal.md'` is exactly one
`R100` — `add-declared-former-id` moving to
`archive/2026-09-15-add-declared-former-id/` on its merged-plus-green
realization evidence (#1064). That carrier CONFORMS — it was one of the 34,
which is where the 33 comes from — and is NOT one of the eight, so no carrier
arrived, NO ENTRY WENT STALE (`scan().stale` is empty) and the register
stands at EIGHT untouched. The other eleven commits are PR #1064's own seven
internal commits plus three that reached `main` directly while it was in
flight (#1025, #1049, #1031) and this lane's own #1044; none besides the one
`R100` touches `gate-code-surface-declarations/`, `code_surface.py` or
`code-surface-register.yaml`, and the merge resolved ZERO conflicts. The arm
the sixth exercised once now answers a second time the same way: an
archiving packet makes its entry stale only if it has one, and this one, like
the sixth's, was never registered.

Recorded in the three places the packet keeps this — `tasks.md` § 3's
transcript, `CLOSED_REGISTER`'s provenance comment and this register's
header — and the eighth's "as this transcript/file stands" is demoted to "at
that re-measurement" in the same edit, since a clause that means "latest" has
to move every time the latest does.

tests/code_surface 153, tests/scope_globs 99, tests/target_release 96, 348
for the three suites, all unchanged by the merge.

Lane: openxfactory-5 (openXfactory-5)
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 16, 2026
…own (task 5.3, RULING R-4) (#1059)

`split-opendox-two-layer-product` task 5.3, authored under RULING R-4 (Brett
Heap, `#656` comment `5690428146`, 2026-09-16, by
interactive multi-choice): "the box means a NEW `openxdox-consumer-gate.yml` in
openxFactory on the `openxwallet-consumer-gate` shape; 'retaining the job id'
is discharged by leaving `pytest-suite` untouched (no dashboard-named workflow
ever existed here)." CLAIM `5690508527`. `pytest-suite.yml` is byte-untouched;
`tasks.md` is not touched either — amendment #4 owns the tick.

THE HOLE THIS FILLS WAS NAMED IN THE TREE, BY THE TREE, IN THREE PLACES:
`pytest-suite.yml`'s own comment ("THIS IS NOT THE TASK 5.3 CONSUMER GATE …
that gate is Phase 5's, is unwritten, and stays named as owed") and both pin
files' `verify_pin:` comments. Measured at `cb2d3a2c`, before this branch:
`grep -rn 'verify-opendox-pin\|verify-openxdox-pin' .github/` returned exactly
one line — that comment. NEITHER VERIFIER WAS INVOKED BY ANY WORKFLOW.

WHAT THE GATE RUNS, in this order: `scripts/verify-openxdox-pin.py` (the elder
pin, RULING F), then `scripts/verify-opendox-pin.py` (the second direct
upstream, RULED Q7, whose check 5 reads openXdox's OWN derived
`contracts/opendox-pin.yaml` as a git blob at the gitlinked commit and refuses
`opendox-pin-lockstep-mismatch`), then the verifiers' own suites
(`tests/opendox_pin` + `tests/openxdox_pin`), then the consumer suite
(`tests/ideation-dashboard`) — the surface the § 5.2 shed left reaching INTO
both pinned legs through `scripts/carved_reach.py`, measured here at 42 files
and 207 helper sites (on this branch's tree, before #1032 moved that surface).
A pin whose bytes verify while the code that consumes them cannot import is a
green check that proved half its claim. The gate fails closed: if either
gitlink cannot be read the init errors and the verifiers never run.

TWO DEPARTURES FROM THE WALLET SHAPE, both forced and both stated. (a) The
init is `--recursive`, because `carved_reach.install()` needs `openDox/code/
src` AND `openXdox/code/src` on disk and refuses rather than degrading; the
SCOPING the wallet gate asserts is kept exactly (two gitlinks, no
`submodules: true`, `openXwallet` and `installs/omnigent-install` left alone).
(b) The checkout lands at `openxFactory/`: `human_seen.find_cross_reference_
validator` walks for an `openxFactory/`-shaped ancestor and answers None at the
workspace root, turning thirteen assertions into skips. Measured both ways at
`cb2d3a2c` — `tests=1137 skipped=13` root-shaped against `tests=1137 skipped=0`
aggregation-shaped, IDENTICAL SELECTION either way, because `skipif` marks a
collected test rather than uncollecting it. A floor on selected cannot see
that, which is why every pin here is an EXACT skipped count as well.

EVERY SUITE IS FOLLOWED BY A POSITIVE ASSERTION OVER ITS OWN JUNIT REPORT,
because every step here can go green having adjudicated nothing: floors that
may only rise (105/105 and 1137/1137), an exact skipped count (0 and 0), zero
failures, zero errors, and FIVE NAMED VERDICTS for the cases that cannot pass
unless the pinned trees are really on disk — a count is a sum, and a sum cannot
tell a case that stopped running from one that started. The two assertion
bodies are byte-identical by test, GitHub Actions having no YAML anchor: the
RULE is written once, the PINS twice.

AND THE ADJUDICATOR IS EXECUTED BY THE REQUIRED SUITE, NOT MERELY READ.
`tests/openxdox_consumer_gate/` carries 74 tests in two modules — the
invocation pins (shape, order, literal `MEASURED_PINS`, watched names that must
resolve to real tests, no minted credential, a hash-pinned sdist-refusing
install) and an adjudicator suite that EXTRACTS the shipped assertion body from
the workflow and runs it over synthesized JUnit reports: absent, skipped and
failing watched cases refused while the aggregates still read perfect; the
root-shaped 13 refused; floors, failures and errors refused; multi-suite and
single-suite roots summed; unparseable and missing reports failing the step.
Proved both ways against doctored copies of the body. That module reads the
workflow LAZILY and parametrizes over report NAMES: a module-level read that
raised would be a collection error, and a collection error interrupts the whole
required run rather than failing one file — the same class the invocation suite
documents, which this directory must not re-ship.

THE GATE IS ADVISORY ON THE DAY IT LANDS AND SAYS SO IN ITS HEADER. No ruleset
pins its token; a check is not selectable until a workflow has reported under
it once, so this gate had to run green on a pull request BEFORE an operator
can make it required — and that is a human act on a human-only surface. The
job carries no display name because the job id is the token that operator will
select. Three comments go stale the moment this lands and are registered rather
than edited: `pytest-suite.yml`'s "that gate is Phase 5's, is unwritten, and
stays named as owed" (R-4 discharges the job-id clause BY leaving that file
untouched; the test here pins the TOKEN — still declared there, not declared
here — while the byte-untouchedness is a property of this act's diff), and the
two
`verify_pin:` comments, which stay literally true until the operator pins the
token. All three retire together, in that act.

GREEN ON THE PULL REQUEST'S OWN HEAD, run 35118678267 at `49b79d01`: both pins
verified (`openXdox@a6500141…`, `openDox@3819625e…`, lockstep confirmed), the
two legs and their four nested gitlinks materialized under an anonymous HTTPS
rewrite with `persist-credentials: false`, `pin-suites-report.xml: selected=105
passed=105 skipped=0 failures=0 errors=0`, `consumer-suite-report.xml:
selected=1137 passed=1137 skipped=0 failures=0 errors=0`, and all five named
verdicts `passed`. CI's numbers equal the locally measured aggregation-shaped
ones exactly, and that run tested the CURRENT base rather than a stale one:
every run here checks out `refs/pull/1059/merge`, so the gate adjudicated this
branch merged with the tip of main after #1064, #1031 and #1032 landed —
the last two editing `docs/opendox-carve-manifest.yaml` and
`scripts/carved_reach.py`, which this consumer suite reads through. Four
distinct bases across the review (`cb2d3a2c`, `a499061e`, `b1df95ee`,
`d5dd1ca5`), the pinned counts unchanged on every one.

Nineteen Copilot reviews taken and answered — one per head it saw,
`557cae4c` through `72bdac7f`, measured from the reviews API WITH
pagination; the round numbers below are the finding-bearing ones. Every
thread resolved. Fixed: the
bearer written into the runner's global git config before
pull-request-controlled tests run (now an anonymous rewrite plus
`persist-credentials: false`); a basename collision with the wallet suite that
INTERRUPTED the required run at 2 collected (renamed, and the class pinned by
a scan that reads `python_files` so `*_test.py` counts too); an adjudicator
checked only as YAML text (now executed); floors pinned as shapes rather than
values; the 13 skips misattributed to both validator locators when only the
cross-reference one moves; `verify-opendox-pin.py`'s check 5 called a sixth
check; a stale filename in the header; and — found by re-reading rather than
by review — an inherited "41 test files" node claim true of neither side of
the pin, now measured three ways at FOURTEEN cases in ONE file and pinned by
the watched case's actual dependency rather than by a count; an adjudicator
that treated every unexpected report root as a container of test suites; an
unrefused `continue-on-error`, which marks a non-zero exit successful; a
credential guard that rejected only `secrets.` while `${{ github.token }}`
could come back; a VERDICT walk that read the whole document while the counts
came from the direct `<testsuite>` children alone, so a report could take its
floors from a real suite and its named verdicts from cases that suite never
ran (measured: the previous body exited 0 on such a report with `105/105/0`
and four verdicts `passed`; the scoped body still accepts both REAL CI
reports, pytest writing every case as a direct child of the one `<testsuite>`
it declares); and a credential scan that began at `jobs:`, blind to a
workflow-level `env:` block that Actions hands to every step of every job
; a bearer guard that
matched SUBSTRINGS when an Actions expression spells one value several ways, so
`${{ github['token'] }}`, `${{ secrets['X'] }}` and `${{ github . token }}` all
read as clean (now labelled patterns in both readings, with four parametrized
cases that each assert the previous reading's blindness in their own body); a
watch-presence guard that grepped `def <name>(`, which a docstring or a nested
helper satisfies while pytest collects nothing (now a parsed top-level
`FunctionDef`, proved on a real module); a premise guard that globbed
`*.yml` when Actions loads `.yaml` too (proved by dropping a real
`ideation-dashboard.yaml` in); `next(...)` for "the checkout", which is
the first of however many there are, so a second path-less checkout would have
left every such guard green over a root-shaped tree (now a count asserted
before the path is read, proved by adding that second step); a bearer guard
that enumerated SPELLINGS in a language with syntax — case-sensitive for
`secrets`, and blind to `${{ toJSON(github) }}`, which serializes the whole
context, token included, without naming it (now a structural reading of the
expression: the `secrets` context in any case, the `github` context used as a
value rather than dereferenced, `github.token` however spelled — measured
across eleven forms, and proved not to refuse `${{ github.ref }}` or its
non-secret neighbours); and the adjudicator suite EXECUTING that
pull-request-controlled body with `{**os.environ, **env}` inside the required
job, which `pytest-suite.yml:355-360` has already given a global git config
carrying `${{ github.token }}` — now a minimal environment with an isolated
HOME and `GIT_CONFIG_GLOBAL` at `os.devnull`, with a case that plants the
runner's exact shape and finds none of it in the child — an audit which
then also measured the carve reach here rather than borrowing the shed's
accounting, and stopped the collision docstring quoting a module count that
moves. Answered with the measurement rather
than a change: `tests/ideation-dashboard` IS a zero-skip suite here, because
`is_publisher_checkout(REPO_ROOT)` is true — and its third marker lives inside
the openXdox leg, which is exactly why the exact zero is worth pinning.
SonarCloud's one security finding on new code is fixed: `--only-binary :all:`
beside the hashes, measured at 17 packages, 17 wheels, zero sdists, and the
quality gate green at the landing head. The sixth round independently found
the import-time read this file had already made lazy one commit earlier, which
is the kind of agreement worth recording.

Refs #656 (stays OPEN).

Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Co-Authored-By: Claude Opus 5 (1M context) <[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