You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
File add-neutral-product-standalone-operability: open the BUILD arc, recording ten rulings - #1144
DRAFT STATUS — for Brett Heap's ratification read. This packet authors no code byte and lands nothing. All fifteen rulings are recorded below. Every gate is green at the head, the code-surface membership arm included, since ruling 15 named the assembly roots — see "Gate state". The packet stays Status: draft and lands only through the holder's lander in a Rule 6 window; this actor merges nothing.
What this is
The archived carve packet split-opendox-two-layer-product (#1139 → e8fde27f) closed its governance ledger and left its dependency inversion open — openDox-code/src/opendox/consumer_reach.py says so in the tree: "the injection that would make this reach disappear does not exist yet and is BUILD-arc work." This packet opens that arc.
ONE ## ADDED Requirements block creating the capability neutral-product-standalone-operability — 17 requirements, 75 scenarios, written domain-neutrally with openDox as the measured instance, one per gap of the 2026-09-22 feature/gap sweep (G1–G10) plus the ruled submission step, the ruled install shape, the ruled fix loop, the ruled check-pack interface and, from 2026-09-23, chat's model configuration — each separately satisfiable and each falsifiable by a command named in tasks.md. It is the sibling of neutral-product-pin: that governs openxFactory CONSUMING an external neutral product; this governs the product being able to STAND UP without its consumer.
The owner's question, and the measurement that answers it
Brett asked this lane: can openDox be self-contained as a research and document tool?DIRECTION Q5 already set the test in his own words — "a student could use openDox or a lab assistant. so we want that to still be useful on its own". Two commands answer it, in a checkout of opensoft/openDox-code at f8a1ece with PYTHONPATH=./src:
$ python3 -c "import opendox.runtime.cli" → exits 0
$ python3 -c "import opendox.serve" → ModuleNotFoundError: No module named 'ideation_dashboard'
openDox-code is two products in one repository. opendox.runtime is the app the founding ruling asked for and it works, standalone. The document surface does not import. opendox.cli and opendox.notebook_action fail through the same line, so the "Open in NotebookLM" tile action — one of the two integrations Brett named by name — is unreachable in the repository that owns it. It is two import-time lines (serve.py:199, :206) importing five plain route strings, and they cause 1,232 of the 1,298 errors a whole pytest -q run produces, where the passing count is zero.
Three findings, recorded rather than assumed
1 — Which direction is unclosed. openDox → openXdox is finished: thirteen import-time back-reaches became zero under BUILD slices 2 and 2b, and the OPENDOX_BACK_IMPORTS ratchet passes today at 0 / 19. What is NOT closed is the reach into the publisher — and no gate watches that direction, which is how it survived a completed inversion under a green required check. G4 is sharper still: a declared carve edit that never landed — the manifest row for authoring.py already names the edit class, the lines [317, 318] and the operation that answers.
2 — Both legs are green, and that is the problem. openDox-code runs 37 of 63 test files and clears its floor with zero margin; openXdox-code runs 16 of 85. Run whole, openXdox produces 1,089 errors and zero passed. Every one of its six skips reads "doc_health reachability is BUILD-arc work … this test will assert for real once that lands". The whole-product assertions are precisely the ones that skip.
3 — Where this packet is filed, and why. In openxFactory, not openDox-spec. That instance is operable (openspec validate --all --strict exits 0), so the default did not fire and the choice needed an argument. It is empty — openspec list --specs answers No specs found. Worse, three of its four active changes carry MODIFIED blocks against a spec that does not exist there, so they can never be archived, and its pinned CLI 1.2.0 emits none of the notices that report it. That openDox cannot yet govern its own BUILD arc is itself G7, carried as requirement 8, whose third scenario names the condition that ENDS the arrangement. The ruling that argues against this filing — RULED OQ-N — is answered in the proposal, not omitted: it names that BUILD arc by its two boxes, and that arc is finished, landed in openDox-code on 2026-09-18 exactly as OQ-N directed.
Ten rulings, recorded — this packet asks nothing it could answer
Brett ruled ten things for this arc on 2026-09-22, across seven comments on #656, and sent two constraints with them. Three of the ten AMEND FOUNDING RULINGS, and each says so where a reader meets it rather than leaving it to be found.
1 — THE NEUTRAL GENERATOR (req 4), 5783335210: "yes, openDox gets its own neutral generator." openDox does not take openXdox's generator.py; it grows a small neutral projection over the CorpusAdapter protocol it already declares, with runtime/local_git_adapter.py as the conformant implementation it already ships. openXdox keeps its governed generator and injects it through a seam of the same pattern.
And the ruling is better than this packet's own recommendation, for a fact the packet had not measured. It recommended relocating the generator; src/openxdox/generator.py:66-68 reads from doc_health import corpus / RealGit / lines.split_keepends. The generator imports openxFactory's doc_health directly, so relocating it would have put import doc_health inside the neutral core — the exact thing corpus-adapter-seam forbids. design.md § R-G3 records the correction in full rather than fixing it quietly.
Two constraints arrived with it:NEUTRAL_DISPLAY's six words stand unchanged — sources → groups → candidates → selections → submissions → completed (rulings 9 and 10 below settle the sixth) — and the view-wiring slice, claimed under actor viewwire, has LANDED as openDox-code#35 → 3c3a9e31 and is not owned here. It touched only src/opendox/web/ and tests, so no Python line this packet cites moved.
2 — THE SUBMISSION STEP (req 11), 5783934499: "add a neutral publish step to the build arc." RULING C3 makes a standalone openDox a plain local git repository, but session_pr.py:297's GhPullRequests shells ["gh", "pr", …] against _GITHUB_HOST = "github.com", so the student C3 describes cannot get a session's work out at all. Requirement 11 declares a neutral submission protocol — SubmissionPort, one operation, split from the platform's PullRequestPort, which stays unchanged — with a neutral default that pushes the session branch to an attached remote and says plainly when there is none.
Measured refinement: a protocol already exists (PullRequestPort, three operations, push already neutral) and so does its injection point (serve.py:766's pull_request_factory, called at :931-932) — the hard-wire is the default binding, not the protocol, so requirement 11 repoints an unset default rather than inventing a seam. And a further measurement made the step larger than a binding: the ACT of submitting, meaning the verb gate open-pr (openxdox/cli_gate.py:634), the engine execute_open_pr (openxdox/gate_routes.py:2417) and the route, is openXdox's, and nothing in openDox calls either default binding. So a standalone openDox cannot submit at all, gh or no gh. Task 12.4a gives openDox its own submit verb and route, and requirement 11 gains the scenario that names the gap. Named submission, not publish, because this capability already uses "publisher" for the repository that publishes the corpus; submissions is the fifth of the six ruled words.
3 — MERGE, 5784155201, "merge yes". The hold is released. The absence in session_pr.py was never about merging — it was separation of duties, and that is kept wherever a governance exists outside the tool: a governed host RESERVES landing and routes it to that governance's instrument, so openxFactory's flow is untouched. What is dropped is its LETTER exactly where the user IS the governance. Three guardrails hold in every mode and none is configurable: explicit HUMAN act, conflicts SHOWN, and a merge that is a COMMIT and therefore revertible.
4 — BUNDLED POSTGRES, ONE DIALECT (req 12). The install brings the database so a user installs the product, not a database. No SQLite — a second dialect doubles every migration forever for a store that by RULING Q1 holds no document. Both DSNs survive: a single-user install is not a reason to serve from the migrating credential.
5 — A NAMED LOCAL IDENTITY MODE (req 13) — AMENDS RULING Q2.config.py:89-92 makes the Keycloak issuer REQUIRED; a single user cannot run a Keycloak. The amendment is narrow and the narrowness is the point, with the safety in one scenario: a hosted install with no issuer REFUSES rather than degrading, because a mode you enter by forgetting to configure something is an unauthenticated multi-user install wearing the word "local".
6 — HEALTH RESULTS IN THE STORE (req 6, amended) — AMENDS RULING Q1's CLOSED TABLE LIST, by the additive path 0001's own text names. Two corrections this packet measured: it is 0003_, not 0002_ — that file exists, the migration ledger — and the closure test is scoped to the CANONICAL migration, so it moves only if the health table is declared a DOMAIN table; 0002's ledger is the precedent for the other answer, and the realization declares which and why. Q1's principle is untouched: no document, still disposable, results recomputable from git.
7 — THE FIX LOOP (reqs 14, 15), 5784247356. Detection without resolution is a list that grows. Three resolution classes, CLI parity with the view, and every repair a draft on a branch that reaches the default branch only through the merge rule — nothing auto-merges, not even a one-line fix, with batching as the pressure valve. The applier is genuinely new: openxFactory CLASSIFIES findings (AUTO_FIXABLE/CONTESTED) and no code in scripts/doc_health/ applies one. And exceptions live in GIT, not the store — the store is disposable by Q1, so an exception kept there is a judgement scheduled for deletion whose finding silently returns on the next reset.
8 — THE CHECK-PACK INTERFACE (req 16), 5784295745. A pack supplies families, findings and patches; the ENGINE owns the view, scheduling, the baseline, storage and the fix loop; and a pack CANNOT redefine the resolution classes, the baseline rules, or who may land work — those are the guarantees the rest of this capability exists to give, and a pack that could vary them would make each one conditional on which plugins an install carries. Guardrails: a pack runs in an OS-enforced sandbox — a read-only mount of an isolated copy, no network, its whole process tree ended with the sandbox — so only the engine can write; pinned by commit and digest (digest alone for a pack the corpus carries); and a pack that crashes or times out becomes a finding against that pack rather than taking the run down.
9 — THE SIXTH WORD IS completed, 5784654370: "2, keep completed". The sixth stage's role is completion and its short label is completed, exactly as NEUTRAL_DISPLAY["stages"]["completion"]["short"] declares it — measured at openDox-code 3c3a9e31 before encoding. This packet had spelled it completions in four places, because it quoted the module docstring (display_profile.py:77, since aligned by openDox-code#36 → 1e4a57fb) instead of the declaration. Every list of the six words now ends completed, and the correction is recorded where the old spelling stood.
10 — openXdox OVERLAYS "implemented" THROUGH A FACET, 5784683830: "1, keep completed and overlay implemented". The neutral word stays; openXdox declares a PARTIAL DISPLAY facet labelling the completion stage "implemented", the governed lifecycle's word, and openDox fills everything else from NEUTRAL_DISPLAY. It is the estate's first DISPLAY facet (task 5.3a), and it has LANDED as openXdox-code#26 → 195276b7 — as a module value in view_extensions.py, not a DomainProfile field, which is where 5.3a and its falsifier now read it. Served pages show it since openxFactory#1146 → d52b4199, and its item nouns since #1148 → f1c690b8 (ruling 14). The falsifier was run against the real normalize_display at 3c3a9e31 first, which is how it learned that a facet giving short alone leaves label at "completed" — so the box requires both.
This is also what finally gives openxFactory's 23 governance families a home that is neither "stay in openxFactory forever" nor "move into the neutral core" — an openXdox pack, named here as a FOLLOW-ON and deliberately not authored here, alongside each DomainxFactory's own pack.
Three rulings of 2026-09-23 — two releases, one change
Brett ruled three more times on #656, and the third answered the four questions this packet raised when it measured the second against requirement 1.
11 — THE DIRECT ARROW STAYS, 5799494355: "keep the direct arrow, revisit after phase 1". RULING OQ-2's pin chain is unchanged: openxFactory pins BOTH openXdox and openDox, with the lockstep in scripts/verify-opendox-pin.py. openxFactory's direct use of openDox is a legitimate host use; the arrow that blocks standalone is the reverse one, which phase 1 cuts. design.md § D13 carries it as a non-normative note, and follow-on F4 is the revisit.
12 — TWO RELEASES, 5799646419: "a, phases 1-3 as the first release". Release 1: phase 1 it runs, phase 2 it is useful alone, phase 3 it installs. Release 2: phase 4 merge, the governed pull-request path and submission behind one interface; phase 5 the health engine, the fix loop, exceptions in git and the check packs. The release map at the head of tasks.md places every group, and release 2's rulings are SEQUENCED, not deferred, reopened or weakened.
13 — THE FOUR QUESTIONS, 5800995035: "the four 1144 questions, go with recomendations".
Requirement 1 is KEPT. Ruling 12's phase-1 text moved openxFactory's lane actions and host wiring into openXdox, which requirement 1, the carve manifest's stays_openxfactory_adapter rows and 11.1's guard all refuse (the guard, run over such a move, names five paths). Phase 1 is the G1/G4 cut, a neutral default host profile, and openDox's own default corpus adapter registered at startup (new task 4.1a). The direct-arrow revisit now re-measures after phase 1 instead of waiting on a condition that could never be met.
One change.release-realization admits one target_release:, so the releases are sequencing, and the change archives only on merged, green evidence for BOTH. Splitting release 2 out stays open for later.
Requirement 17, NEW: chat reaches any OpenAI-compatible endpoint by URL, model name and credential reference, never a raw key; a clear "no model configured" state with the rest of openDox working; doxbench_provider.py stays the only module that contacts a provider. Group 16 carries it, measured at openDox-code 1e4a57fb: the one dialect speaks no OpenAI grammar, the record has no model name, a key inside the endpoint URL is ACCEPTED today, the catalog advertises omp-local as available with no harness installed, and the provider-boundary test is a standing red that no required check runs.
Release 1 is "standalone operation", not a declared standalone product: requirement 8 keeps that declaration for openDox-spec.
Two later rulings of 2026-09-23 — the item nouns, and the code surface
14 — THE ITEM NOUNS, 5801057769: "yes, overlay implemented items too". openXdox-code#27 → 626f2c8d adds the completion entry's one and many ("implemented item", "implemented items") to openXdox's partial facet, and openxFactory#1148 → f1c690b8 serves them. It is follow-on F3's second landing, not this packet's work. F3 stays [~] because every other station is still neutral. 5.3a, R-G3 and D13 record it, and 5.3a's falsifier passes at 626f2c8d as it did at 195276b7.
15 — THE CODE SURFACE NAMES THE ROOTS, 5804191141: "1, name the roots and file the follow-up". This supersedes 5802995365, whose inventory-rows route was dead. The inventory's reader, scripts/estate_inventory.py, reads workflow evidence only at uses: and with.repository:, never from a run: line. openxFactory's workflows reach the legs only through git submodule update --init --recursive on the two roots, in run: lines. The head is now openxFactory, opensoft/openDox and opensoft/openXdox: two roots the inventory already carries (both pinned) and openxFactory's host wiring.
The gloss says where the code is WRITTEN: in the legs opensoft/openDox-code and opensoft/openXdox-code.
design.md § D15 is a note, not a requirement, and records all three points.
The route forced three companion edits that the ruling's own example needs:
9.5 now lists the openXdox route: the root's code pin at 626f2c8d, and openxFactory's openXdox gitlink and contracts/openxdox-pin.yaml at 2f3f857d. It names both verifiers.
11.0 adds openXdox to the repositories whose commits carry the Arc: trailer.
11.1's guard admits BOTH pin pairs (PIN_PAIRS). The guard before this round refused the openXdox pair's move, as the control run shows.
Corrections the measurements forced
The submission report redacts a credential the remote's URL carries (Copilot r4088286823). A git remote can embed userinfo or a query-string token, and 12.4a's verb prints the report. 12.1a now reports where the work went and never what the remote holds, and the same applies to a refused or failed push's message. The falsifier runs a named regression test, test_a_credential_in_the_remote_url_never_reaches_the_report.
Scenario ordinals now match the spec delta.
Group 12 cited requirement 11's report and no-remote scenarios as the second and third. Round 11 inserted a new second scenario, so they are now the third and fourth.
design.md § R-G3 and the proposal cited requirement 3's "fourth" scenario for the neutral-vocabulary rule. That scenario has been the third since it was written.
9.5 never listed the openXdox route, which is the route ruling 15 cites. It now lists the openXdox root's code pin and openxFactory's openXdox pin pair, measured on every main line today.
11.1's guard harness now builds real gitlinks. It extracts the committed block from tasks.md and runs 14 cases, all as expected:
the ten earlier cases;
a landing that moves each pin pair in one commit (passes);
a deleted contracts/openxdox-pin.yaml, a deleted openXdox gitlink, and a moved undeclared gitlink (each refused).
The same harness over the guard at f3511e0c refuses the openXdox pair's move, so the extension was needed.
5.3a now reads the facet where it LANDED. openXdox-code#26 → 195276b7 declared it as a module value, openxdox.view_extensions.DISPLAY, and NOT on DomainProfile, because openxFactory's composite host would never forward it there. The box's old falsifier, host_display(DomainProfile), answers None against the landed trees; the new one passes against openXdox-code 195276b7 with openDox-code 1e4a57fb.
3.3 asked for a manifest edit the guard refuses. The deleted_at_carve row has no edits[] entry to annotate, so the box now leaves it byte-identical.
11.1's guard let a declared surface be deleted. It now reads --name-status --no-renames and refuses a deletion or rename of any path, a host file or the pin file included. A scratch-repository harness ran the committed block over ten cases and every one behaved as expected: two must pass (one history holding a squash landing, another lane's landings, a merge of main into the arc branch and a trailered merge landing; and a bare note extension), and eight must refuse (a family edit hidden in a merge landing, a ledger edit, a deleted host file, a renamed host file, a deleted host test, a deleted pin file, a rewritten note, a changed digest).
The proposal said the carve manifest files corpus_adapter_openxfactory and opendox_host.py. Neither has a row; the ideation_dashboard modules that stayed do.
openDox-code#36 landed → 1e4a57fb, and the packet says so.
What openxFactory keeps
Requirement 1 says it as a refusal, not a promise: the corpus, the OpenSpec instance, every doc-health check family, the adapter column, the intent-plane schemas and the integration tests all stay. The measurement shows there was never much to take — at check-family granularity the tally is 0 pure TOOL, 6 BOTH, 17 CORPUS-OPS of 23: no pure-tooling family exists. The arc reverses a direction; it does not relocate a boundary.
Gate state at 19237b91 — every gate green, the membership arm included
Run on the head. It already carries main f1c690b8, merged in by gh pr update-branch, so it is the tree CI tests.
openspec validate add-neutral-product-standalone-operability --strict → valid
openspec validate --all --strict → 111 passed, 1 failed (112 items)
baseline at main f1c690b8: 110 / 1 of 111
→ +1 item, +1 passed, ZERO new failures
validate-openspec-cli-pin.py --all --no-cache → exit 0, 0 UNDISPOSITIONED failures
validate-code-surface.py . → passed. Membership: 31 heads naming 8 identifiers,
all 8 carried by the inventory (33 rows), 0 refused
(main alone: 30 heads naming 6)
validate-target-release.py . → passed
validate-sequenced-after.py --ledger-diff → consistent, 228 rows (main alone: 227)
proposal-support.py . verify → ok
the three membership tests → 3 passed (all three failed at f3511e0c merged with main)
tasks.md falsifier blocks → 22 shell blocks pass `bash -n`; 23 Python heredocs parse
11.1's guard, in a scratch-repository harness → 14 of 14 cases as expected
(the guard at f3511e0c: 13 of 14; it refuses the openXdox pair's move)
5.3a's falsifier → passes at openXdox-code 626f2c8d with openDox-code 1e4a57fb
CI at 19237b91: all 13 checks are green.pytest-suite reports 8440 passed, 6 skipped and 0 failed (its junit tally: selected 8858, passed 8852, failures 0, errors 0). At f3511e0c it reported 3 failed, 8436 passed and 6 skipped, and the 3 failures were exactly the three membership tests above. 2a0b95e6, the same tree but for this round's Copilot fixes, gave the same 8440 / 6 / 0.
The single failed in --all is add-chain-attestation's ratified disposition. The adjudicated gate accepts it by name, and this packet does not touch it.
The membership gate, answered. At f3511e0c the code-surface membership arm (#1119 → 5e122388) refused openDox-code and openXdox-code. The inventory carries neither, so those three tests in the required pytest-suite failed on the branch merged with main. Ruling 15 names the roots instead, and the head now names openxFactory, opensoft/openDox and opensoft/openXdox, all three carried. Copilot's thread 4086593436 is answered with the ruling and #1150, and resolved. Copilot's review at 19237b91 lists no finding and no open thread (0 of 122 unresolved), and its one-line summary is answered in the conversation.
Task boxes: 9 [x] (the measurements and rulings this packet recorded, and 5.6, ticked on the view-wiring landing), 106 [ ] (the realization it proposes), 9 [~] (deferred, each with a named Owner and exit condition).
Rule 6: this PR touches openspec/changes/ and the README OpenSpec Records block, so it lands in a declared window — not by this actor.
The archived carve packet closed its governance ledger and left its dependency
inversion open. This packet is that arc's opening and authors no code byte.
ONE `## ADDED Requirements` block creating the capability
`neutral-product-standalone-operability` - ten requirements, thirty scenarios,
written domain-neutrally with openDox as the measured instance, one per gap of
the 2026-09-22 feature/gap sweep, each separately satisfiable and each falsifiable
by a command named in tasks.md.
Two findings are recorded rather than assumed. First, the repository choice:
openDox-spec's OpenSpec instance is OPERABLE but EMPTY, and the CLI refuses the
MODIFIED deltas this arc needs against specs that exist nowhere, so the packet is
filed here and requirement 8's third scenario names the condition that ends the
arrangement. Second, which direction is unclosed: openDox -> openXdox reached
zero import-time back-references under BUILD slices 2 and 2b and the ratchet
proves it, while the reach into the PUBLISHER - two lines at serve.py:199,206 and
one declared-but-unlanded carve edit at authoring.py:317-318 - is watched by no
gate at all.
design.md Q-G3 puts the one open question to Brett Heap with three options, the
measured cost of each and a recommendation; requirement 4 is written to the
OUTCOME so it is satisfied by whichever mechanism is ruled.
Filing is not ratifying: all three lifecycle documents carry `Status: draft` and
the origin declaration carries no approval pair.
Lane: openxfactory-4
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
This draft-only PR opens a cross-repository BUILD arc by adding one new, domain-neutral OpenSpec capability with ten requirements and thirty falsifiable scenarios, documenting measured openDox standalone gaps and a human-gated snapshot-generator question, while making no implementation changes or governance ratification.
Sequence diagram for ratification and BUILD arc realization
sequenceDiagram
actor Brett
participant OpenXFactory
participant OpenDox
participant OpenXdox
participant OpenDoxSpec
OpenXFactory->>Brett: Present neutral-product-standalone-operability
Brett-->>OpenXFactory: Rule Q-G3 snapshot-generator location
Brett-->>OpenXFactory: Ratify or strike requirement 3
OpenXFactory->>OpenDox: Realize standalone imports, profile, adapter, health check and entry point
OpenXFactory->>OpenXdox: Realize ruled snapshot mechanism and maintain dependency ratchet
OpenXFactory->>OpenXFactory: Record carve-manifest reach annotations
OpenDoxSpec->>OpenDoxSpec: Promote requirements assigned to openDox
OpenDoxSpec-->>OpenXFactory: Own spec instance now governs openDox work
Loading
Flow diagram for standalone operability validation
flowchart TD
Start[Open draft capability]
Validate[Validate OpenSpec change and full baseline]
Ratify{Brett ratifies}
Implement[Implement requirements across repositories]
Measure[Run falsification commands in isolated checkouts]
Green{All required evidence green}
Archive[Archive BUILD arc]
Exit[OpenDox-spec governs future openDox work]
Start --> Validate
Validate --> Ratify
Ratify -->|no| Start
Ratify -->|yes| Implement
Implement --> Measure
Measure --> Green
Green -->|no| Implement
Green -->|yes| Archive
Archive --> Exit
Loading
File-Level Changes
Change
Details
Files
Adds a draft OpenSpec capability defining standalone-operability requirements for neutral products.
Adds ten domain-neutral requirements covering dependency isolation, profiles, artifact generation, adapters, health checks, validation, governance, test isolation, and entry points.
Provides thirty scenarios and maps each requirement to a falsification command.
Keeps the change explicitly draft and records that ratification, not this PR, authorizes realization.
Documents the measured openDox extraction gaps and the intended implementation arc without changing code.
Records import-time and deferred dependencies into openxFactory/openXdox, including the missing publisher-side gates.
Separates completed dependency inversion work from the remaining standalone-operability work.
Defines post-ratification work across openDox-code, openXdox-code, openDox, and openxFactory, including a blocked snapshot-generator decision for Brett.
Preserves openxFactory corpus, governance, check families, schemas, and integration-test ownership.
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!
…cords
The requirements are unchanged. What changes is that every number in the three
lifecycle documents is now the one a reader reproduces at the heads named, and
three findings that arrived after the first draft are folded in.
CORRECTIONS. The plain-pytest figure at openDox-code f8a1ece is 1298 errors /
0 passed / 11 skipped, 1232 of them the one import line - an earlier sweep read
1188/1126 and tests have landed since, so the head is quoted beside the number.
The doc-health split is far more corpus-bound than the earlier reading: with
comments and docstrings stripped, ONE of 37 Python modules is free of
openxFactory identifiers - lines.py, 133 lines of 31,437 - so there is no
extractable generic core and requirement 6 is satisfied by new neutral code, not
by relocating a family.
THREE FINDINGS ADDED. The assembly root's Makefile carries a shape-pin row, so
a start target there is DRIFT and is refused - the entry point belongs at the
code leg as a console script and the root documents it (design.md D8). Three of
openDox-spec's four active changes carry MODIFIED blocks against a spec that
does not exist there and so can never be archived, and its pinned CLI 1.2.0
emits none of the notices that report it - which corroborates the repository
choice by measurement rather than by argument. And both legs' required checks
are green with zero margin while the whole-product assertions are precisely the
ones that skip.
Records: the machine-seeded corpus-ledger row and the README Active changes
bullet, which is why this lands in a Rule 6 window.
Lane: openxfactory-4
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
This draft opens a domain-neutral OpenSpec capability for standalone extracted products, using openDox as the measured instance. It adds governance artifacts only; implementation is deferred until ratification.
Changes:
Adds 10 requirements and 30 scenarios.
Documents dependency gaps and the unresolved snapshot-generator decision.
Defines post-ratification realization tasks across the involved repositories.
…against this filing
TWO GATE REFUSALS, caught locally before CI reported them, both real.
validate-code-surface refused the head: "the openDox assembly root" is prose,
not a repository identifier, so the parser found no point at which the
declaration stopped and the gloss began. The head is now four repository
identifiers - openxFactory, openDox-code, openXdox-code and openDox - with the
assembly-root note moved into a parenthetical gloss. And validate-target-release
refused `implementation_pending`, which is outside the ratified vocabulary
(`implemented`, a named release, or `deferred-allocation`); it survives elsewhere
only as register entries. The token is now `implemented`, which is correct: the
deferral this packet needs is carried by the NON-EMPTY CODE SURFACE, whose
archive gate holds the change active as approved-but-unrealized intent until
merged-plus-green evidence exists. The gloss says so.
THE COUNTER-ARGUMENT IS NOW IN THE PROPOSAL RATHER THAN ABSENT FROM IT. RULED
OQ-N puts "the BUILD arc" in openDox-spec's own instance. Read precisely it
names that arc by its two boxes, and that arc is FINISHED - both landed in
openDox-code on 2026-09-18, exactly as OQ-N directed. The words name two
different acts and the tree cites both by the same section numbers, so the
collision is recorded as a finding in design.md D2.
THREE RULINGS NOW CITED WHERE THEY BEAR. DIRECTION Q5 verbatim gives the goal in
the owner's own words - "a student could use openDox or a lab assistant. so we
want that to still be useful on its own" - and its last paragraph says the
per-module assignment was "not ruled here module by module", which is why Q-G3
is a question about a ratified design reading and not an amendment to a ruling's
text. RULING C2 verbatim turns out to describe option (c) itself: "the
domain-mapping core, parameterized ... by a domain profile that a descendant
supplies". And RULED Q-R4 already places the entry-point work in the act that
repairs opendox.serve, which is this one.
Also folded: the doc-health tally at family granularity (0 pure TOOL, 6 BOTH, 17
CORPUS-OPS of 23 - no pure-tooling family exists), and the three unclaimed
carve-broken defects in openxdox/snapshot.py, one of which is this arc's own
defect class appearing a second time.
Lane: openxfactory-4
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
…nflict, a marker and a promise
Seven findings at aeee1b6. Two were already repaired at 99f9d55 by the same
local measurement that produced them (the code_surface head, the target_release
token) and one more was already filed (the README bullet and the ledger row).
The remaining four were right and are fixed here.
REQUIREMENT 4 ADMITTED A MECHANISM THAT COULD NOT SATISFY IT. Its text offered
relocation or injection as alternatives while design.md said injection alone
leaves openDox unable to generate anything - so ruling that option would have
made the requirement unmeetable. The requirement now names no mechanism at all
and forecloses only the empty answer: a mechanism that leaves the neutral product
unable to generate when installed alone does not satisfy it. Q-G3's option (b) is
restated as what it always had to be - the protocol injection AND a small
neutral-side generator - so all three options can reach the outcome and the
ruling chooses on cost rather than on feasibility. Option (a) now carries the
governance obligation a ruling for it would incur, named in advance.
REQUIREMENT 7 CONFLICTED WITH A PROMOTED REQUIREMENT AND WITH ITSELF.
neutral-product-pin admits a publisher-owned schema as a digest-pinned VENDORED
copy registered as a consumed member; the scenario asked for a read from a
separate pinned checkout, which contradicts both that contract and this
requirement's own one-checkout rule. Vendoring is what makes the one-checkout
rule satisfiable rather than in tension with the pin, and the text now says so.
GROUP 8 WAS UNARCHIVABLE BY CONSTRUCTION. Its boxes are openDox-spec's work in a
repository this packet cannot write, so literal unchecked boxes would have held
this packet open for work it was never entitled to do. They carry the corpus's
reserved [~] marker now, with an owner and an exit condition, on the shape the
carve packet closed with.
AND THE FALSIFICATION PROMISE IS NOW KEPT. The preamble promised a command per
box and several boxes ended in prose. Every FALSIFIED BY line is an exact
invocation with its checkout preconditions and its expected result.
Lane: openxfactory-4
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Copilot review at aeee1b68 — all seven findings dispositioned at d6bf237e
Five were taken as fixes. Two were already repaired before the review landed, by the same local gate runs that produced them. None is answered by argument; each is answered by a command.
Already repaired at 99f9d553, before this review was read
FIXED at 99f9d553.python3 scripts/validate-code-surface.py . refused it here with the same diagnosis — "its head runs into prose at openDox assembly root — THIS PACKET AUTHORS NO CODE BYTE, a… with no gloss opener". The head is now four repository identifiers, openxFactory, openDox-code, openXdox-code and openDox, with "assembly root" in a parenthetical gloss — exactly the remedy suggested. Gate: code_surface validation passed.
FIXED at 99f9d553.validate-target-release.py refused it: "outside the ratified vocabulary — implemented, a release this estate defines, or deferred-allocation". Now implemented, with the pending state in the gloss, and the finding's own reasoning is right about why: the deferral belongs to the NON-EMPTY CODE SURFACE, whose archive gate holds the change active as approved-but-unrealized intent. Gate: target_release validation passed.
FIXED at 622fb70c. Correct at aeee1b68; both landed in the next commit. README.md carries the Active changes bullet, and the ledger row was machine-seeded, not hand-written: validate-sequenced-after.py . --seed-ledger --moved-by '#1144' --moved-on 2026-09-22. Gate: per-change sweep ledger consistent with the corpus (225 rows).
Taken as fixes at d6bf237e
3 — Requirement 4 admitted a mechanism that could not satisfy it. The sharpest of the seven, and correct: the requirement offered relocation or injection as alternatives while design.md said injection alone leaves openDox unable to generate anything — so ruling that option would have made the requirement unmeetable. Fixed on both sides rather than by narrowing the ruling:
the requirement now names no mechanism at all and forecloses only the empty answer — "a mechanism that leaves the neutral product unable to generate when installed alone SHALL NOT be treated as satisfying it, however lawful the direction it produces";
Q-G3's option (b) is restated as what it always had to be — the protocol injection and a small neutral-side generator openDox writes for itself — so all three options can reach the outcome and the ruling chooses on cost, not on feasibility. Bare injection is now explicitly not offered, with the reason;
option (a) now carries the governance obligation a ruling for it would incur, named in advance: the departure from C2's principle is recorded where C2 is read, as part of task 5.2, before the generator moves.
The packet still does not decide Q-G3, which is the one thing it must not do.
4 — Requirement 7 conflicted with neutral-product-pin, and with itself. Verified against the promoted text: "A neutral product repository MAY keep a DIGEST-PINNED copy of ONE openxFactory contract that its own validator reads … registered in the product's own contracts/manifest.yaml as a CONSUMED member and never as an owned one." The scenario asked for a read from a separate pinned checkout, which contradicted that and this requirement's own one-checkout rule. Both are resolved by the same correction, because vendoring is what makes the one-checkout rule satisfiable: the pinned bytes are IN the checkout, and the pin says which bytes they are. Requirement body and scenario updated together; task 7.1 carries the ONE constraint.
5 — Group 8 was unarchivable by construction. Correct and load-bearing. Those boxes are openDox-spec's work in a repository this packet cannot write, so literal - [ ] boxes would have held this packet open for work it was never entitled to do. They now carry the corpus's reserved - [~] marker with an Owner and an Exit condition, on the shape split-opendox-two-layer-product itself closed with (67 [x] / 0 [ ] / 5 [~]). Count now: 4 [x], 47 [ ], 5 [~].
6 — The falsification promise was not kept. Fair, and the promise was the right one to keep rather than remove. Every FALSIFIED BY line is now an exact invocation with its checkout preconditions and its expected result — e.g. requirement 5's is now python -c "import opendox.authoring as a; a.required_header_fields()" in a checkout with no corpus_adapter_openxfactory importable, which must return through the registered adapter or raise openDox's own named refusal and must not raise ModuleNotFoundError. Where a box needs an entry point that does not exist yet, it names <the entry point from 10.1> and says group 10 writes it out in full.
…own pricing
RULED by Brett Heap at 2026-09-22T20:08:59Z, openxFactory #656 comment
5783335210, verbatim "yes, openDox gets its own neutral generator". The packet
was filed at ~19:45Z putting that question; it now records the answer.
WHAT CHANGED. Requirement 4 keeps its outcome and gains the ruled shape as a
NEUTRAL rule, so a future neutral product inherits it rather than reading a
special case: a generator carrying the publisher's governance vocabulary, or
importing the publisher's own check families, is NOT relocated into the neutral
product - the neutral product grows its own projection over the adapter
interface it already declares, and the consumer keeps its governed generator and
hands it in through the same seam. A new scenario carries exactly that. Group 5
is no longer blocked; its audit box is spent and replaced by the five acts the
ruling implies, against a Protocol and a local-git adapter openDox already ships.
THE CORRECTION, RECORDED RATHER THAN QUIETLY FIXED. This packet recommended
relocating the generator parameterized by a domain mapping declaration, priced
as "low engineering, high governance". That pricing was wrong.
src/openxdox/generator.py:66-68 imports openxFactory's doc_health - corpus,
RealGit and lines.split_keepends - which this packet had measured path literals
for and never measured imports for. Relocating that file would have put `import
doc_health` inside the neutral core, the exact thing corpus-adapter-seam's first
requirement forbids, trading one wrong-way dependency for a deeper one. The
ruling is better than the recommendation and design.md R-G3 says why in full, so
a reader deciding something similar later sees how the analysis went wrong.
Re-measured independently: the governed vocabulary is heavier than the ruling's
own figures, not lighter - staging 72, proposal 19, openspec 18, ratified 6.
TWO CONSTRAINTS ARRIVE WITH THE RULING and are carried as constraints, not
proposals. NEUTRAL_DISPLAY's six words stand unchanged - sources, groups,
candidates, selections, submissions, completions - and requirement 3 gains a
neutral scenario so no arc re-authors a standalone product's own vocabulary. And
the view-wiring slice is CLAIMED and IN FLIGHT on openDox-code under actor
viewwire; task 5.6 names it so group 10 is not authored twice.
The origin declaration is ADDED BESIDE, never substituted: kind and id do not
move, the filing text still describes the filing truthfully, and no approval pair
appears - a ruling on one question inside the packet is not ratification of the
packet, which still carries Status: draft throughout.
Lane: openxfactory-4
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
The ratified realization-axis contract defines code_surface: as the repositories whose runtime artifacts the change will alter (openspec/specs/release-realization/spec.md:23-38), but this plan assigns only manifest annotations to openxFactory and only README documentation to the openDox assembly root. Listing both as code-surface repositories will make the realization/archive gate demand runnable evidence for documentation-only work; narrow the declaration to the code-bearing legs or explain which runtime artifacts those two repositories actually change.
Make domain vocabulary configurable instead of hard-coded to openDox
This capability is advertised as domain-neutral, but its normative contract hard-codes openDox's "documents and ideas" as the default domain. A future neutral product would inherit the wrong profile; keep the openDox example in the measured-instance/task text and make this requirement refer to the product's declared domain and vocabulary.
The whole-suite baseline is quoted as 1,298 errors in design.md:113-116 and tasks.md:304-310, but this paragraph says 1,299 without a separate revision or invocation. Reconcile the count or cite the distinct measurement; otherwise the packet's baseline and falsification evidence disagree.
…tle all ten schemas by owner
Five findings across the reviews at 99f9d55 and d6bf237. All five were right.
A SELF-FAILING GUARD. Group 11's close-out command scanned `tests/`, and this
packet itself seeds a row in tests/sequenced_after/corpus-ledger.yaml - so from a
pre-authoring base the guard would have flagged the packet's own filing and
contradicted its own allow-list. `<arc-base>` is now defined as THIS PACKET'S OWN
MERGE COMMIT, with the reason stated (the filing is not the arc), and the
generated ledger is excluded by name with a note on where it is gated instead.
AN UNRUNNABLE SEQUENCE. Group 10's falsification carried two placeholders and
started a blocking server before `curl`. Task 10.1 now NAMES the console script
and its default port - `opendox = "opendox.cli:main"`, port 8080 - and the
sequence proves the sibling absent, starts the server in the background, waits on
a readiness loop, curls, and kills it. It runs unattended in a clean checkout.
TEN SCHEMAS, THREE OWNERS, AND ONLY FOUR WERE SPECIFIED. The finding is correct
and the remedy is to narrow the input set rather than acquire the set: ownership
is settled at docs/contract-versioning-policy.md 1047-1053, which records
openxFactory DIVESTING six schemas to the two spec legs by canonical home, leg
commit and unchanged sha256. openDox's validator validates openDox's OWN document
kinds - its spec leg's three, read from the assembly root's spec/ submodule on
the path AGENTS-shape.md already defines. The openXdox-spec three are the
consumer's. Only a measured need reaches openxFactory's four, as the digest-pinned
vendored CONSUMED member neutral-product-pin admits - and that capability admits
ONE, so needing more is a finding to raise rather than work to do.
BOOKKEEPING. Tasks 1.5 and 1.6 are ticked: both are measured done and both were
reported green, and leaving them literal would block the later archive path.
The ratification boxes stay open, because ratification has not happened.
Lane: openxfactory-4
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
…d every count made live
Eight findings at e0b46ee. One was a real contradiction; six were stale counts;
one was already fixed at b5442fc.
THE CONTRADICTION. Requirement 1 keeps openxFactory's intent-plane schemas with
openxFactory. Requirement 7 admitted vendoring any publisher-owned schema the
validator needs. Task 7.1 named openxFactory's four, and gate-intent.schema.yaml
is an intent-plane schema the carve manifest lists among the validator's contract
files - so the pair left no lawful implementation. Requirement 7 now NARROWS THE
INPUT SET FIRST as its governing act, admits vendoring only for a schema
requirement 1 does not keep, and carries a fifth scenario refusing the route in
terms: an intent-plane or governance schema is not made portable by vendoring it,
and a product that appears to need one has an input set it has not yet narrowed.
Task 7.1b names gate-intent and ideation-possibles-register as the two that are
not available by that route at all, and says that if the narrowing is done
properly openDox needs neither.
THE COUNTS. The spec had grown to 32 scenarios and six records still said thirty;
adding the scenario above made it 33. Rather than hand-edit again, the live
figures were read out of the spec and written to every site - proposal, design,
tasks, the origin declaration and the README bullet - so the packet reports
10 requirements / 33 scenarios everywhere and the strict validation agrees.
TWO SMALLER ONES. The whole-suite baseline read 1,299 in one paragraph and 1,298
in four others; they were different commands reported as one measurement, so the
text now names the command and quotes 1,298 consistently. And the code_surface
gloss said the realization runs "in three repositories" while enumerating four -
it now says four, naming openxFactory's as annotation only, and the same gloss
stops saying "whichever G3 mechanism is ruled" now that G3 is ruled.
Lane: openxfactory-4
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
The immutable origin reason also records 30 scenarios, but the packet contains 32. Since this reason is retained as provenance, correct it before ratification rather than freezing the mismatch.
The design rationale counts 30 scenarios, while the capability actually defines 32. Correct this count so the design does not preserve stale packet metadata.
The packet gives conflicting results without identifying a different run: the earlier f8a1ece measurement and the falsification task say 1,298 openDox-code errors, while this paragraph says 1,299. Resolve the discrepancy or cite the distinct commit/run before using these numbers as evidence.
Capability inventory and task count 30 instead of 32 scenarios
The capability contains 32 #### Scenario: blocks (3+3+4+4+3+3+3+3+3+3), not 30. This count is repeated across the packet, so the stated capability inventory and task 1.3 are inaccurate.
Completed authoring task records the wrong scenario count
…, not one invented for them
The finding is right and it exposed a worse mistake than the one it named. Three
boxes resolved their placeholder through a `generate` subcommand 10.1 never
defined - but 10.1 had also invented `opendox serve --port 8080`, and group 7
had invented `opendox validate <file>`. Neither verb exists. The packet was
specifying a CLI instead of packaging the one in the tree.
src/opendox/cli.py already declares the surface: `generate --output`,
`generate-and-open [--run-dir] [--host] [--port] [--no-open] [--no-serve]`,
`create`, `edit`, with `--repo-root`, `--strict`, `--no-validate`, `--project`
and `--possibles` shared. There is no `serve` verb and no `validate` verb, and
this packet now adds neither: serving IS `generate-and-open`, and validation is
the post-render step inside the generate verbs, hardened by `--strict` and
skipped by `--no-validate`. Task 10.1 carries that verb table with line
references, and says in terms that the entry point is the missing packaging line
- group 2 is what makes the verbs reachable.
The three commands are rewritten against it. Group 5 generates with
`--repo-root <fixture> generate --output`. Group 7 exercises validation through
`--strict` over a valid fixture and a malformed one, and notes why that is the
sharpest form available: `--strict` makes "the validator could not RUN" fatal
rather than a warning, which is exactly how it fails today. Group 10 serves with
`generate-and-open --no-open --port 8080` in the background behind the readiness
loop. No placeholder remains anywhere in the file.
Lane: openxfactory-4
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
This command has the wrong exit polarity: grep exits 1 when the snapshot is clean, so the documented successful neutral run ends non-zero; if forbidden text is found, it exits 0. Negate the match (or explicitly test for no matches) so the falsification command fails only when publisher vocabulary is present.
This issue also appears on line 287 of the same file.
Requirement 7 requires the validator and its schemas to be available in one checkout, but this task says openDox-code reads from its assembly root's spec/ submodule. The falsification below explicitly uses an openDox-code checkout with no sibling, while the preceding text says the code legs and assembly roots carry no schema files; that checkout cannot contain the stated source. Make the assembly checkout the tested unit, or package/declare the three schemas in the code-leg checkout.
If all 30 probes fail, the loop still exits with the last sleep status and curl | head can return 0 because head succeeds even when curl fails. The sequence can therefore report success without readiness; track a ready flag and fail/kill on timeout before fetching the page.
This item is under Group 7 / openDox-code, but the carve manifest places scripts/ideation_dashboard/snapshot.py at openxdox_code/src/openxdox/snapshot.py (docs/opendox-carve-manifest.yaml:2400-2405). As written, the defects are neither assigned to the repository that owns the file nor given an explicit Group 9/openXdox task, so their ownership and evidence path remain ambiguous.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Lane: openxfactory-4 (openXfactory-4-openDox_extraction)
DRAFT STATUS — for Brett Heap's ratification read. This packet authors no code byte and lands nothing. All fifteen rulings are recorded below. Every gate is green at the head, the code-surface membership arm included, since ruling 15 named the assembly roots — see "Gate state". The packet stays
Status: draftand lands only through the holder's lander in a Rule 6 window; this actor merges nothing.What this is
The archived carve packet
split-opendox-two-layer-product(#1139 →e8fde27f) closed its governance ledger and left its dependency inversion open —openDox-code/src/opendox/consumer_reach.pysays so in the tree: "the injection that would make this reach disappear does not exist yet and is BUILD-arc work." This packet opens that arc.ONE
## ADDED Requirementsblock creating the capabilityneutral-product-standalone-operability— 17 requirements, 75 scenarios, written domain-neutrally with openDox as the measured instance, one per gap of the 2026-09-22 feature/gap sweep (G1–G10) plus the ruled submission step, the ruled install shape, the ruled fix loop, the ruled check-pack interface and, from 2026-09-23, chat's model configuration — each separately satisfiable and each falsifiable by a command named intasks.md. It is the sibling ofneutral-product-pin: that governs openxFactory CONSUMING an external neutral product; this governs the product being able to STAND UP without its consumer.The owner's question, and the measurement that answers it
Brett asked this lane: can openDox be self-contained as a research and document tool? DIRECTION Q5 already set the test in his own words — "a student could use openDox or a lab assistant. so we want that to still be useful on its own". Two commands answer it, in a checkout of
opensoft/openDox-codeatf8a1ecewithPYTHONPATH=./src:openDox-code is two products in one repository.
opendox.runtimeis the app the founding ruling asked for and it works, standalone. The document surface does not import.opendox.cliandopendox.notebook_actionfail through the same line, so the "Open in NotebookLM" tile action — one of the two integrations Brett named by name — is unreachable in the repository that owns it. It is two import-time lines (serve.py:199,:206) importing five plain route strings, and they cause 1,232 of the 1,298 errors a wholepytest -qrun produces, where the passing count is zero.Three findings, recorded rather than assumed
1 — Which direction is unclosed. openDox → openXdox is finished: thirteen import-time back-reaches became zero under BUILD slices 2 and 2b, and the
OPENDOX_BACK_IMPORTSratchet passes today at0/19. What is NOT closed is the reach into the publisher — and no gate watches that direction, which is how it survived a completed inversion under a green required check. G4 is sharper still: a declared carve edit that never landed — the manifest row forauthoring.pyalready names the edit class, the lines[317, 318]and the operation that answers.2 — Both legs are green, and that is the problem. openDox-code runs 37 of 63 test files and clears its floor with zero margin; openXdox-code runs 16 of 85. Run whole, openXdox produces 1,089 errors and zero passed. Every one of its six skips reads "doc_health reachability is BUILD-arc work … this test will assert for real once that lands". The whole-product assertions are precisely the ones that skip.
3 — Where this packet is filed, and why. In openxFactory, not openDox-spec. That instance is operable (
openspec validate --all --strictexits 0), so the default did not fire and the choice needed an argument. It is empty —openspec list --specsanswersNo specs found.Worse, three of its four active changes carry MODIFIED blocks against a spec that does not exist there, so they can never be archived, and its pinned CLI 1.2.0 emits none of the notices that report it. That openDox cannot yet govern its own BUILD arc is itself G7, carried as requirement 8, whose third scenario names the condition that ENDS the arrangement. The ruling that argues against this filing — RULED OQ-N — is answered in the proposal, not omitted: it names that BUILD arc by its two boxes, and that arc is finished, landed in openDox-code on 2026-09-18 exactly as OQ-N directed.Ten rulings, recorded — this packet asks nothing it could answer
Brett ruled ten things for this arc on 2026-09-22, across seven comments on #656, and sent two constraints with them. Three of the ten AMEND FOUNDING RULINGS, and each says so where a reader meets it rather than leaving it to be found.
1 — THE NEUTRAL GENERATOR (req 4),
5783335210: "yes, openDox gets its own neutral generator." openDox does not take openXdox'sgenerator.py; it grows a small neutral projection over theCorpusAdapterprotocol it already declares, withruntime/local_git_adapter.pyas the conformant implementation it already ships. openXdox keeps its governed generator and injects it through a seam of the same pattern.And the ruling is better than this packet's own recommendation, for a fact the packet had not measured. It recommended relocating the generator;
src/openxdox/generator.py:66-68readsfrom doc_health import corpus/RealGit/lines.split_keepends. The generator imports openxFactory'sdoc_healthdirectly, so relocating it would have putimport doc_healthinside the neutral core — the exact thingcorpus-adapter-seamforbids.design.md§ R-G3 records the correction in full rather than fixing it quietly.Two constraints arrived with it:
NEUTRAL_DISPLAY's six words stand unchanged —sources → groups → candidates → selections → submissions → completed(rulings 9 and 10 below settle the sixth) — and the view-wiring slice, claimed under actorviewwire, has LANDED as openDox-code#35 →3c3a9e31and is not owned here. It touched onlysrc/opendox/web/and tests, so no Python line this packet cites moved.2 — THE SUBMISSION STEP (req 11),
5783934499: "add a neutral publish step to the build arc." RULING C3 makes a standalone openDox a plain local git repository, butsession_pr.py:297'sGhPullRequestsshells["gh", "pr", …]against_GITHUB_HOST = "github.com", so the student C3 describes cannot get a session's work out at all. Requirement 11 declares a neutral submission protocol —SubmissionPort, one operation, split from the platform'sPullRequestPort, which stays unchanged — with a neutral default that pushes the session branch to an attached remote and says plainly when there is none.Measured refinement: a protocol already exists (
PullRequestPort, three operations,pushalready neutral) and so does its injection point (serve.py:766'spull_request_factory, called at:931-932) — the hard-wire is the default binding, not the protocol, so requirement 11 repoints an unset default rather than inventing a seam. And a further measurement made the step larger than a binding: the ACT of submitting, meaning the verbgate open-pr(openxdox/cli_gate.py:634), the engineexecute_open_pr(openxdox/gate_routes.py:2417) and the route, is openXdox's, and nothing in openDox calls either default binding. So a standalone openDox cannot submit at all,ghor nogh. Task 12.4a gives openDox its ownsubmitverb and route, and requirement 11 gains the scenario that names the gap. Named submission, not publish, because this capability already uses "publisher" for the repository that publishes the corpus; submissions is the fifth of the six ruled words.3 — MERGE,
5784155201, "merge yes". The hold is released. The absence insession_pr.pywas never about merging — it was separation of duties, and that is kept wherever a governance exists outside the tool: a governed host RESERVES landing and routes it to that governance's instrument, so openxFactory's flow is untouched. What is dropped is its LETTER exactly where the user IS the governance. Three guardrails hold in every mode and none is configurable: explicit HUMAN act, conflicts SHOWN, and a merge that is a COMMIT and therefore revertible.4 — BUNDLED POSTGRES, ONE DIALECT (req 12). The install brings the database so a user installs the product, not a database. No SQLite — a second dialect doubles every migration forever for a store that by RULING Q1 holds no document. Both DSNs survive: a single-user install is not a reason to serve from the migrating credential.
5 — A NAMED LOCAL IDENTITY MODE (req 13) — AMENDS RULING Q2.
config.py:89-92makes the Keycloak issuer REQUIRED; a single user cannot run a Keycloak. The amendment is narrow and the narrowness is the point, with the safety in one scenario: a hosted install with no issuer REFUSES rather than degrading, because a mode you enter by forgetting to configure something is an unauthenticated multi-user install wearing the word "local".6 — HEALTH RESULTS IN THE STORE (req 6, amended) — AMENDS RULING Q1's CLOSED TABLE LIST, by the additive path
0001's own text names. Two corrections this packet measured: it is0003_, not0002_— that file exists, the migration ledger — and the closure test is scoped to the CANONICAL migration, so it moves only if the health table is declared a DOMAIN table;0002's ledger is the precedent for the other answer, and the realization declares which and why. Q1's principle is untouched: no document, still disposable, results recomputable from git.7 — THE FIX LOOP (reqs 14, 15),
5784247356. Detection without resolution is a list that grows. Three resolution classes, CLI parity with the view, and every repair a draft on a branch that reaches the default branch only through the merge rule — nothing auto-merges, not even a one-line fix, with batching as the pressure valve. The applier is genuinely new: openxFactory CLASSIFIES findings (AUTO_FIXABLE/CONTESTED) and no code inscripts/doc_health/applies one. And exceptions live in GIT, not the store — the store is disposable by Q1, so an exception kept there is a judgement scheduled for deletion whose finding silently returns on the next reset.8 — THE CHECK-PACK INTERFACE (req 16),
5784295745. A pack supplies families, findings and patches; the ENGINE owns the view, scheduling, the baseline, storage and the fix loop; and a pack CANNOT redefine the resolution classes, the baseline rules, or who may land work — those are the guarantees the rest of this capability exists to give, and a pack that could vary them would make each one conditional on which plugins an install carries. Guardrails: a pack runs in an OS-enforced sandbox — a read-only mount of an isolated copy, no network, its whole process tree ended with the sandbox — so only the engine can write; pinned by commit and digest (digest alone for a pack the corpus carries); and a pack that crashes or times out becomes a finding against that pack rather than taking the run down.9 — THE SIXTH WORD IS
completed,5784654370: "2, keep completed". The sixth stage's role iscompletionand its short label iscompleted, exactly asNEUTRAL_DISPLAY["stages"]["completion"]["short"]declares it — measured at openDox-code3c3a9e31before encoding. This packet had spelled itcompletionsin four places, because it quoted the module docstring (display_profile.py:77, since aligned by openDox-code#36 →1e4a57fb) instead of the declaration. Every list of the six words now endscompleted, and the correction is recorded where the old spelling stood.10 — openXdox OVERLAYS "implemented" THROUGH A FACET,
5784683830: "1, keep completed and overlay implemented". The neutral word stays; openXdox declares a PARTIALDISPLAYfacet labelling thecompletionstage "implemented", the governed lifecycle's word, and openDox fills everything else fromNEUTRAL_DISPLAY. It is the estate's firstDISPLAYfacet (task 5.3a), and it has LANDED as openXdox-code#26 →195276b7— as a module value inview_extensions.py, not aDomainProfilefield, which is where 5.3a and its falsifier now read it. Served pages show it since openxFactory#1146 →d52b4199, and its item nouns since #1148 →f1c690b8(ruling 14). The falsifier was run against the realnormalize_displayat3c3a9e31first, which is how it learned that a facet givingshortalone leaveslabelat "completed" — so the box requires both.This is also what finally gives openxFactory's 23 governance families a home that is neither "stay in openxFactory forever" nor "move into the neutral core" — an openXdox pack, named here as a FOLLOW-ON and deliberately not authored here, alongside each DomainxFactory's own pack.
Three rulings of 2026-09-23 — two releases, one change
Brett ruled three more times on #656, and the third answered the four questions this packet raised when it measured the second against requirement 1.
11 — THE DIRECT ARROW STAYS,
5799494355: "keep the direct arrow, revisit after phase 1". RULING OQ-2's pin chain is unchanged: openxFactory pins BOTH openXdox and openDox, with the lockstep inscripts/verify-opendox-pin.py. openxFactory's direct use of openDox is a legitimate host use; the arrow that blocks standalone is the reverse one, which phase 1 cuts.design.md§ D13 carries it as a non-normative note, and follow-on F4 is the revisit.12 — TWO RELEASES,
5799646419: "a, phases 1-3 as the first release". Release 1: phase 1 it runs, phase 2 it is useful alone, phase 3 it installs. Release 2: phase 4 merge, the governed pull-request path and submission behind one interface; phase 5 the health engine, the fix loop, exceptions in git and the check packs. The release map at the head oftasks.mdplaces every group, and release 2's rulings are SEQUENCED, not deferred, reopened or weakened.13 — THE FOUR QUESTIONS,
5800995035: "the four 1144 questions, go with recomendations".stays_openxfactory_adapterrows and 11.1's guard all refuse (the guard, run over such a move, names five paths). Phase 1 is the G1/G4 cut, a neutral default host profile, and openDox's own default corpus adapter registered at startup (new task 4.1a). The direct-arrow revisit now re-measures after phase 1 instead of waiting on a condition that could never be met.release-realizationadmits onetarget_release:, so the releases are sequencing, and the change archives only on merged, green evidence for BOTH. Splitting release 2 out stays open for later.doxbench_provider.pystays the only module that contacts a provider. Group 16 carries it, measured at openDox-code1e4a57fb: the one dialect speaks no OpenAI grammar, the record has no model name, a key inside the endpoint URL is ACCEPTED today, the catalog advertisesomp-localas available with no harness installed, and the provider-boundary test is a standing red that no required check runs.Two later rulings of 2026-09-23 — the item nouns, and the code surface
14 — THE ITEM NOUNS,
5801057769: "yes, overlay implemented items too". openXdox-code#27 →626f2c8dadds thecompletionentry'soneandmany("implemented item", "implemented items") to openXdox's partial facet, and openxFactory#1148 →f1c690b8serves them. It is follow-on F3's second landing, not this packet's work. F3 stays[~]because every other station is still neutral. 5.3a, R-G3 and D13 record it, and 5.3a's falsifier passes at626f2c8das it did at195276b7.15 — THE CODE SURFACE NAMES THE ROOTS,
5804191141: "1, name the roots and file the follow-up". This supersedes5802995365, whose inventory-rows route was dead. The inventory's reader,scripts/estate_inventory.py, reads workflow evidence only atuses:andwith.repository:, never from arun:line. openxFactory's workflows reach the legs only throughgit submodule update --init --recursiveon the two roots, inrun:lines. The head is nowopenxFactory, opensoft/openDox and opensoft/openXdox: two roots the inventory already carries (bothpinned) and openxFactory's host wiring.opensoft/openDox-codeandopensoft/openXdox-code.design.md§ D15 is a note, not a requirement, and records all three points.The route forced three companion edits that the ruling's own example needs:
codepin at626f2c8d, and openxFactory'sopenXdoxgitlink andcontracts/openxdox-pin.yamlat2f3f857d. It names both verifiers.Arc:trailer.PIN_PAIRS). The guard before this round refused the openXdox pair's move, as the control run shows.Corrections the measurements forced
The submission report redacts a credential the remote's URL carries (Copilot
r4088286823). A git remote can embed userinfo or a query-string token, and 12.4a's verb prints the report. 12.1a now reports where the work went and never what the remote holds, and the same applies to a refused or failed push's message. The falsifier runs a named regression test,test_a_credential_in_the_remote_url_never_reaches_the_report.Scenario ordinals now match the spec delta.
design.md§ R-G3 and the proposal cited requirement 3's "fourth" scenario for the neutral-vocabulary rule. That scenario has been the third since it was written.9.5 never listed the openXdox route, which is the route ruling 15 cites. It now lists the openXdox root's
codepin and openxFactory'sopenXdoxpin pair, measured on every main line today.11.1's guard harness now builds real gitlinks. It extracts the committed block from
tasks.mdand runs 14 cases, all as expected:contracts/openxdox-pin.yaml, a deletedopenXdoxgitlink, and a moved undeclared gitlink (each refused).The same harness over the guard at
f3511e0crefuses the openXdox pair's move, so the extension was needed.5.3a now reads the facet where it LANDED. openXdox-code#26 →
195276b7declared it as a module value,openxdox.view_extensions.DISPLAY, and NOT onDomainProfile, because openxFactory's composite host would never forward it there. The box's old falsifier,host_display(DomainProfile), answersNoneagainst the landed trees; the new one passes against openXdox-code195276b7with openDox-code1e4a57fb.3.3 asked for a manifest edit the guard refuses. The
deleted_at_carverow has noedits[]entry to annotate, so the box now leaves it byte-identical.11.1's guard let a declared surface be deleted. It now reads
--name-status --no-renamesand refuses a deletion or rename of any path, a host file or the pin file included. A scratch-repository harness ran the committed block over ten cases and every one behaved as expected: two must pass (one history holding a squash landing, another lane's landings, a merge of main into the arc branch and a trailered merge landing; and a bare note extension), and eight must refuse (a family edit hidden in a merge landing, a ledger edit, a deleted host file, a renamed host file, a deleted host test, a deleted pin file, a rewritten note, a changed digest).The proposal said the carve manifest files
corpus_adapter_openxfactoryandopendox_host.py. Neither has a row; theideation_dashboardmodules that stayed do.openDox-code#36 landed →
1e4a57fb, and the packet says so.What openxFactory keeps
Requirement 1 says it as a refusal, not a promise: the corpus, the OpenSpec instance, every doc-health check family, the adapter column, the intent-plane schemas and the integration tests all stay. The measurement shows there was never much to take — at check-family granularity the tally is 0 pure TOOL, 6 BOTH, 17 CORPUS-OPS of 23: no pure-tooling family exists. The arc reverses a direction; it does not relocate a boundary.
Gate state at
19237b91— every gate green, the membership arm includedRun on the head. It already carries main
f1c690b8, merged in bygh pr update-branch, so it is the tree CI tests.The three membership tests are:
tests/code_surface/test_code_surface_gate.py::test_corpus_code_surface_validatestests/estate_inventory/test_estate_inventory.py::test_corpus_code_surface_and_membership_validatetests/estate_inventory/test_estate_inventory.py::test_every_live_declared_identifier_is_CARRIED_by_the_inventoryCI at
19237b91: all 13 checks are green.pytest-suitereports 8440 passed, 6 skipped and 0 failed (its junit tally: selected 8858, passed 8852, failures 0, errors 0). Atf3511e0cit reported 3 failed, 8436 passed and 6 skipped, and the 3 failures were exactly the three membership tests above.2a0b95e6, the same tree but for this round's Copilot fixes, gave the same 8440 / 6 / 0.The single
failedin--allisadd-chain-attestation's ratified disposition. The adjudicated gate accepts it by name, and this packet does not touch it.The membership gate, answered. At
f3511e0cthe code-surface membership arm (#1119 →5e122388) refusedopenDox-codeandopenXdox-code. The inventory carries neither, so those three tests in the requiredpytest-suitefailed on the branch merged with main. Ruling 15 names the roots instead, and the head now namesopenxFactory,opensoft/openDoxandopensoft/openXdox, all three carried. Copilot's thread4086593436is answered with the ruling and #1150, and resolved. Copilot's review at19237b91lists no finding and no open thread (0 of 122 unresolved), and its one-line summary is answered in the conversation.Task boxes: 9
[x](the measurements and rulings this packet recorded, and 5.6, ticked on the view-wiring landing), 106[ ](the realization it proposes), 9[~](deferred, each with a named Owner and exit condition).Rule 6: this PR touches
openspec/changes/and the README OpenSpec Records block, so it lands in a declared window — not by this actor.🤖 Generated with Claude Code