Skip to content

Archive admit-code-leg-under-pinned-root: promote the widened gitlink carrier onto release-realization - #1174

Merged
brettheap merged 7 commits into
mainfrom
change/archive-admit-code-leg-under-pinned-root
Sep 27, 2026
Merged

brettheap merged 7 commits into
mainfrom
change/archive-admit-code-leg-under-pinned-root

Conversation

@brettheap

@brettheap brettheap commented Sep 27, 2026 •

Copy link
Copy Markdown
Contributor

Lane: openxfactory-5 (openXfactory-5)

Closes #1150

Refs #1156
Refs #1163
Refs #1165
Refs #1168 (its one commit, 4b5290b4, is carried here unchanged)

What

ARCHIVE of admit-code-leg-under-pinned-root through the governed wrapper, on merged-plus-green realization evidence, on Brett Heap's archive word.

  • The archive act (293ca89f): TZ=UTC python3 scripts/proposal-support.py . archive admit-code-leg-under-pinned-root --yes, exit 0, over the content-addressed @fission-ai/[email protected] pin (not the 1.13.1 on PATH). Decisive lines: ORIGIN RETAINED admit-code-leg-under-pinned-root (declaration unchanged since the ratifying commit daca0b898e37), Applying changes to openspec/specs/release-realization/spec.md: ~ 1 modified, Totals: + 0, ~ 1, - 0, → 0, Change 'admit-code-leg-under-pinned-root' archived as '2026-09-27-admit-code-leg-under-pinned-root'. The packet moves to openspec/changes/archive/2026-09-27-admit-code-leg-under-pinned-root/ as five R100 pure renames.
  • The archive date is the wrapper's clock rule, not a choice: --date was not passed, so the wrapper took utc_today() (datetime.now(timezone.utc)), 2026-09-27, ran the pinned CLI (which has no date option) under TZ=UTC, and asserted after the run that the directory the CLI named carries that date. The run started 2026-09-27T00:42:19Z; the adding commit 293ca89f carries the same UTC day (archive-date-vs-commit). This PR must land by MERGE COMMIT, never squash.
  • The promotion, measured on both sides: ONE ## MODIFIED block, The estate's repositories are enumerated in a governed inventory, onto openspec/specs/release-realization/spec.md. Canon's block before: 12,297 B / 160 L / 8 scenarios (sha256 3020c2c916df22bb…); after: 19,044 B / 230 L / 11 scenarios, sha256 0bbd1aa2d631e8cf… on BOTH the archived delta and canon. Requirements 21 → 21, scenarios 122 → 125; canon's preamble and the other twenty requirement blocks raw byte-identical (hashed one by one; every hunk lies inside the promoted block); --numstat +71 −1, -w the same. What moved: the ONE re-wrapped gitlink bullet line (the new sentence admitting a PINNED ASSEMBLY ROOT as a carrier, read at the commit openxFactory's own pin names), the TWO added paragraphs (the carrier bound, carrying the R1-amended direct hop sentence from Amend the one-hop parenthetical of admit-code-leg-under-pinned-root to the direct hop rule (R1) #1165 → b5ec3899: "A pinned row that is not itself admitted by a pin, and every row a pinned root's gitlink admits whether or not it also carries a pin of its own, SHALL carry no row's gitlink"; and the pinned-commit read), the Removed from canon by marker naming the replaced bullet, the **AMENDED BY** note, and the THREE added scenarios. The pre-amendment parenthetical appears nowhere in canon. The CLI diverged from the delta nowhere.
  • Origin retained with no record owed: .openspec.yaml was last touched by the ratifying commit daca0b89; openspec/origin-dispositions.yaml is not edited.
  • The carried ticks: 3988c4c0 is Record admit-code-leg-under-pinned-root § 3.5 and § 4 realization evidence at 1c6662e7 #1168's 4b5290b4 cherry-picked clean (tasks.md only; the resulting blob bf9e9c31 is identical to Record admit-code-leg-under-pinned-root § 3.5 and § 4 realization evidence at 1c6662e7 #1168's; message and trailers unchanged): § 3.5 and § 4.1-4.4 evidence at the realization head. 248e006e ticks § 5.1-5.3 (§ 5.2 before the run, because the wrapper refuses an open box with "change has incomplete tasks"); a7aaa726 records the wrapper's run under § 5.2. § 6's six - [~] boxes stay - [~].
  • The records: README OpenSpec Records bullet moves from Active to the head of Archived, naming this PR; the per-change sweep-ledger row moves active → archived (seeded after this PR existed).
  • No _LEDGER_SUBJECTS row in tests/doc-health/test_modified_block_currency_self_gate.py names this block, so no self-gate row retires.

