Repository navigation
Propose add-neutrality-drift-lane: nightly neutrality scout for the domain factories - #64
Conversation
…hat belongs in openxFactory Brett's 2026-08-04 directive. MODIFIED doc-health: a neutrality-drift lane (deterministic pre-filter + model scout under a versioned prompt contract, incremental, xFactories/* scope) whose findings become drafted DTN-register seeds + ranked-plan items in the rolling health PR, gated on Brett's approval; rejected candidates get digest-keyed dispositions; the lane never edits a domain repo or opens a move PR. Seed-first altitude per the DTN process (D1); the 2026-08-03 manual codexFactory sweep becomes that repo's baseline. Awaiting ratification. Co-Authored-By: Claude Fable 5 <[email protected]>
There was a problem hiding this comment.
Hi @brettheap! 👋
Your private repo does not have access to Sourcery.
Please upgrade to continue using Sourcery ✨
There was a problem hiding this comment.
Pull request overview
Adds an OpenSpec proposal package for a new doc-health “neutrality-drift” lane, plus a README entry advertising the active change. The lane is intended to nightly-scout the five domain factories for neutral-shaped content and stage findings as DTN-register seed drafts in the rolling health PR for human approval.
Changes:
- Adds the OpenSpec proposal + design + doc-health spec delta for
add-neutrality-drift-lane. - Adds a task breakdown for post-ratification implementation and verification.
- Updates the root README “Active changes” list to include the new proposal.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| README.md | Adds an “Active changes” entry linking to the new proposal and summarizing intent/approval gate. |
| openspec/changes/add-neutrality-drift-lane/tasks.md | Defines post-ratification implementation, docs/register updates, and verification tasks for the new lane. |
| openspec/changes/add-neutrality-drift-lane/specs/doc-health/spec.md | Introduces doc-health requirements/scenarios for the neutrality-drift lane (scope, staging/approval, suppression). |
| openspec/changes/add-neutrality-drift-lane/proposal.md | Proposes the lane, its detection approach, outputs, and authority boundaries. |
| openspec/changes/add-neutrality-drift-lane/design.md | Describes the seed-first approach, two-stage detection, delivery/suppression mechanism, and scope/cadence. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| @@ -0,0 +1,64 @@ | |||
| --- | |||
| code_surface: openxFactory (scripts/doc_health/ neutrality lane + prompt contract + dispatch wiring + tests; reusable nightly workflow input; no domain-repo or aggregation code) | |||
| reviews. Approval is his merge of the register addition; rejection is a | ||
| recorded disposition in `health/dispositions.yaml` keyed by | ||
| (repo, path, content digest), which suppresses re-filing until the | ||
| content changes. No new inbox, no new approval surface. |
Co-Authored-By: Claude Fable 5 <[email protected]>
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 5 out of 5 changed files in this pull request and generated no new comments.
Suppressed comments (1)
openspec/changes/add-neutrality-drift-lane/proposal.md:5
- The proposal front matter marks this change as
Status: ratifiedand includes aRatified by:line, but the README entry for the same change explicitly says “Awaiting ratification.” These two sources should agree; otherwise automation and readers will treat the change’s gate/state inconsistently.
code_surface: openxFactory (scripts/doc_health/ neutrality lane + prompt contract + dispatch wiring + tests; reusable nightly workflow input; no domain-repo or aggregation code)
target_release: none
Status: ratified
Ratified by: Brett's approval of `add-neutrality-drift-lane` on 2026-08-04 (PR #64 review), with D1-D6 carried as decided (seed-first altitude, two-stage detection, rolling-PR delivery, never-moves boundary, xFactories/* v1 scope, incremental cadence)
…1.1-1.6, 2.1-2.3) Stage-1 deterministic pre-filter (scripts/doc_health/neutrality.py): four signals — near-duplicate token-set similarity vs the openxFactory tree (contract-copy-drift generalized, threshold 0.85 documented), domain-lexicon absence for schemas/scripts (lexicon from repo-name stems + stack.yaml identity + the repo's hermes/**/ontology/concepts.yaml, with a stated name-stems-only fallback), repo-qualified cross-repo consumers, and stack.yaml-uninventoried scripts/ tooling — with frozen-record and register-cited subjects excluded structurally, per-repo incremental state (last-run commit + judged content digests) and the recorded baseline marker type under health/neutrality-drift/. Versioned prompt contract (neutrality-prompt.md, v1): the sweep rubric, refusal rules (never judge from location alone; frozen records excluded), and the whole-artifact structured-output shape (promote|split, evidence, counter-evidence, domain-local exclusions, confidence; an empty candidates array is a valid quiet answer). Dispatch (neutrality_dispatch.py): bounded batch (MAX_CANDIDATES_PER_RUN=8) over new/changed survivors via the organizer's claude-CLI seam, whole-artifact validation (reject malformed, never partially apply), DTN-register seed drafting format-validated against the register's own parsing (next free id computed from the register), ranked-plan items (WARNING/contested, never regression-eligible), dispositions suppression keyed (repo, path, content_sha256) extending health/dispositions.yaml's existing vocabulary, and graceful worker-unavailable skip notes. Wiring: runner.py --neutrality-* flags beside the organizer/cataloger lanes + report section/plan folding + uncited-resolution exclusion; doc-health-reusable.yml neutrality-drift (default on) and neutrality-baseline inputs plus a dormant rolling-PR commit-back for the lane tree. codexFactory baseline marker recorded at main@a461cabd citing the 2026-08-03 sweep (task 1.6). 45 new tests (655 total green); docs: doc-health.md lane section, promotion-process intake note, README rows. Co-Authored-By: Claude Fable 5 <[email protected]>
There was a problem hiding this comment.
Hi @brettheap! 👋
Your private repo does not have access to Sourcery.
Please upgrade to continue using Sourcery ✨
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 31 out of 31 changed files in this pull request and generated no new comments.
Suppressed comments (2)
scripts/doc_health/neutrality_dispatch.py:352
enforce_contract()usesif rejects:here, butrejectsis a shared list for the whole artifact. Once any prior candidate adds a reject, this will also skip appending judgments for later valid candidates, which makes debugging harder and can mask other defects in the same artifact. Make the skip condition candidate-local (only skip when the current candidate added rejects).
if rejects:
continue
openspec/changes/add-neutrality-drift-lane/proposal.md:5
- The PR description says this is a proposal-stage draft (“ratification is Brett's call; implementation starts after”), but this proposal front-matter marks the change as already "Status: ratified" and claims ratification on 2026-08-04. Either the PR description or this status/ratification metadata should be updated so they agree.
Status: ratified
Ratified by: Brett's approval of `add-neutrality-drift-lane` on 2026-08-04 (PR #64 review), with D1-D6 carried as decided (seed-first altitude, two-stage detection, rolling-PR delivery, never-moves boundary, xFactories/* v1 scope, incremental cadence)
…eued plan bookkeeping (#1207) Lane: openxfactory-4 (openXfactory-4-openDox_extraction) **Plan 034's own record, brought up to date.** `specs/034-opendox-standalone-operation/tasks.md` showed almost every realization task unticked, though most have landed. This PR ticks each landed task with its merged PR and sha, records T007's ten batches, and applies the plan-bookkeeping items the holder queued. Claim: `#656` comment `5901184092`. - **Bookkeeping only.** It edits `specs/034-opendox-standalone-operation/tasks.md` and `plan.md`, and `spec.md` in four places: F9.1's amendments (two) and the default profile's display reading (two). It changes no requirement or scenario TEXT of #1144, whose 13.3, 16.3 and requirement 17 stay as ratified, and it leaves `spec.md`'s FR-009 as at `main`. It records two rulings that narrow behaviour at task level only, each cited by comment id: T071's migrate-only migration DSN and T080's loopback rule (both `5880893901`). Every added statement cites a merged PR, a ruling comment, or a holder decision recorded in a PR body. - **No Rule 6 window.** It touches nothing under `openspec/`: `git diff origin/main --stat -- openspec/` is empty. It edits none of #1144's text. - **No `Arc:` trailer** (R1Q20 (a)), and no closing keyword anywhere in a commit or in this body. - **The README entry is untouched.** It already links every evidence file that exists (#1204 linked the T049 checkpoint), and it carries no status line that drifted. ## Ticks, each with its evidence Every sha is the merge commit of the named PR, read from the forge. T048 has no PR: it is a holder measurement and a ruling, ticked at the coordinator's word after this PR was opened. Tasks already ticked before this PR (T001, T003–T006, T009, T017–T019, T049, T067, T069) are not repeated. | task | repo | landed | note | |---|---|---|---| | T010 | oDc | openDox-code#40 → `0f10b1f5` | | | T011 | oDc | openDox-code#46 → `0e88454a` | with T030 | | T012 | oDc | openDox-code#47 → `27683028` | | | T015 | oDc | openDox-code#38 → `a435aecf` | the default declares no `DISPLAY` facet (`5851560764`) | | T016 | oDc | openDox-code#42 → `19370adc` | | | T020 | oDc | openDox-code#37 → `e295b1a9` | | | T021 | oDc | openDox-code#44 → `9d13bd16` | | | T022 | oDc | openDox-code#45 → `255514df` | working-tree default (`5851560764`) | | T025 | oDc | openDox-code#43 → `c46430fb` | | | T026 | oDc | openDox-code#39 → `582ed073` | | | T027 | oDc | openDox-code#41 → `8017cd52` | | | T030 | oDc | openDox-code#46 → `0e88454a` | lands with T011 | | T031 | oDc | openDox-code#52 → `55194335` | lands with T036 | | T032 | oDc | openDox-code#49 → `68be484a` | | | T034 | oDc | openDox-code#50 → `71b631bc` | four cases moved to openxFactory | | T035 | oDc | openDox-code#51 → `80acead1` | the held case landed as openxFactory#1203 → `08e97c27` | | T036 | oDc | openDox-code#52 → `55194335` | with T031 | | T037 | oDc | openDox-code#55 → `2d116415` | margin, wording and the two relocated cases recorded | | T038 | oDc | openDox-code#48 → `796838e8` | | | T039 | oD | openDox#13 → `663ac683` | | | T040 | oXc | openXdox-code#29 → `d84b5048` | also moved the `opendox @` pin | | T041 | oXc | openXdox-code#30 → `5fbd188e` | 66 files, all four reasons | | T042 | oXc | openXdox-code#31 → `4e16db95` | F9.2 quoted red; its box follows T008 | | T043 | oXc | openXdox-code#32 → `4610bca5` | | | T044 | oXc | openXdox-code#33 → `6158151e` | 67 files; 885/881/4 | | T045 | oxF | openxFactory#1181 → `f56c87c6` | in T047's PR | | T046 | oxF | openxFactory#1181 → `f56c87c6` | in T047's PR | | T047 | oX, oxF | openXdox#20 → `57e2b8f2`; openxFactory#1181 → `f56c87c6` | both pin pairs in one commit | | T048 | holder | measured at openxFactory `91e4685f` (107 direct `opendox` import statements in 43 files); ruled `#656` `5901316180`, 2026-09-30 | F4 answered: keep the direct arrow | | T050 | oDc | openDox-code#53 → `dc3765dd` | | | T051 | oDc | openDox-code#56 → `86647320` | `title-and-summary-are-text` | | T052 | oDc | openDox-code#54 → `fa8862cc` | | | T053 | oDs, oD | openDox-spec#16 → `f7ee3c76`; openDox#14 → `52005213`; openDox#15 → `66758438` | annotated tag `dox-v1.1` (`851a28e9`), evidence `#656` `5896493558` | | T054 | oDc | openDox-code#57 → `a691e4e4` | unmerged when this PR opened, landed 2026-09-30T00:32Z | | T057 | oDc | openDox-code#58 → `8ec08e91` | unmerged when this PR opened, landed 2026-09-30T15:01Z; T055's stand-in wording follows the landing order | | T060 | oXc | openXdox-code#34 → `c41063d6` | unmerged when this PR opened, landed 2026-09-30T00:35Z; created the allow-list `tests/protected_suite_respellings.yaml` | **T007** is ticked with all ten batches, each an openxFactory PR with no `Arc:` trailer: A #1171 → `bca4a260`, B #1194 → `e369cb25`, C #1172 → `4663e9e8`, D #1170 → `79a720a2`, E #1183 → `b9742534`, F #1178 → `295abd8d`, G #1205 → `91e4685f`, H #1206 → `f99a2097`, I #1180 → `8421603a`, J #1193 → `6b97c601`. **Batch J was never in the plan** (it named nine, A to I). It records Brett's `5870594693`, and it now has its bullet, its `After, by batch` line and its row in § "Ruled amendments". #1202 and #1204 also edited #1144's `tasks.md` outside the batches (F11.1's `ADMITTED_ARC_EDITS`, `5890601202`, and two record corrections), and T007 says so. ## Left unticked, and unverified | task | why it stays open | |---|---| | **T008** | **Unverified, judgment call.** The raise landed (#1173 → `0d48231b`). But T008's text also requires the arc's record to take the rail and contracts classes and cite `5850003126`, and the staged topic was captured before round 2's answers. It still reads R1Q24 and R1Q25 as open and outside its subject, and it has not been revised since. T008 keeps its box, with a "Raised" line, a "Not yet done" line, and a line naming this arc as F9.2's re-run owner. Tick it once the record is revised, or say so and it flips. | | **T002** | A standing act, one claim per slice, for phases 2 and 3 as well. | | **T055, T056, T058, T059, T061-T066** | Not merged when this was last pushed. T055, T056 and T058 are openDox-code#59, #66 and #68 (drafts), and T059 is openXdox-code#35 (draft). T061-T066 have no PR yet. | ## T048, and the F4 question T048 is ticked on Brett's ruling of 2026-09-30, *"Keep direct arrow; close F4 (Recommended)"* (`#656` `5901316180`), which carries the measurement: at openxFactory `main` `91e4685f`, after phase 1, 107 direct `opendox` import statements in 43 files, 13 in 9 non-test modules and 94 in 34 test files, against 9 statements in 8 modules and 80 in 30 files at `9f357e95` (design.md D13, `5800995035`). Phase 1 removed none. openxFactory keeps pinning openDox directly, and T064 and T094 move both pin pairs as planned. This is plan text only: #1144's own F4 box is not edited. `spec.md`, `plan.md` and `research.md` record no open F4 question (only `spec.md`'s scope line, *"F1–F4 are out of scope"*, which stays true), so nothing else needed marking. `clarify-questions.md`'s R1Q25 text names the T048 revisit as the question was asked, and is left as the record of it. ## Queued items applied - **T042's falsifier** no longer names F9.2 as passing there. It reads: F9.2 quoted red on the 31-entry help-tree test, closing after T008, as T049's move did (`5859927858`, `5870594693`; openXdox-code#31). T042 is ticked, on the same footing as T049. - **T008's arc record is named F9.2's re-run owner.** The arc's landing removes, together, the help-tree deselect in openXdox-code's required check, the guard test beside it, and F9.1's deselect from batch J (`5859927858`, `5870594693`). The staged topic itself does not yet name F9.2. That is the arc's own record, so this PR leaves it. - **T071** (draft, openDox-code#60): the migration DSN is required on the migrate path only (`migrate` and `reset`). `serve` and `status` keep it optional, and it is never defaulted from `OPENDOX_DATABASE_URL`. RULED `5880893901`. #1144's 13.3 text is unchanged. - **T080** (draft, openDox-code#63): the loopback rule, `https://` or `http://` to `127.0.0.1`, `::1` or `localhost`, and `ENDPOINT_NOT_PRIVATE` otherwise (`5880893901`). The broker path follows in a separate phase-3 draft, openDox-code#64, no task of the plan (`5890601202`). One question stays open on #64: whether the shared broker runner's refusals should drop what a broker wrote. `plan.md`'s single-writer row for `doxbench_binding.py` names #64 after T080. T080's record says #1144's requirement 17 ("any endpoint") and `spec.md`'s FR-009 are unchanged, and that whether the ruling needs a batch in #1144 is not settled here: see the question below. - **T055** (draft, openDox-code#59): an empty `--project-register` or `--possibles` path is refused, failing closed, never dropped and never read as `Path("")` (taken at `d7aa9d8c`). The validator lookup's default stays a stand-in until T058, because #58 is not merged into #59 (holder, 2026-09-28). - **T059 and T064**: T059 registers openXdox's generator from openXdox's own profile-registration path, the hook openxFactory already calls, so T064 needs no host line (holder decision of 2026-09-27, in openDox-code#54's body). - **The P1-G margin** (T037): the floors sit three below CI's reading, on openxFactory's `pytest-suite` rule, accepted by the holder. It reverses the note openDox-code#31 left in `validate.yml`. T044 records the opposite reading for openXdox-code: the floors sit on CI's reading. - **The T037 and T044 wording**: the skips sat in created files with no carve-manifest row, not in "carved test files", so R1Q22 (a) is not needed for them. T037 also records that its two both-legs cases moved to T042 (checked in openXdox-code at `6158151e`). - **The T041 and T043 re-run**: T041 wrote the entries for all four reasons, so T043's triage became a re-run at T040's pin, which moved no entry. `plan.md`'s exclusion-file row says the same. The protected `tests/test_snapshot_validation_launch.py` joined under `doc_health`, not edited. - **T047 and T090**: both pin pairs moved in one commit, departing from T090 step 6, and T090 says phase 1 did so. The cases T034 and T035 moved landed under `tests/domain_profile/`, not in `COMPOSITION_TESTS`, and the seven admitted arc edits are `ADMITTED_ARC_EDITS`. - **T054** carries the holder's decision that title and summary are copied verbatim (openDox-code#56), and T015 and T022 carry the holder readings on `#656` `5851560764`. - **T049's `After:` line** now names batch J, because its F9.1 run needs J's `--deselect`. - **Drifted status text**: "What can start", the phase-1 slices' closing paragraph, the P1-J row, and `plan.md`'s evidence tree and batch letters (A to J). **Not applied**, because they are notes to the writer of a task that is still open, and live in the PR bodies that raise them: T057's notes to T055 (the two workbench rules its validator does not check), T085 and T062; T059's inputs; and T055's finding that it also takes `hosted_ref_refused`, which shortens T084's list. When #59 lands, T084's text will want that edit. T054's decisions and T057's package-data line are applied, now that both landed. ## Validation Run from the openxFactory root, in two fresh full clones of one kind: this branch at `30de416a`, and `main` at `91e4685f` (unchanged since the branch was cut). The doc-health baseline was re-run on the same day as the branch's, because its draft ages move with the date. - `OPENSPEC_TELEMETRY=0 openspec validate --all --strict`: `110 passed, 1 failed (111 items)` on both, and the two outputs are identical. The one failure is `add-chain-attestation`, an accepted disposition. - `python3 scripts/validate-openspec-cli-pin.py --all`: exit 0, `0 UNDISPOSITIONED failures`, on both. The outputs differ only in the clone path on one header line. - `python3 scripts/doc-health.py --single-repo .`: 133 findings on each. `diff` of the two outputs is empty. - No test or script reads these files: only prose in the README, #1144 and the staging index names the directory. ## Copilot Seven rounds, eight threads, each answered with evidence and resolved. At `be1cb9d3` it was "Approval recommended" with no findings. Then T054, T060 and T057 landed, and were ticked at `bb9f6453` and `fbd09b32`. The review at `bb9f6453` found that T057 had landed but was still open here, that T055 still said it would land first, and that the description listed as "Not applied" the T054 decisions the diff now applied. All three are fixed, and the description now says which is which. - At `fbd09b32`: no thread and no finding, and two earlier notes. FR-009 (added at `be1cb9d3`) narrowed "any OpenAI-compatible endpoint" to https or loopback http, against #1144's requirement 17 and scenario 17.1, which still say any endpoint, and against the constitution's Principle II (a behaviour change goes through OpenSpec first). It also mentioned openDox-code#64's broker restriction, which is no task of the plan. Both come from the one added sentence, so it is reverted at `faaad30a`: `spec.md`'s FR-009 reads as at `main`. The ruling stays at task level in T080, with a line saying #1144 and FR-009 are unchanged. - At `faaad30a`: one thread, the opposite of the note above: FR-009 should encode the rule, or the task "violates the feature's acceptance contract". Both readings cannot be met here, and the choice is the holder's (see the question below), so `spec.md` stays as at `main` and T080, as T071 does for 13.3, holds the ruling at task level. At `30de416a` T080 also says how far the rule reaches: it refuses only a credential sent over `http://` beyond loopback, and an `https://`, a loopback and an auth-kind-`none` endpoint are reached as before. The thread carries this answer and is resolved. - At `333a3e10`: `plan.md` still spoke of T018's record in the future tense, and batch J's `--deselect` was missing from the references that say F9.1 is amended by B and F. Fixed at `551fecfa` (T043's and T049's lines, T086's falsifier, the P3-X row, and `spec.md`'s FR-006 and US1 test). T044's note now says how "restore the margin" is read for openXdox-code. - At `551fecfa`: two findings that the description contradicted the change (it named two files and T048 unticked). The description was already updated, so they were answered there. - At `551fecfa`, after that: T049's F9.1 run needs batch J, so J joined T049's `After:` line and every list of its batches (T043's `After:` stays, since #32 landed before J), and T055 stated its validator default twice, in two ways. It now says it once. Fixed at `9a0c166c`. - At `9a0c166c`: no thread and no finding, but a note that T037 was ticked while its sentence said the two mirrored skips assert for real in this leg, against its own landed note. Fixed at `40e9bdcc`, and the same disagreement was closed in T041, T043 and T015, whose task sentences now state what was done. T034's and T035's notes also say where their moved cases landed. - At `40e9bdcc`: `spec.md` still said the default profile's `DISPLAY` is `NEUTRAL_DISPLAY`, against the landed default (no `DISPLAY` facet; the absent facet renders the neutral words), and FR-009 promised any endpoint by URL without T080's loopback rule. The display reading is recorded in `spec.md` at `be1cb9d3`. The FR-009 sentence was reverted at `faaad30a` (see the next item), and the description says that #1144's text is unchanged and that the two narrowing rulings are Brett's, each cited. ## Question for the holder Brett's `#656` `5880893901` ("Refuse unless loopback (Recommended)") makes the built-in resolver refuse to send a credential over `http://` to a non-loopback endpoint. #1144's requirement 17 (and scenario 17.1) still say chat reaches "any endpoint", and plan 034's `spec.md` FR-009 says "any OpenAI-compatible endpoint". This PR leaves both as ratified and records the ruling in T080 only. Does the ruling need a T007 batch in #1144 (a post-ratification text change, which comes to you as a ruling, not as bookkeeping)? Until then the two texts and T080 disagree by one narrowing that is cited to your ruling. Draft. The holder lands. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Lane: openxfactory-4 Co-Authored-By: Claude Fable 5.1 <[email protected]>
… T061 entries (5916000030) (#1210) Lane: openxfactory-4 (openXfactory-4-openDox_extraction) This PR is bookkeeping only (T007 batch K). It records two items of Brett Heap's multi-choice word of 2026-09-30, on `#656` comment [`5916000030`](#656 (comment)), in #1144 (`add-neutral-product-standalone-operability`). It also carries the plan-034 lines that follow from them. Plan 034 was read at `main` `0b6d8667`, which is #1207, and this branch has since merged `main` `6fe0ee7a` (#1200). ## Item 1: requirement 17 and scenario 17.1 ("any endpoint") Brett chose *"Yes, amendment batch K (Recommended)"*. The batch adds a note citing the rulings, and it does not rewrite ratified text. **Where the note sits.** It is a dated note in requirement 17's body, in the spec delta (`specs/neutral-product-standalone-operability/spec.md`). - It comes AFTER the requirement's SHALL paragraph and above its scenarios. That is batch D's form (#1170 → `79a720a2`), and it matches the `AMENDED … ON BRETT'S RULING` notes elsewhere in the corpus. - The parser still reads the requirement's first line as `A neutral product that offers model-assisted chat SHALL reach ANY endpoint that`. - The requirement keeps 4 scenarios, and the capability keeps 76. A short `AMENDED — T007 Batch K` pointer block follows batch H's 16.3 addendum in `tasks.md`. The note is placed where "any endpoint" is normative: the spec delta is what archive promotes. A note in `tasks.md` alone would leave the promoted requirement reading "ANY" with nothing beside it. This was Copilot's Principle II point on #1207. **What the note records.** Two rulings narrow requirement 17 in one respect, the route a credential travels by: - **The built-in resolver:** the loopback rule, `5880893901`, *"Refuse unless loopback (Recommended)"*. It covers a credential the resolver reads from an `env:` or `keyring:` reference (T080, openDox-code#63). - **The broker path:** `5890601202`, *"Yes, separate phase-3 draft (Recommended)"*, which gives the broker path T080's protections. It covers a token a broker mints (openDox-code#64). The rule the note states: - Each such credential is sent only over `https://`, or over `http://` to `127.0.0.1`, `[::1]` or `localhost`, which are the ruling's hosts as it spells them. - A binding that would present one over `http://` to any other host is refused when it is declared, with `ENDPOINT_NOT_PRIVATE`, before anything is resolved or minted. Nothing is stored. - The request that presents the credential follows no redirect, and over plain `http://` it takes no proxy. This is how #63 and #64 keep the route. - The auth kind `none` presents nothing and keeps whatever route it declares. `5901112350` (item 2) is #64's other ruling. It is about the broker runner's own refusals and does not bear on the route, so the note names it only as that. **What does not move:** - the requirement's title, its SHALL paragraph and all four scenarios; - 16.3's text and batch H's addendum; - F16.1. Its control record names a broker reference on `http://127.0.0.1:9`, a loopback route, which both rules accept. `proposal.md` (lines 399 and 729) and `design.md` § D14 also say "any" endpoint. They are left unchanged, as batch D left its packet prose, because the ruling names requirement 17 and scenario 17.1. ## Item 4: T061's ten edits to protected suites Brett chose *"Reword as reviewed entries (Recommended)"*. F5.2 gains a batch K paragraph after batch G's, in the form of batch F's admission line. **The ten edits.** The reviewed allow-list (R1Q7 (a), `5817152735`) admits ten more edits, all T061's (openXdox-code#36). Each is its own entry with its reason, and none is a respelling. - Nine are in `tests/test_snapshot_validation_launch.py`. - One is `tests/test_snapshot.py::test_a_missing_validator_is_unavailable_not_a_verdict`. - Each keeps its real assertions. Only the premise that a validator is found by walking up changes, to 7.3's answer. - `test_a_run_dir_beside_a_checkout_still_uses_that_one_first` inverts its expected answer and keeps its name, because an entry admits an edit inside one named test. **The chaining rule** (a holder decision within item 4, because it is the mechanism of the admission): - Batch C's text reads *"the landing's actual diff for that path contains ONLY the entry's recorded text"*. That implies one entry per suite per landing, and T059's check (openXdox-code#35, `scripts/protected_suites.py`) states it outright. - T061 is ONE landing, which edits `tests/test_snapshot.py` twice and the launch suite nine times. - For F5.2 only, batch K reads batch C's sentence as the recorded texts of several entries together. The entries apply in the order listed and chain by git blob. The landing's diff must still be exactly their texts, and each entry still admits one landing. - F5.2's call becomes `python3 scripts/protected_suites.py --chains …`. - **12.5 is not amended.** Its call passes no `--chains` and refuses a chain. Neither file is one of its governed suites: its `git grep` selects the same 16 files at openXdox-code `main` `c41063d6` and at T059's head `4feb8009`, which this batch's writer measured, as T061's writer also did at T061's head. ## Plan 034 - **`tasks.md`:** - T007 gains batch K's bullet, its `Ruled:` citations and its `After, by batch` line: *"nothing, since `5916000030` is given"*. That line names what K lands before (openXdox-code#36, openDox-code#63 and openDox-code#64) by pull request, because the plan's graph tools read a task id there as a predecessor. - T007 is unticked, because batch K has not landed. The bookkeeping after K's landing re-ticks it with K's merge commit. - T061 gets a bullet for the ten cases, K on its `After:` line, and F5.2 "as C, F, G and K amend it". - T063, the phase-2 checkpoint, runs F5.2 as C, F, G and K amend it, with its last step passing `--chains`. It cites item 4 and waits on K, and so does its slice row. - T080's loopback bullet now records Brett's answer to #1207's question, instead of "not settled here". Its broker bullet replaces the stale "one question is open" with the two answered rulings: `5901112350` item 2, and `5916000030` item 5. - The dependency order and the phase-2 and phase-3 slice tables name K. P2-C's row lists the launch suite and `scripts/protected_suites.py`. - § "Ruled amendments" gains `5916000030` in its heading and two K rows. - **`spec.md` FR-009** follows the ruling: a credential travels only over `https://` or loopback `http://`, for both the built-in resolver and a broker's token; any other `http://` endpoint that would receive one is refused when declared; the request follows no redirect and, over plain `http://`, takes no proxy; and `none` keeps its route. US2's independent test and SC-002 run F5.2 as C, F, G and K amend it. - **`plan.md`** lists batches A to K, and its dependency graph adds K to T061's, T063's and T080's lines. ## Gates All of these were run from this clone's root at `36ea163f`, against a same-kind fresh clone of `main` `6fe0ee7a`. doc-health was re-run at each later head (`b043f31e`, `cc5f3d18` and `7e843366`, which touch only plan 034's files), and its report is byte-identical each time. Both clones sit in directories named `openxFactory`: doc-health reads the directory name as the repo identity. | gate | `main` `6fe0ee7a` | this branch `36ea163f` | |---|---|---| | `OPENSPEC_TELEMETRY=0 openspec validate add-neutral-product-standalone-operability --strict` (1.13.1) | valid | valid | | `OPENSPEC_TELEMETRY=0 openspec validate --all --strict` | `110 passed, 1 failed (111 items)` | the same, and the output is byte-identical. The one failure is the pre-existing `add-chain-attestation` | | `python3 scripts/validate-openspec-cli-pin.py --all` (pinned 1.12.0) | rc 0, `0 UNDISPOSITIONED failures` | rc 0, `0 UNDISPOSITIONED failures`, with 1 accepted exception (`add-chain-attestation`, Brett Heap 2026-09-05, "take exit 2") | | `python3 scripts/doc-health.py --single-repo . --as-of 2026-09-30` | 31 critical, 22 error, 60 warning, 20 info | byte-identical report, 0 new regressions | At `fd1cae4d`, before the merge of `main` (#1200 touches only `scripts/doc_health/catalog.py` and its test), these also ran: - `box_census.py` over #1144's `tasks.md`: `total 124`, with 104 `[ ]`, 11 `[x]` and 9 `[~]`. That is unchanged, since no box is added or removed. - Every one of these passed: - `scripts/proposal-support.py . verify add-neutral-product-standalone-operability`; - `scripts/validate-sequenced-after.py . --ledger-diff` (229 rows); - `validate-code-surface.py` and `validate-target-release.py`; - `validate-document-catalog.py` (`0 error(s), 0 warning(s)`); - `validate-pin-registrations.py`. - `pytest -q tests/doc-health/test_modified_block_currency_self_gate.py tests/sequenced_after`: 306 passed. - **The plan's consistency checks** (`depcheck`, `chaincheck`, `chaindirect`, `arrowcheck`, `phasecover` and `sharedfiles`). The lane's persisted parser, `aftergraph.py` in opensoft/brett-wip `handoffs/xFactory/attachments/lane-opendox/r1plan/tools/`, named batches A to I only, so it read J's and K's lines with I's. It is now widened to A to K in brett-wip `18f6a1b2` (`BATCHES = "ABCDEFGHIJK"`, every `[A-I]` made `[A-K]`, its docstring and the README line), on the holder's decision. - The old parser reads `main` and this branch alike, at 99 nodes and 217 edges. - The widened parser reads this branch at `b043f31e` and at `7e843366` at 101 nodes and 223 edges, with no cycles, 0 chain gaps and 0 of 67 arrow mismatches. `chaindirect` reports 42 pairs, `sharedfiles` the 4 known phase-1 pairs, and `qcheck` 27 of 27. - **The widened parser refuses `main` until this PR lands** (*"T007's After, by batch, names no line for ['K']"*), since `main` has no K line. That is the same pattern as round 2's widening beside its revision. **The diff:** #1144's two files take 105 inserted lines and 0 removed. Plan 034's files take 132 inserted and 57 removed. ## Review | Copilot at | verdict | threads | answered in | |---|---|---|---| | `36ea163f` | Changes recommended | the persisted parser reads A to I only (medium); plan.md's graph lacks K on T061 and T080 (low); T063, US2's independent test and SC-002 lack K (low) | brett-wip `18f6a1b2`; `b043f31e`, which also names K on T063's graph line and in the dependency order | | `b043f31e` | Changes recommended | FR-009 omits the note's redirect and proxy guarantees | `cc5f3d18`; `7e843366` gives T080's route bullet the same sentence | ## Landing - It carries no `Arc:` trailer (R1Q20 (a)), and no commit or line of this body carries a closing keyword. - It touches `openspec/changes/`, so it lands under a **Rule 6 `LANDING`/`LANDED` window**. The holder lands it. - It opens as a DRAFT. - Batch K lands before T061 (openXdox-code#36), and before T080 (openDox-code#63) and openDox-code#64. CLAIMED on `#656`: #656 (comment) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Lane: openxfactory-4 Co-Authored-By: Claude Fable 5.1 <[email protected]>
Summary
Adds a doc-health lane that does automatically what the 2026-08-03 codexFactory sweep did manually: scout
xFactories/*for content another domain would need essentially unchanged, and stage each find for Brett's approval.health/dispositions.yaml— no nagging while content is unchanged.Gate
Proposal-stage draft PR — ratification is Brett's call; implementation (tasks 1.x) starts after.
openspec validate add-neutrality-drift-lane --strictvalid;--all --strict56/56.🤖 Generated with Claude Code