Skip to content

T070b: fold Copilot's four items into realize-doc-health-direction-arc before the ratify word (plan 038) - #1253

Merged
brettheap merged 3 commits into
mainfrom
r2/t070b-arc-fold
Oct 6, 2026
Merged

brettheap merged 3 commits into
mainfrom
r2/t070b-arc-fold

Conversation

@brettheap

@brettheap brettheap commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

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

T070b: fold Copilot's four items into realize-doc-health-direction-arc before the ratify word (plan 038)

#1247 filed openspec/changes/realize-doc-health-direction-arc/ (now on main at 51456835). Copilot's review 5427373153 at its head 2a79d329 listed four "previously missed" items with no thread. The holder ruled that all four are folded in BEFORE T071 puts the change to Brett Heap, so that his ratify word covers the final text. This PR makes exactly those four amendments, to the change's own Status: draft text, and nothing else.

This is the change's own pre-ratification text, not a realization landing, so the PR carries no Arc: line.

The four items, as Copilot words them, and the amendment

# Copilot's item Amendment
1 tasks.md:56: "Add explicit CR, LF, and CRLF boundary assertions". The round trip alone also passes for str.splitlines(keepends=True), which round-trips form feed and U+2028 while splitting on them. tasks.md 2.1's falsifier gains explicit boundary assertions that ONLY CR, LF and CRLF split rows ("a\rb", "a\nb", "a\r\nb" give two rows, CRLF as ONE ending; form feed, U+2028 and the other str.splitlines() separators leave ONE row). design.md § 3 ("Its falsifier is behavioural") states the same.
2 tasks.md:79: "Require empty-seam refusal to name its registrar". D3 requires the seam AND what registers it. tasks.md 3.1's falsifier: the empty-seam error names the seam AND what registers it (D3; design.md § 4.2), and each seam's test asserts the message carries both, so an error naming only the seam fails.
3 tasks.md:136: "Test refusal of partially declared new seam groups". D7's all-or-none group has no test for a leg declaring only some of the four. tasks.md 4.1's host-wiring test shows THREE refusals, each leaving no governed seam written: a leg declaring only SOME of the four (D7), a refusal part-way through the seams, a refusal at the column call.
4 tasks.md:224: "Compute protected filenames dynamically instead of freezing the set". 12.5 computes its set with git grep; a typed list of 16 misses a governed suite added or renamed before T074. A real guard gap. tasks.md 4.3's oracle replaces the typed 16 names with 12.5's own selector, git grep -l -e 'open-pr' -e 'open_pr' -e 'FakePullRequests' -- 'tests/test_*.py', and 12.5's floor, -ge 16. Round 2 (Copilot's review 5432328728, below): the set is computed from the tree BEFORE the arc's first landing in that repository AND from the final tree, the floor holds on each, and the oracle takes their UNION, so a landing cannot strip a suite's markers and drop it out of its own protection. design.md § 8 states the same.