Merged-plus-green evidence (cited, re-read with gh): packet #1156 → daca0b89 (2026-09-25T13:21:58Z); realization #1163 → 1c6662e7 (2026-09-25T14:47:44Z, squash from 65565eef); R1 amendment #1165 → b5ec3899 (2026-09-26T21:52:36Z); pytest-suite SUCCESS on main at 1c6662e7 itself (run 36149875028) and at b5ec3899 (run 36274413446); daca0b89 → 1c6662e7 → b5ec3899 checked with git merge-base --is-ancestor.

The word

Brett Heap, 2026-09-27, approximately 00:32Z, in the lane's terminal to lane openXfactory-5 (session b254fdd5), verbatim: "archive it when the draft is up". RULED against opensoft/openxFactory#1150 in opensoft/brett-wip lanes/log/openXfactory-5.md at 2026-09-27T00:32:46Z (brett-wip commit 7bbff3ab). No GitHub comment carries the word; that register entry and this citation are how it survives.

Gates

Every gate below was run from this branch's own tree (FULL clone, never partial) at head 08b1e971 unless it says otherwise; "main" means a separate FULL clone of origin/main at 79a720a2, this branch's merge-base and still main's head at the time of the runs (same-kind checkouts, no git worktree).

  • python3 scripts/validate-openspec-cli-pin.py --all (the adjudicated gate) — rc 0: Totals: 110 passed, 1 failed (111 items); openspec-cli-pin: DISPOSITIONED FINDINGS in openxFactory (1 applied): ✗→D add-chain-attestation / signed-execution-chain/spec.md (accepted by Brett Heap, 2026-09-05, "take exit 2"); OK openspec-cli-pin: @fission-ai/[email protected] verified against its content address; every target validated --strict with 0 UNDISPOSITIONED failures. Main: rc 0, Totals: 111 passed, 1 failed (112 items), the same one dispositioned finding. One item fewer here because this change is no longer active.
  • python3 scripts/validate-sequenced-after.py . (PLAIN) — candidate rc 0: sequenced_after validation passed (45 active changes, 18 declaring the field). / archive-date agreement passed (no archived row's moved_on predates its directory). / archive-date-vs-commit agreement passed (every archived directory is named for the UTC date of the commit that added it, or is dispositioned in place; 13 disposition(s) in force, enforcement error). Main rc 0: the same three lines with 46 active changes, 19 declaring the field.
  • python3 scripts/validate-sequenced-after.py . --ledger-diff — rc 0: per-change sweep ledger consistent with the corpus (229 rows). Before 5216c704 it reported exactly 4 stale findings: this packet's row (active vs live archived) and the three derived totals it caused (active 46 → 45, archived 183 → 184, active_co_modified 27 → 26). The seed moved exactly that one row (229 rows, 1 moved by #1174); no partner row flipped.
  • python3 scripts/doc-health.py --single-repo . — candidate and main give the SAME findings: Findings: 31 critical, 22 error, 49 warning, 21 info. New regressions vs previous report: 0. on both, the same six skipped families on both. A full diff of the two reports (repo label normalized) is exactly two lines: Canon share by words: 39.7% (377996 canon words …) → 39.8% (379157 canon words …), and the promoted-specs word count 274820 → 275981 (+1,161, the promoted block's added text). No new critical or error; modified-block-currency reports identically on both sides (the replaced gitlink bullet is declared by the block's own Removed from canon by marker, now promoted with it).
  • python3 scripts/validate-code-surface.py . — rc 0: code_surface: 45 active proposals, 45 declaring — 8 `none`, 30 a repository list, 7 named by the register, 0 outside the grammar. / membership: 30 readable heads naming 8 distinct identifiers — 8 carried by the estate inventory (37 rows), 0 refused, … / code_surface validation passed …
  • python3 scripts/validate-estate-inventory.py . — rc 0: estate inventory: 37 repositories — 26 governed, 10 pinned, 1 external; 1 provisional. / gitlink rows: 34 — 0 named in a VERIFIED supplied tree, 0 absent from one, 34 NOT RE-CHECKED … / estate inventory validation passed (every in-tree admission is named by this working tree). And with the two roots supplied (--estate-tree opensoft/openDox=openDox --estate-tree opensoft/openXdox=openXdox, submodules initialized at their gitlinks): rc 0, gitlink rows: 34 — 4 named in a VERIFIED supplied tree, 0 absent from one, 30 NOT RE-CHECKED, openDox read at dc7aa08f… and openXdox at 069fe471…, each naming its spec and code legs.
  • Closing-keyword scan over every commit message 79a720a2..08b1e971 (6 commits) with /bin/grep -niE '\b(close|closes|closed|fix|fixes|fixed|resolve|resolves|resolved)\b[[:space:]]*:?[[:space:]]*(opensoft/openxFactory)?#[0-9]+' — rc 1 (no match). closingIssuesReferences = [#1150].
  • Full suite (python3 -m pytest tests/ -q -m "not postgres" -p no:cacheprovider, submodules initialized as pytest-suite does, the pinned CLI 1.12.0 first on PATH) — RUNNING; the summary is recorded here when it completes.

Held for

DRAFT — held for the coordinator's merge-commit landing under Rule 6 on Brett Heap's word 'archive it when the draft is up' (2026-09-27)

🤖 Generated with Claude Code

Summary by Sourcery

Archive the completed pinned-root code-leg admission change and promote its amended inventory contract into release-realization.

New Features:

  • Extend release-realization inventory rules to recognize code legs carried one hop beneath pinned assembly roots, with bounded admission and pinned-commit evidence requirements.

Enhancements:

  • Promote the amended release-realization requirement and archive the completed change packet after merged-plus-green realization evidence.

Tests:

  • Record and validate the realization evidence, archive metadata, and sequenced-after ledger transition for the archived change.

brettheap and others added 4 commits September 27, 2026 00:38
…dence at 1c6662e

Ticks openspec/changes/admit-code-leg-under-pinned-root/tasks.md § 3.5 (no
other file moves, shown by the squash commit's own diff) and § 4.1-4.4
(pytest-suite green, both validators exit 0, design.md D0.1/D0.2 RE-MEASURED
against the pins as they now stand rather than copied from drafting, and the
supplied-tree run naming all four leg rows), each measured fresh at the
realization head 1c6662e (#1163) and dated in
the house form § 3.1-3.4 already used. No drift found since design.md's own
already-recorded post-#1157 re-measurement of the openXdox pin. § 5 (archive)
stays open on its own word, behind the R1 amendment (#1165); this is a DRAFT
held for Brett Heap's word.

Lane: openxfactory-5 (openXfactory-5)
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Refs #1150
…d of 2026-09-27

On Brett Heap's archive word, verbatim "archive it when the draft is up"
(2026-09-27, approximately 00:32Z, in the lane's terminal to lane
openXfactory-5, session b254fdd5; RULED in opensoft/brett-wip
lanes/log/openXfactory-5.md at 2026-09-27T00:32:46Z against #1150,
brett-wip commit 7bbff3ab).

tasks.md § 5.1 records the merged-plus-green realization evidence the
non-empty code_surface requires, each leg cited: the packet #1156 ->
daca0b8, the realization #1163 -> 1c6662e (squash from 65565ee), the R1
amendment #1165 -> b5ec389, and pytest-suite SUCCESS on main at 1c6662e
itself (run 36149875028) and at b5ec389 (run 36274413446), with the
ancestry chain checked by git merge-base --is-ancestor.

§ 5.2 is ticked BEFORE the run because the governed wrapper refuses an open
box ("change has incomplete tasks"); the promotion itself is the wrapper's
act in the next commit, which moves this directory and records the
wrapper's decisive lines and the two-sided hash under § 5.2.

§ 5.3 records that the one keyword that shuts #1150 is placed in the
archive pull request's body and in no commit message, scanned: 0 matches
over this branch, over the 18 commits of #1156, #1163, #1165 and #1168,
and over their squash commits.

§ 5's heading records the word. §§ 1-4 and § 6 are untouched; § 6's six
- [~] boxes stay - [~].

Refs #1150

Lane: openxfactory-5 (openXfactory-5)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
… carrier onto release-realization

On Brett Heap's archive word, verbatim "archive it when the draft is up"
(2026-09-27, approximately 00:32Z, in the lane's terminal to lane
openXfactory-5, session b254fdd5; RULED in opensoft/brett-wip
lanes/log/openXfactory-5.md at 2026-09-27T00:32:46Z against #1150,
brett-wip commit 7bbff3ab). code_surface is non-empty, so under
release-realization the packet archives on merged-plus-green realization
evidence, which is in hand: the packet landed as #1156 -> daca0b8 and its
R1 amendment as #1165 -> b5ec389; the realization landed as #1163 ->
1c6662e (squash from 65565ee); and pytest-suite decided SUCCESS on main
at 1c6662e itself, run 36149875028, and at b5ec389, run 36274413446
(https://github.com/opensoft/openxFactory/actions/runs/36149875028).

Performed through the governed wrapper, never a bare openspec archive:

    TZ=UTC python3 scripts/proposal-support.py . archive \
        admit-code-leg-under-pinned-root --yes

exit 0: "ORIGIN RETAINED admit-code-leg-under-pinned-root (declaration
unchanged since the ratifying commit daca0b8)", "Totals: 1 passed, 0
failed (1 items)", "Task status: Complete", "Applying changes to
openspec/specs/release-realization/spec.md: ~ 1 modified", "Totals: + 0,
~ 1, - 0, -> 0", "Change 'admit-code-leg-under-pinned-root' archived as
'2026-09-27-admit-code-leg-under-pinned-root'", "NO SUPPORTING DOCS ...
(origin retained, nothing to package)", over the content-addressed
@fission-ai/[email protected] pin and not the 1.13.1 on PATH. THE DATE IS
THE WRAPPER'S CLOCK RULE AND NOT A CHOICE: --date was not passed, so the
wrapper took utc_today() (datetime.now(timezone.utc)), 2026-09-27, ran the
pinned CLI (which has no date option) under TZ=UTC, and asserted after the
run that the directory the CLI named carries that date. The run started
at 2026-09-27T00:42:19Z; this commit is the directory's adding commit and
carries the same UTC day, which is what archive-date-vs-commit measures.

ORIGIN RETAINED WITH NO RECORD OWED: the origin block has not moved since
the ratifying commit daca0b8 (the only commit that ever touched
.openspec.yaml), so openspec/origin-dispositions.yaml is not edited.

THE PROMOTION IS THE DELTA AS WRITTEN, measured on both sides: the block
extracted by its heading from the archived delta and from canon, and
hashed. release-realization is the only capability the delta touches. The
MODIFIED block "The estate's repositories are enumerated in a governed
inventory" was 12,297 bytes / 160 lines / 8 scenarios in canon (sha256
3020c2c916df22bb...) and is now 19,044 bytes / 230 lines / 11 scenarios,
sha256 0bbd1aa2d631e8cf... on BOTH the archived delta and canon. It carries
the R1 amendment's direct hop sentence (#1165) and not the pre-amendment
parenthetical, which appears nowhere in canon. Requirements 21 -> 21,
scenarios 122 -> 125; canon's preamble and the other twenty requirement
blocks are raw byte-identical, hashed one by one, every hunk lying inside
the promoted block; --numstat +71 -1, and -w the same. The CLI diverged
from the delta nowhere.

The five packet files move as R100 pure renames. Also in this commit: the
README OpenSpec Records bullet moves from Active to the head of Archived,
its pull-request link the ARCHIVE-PR-NUMBER-PENDING marker that a later
commit replaces once the pull request exists. No modified-block-currency
_LEDGER_SUBJECTS row names this block, so no self-gate row retires. The
record of this run under tasks.md § 5.2 follows in the next commit, so
this one carries exactly the wrapper's moves plus the README record.

The one keyword that shuts #1150 sits in the archive pull request's body
and in no commit message.

Refs #1150
Refs #1156
Refs #1163
Refs #1165
Refs #1168

Lane: openxfactory-5 (openXfactory-5)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The previous commit (293ca89) is the governed wrapper's act and carries
exactly what it moved plus the README record. This commit writes that
run's record into the box the wrapper needed ticked before it ran:
tasks.md § 5.2 now carries the exact command, exit 0, the decisive lines
("ORIGIN RETAINED ... daca0b8", "~ 1 modified", "Totals: + 0, ~ 1,
- 0, -> 0", "archived as '2026-09-27-admit-code-leg-under-pinned-root'"),
the archive directory's name and why it carries 2026-09-27, the origin
retained with no record owed, and the two-sided measurement of the
promoted block (12,297 B / 160 L / 8 scenarios -> 19,044 B / 230 L / 11
scenarios, sha256 0bbd1aa2d631e8cf... on both the archived delta and
canon; requirements 21 -> 21, scenarios 122 -> 125; the other twenty
blocks raw byte-identical; numstat +71 -1) with the R1 direct hop sentence
quoted. § 5's heading moves from GIVEN to PERFORMED 2026-09-27.

tasks.md only; nothing else in the archive directory, canon or the README
moves.

Refs #1150

Lane: openxfactory-5 (openXfactory-5)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Copilot AI lite review requested due to automatic review settings September 27, 2026 00:46
@sourcery-ai

sourcery-ai Bot commented Sep 27, 2026

Copy link
Copy Markdown

Reviewer's Guide

This PR archives the completed admit-code-leg-under-pinned-root change via the pinned governed wrapper, promotes its amended pinned-root gitlink rules into release-realization canon, and preserves detailed evidence that realization was merged and green before the separately authorized, UTC-dated archive act.

Sequence diagram for governed realization archive

sequenceDiagram
    participant Operator
    participant Wrapper as GovernedWrapper
    participant CLI as OpenSpecCLI_1_12_0
    participant Canon as ReleaseRealizationCanon
    participant Archive as ArchivedChange

    Operator->>Wrapper: archive_change(admit-code-leg-under-pinned-root)
    Wrapper->>Wrapper: utc_today()
    Wrapper->>CLI: archive(admit-code-leg-under-pinned-root)
    CLI->>Archive: move packet to dated archive directory
    CLI->>Canon: promote modified requirement block
    Canon-->>CLI: validate strict
    CLI-->>Wrapper: archive completed
    Wrapper-->>Operator: exit 0, date matches UTC archive directory
Loading

Flow diagram for merged-plus-green archive authorization

flowchart LR
    Packet[Packet ratified and landed] --> Realization[Realization merged]
    Realization --> Green[pytest-suite succeeds at realization heads]
    Green --> Word[Brett Heap: archive it when the draft is up]
    Word --> Wrapper[Run governed archive wrapper]
    Wrapper --> Archive[UTC-dated archive by merge commit]
    Archive --> Canon[Promote amended release-realization block]
Loading

File-Level Changes

Change Details Files
Archives the completed admit-code-leg-under-pinned-root packet through the governed wrapper and records the archive evidence and provenance.
  • Moves the five packet files into the UTC-dated archive directory as pure renames.
  • Records wrapper, pinned CLI, origin-retention, archive-date, merge-commit, and issue-closing constraints.
  • Moves the change’s README and sweep-ledger entries from active to archived.
README.md
openspec/changes/archive/2026-09-27-admit-code-leg-under-pinned-root/tasks.md
Promotes the pinned assembly-root gitlink amendment into release-realization canon.
  • Allows a pinned assembly root’s pinned-commit .gitmodules to act as a one-hop gitlink carrier.
  • Adds bounds for pin uniqueness, governance class, external carriers, nested gitlink refusal, and no-network evidence reads.
  • Adds three scenarios and records the replaced canonical bullet and amendment provenance.
openspec/specs/release-realization/spec.md
Captures merged realization, validation, and archive-run evidence in the change task record.
  • Ticks realization and archive tasks with commit ancestry, test results, inventory/code-surface validation, supplied-tree checks, and CI runs.
  • Records the exact governed-wrapper invocation and verifies the promoted block matches canon byte-for-byte.
  • Documents that issue Estate inventory: admit a code leg nested under a pinned assembly root #1150 closes only through the archive PR body on merge, with no closing keyword in commits.
openspec/changes/archive/2026-09-27-admit-code-leg-under-pinned-root/tasks.md

Assessment against linked issues

Issue Objective Addressed Explanation
#1150 Allow the estate inventory to admit a code leg whose repository is nested in the .gitmodules of a pinned assembly root, using the root's own pin as the evidence of reach without requiring a separate pin or mount for the leg. ✅
#1150 Define and enforce the admission and evidence constraints for pinned-root gitlinks, including one-hop traversal, a pinned carrier admitted by exactly one pin, no governed classification for the leg, and rechecking the carrier's .gitmodules at the pinned commit without network access. ✅
#1150 Promote the widened gitlink-carrier behavior into the canonical release-realization specification and archive the completed change with verification evidence. ✅

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

brettheap and others added 2 commits September 27, 2026 00:47
python3 scripts/validate-sequenced-after.py . --seed-ledger --moved-by
'#1174' --moved-on 2026-09-27 moves admit-code-leg-under-pinned-root's
row from active to archived (moved_by #1174, moved_on 2026-09-27, the
date its archive directory carries), the one row this archive touches:
"wrote tests/sequenced_after/corpus-ledger.yaml (229 rows, 1 moved by
#1174)". Its class stays co-modifier (the archived
add-estate-repository-inventory still writes the same requirement key)
and declares stays []; no partner row flips. --ledger-diff now reports
the ledger consistent with the corpus (229 rows), exit 0; before this
commit it reported 4 stale findings (the row itself plus the three
derived-total mismatches it caused: active 46 -> 45, archived 183 ->
184, active_co_modified 27 -> 26).

Refs #1150

Lane: openxfactory-5 (openXfactory-5)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The archived bullet for admit-code-leg-under-pinned-root carried a
PR-number placeholder in both the link text and the URL
(`PR #ARCHIVE-PR-NUMBER-PENDING`, `.../pull/ARCHIVE-PR-NUMBER-PENDING`)
pending the archive pull request's existence. It now exists as PR #1174;
both occurrences are replaced with `PR #1174` and `.../pull/1174`.

Refs #1150

Lane: openxfactory-5 (openXfactory-5)
Co-Authored-By: Claude Opus 5.5 <[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.

Copilot review overview

🟡 Changes recommended

Replace the unresolved ARCHIVE-PR-NUMBER-PENDING placeholder with the actual archive PR number.

Review effort: Lite
Findings: 1 Low severity

Open (1)
What changed in this PR

Archives the pinned-root admission change and promotes its amended release-realization requirements into canon.

Changes:

  • Moves the change packet to the dated archive.
  • Promotes widened pinned-root gitlink rules.
  • Updates lifecycle, ledger, and verification records.
File Summary
tests/​sequenced_after/​corpus-ledger.yaml Records the archived lifecycle state.
README.md Updates active and archived records.
openspec/​specs/​release-realization/​spec.md Promotes the amended requirement.
openspec/​changes/​archive/​2026-09-27-admit-code-leg-under-pinned-root/​tasks.md Records completion and archive evidence.
openspec/​changes/​archive/​2026-09-27-admit-code-leg-under-pinned-root/​specs/​release-realization/​spec.md Preserves the promoted delta.
openspec/​changes/​archive/​2026-09-27-admit-code-leg-under-pinned-root/​proposal.md Archives proposal history.
openspec/​changes/​archive/​2026-09-27-admit-code-leg-under-pinned-root/​design.md Archives design evidence.
openspec/​changes/​archive/​2026-09-27-admit-code-leg-under-pinned-root/​.openspec.yaml Preserves origin metadata.

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

Comment thread README.md Resolved
Copilot AI review requested due to automatic review settings September 27, 2026 00: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.

Copilot review overview

🔵 Needs a closer look

The broad archival and canonical-specification changes warrant final human review.

Review effort: Lite
Findings: None

Resolved since last review (1)

…he run

§ 5.2 was ticked before the wrapper ran (248e006), saying the run would
be "recorded below in that same commit" as the move. It was recorded in
the commit AFTER the move instead (a7aaa72), so that the move commit
(293ca89) carries exactly what the wrapper moved plus the README record.
The phrase now reads "recorded below in the commit after it". One line of
a non-normative record; nothing else moves.

Refs #1150

Lane: openxfactory-5 (openXfactory-5)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Copilot AI review requested due to automatic review settings September 27, 2026 01:05

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.

Copilot review overview

🔵 Needs a closer look

It combines canon promotion, archival, and provenance changes across multiple records, warranting final human review.

Review effort: Lite
Findings: None

@sonarqubecloud

Copy link
Copy Markdown

@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-5 (openXfactory-5)

LANDING — lane openXfactory-5, session b254fdd5-0bdf-44e0-bb45-5a780234009f@Eagle, 2026-09-27T01:39:31Z, PR #1174 into opensoft/openxFactory main

@brettheap
brettheap marked this pull request as ready for review September 27, 2026 01:39
@brettheap
brettheap merged commit b060d40 into main Sep 27, 2026
14 checks passed

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

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

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

@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-5 (openXfactory-5)

LANDED — lane openXfactory-5, session b254fdd5-0bdf-44e0-bb45-5a780234009f@Eagle, 2026-09-27T01:39:48Z, PR #1174 into opensoft/openxFactory main → merge b060d40; Archive admit-code-leg-under-pinned-root: promote the widened gitlink carrier onto release-realization

@brettheap
brettheap deleted the change/archive-admit-code-leg-under-pinned-root branch September 27, 2026 03:06
brettheap added a commit that referenced this pull request Sep 27, 2026
…e analyze, raise R1Q26 and R1Q27 (#1176)

Lane: openxfactory-4 (openXfactory-4-openDox_extraction)

## What this is

Plan 034's round-2 bookkeeping: **T019, T009 and T069**, in one PR, with the
one `/speckit-analyze` run over the result. Brett Heap answered the fourteen
open clarify questions, and RN-1, on `#656`, comment `5850003126`
(2026-09-26T21:23:03Z), verbatim: *"go with recommendations on all the open
questions"*. This PR encodes each answer as the option `clarify-questions.md`
recommended, re-plans the parts they govern, and records the analyze in
`specs/034-opendox-standalone-operation/evidence/analyze-round-2.md`.

- It adds no code, moves no pin, and touches no `openspec/` path: `git diff
  --stat origin/main -- openspec/` is empty. No file of #1144 changes. The
  #1144 lines the answers amend are T007's batches F, G, H and I, each its own
  bookkeeping PR under a Rule 6 window.
- Besides the feature directory, it changes one line: the feature's entry in
  the README's Documentation index. That entry sits outside the OpenSpec
  Records block, so this PR needs no Rule 6 window.
- It is bookkeeping, so no commit carries an `Arc:` trailer (R1Q20 (a),
  `5817152735`).
- The branch started from `79a720a2` (#1170, RN-1's batch D) and has merged
  `main` at `b060d400` (#1174).

The holder lands it, on Brett Heap's word as the holder relays it: *"land the
phase 1 follow-on bookkeeping PR when green"*.

## Two new questions for Brett: R1Q26 and R1Q27, answered since

The analyze found two places where the answers do not settle what the
realization must do. Both are in `clarify-questions.md` with their
measurements and options, and neither is answered by assumption. They hold
four phase-2 tasks, T059, T060, T061 and T066, through `Blocked by:` lines,
and T063, T064 and T065 follow those four through their `After:` lines.
T067, the third round, encodes the answers, and T007's batch I records the
#1144 lines they amend. Phase 1, and phase 2's openDox-side slices, do not
wait on them.

**Brett Heap has since answered both (a)**, on `#656`, comment `5851950767`
(2026-09-27T02:25:29Z): *"(a) Admit the two edits (Recommended)"* and *"(a)
Own three, others by tree (Recommended)"*. This PR does not encode the
answers. T067 does, in its own bookkeeping PR once this one lands, so the
second analyze pass below is dispositioned against the text it read. When
the second pass found a route R1Q26 had not listed (W2-10), it was put to
Brett on 2026-09-27, and he kept (a): *"Keep (a) as ruled (Recommended)"*.

- **R1Q26.** R1Q11 (a) puts the governed snapshot values in openXdox's
  `DISPLAY` facet, in a `values` block (T060). `tests/test_gate_loop_views.py`,
  one of the sixteen suites 12.5's falsifier protects, pins that facet, so two
  of its tests go red, one at T060's landing and one at T059's pin. An arc
  landing may not edit that suite, and R1Q7 (a)'s allow-list admits only
  respellings. openxFactory's own profile composes only the facet's `stages`,
  and its facet test asserts it. **Recommended (a)**: batch I amends 5.3a and
  12.5's falsifier to admit the two edits, each with its reason, as batch F
  does for F7.1, and T066 composes `values` in openxFactory at both pins.
- **R1Q27.** 7.3 narrows the consumer's validator to its three schemas (T061).
  openxFactory's `contracts/manifest.yaml`, its cross-reference validator and
  its contracts README name that script as the validator of openxFactory's
  own four kinds. **Recommended (a)**: the validator checks its own three from
  its installed distribution everywhere, and the other kinds only where the
  tree it runs from supplies their schemas, as openxFactory's farm does today,
  so no contract row changes.

## T019: phase 1's openXdox-code tail (R1Q14 (a), R1Q24 (a), R1Q25 (b))

- **R1Q25 (b).** 7.3 stays in phase 2, as the ruled release map has it. T061
  leaves phase 1 and follows T059, whose pin brings openDox's own validator
  (T057, T058). F7.1 closes at T063. Until T061 lands, phase 1's
  openXdox-code check declares `tests/test_snapshot.py` in the exclusion with
  its own reason (T043), and T061 clears the entry.
- **R1Q24 (a).** T041's exclusion admits four reasons: `doc_health`,
  openxFactory's status-exemption rail, openxFactory's contracts, and the
  consumer's schemas until 7.3. T043's triage at T040's pin enters each file
  with its own. The direction arc (T008) takes the rail and contracts classes.
- **R1Q14 (a).** 7.3 governs the lookup. Batch F admits F7.1's two edits to
  F5.2's allow-list. **T066**, a new non-arc openxFactory act before T064,
  sends openDox's kinds to openDox's validator and relaxes the seal test to
  "never the sealed copy", in a form that holds at both pins. It waits on
  R1Q26 and R1Q27.
- 9.2's whole-suite check lands in phase 1, and the box closes in phase 3,
  which batch F records beside the map.

## T009: phase 2 (R1Q10 (a), R1Q11 (a), R1Q12 (a), R1Q13 (a) with (c), R1Q23 (a))

- A neutral snapshot schema in openDox-spec, which joins as a sixth
  repository (T053), and a `dox-v1.x` bundle at the openDox root.
- `SNAPSHOT_VALUES`' defaults become the neutral values (T054), and the
  governed values move to openXdox's facet (T060, held by R1Q26).
- openDox's validator takes its spec leg's four kinds as digest-checked
  package data (T057). The malformed fixture breaks a neutral-schema rule.
- A neutral `stage:` key, a small default field set, and sources with derived
  groups (T050, T054). T054 names its topic rule, tests it on a repository
  with no front matter, and reads an unknown `stage:` value as a source.
- An openDox default for every consumer mechanism on release 1's path, and
  openXdox's governed ones through the same seams (T052, T055, T059).
- F5.2's environment composes openxFactory's `scripts/` at a named commit.
- Phase 2 is re-planned, with its own writer slices (P2-S … P2-M).

## T069: phase 3 (R1Q15 (b), R1Q16 (i)–(iv), R1Q17 (b), R1Q18 (a), R1Q19 (a); R1Q21 (a) recorded)

- The documented command is `pip install "opendox[local]"`, then `opendox
  generate-and-open --local …`. F10.1 and F13.1 install `.[local]`, and T075
  follows T072 and batch H so that its F10.1 fetch can pass.
- The bundled PostgreSQL server is the document server's child, and it stops
  with the entry point (T072, T073, T095).
- A built-in `env:` and keyring resolver in `doxbench_provider.py`, and the
  auth kind `none` (T080).
- The lens's seed actions are capability-gated (T088).
- Release 2 is its own Speckit feature (R1Q21 (a)).
- Phase 3 is re-planned, with its own writer slices (P3-I … P3-M).

## Analyze (`evidence/analyze-round-2.md`)

**CRITICAL: 0.** The author and an independent Opus verifier each ran
`/speckit-analyze` over `a241bb3a`, the encoding commit. The author found
1 HIGH, 4 MEDIUM and 7 LOW, and the verifier 4 HIGH, 8 MEDIUM and 14 LOW.
Seven were found by both, so the two passes give 31 rows (5 HIGH, 10
MEDIUM, 16 LOW), and the author found one more MEDIUM, U2-13, while carrying
them, so the record's tables hold 32. Every finding is dispositioned in the
record.

- Two HIGH findings are R1Q26 and R1Q27. The verifier counted CRITICAL 0 on
  the condition that they are raised and the four tasks carry `Blocked by:`
  lines, which this PR does. plan.md § Complexity Tracking records the four
  held tasks as the plan's one workflow deviation.
- The other HIGH findings: T075 and T056 quoted an F10.1 they could not pass
  at landing (V2-3); T054 quoted F5.3, which reaches the consumer's generator
  until T055 (V2-4); and batch H's 13.4 row carried a rule no answer rules
  (U2-1, V2-6).
- U2-13: batch G carried 5.3a's `values` block, which R1Q26 (b) would undo,
  so that line moves to batch I, and the checkpoint T063 follows batch I.

**The second pass.** A second independent Opus verifier ran `/speckit-analyze`
over `9fb6baa7` and found **CRITICAL 0**, HIGH 0, MEDIUM 4 and LOW 16 (W2-1 to
W2-20). Copilot's review of the same commit raised one more, CP2-1 (the thread
on `spec.md`, fixed in `309481e8`). `d4a314f1` dispositions the rest, and the
record's § "The second pass" lists every one.
- W2-1: T064's text now defers to T066, so, like T063 and T065, it is held
  by its `After:` line alone, which tasks.md § Format now states.
- W2-2, W2-3, W2-8, W2-9: R1Q26 and R1Q27 gain corrections after the answer.
  The text Brett was asked is left as it was put, and no correction bears on
  his answer.
- W2-4: T056's falsifier adds the verb's half of the `stage:` edge case.
- W2-14: T052 joins the `serve.py` and `cli.py` single-writer chains, in
  plan.md and in the persisted chain tools.
- The rest are wording, counts, coverage rows and two slice-table cells.

## Two readings for Brett

Two lines are the plan's own, and no answer rules them. Both fail closed
(Principle VII), batch H writes neither into #1144, and the record lists them
so that Brett can overrule either:
- T070 refuses a `--local` flag and an `OPENDOX_INSTALL_MODE` setting that
  disagree, naming both.
- T080 refuses a `broker_argv` given beside a reference that the built-in
  resolver takes, so each record has one resolver.

## Checks run on the head

Run in the lane's own clone at `d4a314f1`:
- `OPENSPEC_TELEMETRY=0 openspec validate --all --strict`: `110 passed, 1
  failed (111 items)`. The failure is `add-chain-attestation`, an accepted
  disposition, and `scripts/validate-openspec-cli-pin.py --all` prints `0
  UNDISPOSITIONED failures`.
- `scripts/validate-document-catalog.py` (`0 error(s), 0 warning(s)`) and
  `scripts/validate-pin-registrations.py` pass.
- The plan-consistency tools pass:
  - `headers checked: 27 of 27; mismatches: 0`;
  - no cycle in the `After:` graph, and none with the Lands-with groups
    merged (90 tasks; 99 nodes, since T007's nine batches are nodes of their
    own; 216 edges);
  - `arrow mismatches: 0` of 69;
  - every task comes before its phase's checkpoint;
  - `single-writer chain gaps: 0` (41 pairs, 25 DIRECT and 16 transitive,
    each through a printed path, with T052 in the `serve.py` and `cli.py`
    chains);
  - `sharedfiles.py` prints 53 shared pairs, and only the 4 known phase-1
    pairs are NOT ORDERED, each ordered by a single-writer chain.
- The added lines hold no host-absolute path, no credential and no closing
  keyword, and no commit carries an `Arc:` trailer.
- At `9fb6baa7`, a local subset of `pytest-suite` (`tests/intent-compliance`,
  `tests/scope_globs`, `tests/citation_remainder`, `tests/conformance-gate`
  and two doc-health modules) gave `646 passed` and 7 failures, all on
  `CarveReachUnavailable`. The same 7 fail on `main` at `b060d400` in the same
  clone, which has no pinned legs, so they are the clone's, not this PR's.
  `309481e8` and `d4a314f1` change only Markdown in the feature directory. CI
  runs the whole suite with the legs.

## Persisted tools

The plan-consistency checks, widened for round 2 (`qmap.py` and `qcheck.py`
to R1Q27 and every answer form, `aftergraph.py` to batches A–I, the chains to
thirteen with T058 and T072, and `sharedfiles.py` to phases 1–3), are
persisted to the lane's workspace repository, `opensoft/brett-wip`, in its
lane-4 tool directory, with their README and the lane's PROGRESS note:
`opensoft/brett-wip` commit `4be5de8b`. The second pass's T052 in both chains
(W2-14) is `opensoft/brett-wip` commit `c88316bd`.

🤖 Generated with [Claude Code](https://claude.com/claude-code)


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.

Estate inventory: admit a code leg nested under a pinned assembly root

2 participants