Skip to content

GATED (runbook Phase 1 COMPLETE, step 1.6 INCLUDED) — slice B1: the decision-core pin, the workflows, the operator tools (42/15) - #801

Merged
brettheap merged 16 commits into
mainfrom
realize/codexfactory-identity-b1
Sep 9, 2026
Merged

brettheap merged 16 commits into
mainfrom
realize/codexfactory-identity-b1

Conversation

@brettheap

@brettheap brettheap commented Sep 8, 2026 •

Copy link
Copy Markdown
Contributor

Lane: provenance-autonomous-merge

GATED — lands only when runbook Phase 1 is COMPLETE, step 1.6 INCLUDED. DO NOT MERGE BEFORE THAT.

Not for merge without Brett's word.


RECONCILED WITH main — 2026-09-09, head c8d047e9, base 7681e409

This pull request was CONFLICTING/DIRTY, so GitHub ran NO pull_request checks on it at all. It is now MERGEABLE and the checks run. Nothing about the gate changed: it still lands only when runbook Phase 1 is COMPLETE, step 1.6 included, on Brett's word.

main moved FIVE times during the reconciliation — ca4a1558 → 86651a58 (#827, #828) → 9a67d42c (#826, #824) → 82c9f059 (#829) → 7681e409 (#830, #176) — so this branch took three merges, two of them conflicting, because relocate-review-authority-floor-mirror was rewriting the exact lines this slice edits.

Two conflicts, one resolution rule: the relocating lane's structure VERBATIM, this slice's spelling re-applied inside it.

conflict main's intent, kept whole this slice's intent, re-applied
.github/workflows/review-lane-repin.yml env: (twice — #818 opened the migration window, #829 closed it) FLOOR_IN_SOURCE_CANDIDATES: and its entire rationale, the status-classifying fetch loop, the candidate N of M witness, the note that contracts/review-lane-pin.yaml still names the OLD path because core_commit predates the relocation SOURCE_REPOSITORY: codeXfactory/codexFactory — and nothing else. The fetch loop reads the moved repository ONLY through ${SOURCE_REPOSITORY}, so the loop and its refusal messages inherit the rename with no further edit
docs/review-lane-repin-runbook.md step 2 (#829) the mktemp-then-prove re-copy, FLOOR=floor/…, and the deliberate no-fallback note the gh api "repos/…/contents/${FLOOR}" owner segment

Two occurrences main added in files this slice owns are now respelled here, both RENAME class by rules already published in the sweep evidence: docs/review-lane-repin-runbook.md:354 (#829's new fetch command) and tests/review_lane_pin/test_review_lane_caller.py:90 (#830's comment naming where the path_allowlist glob authority lives — four lines from the same file's PINNED_REPOSITORY = "codeXfactory/codexFactory"). This slice therefore respells 42 occurrences across 15 files, not 41.

Checked, not assumed, after the final merge: git grep -i 'opensoft/codexFactory' over EVERY B1-owned surface — .github/, scripts/, tests/review_lane_pin/, tests/factory_identity/test_mint_script.py, contracts/review-lane-pin.yaml, contracts/review-lane-repin-binding.template.yaml, both operator runbooks — is EMPTY. The source mint keeps owner: codeXfactory + repositories: codexFactory, fail-closed with no continue-on-error; the decision-core checkout keeps repository: codeXfactory/codexFactory; openxFactory's own mint keeps owner: ${{ github.repository_owner }} + repositories: openxFactory, which is right because openxFactory does not move. The env values were read back through a YAML parser, not by eye.

Validators at c8d047e9, each measured against origin/main@7681e409 in a throwaway worktree at that commit:

The expected red is unchanged, and is still the only permitted one: pytest-suite reports skipped=23 against the pinned EXPECT_SKIPPED: 21, with TheFreshnessVerifier and TheVectorReplay both skipped, because GET /orgs/codeXfactory/installation 404s until runbook step 1.6. Anything else failing on pytest-suite is a real defect in this diff.

The reconciled arithmetic for all four slices is recorded in § 18 of openspec/changes/adopt-codexfactory-repository-identity/evidence/codexfactory-identity-sweep-2026-09-08.md, which lands on #806 (this branch carries § 17; #802 carries § 16 — the numbers are deliberately non-colliding).

Realizes adopt-codexfactory-repository-identity tasks 3.5, 3.6, 3.7, 3.12, 4.5 — 42 occurrences across 15 files (was 41; #829 and #830 each added one occurrence to a file this slice owns after the branch was cut — see RECONCILED WITH main below). Runbook step 10.2, slice B1. Speckit feature specs/030-realize-codexfactory-identity/ (landed in #799).

The gate is Phase 1 COMPLETE, and 1.6 is the step that decides it

An earlier revision of this body gated at step 1.2 — "confirm the destination and the visibility". That was too early, and it is corrected here because a merger reads the body at the window, not the comments.

Step 1.2 proves the ADDRESS exists. It does not prove the CREDENTIAL can reach it. A GitHub App installation is per-organization: actions/create-github-app-token@v2 resolves the installation from its owner: input (GET /orgs/<owner>/installation) and the token it returns reaches only that installation's repositories. Runbook step 1.6 creates the second, separate installation on codeXfactory; it does not widen the opensoft one. Between 1.2 and 1.6 the address resolves and the read still fails.

The merge-time proof, stated as a reading rather than as a check name: pytest-suite on this branch must report

skipped=21
freshness verifier (…TheFreshnessVerifier::test_the_snapshot_is_byte_identical_to_the_pinned_core): passed
vector replay    (…TheVectorReplay::test_every_vector_replays):                                    passed

skipped=21 alone is not enough and passed on the two named verifiers alone is not enough: the pin is a sum that a canceling pair can hold at 21 while the verifier is gone (Codex P2, #569), and the named verdicts say nothing about the general skip discipline. Both, or the window is not open. This is now written into the workflow's own EXPECT_SKIPPED ledger, where an operator is already looking, rather than only here.

pytest-suite is RED on this branch right now, and exactly one red is permitted

Before the transfer the mint and the checkout both fail, locate_pinned_core() stands both watched tests down, and the job reports skipped=23 with TheFreshnessVerifier and TheVectorReplay both skipped. That is the design and it is the ONLY red this branch may carry. Any other failing assertion on pytest-suite is a real defect in this diff and blocks the merge.

What breaks if it is merged early

git grep -o -i 'opensoft/codexFactory' per file, re-measured at origin/main 67405838 — this branch is merged up to date with main, so these are today's numbers and not a stale tree's. The load-bearing claim is the per-file COUNT; line numbers move with every commit to main and are given only where one is the whole point.

file what resolves it consequence of an early merge
.github/workflows/pytest-suite.yml (1, at :396) a literal uses: actions/checkout@v4 with repository: opensoft/codexFactory the pytest-suite required check cannot fetch the pinned decision core
.github/workflows/merge-master-approval.yml (12) the same checkout, at the commit contracts/review-lane-pin.yaml pins, plus the App-installation diagnostics and two summary rows the merge-master-approval check reports failure, and the diagnostics tell a human to grant access on an organization that has nothing in it
contracts/review-lane-pin.yaml (2) + review-lane-repin-binding.template.yaml (2) the recorded claim about which decision core judges openxFactory the pin names an unresolvable repository
.github/workflows/review-lane-repin.yml (2), scripts/review_lane_repin.py (1) SOURCE_REPOSITORY, passed to gh api repos/<x>/… the re-pin lane 404s
docs/review-lane-repin-runbook.md (5) four executable gh api lines and a permissions-table row an operator pastes a line that fails at the terminal
docs/factory-origin-key-mint-runbook.md (6) the preflight, the worker-credentials reference and the mint record's table same
scripts/mint-factory-origin-key.py (3) TARGET_REPO and the two record templates the mint program targets a repository that does not exist
.github/merge-approval-envelope.yml (1), scripts/doc_health/pin_class.py (1) the schema citation and the pin-class note assert a location that is not yet true
tests/review_lane_pin/* (4), tests/factory_identity/test_mint_script.py (1) the assertions that pin the above move with what they pin

merge-master-approval is ADVISORY, not required. An earlier revision of this table called it required; the workflow declares the opposite about itself in the very text this diff edits — "This check is ADVISORY and blocks no merge." Accurate for pytest-suite, which is required; overstated for merge-master-approval. What an early merge costs there is the diagnostic's truthfulness, not a block — which is worse than a block in one way, because nothing stops it.

GitHub redirects OLD→NEW after a transfer and never NEW→OLD before it, so respelling early gets no grace period at all. And per proposal.md § Why, a cross-organization uses: to a private repository is not covered by any redirect even after the move — which is what OQ-1's Enterprise membership exists for (verified plan=enterprise, 2026-09-07T16:41:04Z).

Two things about the signal on THIS pull request, both worth knowing at the window:

  • merge-master-approval's SUCCESS here is not evidence. The workflow is on: pull_request_target, so GitHub reads the workflow file from the base branch. The twelve respellings in merge-master-approval.yml are exercised by no check on this pull request; their first run is on main, on somebody else's.
  • Prove 1.6 with a throwaway run, not with this merge. A one-off workflow that mints with owner: codeXfactory and checks out codeXfactory/codexFactory proves the installation end to end without putting a respelled main at risk. That is step 0 of the ceremony order below.

The credential follows the target (fix round, 22125ea1)

The review's BLOCKER was correct and is fixed: this slice originally respelled every cross-repository target and left every credential scoped to opensoft, which would have made skipped=21 unreachable even with Phase 1 complete.

  • merge-master-approval.yml — both mints (repository App, org App) take owner: codeXfactory. They keep their continue-on-error, for the reason written above them: the NAMED checkout diagnostic in step 4 is what a human must read.
  • review-lane-repin.yml — the source-read mint takes owner: codeXfactory and has no continue-on-error, deliberately, and the file now says so. It fails closed at the mint, with the action's own message naming the owner it could not resolve.
  • pytest-suite.yml — a second mint (owner: codeXfactory, repositories: codexFactory, permission-contents: read) feeds the pinned-core checkout's token:. The existing app-token step is deliberately unchanged: the URL rewrite beneath it authenticates the opensoft/openXwallet gitlink, which did not move. Two targets in two organizations need two tokens.
  • tests/review_lane_pin/test_review_lane_caller.py — the rule asserted from both directions, because the two existing mint tests key on repository.split("/", 1)[1], the bare name, and are owner-blind by construction. From the checkouts: every actions/checkout of the pin's repository:, through every mint its token: names, must be minted at the pin's owner segment — a literal, never github.repository_owner. From the mints: every create-github-app-token narrowed to the pin's bare repository name must carry that same owner. Either direction alone can be evaded; together they cannot.

B-1 recommendation 3 — FIXED 8c7a1fca by Brett Heap's ruling, 2026-09-09. identity_namespace at contracts/review-lane-repin-binding.template.yaml:103 is respelled github:opensoft -> github:codeXfactory (the source-repository reading). Task 3.5 is amended to cover this line — see review/amendment-2026-09-09-task-3-5.md. The full ruling, both readings that were presented, and why the earlier "byte-identical to main" state has ended are recorded in openspec/changes/adopt-codexfactory-repository-identity/review/addendum-2026-09-08-token-namespace.md § RULED 2026-09-09. The sweep evidence file's § 17 records the reclassification and its (lack of) effect on the grep-measured arithmetic.

The operator preconditions, in the runbooks (fix round, 245eac63)

Task 4.5 exists because these are documents somebody pastes from, so the respelling's preconditions are now IN them:

  • docs/review-lane-repin-runbook.md — "the App already installed in both repositories" was true when both were in one organization. It now says outright that two organizations is TWO installations, that installing on one does not widen the other, that the source-read mint names owner: codeXfactory literally, and that it fails closed. The remedy for a refusal is the installation, never a wider token.
  • docs/factory-origin-key-mint-runbook.md — a PRECONDITION block naming the two transfer steps every codeXfactory/… line in the file depends on: 1.2 (the address resolves at all) and 1.5 (the worker-credentials environment and FACTORY_ORIGIN_SIGNING_KEY survived the transfer), with the read-only command to confirm the second. And the refusal that matters: do not "fix" a preflight failure by minting into the old address — a secret written through a redirect lands wherever the redirect resolves, and the register would then name a custody location nobody can audit.

Ceremony merge order

The four slices' file sets are provably disjoint and git merge-tree --write-tree origin/main <branch> is conflict-free for all four, so the merges themselves are order-free. Two things downstream are not, and this is the sequence:

# act who why here
0 Precheck. A throwaway workflow run that mints with owner: codeXfactory and checks out codeXfactory/codexFactory. operator Proves 1.6 end to end without a respelled main. The BLOCKER above cannot be executed before the transfer exists, so it is proved here rather than on the first merge.
1 #801 — machine surfaces (41/15) Brett's word Its own merge-time proof is pytest-suite skipped=21 with both verifiers passed, which only exists after step 0 passes.
2 #802 — origin identity (35/14 + the 2 newly assigned) Brett's HUMAN merge HUMAN-ONLY floor: scripts/merge_master/openxfactory-review-authority-floor.yaml:153-156 names three of this slice's files. It also carries the grant lines the review found assigned to no slice, on which task 6.5 depends.
3 #805 — the eight contract-v3.4 members (12/9) Brett's word The only slice touching inventoried members; splitting the eight is unrepairable, which is why they are one slice.
4 Bundle cut — tasks 7.2–7.4 LANE, then operator for the release surfaces Task 7.1's precondition — tests/review_lane_pin, tests/clearing, tests/factory_identity, tests/hermes_runtime_contracts green on the renamed tree — is MET at this point: #806 touches no test and no inventoried member, so the cut's inputs are complete once #805 lands. verify-promotion and the annotated tag are release surfaces and the runbook's legend does not cover them; treat them as operator acts.
5 #806 — prose + README per line (25 respelled + 3 frozen / 14) Brett's word Owes no cut. Last because it is the only slice whose content the cut does not need.
6 Ticks: 7.1 then 6.5 LANE 7.1's tick is recorded here, once the whole rename set is on main; 6.5 is strictly last because it is a whole-corpus zero-residual check and cannot be true while any slice or the newly assigned grant lines are outstanding.
7 Aggregation five-site lockstep — runbook Phase 2 LANE, then operator merges opensoft/xFactory holds nine reference groups that must never disagree about where the decision core is, and they move in ONE commit. validate runs on PULL REQUESTS only, so main never reports a break and it surfaces on somebody else's.

A stricter reading is available and is recorded rather than silently overruled. The review's position is that the cut is after all FOUR slices, on the letter of 7.1 and 6.5. The order above puts it after three, on the ground that #806 touches no test and no inventoried member so neither the cut's inputs nor 7.1's condition can change across it. If the convener prefers the letter, move row 4 below row 5; nothing else in the sequence moves.

The one-commit rules held

  • Task 3.5 groups the decision-core pin with everything that asserts it: the pin, the binding template, the re-pin workflow, review_lane_repin.py, pin_class.py's note text and all three tests/review_lane_pin/ files. A split commit here is red by construction, which is the mechanism working.
  • Task 3.6 moves all twelve merge-master-approval.yml occurrences together. The diagnostic text is not decoration: it is the instruction a human follows when the lane refuses, so a half-respelled message sends them to the wrong organization.
  • Task 3.12 moves mint-factory-origin-key.py with test_mint_script.py, which pins the gh pr merge … --repo line the script emits.

Recorded result

python3 -m pytest tests/review_lane_pin tests/factory_identity/test_mint_script.py -q
194 passed, 2 skipped, 48 subtests passed in 4.02s

openspec validate --all --strict is 100 passed / 1 failed — the pre-existing disposition-codexfactory-declared-renames, unchanged. validate-sequenced-after.py --ledger-diff is consistent at 185 rows. doc-health --single-repo . reports 9 ERRORs, all pre-existing and none in any file this diff touches. The freeze holds: git diff --name-only origin/main HEAD -- contracts/signed-execution-chain/ openspec/changes/archive/ specs/ docs/decisions/ ideation/ is empty.

Every occurrence in the respelling set was verified to be a live assertion or an executable command, not a dated record — the arbitration question is does this string assert what IS, or record what WAS READ, and all 41 assert. The fix round adds new codeXfactory prose (the two preconditions, the ledger entry) that is new text rather than respelling, so the 41/41 respelling arithmetic is unchanged; and it adds three opensoft/codexFactory mentions inside this change's own review/ record, which is a not-swept class — a record about the old identity has to be able to name it.

Not in this pull request

Ticks

Nothing in the packet's tasks.md is ticked by this pull request. Tasks 3.5, 3.6, 3.7, 3.12 and 4.5 tick on its merge, which is Brett's act at the transfer window.

…flows, the operator tools

Lane: provenance-autonomous-merge
Realizes: adopt-codexfactory-repository-identity tasks 3.5, 3.6, 3.7, 3.12, 4.5
41 occurrences across 15 files.

GATED. DO NOT MERGE BEFORE THE TRANSFER. Every file here is resolved by a
machine or pasted by an operator at run time:

- .github/workflows/pytest-suite.yml:396 is a literal actions/checkout@v4 with
  repository: opensoft/codexFactory, and merge-master-approval.yml checks out
  the same at the commit contracts/review-lane-pin.yaml pins. Both are REQUIRED
  checks on every openxFactory pull request, including other lanes'.
- scripts/review_lane_repin.py's SOURCE_REPOSITORY is passed to gh api repos/<x>.
- docs/factory-origin-key-mint-runbook.md and docs/review-lane-repin-runbook.md
  carry gh api lines an operator pastes; four of them are executable.

Task 3.5's one-commit rule held: the pin, the binding template, the re-pin
workflow, review_lane_repin.py, pin_class.py's note text and all three
review_lane_pin tests move together. Task 3.6's twelve merge-master-approval.yml
occurrences move together, diagnostics included - a half-respelled diagnostic
sends a human to the wrong organization.

python3 -m pytest tests/review_lane_pin tests/factory_identity/test_mint_script.py
-> 156 passed, 38 skipped, 48 subtests passed.

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

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Hi @brettheap! 👋

Your private repo does not have access to Sourcery.

Please upgrade to continue using Sourcery ✨

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Changes recommended

The workflows now target codeXfactory/codexFactory but still mint GitHub App tokens against ${{ github.repository_owner }}, which won’t locate the correct installation once codexFactory is in a different org and will keep the decision-core checkout unreadable.

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

Pull request overview

This PR updates the “decision core” / codexFactory repository identity references from opensoft/codexFactory to codeXfactory/codexFactory across the pin contract, CI workflows, operator runbooks, and supporting scripts/tests, aligning openxFactory’s gated workflows and operator tooling with the post-transfer repository address.

Changes:

  • Repoint the decision-core pin and all pin-asserting tests to codeXfactory/codexFactory.
  • Update GitHub Actions workflows (pytest-suite, merge-master-approval, review-lane-repin) to check out the decision core from the new repo.
  • Update operator runbooks and origin-key mint tooling/templates to target the new codexFactory address.
File summaries
File Description
tests/review_lane_pin/test_review_lane_caller.py Updates the pinned repository string used by lane pin tests.
tests/review_lane_pin/test_repin_lane.py Updates assertions for the workflow checkout repository and binding repository.
tests/review_lane_pin/test_floor_snapshot.py Updates pinned repository constant used by snapshot freshness verifier tests.
tests/factory_identity/test_mint_script.py Updates expected operator merge command repo target for codexFactory.
scripts/review_lane_repin.py Updates the repin lane’s SOURCE_REPOSITORY constant to the new org.
scripts/mint-factory-origin-key.py Updates TARGET_REPO and record template content to the new org.
scripts/doc_health/pin_class.py Updates doc-health pin classification note text to the new repo spelling.
docs/review-lane-repin-runbook.md Updates executable gh api commands and permission table to new org/repo.
docs/factory-origin-key-mint-runbook.md Updates prerequisites, preflight references, and template text to new org/repo.
contracts/review-lane-repin-binding.template.yaml Updates source repository privilege declaration to new org/repo.
contracts/review-lane-pin.yaml Updates the pinned workflow contract repository field and explanatory comment.
.github/workflows/review-lane-repin.yml Updates lane env/checkout target repository to new org/repo.
.github/workflows/pytest-suite.yml Updates decision-core checkout repository to new org/repo.
.github/workflows/merge-master-approval.yml Updates decision-core checkout repository and diagnostic text to new org/repo.
.github/merge-approval-envelope.yml Updates the schema source repo reference in the envelope header comment.
Review details

Suppressed comments (4)

.github/workflows/pytest-suite.yml:400

  • The decision-core checkout now targets codeXfactory/codexFactory, but the only non-github.token credential this job mints is the openxFactory App token (create-github-app-token owner: ${{ github.repository_owner }}), which will not be able to access codexFactory once it lives under the codeXfactory org. This will make the required pytest-suite check deterministically fail even after the transfer unless the token mint is updated to target the codeXfactory installation (or a dedicated token is minted for that org/repo).
      - name: Check out the pinned decision core (freshness verifier only)
        id: core
        continue-on-error: true
        uses: actions/checkout@v4
        with:
          repository: codeXfactory/codexFactory
          ref: "4b12ba83add713666a94129fc45552d8989f8488"
          path: .merge-master-core
          persist-credentials: false
          token: ${{ steps.app-token.outputs.token || github.token }}

.github/workflows/review-lane-repin.yml:389

  • This checkout is now against codeXfactory/codexFactory, but the workflow’s source-token mint is still scoped with owner: ${{ github.repository_owner }} (openxFactory’s org). After codexFactory moves to codeXfactory, the App token mint will look up the wrong installation and steps.source-token.outputs.token won’t be able to read the repo, causing this checkout (and the lane) to fail.
      - name: Check out the candidate core so the freshness verifier can run
        if: steps.repin.outputs.action == 'advance'
        uses: actions/checkout@v4
        with:
          repository: codeXfactory/codexFactory
          ref: ${{ steps.source.outputs.sha }}
          path: .merge-master-core
          persist-credentials: false
          token: ${{ steps.source-token.outputs.token }}

.github/workflows/merge-master-approval.yml:613

  • The checkout now points at codeXfactory/codexFactory, but both actions/create-github-app-token@v2 mints for the decision-core read token(s) still use owner: ${{ github.repository_owner }} (openxFactory’s owner). After transfer, codexFactory will not be under that owner, so the token mint will not find the correct installation and the checkout will remain unreadable even if the App is installed on codeXfactory/codexFactory.
      - name: Checkout decision core (codeXfactory/codexFactory, pinned)
        id: core
        continue-on-error: true
        uses: actions/checkout@v4
        with:
          repository: codeXfactory/codexFactory
          ref: "4b12ba83add713666a94129fc45552d8989f8488"
          path: .merge-master-core
          persist-credentials: false
          token: ${{ steps.repo-token.outputs.token || steps.org-token.outputs.token || github.token }}

scripts/mint-factory-origin-key.py:853

  • This table row hard-codes codeXfactory/codexFactory even though the template already includes a {target_repo} placeholder later. Using {target_repo} here keeps the table consistent with the actual configured TARGET_REPO.
| `codeXfactory/codexFactory` | `key-factory-codexfactory-0001` | `{public_key}` | `{key_fingerprint}` |
  • Files reviewed: 15/15 changed files
  • Comments generated: 1
  • Review effort level: Lite

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

## What was minted

One Ed25519 key pair, the ORIGIN identity of `opensoft/codexFactory`. Exactly
One Ed25519 key pair, the ORIGIN identity of `codeXfactory/codexFactory`. Exactly
brettheap pushed a commit that referenced this pull request Sep 8, 2026
…appened mid-sweep

Lane: provenance-autonomous-merge

The feature's tasks.md ledger now names the real pull requests:
  #799  slice A, safe now      - the sweep evidence, the 8 safe-now renames, the freeze proof
  #801  slice B1, DRAFT gated  - the decision-core pin, the workflows, the operator tools (41/15)
  #802  slice B2, DRAFT gated  - the origin identity, HUMAN MERGE WORD ONLY (35/14)
  #805  slice B3, DRAFT gated  - the eight contract-v3.4 inventoried members (12/9)
  #806  slice B4, DRAFT gated  - the remaining prose and README.md per line (28/14)
  P6    the mapping row        - NOT OPENED, blocked on medxsoft task 1.1
  P7    the bundle cut         - NOT OPENED, owed the moment #805 merges

Evidence 13 records the drift that happened while the sweep was being filed:
origin/main advanced nine commits to e7c5301 when Brett merged #783. It added
no codexFactory occurrence to README.md - still exactly nine - but shifted the
line numbers for the SECOND time since the packet was written, which is the
whole argument for a rule over path classes instead of a hand enumeration. The
per-line README rename is applied programmatically against the recorded verdict
set and REFUSES on any occurrence it has no verdict for.

Re-measured at the merged head: 372/164, every delta attributed - slice A's 8
left contracts-live, this feature's own specs/030 documents added 36 to the
specs/** FROZEN class, and this evidence file added 17 to active-packets, the
self-reference 11 predicted. Gates re-run: openspec --all --strict now
100 passed / 1 failed with the SAME single failure, and --ledger-diff green at
184 rows after #783's new row.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Copilot AI review requested due to automatic review settings September 8, 2026 13:33

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

Decision-core checkouts now target codeXfactory/codexFactory but at least two workflows still mint App tokens against the current org installation (owner: ${{ github.repository_owner }}), which will prevent reading the decision core post-transfer.

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

Review details

Suppressed comments (3)

.github/workflows/pytest-suite.yml:400

  • actions/checkout is now targeting codeXfactory/codexFactory, but the token used here is minted from the workflow’s local App installation (owner: ${{ github.repository_owner }} earlier). After the transfer, that installation token will not be able to read a repo in a different org, so this checkout will fail and the required freshness verifier will permanently red.
          repository: codeXfactory/codexFactory
          ref: "4b12ba83add713666a94129fc45552d8989f8488"
          path: .merge-master-core
          persist-credentials: false
          token: ${{ steps.app-token.outputs.token || github.token }}

.github/workflows/merge-master-approval.yml:613

  • This checkout now targets codeXfactory/codexFactory, but the read-token mints in this workflow still use owner: ${{ github.repository_owner }} with repositories: codexFactory (i.e., they mint an installation token for the opensoft org). After the transfer, those tokens won’t be able to read codeXfactory/codexFactory, so the decision-core checkout will fail even if the App is correctly installed on the new org.
          repository: codeXfactory/codexFactory
          ref: "4b12ba83add713666a94129fc45552d8989f8488"
          path: .merge-master-core
          persist-credentials: false
          token: ${{ steps.repo-token.outputs.token || steps.org-token.outputs.token || github.token }}

.github/workflows/review-lane-repin.yml:389

  • This workflow now checks out codeXfactory/codexFactory, but its source-token mint uses owner: ${{ github.repository_owner }} with repositories: codexFactory (minting a token for the opensoft org installation). That token will not be able to read a repo that lives in a different org after the transfer, so the candidate-core checkout will fail.
          repository: codeXfactory/codexFactory
          ref: ${{ steps.source.outputs.sha }}
          path: .merge-master-core
          persist-credentials: false
          token: ${{ steps.source-token.outputs.token }}
  • Files reviewed: 15/15 changed files
  • Comments generated: 1
  • Review effort level: Lite

Comment on lines 108 to +111
# 1. Resolve the codexFactory commit and CONFIRM IT IS ON THE DEFAULT BRANCH.
gh api repos/opensoft/codexFactory --jq .default_branch
CORE=$(gh api repos/opensoft/codexFactory/commits/main --jq .sha)
gh api "repos/opensoft/codexFactory/compare/main...${CORE}" --jq .status # identical|behind
gh api repos/codeXfactory/codexFactory --jq .default_branch
CORE=$(gh api repos/codeXfactory/codexFactory/commits/main --jq .sha)
gh api "repos/codeXfactory/codexFactory/compare/main...${CORE}" --jq .status # identical|behind
@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: provenance-autonomous-merge

pytest-suite is RED on this pull request, and that is the gate working — with a refinement to the gate

No test regressed. The run reports:

selected=10333 passed=10310 skipped=23 failures=0 errors=0
floors: selected>=7090 (margin 3243) passed>=7070 (margin 3240) skipped==21

Zero failures, zero errors, and both floors clear by ~3,240. The job fails on three assertions that are all one fact:

##[error] skipped 23, pinned exactly 21 — a directory that silently turned into skips
         is exactly what this pin exists to catch
##[error] snapshot freshness verifier did not run — pinned core checkout unavailable
         (tests.review_lane_pin.test_floor_snapshot.TheFreshnessVerifier::
          test_the_snapshot_is_byte_identical_to_the_pinned_core is 'skipped', wanted 'passed')
##[error] vector replay did not run — pinned core checkout unavailable
         (tests.review_lane_pin.test_floor_snapshot.TheVectorReplay::
          test_every_vector_replays is 'skipped', wanted 'passed')

.github/workflows/pytest-suite.yml's "Check out the pinned decision core" step now names repository: codeXfactory/codexFactory, and that repository does not exist yet (gh api repos/codeXfactory/codexFactory → HTTP 404). The checkout is continue-on-error: true, so the two cross-repository tests SKIP rather than error — which is why the skipped count moves 21 → 23 and the two named verifiers report skipped instead of passed.

This is the most direct possible demonstration of why this slice is gated: it reds a required check on every openxFactory pull request the moment it lands early. It goes green the moment the checkout resolves.

Refinement: the gate is not runbook step 1.2 alone

This pull request's body names step 1.2 (confirm the destination and visibility). The failure shows the true precondition is two steps, because the checkout needs more than the repository existing:

step what it does why this slice needs it
1.2 confirms codeXfactory/codexFactory exists and is private the checkout has a target
1.6 reinstalls the GitHub Apps on codeXfactory and re-grants repository access the checkout authenticates with steps.app-token.outputs.token, minted by the openxFactory App. App installations are per organization and do NOT travel with a transfer (design.md § 7, item 6). Without 1.6 the repository exists and the token still cannot read it, so pytest-suite stays red for the same three assertions

Runbook step 1.3 (access_level=enterprise) governs cross-organization reusable-workflow uses: resolution, which is what OQ-1 exists for; it is a precondition for the aggregation's uses: paths (Phase 2) rather than for this actions/checkout. Both are inside the Phase 1 window, so the practical instruction is unchanged in shape: merge this slice after Phase 1 completes, not at step 1.2.

The check to run at merge time, and the number that proves it

After the transfer and the App re-grant, pytest-suite on this branch must show skipped=21 and both named verifiers passed. EXPECT_SKIPPED: 21 is, in effect, a live probe for whether the cross-repository checkout resolved — a much better signal than reading the checkout step's own warning, because it is a required check and it fails closed.

Still not for merge without Brett's word.

brettheap pushed a commit that referenced this pull request Sep 8, 2026
…included

Lane: provenance-autonomous-merge

Slice B1 (#801) reds pytest-suite BEFORE the transfer, which is the (a)/(b)
classification being proved rather than argued:

  selected=10333 passed=10310 skipped=23 failures=0 errors=0
  floors: selected>=7090 (margin 3243) passed>=7070 (margin 3240) skipped==21

ZERO failures, zero errors, both floors clear by ~3,240 - no test regressed.
The job fails on three assertions that are one fact: pytest-suite.yml's 'Check
out the pinned decision core' step now names codeXfactory/codexFactory, which
does not exist, and the step is continue-on-error, so the freshness verifier and
the vector replay SKIP instead of passing and the skipped count moves 21 -> 23.

EXPECT_SKIPPED: 21 is therefore a live, fail-closed probe for whether the
cross-repository checkout resolved - better evidence than reading the checkout
step's own warning, because it is a required check.

REFINEMENT, and it is load-bearing for the transfer window: step 1.2 only
confirms the repository exists. The checkout authenticates with the openxFactory
App token, and App installations are PER ORGANIZATION and do NOT travel with a
transfer (design.md 7, item 6). So the gated slices additionally need runbook
step 1.6. Read 'lands at runbook step 1.2' as 'lands when Phase 1 is complete,
1.6 included'. Step 1.3 (access_level=enterprise) governs reusable-workflow
uses: resolution - OQ-1's purpose - and gates the aggregation's Phase 2 paths
rather than this actions/checkout.

Recorded, not corrected in place: the runbook is the operator's document and
this is a finding about it.

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

Copy link
Copy Markdown
Contributor Author

Lane: provenance-autonomous-merge — adversarial review (Opus), 2026-09-08

Convener-ordered review of all four gated slices. Read-only: no file changed, nothing pushed, draft status untouched. Checks were run in a throwaway worktree at origin/main and at this branch's head 7256a83e.

Verdict: BLOCKER. The slice respells every target of the cross-repository read and leaves every credential scoped to opensoft. As written, the post-transfer green this pull request names as its own merge gate cannot be produced — not even with Phase 1 complete, 1.6 included.


BLOCKER

B-1. The checkout moves to codeXfactory; the App-token mints stay in opensoft. skipped=21 is unreachable.

Five sites, none of them in this diff:

file:line text, unchanged by this PR
.github/workflows/pytest-suite.yml:324 owner: ${{ github.repository_owner }} — no repositories:, so the token is the whole opensoft installation
.github/workflows/merge-master-approval.yml:553-554 owner: ${{ github.repository_owner }} + repositories: codexFactory (repo App)
.github/workflows/merge-master-approval.yml:564-565 same (org App)
.github/workflows/review-lane-repin.yml:192-193 same, permission-contents: read — and this step has no continue-on-error
contracts/review-lane-repin-binding.template.yaml:103 identity_namespace: "github:opensoft", while :110 in this diff becomes codeXfactory/codexFactory

The check I ran, over the 52 files the four drafts touch:

for f in $(cat slice_files.txt); do
  grep -nE "owner:|repository_owner|identity_namespace" "$f" | sed "s|^|$f:|"
done

returns exactly those five sites, and gh pr diff 801 contains none of them.

Why this is not cosmetic. actions/create-github-app-token@v2 resolves the installation from the owner: input (GET /orgs/<owner>/installation) and the token it returns can reach only repositories of that installation. Runbook step 1.6 creates a second, separate installation on codeXfactory; it does not widen the opensoft one. This repository already states the rule in as many words, at contracts/review-lane-repin-binding.template.yaml:143:

owner: alone would yield a token good for every repository this App is installed on in the organization

So after Phase 1 completes with 1.6 done, pytest-suite on this branch still reads skipped=23 with TheFreshnessVerifier and TheVectorReplay both skipped — the same three assertions it fails today — and the merge-time proof your own comment names ("must show skipped=21 and both named verifiers passed") can never be produced. review-lane-repin is worse: its mint at :186 is not continue-on-error, so the lane hard-fails at the mint rather than at the checkout.

And no test can catch it. tests/review_lane_pin/test_repin_lane.py::test_the_token_is_scoped_to_the_bindings_two_repositories (line 1190) and ::test_each_mint_requests_exactly_its_repository_grants (line 1216) both key on

self.binding["privileges"][key]["repository"].split("/", 1)[1]

— the bare name. They are owner-blind by construction and stay green across this respelling. That is why the divergence is silent.

One more reason the signal is thinner than it looks. merge-master-approval reports SUCCESS on this pull request. That is not evidence: the workflow is on: pull_request_target, so GitHub reads the workflow file from the base branch. The twelve respellings in merge-master-approval.yml are exercised by no check here at all — their first run is on main, on somebody else's pull request.

Recommended fix, in the same commit:

  1. Add a separate mint in pytest-suite.yml for the cross-organization read, owner: codeXfactory + repositories: codexFactory + permission-contents: read, and point the pinned-core checkout's token: at it. Do not change the existing app-token step: line 331 uses it to rewrite the opensoft/openXwallet submodule URL (contracts/openxwallet-pin.yaml:35), so it must stay opensoft-scoped.
  2. Set owner: codeXfactory on both merge-master-approval.yml mints (553, 564) and on review-lane-repin.yml:192.
  3. Respell identity_namespace at contracts/review-lane-repin-binding.template.yaml:103, or record on the row why one namespace still covers two organizations.
  4. Add a test that ties each decision-core mint's owner: to the owner segment of contracts/review-lane-pin.yaml's repository:, so this cannot drift again. Today nothing does.

HIGH

H-2. Title and body gate at step 1.2. The true gate is Phase 1 complete, 1.6 included — and that lives only in a comment.

Title: "GATED (runbook 1.2)". Body: "GATED — lands at runbook step 1.2". The 1.6 refinement is correct and well argued, but it is in this pull request's single comment, not in the body or the title. A merger who reads the body at the window merges at 1.2 and gets the red. Amend both.

H-3. Neither operator runbook states the App-installation precondition, and one of them now describes a cross-organization install without saying so.

docs/review-lane-repin-runbook.md:142 still reads "The lane runs under the App already installed in both repositories". After this diff respells :150, those two repositories are in two organizations, and the runbook says nothing about a second installation (runbook 1.6) or about the owner-scoped mint of B-1. docs/factory-origin-key-mint-runbook.md:117 respells "the worker-credentials environment of codeXfactory/codexFactory resolves" with no note that this depends on transfer step 1.5 (environments and secrets survived the transfer); grep -niE "install|github app|1\.6|transfer" docs/factory-origin-key-mint-runbook.md returns nothing. These are documents an operator pastes from, which is the reason task 4.5 exists — add the preconditions.


MEDIUM

M-5. The EXPECT_SKIPPED ledger convention is not honoured.

.github/workflows/pytest-suite.yml:530-557 is a ledger with a recorded note for every consideration of that number — "MOVED 20 -> 21 on 2026-08-27…", "UNCHANGED AT 21 ON 2026-09-01, AND THAT IS THE DESIGN", "UNCHANGED AT 21 BY mirror-floor-addition-grace" — and the file's own rule at :474 is "a real change to the suite moves it, and the fix is to update these three with the reason in the commit message — never to relax the comparison." This slice changes the resolvability of the very checkout the ledger's last two entries are about and adds no entry. Add one: unchanged at 21; red at 23 until Phase 1 (1.6 included) completes; 21 with both named verifiers passed is the merge-time proof. An operator reading the workflow finds the explanation where they are already looking, rather than only in a pull-request comment.

M-4. No merge order is written anywhere, and two things do depend on one.

git merge-tree --write-tree origin/main <each branch> is conflict-free for all four, and the four file sets are provably disjoint, so the merges themselves are order-free. But packet task 7.1 requires tests/review_lane_pin, tests/clearing, tests/factory_identity and tests/hermes_runtime_contracts green on the renamed tree before the cut, and task 6.5's zero-residual check is over the whole corpus — so both are strictly after all four slices. Nothing on any body says so. State the sequence (#801 + #802 + #805 + #806 → 6.5 → 7.2–7.4) here and in the runbook's Phase 10.


LOW

L-1. merge-master-approval is advisory, not required.

The body's table says an early merge means "the merge-master-approval required check fails". The workflow declares the opposite about itself in the very text this diff edits: "This check is ADVISORY and blocks no merge." Accurate for pytest-suite; overstated for merge-master-approval.

L-3. The branch is 34 commits behind main, so every line number in the body is stale.

git merge-base origin/main for this branch is e7c53012; git rev-list --count e7c53012..origin/main = 34. No textual conflict, so this is not a merge risk — but the numbers a reviewer checks against are measured at a tree that no longer exists. Re-measure at the window or mark them historical.


NOTE — what I verified and found correct

  • Case is exact. 41 occurrences added, 41 removed, counted with grep -o; every added spelling is precisely codeXfactory/codexFactory. No lowercase or mixed variant, no GHCR or image reference, no .gitmodules-shaped URL — so OQ-6's derived-lowercase question does not arise in this slice.
  • Nothing frozen or not-swept is touched. git diff --name-only e7c53012 <head> -- contracts/signed-execution-chain/ openspec/changes/ specs/ docs/decisions/ ideation/ is empty, and all 15 files are in a RENAME pathspec, so no non-inventoried line is respelled.
  • No inventoried member is touched. None of the 15 files appears as a path: in contracts/releases/contract-v3.4.digests.yaml (283 entries) — so this slice owes no bundle cut, exactly as the body says.
  • The mint script has no git-remote handling. TARGET_REPO appears only in gh api / gh secret / gh pr invocations; grep -niE "remote|get-url|git@github|https://github" scripts/mint-factory-origin-key.py returns nothing. So nothing here depends on a NEW→old redirect, which does not exist, and a stale local origin on a codexFactory clone still pushes through the old→new redirect that does.
  • pytest-suite fails closed, robustly. The continue-on-error checkout is watched twice: by the aggregate EXPECT_SKIPPED pin and, since the Codex P2 finding on Activate the OpenSpec floor: the pin advances, the lane refuses what the enumeration names, and the required suite watches the snapshot #569, by FRESHNESS_CLASSNAME — the verifier looked up by name in the JUnit report and required to have run and passed. A canceling pair of skips cannot hide the loss. That design is why B-1 is a blocker rather than a silent degradation: the failure will be loud, and it will be loud forever.
  • No test pins the pin_class.py note text, so respelling it at :793 breaks nothing.

Brett Heap and others added 3 commits September 8, 2026 10:52
… core is scoped to codeXfactory

Review finding B-1 (BLOCKER, PR #801). This slice respelled every TARGET of
the cross-repository read — the `actions/checkout` `repository:`, the pin, the
`SOURCE_REPOSITORY`, the binding's `privileges` — and left every CREDENTIAL
naming the organization the repository left. `create-github-app-token@v2`
resolves the installation from its `owner:` input
(`GET /orgs/<owner>/installation`) and the token it returns reaches only THAT
installation's repositories; transfer step 1.6 creates a SECOND, SEPARATE
installation on `codeXfactory` and does not widen the `opensoft` one. So the
post-transfer green this pull request names as its own merge gate —
`skipped=21` with both named verifiers `passed` — could not have been produced
at all, however completely Phase 1 ran.

Three workflows, four mints:

* `merge-master-approval.yml` — both mints (the repository App and the org App)
  take `owner: codeXfactory`. They keep their `continue-on-error`, for the
  reason already written above them: the NAMED checkout diagnostic in step 4 is
  what a human must read, not an opaque action failure.
* `review-lane-repin.yml` — the source-read mint takes `owner: codeXfactory`
  and has NO `continue-on-error`, deliberately and stated as such in the file.
  It fails CLOSED at the mint, with `create-github-app-token`'s own message
  naming the owner it could not resolve.
* `pytest-suite.yml` — a SECOND mint, `owner: codeXfactory` +
  `repositories: codexFactory` + `permission-contents: read`, feeding the
  pinned-core checkout's `token:`. The existing `app-token` step is
  DELIBERATELY UNCHANGED: the URL rewrite beneath it authenticates the
  `opensoft/openXwallet` gitlink, which did not move. Two targets in two
  organizations need two tokens; one token cannot be both.

And a test, because nothing could have caught this. The two mint assertions in
`test_repin_lane.py` key on `repository.split("/", 1)[1]` — the BARE NAME — so
they are owner-blind by construction and stayed green across the whole
respelling. `test_review_lane_caller.py` gains the rule from both directions:
from the checkouts (every `actions/checkout` of the pin's repository, through
every mint its `token:` expression names) and from the mints (every
`create-github-app-token` narrowed to the pin's bare repository name). Either
alone can be evaded; together they leave no way to respell a target without
moving its credential.

Lane: provenance-autonomous-merge
Copilot AI review requested due to automatic review settings September 8, 2026 16:21
@brettheap

brettheap commented Sep 8, 2026 •

Copy link
Copy Markdown
Contributor Author

Note

SUPERSEDED 2026-09-08 by #801 (comment).
The fix round is COMPLETE at head 245eac63: every row in the table below is now dispositioned there. The one item not applied is B-1 recommendation 3, declined pending the convener's word with the record at openspec/changes/adopt-codexfactory-repository-identity/review/addendum-2026-09-08-token-namespace.md. Nothing on this pull request is unfinished.


Lane: provenance-autonomous-merge — fix round, interrupted by a machine restart. Head is now 570cc6e3 (pushed).

Answering #801 (comment) finding by finding, so the next session picks up from a known line.

FIXED 22125ea1: B-1 (BLOCKER), recommendations 1, 2 and 4. The credential now follows the target at every mint that reads the decision core.

  • merge-master-approval.yml — both mints (repository App at the former :553-554, org App at :564-565) take owner: codeXfactory. They keep their continue-on-error, for the reason already written above them: the NAMED checkout diagnostic in step 4 is what a human must read.
  • review-lane-repin.yml — the source-read mint takes owner: codeXfactory and has no continue-on-error, deliberately, and the file now says so in as many words. It fails closed at the mint, with create-github-app-token's own message naming the owner it could not resolve.
  • pytest-suite.yml — a second mint, owner: codeXfactory + repositories: codexFactory + permission-contents: read, feeding the pinned-core checkout's token:. The existing app-token step is deliberately unchanged, exactly as recommendation 1 says: the URL rewrite beneath it authenticates the opensoft/openXwallet gitlink, which did not move. Two targets in two organizations need two tokens.
  • tests/review_lane_pin/test_review_lane_caller.py — the rule from both directions, since the two test_repin_lane.py assertions key on the bare name and are owner-blind by construction. From the checkouts: every actions/checkout of the pin's repository:, through every mint its token: expression names, must be minted at the pin's owner segment — a literal, never github.repository_owner. From the mints: every create-github-app-token narrowed to the pin's bare repository name must carry that same owner. Either direction alone can be evaded; together they cannot.

tests/review_lane_pin is 158 passed, 2 skipped, 48 subtests passed locally. One thing worth recording because it is a real guard doing its job: the first draft of that pytest-suite.yml comment cited the repin binding template by filename, and test_repin_lane.py::TheBotIsJudgedWithNoExemption::test_no_author_keyed_exemption_exists reds on any mention of that lane inside the required suite. The comment now states the rule and explains the circumlocution rather than spelling the filename.

Freeze still holds at this head: git diff --name-only origin/main HEAD -- contracts/signed-execution-chain/ openspec/changes/archive/ specs/ docs/decisions/ ideation/ is empty. openspec validate --all --strict is 100 passed / 1 failed, the same pre-existing disposition-codexfactory-declared-renames; validate-sequenced-after.py --ledger-diff is consistent at 185 rows.

Still open on this pull request — the next session starts here

finding state
B-1 recommendation 3 — identity_namespace at contracts/review-lane-repin-binding.template.yaml:103 NEXT. Task 3.5 names lines 46 and 110 of that file and not 103, so the packet does not cover this field and it will not be changed silently. It also reads, on inspection, as namespacing the consumer identity (fetch_identity: "github-actions:openxfactory:review-lane-repin", a workflow in opensoft/openxFactory, which did not move) rather than the source repository — which would make github:opensoft correct and the finding's premise the thing to record. Owed: a dated addendum under this change's review/ stating the gap, both readings and a proposed value, marked needs Brett's word.
H-2 — title and body gate at 1.2; the true gate is Phase 1 complete including 1.6 open
H-3 — the App-installation precondition in docs/review-lane-repin-runbook.md:142 and docs/factory-origin-key-mint-runbook.md:117 open
M-5 — the EXPECT_SKIPPED ledger entry (unchanged at 21; red at 23 until 1.6; 21 with both verifiers passed is the merge-time proof) open
M-4 — the ceremony merge order, on this body and in the runbook's Phase 10 open
L-1 — the body calls merge-master-approval required; the workflow calls itself advisory open
L-3 — the body's line numbers, re-measured or marked historical open

pytest-suite on this branch is expected red until the transfer, and after this fix the red should be exactly the skip-count arm — skipped=23 against the pinned 21, with TheFreshnessVerifier and TheVectorReplay both skipped — because the codeXfactory installation does not exist yet. That is the same red as before the fix; what changed is that it now clears when step 1.6 runs, which it could not have before. Nothing else should be red.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Changes recommended

The new workflow-scan test currently ignores job scoping for steps.* resolution (can mis-validate real workflows), and the repin runbook still hardcodes main despite querying the default branch.

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

Review details

Suppressed comments (1)

docs/review-lane-repin-runbook.md:111

  • The runbook says to confirm the repository's default branch, but then hard-codes main for the commit resolution and compare. If the default branch is not main, the commands will resolve/compare the wrong ref and can mislead the operator. Capture the default branch into a variable and use it consistently.
# 1. Resolve the codexFactory commit and CONFIRM IT IS ON THE DEFAULT BRANCH.
gh api repos/codeXfactory/codexFactory --jq .default_branch
CORE=$(gh api repos/codeXfactory/codexFactory/commits/main --jq .sha)
gh api "repos/codeXfactory/codexFactory/compare/main...${CORE}" --jq .status   # identical|behind
  • Files reviewed: 15/15 changed files
  • Comments generated: 1
  • Review effort level: Lite

Comment on lines +379 to +385
steps = [step
for job in (document.get("jobs") or {}).values()
if isinstance(job, dict)
for step in (job.get("steps") or [])
if isinstance(step, dict)]
mints = {step["id"]: step for step in steps
if "id" in step
… the transfer

Fix round on the adversarial review of #801 — H-3, M-5 and the record owed for
B-1 recommendation 3. No respelling changes: the 41/15 set is untouched.

H-3. Both operator runbooks in this slice now STATE the precondition the
respelling created, because these are documents somebody pastes from:

* `docs/review-lane-repin-runbook.md` — "the App already installed in both
  repositories" was true when both were in one organization and is now a
  half-truth. It says outright that two organizations is TWO installations,
  that a GitHub App installation is per-organization so installing on one does
  not widen the other, that the source-read mint therefore names
  `owner: codeXfactory` LITERALLY rather than `${{ github.repository_owner }}`,
  and that the mint fails CLOSED. The remedy for a refusal is the installation,
  never a wider token.
* `docs/factory-origin-key-mint-runbook.md` — a PRECONDITION block under
  "Before you start" naming the two transfer steps every `codeXfactory/...`
  line in the file depends on: 1.2 (the address resolves at all) and 1.5 (the
  `worker-credentials` environment and `FACTORY_ORIGIN_SIGNING_KEY` survived
  the transfer), with the read-only command to confirm the second. And the
  refusal that matters: do not "fix" a preflight failure by minting into the
  old address — a secret written through a redirect lands wherever the redirect
  resolves and the register would then name a custody location nobody can
  audit. If either precondition is unmet the ceremony does not start.

M-5. The `EXPECT_SKIPPED` ledger gets its entry, in the form the file's own
rule at the header demands. UNCHANGED AT 21, and on this branch that number is
a gate rather than a report: 23 with both named verifiers `skipped` BEFORE the
transfer (the only red this branch is allowed to carry, and the reason the pull
request is a draft no early green can clear), 21 with both verifiers `passed`
AFTER step 1.6 — which is the merge-time proof, and the only check that
performs the cross-organization read at all. The entry also says what a 23 seen
AFTER the transfer means: the installation, the App's repository access or the
reusable-workflow access policy is wrong, and moving the pin to 23 would make
exactly the failure this design exists to surface into the expected state,
permanently.

B-1 recommendation 3 is NOT applied and needs Brett's word. The record is
`openspec/changes/adopt-codexfactory-repository-identity/review/addendum-2026-09-08-token-namespace.md`.
`identity_namespace` at `contracts/review-lane-repin-binding.template.yaml:103`
is a governed contract member that task 3.5 does not name — 3.5 enumerates
lines 46 and 110 of that file and no other — and it carries no
`opensoft/codexFactory` literal, so the sweep arithmetic is unaffected in either
direction. Canon defines the member by what issued the FETCH IDENTITY, and the
fetch identity is an Actions secret in `opensoft/openxFactory`, which does not
move; nothing executable turns on the value either, because the pair comparison
it feeds fires only where TWO bindings share a secret and this repository has no
such pair. The addendum states both readings, what reads the field, and a
proposed ruling: keep the value, add a comment, record the field as
deliberately not respelled. One line either way at the window.

Lane: provenance-autonomous-merge
Copilot AI review requested due to automatic review settings September 8, 2026 23:58
@brettheap brettheap changed the title GATED (runbook 1.2) — slice B1: the decision-core pin, the workflows, the operator tools (41/15) GATED (runbook Phase 1 COMPLETE, step 1.6 INCLUDED) — slice B1: the decision-core pin, the workflows, the operator tools (41/15) Sep 9, 2026
@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: provenance-autonomous-merge — fix round COMPLETE on this pull request. Head 245eac63; the status table at #801 (comment) is superseded by this comment.

Answering #801 (comment) finding by finding.

finding disposition
B-1 (BLOCKER) rec 1 — separate codeXfactory mint in pytest-suite.yml, app-token left alone FIXED 22125ea1
B-1 rec 2 — owner: codeXfactory on both merge-master-approval.yml mints and on review-lane-repin.yml FIXED 22125ea1
B-1 rec 3 — identity_namespace at contracts/review-lane-repin-binding.template.yaml:103 DECLINED pending the convener's word, with a record: 245eac63 — see below
B-1 rec 4 — a test tying each decision-core mint's owner: to the pin's owner segment FIXED 22125ea1
H-2 — title and body gate at 1.2; the true gate is Phase 1 complete, 1.6 included FIXED (title + body rewritten at this head)
H-3 — the App-installation precondition in both operator runbooks FIXED 245eac63
M-5 — the EXPECT_SKIPPED ledger entry FIXED 245eac63
M-4 — the ceremony merge order, on the body and in the runbook's Phase 10 FIXED (body § Ceremony merge order; runbook edit reported on #279)
L-1 — the body calls merge-master-approval required; it declares itself advisory FIXED (body says advisory, and says what an early merge costs there instead)
L-3 — the body's line numbers are stale FIXED, and the cause removed — the branch was merged up to origin/main (570cc6e3), so git merge-base origin/main HEAD is origin/main and git rev-list --count is 0. Every per-file count in the table was re-measured with git grep -o -i at 67405838; only one line number survives in the body (pytest-suite.yml:396, verified), and the body says the counts are the load-bearing claim because line numbers move.

B-1 rec 3, the one declined item

Recorded in openspec/changes/adopt-codexfactory-repository-identity/review/addendum-2026-09-08-token-namespace.md (Status: record), marked needs Brett's word. The contract line is byte-identical to main and stays that way until he rules. Three things the record establishes, each checked rather than recalled:

  1. The packet does not cover the field. tasks.md § 3.5 enumerates contracts/review-lane-repin-binding.template.yaml lines 46 and 110 and no other. :103 is in no task's list, and it carries no opensoft/codexFactory literal — so git grep never sees it and the sweep arithmetic is unaffected in either direction.
  2. Canon settles the truth question in favour of leaving it. identity_namespace names "the ISSUING DIRECTORY, ACCOUNT OR TENANT WITHIN THE PROVIDER that minted the fetch identity" (docs/credential-access-model.md:249-250, openspec/specs/credential-contracts/spec.md:322-326). The fetch identity here is github-actions:openxfactory:review-lane-repin — an Actions secret in opensoft/openxFactory, which does not move — and holder_ref on the line above is an openxFactory workflow. github:codeXfactory would be grammatical (IDENTIFIER at validate-credential-contracts.py:201 accepts both) and false.
  3. Nothing executable turns on it. The field's only effect is on shared-authority-identity, which compares the PAIR only where BOTH bindings of a pair declare a grammatical namespace. git grep -n 'secret_ref:' -- contracts/ returns two bindings on two different secrets; nothing else declares secret_ref: openxfactory-review-lane-repin-app. The pair comparison cannot fire on this record, at either value.

Proposed ruling in the record: keep github:opensoft, add a comment above it saying the member names the CONSUMER's issuing directory while the source repository's organization is carried by privileges.source_repository.repository below, and record the field as DELIBERATELY NOT RESPELLED in the evidence file's per-line form. That is a one-paragraph edit to a file already in this diff. If the ruling goes the other way it is a one-line value change with no check risk — the record says so, and says why it should not be made silently.

Validators at this head

python3 -m pytest tests/review_lane_pin tests/factory_identity/test_mint_script.py -q → 194 passed, 2 skipped, 48 subtests passed. openspec validate --all --strict → 100 passed / 1 failed, the same pre-existing disposition-codexfactory-declared-renames. validate-sequenced-after.py --ledger-diff → consistent, 185 rows. doc-health --single-repo . → 9 ERRORs, every one pre-existing and none in a file this diff touches (docs/contract-versioning-policy.md release-inventory-drift, four status-validity on other packets' records, four tag-hygiene in ideation/staging/). Freeze empty against contracts/signed-execution-chain/ openspec/changes/archive/ specs/ docs/decisions/ ideation/.

The expected red, stated so it is not mistaken for a defect: pytest-suite is red on this branch and must be, until the transfer. The only permitted red is the skip-count arm — skipped=23 against the pinned 21, with TheFreshnessVerifier and TheVectorReplay both skipped, because the codeXfactory installation does not exist yet. Anything else failing on pytest-suite is a real defect in this diff. What the fix round changed is that this red now CLEARS at step 1.6, which before 22125ea1 it could not have.

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

A couple of small but operator- and test-correctness issues were found (workflow scanning misses .yaml, and the runbook confirms default branch but hard-codes main for subsequent commands).

Review details

Suppressed comments (3)

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

tests/review_lane_pin/test_review_lane_caller.py:376

  • These tests say they walk “every workflow in the repository”, but the glob only includes *.yml and will silently ignore any workflow added as *.yaml. This makes the coverage claim in the docstring incorrect and can let future drift slip through untested.

This issue also appears on line 448 of the same file.

tests/review_lane_pin/test_review_lane_caller.py:452

  • Same issue as above: the scan only includes *.yml, so a *.yaml workflow would be skipped even though the docstring claims this checks “every workflow in the repository”.
        owner, bare = pinned.split("/", 1)

        checked = []
        for workflow in sorted((REPO_ROOT / ".github/workflows").glob("*.yml")):
            document = yaml.safe_load(workflow.read_text(encoding="utf-8"))

docs/review-lane-repin-runbook.md:112

  • The runbook asks the operator to confirm the default branch, but then hard-codes main for both the commit lookup and the compare. If the default branch is not main, the snippet will fetch/compare the wrong ref (and the confirmation step becomes misleading).
# 1. Resolve the codexFactory commit and CONFIRM IT IS ON THE DEFAULT BRANCH.
gh api repos/codeXfactory/codexFactory --jq .default_branch
CORE=$(gh api repos/codeXfactory/codexFactory/commits/main --jq .sha)
gh api "repos/codeXfactory/codexFactory/compare/main...${CORE}" --jq .status   # identical|behind

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

@brettheap

Copy link
Copy Markdown
Contributor Author

LANDING — lane provenance-autonomous-merge, session 21d83a@Eagle, 2026-09-09T15:40:45Z, PR #801 into openxFactory main

Brett Heap (convener), verbatim "merge 801", 2026-09-09T15:40:45Z. Ceremony merge 1 of 4 (runbook Phase 10 order); 6.5 precondition satisfied (B1b assignment, #279); 1.6/1.6a proven. Registered-green: 11/11 pass, skipped=21, 0 pending at c8d047e. Lane: provenance-autonomous-merge

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Hi @brettheap! 👋

Your private repo does not have access to Sourcery.

Please upgrade to continue using Sourcery ✨

@brettheap
brettheap merged commit e86eca3 into main Sep 9, 2026
12 of 13 checks passed
@brettheap
brettheap deleted the realize/codexfactory-identity-b1 branch September 9, 2026 15:40
@brettheap

Copy link
Copy Markdown
Contributor Author

LANDED — lane provenance-autonomous-merge, 2026-09-09T15:40:59Z, PR #801 → e86eca3

brettheap pushed a commit that referenced this pull request Sep 9, 2026
Fresh merge ref so pytest-suite runs the repointed pinned-core checkout;
no content change to the PR's own diff.

Lane: openxfactory-1
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap pushed a commit that referenced this pull request Sep 9, 2026
…a-moved-path

Fresh merge ref so pytest-suite runs the repointed pinned-core checkout;
no content change to the PR's own diff.

Lane: openxfactory-1
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap pushed a commit that referenced this pull request Sep 9, 2026
…porting

Fresh merge ref so pytest-suite runs the repointed pinned-core checkout;
no content change to the PR's own diff.

Lane: openxfactory-1
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 9, 2026
…oor-regeneration-merge-authority

Lane: openxfactory-2
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 9, 2026
…codeXfactory) into change/archive-bump-openspec-cli-pin-to-1.12

Lane: codexfactory-1
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01VazHnCSe7mh4WUj7E97h8y
brettheap added a commit that referenced this pull request Sep 9, 2026
…le: union of § addenda from B1 (landed as #801) and B2

Lane: provenance-autonomous-merge
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Co-Authored-By: Claude Sonnet 5 <[email protected]>
brettheap added a commit that referenced this pull request Sep 9, 2026
…ntent_apply_lane reaches sessions through the openXdox surface (split-opendox § 3.1) (#843)

OQ-B pre-carve re-plumb, part 1 of 2 (B-1 + B-3), realizing Brett Heap's ruling "rule all OQs as recommended" (2026-09-09), on his word "merge 843 when green". Mechanical, inside openxFactory; no behaviour, signature or public-name change.

- B-1: the slug family (`MAX_SLUG_CHARS`, `_SLUG_KEY_SEPARATOR`, `_SLUG_KEY_DIGEST_CHARS`, `_slug_key_digest`, `slug` — 66 lines, byte-identical, sha256 ac32a122…) moves from `scripts/ideation_dashboard/workbench.py` to the new neutral module `scripts/path_slug.py` beside `output_boundary.py` (`not_moved / replicated_at_destination` at the carve, RULED OQ-A/OQ-C); `workbench.py` re-exports the same objects; `human_seen.py` (adapter column) reads `slug` from the neutral module — the ruled edge is gone.
- B-3: new `scripts/ideation_dashboard/openxdox_surface.py` (openXdox column) is a named re-export of `branch_session.bootstrap_sessions` and nothing else; `intent_apply_lane.py` reaches sessions through it — at the carve the lane's import becomes a package-path rewrite.
- Edges (AST, five spellings): openxFactory→openDox 8 → 6; no new forbidden-direction edge. Remaining six are the `boundary` shim reaches, B-2 (`serve_openxfactory_lanes → serve_wire`, its own PR), and `lens_submission`'s two (OQ-B's fourth item, `import rewrites` at the carve).
- `tests/notebooklm/` DEFERRED by measurement (22 distinct names / 65 reaches over four openDox modules, all as namespace imports, one private): recommended `import rewrites at the carve`, like `lens_submission` — recorded on #656.
- Tests: new `tests/ideation-dashboard/test_oqb_replumb.py` (7) + a `path_slug` neutrality test in `tests/doc-health/test_import_direction.py`; Copilot round 1 taken; independent verification PASS WITH NOTES (10/10) on the PR, its one should-fix taken in a second round (a source-level assertion that workbench re-exports rather than redefines the slug family).

Landed after the estate freeze lifted: the required `pytest-suite` had been red on every openxFactory PR since the codexFactory org transfer (pinned-core token) until #801 repointed it; the advisory `merge-master-approval` red of the same cause is disclosed, not a finding against this change.

Refs #656 (stays OPEN).

Lane: openxfactory-4-opendox-extraction
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 9, 2026
…S-1/S-3, and true-up lens_submission's docstring after B-1; B-2's relocation measured and held for a ruling (split-opendox § 3.1) (#848)

The owed line-citation refresh after the § 3.1 pre-carve splits, sequenced before the carve manifest because every manifest row carries a sha256 — on Brett Heap's word "merge 848 when green" (2026-09-09). Prose only; every changed file's AST (docstrings stripped) is identical to main.

- Eight citation numbers across four files (`scripts/ideation_dashboard/serve_wire.py`, `tests/ideation-dashboard/test_doxbench_abstract_route.py`, `test_doxbench_scope.py`, `test_doxbench_turns.py`) refreshed to the symbols' locations after S-1 (#837, −71 lines in `doxbench_scope.py`) and S-3 (#835); one historical S-3 citation and three archived-change hits correctly left; the `staging-workbench-model.js` citation family is out of scope.
- `lens_submission.py:36-38`'s docstring trued up after OQ-B B-1 (#843: `human_seen` reads `slug` from the neutral `scripts/path_slug.py`).
- B-2's relocation was measured and HELD for a ruling, not performed: `hosted_ref_refused` reaches `snapshot_registry` (openXdox) and cannot be neutral; the recommended home (i′) is `serve_projection.py` beside `hosted_index`, which keeps the serve-surface location pin green with no test edits (verified). The three string constants take the neutral module when B-2 is ruled.
- Independent verification PASS WITH NOTES (8/8 citations exact by three instruments); body corrections taken.

Landed after the estate freeze lifted (required `pytest-suite` red on every openxFactory PR since the codexFactory org transfer until #801 repointed the pinned-core token); the advisory `merge-master-approval` red of the same cause is disclosed, not a finding against this change.

Refs #656 (stays OPEN).

Lane: openxfactory-4-opendox-extraction
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 9, 2026
…pinned-core token fix, so the required pytest-suite is judged on its own result

None of this branch's seven files is touched by the move (`git diff --name-only 6df2173..origin/main` names none of them), so the re-plumb is unchanged; the edge scan and the suites are re-run at this merged head.

Lane: openxfactory-4-opendox-extraction
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 9, 2026
…ve manifest, with its pytest driver (split-opendox § 3.1, part 1) (#839)

split-opendox-two-layer-product § 3.1, part 1 — the validator of the carve manifest, on Brett Heap's word "merge 839 when green" (2026-09-09). New files only; no existing file, contract, workflow or openspec document changes; the manifest itself (`docs/opendox-carve-manifest.yaml`, RULED OQ-E) does not exist yet and is authored at the carve commit.

- `scripts/validate-carve-manifest.py`: the memo § 1.3 checks in order — shape, revision (HEAD == carve_commit, or `--at`), digest (raw git blob at carve_commit + git_mode), surface completeness over `moved_paths:` (every file in exactly one row), closed vocabularies (the three dispositions; `edit_classes` asserted EQUAL to RULING OQ-1's three; `destinations` a closed map; `not_moved_reasons` ⊆ the five, incl. `replicated_at_destination` — RULED OQ-C), disposition consistency (the sixth check), plus path order and readability. Closed `REFUSAL_CODES`; exit 0 clean / 2 any refusal; an absent manifest exits 0 with `NO MANIFEST` so the suite stays green until the carve PR.
- `tests/carve_manifest/test_carve_manifest.py`: subprocess driver over throwaway git fixtures; every refusal code asserted by name; collected by `pytest tests/` on every PR.
- Copilot round 1: two factual findings taken (surrogateescape path-order key; non-UTF-8 manifest refuses `carve-unreadable` instead of crashing). Copilot round 3: destination entries are a closed `{repository, leg}` map; a relative `--manifest` resolves against `--repo`.
- Independent adversarial verification (81 attacks, 0 blocking) → fix round 1 took its seven should-fixes (a named missing manifest refuses; strict row and top-level grammar; integer `schema_version`; dead or leaky surface prefixes refuse — new `carve-surface-vacuous`; YAML errors are shape defects; `carve-unreadable` in the closed tuple with a completeness test; a real bytewise-order test; `edits[].lines` bounded by the blob; duplicate destination paths refuse). Re-verification (134 attacks, 0 blocking) → fix round 3: duplicate arrivals are keyed on the real (repository, leg, destination_path), not the destination alias; Copilot's surrogate-path crash claim answered as unreachable in a docstring. Copilot round 4 (on the merge commit): destination keys must be label strings (an int key had crashed to exit 1); the closure test reads CarveRefusal calls by AST, not by quote style. Eleven refusal codes; 77 tests; exit codes 0/2 only.

Landed after the estate freeze lifted: the required `pytest-suite` had been red on every openxFactory PR since the codexFactory org transfer (pinned-core token) until #801 repointed it; the advisory `merge-master-approval` red of the same cause is disclosed, not a finding against this change.

Refs #656 (stays OPEN).

Lane: openxfactory-4-opendox-extraction
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap pushed a commit that referenced this pull request Sep 9, 2026
RATIFIED 2026-09-09 by Brett Heap (openxFactory operator authority), in session,
verbatim: "merge 842 and 846 when green, then ratify the 729 packet"
(2026-09-09T13:13:41Z, recorded on openxFactory issue #729). THE WORD IS ONE
UTTERANCE OF THREE CLAUSES IN ORDER, AND THE ORDER WAS KEPT: PR #842 merged
4cdadd5 at 16:11:57Z (closing #840) and PR #846 merged 183d1b4 at 16:12:40Z
(closing #833), both green after #801 cured the codexFactory org-move red; this
is the third clause. The earlier "author the 729 packet"
(2026-09-09T12:32:46Z) stays recorded as the ORIGIN of the authoring.

THE VETO POINT WAS PUT AND WAS NOT TAKEN. design.md D1 — option A (a
reason-quoted code span reported only where it matches EXACTLY a unit of the
requirement's basis that the block does not carry and that no marker declares
removed) against option B (any code span standing inside a reason, the remedy
shape issue #729's own body proposed) — was carried in the pull request body, in
tasks.md § 1.2, in the README row and on issue #729, with B written out beside A
and its four costs MEASURED. A is RATIFIED AS DESIGNED, ground two included, and
so is the narrowing D5 adds to the ruling's literal wording ("and that no marker
declares removed", narrower in the SILENT direction), which was disclosed on
#729 at 14:22Z — before the act the word made conditional on #842 and #846
landing green. A veto of A would have been a veto of GROUND TWO ONLY; ground
three rested on no predicate choice.

WHAT MOVES. proposal.md, design.md and tasks.md carry Status: ratified with
EXACTLY ONE citation line each (Ratified: in the proposal's front matter,
Ratified by: in the other two), which is what ratified-provenance counts.
.openspec.yaml gains approved_by + approved_on BESIDE the drafting provenance it
was authored with — kind and id unmoved, the addition-not-rewrite shape
add-drafted-proposal-origin defined, and the shape the archive gate's
origin-retention arm reads, which is why the status flip and the approval pair
move in ONE commit. The README OpenSpec Records row flips. Two records are
captured beside the packet: review/ratification-2026-09-09.md and
review/verification-2026-09-09.md.

TWO DISCLOSURES CARRIED INTO THE RECORD RATHER THAN LEFT TO BE FOUND. (a)
families.FAMILY_RESOLUTION line 117 has carried modified-block-currency as
CONTESTED since the flip of 2026-08-31 (#357) and that table has no per-class
grain, so issue #729's "not contested" premise was stale; the packet claims NO
exemption and states the inheritance plainly (design.md D7), and the MODIFIED
block carries canon's now-false "deliberately absent from FAMILY_RESOLUTION"
paragraph BYTE-FAITHFULLY BY NECESSITY — a MODIFIED block restates canon as
canon states it and this packet replaces exactly one sentence — recorded as
residue at tasks.md § 5.3. (b) #719's promoted Removed from canon marker names a
sentence canon no longer carries, so ground three would fire on it; it is
deliberately NOT restated, on this requirement's own rule that a marker is not a
carriage unit in either direction, and the AMENDED BY note says so in terms.

WHAT DOES NOT MOVE. No promoted canon is touched, no code and no test moves, no
ledger row moves (a row's derived keys read no lifecycle status), and § 5.2–§ 5.7
stay UNTICKED — the archive is a separate act on merged-plus-green realization
evidence and on a separate word, so #729 closes at archive and not at this
landing, which is why this pull request carries no closing keyword.

VERIFIED ON THE RATIFIED TREE, every number re-derived after the encode and with
both records in the lifecycle scan set: openspec validate
amend-marker-defect-reporting --strict valid; --all --strict 100 passed / 3
failed with the failure SET byte-identical to origin/main 183d1b4's same three
(disposition-codexfactory-declared-renames,
pin-openspec-cli-dependency-closure, spec/repo-boundary-governance) and none of
them this packet's; the pinned 1.12 entrypoint 1 passed / 0 failed clean;
proposal-support verify ok; sequenced_after passed (42 active, 9 declaring) with
the ledger consistent (190 rows) and ZERO rows moved; scope_globs passed;
doc-health --family modified-block-currency 0/0/0/8+1 = 9 info, finding lines
IDENTICAL to the origin/main control; doc-health --single-repo 10 critical /
8 error / 57 warning / 16 info with the finding-line diff against the
PRE-RATIFICATION branch EMPTY and the only line differing from origin/main's
being another change's pre-existing "missing status header" that #847 archived
out of the active scan set on main after this branch's last merge; the family
names this change ZERO times; pytest tests/doc-health 1646 passed
(test_modified_block_currency.py 139, the two touched files 178).

A MERGE FROM MAIN AND A RE-MEASURE ARE OWED AT LANDING. The branch's last merge
took e86eca3 (#801) at 15:44Z and #842/#846/#847 landed after it, so this tree
does not carry them; verification-2026-09-09.md § 9 states in advance which
figures move when the merge is taken.

Refs #729

Lane: openxfactory-1
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 9, 2026
…le: union of § addenda from B1 (#801), B2 (#802) and B3

B3's branch never modified the evidence file
(openspec/changes/adopt-codexfactory-repository-identity/evidence/codexfactory-identity-sweep-2026-09-08.md),
so the merge produced no conflict there: main's § 16 (B2's addendum, #802)
and § 17 (B1's addendum, #801) land unchanged, separated by the existing
--- rules, no TOC/index to update, zero conflict markers anywhere in the tree.

Lane: provenance-autonomous-merge
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Co-Authored-By: Claude Sonnet 5 <[email protected]>
brettheap added a commit that referenced this pull request Sep 9, 2026
…le: union of § addenda from B1 (#801), B2 (#802), B3 (#805) and B4

Lane: provenance-autonomous-merge
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