Two readings, both ruled by the holder (item 2's reading stands as inferred):

  • Item 2. "What registers it" is read as the seam's registration call, the one 3.1 already requires each seam to declare (design.md § 4.1). That reading is inferred; design.md § 4.2 says only "the seam and what registers it".
  • Item 3. Beside the some-of-four refusal, 4.1 also says a leg declaring openDox's six and NONE of the four is accepted. design.md § 4.3 and D7 already state it ("a leg, not a gap"), and without it the test could not catch Copilot's other stated risk, the four folded into the six's group. The holder ruled it KEPT.

Files changed (2, +48 -15 against main at e6380965)

file change
openspec/changes/realize-doc-health-direction-arc/tasks.md 2.1, 3.1, 4.1 and 4.3 (items 1 to 4)
openspec/changes/realize-doc-health-direction-arc/design.md § 3 (item 1) and § 8 (item 4), to keep it consistent with tasks.md

proposal.md, .openspec.yaml, the README bullet and the ledger row are untouched: the ledger row carries no digest, so editing the change's text moves no row.

Falsifier

All at head e4f3f1db, which is main (e6380965) merged into the branch. The pinned gate, from the openxFactory root, exits 0:

$ python3 scripts/validate-openspec-cli-pin.py --all --strict
change/realize-doc-health-direction-arc
  ℹ [INFO] file: skip_specs is set in .openspec.yaml: change declares no spec-level behavior changes, zero deltas accepted
...
Totals: 113 passed, 1 failed (114 items)
OK openspec-cli-pin: @fission-ai/[email protected] verified against its content address; every target validated --strict with 0 UNDISPOSITIONED failures. THIS IS NOT A CLEAN TREE: 1 finding(s) are ACCEPTED EXCEPTIONS, named above.

The one dispositioned finding is add-chain-attestation / signed-execution-chain/spec.md, the same as on main. main itself reports one more passing item than at #1247's head, because prefer-triad-project-shape landed (#1249); this PR adds none.

The other validators, all exit 0:

command result
validate-sequenced-after.py . --ledger-diff "per-change sweep ledger consistent with the corpus (232 rows)"
validate-sequenced-after.py . passed, archive-date checks included
validate-code-surface.py . passed
validate-target-release.py . passed
proposal-support.py . verify realize-doc-health-direction-arc "proposal support verification ok"

doc-health. scripts/doc-health.py --single-repo . on main (e6380965) and on this head, in the same clone: 31 critical, 22 error, 69 warning, 20 info on both, and the sorted finding lists are identical (empty diff). No new finding.

Local pytest (a subset that reads the change corpus: tests/sequenced_after, code_surface, target_release, proposal-support, scope_globs, packet_reference): 866 passed, 307 subtests passed. CI's pytest-suite runs the whole suite.

Item 4's block, run and mutated. The openXdox-code block of 4.3 was extracted from tasks.md itself and run in a separate clone of openXdox-code at 56e1c238, on synthetic arc landings (local, never pushed). scripts/protected_suites.py is the real oracle there.

  • The computed set at 56e1c238 is 16 files, IDENTICAL to the 16 names the typed list carried (diff empty), so the swap changes nothing today.
  • A benign landing carrying the trailer: rc 0, "0 protected edit(s)".
  • Round 1's selector (final tree only) is bypassable. A governed suite was added before the arc (count 17), then one landing strips every marker from tests/test_session_verbs.py (count back to 16, floor met): rc 0, the strip is undetected. This is Copilot's finding, reproduced.
  • The amended block (union) kills it. The same history: rc 1, FAIL: the arc edited protected suites outside the reviewed allow-list: tests/test_session_verbs.py.
  • Floor mutant, a governed proof removed BEFORE the arc (pre-arc set 15): rc 1 at test ... -ge 16. Killed.
  • A new suite that injects FakePullRequests joins the computed set, and the typed list does not carry it. The gap round 0 named, closed.

Copilot

  • Review 5427373153 at T070: file realize-doc-health-direction-arc, the doc_health direction arc's own change (plan 038) #1247's head named the four items.
  • This PR's first head, 02e3d706: review 5432328728, Changes recommended, 2 findings, both on item 4 and both the same point: the selector read only the final tree, so a landing could remove its own protection. Fix-now: reproduced above (a simple payload: strip the markers), and it is a regression against the typed list, which was immune. Fixed in 15137889 (the union). Both threads are answered and resolved.

What is NOT done

  • No code anywhere, no realization slice, no pin move. Those are T072, T074 and T075, after T071.
  • Plan 038's tasks.md is not amended. Its T072, T074 and T075 Falsifier lines are terse ("the module's own tests") and name none of these four; the change's tasks.md is where they are stated. Whether to mirror them there is the holder's act.
  • The change stays Status: draft. Brett Heap's ratify word is T071.
  • The PR stays a DRAFT. The holder lands it under a Rule 6 window (it touches openspec/changes/).

🤖 Generated with Claude Code

…alize-doc-health-direction-arc (plan 038)

Four amendments to the change's own pre-ratification text, so that Brett's
ratify word covers the final text:

1. 2.1 (T072's falsifier): explicit boundary assertions that only CR, LF and
   CRLF split rows; the round trip alone also passes str.splitlines(). design
   section 3 states the same.
2. 3.1's falsifier: the empty-seam refusal must name the seam AND what
   registers it (D3).
3. 4.1's host-wiring test: a pinned leg declaring only some of the four new
   seams is refused (D7), and a leg declaring the six and none of the four is
   accepted.
4. 4.3's protected-suite oracle: 12.5's set is computed with the git grep 12.5
   uses, with its floor of 16, not typed out as 16 names. design section 8
   states the same.

No Arc: line; this is the change's own text, not a realization landing.

Lane: openxfactory-4
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@sourcery-ai

sourcery-ai Bot commented Oct 6, 2026

Copy link
Copy Markdown

Reviewer's Guide

This draft updates only the change’s pre-ratification governance text to incorporate Copilot’s four missed falsifier requirements: explicit line-boundary semantics, registration-aware empty-seam diagnostics, partial seam-group refusal coverage, and dynamic protected-suite selection. No code, realization landing, pin, status, or external plan text is changed; the listed validation gates remain green with the existing accepted exception.

File-Level Changes

Change Details Files
Strengthen the line-splitting falsifier so it verifies the intended CR/LF/CRLF boundaries rather than only round-trip behavior.
  • Add explicit two-row assertions for CR, LF, and CRLF, including single-ending CRLF behavior.
  • Assert form feed, U+2028, and other Python splitlines separators remain within one row.
  • Explain why round-trip-only tests can miss incorrect separator handling.
openspec/changes/realize-doc-health-direction-arc/tasks.md
openspec/changes/realize-doc-health-direction-arc/design.md
Make empty-seam refusal tests verify both required diagnostic components.
  • Require errors to identify the empty seam and its registration call.
  • Specify per-seam assertions so seam-only messages fail.
openspec/changes/realize-doc-health-direction-arc/tasks.md
Expand host-wiring falsifiers to cover partial declarations and preserve the intended seam grouping.
  • Add refusal coverage for a leg declaring only some of the four governed seams.
  • Retain mid-registration and column-call rollback/refusal checks.
  • Verify a leg declaring the six openDox seams and none of the four is accepted.
openspec/changes/realize-doc-health-direction-arc/tasks.md
Replace the frozen protected-suite allowlist with a dynamically computed oracle.
  • Derive governed suites using the same git-grep selector as item 12.5.
  • Enforce the historical floor of 16 suites to detect disappearing proof coverage.
  • Use the computed set in the protected-suite validation command while retaining the separate generator-suite chain check.
openspec/changes/realize-doc-health-direction-arc/tasks.md
openspec/changes/realize-doc-health-direction-arc/design.md

Tips and commands

Interacting with Sourcery

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

Customizing Your Experience

Access your dashboard to:

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

Getting Help

@brettheap
brettheap requested a balanced review from Copilot October 6, 2026 17:33
@brettheap brettheap changed the title DRAFT T070b: fold Copilot's four items into realize-doc-health-direction-arc before the ratify word (plan 038) T070b: fold Copilot's four items into realize-doc-health-direction-arc before the ratify word (plan 038) Oct 6, 2026

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

The final-tree-only suite selector can omit a protected suite whose marker is removed by the reviewed changes.

Review effort: Balanced
Findings: 2 High severity

Open (2)
What changed in this PR

Strengthens the draft document-health direction arc’s planned falsifiers before ratification.

Changes:

  • Adds explicit line-boundary and seam-registration assertions.
  • Expands host-wiring refusal coverage.
  • Replaces the fixed protected-suite list with dynamic discovery.
File Description
tasks.md Strengthens implementation tasks and falsifiers.
design.md Aligns design rationale with the updated falsifiers.

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

brettheap and others added 2 commits October 6, 2026 17:49
…rees (Copilot, review 5432328728 on #1253)

The dynamic selector read only the final tree, so a landing could strip a
protected suite's markers and drop it out of its own protection while another
governed suite kept the floor at 16. 4.3 now computes 12.5's set from the tree
before the arc's first landing here AND from the final tree, holds the floor
on each, and takes their union; design section 8 states the same.

Lane: openxfactory-4
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Lane: openxfactory-4
Co-Authored-By: Claude Sonnet 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

🟢 Approval recommended

The four amendments are consistent, complete, and the previously identified protection gap is resolved.

Review effort: Balanced
Findings: None

Resolved since last review (2)

@sonarqubecloud

sonarqubecloud Bot commented Oct 6, 2026

Copy link
Copy Markdown

@brettheap
brettheap marked this pull request as ready for review October 6, 2026 18:54
@brettheap

Copy link
Copy Markdown
Contributor Author

READY at e4f3f1d

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

Holder, at READY (T070b: fold Copilot's four items into realize-doc-health-direction-arc, before Brett's ratify word T071; plan 038).

  • Under a Rule 6 window: this touches openspec/changes/.
  • Gates at the head:
    • all 13 checks pass, pytest-suite included;
    • the pinned gate exits 0, the same as main;
    • doc-health is identical to main;
    • Copilot 5432608039 recommends approval, with no findings;
    • both threads are resolved;
    • no closing keywords;
    • no Arc: line, as this is the change's own pre-ratification text.
  • Item 4's guard gap is closed. The first head's two findings showed a selector that reads only the final tree could let a landing strip a suite's markers. The fix takes the union of the pre-arc and final trees, with the floor of 16 on each.
  • The holder's answers are applied as given.
  • Next: plan 038's T072, T074 and T075 Falsifier mirrors go in the next bookkeeping batch. After this lands, the holder puts the change to Brett for ratification (T071).

@sourcery-ai

sourcery-ai Bot commented Oct 6, 2026

Copy link
Copy Markdown

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 22 hours and 25 minutes by commenting @sourcery-ai review. Upgrade to get a review now.

@brettheap

Copy link
Copy Markdown
Contributor Author

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

LANDING — lane openxfactory-4, session faabad8b-8c31-4958-abd5-b35bdc9cd282@Eagle, 2026-10-06T18:56:17Z, PR #1253 into opensoft/openxFactory main

@brettheap
brettheap merged commit fc4fa0f into main Oct 6, 2026
18 checks passed
@brettheap

Copy link
Copy Markdown
Contributor Author

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

LANDED — lane openxfactory-4, 2026-10-06T18:56:52Z, PR #1253 → fc4fa0f (opensoft/openxFactory main; squash)

brettheap added a commit that referenced this pull request Oct 6, 2026
Take the nine items of the independent review of PR #1255 in one pass:

1. MAJOR. The record no longer reads or tallies single-repository.yaml. The
   ratified requirement makes the advisory its only reader. It is dropped from
   the reads, the 28 evidence cells, the counts, the re-run recipe and the
   5.7 tick; one sentence says why, and discloses the discarded request.
2. Rows 18, 19, 20, 23 now state both facts: a product with code and specs,
   and the naming barrier. Note B says the barrier is the documented in-place
   posture, not a hard check in adopt-project.py. Row 22 has no spec corpus at
   its measured sha and keeps its "a tool" reason.
3. The external row cites the inventory's own definition and is called a
   stated departure from 5.7's text, in note D and in the tick.
4. The base sentence names #1252 and #1254; fc4fa0f is #1253's merge.
5. Rows 11 and 12 drop the "already elected" clause.
6. Private rows' reasons are described as naming no path from their tree.
7. Section 1 states the inventory's scope (brett-wip, MedxGlass).
8. The 5.7 tick names PR #1255.
9. The naming verdicts are identical at the pinned openRepoShape e9c4827b.

Counts are unchanged: 3 Triads, 6 legs, 28 single; 12 migrate, 15 record
staying single, 1 none made.

Lane: codeXfactory-5
Co-Authored-By: Claude Opus 5.5 <[email protected]>
brettheap added a commit that referenced this pull request Oct 7, 2026
…e identity response shape and the single-writer chains (plan 038) (#1257)

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

**T002, second bookkeeping batch, plan 038: T094 and the slice entries T095 to T104, the identity response shape, the single-writer chains, and the ticks.** Bookkeeping, so this PR carries no `Arc:` line. It touches no `openspec/changes/` path, so no Rule 6 window applies. It began stacked on #1251's head; #1251 has landed (`1837ea75`) and `main` is merged in (`543f6ce1`), so the diff against `main` is this batch alone.

## From plan 038's `tasks.md`, T002

- **Task**: T002, "Release-2 base, and the re-measure at the ruling" (landed in #1251; this is its second batch of bookkeeping, the brief of the holder's `T002b`).
- **Realizes**: none (bookkeeping; FR-025). **Falsifier**: T002 names none. Its gates are the brief's, quoted under "Review and gates".
- **Ruled / Decisions**: none of its own. Every item is a ruling already posted on `#656`, or a landing already merged, encoded as worded and cited by comment id or merge commit.

## The items

| # | Where | What changed | Record |
|---|---|---|---|
| 1 | tasks.md: T094, T095 to T104, T073 | T094 ticked, with its result quoted: 436 composed reds over 51 files, outside 12.5's set (Base 2; 533 at Base 1). The `T095+` placeholder becomes ten entries, T095 to T104, each with its slice name, Files, After and Falsifier from R2-INV-R9's outline and the holder's rulings, `Lane: 3 (openXfactory-3)`. T073's After and Files name them. The map's means, the rulings (R9-R1 (a), R9-R2 (a), W1 to W7) and the OQ defaults are recorded once, above the entries | map `R2-INV-R9.md`; `6021830607`; claim `6021862323`; rulings `6021830531` |
| 2 | T095, T101, T104, T097 | T095: the two confirmed departures from OQ-R9-1 (`plane_host_for` untouched, an autouse fixture registers the declared host; `DECLARED_HOST_SUITES` guarded structurally). T101: `tests/declared_exclusion.yaml` for ONE entry (reasons `[doc_health]`, note dropped, the `only` list loses the file, count stays 66). T104: `tests/test_binding_stylesheets.py`, the pin 572 to 574. T097: its served-display respelling is R9-R1 (a) applied | `6022291206`; the T097 line is `6023517122` (the holder confirmed the citation, `6026622117`) |
| 3 | plan.md: the single-writer table; tasks.md Files and After lines | W7's chains: `tests/conftest.py` T020, then T021 and T026 in landing order, then T095, T073, T074; `tests/test_host_plane.py` T020, T026, T095; `declared_exclusion.yaml` T101, T073, T074; the four T074 test files T103 then T074; the census T025, T104, T015, T016, T057 (the row splits, so `test_web_boundary.py` keeps its own chain). T015's and T074's After gain T104 and T103 | `6021830531`, `6022291206` |
| 4 | tasks.md: T072, T074, T075 falsifiers | The four folds of #1253, in the arc change's own wording: T072 asserts that ONLY CR, LF and CRLF split rows; T074's seam tests assert that an empty-seam read names the seam AND its registrar; T075's host-wiring test shows a leg declaring only SOME of the four seams refused, and a leg declaring the six and none of the four accepted; T074's protected-suite oracle computes 12.5's set as 12.5 does (`git grep -l -e 'open-pr' -e 'open_pr' -e 'FakePullRequests'`), from the pre-arc and the final tree, the floor of 16 on each, and takes the union | openxFactory#1253 to `fc4fa0ff`; Copilot `5427373153` |
| 5 | spec.md FR-011; tasks.md T041 | FR-011's JSON shape gains `identity`, emitted and bounded as openDox-spec's finding schema bounds it (no `excerpt`, `text`, `content` or `quote` key, no number, strings of at most 200 characters, `{category, entry}` for a pathless finding, `{collided_id}` for a collision). T041's falsifier gains a response-shape test asserting exactly that bound. The coverage row for FR-011 names T041. The serialized-size cap was already T041's at the base (T041's text says so, and T042 "stores what T041 bounds"), so nothing moved | holder `6018624750` |
| 6 | tasks.md ticks | T011, T014, T021, T023, T025, T026 and T060 ticked, T070's tick gains #1253, and T002's own landing is recorded. Each merge commit was verified with `gh pr view <n> -R <repo> --json mergeCommit` (listed below) | the landings |
| 7 | tasks.md: T072 | A Files line (`src/opendox/lines.py`, `tests/test_lines.py`); the Ruled line gains `6023517122`: `head_sha` (a), its own public `head_sha` parity-tested against `serve._head_of`, `serve.py` untouched; the line split (a), `doxbench_defaults.py` untouched. Folding either private helper is recorded as unscheduled and optional, and is not scheduled | holder `6023517122` |
| 8 | contracts/health-finding.md:91 | The sentence reads: a stored `identity` makes a cross-run collision between STORED findings detectable; an exception-only finding is never stored; whether the engine reports it remains T046's concern. Nothing else on the line changed | holder `6018624750`; Copilot `5433292692` |
| 9 | plan.md; tasks.md | Copilot's three items at #1251's head `1eb8e9eb`, accepted by the holder at its landing: (a) the pin and landing-order row for T073 names T005 and T095 to T104 as prerequisites, and `T095+` reads T095 to T104 at the critical path, the lane table and the revision note; (b) the combined `conftest.py` and `test_host_plane.py` row splits, and the cross-lane summary gains T026 (and the other chains of item 3); (c) the same split in T020's, T021's and T026's Files lines | holder replies `4201056969`, `4201057311`, `4201057577`; READY note `6026651962` |

### The ticks, verified

| task | pull request | merge commit | merged |
|---|---|---|---|
| T011 | opensoft/openDox-code#92 | `09b8d44a` | 2026-10-06T19:15:55Z |
| T014 | opensoft/openDox-code#93 | `a7a1c4d3` | 2026-10-06T22:23:06Z |
| T021 | opensoft/openXdox-code#40 | `f70bc9c3` | 2026-10-06T19:07:10Z |
| T023 | opensoft/openXdox-code#42 | `d45a0939` | 2026-10-06T17:45:33Z |
| T025 | opensoft/openDox-code#91 | `84f8ed83` | 2026-10-06T17:33:31Z |
| T026 | opensoft/openXdox-code#43 | `36bbef79` | 2026-10-06T22:35:40Z |
| T060 | opensoft/openDox#20, the tag `dox-v1.2` (tag object `58538ff3`, on `6a9f4902`), opensoft/openDox#21 | `6a9f4902`, `c7f75845` | 17:46:59Z, tag 17:58:45Z, 19:02:39Z |
| T070 | openxFactory#1253 (T070b, added to its tick) | `fc4fa0ff` | 2026-10-06T18:56:42Z |
| T002 | openxFactory#1251 (its own landing) | `1837ea75` | 2026-10-06T22:31:42Z |

- **T021** landed with Copilot r4199337845 an ACCEPTED LIMIT (holder READY note `6023492215`); T021's entry records it.
- **T025's** entry says its 34 nodes are "quoted at T029"; that stays T029's, and the entry says so.
- **T011's** server node is T014's, as its own Falsifier says.

**Skipped, because already present at the base:** T020's and T024's ticks (#1251 item 13) and T004's tick (#1245, `260234b5`), all confirmed with `git show <commit>:<tasks.md> | grep`.

**T071 is NOT ticked.** Brett's word, "Ratify it (Recommended)" (`#656` `6023375303`), is recorded on T071's entry, but the change's ratification-record PR has not landed (no such PR is open or merged on `opensoft/openxFactory` at this writing). The box stays open.

## Readings the holder accepted (`6026622117`), disclosed as the brief requires

- **W7 omits T026 from the openXdox-code chains.** The single-writer table keeps T026 where its own ruling (`6016648451`) puts it, and lane 3's claim (`6021862323`) says T026's PR lands before T095. So the conftest chain reads T020, then T021 and T026 in landing order, then T095, T073, T074; and `test_host_plane.py` reads T020, T026, T095, as W7 gives it with T026 added.
- **R9-R2's last sentence** ("If the re-scoped test runs alone, it leaves the declaration, and the count moves with it, as the declaration's own rules require") is recorded in T100 as worded. `declared_exclusion.yaml` is NOT added to T100's Files: the holder's file list at `6022291206` names it for T101 only.
- **Edits outside tasks.md**, ruled in scope as each item names its place: plan.md (items 3, 9), spec.md FR-011 (item 5) and `contracts/health-finding.md:91` (item 8).

## Other notes on where an item needed a reading

- **Counting.** The task count reads 90 rows: the placeholder `T095+` is replaced by T095 to T104 (81 - 1 + 10).
- **Plan 034's task numbers.** The entries cite plan 034's T103 (#80, in T099's `Host` header) and plan 034's T086 (W2, in the rulings) as "plan 034's", because plan 038 now has its own T103.
- **OQ-R9-3.** The map did not measure the respelled gate-console and wheel-model skips; T097 and T103 say so, and the map's 127 passed and 5 skipped is quoted as the measurement.
- **Counts of slices** are copied in the map's own form (for example "16 nodes, and +5 on R9-R1 (a)"), not summed.
- **T095's chain after T026.** T095's After names T021 and T026, both landed.
- **Not mirrored from the arc's 4.1:** T075's falsifier gains the some-of-four refusal and the six-and-none acceptance, which #1253 folded. The arc's two older refusals (part-way through the seams; at the column call) are not in T075, since #1253 did not add them.
- **T046 and T057** carry no response-shape falsifier for `identity`: item 5 names T041's.

## Review and gates

- **`python3 scripts/validate-openspec-cli-pin.py --all`**, in the clone named `openxFactory`, at `691648c6`: exit 0, `Totals: 113 passed, 1 failed (114 items)`, `0 UNDISPOSITIONED failures`. The one failure is the dispositioned `add-chain-attestation` finding, the same on `main`.
- **openxFactory pytest.** The full local run was stopped at about 44% at a coordinator drain, so it is NOT a result and is not claimed. The repository's own gate, `pytest-suite` in CI at `691648c6`, completed `SUCCESS` (2026-10-06T23:32:38Z to 23:58:56Z).
- **Doc-health**, `scripts/doc-health.py --single-repo . --as-of 2026-10-07`, branch `691648c6` against `origin/main` `0992369a` in the same clone: the two reports are byte-identical (sha256 `ce17aadd6d96e484170e2ec4784e44972e33c7d1a6c65830ea14a1035f2ae976`; `Findings: 31 critical, 26 error, 69 warning, 20 info. New regressions vs previous report: 0.`). So no new error.
- **CI at `691648c6`**: all 14 check runs are `SUCCESS` (rollup `SUCCESS`): `pytest-suite`, `merge-master-approval` (the red inherited from `main` since #1252 was cleared by #1138), `openspec-cli-pin`, `doc-health-py314`, `openxdox-consumer-gate`, `wallet-validation`, `clearing-dispatch-gate`, `signed-execution-chain-gate`, `former-id-arrival-gate`, `release-tag-gate`, `openreposhape-pin`, the two `lane-line` runs and SonarCloud.
- **`main`** has moved to `0992369a` since the last merge (`543f6ce1`). GitHub reports this PR `MERGEABLE`, and the ruleset is not strict, so `main` is not merged in again (a merge would restart the 27-minute gate).

| Copilot at | verdict | findings | answered |
|---|---|---|---|
| `691648c6` (final; review `5435686665`) | Changes recommended | 1 (thread `4201443690`): T041's falsifier cannot verify what T046's `health list --json` and T057's HTTP route emit; the review summary adds that the new T095 to T104 collide with plan 034's task numbers cited unqualified at `spec.md:662`, `spec.md:1222` and `clarify-questions.md:437` | accepted limit (#656 `5988818366`): plan-record accuracy, not a bypass, and the T041 placement is the holder's own instruction (item 5). Answered (`4201487553`) and resolved |

1 thread, 0 unresolved. The holder ruled both points YES at `6027706377` and has them encoded in a THIRD batch, not here: the `identity` falsifier split across T041, T046 and T057, and the plan 034 references qualified. This PR therefore carries T041's wording as the brief gave it.

## Files changed

- `specs/038-opendox-document-tool-self-maintenance/tasks.md`, `plan.md`, `spec.md`
- `specs/038-opendox-document-tool-self-maintenance/contracts/health-finding.md`

## What is NOT done

- T071 stays open (its ratification record has not landed). No box of #1144 is ticked, and no task other than those listed is ticked.
- No scenario or spec delta beyond FR-011's JSON-shape bullet is touched, and nothing is under `openspec/changes/`. `README.md` is untouched.
- The T095 to T104 entries record the slices; none of their work is done here.

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


Lane: openxfactory-4 (openXfactory-4-openDox_extraction)
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
brettheap added a commit that referenced this pull request Oct 9, 2026
…23375303) (#1261)

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

Refs #656 (stays OPEN).

**THE RATIFICATION RECORD for `realize-doc-health-direction-arc`** (plan 038's T071), the doc_health direction arc's own change. It landed as a draft through #1247 → `51456835` and #1253 → `fc4fa0ff`. No requirement, decision or task text moves: the change has no spec delta (`skip_specs: true`). It lands through the holder's lander in a Rule 6 window; this actor merges nothing.

## The word

RULED by Brett Heap, 2026-10-06 at about 18:59Z, by interactive multi-choice, verbatim *"Ratify it (Recommended)"*, recorded at #656 comment [`6023375303`](#656 (comment)) (created 2026-10-06T19:00:45Z).

The option text he saw read *"I post your word on #656 and land the ratification record (Status: ratified, Ratified by) under a Rule 6 window. T072 can start right away; T074 and T075 then follow in order."*

## The form followed

`cd494e4c` / #1151, "Ratify add-neutral-product-standalone-operability on Brett Heap's word (#656 5815412869)", file for file and field for field. The holder's ruling at #656 [`6023619783`](#656 (comment)) confirms the one choice that differs from the change's as-filed text (below).

## What is ratified, and what the word authorizes

- **Ratified:** the change as landed on `main` at `fc4fa0ff` (#1253, merged 2026-10-06T18:56:42Z). Its change-directory tree, `02d362f6ebcaf49e18aa107f7ce2b3a409ca2275`, is identical at #1253's final head `e4f3f1db` and on current `main`, and the last commit on `main` that touches it is `fc4fa0ff`. Copilot's review at `e4f3f1db` read "Approval recommended", Findings: None.
- **D1–D7 stand as recommended.** `tasks.md` 1.2 provides that the word rules `design.md` § 11's D1–D7 as recommended unless it says otherwise, and the word does not. The record says that this applies 1.2's own rule and does not claim Brett Heap was shown the seven one by one.
- **Authorized:** per the ruling record, the realization in plan 038's order: T072 (opportunistic, ARC-6), then T074 and T075. None of it happens by the word itself.
- **Nothing archives or promotes.** The change stays ACTIVE until its realization is merged and green, and it gates neither release 2's close nor #1144's archive (ARC-Q3 (a)).

## What this PR changes

Six files. None of the changes is requirement or scenario text.

**`openspec/changes/realize-doc-health-direction-arc/proposal.md`**
- `Status: ratified`, with a `Ratified:` citation.
- A qualifier above the filing's "DRAFT. FILING IS NOT RATIFYING" paragraph, which is kept verbatim as the filing's record.
- A `## Ratification record` section.
- A read-at-ratification note after the D1–D7 list.

**`design.md` and `tasks.md`**
- `Status: ratified`, with a `Ratified by:` citation. This is the citation split #1144's record carried.
- `design.md` § 11: the same read-at-ratification note.
- `tasks.md` 1.1 (the filing, citing #1247 → `51456835` and #1253 → `fc4fa0ff`) and 1.2 (this act) are ticked. Boxes go from 0 `[x]` / 23 `[ ]` to **2 `[x]` / 21 `[ ]`**.
- 1.2 keeps its as-filed wording and gains a marked italic note on the one divergence (below), as #1151 did for its own 1.8.

**`.openspec.yaml`**
- `approved_by` / `approved_on` are ADDED after `proposed_on`. `kind`, `id`, `path`, `reason`, `proposed_by` and `proposed_on` do not move.

**New record:** `review/ratification-2026-10-06.md` (`Status: ratified`, `Kind: report`, one `Ratified:` citation).

**`README.md`:** the *Active changes* entry's status, now linking the record.

The sequenced-after ledger row does not move.

**The one divergence from the text as filed.** `tasks.md` 1.2 says the record carries `Status: record`. It carries `Status: ratified` with a `Ratified:` citation, as #1144's record did. `document-lifecycle` sanctions both spellings, the option put to Brett read "(Status: ratified, Ratified by)", and a `Status: record` file trips `record-immutability` (CRITICAL) on any later edit, such as a Copilot fix commit on this PR. Confirmed by the holder at #656 `6023619783`.

## Gate state at `f9f71063`

The tree is `main` at `40d6e5c1` plus this PR's twelve commits (the change itself, five merges of `main` and six re-measurements of the record), with the submodules initialised. After the first head, `main` moved five times: the archive of `add-worker-input-budget` (#1258), then #1266 and #1264, then the archive of `amend-worker-input-budget-dispatch-wording` (#1269), then #1263, #1270, #1271 and #1267 (renew-resolved-council-protocol), then #1272, #1275 (the archive of `correct-naming-families-count`) and #1277 (a bot review-lane repin). They touch `README.md`, `docs/`, the sweep ledger, other changes, the review-lane contracts and workflows and the doc-health and project-repo-schema specs, and not the change directory (its tree is still `02d362f6ebcaf49e18aa107f7ce2b3a409ca2275` on `main`, last commit `fc4fa0ff`). So `main` was merged in, never rebased, and everything below was re-measured. `main` has since moved again, to `b4b9d903` (a new change, `refresh-install-repository-enumerations-opsxfactory-gateway`: its own directory, a README entry and a ledger row). It is not merged here, per the holder's one-merge instruction, and a trial merge with it is clean.

```
OPENSPEC_TELEMETRY=0 openspec validate realize-doc-health-direction-arc --strict → valid (the pinned 1.12.0)
validate-openspec-cli-pin.py --all --strict   → exit 0, 0 UNDISPOSITIONED failures
                                                113 passed, 1 failed (114 items); the 1 = the accepted exception, as on main alone
validate-code-surface.py . / validate-target-release.py .  → passed
validate-sequenced-after.py . / --ledger-diff → pass; ledger consistent (235 rows), this row unmoved
proposal-support.py . verify realize-doc-health-direction-arc → ok
doc-health.py --single-repo .                 → 31 critical, 26 error, 69 warning, 19 info
                                                report byte-identical to main alone (same clone kind); 0 findings name this change
doc-health families (1.2's falsifier)         → proposal-origin 0 findings, status-validity 0 findings
                                                (negative control: dropping proposal.md's Ratified: line takes ratified-provenance 27 → 28 critical, naming proposal.md)
pytest -m "not postgres" -k "ledger or records or sequenced or openspec"  → 615 passed, 3 skipped
pytest sequenced_after code_surface target_release proposal-support scope_globs packet_reference → 866 passed, 311 subtests passed
pytest tests/doc-health                       → 2157 passed
```

An earlier `tests/doc-health` run showed 8 failures in `test_neutrality_dispatch.py`. They were this actor's own environment, not the tree: an exported `REPO` variable collided with the fake scout worker's `REPO`. With it unset the file gives 25 passed, and the whole directory is green above.

## Copilot

- **First head `0039a47e`:** review `5436306140`, "Approval recommended", Findings: None, 0 threads.
- **Head `739da6e0`** (after the first merge of `main`): review `5440756736`, "Approval recommended", Findings: None, 0 threads.
- **Head `69479c77`** (after the second merge of `main`): review `5459920482`, "Approval recommended", 0 threads.
- **Head `83e3511e`** (after the third merge of `main`): review `5460937374`, "Approval recommended", 0 open findings, 0 threads.
- **Head `b186eb62`** (after the fourth merge of `main`): review `5462168108`, "Needs a closer look", **0 open findings**, 0 threads. Its stated reason is that final approval depends on human validation of the governance authority and the historical provenance assertions. The holder ruled at #656 [`6069024568`](#656 (comment)), item 5, that this is NOT a block, because that authority is Brett Heap's ratify word `6023375303`.
- **Checks at `b186eb62`:** the rollup was SUCCESS with 15 status checks, all SUCCESS, including `merge-master-approval`, `pytest-suite` and SonarCloud Code Analysis. 0 threads unresolved.
- **Head `f89fc853`** (after the fifth merge of `main`): review `5464071466`, "Needs a closer look", **0 open findings**, 0 threads. Its stated reason is that the exact-head checks and the Codex review were then pending, and that final approval also depends on governance provenance, which the holder's ruling at #656 `6069024568`, item 5, covers.
- **Final head `f9f71063`** (a record-only correction of the corpus subtest figure, 312 to 311, which the completed run measured): Copilot requested through the reviewer API after the push. Its result, the checks and the thread count are recorded here once the exact final head has been reviewed.

## Codex

- At `b186eb62`, `@codex review` was posted twice (comments `6067925769` and `6069046343`), and the `chatgpt-codex-connector[bot]` answered both with the usage-limit message (comments `6067927988` and `6069048581`). No Codex review existed at that head.
- At `f89fc853`, `@codex review` (comment `6071059884`) was answered with a review: **Reviewed commit `f89fc853cb`**, "Didn't find any major issues" (comment `6071083487`; summary comment `6071062721`, Code Review completed at 2026-10-08T23:29:24Z).
- At the final head `f9f71063`, `@codex review` was posted once after the push (comment `6071252263`). The bot's reply is recorded here once it arrives. READY needs a Codex "Reviewed commit" at the exact head, or Brett Heap's explicit waiver (#656 `6069024568`, item 4).

## What is NOT done

- No code, pin, gitlink, contract bundle or release tag moves. T072, T074 and T075 are the realization, and none of them starts by this PR.
- Plan 038's `specs/038-…/tasks.md` is not edited here. T071's tick there goes in the holder's own bookkeeping batch.
- Nothing archives or promotes.

**Rule 6:** this PR touches `openspec/changes/` and the README OpenSpec Records block, so it lands in a declared window by the holder, and not by this actor.

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


Lane: openxfactory-4
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants