Skip to content

Realize add-declared-former-id, slice 6: amend the lifecycle sentence, tick what landed, leave open what is somebody's act - #1041

Merged
brettheap merged 14 commits into
mainfrom
realize/former-id-documents
Sep 15, 2026
Merged

brettheap merged 14 commits into
mainfrom
realize/former-id-documents

Conversation

@brettheap

@brettheap brettheap commented Sep 14, 2026 •

Copy link
Copy Markdown
Contributor

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

SLICE 6 of add-declared-former-id's realization: the documents and the ticks. It realizes no requirement of its own — it makes canon's own prose true, and it writes down what landed. refs #1003, refs #833. No closing keyword against either, tasks.md § 7.2 being explicit that #1003 closes at the archive pull request and on Brett Heap's word alone.

THIS PULL REQUEST TOUCHES openspec/changes/, SO ITS LANDING IS A RULE 6 ACT (lane-collision protocol, Rule 6 as amended 2026-09-03). The landing lane posts LANDING … on this PR and in LANES.md before the merge and LANDED … after; this author posts neither and edits neither — the window and the merge are the orchestrator's, on Brett Heap's word.

The commits (thirteen)

Slices 1–5 are landed facts on main (#1038 → 701c8fde, #1037 → 8f393758, #1039 → 92d519b0). This branch, oldest first:

commit what
1ef15e86 docs/document-lifecycle.md: a ratified change's directory may move now, and what the move declares (§ 5.3)
2bc07e01 the #1027 fixture's division of labour is settled — re-documented, not renamed; ratifying_commit's docstring
3bd846b3 tick slices 1–3 (§§ 2.1–2.3, 2.5, 2.6, 3.1–3.4, 5.3, 5.4)
b8d03394 2caa55af 298c2b22 74883da0 bench rounds on the first freeze (rule vs enforcement said separately; authority named; landing vs archive distinguished)
82f59abe 17fb9bb9 merges of main (92d519b, then 8944758)
44373fc6 tick slices 4 and 5 (§§ 2.4, 4.1–4.4 @ 92d519b0; §§ 5.0–5.2a @ 8f393758) and encode the rulings that close Q1/Q2/Q4
87539f4b amend the packet's README OpenSpec Records row
7811fae5 bench round two: the stale close-condition (§ 7.2) and caller-status seams
b1c6a9e8 bench round three: the archive TICKS § 4.5 with a disposition — it does not leave the box [ ] (archive_change() refuses ^- [ ])

Rulings encoded (Brett Heap, 2026-09-15T19:00Z, by multiple choice; option labels verbatim; recorded on #1003 at issuecomment-5686436893 and issuecomment-5686628685)

§ 5.3 — the sentence, before and after

BEFORE (canon since PR #846):

… so the refusal names a MOVE OR COPY rather than only a rename. Renaming a ratified change is therefore blocked until a change declares a FORMER ID (issue #833, a successor packet); renaming a DRAFT change, and a single commit that renames a draft and ratifies it, are unaffected.

AFTER: a ratified change's directory MAY now move, and the move owes a DECLARATION — the top-level former_ids: list in the packet's own .openspec.yaml, a SIBLING of origin: and never a member of it, naming change IDS and never paths, oldest first, APPEND-ONLY ACROSS COMMITS, the entry added by the COMMIT THAT PERFORMS THE MOVE and the arriving list being the source's list with the source id appended; the archive gate then resolving the baseline across the current identity and every declared former identity and taking the EARLIEST ratification, so a rename is not a way to acquire a later baseline and therefore not a way to launder a mutation; and the UNDECLARED arrival refused at the landing of the commit that performs it. Every clause is the ratified requirement's own. The promoted clause "renaming a DRAFT change, and a single commit that renames a draft and ratifies it, are unaffected" is carried verbatim, and nothing else in that paragraph moves.

AND IT SAYS WHAT THE ESTATE HAS, NOT WHAT IT WILL HAVE (sharpened by Copilot's round, commit b8d03394): the rule and its enforcement are stated SEPARATELY and the claim is dated — as measured 2026-09-14 the arrival gate had not landed on main (§ 4.1–4.4, PR #1039 in flight) and was named by no branch ruleset (§ 4.5), so until both are done an undeclared arrival is refused by the rule and stopped by nothing. Canon states a ratified rule; it implies no protection this estate does not have.

Q4 — RULED: task § 5.3 IS the authority. Brett Heap, 2026-09-15T19:00Z, by multiple choice in lane openxfactory-1's window, option verbatim "Yes, task 5.3 is authority" (recorded at #1003 (comment)): the amendment of docs/document-lifecycle.md (Status: standard) rests on this packet's ratified task § 5.3, which names the sentence; no separate amendment route, not deferred to promotion. Copilot's earlier ask to defer until promotion was refused on measurement (canon carries neither the amended sentence nor the one it replaced) and is settled by the ruling.

§ 5.4 — the dangling-citation population, re-measured

Over every tracked file except openspec/changes/archive/, tests/ and specs/, at main 701c8fde and identically on this branch:

M4 @ 9378eca5 2026-09-14 @ 701c8fde
distinct dangling openspec/changes/<id>/… references 94 104
of which resolve BY ID against the archive 58 64
remainder, unclassified and NOT claimed as defects 36 40

The caveat is carried in the packet and not only here: this is a RE-IMPLEMENTATION of M4's stated recipe, not the authoring script, which was never committed — so the delta is approximately, not exactly, comparable. The figures also move as packets archive. Nothing in the remainder is claimed as a defect; reporting it is § 6.1's successor.

The #1027 fixture — re-documented, deliberately NOT renamed

Slice 4 left this debt by name: it could not edit scripts/proposal-support.py or tests/proposal-support/test_proposal_support.py, a sibling slice holding both, and its own fixture says "The rename is owed, and it is named as owed rather than performed."

What was owed is the DOCUMENTATION, and the rename is refused with a reason. The house convention (2dd54b8e, when #999 closed the single-hop gap) renames a fixture when ITS OWN answer flips — "asserting the walk now raises OriginRetentionError". Nothing flips here: tasks.md § 3.2 ruled that the undeclared refusal stays exactly where it is, so ratifying_commit still returns the late ratification for an undeclared chain and the archive gate is silent on that chain by rule. A fixture named …now_refuses_at_its_landing inside the archive gate's own suite would claim a refusal it does not assert, would duplicate the name slice 4's own fixture already carries, and would dangle the citation slice 4 wrote to this one. So:

  • tests/proposal-support/…::test_an_undeclared_rename_chain_is_the_landing_validators_to_refuse keeps its name and its assertions, and its docstring now states the SETTLED division — this gate silent by rule, the landing gate refusing — and names tests/former_id_arrival/test_former_id_arrival.py's ArrivalRefusalTests.test_an_undeclared_rename_chain_now_refuses_at_its_landing as the fixture that asserts both halves over one tree.
  • ratifying_commit's docstring no longer calls the multi-hop case "A DELIBERATE, OPEN GAP" closed by "the house validator this packet's § 4 builds": it names scripts/former_id_arrival.py and scripts/validate-former-id-arrival.py (former-id-undeclared, exit 1, no bypass flag), points at the arrival fixture, and carries the honest limit that the gate is not yet required.

PR #1039's tests still refer to the same history and the same names; nothing it asserts moves.

The ticks — slices 1–5, and what stays open

Every ticked box cites the reader, the fixtures (each verified to exist on main by name) and the commit + merge sha.

  • Slice 1 (59232b37 → 701c8fde): § 2.1 grammar · § 2.2 sibling property pinned · § 2.3 declared id that still stands refused · § 2.5 append-only across commits · § 2.6 former identity claimed twice refused.
  • Slice 2 (2a9cfbda → 701c8fde): § 3.1 baseline across declared identities · § 3.1a identity that resolves twice refused · § 3.2 undeclared refusal left where it is · § 3.3 the comparison does not move.
  • Slice 3 (5859f053 → 701c8fde): § 3.4 fail closed on every read behind the baseline.
  • Slice 4 (Realize add-declared-former-id, slice 4: refuse the undeclared rename arrival at its landing, never a chain #1039 → 92d519b0): § 2.4 every new entry bound to the move · § 4.1 reader + CLI · § 4.2 undeclared arrival refused, qualified by the source's history · § 4.2a whole declared lineage · § 4.2b arriving list = source list + source id · § 4.2c fail closed on the ratification lookup · § 4.3 archive relocation excepted by id · § 4.4 fail closed on the arrival read.
  • Slice 5 (Resolve a packet reference by identity, and give the resolver its named consumer #1037 → 8f393758): § 5.0 the consumer is named · § 5.1 resolve by identity · § 5.1a both halves · § 5.2 cross-repository out of scope · § 5.2a ambiguous reported, not resolved.
  • Slice 6 (this PR): § 5.3 the lifecycle sentence · § 5.4 the dangling-citation population re-measured.

Open, deliberately: § 4.5 (operator act; disposition beneath it) · §§ 6.1–6.5 (not taken; § 6.1 is the successor filed after landing) · § 7.1 promotion/archive (a later act on a later word; ticks § 4.5 with its disposition) · § 7.2 the governing issue — its wording said "at the archive"; Brett Heap's "Close when #1041 lands" is earlier, and the departure is named in the box rather than papered over.

README

Amended (87539f4b), on the ruling "Amend the row in #1041". The OpenSpec Records row for add-declared-former-id no longer quotes the pre-amendment document-lifecycle sentence in the present tense and no longer says "§ 1 is ticked and §§ 2–7 stay open"; it now states: ratified 2026-09-13; realization slices 1–5 landed (701c8fde, 8f393758, 92d519b0) and slice 6 = this pull request; § 4.5 (operator act) and § 7 (archive) outstanding.

Not done, said plainly

Validators — commands, output, exit codes

Run in a fresh clone at 701c8fde with openDox/openXdox materialized.

$ OPENSPEC_TELEMETRY=0 openspec validate add-declared-former-id --strict
Change 'add-declared-former-id' is valid                                  exit 0

$ OPENSPEC_TELEMETRY=0 openspec validate --all --strict
Totals: 107 passed, 2 failed (109 items)                                  exit 1
  ✗ change/add-chain-attestation        (signed-execution-chain MODIFIED, omitted scenario)
  ✗ change/add-composed-view-authoring  (ideation-dashboard MODIFIED, omitted scenario)
  — THE SAME TWO AS origin/main. No third.

$ python3 -m pytest tests/proposal-support -q
199 passed, 290 subtests passed in 72.21s                                 exit 0

$ python3 -m pytest tests/proposal-support tests/doc-health -q
1941 passed, 7 warnings, 290 subtests passed in 420.61s (0:07:00)         exit 0

$ python3 scripts/proposal-support.py . verify
proposal support verification ok                                          exit 0

$ python3 scripts/proposal-support.py . verify add-declared-former-id
proposal support verification ok                                          exit 0

$ python3 scripts/doc-health.py --single-repo .
Findings: 31 critical, 6 error, 28 warning, 24 info.
New regressions vs previous report: 0.                                    exit 0
  — IDENTICAL finding set to a control run of origin/main built the same way in
    the same clone (diff over every `- severity=` line: empty). The only report
    delta is the canon word count, +211 words under `standard`, which is the
    § 5.3 amendment itself.

$ python3 scripts/validate-sequenced-after.py .
sequenced_after validation passed (47 active changes, 15 declaring the field).
archive-date agreement passed. archive-date-vs-commit agreement passed.    exit 0

Re-run at b1c6a9e8: python3 -m pytest tests/proposal-support -q → 199 passed, 289 subtests, exit 0; OPENSPEC_TELEMETRY=0 openspec validate add-declared-former-id --strict → valid, exit 0.

Bench — round one (four threads, all taken)

Commit b8d03394, then every thread answered in place and RESOLVED; unresolved count now 0 (GraphQL). No Codex review was requested: this is a draft.

  1. docs/document-lifecycle.md — "this branch contains none of the referenced validator … describe it as specified/pending". TAKEN: the sentence names the gate § 4 BUILDS and then dates the two missing halves (not landed; not required).
  2. tasks.md preamble — "says all of §§ 2 and 3 are built, but § 2.4 remains explicitly unchecked". TAKEN: the header now reads "§ 2 EXCEPT § 2.4, AND ALL OF § 3", and says why § 2.4 is slice 4's (it reads a COMMIT RANGE).
  3. scripts/proposal-support.py — "Calling it the validator this packet already realizes makes this production docstring describe a capability unavailable at this commit". TAKEN: the docstring says the gate is a separate landing (PR Realize add-declared-former-id, slice 4: refuse the undeclared rename arrival at its landing, never a chain #1039), that a checkout predating that merge carries this walk and no such validator, and that requiring it is a further act again.
  4. tests/…/test_proposal_support.py — "'So this history can never be created' is only true after registration". TAKEN: the claim is now conditioned on the gate being REQUIRED, and says what does not change either way.

Re-run after the fixes: openspec validate add-declared-former-id --strict valid (exit 0); proposal-support.py . verify add-declared-former-id ok (exit 0); pytest tests/proposal-support -q 199 passed, 290 subtests, 69.00s (exit 0); doc-health.py --single-repo . exit 0, finding set still IDENTICAL to the origin/main control.

🤖 Generated with Claude Code

Bench — rounds two and three

  • Round two (after 44373fc6/87539f4b; Copilot): the § 7.2 close-condition and a caller-status seam were stale against the rulings — TAKEN in 7811fae5.
  • Round three (Copilot, 3 threads): two on the stale description — TAKEN by this rewrite; one on tasks.md § 7.1: the disposition read as "archive with § 4.5 still [ ]", which archive_change() refuses — TAKEN in b1c6a9e8: the archive ticks § 4.5 with the disposition and the carry-forward issue, never leaves it open; no exception to the gate is built or claimed.

Summary by Sourcery

Finalize the documentation and task accounting for the add-declared-former-id realization while preserving the remaining operator and archival work as explicitly open.

Enhancements:

  • Amend the document-lifecycle canon to describe declared former IDs as the mechanism for lawful ratified-directory moves while accurately separating available enforcement from pending ruleset registration.
  • Record the realization status of add-declared-former-id, including landed slices, outstanding operator and archive actions, rulings, and refreshed dangling-reference measurements.
  • Clarify the archive gate’s deliberate handling of undeclared rename chains and document the settled division of responsibility with the landing validator.

Documentation:

  • Update the README record and lifecycle documentation to reflect the realized slices, amended lifecycle rule, outstanding work, and governing issue timing.

Tests:

  • Update proposal-support tests and documentation to capture the settled behavior of undeclared rename chains and their separate landing-gate coverage.

brettheap and others added 3 commits September 14, 2026 21:23
…hat the move declares

`add-declared-former-id` § 5.3, the one task that makes canon's own prose
true. PR #846 left `docs/document-lifecycle.md` saying the act was BLOCKED
and naming the successor that would unblock it; that successor is ratified
(2026-09-13T22:48Z, Brett Heap, verbatim "ratify 1028 as encoded"), so the
sentence must now say what a DECLARED move requires. Nothing else in that
paragraph moves.

BEFORE:

  Renaming a ratified change is therefore blocked until a change declares a
  FORMER ID (issue #833, a successor packet); renaming a DRAFT change, and a
  single commit that renames a draft and ratifies it, are unaffected.

AFTER: a ratified change's directory MAY now move, and the move owes a
DECLARATION — a top-level `former_ids:` list in the packet's own
`.openspec.yaml`, a SIBLING of `origin:` and never a member of it (so a lawful
move is never a mutation of the frozen origin block), naming change IDS and
never paths, oldest first, APPEND-ONLY ACROSS COMMITS, the entry added by the
COMMIT THAT PERFORMS THE MOVE and the arriving list being the source's list
with the source id appended; the archive gate then resolves the baseline
across the current identity and every declared former identity together and
takes the EARLIEST ratification, so a rename is not a way to acquire a later
baseline and therefore not a way to launder a mutation; an UNDECLARED arrival
is refused at the landing of the commit that performs it. Every clause is the
ratified requirement's own — *A moved packet declares the identity it was
ratified under*, the MODIFIED *Origin retention at archive*, and *An
undeclared rename arrival is refused at its landing* — restated in this
document's voice and adding nothing they do not say.

THE PROMOTED CLAUSE IS CARRIED VERBATIM. *"renaming a DRAFT change, and a
single commit that renames a draft and ratifies it, are unaffected"* is the
sentence the packet quotes twice, and it survives this edit word for word.

AND THE SENTENCE SAYS WHAT THE ESTATE ACTUALLY HAS, not what it will have. The
arrival gate (`scripts/validate-former-id-arrival.py`, `former-id-undeclared`,
exit 1, no bypass flag) is realized by this packet's § 4 slice; REGISTERING it
as a required check is § 4.5, an operator act that is OUTSTANDING. Measured
rather than assumed, 2026-09-14: `GET /repos/opensoft/openxFactory/rules/
branches/main` returns three required-status-check rules — `{21957695:
signed-execution-chain-gate, lane-line}`, `{22551797: openspec-cli-pin}`,
`{21538893: wallet-validation, pytest-suite, lane-line, release-tag-gate}` —
and `former-id-arrival-gate` is in none of them. So the amended sentence says
the gate reports and blocks no landing until it is registered, rather than
implying a protection this estate does not have.

Q4 IS OUTSTANDING AND IS NOT HIDDEN. `docs/document-lifecycle.md` carries
`Status: standard` and was ratified by another change (PR #846's). The
authority claimed for this edit is `tasks.md` § 5.3 itself, which commissions
it by quoting the exact sentence, and `proposal.md`'s `code_surface:`, which
names this file. That is the realization plan's recommendation; Brett Heap's
confirmation has not been given and the pull request says so.

Refs #1003, #833.

Lane: openxfactory-1
Co-Authored-By: Claude Fable 5.1 <[email protected]>
…th sides are read

`add-declared-former-id`'s realization leaves one documentation debt behind
it, and this closes it. Slice 4 could not: `scripts/proposal-support.py` and
`tests/proposal-support/test_proposal_support.py` were a sibling slice's
files, and its own fixture says so in as many words — *"The rename is owed,
and it is named as owed rather than performed."* Nothing here changes
behaviour: two docstrings, no assertion, no code path, no test name.

WHAT WAS STALE. Both docstrings described the closure as pending — the
fixture promised *"When that validator lands, this fixture gains its refusal"*
and `ratifying_commit` called the multi-hop case *"A DELIBERATE, OPEN GAP"*
closed by *"the house validator this packet's § 4 builds"*. The validator is
built (slice 4, PR #1039), and what it settled is a DIVISION rather than a
flip.

THE FIXTURE KEEPS ITS ASSERTIONS AND ITS NAME, and the docstring now says
why. `tasks.md` § 3.2 ruled that the undeclared refusal stays exactly where it
is, so `ratifying_commit` still returns the late ratification for an
undeclared chain — deliberately — and the archive gate is SILENT ON THAT CHAIN
BY RULE. The #999 convention (`2dd54b8e`) renames a fixture when ITS OWN
answer flips: `test_an_unratifying_rename_escapes_the_guard_a_stated_gap`
became `test_an_unratifying_rename_now_refuses_the_walk` *"asserting the walk
now raises OriginRetentionError"*. Nothing raises here, so
`test_an_undeclared_rename_chain_is_the_landing_validators_to_refuse` keeps a
name that is true of what it asserts — and it is the name slice 4's own
fixture cites. The refusal has its own fixture over the same history,
`tests/former_id_arrival/test_former_id_arrival.py`'s
`ArrivalRefusalTests.test_an_undeclared_rename_chain_now_refuses_at_its_landing`,
which asserts this gate's silence and that gate's refusal together.

AND THE SCRIPT NAMES THE GATE RATHER THAN A FUTURE ONE.
`ratifying_commit`'s docstring now names `scripts/former_id_arrival.py` and
its CLI `scripts/validate-former-id-arrival.py` (`former-id-undeclared`, exit
1, no bypass flag), points at the arrival fixture beside this one, and states
the honest limit: the gate IS NOT YET A REQUIRED CHECK — `tasks.md` § 4.5 is
an operator act, outstanding on 2026-09-14 against a live read of the branch
rules for `main` — so until it is registered it reports and blocks no landing.

`python3 -m pytest tests/proposal-support -q`: 199 passed, 290 subtests
passed, 72.21s.

Refs #1003, #833, #1027.

Lane: openxfactory-1
Co-Authored-By: Claude Fable 5.1 <[email protected]>
`add-declared-former-id` §§ 2, 3, 5.3 and 5.4. A tick is a claim about what
landed, so every one of them names a commit, a merge and the fixtures that
hold it — `add-signed-execution-chain`'s rule, which is this estate's: a box
closes on a FACT that survives the session, never on an intention and never on
a workflow file standing in for a ruleset state.

TICKED, ALL ON PR #1038, MERGE `701c8fde` (2026-09-14T21:09:31Z):

* § 2.1, 2.2, 2.3, 2.5, 2.6 — slice 1, commit `59232b37`: the grammar and its
  seven refusals (`former_id_problems`), the sibling property pinned by a test
  rather than by a comment, the standing-id refusal, append-only across
  commits, and the ownership sweep. Hardened on the same pull request by
  `30d40c1c`, `cce09fdd`, `018a65d3`, `e6ff63fa`, `fac01b29` and `256fe07a`.
* § 3.1, 3.1a, 3.2, 3.3 — slice 2, commit `2a9cfbda`: `ratifying_baseline`
  resolving across every declared identity and taking the EARLIEST
  ratification, the two-candidate rule refusing CANNOT RUN rather than
  choosing, PR #846's undeclared refusal held exactly where it was, and the
  comparison unmoved with the laundering case pinned.
* § 3.4 — slice 3, commit `5859f053` with `da9297e0`, `ef022a83` and
  `7568c9f1`: presence from the tree, content as a second read, and every read
  that could not be performed raised as CANNOT RUN naming the read and the
  identity it was for.
* § 5.3, § 5.4 — this pull request: commit `1ef15e86` amends
  `docs/document-lifecycle.md`, and the dangling-citation population is
  re-measured on the realization tree and recorded in § 5.4.

LEFT OPEN, EACH WITH ITS OWNER WRITTEN DOWN:

* § 2.4 and § 4.1–4.4 — slice 4, PR #1039, IN FLIGHT. It lands on its own
  word; a tick here would be a claim about a branch.
* § 5.0, 5.1, 5.1a, 5.2, 5.2a — slice 5, PR #1037, IN FLIGHT.
* § 4.5 — **BRETT HEAP'S OPERATOR ACT, OUTSTANDING.** The disposition beneath
  the box names what is owed and what was measured instead: `GET
  /repos/opensoft/openxFactory/rules/branches/main` on 2026-09-14 returns
  `{21957695: signed-execution-chain-gate, lane-line}`, `{22551797:
  openspec-cli-pin}` and `{21538893: wallet-validation, pytest-suite,
  lane-line, release-tag-gate}` — `former-id-arrival-gate` is in none of them,
  so the gate refuses no landing today and the § 5.3 sentence says so.
* §§ 6.1–6.5 — residue, taken nowhere. § 6.1 gains a pointer to § 5.4's
  re-measurement so its successor starts from the current figures; FILING that
  successor, with the sibling search, is a reserved act.
* §§ 7.1, 7.2 — the archive and the closing of #1003, two further acts on two
  further words. Neither is performed or implied here.

THE § 5.4 RE-MEASUREMENT, WITH ITS CAVEAT CARRIED RATHER THAN BURIED. Over
every tracked file except `openspec/changes/archive/`, `tests/` and `specs/`,
at `701c8fde` and identically on this branch: **104** distinct dangling
`openspec/changes/<id>/…` references, **64** of them resolvable BY ID against
the archive, **40** remaining. M4's figures at `9378eca5` were 94 / 58 / 36.
It is a RE-IMPLEMENTATION of M4's stated recipe and not the authoring script,
which was never committed, so the delta is approximately — not exactly —
comparable, and the record says so. Nothing in the remainder is claimed as a
defect.

AND THE FILE'S OWN PREAMBLE IS AMENDED RATHER THAN REWRITTEN.
"§ 1 IS TICKED AND NOTHING ELSE IS" was true when the ratification landed and
is left standing word for word, with an amendment block above it saying what
has happened since — the shape `add-signed-execution-chain` used when its own
§ 4.5 was finally performed.

Refs #1003, #833.

Lane: openxfactory-1
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Copilot AI lite review requested due to automatic review settings September 14, 2026 21:40
@sourcery-ai

sourcery-ai Bot commented Sep 14, 2026

Copy link
Copy Markdown

Reviewer's Guide

This documentation-focused PR amends lifecycle prose, records the landed implementation and remaining operator-owned work for add-declared-former-id, re-measures citation state, and clarifies that undeclared rename arrivals belong to the not-yet-required landing gate rather than the archive resolver; source behavior is unchanged.

Sequence diagram for declared former ID baseline resolution

sequenceDiagram
    participant ArchiveGate
    participant Resolver as ratifying_commit
    participant History as GitHistory
    participant Origin as OriginRetention

    ArchiveGate->>Resolver: ratifying_commit(root, change)
    Resolver->>History: ratifying_baseline(current_id, former_ids)
    History-->>Resolver: earliest ratification identity and path
    Resolver->>Origin: origin_retention_errors(baseline identity)
    Origin-->>Resolver: accept or mutation refusal
    Resolver-->>ArchiveGate: baseline result
Loading

Sequence diagram for undeclared rename arrival validation

sequenceDiagram
    participant Landing as LandingValidator
    participant Arrival as former_id_arrival
    participant CLI as validate-former-id-arrival.py
    participant Rules as BranchRules

    Landing->>Arrival: validate commit arrival
    Arrival->>CLI: run validation
    CLI->>Rules: required check lookup
    Rules-->>CLI: former-id-arrival-gate not registered
    CLI-->>Arrival: former-id-undeclared, exit 1
    Arrival-->>Landing: refusal is reported only when gate is required
Loading

Flow diagram for add-declared-former-id realization status

flowchart TD
    A["Slices 1–3 landed in PR #1038"] --> B["Declaration and archive baseline readers built"]
    B --> C["Documentation and citation figures recorded in slice 6"]
    C --> D{"Required arrival gate registered?"}
    D -->|No| E["§ 4.5 remains Brett Heap's operator act"]
    D -->|Yes| F["Canary validates former-id-undeclared refusal"]
    E --> G["Archive promotion and issue closure remain open"]
    F --> G
Loading

File-Level Changes

Change Details Files
Amend the lifecycle canon to describe declared ratified moves while explicitly documenting that the arrival check is not yet required.
  • Replace the former blanket rename prohibition with the former_ids: declaration, append-only lineage, earliest-baseline, mutation-protection, and undeclared-arrival rules.
  • Preserve the draft-change exception verbatim and state the current unregistered ruleset status.
  • Record that Brett Heap's confirmation of the document amendment remains outstanding.
docs/document-lifecycle.md
openspec/changes/add-declared-former-id/tasks.md
Record the realized implementation state and evidence for slices 1–3 and the document measurements.
  • Tick completed declaration, resolver, archive-gate, and fail-closed-read tasks with landing commits, fixtures, and production-caller ownership.
  • Leave in-flight slices, the operator-owned required-check registration, residue, archive, and issue-closing acts explicitly open.
  • Re-measure dangling citations as 104 total, 64 archive-resolvable, and 40 unclassified, with the recipe-comparison caveat.
openspec/changes/add-declared-former-id/tasks.md
Clarify the settled division between archive-gate behavior and landing-validator behavior for undeclared rename chains.
  • Update ratifying_commit documentation to identify the landing validator and its refusal status while retaining archive-gate silence for undeclared multi-hop history.
  • Explain why the existing fixture keeps its name and assertions, and point to the landing-validator fixture that asserts the refusal.
scripts/proposal-support.py
tests/proposal-support/test_proposal_support.py

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 comments concern incomplete status claims, pending validator references, and lifecycle wording exceptions.

Get a fresh assessment by requesting another Copilot review.

Pull request overview

Documentation-only update to the former-ID realization packet, lifecycle guidance, and related docstrings.

Changes:

  • Records completed slices, measurements, and outstanding work.
  • Updates declared former-ID lifecycle guidance.
  • Clarifies archive behavior and landing-gate status.
File summaries
File Reviewed change
tests/proposal-support/test_proposal_support.py Updates fixture documentation; qualify enforcement claims and the future test reference.
scripts/proposal-support.py Clarifies multi-hop behavior; describe the validator as specified/in flight.
openspec/changes/add-declared-former-id/tasks.md Records progress; correct the header’s claim that all of § 2 is complete.
docs/document-lifecycle.md Updates lifecycle rules; qualify the pending gate and ordinary archive-move exception.
Review details

Suppressed comments (2)

docs/document-lifecycle.md:460

  • The new rule omits the contract's sole exception: relocating an active packet to openspec/changes/archive/<date>-<id>/ with the same id passes without former_ids:. As written, the lifecycle prose suggests the ordinary archive move is an undeclared arrival that must be refused, contradicting release-realization and tasks § 4.3; qualify both the move and refusal as applying to a new change id.
  a MOVE OR COPY rather than only a rename. A ratified change's directory MAY
  now MOVE, and what the move owes is a DECLARATION (`add-declared-former-id`,
  the successor packet issue #833 named; #1003): the arriving packet names the
  id it moved FROM in a top-level `former_ids:` list in its own
  `.openspec.yaml` — a SIBLING of `origin:` and never a member of it, so a

tests/proposal-support/test_proposal_support.py:2027

  • This added cross-reference names tests/former_id_arrival/test_former_id_arrival.py as an existing fixture, but that module is not present in this revision; it belongs to the still-in-flight #1039 slice. If this PR lands first, the docstring points to a nonexistent in-tree test, so make the reference future-tense or land it with the validator.
        keep. The refusal has its OWN fixture, asserting both halves over one
        tree — `ArrivalRefusalTests` in
        `tests/former_id_arrival/test_former_id_arrival.py`, method
        `test_an_undeclared_rename_chain_now_refuses_at_its_landing` — which
        reads this gate's silence and that gate's refusal in the same history.
  • Files reviewed: 4/4 changed files
  • Comments generated: 4
  • 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 docs/document-lifecycle.md Resolved
Comment thread scripts/proposal-support.py Resolved
…this commit does not carry

Copilot's four findings on PR #1041, all four TAKEN. Each is the same defect
seen from four sides: prose written as though slice 4 had already landed.

1. `docs/document-lifecycle.md` (§ 5.3's sentence) presented
   `scripts/validate-former-id-arrival.py` as a gate the reader could run,
   on a tree that carries no such file. The sentence now names the gate as
   the one `add-declared-former-id` § 4 BUILDS and then says the rule and the
   enforcement separately, dated: as measured 2026-09-14 that gate had not
   landed on `main` (§ 4.1–4.4) and was named by no branch ruleset (§ 4.5),
   so until both are done an undeclared arrival is refused by the rule and
   stopped by nothing. Canon now states a rule that is canon and an
   enforcement that is not yet in place, rather than blurring the two.

2. `tasks.md`'s amendment header claimed "§§ 2 AND 3 ARE BUILT" while § 2.4
   stands open three screens below — a top-level claim contradicting the
   boxes. It now reads "§ 2 EXCEPT § 2.4, AND ALL OF § 3", and says why § 2.4
   is slice 4's: it is the one § 2 task that reads a COMMIT RANGE.

3. `ratifying_commit`'s docstring called the arrival gate the validator "this
   packet realizes", on a file where it is not beside the reader. It now says
   the gate is a SEPARATE LANDING (slice 4, PR #1039), that a checkout
   predating that merge carries this walk and no such validator, and that
   REQUIRING the check is a further act again (§ 4.5).

4. The #1027 fixture's docstring said an undeclared r→s hop "can never be
   created in the first place". Not yet: with § 4.5 outstanding the branch
   rules require no such check, so a commit of exactly that shape can still
   land. The sentence is now conditioned on the gate being REQUIRED, and says
   what does not change either way — WHERE the refusal belongs.

No behaviour moves: three docstrings and one sentence of canon prose.
`OPENSPEC_TELEMETRY=0 openspec validate add-declared-former-id --strict` is
valid, `proposal-support.py . verify add-declared-former-id` is ok, and
`python3 -m pytest tests/proposal-support -q` is 199 passed, 290 subtests
passed in 69.00s.

Refs #1003, #833.

Lane: openxfactory-1
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Copilot AI review requested due to automatic review settings September 14, 2026 21:48

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

Unresolved governed-document promotion and canon-status issues require human review.

Review details

Suppressed comments (2)

docs/document-lifecycle.md:474

  • This new standard prose says “THE RULE IS CANON,” but the packet’s own proposal.md states that ratification promotes nothing and the requirement reaches canon only at the archive act. That also conflicts with this document’s transition rule at docs/document-lifecycle.md:147-149 and the constitution’s promoted-spec requirement at .specify/memory/constitution.md:57-64; describe the rule as ratified/not-yet-promoted (with the archive transition) instead of canonical before § 7.
  bypass flag). THE RULE IS CANON AND THE ENFORCEMENT IS NOT YET IN PLACE, AND
  THE TWO ARE SAID SEPARATELY: as measured on 2026-09-14 that gate had not
  landed on `main` (§ 4.1–4.4) and was named by no branch ruleset (§ 4.5, an

openspec/changes/add-declared-former-id/tasks.md:131

  • At this commit scripts/former_id_arrival.py and tests/former_id_arrival are absent because PR #1039 is still in flight, so on main this reader is exercised by neither tests nor a production caller. Qualify this as the post-#1039 state (or say it is exercised only on the PR #1039 branch) instead of recording an impossible current-main fact.
      `test_a_declared_former_id_with_no_live_directory_passes`. **ITS
      PRODUCTION CALLER IS SLICE 4'S**, `scripts/former_id_arrival.py`'s
      corpus arm (PR #1039, in flight): on `main` today this reader is
      exercised by its tests and by nothing else, which is stated here rather
      than left for a reader to discover.
  • Files reviewed: 4/4 changed files
  • Comments generated: 1
  • Review effort level: Lite

Comment thread docs/document-lifecycle.md Resolved
…r than to a landing

Cosmetic on the prose the bench fix reflowed, plus one accuracy fix: the
§ 5.3 tick said Brett Heap.s confirmation "had not been given when this
landed", which reads as a claim about a merge that has not happened. It now
says the confirmation had not been given when this pull request was opened.
No box moves, no figure moves, no file outside `tasks.md`.

Refs #1003.

Lane: openxfactory-1
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Copilot AI review requested due to automatic review settings September 14, 2026 22:00

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🔵 Needs a closer look

Unresolved comments identify inaccurate enforcement claims and audit-documentation inconsistencies requiring clarification.

Review details

Suppressed comments (6)

docs/document-lifecycle.md:477

  • Please scope “stopped by nothing” to the landing check. The archive gate still invokes _refuse_an_undeclared_move and can refuse an undeclared moved ratified packet as origin-retention-path-moved; an unregistered § 4.5 check means the arrival can still land, not that no enforcement exists at all.
  bypass flag). THE RULE IS CANON AND THE ENFORCEMENT IS NOT YET IN PLACE, AND
  THE TWO ARE SAID SEPARATELY: as measured on 2026-09-14 that gate had not
  landed on `main` (§ 4.1–4.4) and was named by no branch ruleset (§ 4.5, an
  operator act, the live branch rules for `main` naming
  `former-id-arrival-gate` nowhere), so until both are done an undeclared
  arrival is refused by this rule and stopped by nothing; renaming a DRAFT

openspec/changes/add-declared-former-id/tasks.md:6

  • “At the first realization landing” is inconsistent with the rest of this header: it records PR #1038 as already landed, while this slice-6 pull request is the one performing § 5.3/§ 5.4. Please label this as the current slice-6 landing so the packet’s audit trail does not attribute this amendment to the earlier landing.
**AMENDED 2026-09-14, AT THE FIRST REALIZATION LANDING: § 2 EXCEPT § 2.4, AND

openspec/changes/add-declared-former-id/tasks.md:22

  • This sentence is broader than the actual change: the § 2–§ 5 task blocks below are rewritten and ticked in this same file. Only the ratification-state paragraph is preserved verbatim; narrowing the subject avoids claiming that the rest of the file was untouched.
archive, on its own word. **Nothing else in this file was rewritten** — the
paragraph below is left exactly as the ratification landing wrote it, because
it was true when written and its point was that it was true then; read it as
the state at PR #1028 and the ticks as the record of what has happened since.

openspec/changes/add-declared-former-id/tasks.md:10

  • This landing changes the packet's realized state, but the active README.md OpenSpec Records row is left with known stale claims: it still quotes the pre-amendment blocked-rename sentence and says tasks.md § 1 is ticked while §§ 2–7 stay open (README.md:549-600). That conflicts with the repository's records convention to keep the README entry current through ratification, realization, and archive (openspec/changes/archive/2026-08-06-add-proposal-origin-contract/tasks.md:29). Please update the active row here or document a governed exception before landing.
**AMENDED 2026-09-14, AT THE FIRST REALIZATION LANDING: § 2 EXCEPT § 2.4, AND
ALL OF § 3, ARE BUILT AND ARE NOW TICKED, AND § 5.3/§ 5.4 ARE PERFORMED BY THE
PULL REQUEST THIS AMENDMENT RIDES IN. § 2.4 IS SLICE 4'S AND STAYS OPEN**, it
being the one § 2 task that reads a COMMIT RANGE and therefore belongs to the
landing validator rather than to the declaration's reader. Slices 1, 2 and 3

scripts/proposal-support.py:2227

  • This docstring is still written as if the landing-gate fixture exists in this checkout, but tests/former_id_arrival/test_former_id_arrival.py is not present here; PR #1039 is only in flight. Please describe this as the fixture that PR #1039 will add (or otherwise qualify the present-tense claim), so the docstring remains true when this revision is checked out.
    The refusal that does take it has its own fixture over the same history,
    `tests/former_id_arrival/test_former_id_arrival.py`'s
    `test_an_undeclared_rename_chain_now_refuses_at_its_landing`, which asserts
    this gate's silence and that gate's refusal together.

tests/proposal-support/test_proposal_support.py:2008

  • The new docstring says the landing gate “is built,” but this branch contains neither scripts/former_id_arrival.py nor the referenced test module; § 4 remains unchecked and PR #1039 is in flight. The later qualification about the ruleset does not correct the claim that the implementation already exists in this checkout, so state that PR as the pending implementation here.
        THE REFUSAL IS THE LANDING GATE'S, AND IT IS BUILT.
        `release-realization`'s *An undeclared rename arrival is refused at its
        landing* is realized by `add-declared-former-id` § 4 —
        `scripts/former_id_arrival.py` and its CLI
        `scripts/validate-former-id-arrival.py` (slice 4, PR #1039, landing on
  • Files reviewed: 4/4 changed files
  • Comments generated: 1
  • Review effort level: Lite

Comment thread scripts/proposal-support.py Resolved
… on the question entirely

Copilot's second round, one thread, TAKEN IN PART and REFUSED IN PART, with
the measurement that settles which part is which.

THE FINDING: `docs/document-lifecycle.md` is `Status: standard` and backed by
`openspec/specs/document-lifecycle/spec.md`, and this amendment publishes the
former-id policy before `add-declared-former-id`'s `release-realization` delta
is promoted (§ 7.1 open), so `main` could advertise policy its backing spec
does not carry.

MEASURED, NOT ARGUED: `grep -rn "FORMER ID\|former_ids\|Renaming a ratified"
openspec/specs/` returns NOTHING — 0 matches, exit 1 — and canon's promoted
*Origin retention at archive* says not one word about a rename. The sentence
being amended was DOCUMENT PROSE FROM THE START, landed by PR #846 beside a
refusal in code, never promoted into a spec. So this edit replaces doc-only
prose with doc-only prose; it contradicts no promoted requirement, and the
"backing spec does not carry it" objection applies identically to the sentence
standing there today.

TAKEN: the citation now states the packet's OWN state so a reader knows what
the sentence rests on — *"`add-declared-former-id`, the successor packet issue
#833 named — RATIFIED 2026-09-13, its `release-realization` delta promoting
into canon at that packet's own archive and not before; #1003"*. A reader who
wants the requirement text knows where it is and that it is not canon yet.

REFUSED: deferring the amendment to the promotion pull request. `tasks.md`
§ 5.3 is a RATIFIED task in § 5, "the reference resolver and the documents —
REALIZATION", and this packet's `code_surface:` names this file; the archive
(§ 7.1) is held BEHIND the realization evidence by `release-realization`'s own
*Realization archive gate*, so deferring the doc to the archive inverts the
order the packet was ratified with. Whether that ratified order should be
departed from is not a reviewer's call and not this author's: it is Q4, it is
Brett Heap's, the pull-request body says his confirmation is outstanding, and
if he rules the other way commit `1ef15e86` and this one drop out and the rest
stands.

`tasks.md` § 5.3's own note carries the same measurement, so the packet
records why the edit was lawful rather than leaving it in a review thread.

Refs #1003, #833.

Lane: openxfactory-1
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Copilot AI review requested due to automatic review settings September 14, 2026 22:05
…l land, and it is still refused where it always was

Copilot's third round, one thread, TAKEN. "Stopped by nothing" was overbroad
in three places, and the correction is the same in each: what is missing today
is the LANDING refusal, not every refusal. PR #846's
`origin-retention-path-moved` still refuses a single undeclared hop AT THE
ARCHIVE and is untouched by this packet (`tasks.md` § 3.2 says so in as many
words), so the honest statement is that an undeclared arrival can still LAND
while the archive refusal stands — and that the multi-hop chain escapes that
one, which is the whole argument for a declaration.

Corrected in `docs/document-lifecycle.md` (the § 5.3 sentence), in
`ratifying_commit`'s docstring, and in `tasks.md` § 5.3's own tick note, so
the three places that describe the same state now describe it the same way.

No behaviour moves. `openspec validate add-declared-former-id --strict` is
valid, and `python3 -m pytest tests/proposal-support -q` is 199 passed, 290
subtests passed in 70.90s.

Refs #1003, #833.

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

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

Final review notes identify documentation inconsistencies, and the changes span governed lifecycle and enforcement records.

Review details

Suppressed comments (2)

openspec/changes/add-declared-former-id/tasks.md:22

  • This says that nothing else in tasks.md was rewritten, but this same patch rewrites and ticks §§ 2–5 and adds their evidence below. That makes the amendment's provenance statement factually wrong; scope the sentence to the historical ratification paragraph it is preserving.
archive, on its own word. **Nothing else in this file was rewritten** — the
paragraph below is left exactly as the ratification landing wrote it, because
it was true when written and its point was that it was true then; read it as
the state at PR #1028 and the ticks as the record of what has happened since.

tests/proposal-support/test_proposal_support.py:2004

  • On this checkout the slice-4 validator and tests/former_id_arrival suite are absent, and § 4/PR #1039 are still marked in flight below. Saying the landing gate "is built" therefore overstates what this test module can rely on; describe it as being built by the separate slice, consistent with the later qualification that current enforcement is not active.
        THE REFUSAL IS THE LANDING GATE'S, AND IT IS BUILT.
  • Files reviewed: 4/4 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

Copilot AI review requested due to automatic review settings September 14, 2026 22:08

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

Unresolved documentation issues remain, and the change requires final human review.

Review details

Suppressed comments (3)

docs/document-lifecycle.md:474

  • Scope this to an identity-changing arrival or state the archive exception explicitly. As written, the broadened "directory MAY now MOVE" plus "an UNDECLARED arrival is refused" also covers the normal openspec/changes/<id>/ → openspec/changes/archive/<date>-<id>/ relocation, but the ratified landing contract requires that same-id archive move to pass without former_ids:; otherwise this standard sentence contradicts § 4.3.
  therefore not a way to launder a mutation. An UNDECLARED arrival is refused
  at the landing of the commit that performs it — one commit read and never a
  chain — by the arrival gate `add-declared-former-id` § 4 builds
  (`scripts/validate-former-id-arrival.py`, `former-id-undeclared`, exit 1, no
  bypass flag). THE RULE IS CANON AND THE ENFORCEMENT IS NOT YET IN PLACE, AND

openspec/changes/add-declared-former-id/tasks.md:8

  • This header misdates the amendment as occurring “AT THE FIRST REALIZATION LANDING.” The first landing is explicitly recorded below as PR #1038 at merge 701c8fde, while § 5.3/§ 5.4 are performed by this slice-6 pull request after that merge. Please change the chronology wording (or split the two records) so the packet does not claim these ticks landed together.
**AMENDED 2026-09-14, AT THE FIRST REALIZATION LANDING: § 2 EXCEPT § 2.4, AND
ALL OF § 3, ARE BUILT AND ARE NOW TICKED, AND § 5.3/§ 5.4 ARE PERFORMED BY THE
PULL REQUEST THIS AMENDMENT RIDES IN. § 2.4 IS SLICE 4'S AND STAYS OPEN**, it

openspec/changes/add-declared-former-id/tasks.md:22

  • Nothing else in this file was rewritten is too broad: this amendment also rewrites and ticks the § 2, § 3, § 4.5, § 5.3/§ 5.4, and § 6.1 sections below. That makes the provenance statement misleading; narrow it to the original ratification-state paragraph so readers do not mistake the new evidence for pre-existing text.
archive, on its own word. **Nothing else in this file was rewritten** — the
paragraph below is left exactly as the ratification landing wrote it, because
it was true when written and its point was that it was true then; read it as
the state at PR #1028 and the ticks as the record of what has happened since.
  • Files reviewed: 4/4 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-1 (openXfactory-1)

FREEZE — head 74883da0667ea801d8fd5c53f946d6b9656d96c1, unresolved review threads 0 of 6 (GraphQL), every check green.

CHECK ROLLUP at that head — lane-line pass · openspec-cli-pin pass · pytest-suite pass, 15m23s, run 34902561690, selected=7626 passed=7620 skipped=6 failures=0 errors=0 (floors: selected>=7050 margin 576; freshness verifier passed; vector replay passed) · release-tag-gate pass · signed-execution-chain-gate pass · wallet-validation pass · clearing-dispatch-gate pass · merge-master-approval pass · openreposhape-pin pass · SonarCloud Code Analysis pass.

COPILOT — three rounds, six threads, SIX TAKEN (one of them taken in part with the other part refused on a measurement), all six resolved.

  1. "describe it as specified/pending until slice 4 lands (or include that implementation)" — TAKEN, b8d03394.
  2. "This amendment header says all of §§ 2 and 3 are built, but § 2.4 remains explicitly unchecked" — TAKEN, b8d03394.
  3. "Calling it the validator this packet already realizes makes this production docstring describe a capability unavailable at this commit" — TAKEN, b8d03394.
  4. "'So this history can never be created' is only true after registration" — TAKEN, b8d03394.
  5. "please obtain the governed owner/promotion decision or defer this standard-document amendment until promotion" — TAKEN IN PART, REFUSED IN PART, 298c2b22. Measured: grep -rn "FORMER ID\|former_ids\|Renaming a ratified" openspec/specs/ returns 0 matches, exit 1 — canon carries neither the amended sentence nor the one it replaces, PR The origin-retention walk refuses a moved path instead of silently re-basing to the rename commit #846's passage having been document prose from the start. Taken: the citation now states the packet's own state (ratified 2026-09-13, delta promoting at § 7.1 and not before). Refused: deferring the edit, tasks.md § 5.3 being the ratified commission and the departure being Brett Heap's call — Q4, outstanding, and the body says so.
  6. "the archive path still retains the existing origin-retention-path-moved refusal. Say that the move can still land, rather than that it is stopped by nothing" — TAKEN, 74883da0, in all three places that described that state.

CODEX — NOT REQUESTED. This pull request is a DRAFT; the wave brief forbids a review request on a draft.

LOCAL VALIDATORS at the frozen head: openspec validate add-declared-former-id --strict valid (0) · openspec validate --all --strict 107 passed / 2 failed (1) — add-chain-attestation and add-composed-view-authoring, the same two as origin/main, no third · pytest tests/proposal-support -q 199 passed, 290 subtests (0) · pytest tests/doc-health -q 1742 passed (0) · proposal-support.py . verify and verify add-declared-former-id ok (0) · doc-health.py --single-repo . exit 0, finding set identical to an origin/main control run built the same way in the same clone (31 critical, 6 error, 28 warning, 24 info, 0 new regressions) · validate-sequenced-after.py . passed (0).

STILL OWED, AND NOT THIS AUTHOR'S: the Rule 6 landing window (LANDING/LANDED and the LANES.md row), Brett Heap's Q4 confirmation, § 4.5's ruleset act, § 6.1's successor issue, § 7.1's promotion and § 7.2's closing of #1003. This pull request performs none of them and stays a draft until the lane is told otherwise.

Carries PR #1037 (slice 5, the identity-based reference resolver, merge
`8f393758`) and PR #1039 (slice 4, the landing validator and its gate
workflow, merge `92d519b0`) into this branch, plus the unrelated
`extend-prose-tagging-target-to-pinned-capabilities` work that landed
beside them.

No conflict: this branch's only edits to `scripts/proposal-support.py` and
`tests/proposal-support/test_proposal_support.py` are docstrings, and main
touched neither file. `docs/document-lifecycle.md` auto-merged — main's
addition is the pinned-target marker grammar, a different paragraph from
this branch's § 5.3 amendment.

Refs #1003.

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

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

Current-state documentation and realization records must be synchronized with the merged validator work and resolved authorizations.

Get a fresh assessment by requesting another Copilot review.

Review details

Suppressed comments (8)

docs/document-lifecycle.md:508

  • The standard lifecycle text still says the arrival gate had not landed on main. PR #1039 is now merged as 92d519b0, so the workflow is present; only the § 4.5 ruleset registration remains absent. Retain the not-required enforcement conclusion, but update this status or canon will contradict the current estate.
  bypass flag). THE RULE IS CANON AND THE ENFORCEMENT IS NOT YET IN PLACE, AND
  THE TWO ARE SAID SEPARATELY: as measured on 2026-09-14 that gate had not
  landed on `main` (§ 4.1–4.4) and was named by no branch ruleset (§ 4.5, an
  operator act, the live branch rules for `main` naming
  `former-id-arrival-gate` nowhere), so until both are done an undeclared

openspec/changes/add-declared-former-id/tasks.md:18

  • This realization-state header is now stale against the current base: issue #1003 records PR #1039 merged as 92d519b0 and PR #1037 as 8f393758 on 2026-09-15. This follow-up was explicitly ordered to tick § 2.4/§ 4.1–4.4 and § 5.0–§ 5.2a (and the same ruling requires the README row amendment in #1041), so those slices must not remain marked as in flight or be omitted from the synchronized update.
with its owner named: § 2.4 and § 4 are slice 4's (PR **#1039**, in flight),
§ 5.0–5.2a are slice 5's (PR **#1037**, in flight), **§ 4.5 is Brett Heap's
operator act and is OUTSTANDING**, § 6 is residue taken nowhere and § 7 is the

openspec/changes/add-declared-former-id/tasks.md:132

  • This production-caller note still says the slice-4 reader is exercised by its tests and by nothing else, and labels PR #1039 in flight. PR #1039 is now merged as 92d519b0; its workflow invokes these arms on pull requests even though § 4.5 has not made the check required. Update this evidence, along with the repeated in-flight references in the tick details.
      PRODUCTION CALLER IS SLICE 4'S**, `scripts/former_id_arrival.py`'s
      corpus arm (PR #1039, in flight): on `main` today this reader is
      exercised by its tests and by nothing else, which is stated here rather
      than left for a reader to discover.

openspec/changes/add-declared-former-id/tasks.md:363

  • Q2 is no longer unresolved: Brett Heap's 2026-09-15 ruling says this packet may archive with § 4.5 open, provided the decision is carried as a disposition plus a carry-forward issue. Leaving this as a future call fails to record the authorization that now governs the packet.
      than implying a protection this estate does not have. **Whether the
      packet may archive with this box open is Brett Heap's call**
      (`add-signed-execution-chain` archived with its own § 4.5 open, carried
      forward on issue #534).

openspec/changes/add-declared-former-id/tasks.md:417

  • This § 5.3 evidence repeats the pre-landing state. The arrival gate landed on main in PR #1039 (92d519b0); only the § 4.5 required-check registration is still missing. Keep the conclusion that an undeclared arrival can land until registration, but state that the workflow itself is now present.
      SEPARATELY: as measured 2026-09-14 the gate had not landed on `main`
      (§ 4.1–4.4) and was named by no branch ruleset (§ 4.5), so the sentence
      says an undeclared arrival can still LAND meanwhile, with the archive
      refusal `origin-retention-path-moved` named as the one enforcement
      that does stand — a single undeclared hop, at the archive, never at the

openspec/changes/add-declared-former-id/tasks.md:432

  • Q4 is now resolved, not outstanding: Brett Heap's 2026-09-15 ruling confirms that ratified task § 5.3 authorizes this amendment without a separate governed route. Update this record so it does not claim that confirmation was missing when the PR lands.
      and nothing else in that paragraph moved. **Q4 IS OUTSTANDING**: that document carries `Status: standard`
      and was ratified by PR #846's act. The authority claimed is this box
      itself, which commissions the edit by quoting the exact sentence, plus
      `proposal.md`'s `code_surface:`, which names the file. Brett Heap's
      confirmation HAD NOT BEEN GIVEN when this pull request was opened, and
      its body says so rather than letting the question pass silently.

scripts/proposal-support.py:2249

  • This public ratifying_commit docstring still describes slice 4 as a future landing and says both the validator and registration are pending. The current base includes PR #1039 (92d519b0), so a normal checkout now has the validator; only requiring its check remains outstanding. Update the current-state wording while retaining the no-required-check consequence.
    walking. THAT GATE IS A SEPARATE LANDING AND IS NOT NECESSARILY BESIDE
    THIS FILE: it arrives with slice 4 (PR #1039), so a checkout that predates
    that merge carries this walk and no such validator, and REQUIRING the
    check is a further act again (`tasks.md` § 4.5, an operator act still
    outstanding on 2026-09-14). Until both are done an undeclared move can

tests/proposal-support/test_proposal_support.py:2016

  • This fixture documentation still says PR #1039 is landing and treats its landing as pending. Since the current base contains the merged gate (92d519b0), update the paragraph to say the gate is present but not a required check; the fixture's archive-gate silence and landing-gate refusal assertions remain the correct division.
        `scripts/validate-former-id-arrival.py` (slice 4, PR #1039, landing on
        its own word) — which refuses the r-to-s
        hop at its own landing, `former-id-undeclared`, exit 1, because that
        hop's source identity had declared `Status: ratified` and the arriving
        packet declares nothing. ONCE THAT GATE IS REQUIRED this history cannot
        be created in the first place and the archive gate never has to reach
        back for it — and until then (slice 4 landing, then § 4.5, an operator
        act outstanding on 2026-09-14) the refusal is reported and enforced by
        nothing, so a commit of exactly this shape can still land. What does
  • Files reviewed: 4/4 changed files
  • Comments generated: 1
  • Review effort level: Lite

…moved again

`extend-prose-tagging-target-to-pinned-capabilities` archived on `main` at
PR #1042 (merge `8944758c`), which rewrote 153 lines of the README OpenSpec
Records block — one Active row removed, one Archived row added, and item (7)
of `split-openxwallet-repo`'s ledger entry annotated. This slice amends the
`add-declared-former-id` row in that same block, so it is taken over the
current block rather than over a stale copy. `openspec/specs/document-lifecycle/spec.md`
(+448) and `tests/sequenced_after/corpus-ledger.yaml` also move here, so
every validator reading below is read at the tree the landing will carry.
No conflict: `git merge-tree --write-tree` exits 0.

Refs #1003.

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

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

Several reviewed documentation entries retain stale or conflicting status, scope, and evidence details.

Get a fresh assessment by requesting another Copilot review.

Review details

Suppressed comments (8)

README.md:609

  • The PR description still says “README Untouched, deliberately” and reports four changed files, but this hunk adds an amendment to the OpenSpec Records row (and the current PR has five changed files). Since the cited ruling selected “Amend the row in #1041,” update the PR description to match the submitted scope instead of leaving its file list and change summary false.
  **AMENDED 2026-09-15 BY THIS PACKET'S OWN REALIZATION** (lane
  `openxfactory-1`), on Brett Heap's ruling of 2026-09-15T19:0xZ, verbatim
  ***"Amend the row in #1041"***, recorded at
  [#1003](https://github.com/opensoft/openxFactory/issues/1003#issuecomment-5686628685):

README.md:561

  • These added lines say this packet carries a MODIFIED block over Origin retention at archive, but the row's following root-claim sentence still says that no active change carries one. This packet's own spec confirms the former, so qualify the later sentence as “no other active change”; otherwise the new row contradicts itself.
  `## MODIFIED` BLOCK AND THREE `## ADDED` REQUIREMENTS** over
  `release-realization` — *Origin retention at archive* (MODIFIED; every
  promoted sentence and all three promoted scenarios carried verbatim, FOUR

openspec/changes/add-declared-former-id/tasks.md:198

  • This repeats the same outdated status: PR #1039 is no longer in flight, so the per-commit arm is present on main; only making its workflow required remains outstanding under § 4.5. Leaving this as "in flight" contradicts the tick and merge evidence recorded above.
      PRODUCTION CALLER IS SLICE 4'S** per-commit arm (PR #1039, in flight).

openspec/changes/add-declared-former-id/tasks.md:220

  • This evidence also retains the obsolete “PR #1039, in flight” status even though the packet records its merge at 92d519b0 and the workflow is now present on main. Update this caller note to reflect the landed corpus arm; § 4.5 can remain explicitly open.
      **ITS PRODUCTION CALLER IS SLICE 4'S** corpus arm (PR #1039, in
      flight).

openspec/changes/add-declared-former-id/tasks.md:819

  • This addendum quotes the newer ruling “Close when #1041 lands,” but the unchecked box immediately above still declares that #1003 closes “at the archive pull request and nowhere else.” Those are incompatible dispositions; update the box's governing wording to reflect the newer ruling while leaving it unchecked until the close action occurs.
      2026-09-15T19:0xZ, by multiple choice in this lane's window, verbatim
      ***"Close when #1041 lands"***, recorded at
      https://github.com/opensoft/openxFactory/issues/1003#issuecomment-5686628685:

openspec/changes/add-declared-former-id/tasks.md:342

  • The realization evidence says test_former_id_arrival.py has 53 tests, but the current file contains 52 test methods (the sibling wiring file has 9, for 61 total). This makes the recorded evidence off by one; please correct the per-file count or replace it with the exact measured command/count.
      suite `tests/former_id_arrival/test_former_id_arrival.py` (2126, 53

scripts/proposal-support.py:2249

  • After slice 4 landed, this docstring still describes the arrival gate as something that "arrives" and says both halves remain unfinished as of 2026-09-14. On the current estate the validator is present and runs; only the § 4.5 ruleset registration is pending, so this production documentation now reports an obsolete capability state.
    walking. THAT GATE IS A SEPARATE LANDING AND IS NOT NECESSARILY BESIDE
    THIS FILE: it arrives with slice 4 (PR #1039), so a checkout that predates
    that merge carries this walk and no such validator, and REQUIRING the
    check is a further act again (`tasks.md` § 4.5, an operator act still
    outstanding on 2026-09-14). Until both are done an undeclared move can

tests/proposal-support/test_proposal_support.py:2016

  • This fixture docstring also retains the pre-slice-4 status: it dates the outstanding state to 2026-09-14 and groups the validator landing with the still-pending operator act. The validator is now landed; only § 4.5 is outstanding, so update the explanation to match the current tree and keep the test's landing-versus-required distinction.
        packet declares nothing. ONCE THAT GATE IS REQUIRED this history cannot
        be created in the first place and the archive gate never has to reach
        back for it — and until then (slice 4 landing, then § 4.5, an operator
        act outstanding on 2026-09-14) the refusal is reported and enforced by
        nothing, so a commit of exactly this shape can still land. What does
  • Files reviewed: 5/5 changed files
  • Comments generated: 3
  • Review effort level: Lite

Comment thread README.md Resolved
…tus seams Copilot found

Two of Copilot's re-review threads named real defects in this PR's own files.

README.md's OpenSpec Records row still read "#1003 ... closes at no pull
request of this packet's" immediately beside the amendment recording Brett
Heap's later ruling that it closes at THIS packet's own PR #1041 landing —
the active index presented a superseded close condition as current. The
older sentence is now dated to filing (2026-09-13) and points at the
amendment that supersedes it; the amendment itself now states the close
ruling plainly, verbatim "Close when #1041 lands", rather than leaving a
reader to infer it only from tasks.md § 7.2.

tasks.md §§ 2.3 and 2.5 still said their production caller was "PR #1039,
in flight" and that the reader was "exercised by its tests and by nothing
else" — true when first written, false now that #1039 merged (`92d519b0`)
and this branch merged that main forward: `scripts/former_id_arrival.py`'s
corpus and per-commit arms call both functions today, and
`.github/workflows/former-id-arrival-gate.yml` runs that reader on every
pull request. What is still pending is only § 4.5, the branch-rule
registration that would make the call's refusal block a merge — the two
boxes now say that distinction directly instead of the stale "in flight".

The other two Copilot threads from this round are answered in place
(PRRT_kwDOTAvnrs6iqrT0 already superseded by 44373fc's rewrite of the
same paragraph; PRRT_kwDOTAvnrs6ircjJ addressed by this bench's PR body
rewrite) and resolved without a code change.

Refs #1003.

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

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 archive disposition and realization records contain unresolved contradictions requiring correction.

Get a fresh assessment by requesting another Copilot review.

Review details

Suppressed comments (2)

openspec/changes/add-declared-former-id/tasks.md:228

  • This evidence still says PR #1039 is "in flight", while the same checklist records its merge as 92d519b0 at lines 18, 203, and throughout §4. The ledger is internally contradictory and leaves the production caller looking unlanded; update this parenthetical to the merge evidence.
      **ITS PRODUCTION CALLER IS SLICE 4'S** corpus arm (PR #1039, in
      flight).

openspec/changes/add-declared-former-id/tasks.md:351

  • The checklist records 53 tests for test_former_id_arrival.py, but the current module contains 52 test methods and the companion wiring module contains 9, so the stated evidence is off by one (the combined total is 61). Correct the count and state how the subtests are counted so this realization record is reproducible.
      suite `tests/former_id_arrival/test_former_id_arrival.py` (2126, 53
      tests) with `tests/former_id_arrival/test_former_id_arrival_gate_wiring.py`
  • Files reviewed: 5/5 changed files
  • Comments generated: 2
  • Review effort level: Lite

Comment thread README.md Resolved
… open

Copilot (PR #1041, tasks.md:802) read the § 4.5 and § 7.1 dispositions as a
claim that the packet archives with § 4.5 still `[ ]`. Measured: it cannot —
`archive_change()` in scripts/proposal-support.py refuses any tasks.md line
matching `^- [ ]` ("change has incomplete tasks") and carries no per-section
exception. Brett Heap's ruling "Yes, with disposition + carry-forward issue"
(2026-09-15T19:00Z) is realized the way add-signed-execution-chain realized
its own: the archive pull request ticks the box `[x]` with the disposition
written beneath it, naming the carry-forward issue (that packet's was #534,
filed 2026-08-31 at its archive). Both paragraphs now say so; no exception to
the gate is built or claimed.

Refs #1003.

Lane: openxfactory-1
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Copilot AI review requested due to automatic review settings September 15, 2026 20:45
@brettheap
brettheap marked this pull request as ready for review September 15, 2026 20:48
@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-1 (openXfactory-1)
@codex review

Slice 6 of add-declared-former-id at b1c6a9e8: documents, ticks for slices 1–5, README row, and the rulings of 2026-09-15 encoded in the § 4.5 / § 7.1 / § 7.2 dispositions; no spec text moves.

@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 2 days and 5 hours by commenting @sourcery-ai review. Upgrade to get a review now.

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

Several committed records and documentation statements contradict the current PR description or implementation state and must be reconciled.

Review details

Suppressed comments (10)

README.md:612

  • The committed scope contradicts the current PR description: the body still says “README Untouched, deliberately,” lists four changed files, and says Q4 confirmation is outstanding, while this hunk edits the README and records Q4 as ruled. Reconcile the PR description with this five-file diff before landing so the review record and the governance record agree on scope and authority.
  **AMENDED 2026-09-15 BY THIS PACKET'S OWN REALIZATION** (lane
  `openxfactory-1`), on Brett Heap's ruling of 2026-09-15T19:0xZ, verbatim
  ***"Amend the row in #1041"***, recorded at
  [#1003](https://github.com/opensoft/openxFactory/issues/1003#issuecomment-5686628685):
  **RATIFIED 2026-09-13; REALIZATION SLICES 1-5 ARE LANDED** — PR

README.md:635

  • This new row records “Close when #1041 lands,” but the current PR description still says there is no closing keyword and that #1003 closes at the archive pull request. If the linked ruling is authoritative, update the PR description and § 7.2 narrative to match; otherwise this closure claim should not be added here.
  `add-signed-execution-chain` precedent). **#1003 ITSELF CLOSES EARLIER, AT
  THIS SLICE'S OWN LANDING, NOT AT THE ARCHIVE** — Brett Heap, same record,
  verbatim ***"Close when #1041 lands"***; the § 4.5 ruleset act and the

docs/document-lifecycle.md:515

  • The preserved draft exemption is broader than the implemented landing rule. The arrival spec/tests explicitly refuse a packet that is currently back in draft when its source identity was ratified earlier (openspec/changes/add-declared-former-id/specs/release-realization/spec.md:303-306; test_a_once_ratified_packet_moved_while_back_in_draft_is_refused), but this sentence says every draft rename is unaffected. Keep the quoted canon text if required, but add an explicit “never-ratified” qualification so the standard prose does not contradict the gate.
  entirely; renaming a DRAFT change, and a single commit that renames a draft
  and ratifies it, are
  unaffected. The nightly `proposal-origin` doc-health family

docs/document-lifecycle.md:506

  • The workflow cited here is configured for pull_request events targeting main only (.github/workflows/former-id-arrival-gate.yml:80-83), so “runs on every pull request” overstates the enforcement scope. Qualify this as every pull request targeting main (or state the intended branch scope explicitly).
  on `main` and RUNS on every pull request (§ 4.1–4.4), and it is named by no

openspec/changes/add-declared-former-id/tasks.md:228

  • This production-caller note is stale within the same amended packet: the header and the earlier § 2.3/§ 2.5 notes record slice 4 as merged at 92d519b0, but this box still says PR #1039 is in flight. Update it to the landed merge so the realization state is not contradictory.
      **ITS PRODUCTION CALLER IS SLICE 4'S** corpus arm (PR #1039, in
      flight).

openspec/changes/add-declared-former-id/tasks.md:505

  • These added lines settle Q1 on a dedicated workflow, but the workflow they cite still says that whether a dedicated workflow is owed is an “OPEN DECISION” and instructs maintainers to delete the file if the cheaper route is chosen (.github/workflows/former-id-arrival-gate.yml:34-47). The checked-in operational guidance is therefore contradictory; update that workflow header in the same change or do not record Q1 as settled here.
      **THE SHAPE IS RULED AND THE ACT IS NOT PERFORMED.** Brett Heap,
      2026-09-15T19:00Z, by multiple choice in this lane's window, verbatim
      ***"Dedicated required check"*** — the arrival gate stays a DEDICATED
      workflow and the context to require is the job id
      `former-id-arrival-gate`, which by house rule carries no `name:` display

openspec/changes/add-declared-former-id/tasks.md:350

  • The recorded suite count is off: tests/former_id_arrival/test_former_id_arrival.py contains 52 def test... methods, not 53. Because this paragraph uses the count as realization evidence, correct the count or identify the additional collected test.
      suite `tests/former_id_arrival/test_former_id_arrival.py` (2126, 53

openspec/changes/add-declared-former-id/tasks.md:20

  • The PR description says slices 4 (#1039) and 5 (#1037) are still in flight and will be ticked only after they land, but this header records both as already merged (92d519b0 and 8f393758) and the later boxes are ticked. Reconcile the PR description with this landing evidence before merging so the realization state is unambiguous.
* slice 5 — PR **#1037**, merge **`8f393758`** (2026-09-15T19:02:27Z): the
  reference resolver and the named consumer it was built for (§ 5.0, 5.1, 5.1a,
  5.2, 5.2a);
* slice 4 — PR **#1039**, merge **`92d519b0`** (2026-09-15T19:15:01Z): the
  landing validator (§ 2.4 — the one § 2 task that reads a COMMIT RANGE and
  therefore belongs here rather than to the declaration's reader — and § 4.1,

openspec/changes/add-declared-former-id/tasks.md:708

  • The PR description says Q4 confirmation is still outstanding, but this hunk records Brett Heap's "Yes, task 5.3 is authority" ruling as settled and uses it to authorize the standard-document edit. Reconcile the description with this recorded authority before merging; otherwise the governance basis for § 5.3 is contradictory.
      and nothing else in that paragraph moved. **Q4 IS RULED, AND THE
      AUTHORITY IS THIS BOX.** Brett Heap, 2026-09-15T19:00Z, by multiple
      choice in this lane's window, verbatim ***"Yes, task 5.3 is
      authority"***: the amendment of a document carrying `Status: standard`
      and ratified by PR #846's act rests on this packet's own ratified task,
      which commissions the edit by quoting the exact sentence, plus
      `proposal.md`'s `code_surface:`, which names the file — **no separate
      amendment route, and not deferred to promotion**. Recorded at
      https://github.com/opensoft/openxFactory/issues/1003#issuecomment-5686436893.

tests/proposal-support/test_proposal_support.py:2016

  • After this docstring says the arrival gate is built and identifies PR #1039, this sentence still treats slice 4 landing as pending and dates the outstanding state to 2026-09-14. On this branch only § 4.5 remains open; leaving the earlier prerequisite in the fixture documentation misstates the current enforcement state.
        back for it — and until then (slice 4 landing, then § 4.5, an operator
        act outstanding on 2026-09-14) the refusal is reported and enforced by
        nothing, so a commit of exactly this shape can still land. What does
  • Files reviewed: 5/5 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b1c6a9e882

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

…ate reports before it enforces

Two Codex P2 findings on b1c6a9e, both staleness against the tree this
branch documents. tasks.md § 2.6 said its production caller was "in flight";
it landed with slice 4 (PR #1039, merge 92d519b), and
scripts/former_id_arrival.py calls former_identity_ownership_problems on
every run. The #1027 fixture's docstring said the refusal was "reported and
enforced by nothing" until both acts occur; the workflow reports on every
pull request today, and only enforcement waits on § 4.5.

Refs #1003.

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

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🔵 Needs a closer look

Final review comments identify unresolved timestamp, workflow-scope, and status-documentation inconsistencies.

Review details

Suppressed comments (7)

README.md:609

  • The newly added ruling timestamp contains 19:0xZ, which is not a valid ISO-8601 timestamp and conflicts with the same ruling being recorded as 2026-09-15T19:00Z elsewhere in this row and in the task record. Please use the exact timestamp so the active-record history is machine- and human-readable.
  `openxfactory-1`), on Brett Heap's ruling of 2026-09-15T19:0xZ, verbatim

README.md:629

  • The workflow's CLI still returns the former-id-undeclared refusal and produces a red check; the missing ruleset registration only means that refusal does not block a merge. Saying the gate 'refuses nothing' is therefore misleading and conflicts with the following task/test evidence. State that it reports refusals without blocking merges.
  the branch rules for `main` name it nowhere, so the gate runs and refuses
  nothing), and **§ 7, the archive and the promotion into

docs/document-lifecycle.md:506

  • .github/workflows/former-id-arrival-gate.yml is scoped to pull_request.branches: [main], so it does not run for pull requests targeting other base branches. Saying it runs on every pull request is broader than the actual enforcement surface; qualify this as every pull request targeting main.
  on `main` and RUNS on every pull request (§ 4.1–4.4), and it is named by no

openspec/changes/add-declared-former-id/tasks.md:515

  • This disposition now says Q1 is settled as a dedicated required check and that the pytest-suite alternative is not taken, but the workflow this section cites still says the choice is an "OPEN DECISION" and instructs maintainers to delete the workflow if the alternative is selected (.github/workflows/former-id-arrival-gate.yml:34-45). That leaves the shipped gate and this packet contradictory; update the workflow's self-report (and any affected references) when recording the ruling, or do not mark Q1 settled here.
      **THE SHAPE IS RULED AND THE ACT IS NOT PERFORMED.** Brett Heap,
      2026-09-15T19:00Z, by multiple choice in this lane's window, verbatim
      ***"Dedicated required check"*** — the arrival gate stays a DEDICATED
      workflow and the context to require is the job id
      `former-id-arrival-gate`, which by house rule carries no `name:` display
      string so the check surfaces as exactly that literal
      (`.github/workflows/former-id-arrival-gate.yml`, pinned by
      `tests/former_id_arrival/test_former_id_arrival_gate_wiring.py::test_the_job_carries_no_display_name`).
      Recorded at
      https://github.com/opensoft/openxFactory/issues/1003#issuecomment-5686436893.
      Q1 is therefore settled and the cheaper route — folding the validator
      into the already-required `pytest-suite` — is NOT taken.

openspec/changes/add-declared-former-id/tasks.md:775

  • This newly added citation also records the ruling as 19:0xZ, an invalid timestamp; the same ruling is stated elsewhere in this file as 2026-09-15T19:00Z. Replace the placeholder so the successor-filing record has a precise date.
      2026-09-15T19:0xZ, by multiple choice in this lane's window, verbatim

openspec/changes/add-declared-former-id/tasks.md:150

  • The production workflow is configured with on.pull_request.branches: [main], so it does not run for pull requests targeting other base branches. This status claim overstates the caller's coverage; qualify it as every pull request targeting main.
      today this reader IS called by that arm, on every pull request, through

tests/proposal-support/test_proposal_support.py:2017

  • The workflow cited here triggers only for pull requests targeting main (on.pull_request.branches: [main]), not for every possible pull request. Qualify this statement so the fixture's documentation does not claim broader CI coverage than the workflow provides.
        `.github/workflows/former-id-arrival-gate.yml` runs the validator on
        every pull request, so an undeclared move shows a red check, while the
  • Files reviewed: 5/5 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

@sonarqubecloud

Copy link
Copy Markdown

@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-1 (openXfactory-1)

FREEZE — head f7fda10e3e389bcccf0a1eb0bf686d74ddc3fdf8, 2026-09-15T21:24:09Z. Threads 14 / 0 unresolved. Six required checks SUCCESS (lane-line, openspec-cli-pin, pytest-suite, release-tag-gate, signed-execution-chain-gate, wallet-validation); also SUCCESS: former-id-arrival-gate (this slice moves no packet), clearing-dispatch-gate, merge-master-approval, openreposhape-pin, SonarCloud; Sourcery skipped. Codex: one request on b1c6a9e8, two P2 findings (§ 2.6 caller status; the fixture docstring's reported-vs-enforced) — both TAKEN in f7fda10e; no further Codex review. Copilot: rounds two and three TAKEN (7811fae5, b1c6a9e8, the body rewrite); its pass on f7fda10e at 21:08Z opened nothing. closingIssuesReferences = []. Validators at this head: pytest tests/proposal-support 199 passed / 289 subtests; openspec validate add-declared-former-id --strict valid. This pull request touches openspec/changes/: the Rule 6 landing is the orchestrator's act on Brett Heap's standing word 2026-09-15T19:00Z "Yes, land 1041 when re-frozen green".

@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-1 (openXfactory-1)

LANDING — lane openxfactory-1, session ea50c958-b384-4f43-b073-0540ec00231a@Eagle, 2026-09-15T21:24:20Z, PR #1041 into opensoft/openxFactory main

Guard at 2026-09-15T21:24:23Z on head f7fda10e3e389bcccf0a1eb0bf686d74ddc3fdf8: 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 (REALIZATION slice 6 of add-declared-former-id: docs/document-lifecycle.md § 5.3 amended, tasks ticked for slices 1-5 with § 4.5 open under its ruled disposition, README row amended, the 2026-09-15 rulings encoded; Brett Heap word 2026-09-15T19:00Z by multiple choice "Yes, land 1041 when re-frozen green"; FREEZE issuecomment-5688292672). Merge = merge commit.

@brettheap
brettheap merged commit 79ac94b into main Sep 15, 2026
14 checks passed
@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-1 (openXfactory-1)

LANDED — lane openxfactory-1, session ea50c958-b384-4f43-b073-0540ec00231a@Eagle, 2026-09-15T21:24:31Z, PR #1041 into opensoft/openxFactory main → 79ac94b

brettheap added a commit that referenced this pull request Sep 16, 2026
Archive add-declared-former-id on its merged-plus-green realization evidence (#1038 → 701c8fd, #1037 → 8f39375, #1039 → 92d519b, #1041 → 79ac94b)
brettheap added a commit that referenced this pull request Sep 16, 2026
…e had made unreproducible, and the README correction it declines, with the ruling that precedent needed

Copilot's review at `2a0e105e` (`5224043402`, 2026-09-16T14:29:34Z) generated no
new comment and carried a SUPPRESSED block of two. One names an error of fact and
is taken; one asks for an act outside this claim and is answered and registered.

1. TAKEN. The fifth-occurrence paragraph said it was named so a later reader who
   "greps for 30,410 and finds five" does not read it as one this box missed.
   MEASURED: `grep -rn "30,410" openspec/changes/split-opendox-two-layer-product/`
   returns **TWELVE** lines at this head, not five - and the amendment's own prose
   is what moved the count. The paragraph now names the grep WITH ITS SCOPE and
   decomposes the twelve exactly: seven are `tasks.md`'s own (the box's
   design-time figure, plus six lines of this STATUS's prose about it, a share
   that grows with every fix round), four are the LIVE citations named above, one
   is the RECORD named there. The five the paragraph counts are those last five -
   every occurrence OUTSIDE the box's own text, which is the scope an act that
   amends them works on. The decomposition is stated so that it reproduces: this
   round's own wording adds no new line carrying the figure, and the packet still
   returns twelve with seven in `tasks.md` after it.
2. ANSWERED AND REGISTERED, not taken. The review asked for the packet's README
   OpenSpec Records entry - still reading "IT STILL PERFORMS NOTHING" - to be
   corrected IN this landing rather than deferred, citing an entry in the same
   block that WAS amended in place by its own realization. That precedent is real
   and is now named in the file, because it is the answer: `README.md`:534's
   `add-declared-former-id` entry was amended by lane `openxfactory-1` at its own
   realization landing **on Brett Heap's word of 2026-09-15**, verbatim "Amend the
   row in #1041", recorded at `#1003` comment `5686628685` and quoted inside the
   entry. An in-place correction there is its own act on its own ruling and its
   own claim; this box has neither for that text, the staleness predates this
   amendment, and the block is the one a Rule 6 landing window exists to
   serialize. Declined on the same rule this box applies to `design.md` and
   `proposal.md`: a document is amended by the act that CLAIMS it.

`OPENSPEC_TELEMETRY=0 openspec validate split-opendox-two-layer-product --strict`
valid; `scripts/proposal-support.py . verify split-opendox-two-layer-product` ok;
boxes unmoved at 40 ticked / 31 open; one `FILL AT LANDING` line, at `:915`, the
quoted marker - re-checked because this round's own text names that instrument and
an earlier draft of it would have made the grep return two.

Refs #656 (stays OPEN).

Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 16, 2026
…c, amend the packet figure, and account for 4.1's residue (#1035)

Amendment #3 of `split-opendox-two-layer-product`'s `tasks.md` — the third in
the series (#991 → `1f068646`, #1005 → `a72f0a76`). Claim:
`#656` comment `5656686020`.

TWO BOXES, and no other line of the file is touched.

**§ 3.4 — INVENT the front-end package boundary — is TICKED**, judged met at
this amendment's own landing rather than at its authoring: the boundary was
INVENTED as `openDox-spec` `docs/front-end-package-boundary.md` (landed `#8` →
`a44ac06d`, amended `#9` → `61866d29`, `#10` → `7d12428c`, and `#11` →
`54e910735b97b326d05250100104b3af07d3f5ae`, this arc's last act, merged 2026-09-16T13:24:51Z) and REALIZED in an
eight-slice arc, every leg pull request paired under RULED Q-L1 with the
openxFactory row annotation that lands FIRST — only S1 has none, correctly,
because it creates files and edits no carved row. The slice table carries all
three pull requests and merge shas per slice, **ALL EIGHT rows now final**:
S7 and S8 were placeholders when this amendment was authored and each was
filled IN PLACE at its own landing — S7 (`#1030` → `b3a75537`, `#21` →
`1e469713`, the SIXTH holding, by 71 seconds) and S8 (`#1025` →
`e5896455`, `#19` → `0a0265f7`, `#23` → `0b4e8bbf`, the SEVENTH and last — one per
ANNOTATED slice, S1 alone exempt; ten by annotation→leg pairing, all ordered
right, the two ordinals corrected at openDox-spec #11's fix round 18). Named
with the arc, each its own claim and none a condition of the box: RULED Q6's
`re_destined:` row form (`#1011` → `880c821c`), the `retired:` row form with
the retirement of the three intent-feed suites under it, and the pin lockstep
that carries the landings into the aggregation (`#1054` → `3c614d34`).

**THE PACKET FIGURE IS AMENDED HERE**, where the boundary note defers it —
*"a packet figure is amended in the packet"*. This box's own *"40 files,
30,410 lines"* is a design-time reading no tree in the arc reproduces: the
carve commit `b075fd91` held 43 blobs / 31,068 lines (41 hand-authored /
31,066), and `views/intent-feed.js` (483 lines) did not travel — RULED
`not_moved` under OQ-F — which leaves **40 files** on the nose and **30,583**
lines, so the packet's line count is **173** short of what arrived and **656**
short of what the carve held. The FILE count was right all along, and the table's last row — openDox-code
`main` `0b4e8bbf` at 42 blobs / 31,955 lines, 40 hand-authored / 31,953, read at
this amendment's own landing — is the CHECK that the arc ended where `#21`'s
head said it would. Four further
occurrences in the packet's LIVE documents are named and NOT edited, because a
ratified document is amended by the act that claims it; a fifth, in
`review/ratification-2026-09-05.md`, is named as a RECORD no later act amends.

**§ 4.1's residue is accounted for down to the last import, and the box STAYS
OPEN.** All 23 of `design.md` § D3's inventoried outbound `doc_health` imports
now have a position — 12 at openXdox-code, 5 at openDox-code, 1 RULED to stay
at openxFactory, and **5 DISCHARGED at the § 2 seam before the carve ever
ran**, which the carve commit itself proves: `scripts/ideation_dashboard/`
carried 21 sites there, and 12 + 4 + 1 + 1 = 18 = 23 − 5, 18 + 3 = 21, closing
both ways. What the seam discharged is the outbound import SITE and not the
dependency: the `authoring` pair's now sits behind the § 2.2a seam at
`scripts/corpus_adapter_openxfactory/home.py`:59, which is lawful and is the
whole of DQ-1. The § 3.4 arc moved none of them.

**What the arc did NOT close is named**, so no later reader takes the tick for
more than it is: the fifth class-A tail's realization, `views/lens.js`'s
standing `?`, the FULL un-narrowing both legs still wait on, the THREE floor
acts (RULED Q6's `re_destined:` form and the pin lockstep, both landed, and the
`retired:` row form, which is not), and the packet's own README entry — overtaken, not corrected here, and
cited by its sentence rather than by a line number, because the README
OpenSpec Records block moves under every archival act.

FOURTEEN fix rounds are recorded in the pull-request description, every one of
them from a Copilot finding and every one accurate; rounds 6 to 12 are
corrections this amendment made to text an earlier round of its own had added,
and rounds 13 and 14 go back to the accounting the draft itself carried. They run: a residue clause that named
four citations and listed a different four; both `STATUS —` headers dated
`2026-09-14` flat while the paragraph they head records landings of 2026-09-15
and 09-16 (labelled AUTHORING SNAPSHOTS rather than re-dated, so no reader loses
which statements predate the slices they record) and a slice count the arc had
overtaken; a packet-figure table that stopped at a head the arc had passed; a
re-verification claim that named no re-run (re-run at the final heads, every
count unchanged, one line number moved and named) and a box with two
incompatible exit conditions; four precision defects in rounds 6 to 8's own
text; and at round 10 five more — a miscount of the review history itself, a
merge clock the sentence promised and did not give (openDox-spec `#11` at
13:24:51Z), an item counting two floor acts where the paragraph above it names
three, and two claims wider than the measurement under them; and at round 11 an
instrument this amendment's own prose had broken — the fifth-occurrence
paragraph's "greps for 30,410 and finds five", where a grep of the packet now
returns TWELVE lines (seven of them this file's own), so the grep is named with
its SCOPE and the twelve decomposed, the five it counts being every occurrence
outside the box's own text. Every figure re-derived from the trees at the head
that carries it, never re-read from the draft. One review finding is ANSWERED
AND REGISTERED rather than taken: the packet's README OpenSpec Records entry is
not corrected here, and the file now names the precedent for correcting one in
place — `add-declared-former-id`'s entry, amended by lane `openxfactory-1` at
its own realization landing on Brett Heap's word of 2026-09-15 ("Amend the row
in #1041", `#1003` comment `5686628685`) — which is exactly why it is not taken
here: that is its own act, on its own ruling and its own claim, landing on the
one block a Rule 6 window exists to serialize. Round 12 closes the series on the
review that recommended approval anyway: the authoring-snapshot parenthetical
still claimed a clock for EACH act it dates, and it dates twelve while carrying
four — the claim is now what it measures (dates for the arc; a clock only where
the ordering turns on one; every other clock beside its own act; S1, S3, S4, S5
and S6 named as date-only), because narrowing a claim is not the same as
measuring it. Round 13 then measured three of § 4.1's own draft statements
against the trees: `scripts/ideation_dashboard/` is NINE `.py` modules plus the
`web/` directory (ten `git ls-tree` entries), not "10 files"; the DISCHARGED
row's `serve` cell cited the SURVIVING `doc_health.corpus.RealGit` reach at the
carve's `serve.py`:618 as if it evidenced a discharge, and named openDox-code's
own `from opendox import consumer_reach` beside it, which is not a `doc_health`
site at all (the carve file does not contain the string) — both corrected, the
row's 5 and the box's 23 unchanged; and "either module is openxFactory" now
names the two candidate homes rather than implying them. Every number § 4.1
states survived its own re-measurement; what moved is which line each number is
attached to. Round 14 took three more: the pin-lockstep paragraph cited § 5.1 as
describing the two-pin invariant when § 5.1, ticked under RULING F, says
openxFactory declares only its direct upstreams and closes "No
contracts/opendox-pin.yaml and no second gitlink exist anywhere in the tree" —
a sentence the TREE has since overtaken (measured at `main` `b1df95ee`: that pin
file exists with its own `commit:` and `git ls-tree -r` returns four gitlinks,
openDox among them), so the citation now names § 4.2 alone and § 5.1's staleness
is REGISTERED for the act that claims that box rather than corrected inside this
landing; `__init__.py`:32 is a forwarding wrapper importing `.home` on the call
at `:39`, not a re-export, and the lateness is the § 2.2a seam's own point; and
round 13's "travels to the leg" is measured — `src/opendox/serve.py` arrived at
openDox-code with the Tranche-B adoption commit `30c6baf`, not in the arc, which
moved only its line number, so "the § 3.4 arc moved none of them" stands. Box count 40 ticked / 31 open — a filled placeholder
is not a tick.

REGISTERED FOR AMENDMENT #4 (#1058, open and stacked on this branch), answered on
#1035 and not carried here: § 5.1's stale "No contracts/opendox-pin.yaml and no
second gitlink exist anywhere in the tree", measured false at `main` `b1df95ee`
(that pin file exists with its own `commit:`; `git ls-tree -r` returns four
gitlinks, openDox among them) and ALREADY RULED by R-5 (Brett Heap, 2026-09-16,
#656 comment 5690428146: "§ 5.1's 'no second gitlink exists' is stale for the
same reason and takes the same amendment"), whose own consequences line names
amendment #4 as the carrier - so no new claim is needed. This amendment corrects
what it wrote and registers what it does not claim, which is the division it
applies to design.md, to proposal.md and to the packet's README entry. Gate at 18e33d3: fifteen check-runs, every one completed success or skipped (pytest-suite run 104881522133), threads 8 of 8 resolved, and Copilot fifteen review rounds - fourteen taken as fix rounds, the last two findings measured false and answered on the pull request. Landed under the Rule 6 window opened 2026-09-16T16:44:21Z, with --admin on the lane precedent of #1011, #1020, #1021 and #1023.

Refs #656 (stays OPEN).

Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants