Repository navigation
§ 4.3/§ 4.4 openxFactory half + pin lockstep: the real engineering profile and DomainProfile registered once at process start, pins → openDox 8ec3036c / openXdox eca0b597 - #984
Conversation
…hand-typed --allow-created list RULED — the arrival-admission repair, Brett Heap, 2026-09-11 18:37Z, `#656` comment 5639058687: the runbook's `openxdox_code` arrival-admission list was stale (two files openXdox-code#7 added had no declared admission anywhere). Shape ruled: each leg destination carries a small declared admissions file in openxFactory that `scripts/verify-carve-arrival.py` reads, so a new admission is a reviewed one-line diff in the pin-bump PR — governed like the manifest, not typed on a command line. - docs/opendox-carve-admissions.yaml: new, one `created:` block per destination the manifest names, seeded with the two openXdox-code#7 files (src/openxdox/consumer_reach.py, tests/test_dependency_direction.py, both since bfd95063b2a71be097a04bb6a3a99c4c131dd322). - scripts/verify-carve-arrival.py: reads the admissions file by default (path derived from the manifest's location, `--admissions` overrides), applies each destination's `created:` list exactly as `--allow-created` does, refuses a file naming an unknown destination id or carrying a duplicate or unsorted `created:` list, and reports which admissions were used and which declared ones were not needed. `--allow-created` keeps working for ad-hoc runs and now prints a one-line notice that the declared form is governed. - tests/carve_arrival/: default-path resolution, exact-file admission, the three input guards, the stale-admission report, the ad-hoc notice, and the real committed file's two seeded entries. - docs/opendox-cutover-runbook.md, README.md: point the arrival section and doc index at the new file as the governed form. Lane: openxfactory-4-opendox-extraction Refs #656 (stays OPEN). Co-Authored-By: Claude Sonnet 5 <[email protected]>
Copilot review (PR #979, thread on scripts/verify-carve-arrival.py:712): `except OSError: return {}` in read_admissions() treated every OSError — permission failures, I/O errors, a path that is a directory — as if the admissions file were simply absent. That silently disables the governed admissions and can let the verifier fall through to report an unrelated undeclared-file result instead of naming the real cause. Only FileNotFoundError now means ABSENT (return {}); any other OSError raises ArrivalRefusal("arrival-unreadable"), on read_manifest's own idiom for a document this tool cannot trust. Added test_an_unreadable_admissions_file_refuses_rather_than_reads_as_absent (a directory sitting where the admissions file would be) — fails without the fix (treated as absent, run reports the destination's own undeclared files instead), passes with it (arrival-unreadable, "could not be read"). pytest tests/carve_arrival tests/carve_manifest tests/carve_conformance -q -> 260 passed. Lane: openxfactory-4-opendox-extraction Refs #656 Co-Authored-By: Claude Sonnet 5 <[email protected]>
Copilot review (PR #979, thread on scripts/verify-carve-arrival.py:782): `COMMIT_RE.match(value)` uses `^[0-9a-f]{40}$`, and `$` matches just before a trailing newline as well as at the true end of the string. A `since:` value of 40 hex characters plus a trailing "\n" therefore passed as a clean 40-hex commit under .match, silently admitting a value that is not one. .fullmatch requires the match to cover the ENTIRE string, so the trailing newline can no longer ride along unchecked; changed to `COMMIT_RE.fullmatch(value)`. Added test_a_since_value_with_a_trailing_newline_refuses, proved to distinguish the two: COMMIT_RE.match("a"*40 + "\n") is True (would have passed), COMMIT_RE.fullmatch(...) is False (correctly refuses). pytest tests/carve_arrival tests/carve_manifest tests/carve_conformance -q -> 260 passed. Lane: openxfactory-4-opendox-extraction Refs #656 Co-Authored-By: Claude Sonnet 5 <[email protected]>
Copilot review (PR #979, thread on tests/carve_arrival/test_verify_carve_arrival.py:2345): test_the_committed_admissions_file_seeds_exactly_the_two_ruled_files carried an inherited skip-guard (`if not …is_file(): assert True; return`) copied from an older test written for a period before the manifest existed. That period is over: this admissions file is committed BY THIS SAME PR, so the guard's only live effect is to make the regression test pass silently if the committed manifest or admissions file is ever deleted or renamed out from under it — exactly the failure this test exists to catch. Replaced the guard with two hard assertions that the manifest and the admissions file are both present, each with a message naming the missing path and why the test cares. pytest tests/carve_arrival tests/carve_manifest tests/carve_conformance -q -> 260 passed. Working tree now matches the fully-fixed state exactly (git diff is empty after this commit). Lane: openxfactory-4-opendox-extraction Refs #656 Co-Authored-By: Claude Sonnet 5 <[email protected]>
…clared-admissions
…NE process-start registration
The canonical declaration (`contracts/domain-profiles/openxfactory-engineering.yaml`)
is openxFactory's own domain mapping — the instance openXdox-spec's design note
§ 5 reserves for this repository ("First instance: opensoft/openxFactory … the
example beside this note is an EXAMPLE"). Every word is read off this
repository's own policy: the NINE-word controlled table at
`docs/document-lifecycle.md`:41-49, the four-word register state enum at
`contracts/schemas/ideation-possibles-register.schema.yaml`, and the twenty-value
act enum at the pinned `openXdox/spec` leg's `gate-action-record.schema.yaml`:165.
`scripts/opendox_host.py` is the host side and the whole of it: ONE call,
`opendox.domain_profile.register(<composite>)`. openXdox's registry names
openDox's verbatim (`_UPSTREAM_REGISTRY`, `openxdox/domain_profile.py`:135) and
delegates to it when its own is empty (`_upstream()` :1135, consulted at :1173),
accepting only an `isinstance(..., DomainProfile)` — so the registered object is
a `DomainProfile` subclass forwarding openDox's two declared facets to
`scripts/profile_openxfactory.py`. That is the shape openDox's own registry
prescribes (`opendox/domain_profile.py`:74-79) and the two-call hook it refuses
(:49-59).
Refusal stays a refusal: no fallback profile, no silent empty tuple, and
`AlreadyRegistered` is raised rather than swallowed.
Lane: openxfactory-4-opendox-extraction
Refs #656
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Copilot review (PR #979, re-review after 5c4d082, thread on scripts/verify-carve-arrival.py:740): read_admissions()'s `if raw is None: return {}` treated an EXISTING file that parses to nothing -- empty, or comments-only -- the same as a file that does not exist at all. That contradicts the module's own stated fail-closed rule (PRESENT AND MALFORMED is arrival-unreadable) and can silently disable every governed admission while the summary still reports the file as present (admissions_file names the path). Removed the special case: `isinstance(None, dict)` is False, so an empty file now falls straight into the existing "is not a mapping" check, whose message already names NoneType -- no new branch needed. Added test_an_empty_admissions_file_refuses_rather_than_reads_as_absent (a file containing only a comment line, which yaml.safe_load parses as None). pytest tests/carve_arrival tests/carve_manifest tests/carve_conformance -q -> 261 passed. Lane: openxfactory-4-opendox-extraction Refs #656 Co-Authored-By: Claude Sonnet 5 <[email protected]>
Copilot review (PR #979, re-review after 5c4d082, thread on scripts/verify-carve-arrival.py:751): the envelope check validated only Python TYPES (isinstance(…, int), isinstance(…, str)), so `schema_version: 999` and any string `kind:` were accepted and their `created:` entries applied as trusted admissions. Because this function owns the admissions document's shape (no second validator exists for it) and the committed format declares exact envelope values, this reader must check those exact values, not merely their type. Added ADMISSIONS_SCHEMA_VERSION = 1 and ADMISSIONS_KIND = "opendox-carve-admissions" (the values the committed docs/opendox-carve-admissions.yaml itself declares). schema_version is now checked against validate-carve-manifest.py's own idiom -- int, not bool, and equal to the constant, so `schema_version: true` cannot pass as version 1 (isinstance(True, int) is True in Python). kind is checked by equality against the constant. Added three tests: wrong schema_version (999), schema_version: true (the bool trap), and the wrong kind string. pytest tests/carve_arrival tests/carve_manifest tests/carve_conformance -q -> 264 passed. Working tree now matches the fully-fixed state exactly (git diff is empty after this commit). Lane: openxfactory-4-opendox-extraction Refs #656 Co-Authored-By: Claude Sonnet 5 <[email protected]>
…clared-admissions
…ONE register() call openDox-code's lazy proxy landed (#11, `a99eba03`), so the hole `carved_reach.bind_composition_point()` covered is closed and the finder goes away with it — exactly as that function's own docstring said it would: "the consumers will import the proxy themselves and this becomes the single `register(profile)` call the ruling describes." Every openxFactory ASSEMBLY POINT — a process that builds an openDox parser OR a server (§ 4.3's landing note: "scope grew: every openxFactory process that builds a SERVER needs the hook too") — now calls `opendox_host.register_openxfactory()` once, before it builds: * `scripts/ideation-dashboard-serve.py`, the production serve entrypoint `scripts/reserve-dashboard.sh` executes; * `tests/conftest.py` and `tests/ideation-dashboard/conftest.py`; * `tests/ideation-dashboard/test_cli_column_split.py`'s BOOTSTRAP, which two subprocess invocations of the real command line run. `tests/domain_profile/test_openxfactory_profile.py` (18 cases) covers the declaration and the composition: the YAML loads through the engine's own loader; its vocabulary is read OUT OF `docs/document-lifecycle.md`'s controlled table and the register schema's own state enum rather than transcribed, so policy and profile cannot drift silently; every accessor the ten migrated engine sites call is answered; one registration serves BOTH legs (`openxdox.domain_profile.current() is opendox.domain_profile.current()`); the parser builds and the route table collects; and the refusals stand — a process that never registered refuses on both legs naming its registration call (measured in a subprocess, since the registry is process-wide), a missing facet is named rather than defaulted, and a second, different profile is refused. Lane: openxfactory-4-opendox-extraction Refs #656 Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
…tory-profile-and-registration
…ssions' into feat/opendox-openxfactory-profile-and-registration
…oxy + § 4.4 engine reachable) The half this pull request carries cannot be authored against the old pins: `scripts/opendox_host.py` imports `opendox.domain_profile` and `opendox.profile_proxy`, neither of which exists below `openDox-code` `a99eba03`, and the openXdox engine that delegates to openDox's registry is `openXdox-code` `af15f712`. So the bump and the half ride together — the legs REFUSE a parser or a server build without a registered host, and the host registration cannot import the leg APIs until these pins name them. Modelled on `#952` field for field — the gitlinks, both pin files' `commit:` and `sorted-ls-tree-r-v1` `tree_sha256:`, and the one literal the openXdox verifier's own test pins: * `openDox` gitlink 44679fa7 → 8ec3036c (openDox #6, `code` → `a99eba03` § 4.3 lazy proxy, `spec` → `a8f5eb73` BUILD slice 1b); * `openXdox` gitlink 84056415 → eca0b597 (openXdox #8, `code` → `af15f712` § 4.4 engine + post-§ 4.3 pin, `spec` → `ae59dfa5`, its own `contracts/opendox-pin.yaml` → 8ec3036c); * `contracts/opendox-pin.yaml` tree digest 71b97c8bec10f1e85f6d56be52b7a83966232d7591952ad5e0af7db68192b392; * `contracts/openxdox-pin.yaml` tree digest c6d1078d3d4e7ddc4d3d70470b0c1fd7a0f4b32519c6b107773644b3d855c000; * `tests/openxdox_pin/…::test_ruling_q7_two_direct_upstreams_in_lockstep`'s asserted openDox commit. THE LOCKSTEP INVARIANT HOLDS BY MEASUREMENT, not by assertion: openXdox's own `contracts/opendox-pin.yaml`, read as a git BLOB at the commit the `openXdox` gitlink now records, carries `commit: 8ec3036c…` — the same value this repository's direct pin declares. `scripts/verify-opendox-pin.py` and `scripts/verify-openxdox-pin.py` both print OK. THE ASK-1 SENTINEL IS RE-CHECKED RATHER THAN CARRIED FORWARD. The migration block's own comment cited `da8aae96` — the `code` leg the OLD pin named — as where "no migrations directory" was read. A bump that moves the leg and leaves that citation standing would make the sentinel rest on a commit this pin no longer names, so the reading is redone at `a99eba03` (`git ls-tree -r` carries no path matching `migration`) and the comment says so. The sentinel values themselves do not move: no migration exists yet to fill them. TWO PROSE CLAIMS THIS BUMP WOULD OTHERWISE FALSIFY are corrected in tense, and in tense only. `contracts/CHANGELOG.md`'s `contract-v3.7` entry and `docs/contract-versioning-policy.md` § both said the `relocating.at` values "are the `spec` gitlinks of the assembly-root commits this repository's own pins ALREADY NAME". After this bump they are the gitlinks the pins named AT THAT CUT. The recorded values are NOT rewritten — a cut bundle's marker is a record of what was true when it was cut, and `contracts/manifest.yaml`'s five `at:` rows stand exactly as cut — the sentences now say which moment they describe, and name where the pins moved to. Lane: openxfactory-4-opendox-extraction Refs #656 Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
…de durable Step 3 of the lockstep — `scripts/verify-carve-arrival.py` against every destination AT THE NEW PINNED COMMITS. The legs gained files since the old pins and a created file has no manifest row (RULED OQ-C), so each one is DECLARED in `docs/opendox-carve-admissions.yaml` — the governed form RULED 2026-09-11 (`#656` comment `5639058687`), one reviewed line per admission naming the leg pull request that created the file and the 40-hex leg commit that introduced it, alphabetical by path. #979 is not merged yet, so its branch is merged into this one and the admissions are added to its file; a later merge of main dedupes it. FIVE OF SIX DESTINATIONS COME BACK OK with no `--allow-created` on the command line (`--replica-at` stays a flag by the file's own design): `opendox_root`, `opendox_spec` (1 admission), `openxdox_spec` (2), `opendox_code` (6) and the `--assembly-root opensoft/openXdox` mode, plus 13 new admissions at `openxdox_code`. THE SIXTH, `openxdox_code`, STILL REFUSES, AND NOT FOR A MISSING ADMISSION. `arrival-undeclared-edit` on TWO moved rows, both from openXdox-code #14's RULING C2 de-hardcoding (`3840c167`, which the old root pin `84056415` did not carry and this bump does): * `src/openxdox/gate_console.py` — edited at carve lines [64, 65, 167-171, 826, 903, 968, 1012, 1135, 1150, 1151, 1154, 1155, 1157, 1339, 1351, 1374, 1487, 1550, 1551, 1569, 1651, 2241]; the row declares [63, 67, 567, 689, 700, 1195, 2047, 2093]; * `src/openxdox/generator.py` — edited at [326, 327, 348, 366, 891, 892, 893]; the row declares [66, 67, 68, 70]. THAT IS REPORTED AND NOT REPAIRED HERE, deliberately. Both remedies the refusal names are governance acts this half may not take on its own word: `edit_classes:` is a RULED CLOSED LIST of three asserted equal verbatim (`scripts/validate-carve-manifest.py`:334, :904) and the § 4.4 edits are in none of them — they are a late profile lookup, not an adapter call, an import rewrite or a path constant — so declaring them needs either a fourth class or a re-cut of two rows' declared lines, and "fix the DESTINATION, never the manifest" is the refusal's own first instruction. The underlying question is more general than these two rows: phase B diffs a leg's CURRENT tree against the carve blobs, so every post-carve edit to a moved file will surface here, and the post-shed-mode amendment (2026-09-10) settled the SOURCE side while leaving arrival "undisturbed by the phase". Owed to a ruling on `#656`. `tests/carve_arrival/…::test_the_committed_admissions_file_seeds_exactly_the_ two_ruled_files` asserted the openxdox_code set EQUALS the two seeded files and every other destination is empty. True of the seeding commit; false of every bump after it BY CONSTRUCTION — the file exists to accumulate one line per bump, so an equality over the whole file would break the first time the governed form was used. It is rewritten to assert what is durable: the two RULED seed entries still declared with their own `since`, no destination outside the manifest's vocabulary, every `since` 40-hex, every `reason` non-empty, and every destination's list alphabetical — the file's own stated invariants, over whatever it has accumulated. Lane: openxfactory-4-opendox-extraction Refs #656 Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Now that the pins reach openDox-code `a99eba03` and openXdox-code `af15f712`,
the retained `tests/ideation-dashboard/` suites run against them through
`carved_reach` — and eight assertions were about a shape two LANDED leg slices
deliberately ended. Each is re-pointed at what the leg now says, with the leg's
own recorded reason, and NONE is weakened to a smaller claim.
BUILD SLICE 2b — openDox stopped naming openXdox at IMPORT time. Six of the
eight:
* `test_route_extension.py` read `serve.ACTIONS_GATE_PREFIX` and
`serve.SOURCE_PREFIX`. Both re-exports are gone with the reason written in
`opendox/serve.py`:185-187 and :201-206 — each "named openXdox at import
time and nothing in this module read it", and both are "the patterns
`…RoutesExtension.routes()` declares" which "travel with it" and "stay
reachable at `openxdox.serve_gate` / `openxdox.serve_projection`, which is
where they live". The test wants the PREFIX, not the module that used to
forward it, so it reads each from its owner.
* `test_serve_column_split.py::test_serve_re_exports_the_hosted_index…` is
now `…hands_the_hosted_index_to_its_new_home_and_keeps_no_copy`.
`hosted_index` is one of the FOUR re-exports slice 2b dropped because they
"had no reader anywhere in this repository"; what S-3 promised — exactly
one definition, no copy left behind — is asserted where S-3's subject now
is, and a restored re-export fails it.
* `test_oqb_replumb_2.py::test_serve_re_exports_the_predicate_from_its_new_
home` kept its name: `hosted_ref_refused` is one of the TWO that stayed
bound in `serve.py`, "bound to this stand-in: same callable, same
root-confinement, resolved on first CALL". An `is` against the projection
function would now assert an import-time reach into the pinning layer, so
the test asserts what the surface actually promises: the name resolves, it
is callable, it reprs through the projection column's own name, and it
AGREES with that function over three (ref, hosted) cases.
* `test_extension_point_parity.py`'s MRO prefix: two of the five columns are
openXdox's, so `DashboardHandler` mixes `consumer_reach.LateGateRoutes`
and `LateProjectionRoutes`, which bring their shared `_LateConsumerColumn`
base with them — eight entries, not seven. The order of all five columns
is still pinned, every one still precedes `SimpleHTTPRequestHandler`, and
the two stand-ins are now checked to carry the methods of the columns they
name, so a stand-in pointed at the wrong column fails here.
* `test_cli_column_split.py`'s re-export completeness walked `cli` for every
dispatchable verb. Slice 2b deleted the nineteen `from openxdox.cli_gate
import (...)` re-exports — "the single largest reason `import opendox.cli`
required the layer that PINS openDox" — and REFUSED the stand-in this test
could have demanded ("a proxy here would look like it worked"). The verbs
reach `args.func` as a CONTRIBUTION through `GateSubcommands.register()`,
so the property is kept and its address corrected: every dispatchable verb
is the same object ON THE MODULE THAT DEFINES IT — in-process and in the
library-caller probe. A NEW test asserts the other half positively: the
gate column contributes at least nineteen verbs and `opendox.cli` binds
none of them, so a quietly restored re-export fails rather than passes.
* the same file's lawful-naming rule loses its `cli_mod` → `openxdox.cli_gate`
non-vacuity assertion and gains its opposite, for the same reason.
§ 4.3 — THE LAZY PROXY IS HOW A LEG NAMES THE COMPOSITION POINT.
`opendox/cli.py`:112 now says `from opendox.profile_proxy import
profile_openxfactory`, which the lawful-naming rule read as a leg naming
openxFactory. It is not: `profile_openxfactory` has no package in that map
precisely because the HOST supplies it at run time, and the proxy is the one
name the LEG owns for it. A fourth bullet states the clause and the loop
admits exactly `<home>.profile_proxy` — a bare `import profile_openxfactory`
or a pre-shed `ideation_dashboard.profile_openxfactory` is still an offender.
`tests/ideation-dashboard` + `tests/domain_profile`: 1125 passed, 13 skipped.
Lane: openxfactory-4-opendox-extraction
Refs #656
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
…he loader RULED ASK-4 Q2 put the domain-profile schema at openXdox-spec and kept the engine from carrying a copy, and `openxdox.domain_profile.load()` is deliberately permissive in one direction — it reads the fields it knows and ignores unrecognized ones, so a profile written against a later revision still loads. That is the right shape for the ENGINE and it leaves a gap at the CONSUMER: a key misspelt, a required field omitted, or a value outside an enum loads clean and answers wrong. This repository pins the openXdox assembly root and mounts its `spec` leg, so `openXdox/spec/contracts/schemas/domain-profile.schema.yaml` is on disk at the very commit `contracts/openxdox-pin.yaml` names (`eca0b597` → spec `ae59dfa5`) and the check is a local read rather than a promise: `contracts/domain-profiles/openxfactory-engineering.yaml` validates against it with zero errors under Draft 2020-12. `jsonschema` is importorskip'd rather than assumed, and both files are asserted present first — a schema that moved out from under this test must fail here, not vacuously pass. Lane: openxfactory-4-opendox-extraction Refs #656 Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
`scripts/validate-manifest-digests.py` reads a RELOCATED row's bytes through
`carved_reach.shed_destination()` — the pinned leg's copy, not a local file —
so a pin bump that changes a relocated file's bytes must move that row's
`sha256` or the estate-wide sweep goes red. This bump does:
FAIL contracts/schemas/ideation-dashboard-snapshot.schema.yaml:
manifest records 9c44da235e8b… but the bytes hash to 054259fe9668…
FAIL contracts/schemas/ideation-dashboard-snapshot-index.schema.yaml:
manifest records 43acf0bb92ab… but the bytes hash to 7fd9b797730e…
FAIL 2/189 manifest digest(s) do not verify
THE BYTES CHANGED LAWFULLY, which is why the digest moves rather than the
pin. openXdox-spec #7 (`ae59dfa5`, "BUILD § 3.6: correct the 4 stale citations
across three arrived files in place, inside the Q-L1 declared lines") edited
one comment line in each: `scripts/validate-ideation-dashboard-contracts.py`
becomes `opensoft/openXdox-code`'s, and `docs/document-lifecycle.md` becomes
`openxFactory's docs/document-lifecycle.md`. Both edits are INSIDE the rows'
declared lines — `verify-carve-arrival.py --destination openxdox_spec`
returns OK with "3 declared-edit row(s) within their lines, 0 unapplied" at
this very pin — so this is a declared correction arriving, not drift.
ONLY THE `sha256:` VALUES MOVE. Nothing else on either row changes: the
`relocating.at:` commits stay `481a07f9…` because they record where the
artifact was at the cut of `contract-v3.7`, and a cut bundle's marker is not
rewritten by a later bump (the same line this branch's pin commit takes with
`contracts/CHANGELOG.md`). The digest is the one field the checker recomputes
and the one field a moved destination can falsify.
python3 scripts/validate-manifest-digests.py
OK contracts/manifest.yaml: 189 per-file digest(s) verify
Lane: openxfactory-4-opendox-extraction
Refs #656
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
There was a problem hiding this comment.
🟡 Changes recommended
Unresolved critical and moderate admissions-validation findings must be addressed before approval.
Get a fresh assessment by requesting another Copilot review.
Pull request overview
This PR registers openxFactory’s engineering profile, updates openDox/openXdox pins in lockstep, and formalizes carve-arrival admissions.
Changes:
- Adds process-start profile composition for parser and server entrypoints.
- Updates pins, contract metadata, and relocated schema digests.
- Adds admissions validation and updates tests and documentation.
File summaries
| File | Reviewed changes and final comments |
|---|---|
tests/openxdox_pin/test_openxdox_pin_verifier.py |
Updates lockstep pin expectations. |
tests/ideation-dashboard/test_serve_column_split.py |
Updates projection-column assertions. |
tests/ideation-dashboard/test_route_extension.py |
Repoints route constants to their owners. |
tests/ideation-dashboard/test_oqb_replumb_2.py |
Covers late route resolution. |
tests/ideation-dashboard/test_extension_point_parity.py |
Updates extension-point checks. Nit, 1 vote: assert exact late-column module/class mappings. |
tests/ideation-dashboard/test_doxbench_contracts.py |
Updates composed contract coverage. |
tests/ideation-dashboard/test_cli_column_split.py |
Updates CLI composition and proxy checks. |
tests/ideation-dashboard/conftest.py |
Supports targeted-suite profile registration. |
tests/domain_profile/test_openxfactory_profile.py |
Tests profile loading, schema validation, and delegation. |
tests/conftest.py |
Registers the profile suite-wide. |
tests/carve_arrival/test_verify_carve_arrival.py |
Tests admissions parsing and reporting. |
scripts/verify-carve-arrival.py |
Validates declared admissions. Critical, 1 vote: distinguish broken symlinks from absent files. Moderate, 2 votes: require every destination block and reject whitespace-only reasons. |
scripts/reserve-dashboard.sh |
Uses the post-shed serve entrypoint. |
scripts/profile_openxfactory.py |
Provides host-owned route and CLI facets. |
scripts/opendox_host.py |
Composes and registers the profile. Nit, 1 vote: clarify the lazy forwarder wording instead of referring to a nonexistent FORWARDER attribute. |
scripts/ideation-dashboard-serve.py |
Registers the profile before serving. |
scripts/carved_reach.py |
Removes the retired composition hook. |
README.md |
Documents the updated pin and profile state. |
docs/opendox-cutover-runbook.md |
Documents the admissions workflow. |
docs/opendox-carve-admissions.yaml |
Records declared file admissions. |
docs/contract-versioning-policy.md |
Clarifies cut-time pin references. |
contracts/openxdox-pin.yaml |
Advances the openXdox pin and digest. |
contracts/opendox-pin.yaml |
Advances the openDox pin, digest, and migration sentinel. |
contracts/manifest.yaml |
Updates relocated schema digests. |
contracts/domain-profiles/openxfactory-engineering.yaml |
Defines the canonical profile. Nit, 3 votes: update the stale comment about schema availability and conformance validation. |
contracts/CHANGELOG.md |
Corrects historical pin wording. |
Review details
Suppressed comments (2)
scripts/opendox_host.py:130
- This class does not add an attribute named
FORWARDER; forwarding is implemented by__getattr__and the module-levelFACETStuple below. The current wording points maintainers to a nonexistent attribute, so describe the lazy forwarder directly.
Frozen and read-only by construction, like the base: this adds an
attribute FORWARDER and no state. The forward target is
tests/ideation-dashboard/test_extension_point_parity.py:415
- These assertions do not prove the exact late-column mapping claimed by the test: one checks only that
GateRoutesappears in a representation, and the loop checks method presence. A misdeclaredLATE_COLUMNcan therefore evade this guard; assert each stand-in's declared module/class pair (openxdox.serve_gate/GateRoutesandopenxdox.serve_projection/ProjectionRoutes) directly, as the leg's own consumer-reach test does.
assert repr(consumer_reach.LateGateRoutes).count("GateRoutes")
assert serve_gate.GateRoutes.__name__ == "GateRoutes"
assert serve_projection.ProjectionRoutes.__name__ == "ProjectionRoutes"
- Files reviewed: 28/28 changed files
- Comments generated: 4
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
…apply this branch's two deltas `#979` (the declared per-destination admissions file) merged as a SQUASH at 22:39Z, minutes after this branch merged its head, so main's single commit and this branch's merge of its branch are an add/add conflict over three files. GitHub could not build the merge ref while they conflicted, which is why no `pull_request` gate started at all. RESOLVED BY TAKING MAIN'S TEXT AND RE-APPLYING ONLY THIS BRANCH'S OWN EDITS — main carries #979's whole fix round (the duplicate-mapping-key loader, the hard-assert seed guard, `since:` by `.fullmatch`, absence only from `FileNotFoundError`, the "empty file is malformed, not absent" refusal), and none of it is this branch's to re-decide: * `scripts/verify-carve-arrival.py` — MAIN'S VERSION VERBATIM. This branch never edited the file; it only carried it in through the stacked merge. * `docs/opendox-carve-admissions.yaml` — main's seeded file plus this branch's 22 declared admissions, unchanged in wording. * `tests/carve_arrival/test_verify_carve_arrival.py` — main's version, with the seed test rewritten as before. The rewrite now also stands in for the review's second frozen assertion (every non-`openxdox_code` destination is `[]`), which the first real pin bump falsifies for the same reason as the first: this file exists to ACCUMULATE. What is NOT relaxed is the equality the review actually asked for — one block for EVERY manifest destination and no id the manifest does not carry — because that one is about the file's SHAPE, not its contents, and it is kept verbatim. Re-verified after the merge: `tests/carve_arrival` 110 passed; arrival OK at `opendox_root`, `opendox_spec`, `opendox_code`, `openxdox_spec` and the openXdox assembly root; `openxdox_code`'s `arrival-undeclared-edit` finding is unchanged and still owed a ruling; both pins still name `8ec3036c` / `eca0b597`; `OK contracts/manifest.yaml: 189 per-file digest(s) verify`. Lane: openxfactory-4-opendox-extraction Refs #656 Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
There was a problem hiding this comment.
🟡 Changes recommended
The pinned openXdox state fails arrival verification, and additional review findings remain unresolved.
Get a fresh assessment by requesting another Copilot review.
Review details
Suppressed comments (3)
contracts/domain-profiles/openxfactory-engineering.yaml:34
- This paragraph is stale after the pin bump: the pinned
openXdox/specleg now carriesdomain-profile.schema.yaml, the admissions file declares it, and the new conformance test reads it. Saying the schema is absent and that the test only uses the loader gives future maintainers the opposite of the current enforcement contract.
# source of truth free to drift from its home. The pinned `openXdox/spec` leg
# does not carry the schema yet (it arrived at openXdox-spec `main` after this
# repository's `contracts/openxdox-pin.yaml` was cut), which is why the
# conformance test beside this file reads the engine's loader and not the
# schema — recorded as owed on the lane's pin chain rather than papered over.
tests/ideation-dashboard/test_extension_point_parity.py:415
- These assertions do not verify the stand-ins' declared targets despite the docstring claiming they do:
repr(...).count("GateRoutes")is true for the class's own name, and the__name__checks only inspect the real classes. A stand-in wired to the wrong openXdox column could pass this test; assert eachLATE_COLUMN's module/class metadata againstserve_gate.GateRoutesandserve_projection.ProjectionRoutes.
assert repr(consumer_reach.LateGateRoutes).count("GateRoutes")
assert serve_gate.GateRoutes.__name__ == "GateRoutes"
assert serve_projection.ProjectionRoutes.__name__ == "ProjectionRoutes"
tests/ideation-dashboard/test_oqb_replumb_2.py:369
- The test name still says
servere-exports the predicate, but the updated assertions deliberately requireserve_mod.hosted_ref_refusedto be a late stand-in rather than the projection module's re-export. Rename the test so its name matches the behavior it now protects.
"""The public surface B-2 preserved, S-3's own guard one name along:
- Files reviewed: 25/25 changed files
- Comments generated: 1
- Review effort level: Lite
… gave it one
`3664d1dc` added
`test_the_profile_validates_against_the_openxdox_spec_schema` — the declaration
read against openXdox-spec's schema and not only against
`openxdox.domain_profile.load()` — but left the paragraph in the declaration
itself that said the opposite:
The pinned `openXdox/spec` leg does not carry the schema yet (it arrived at
openXdox-spec `main` after this repository's `contracts/openxdox-pin.yaml`
was cut), which is why the conformance test beside this file reads the
engine's loader and not the schema — recorded as owed on the lane's pin
chain rather than papered over.
BOTH HALVES ARE NOW FALSE, AND THE PIN IN THIS PULL REQUEST IS WHY. The claim
was measured true of the pin this slice REPLACES — at `openXdox` `84056415`
the `spec` leg is `481a07f9`, where
`contracts/schemas/domain-profile.schema.yaml` does not exist as a blob. The
new pin `eca0b597` names `spec` `ae59dfa5`, a descendant of openXdox-spec #8
`446a13f5`, which placed it; the file is on disk in this checkout and the test
reads it there. Leaving the paragraph standing would have a governed contract
document deny, in its own header, a check its own suite performs.
REWRITTEN TO SAY WHAT IS TRUE AND WHY BOTH CHECKS EXIST rather than deleted:
`load()` refuses a declaration the ENGINE cannot build from and deliberately
refuses little else — it "reads the fields it knows and ignores unrecognized
ones" so a profile written against a later schema revision still loads — which
is exactly the gap a misspelt key, an omitted required field or an
out-of-enum value rides through. The schema check is the second question, and
it is a local read rather than a promise because the pin names the commit the
schema is on. The owed item the old sentence recorded is named as DISCHARGED by
this bump, so a reader who met it in an earlier revision is not left looking
for it.
tests/domain_profile — 19 passed
OK contracts/manifest.yaml: 189 per-file digest(s) verify
OK docs/opendox-carve-manifest.yaml: 456 row(s) … none undeclared
Lane: openxfactory-4-opendox-extraction
Refs #656
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
There was a problem hiding this comment.
🟡 Changes recommended
Three moderate findings remain unresolved in error handling, schema-presence coverage, and extension-point target validation.
Get a fresh assessment by requesting another Copilot review.
Review details
Suppressed comments (4)
Previously missed (1) — in code that hasn't changed since the last review.
contracts/manifest.yaml:1774
- The manifest section around this hunk says these ideation-dashboard rows were already removed at contract-v4.0, and the old/new hashes occur only in historical comments; there are no live
sha256fields here for this pin bump to change. That contradicts the PR description's claim thatvalidate-manifest-digests.pyupdates two relocated schema digests, so either correct that claim or update the actual owning record if these hashes are meant to be current.
scripts/opendox_host.py:310
- This branch is reached only when
openxdox.domain_profilealready contains a different profile, so saying that “Neither registry has been written” can be read as claiming that the conflicting registration does not exist. That is misleading during recovery and obscures which registry must be cleared; state explicitly that this call wrote neither registry while the existing openXdox registration remains.
"each. Neither registry has been written. Call "
"openxdox.domain_profile.unregister() first if the swap is "
"deliberate.")
tests/domain_profile/test_openxfactory_profile.py:124
- The
importorskipexecutes before either file-presence assertion, so on a host withoutjsonschemathis test skips without detecting a missing or moved schema (or profile), contrary to the docstring's non-vacuous conformance guarantee. Assert both paths before callingimportorskip, then perform the schema validation.
jsonschema = pytest.importorskip("jsonschema")
tests/ideation-dashboard/test_extension_point_parity.py:418
- This check is effectively tautological: a class's
repralways contains its ownLateGateRoutesname, so it does not verify that the stand-in targetsopenxdox.serve_gate.GateRoutes(or that the projection stand-in targets its owner). A retargeted lazy column could still pass the MRO and method-presence checks; assert each class'sLATE_COLUMNtarget tuple, as the leg's consumer-reach contract exposes.
assert repr(consumer_reach.LateGateRoutes).count("GateRoutes")
assert serve_gate.GateRoutes.__name__ == "GateRoutes"
assert serve_projection.ProjectionRoutes.__name__ == "ProjectionRoutes"
for late, real in ((consumer_reach.LateGateRoutes, serve_gate.GateRoutes),
(consumer_reach.LateProjectionRoutes,
serve_projection.ProjectionRoutes)):
- Files reviewed: 26/26 changed files
- Comments generated: 1
- Review effort level: Lite
There was a problem hiding this comment.
🔵 Needs a closer look
Resolve the four outstanding moderate findings covering registration failure handling, schema-presence coverage, wrapper-target assertions, and predicate argument order.
Review details
Suppressed comments (6)
contracts/domain-profiles/openxfactory-engineering.yaml:63
- This adds a canonical machine-readable artifact under
contracts/(kind: domain-profile) and the file's own header says it is the real profile consumed by both legs, but it is absent fromcontracts/README.md's Native Contract Index. That index explicitly covers native artifacts even while unpublished or owned by an active change, so without a row this profile has no discoverable owning change/release status and is skipped by the repository's contract inventory. Add the profile to the index (or document a deliberate non-contract classification).
schema_version: 1
kind: domain-profile
mapping_id: openxfactory-engineering
scripts/ideation_dashboard/nightly_lane.py:521
main()promises that every nightly error is reported asSKIPPEDand exits 0, but this new registration runs before the parser and before both existing exception boundaries (run_laneand_run_multi). A malformed profile or a conflicting pre-existing registry therefore raisesDomainProfileInvalid/AlreadyRegisteredout ofmain()and makes the nightly wrapper exit non-zero without a skip report. Keep the registration before engine work, but route its failure through the same SKIPPED handling (or otherwise explicitly preserve the lane's void failure contract).
from opendox_host import register_openxfactory
register_openxfactory()
tests/domain_profile/test_openxfactory_profile.py:128
- The guard described in this test does not actually fail when the pinned schema is missing in an environment without
jsonschema:importorskip()executes before thePROFILE_SCHEMA_PATH.is_file()assertion, so the missing-schema condition is skipped. Move the file-presence assertion(s) beforeimportorskip()so only the validator implementation is optional; otherwise a broken pin can pass as a skip.
jsonschema = pytest.importorskip("jsonschema")
assert PROFILE_SCHEMA_PATH.is_file(), (
f"{PROFILE_SCHEMA_PATH} is missing — the openXdox `spec` leg is not "
"materialized, or the schema moved; either way this test must not "
"pass without reading it")
tests/ideation-dashboard/test_cli_column_split.py:662
- This bootstrap now registers the host profile through the pinned lazy proxy, but the surrounding explanation still says the consumers read
profile_openxfactoryas a bare global (and says the preamble will shrink when the proxy lands). That is no longer the runtime contract and makes this test's rationale misleading; update the adjacent comments to describe registering the proxy's backing profile instead.
"import opendox_host; opendox_host.register_openxfactory()\n"
tests/ideation-dashboard/test_extension_point_parity.py:415
- These assertions do not verify the stand-ins' targets:
LateGateRoutesitself contains theGateRoutessubstring, andserve_gate.GateRoutes.__name__ == "GateRoutes"is tautological (the projection check is likewise tautological). A mis-targeted wrapper can therefore pass this new guard as long as it exposes the expected method names. Assert each wrapper's declared target metadata or a behavior unique to its intended column, for both wrappers.
assert repr(consumer_reach.LateGateRoutes).count("GateRoutes")
assert serve_gate.GateRoutes.__name__ == "GateRoutes"
assert serve_projection.ProjectionRoutes.__name__ == "ProjectionRoutes"
tests/ideation-dashboard/test_oqb_replumb_2.py:396
- The predicate's established signature is
(hosted, ref)—the adjacent regression test callsrefused(False, "draft/some-topic")—but this new comparison invokes both functions as(ref, hosted). That passes a string where the boolean is expected and a boolean where the ref is expected, so the new cases do not validate the promised behavior and can produce incorrect results; call them in the established order.
assert late(ref, hosted) == real(ref, hosted), (
- Files reviewed: 26/26 changed files
- Comments generated: 0 new
- Review effort level: Lite
`tests/conftest.py` is loaded for every suite under `tests/`, including ones that never reach `opendox` or `openxdox`. `.github/workflows/review-lane- repin.yml` checks this repository out with no `submodules:` step and runs `python3 -m pytest tests/review_lane_pin -q` directly; that directory has no conftest of its own to scope the call back out, and nothing in it imports either leg (Copilot review, PR #984). `register_openxfactory()` reaches `opendox` and `openxdox` to compose and register the profile, so with neither leg materialized it raised `CarveReachUnavailable` at COLLECTION — unconditionally, for every suite this file sits above, including the one that never asked for the carve. MEASURED, not assumed: reproduced by monkeypatching `carved_reach.LEGS` to a `src/` that carries no module (what an uninitialized gitlink leaves on disk) and running the real `tests/conftest.py` through `runpy`: RAISED CarveReachUnavailable: opendox is read from a pinned carve leg, and no leg in this checkout carries it: the `openDox` and/or `openXdox` gitlinks are not materialized. ... — exactly the collection failure `tests/review_lane_pin` would hit. THE FIX APPLIES `carved_reach.py`'s OWN DESIGN ONE CALL FURTHER OUT. Its module docstring: "IT REFUSES RATHER THAN DEGRADES — AT THE POINT OF USE" — `install()` already defers a missing leg's refusal to the name that is asked for, specifically so a targeted lane that touches nothing the carve moved still runs. `register_openxfactory()`'s own eager call was the one blanket refusal that design otherwise avoids. Caught and swallowed here, so the lazy `_LegMissing` finder `install_carved_reach()` already armed is what a suite that DOES need the profile hits instead — the identical refusal, just at the point it actually imports the missing name. SAFE TO SWALLOW, NOT A NARROWING: every path that reaches this call raises `CarveReachUnavailable` for one reason only — `carved_reach._LegMissing`, tripped by the `from opendox import ...` / `from openxdox import ...` lines inside `register_openxfactory()` itself. Nothing else in its call graph raises that exception (`carved_reach.py`'s other two raise sites live in `source()` and the blob-lookup helper beside it, neither reached from here). Proof the fix does not over-swallow, in the same subprocess: `import opendox` afterward still raises `CarveReachUnavailable` — a suite that DOES touch the carve is refused exactly as before, just later, at the point it asks. tests/domain_profile — 24 passed (one more than before this commit) tests/review_lane_pin — 198 passed, 2 skipped, 54 subtests passed (unchanged) Lane: openxfactory-4-opendox-extraction Refs #656 Co-Authored-By: Claude Sonnet 5 <[email protected]>
…ide it § 4.4 moved `register_openxfactory()` to the top of `main()`, before `run_lane()`'s own try/except — so a missing leg, a malformed profile, or a registration conflict escaped uncaught and made the nightly process exit nonzero, breaking this function's own documented contract: "the lane NEVER fails the nightly ... every path (including a total failure, reported as SKIPPED) falls through and the process exits 0" (Copilot review, PR #984). FIXED by wrapping the call in its own try/except, reporting the identical "ideation-dashboard lane: SKIPPED — unhandled ..." line the belt-and-braces catch around `run_lane()` already uses for an unhandled failure, and returning before argument parsing even starts. `intent_apply_lane.py` calls the same registration at the same place in its own `main()` and is NOT touched here: that function has no SKIPPED/exit-0 contract — no surrounding try/except at all, every other error already propagates as a nonzero exit — so an unwrapped registration failure there is consistent with the rest of that lane, not a second instance of this bug. PROVEN by monkeypatching `opendox_host.register_openxfactory` to raise and calling `main()` directly: it still returns `None` and still prints SKIPPED with the exception's own type and message, and — unlike a genuine `run_lane()` skip — writes no `lane-status.json`, because it never reached `run_lane()`. tests/ideation-dashboard/test_nightly_lane.py -k "registration_fails or never_fails" — 4 passed tests/ideation-dashboard tests/domain_profile — 1147 passed, 13 skipped Lane: openxfactory-4-opendox-extraction Refs #656 Co-Authored-By: Claude Sonnet 5 <[email protected]>
There was a problem hiding this comment.
🟡 Changes recommended
Four moderate findings remain unresolved in status persistence, pinned schema sourcing, stand-in target assertions, and predicate argument-order coverage.
Get a fresh assessment by requesting another Copilot review.
Review details
Suppressed comments (3)
tests/domain_profile/test_openxfactory_profile.py:104
- The test reads the materialized
openXdox/specworking-tree path, but does not establish that those bytes come from thespecgitlink reachable from the assembly commit recorded byopenxdox-pin.yaml. The pin verifier explicitly checks commit/tree objects rather than nested working-tree contents, so a stale or locally edited nested checkout could make this conformance test validate the wrong schema; read the schema blob at the pinned revision or assert the nested checkout revision before loading it.
PROFILE_SCHEMA_PATH = (REPO_ROOT / "openXdox" / "spec" / "contracts"
/ "schemas" / "domain-profile.schema.yaml")
tests/ideation-dashboard/test_extension_point_parity.py:415
- These assertions do not verify which column each stand-in targets:
repr(LateGateRoutes)only checks its local class name, the__name__checks the real classes, andLateProjectionRouteshas no target assertion at all. A swappedLATE_COLUMNmapping would therefore pass this regression test; assert each stand-in'sLATE_COLUMN[:2]is the expected(module, class)pair.
assert repr(consumer_reach.LateGateRoutes).count("GateRoutes")
assert serve_gate.GateRoutes.__name__ == "GateRoutes"
assert serve_projection.ProjectionRoutes.__name__ == "ProjectionRoutes"
tests/ideation-dashboard/test_oqb_replumb_2.py:398
- These calls use
(ref, hosted), but the predicate's established API is(loopback, ref)as exercised immediately below. Comparing the late wrapper and the real function with the same reversed arguments can let an incorrectly adapted wrapper pass without testing the documented behavior; use the real(loopback, ref)order and assert expected results for the known loopback/session cases.
for ref, hosted in (("main", True), ("refs/heads/x", True),
("refs/heads/x", False)):
assert late(ref, hosted) == real(ref, hosted), (
"the late stand-in and the projection column's own predicate "
f"disagree about ({ref!r}, {hosted!r})")
- Files reviewed: 27/27 changed files
- Comments generated: 1
- Review effort level: Lite
…tory-profile-and-registration
Thread 2's own fix (`2c68d57f`) wrapped `register_openxfactory()` in `try/except` and printed the SKIP, but returned before `run_lane()` / `run_multi_lane()` ever get a chance to call `_write_status()` / `_write_index_status()`. That leaves a missing/malformed leg with NO current status artifact: the module's own FAILURE SEMANTICS say every error's reason belongs "in `lane-status.json` and on stdout", and in production a consumer that only reads the status file would see the previous run's artifact (or none at all) and never learn this run skipped (Copilot review, PR #984, third round). FIXED by `_write_registration_failure_status()`, called from the except: block with a `--help`-agnostic PRE-PARSE of just `--repo-root`/`--out-dir`/ `--repository`/`--repositories` (`_pre_parse_output_location`). It writes whichever artifact the requested mode would have produced: `index-status.json` for `--repositories` — the form BOTH real production call sites always use (`scripts/reserve-dashboard.sh:69` and `.github/workflows/doc-health-reusable.yml`, both `--repositories registered`) — `lane-status.json` otherwise. THE PRE-PARSE, NOT THE REAL PARSER, AND FOR A MEASURED REASON: an earlier attempt at this fix moved `args = ap.parse_args(argv)` before registration so the except: block could read `args` directly. That broke `test_an_engine_lane_registers_at_its_own_process_entry[nightly_lane]` (caught by the suite, not assumed): `--help` makes argparse raise `SystemExit(0)` DURING `parse_args()` itself, before registration ever ran, so `--help` stopped leaving the registry populated — the exact invariant that test exists to hold, per its own docstring ("`--help` is the cheapest argv that reaches `main()` ... the registration is made before the parser is built"). Registration stays first; `_pre_parse_output_location` is a second, `add_help=False` parser that never recognizes `--help` and never raises (a malformed argv falls back to defaults, `repo_root=None`, which `_write_registration_failure_status` then treats as a no-op), so it cannot reintroduce that hazard. tests/ideation-dashboard/test_nightly_lane.py::test_main_is_skipped_rather_than_raised_when_registration_fails — updated: now asserts `lane-status.json` exists with result=skipped and the exception text, instead of asserting its absence. tests/ideation-dashboard/test_nightly_lane.py::test_main_registration_failure_writes_index_status_for_repositories_mode — new: the `--repositories` mode writes `index-status.json` instead. tests/domain_profile/test_openxfactory_profile.py::test_an_engine_lane_registers_at_its_own_process_entry — re-verified green (the regression this design avoids). tests/ideation-dashboard/test_nightly_lane.py -q — 23 passed tests/ideation-dashboard tests/domain_profile -q — 1148 passed, 13 skipped Lane: openxfactory-4-opendox-extraction Refs #656 Co-Authored-By: Claude Sonnet 5 <[email protected]>
|
There was a problem hiding this comment.
🔵 Needs a closer look
Three moderate findings remain unresolved.
Review details
Suppressed comments (3)
scripts/ideation_dashboard/nightly_lane.py:607
- This catch is bypassed when the
openXdoxcode leg is missing, despite the comment promising to handle a missing leg._install_carved_reach()arms_LegMissing, but this module importsopenxdoxat lines 93–96 during module load (and the wrapper importsmainbefore calling it), so the finder raises beforemain()reaches thistry; the lane exits nonzero and writes no SKIPPED status. Defer the engine imports until after registration or catch this failure at the actual entrypoint.
from opendox_host import register_openxfactory
try:
register_openxfactory()
tests/domain_profile/test_openxfactory_profile.py:129
- This check reads the mutable
openXdox/specworking tree, even though the contract is thespecgitlink recorded by the pinned openXdox assembly commit. A stale or locally modified nested checkout can therefore make this test validate bytes that the pin does not name (or miss a schema change at the pinned commit). Resolve the nestedspeccommit from the recorded openXdox pin and read its blob with the repository's exact-commit helper before constructing the validator.
schema = yaml.safe_load(PROFILE_SCHEMA_PATH.read_text(encoding="utf-8"))
tests/ideation-dashboard/test_cli_column_split.py:1089
- This guard only visits
ast.ImportFromnodes, so a forbidden bare import such asimport profile_openxfactoryorimport openxdox.cli_gateis never inspected. The docstring explicitly lists those spellings as offenders, but adding one would leaveoffendersempty and let the test pass; includeast.Importhandling (and update the sharedabsolute_split_importshelper if it is used for the same invariant) so both Python import forms are covered.
owner = SPLIT_MODULE_PACKAGES[name]
if package == owner and owner != home:
continue # lawful cross-leg absolute
if (name == "profile_openxfactory" and home
and package == f"{home}.profile_proxy"):
continue # § 4.3's own lazy proxy
if id(node) in in_bootstrap and name == "cli":
continue # the one exemption
- Files reviewed: 27/27 changed files
- Comments generated: 0 new
- Review effort level: Lite
…n lockstep is landed opensoft/openxFactory #984 -> a1ef886 (2026-09-12 14:55Z, plain gate, head 02a9f63, six required checks SUCCESS, 10 threads / 0 unresolved, CLAIM 5640395709, #656 comment 5646646722) lands the openxFactory halves of both boxes together, since each was red without the other: the real engineering profile_openxfactory as one composite profile (SUBCOMMAND_EXTENSIONS, ROUTE_EXTENSIONS, and the CLI gate facet), the engineering DomainProfile YAML under contracts/ (validating against openXdox-spec's schema), and ONE process-start register() call at every composition point that builds a parser or a server -- the PR-2 stand-in bind_composition_point() collapsed into that call -- riding the pin lockstep that moves openDox -> 8ec3036c and openXdox -> eca0b597. 4.3 also carries RULED ASK-6 -> 1 (5635150678, ASK BLOCK 5635063050): the routes half (serve.py reads the same proxy ASK-2 already rules for subcommands) is landed alongside the code half (openDox-code #11 -> a99eba03, 5639351854). 4.4 also carries RULED ASK-4 -> "proceed" (5634195861, over its five Q1-Q5 sub-questions) sequenced after BUILD slice 2b on shared files (5634218589), landed alongside the code half (openXdox-code #14 -> 3840c167, 5640381252). Both boxes are now JUDGED MET at both halves; nothing remains owed on either. Merges origin/main (now 2dd54b8, unrelated lane landings; no conflict -- #984 does not touch this file). Nothing else in tasks.md changes. Lane: openxfactory-4-opendox-extraction Refs #656 Co-Authored-By: Claude Sonnet 5 <[email protected]>
main moved twice since this branch forked: PR #984 (lockstep) rewrote docs/opendox-carve-admissions.yaml with the § 4.3/§ 4.4 pin bump's own admissions (6 new opendox_code entries, 1 opendox_spec, 14 openxdox_code, 2 openxdox_spec), and PR #995 (ASK-7) added a `path constants` edit each to the cli.py and serve.py rows in docs/opendox-carve-manifest.yaml. Neither touches the two rows or the admission this branch declares, so every conflict here is two governed ledgers gaining entries in the same place, not a real disagreement: - docs/opendox-carve-admissions.yaml: kept main's six opendox_code entries and this branch's three S2 entries in the SAME destination block, re-sorted alphabetically by `path` (the file's own stated invariant) rather than picked one side. - docs/opendox-carve-manifest.yaml: the row-level edits (cli.py/serve.py from main, dispose.js/wheel.js from this branch) auto-merged clean; hand-merged the header comment's running tally into one narrative that states the true combined totals — declared lines 862 -> 866 (ASK-7) -> 869 (S2), rows carrying `edits:` 150 -> 150 -> 152 — checked against the actual parsed document rather than added by hand. - tests/carve_manifest/test_carve_manifest.py: combined both PRs' per-row pinned assertions (cli.py/serve.py from main, dispose.js/ wheel.js from this branch already lived outside the conflict markers) and rewrote the aggregate assertion to the same measured (869, 152). - tests/carve_arrival/test_verify_carve_arrival.py: kept main's presence/invariant-based rewrite of test_the_committed_admissions_file_keeps_the_ruled_seed_and_stays_well_formed (PR #984 already generalized the frozen-equality check this branch's own `..._seeds_exactly_the_five_ruled_files` rename would have reintroduced, precisely because a frozen equality cannot survive a pin bump) and extended it with an opendox_code presence/`since` block for the three S2 files, on the same footing as the existing openxdox_code block. Verified post-merge: `scripts/validate-carve-manifest.py` OK (167 moved_verbatim, 151 moved_with_declared_edit, 138 not_moved, 456 rows); `scripts/verify-carve-arrival.py --destination opendox_code --dest-root <S2 leg @ 330cf8161f06ae67be716deafe9b2ec3c64d1492> --source-repo . --phase B` OK with ZERO --allow-created (9 declared admissions used: the 6 lockstep entries plus this branch's 3, 0 unused, 0 ad hoc) where the pre-merge run needed 6 ad-hoc --allow-created flags for a pre-existing, unrelated gap; the isolated dispose.js/wheel.js declared-line check still reads DECLARED, undeclared: none; `pytest tests/carve_arrival tests/carve_manifest tests/carve_conformance -q` 269 passed. Lane: openxfactory-4-opendox-extraction Refs #656 Co-Authored-By: Claude Sonnet 5 <[email protected]>
origin/main moved five commits ahead of this branch's fork point, three of which touch files this PR also declares edits on: - #995 (9e43f3d, ASK-7 window): four declared lines on the cli.py and serve.py rows of docs/opendox-carve-manifest.yaml, plus the four scripts/tests files that quote the running "862" declared-line total (carve_lines.py, validate-carve-manifest.py, verify-carve-arrival.py, tests/carve_manifest/test_carve_manifest.py). - #984 (a1ef886): carve tooling/admissions hardening unrelated to the five rows this PR touches. - #997, #996, #999: no overlap with this PR's files. Conflict resolution, keeping both sides: - docs/opendox-carve-manifest.yaml: the header comment block now carries the ASK-7 window's paragraph (landed first, 2026-09-11) ahead of the § 3.4 SLICE-S3 paragraph (2026-09-12), in landing order. The S3 paragraph's own arithmetic is untouched (it was already stated as a DELTA — "+40 over two rows" — precisely so a later-landing sibling act would not need to rewrite it); only its framing of the ASK-7 window changed from "is in flight" to "already moved the running total to 866", since this merge is the event that makes ASK-7's landing a fact rather than a future one. The four ASK-7 row edits (cli.py:834, serve.py:155/725/1338) and the two S3 row edits (app.js's 37 lines, test_bullseye_widget.py's 3 lines) are all kept. - scripts/carve_lines.py, scripts/validate-carve-manifest.py, scripts/verify-carve-arrival.py: each had a single docstring line citing the running declared-line total — "866" from main (ASK-7), "902" from this branch (which assumed the pre-ASK-7 base of 862). Corrected to 906 in all three: 866 (post-ASK-7) + 40 (this act's own delta) = 906, matching the pinned test assertion. - tests/carve_manifest/test_carve_manifest.py: merged both narrative additions to test_the_real_manifest_carries_the_ruled_q_l7_amendment in landing order (ASK-7 then S3), corrected the final aggregate assertion from this branch's stale (902, 151) to (906, 151), kept main's per-row pinned ASK-7 checks (cli_row/serve_row) verbatim, and fixed their comment's citation of the aggregate from (866, 150) to (906, 151) to match the corrected assert two lines above. Also fixed a second, non-conflicting docstring in test_the_line_count_is_exactly_the_expression_the_validator_carried that still read "902". A pre-existing defect, unrelated to the conflict, found while resolving: the test_bullseye_widget.py row's two edits (already on this branch's HEAD before any merge, commit 6843a25) had a blank line splicing them apart, which left the `adapter calls` edit's `note:` key duplicated with the `path constants` edit's original note — YAML silently keeps the last of a duplicate key, so the S3 note was silently discarded and the wrong note landed on the wrong edit. Confirmed with a duplicate-key-aware loader before and after. Fixed by restoring each edit's own note; a full-document duplicate-key scan afterward finds none remaining anywhere in the manifest. Verified after resolution: - python3 scripts/validate-carve-manifest.py: OK, 456 rows, 168 moved_verbatim / 150 moved_with_declared_edit / 138 not_moved. - python3 scripts/verify-carve-arrival.py --destination opendox_code --phase B against openDox-code PR #14's head (09b42f5b): DECLARED src/opendox/web/app.js, DECLARED tests/test_bullseye_widget.py, 0 refusals (three newly-created files admitted ad hoc for this local check only: src/opendox/view_extension.py, src/opendox/web/views/view_extension.js, tests/test_view_registry.py — the governed admissions-file entries for those belong to the pin-bump PR that follows #14's own landing, not this row-annotation PR). The one "unapplied" declared-edit row the summary counts is scripts/ideation_dashboard/doxbench_scope_types.py, an unrelated pre-existing row (successor #838, open at the carve) — not S3. - pytest tests/carve_arrival tests/carve_manifest tests/carve_conformance -q: 269 passed (121 + 110 + 38). Lane: openxfactory-4-opendox-extraction Refs #656 Co-Authored-By: Claude Sonnet 5 <[email protected]>
…nd wheel.js rows (Q-L1; § 3.4 S2, RULED Q5) (#1002) Lane: openxfactory-4-opendox-extraction Refs #656 (stays OPEN). § 3.4 S2 (RULED Q5, 5642758731): the carve-manifest rows for dispose.js and wheel.js gain the lines S2 edits at openDox-code so the intent chips can become an optional contributed binding inside declared lines (Q-L1, 5628560136), and the admissions file declares the files S2 creates. Verified with the arrival verifier against the leg branch: DECLARED, undeclared none. The leg PR lands after this. Co-Authored-By: Claude Fable 5.1 <[email protected]> Merged with main after #984/#995: admissions combined (main's six lockstep entries + S2's three, sorted); manifest header tally 869 declared lines / 152 rows with edits; the arrival test kept main's tolerant presence check extended for the three S2 files. Arrival at opendox_code @ 330cf816: 9 declared admissions used, zero --allow-created, undeclared none; dispose.js line 26 and wheel.js lines 75–76 DECLARED. Carve suites 269 passed; pytest-suite 34701772583 SUCCESS at b50f6c7.
….3/4.4/5.7/5.9 status (2026-09-11) (#991) Lane: openxfactory-4-opendox-extraction Refs #656 (stays OPEN). split-opendox-two-layer-product tasks.md amendment recording the 2026-09-11/12 landings (CLAIM 5641679012): six boxes tick — 4.2 (openXdox root eca0b597's contracts/opendox-pin.yaml carries every § 4.2 field), 4.3 and 4.4 (code halves openDox-code #11 → a99eba03 and openXdox-code #14 → 3840c167; the openxFactory half + pin lockstep #984 → a1ef886), 4.5 (three features at openXdox-code #10/#11/#12; requirement row ratified, archived, corrected and erratum'd at openXdox-spec #9–#12; RECOUNT 5638391057), 5.7 (the MAJOR cut #983 → ce5c054, tag contract-v4.0 9e6c0ae verified), 5.9 (#982 → db1f0cf + xF #445 → c81b957b). 4.1 stays open on evidence: 13 § D3 modules present but only 12 of the 23 doc_health imports moved (10 are § 3.4/3.5/3.6 residue, 1 is DQ-1). Before 31 ticked / 40 open; after 37 / 34 of 71. Only tasks.md changes; proposal-support verify ok; strict validate valid; pytest-suite 34701125454 SUCCESS at 935d403; 2 threads / 0 unresolved. Co-Authored-By: Claude Fable 5.1 <[email protected]>
…(S7 precondition) (#1021) Lane: openxfactory-4-opendox-extraction Refs #656. CLAIM: #656 comment 5649744596. § 3.4 slice S7 (openDox-code #21, head 90cf05a0) parameterizes every governance word in openDox's shell through a `DISPLAY` facet on the ONE registered domain profile; absent, the shell renders openDox's own NEUTRAL words. openxFactory registers its real engineering profile at process start (#984) but had not declared this fourth facet. This PR declares it for every role it can state without inventing new copy: `statuses`, `acts` and `artifacts.root`'s label are re-derived from the registered profile's own accessors (`DomainProfile.status()`/`.act()`/`.artifact_kind()`/ `.lifecycle_for().by_role()`) so a renamed status/act id fails a test instead of leaving a stale word. `artifacts.delta`/`.supporting`'s labels are literal (cited from CLAUDE.md / ideation/README.md, no registered artifact_kind to check them against) and disclosed as the one exception to that guarantee. `stages` (the six main funnel-column labels) stays undeclared — a documented, schema-legal partial declaration (`normalize_display()`: "PARTIAL IS LEGAL, AND IT IS THE POINT") — because its five-strings-per-role wording has no existing single-word source to derive from, unlike every declared section; closing it is tracked follow-up on #656, not silently implied here. Conforms to openDox-code #21's `display_profile` schema at its current head, 90cf05a0 (not yet pinned — `contracts/opendox-pin.yaml` still names `a99eba03`, which predates #21): `test_facet_conforms_to_opendox_schema` tries the live import first and falls back to a vendored structural JSON Schema, saying which path ran on both branches. Two constraints from #21's move to 90cf05a0 are addressed: no two roles share a raw value within any one `statuses` vocabulary (the identical hazard `_refuse_duplicate_enum_ values` polices for `values.*`), and `DISPLAY` rides the SAME registered profile object `ROUTE_EXTENSIONS` does, proven via `domain_profile.name_of()` across two independent registry reads. `/`-suffixed prefixes are locked in for exactly the five roles that carry one. 17 tests (`tests/test_engineering_profile_display_facet.py`); locally, that file + `tests/domain_profile/` + every `tests/ideation-dashboard/` consumer of `profile_openxfactory`/`opendox_host` — 306 passed. Two Copilot review rounds taken on this PR, both accurate, both fixed: round 1 — a bare `except ImportError` that would mask a real regression (narrowed to `exc.name == "opendox"` only, empirically verified against this exact import form, which raises plain `ImportError` not `ModuleNotFoundError`); the `stages` scope gap above. Round 2 — the `artifacts.delta`/`.supporting` literal-label gap above; a misspelled test name (`vocabularys` → `vocabularies`). Plain gate: pytest-suite run 34732131074 SUCCESS at ebc128d; all required checks green; 4 threads / 0 unresolved.
Lane: openxfactory-4-opendox-extraction Refs #656 (stays OPEN). CLAIM: 5647338637. Third and final leg of the pin lockstep (after opensoft/openDox#7 and opensoft/openXdox#9), precedent #984: two gitlinks, two pin YAMLs, one test literal. | | from | to | | --- | --- | --- | | `openDox` gitlink + `contracts/opendox-pin.yaml` `commit:` | `8ec3036c…` | `7cf6c143e65e0bde799a5135dfde2dd66df5d495` | | `contracts/opendox-pin.yaml` `digests.tree_sha256` | `71b97c8b…` | `46f49679e721e1d6c0d43c1aad370feec34c56bc5bbb2fffc88fa680734ecbc8` | | `openXdox` gitlink + `contracts/openxdox-pin.yaml` `commit:` | `eca0b597…` | `76df74c8fd32db9aa71448c0ddac185c019b97fb` | | `contracts/openxdox-pin.yaml` `digests.tree_sha256` | `c6d1078d…` | `a0a4a22f2d1729f655a8be499a375b61808f9ad1659d1b3c606143693b6f414d` | | `tests/openxdox_pin/…::test_ruling_q7_two_direct_upstreams_in_lockstep` | `8ec3036c…` | `7cf6c143…` | `openDox` assembly `7cf6c143` moves `code` (opensoft/openDox-code) `a99eba03` → `05bbde80`: § 3.4 S4 (#17, thirteen gate-route constants split to the class-B bindings that call them), its S3 fail-closed follow-up (#18, landed via #22 after a base-branch retarget correction), and S6 (#16, `/source` becomes openDox's own fixed core arm). `openXdox` assembly `76df74c8` moves `code` d6e7bbe3: S6's paired leg (the `/source` pair leaves `serve_projection.py`) and its own `opendox-pin.yaml` copy advances to match. `spec` unchanged on both. Nine files, not five: the pin mechanics (five, per #984) plus four `tests/ideation-dashboard/` consumer fixes the bump's own CI run forced across two follow-up rounds (real breakage in this repo's own characterization of code S4/S6 legitimately moved — `test_route_ extension.py`, `test_serve_column_split.py`, `test_extension_point_ parity.py`, `test_lens.py`), disclosed and itemized in the PR body. Verified: `verify-opendox-pin.py` / `verify-openxdox-pin.py` OK; `pytest tests/opendox_pin tests/openxdox_pin` 105 passed; `validate-carve-manifest.py` OK; the four consumer files together 114 passed/1 skipped; the whole `tests/ideation-dashboard/` directory 1124 passed/13 skipped. Plain gate: pytest-suite run 34730017839 SUCCESS at 0b14193; all required checks green; 3 threads / 0 unresolved.
…ty, and the fifteen carried into it (#1071) Lane: openxfactory-4 (openXfactory-4-openDox_extraction) Refs #656 (stays OPEN). CLAIM: [`5703096449`](#656 (comment)) **`split-opendox-two-layer-product` § 5.2a, realized: the FIFTEEN engineering-vocabulary requirements are RE-PROMOTED under the successor capability this packet authors, `openxfactory-engineering-adapter`.** Filing only — `Status: draft` on all three lifecycle documents, no ratification, no archive, no tick. ## Why now The box says the successor capability's *"id this task authors"* and says nothing else about it, and **three pieces of live work were waiting on that id**: § 5.6's de-floor, § 8.4's both-directions floor accounting, and two § 6 closures already open — #1060 (§ 6.1's seven `doc-health` requirements) and #1065 (§ 6.5's narrowing) — each of which carried its delta WHOLE rather than re-author it against *"the successor capability id … § 5.2a, unbuilt and assigned to another actor"*. This declares it. ## The id, derived rather than chosen (`design.md` § D1) | measured at `fa39141c` | what it names the adapter | |---|---| | the ratified per-requirement map, **15 of 15** openxFactory rows, identical phrasing | *"openxFactory's OWN ENGINEERING ADAPTER, the small package beside `scripts/doc_health/` that implements openDox's corpus-adapter seam (RULING DQ-1)"* | | `design.md` § D3 column head · § D1 topology · `proposal.md` (9) | *"the engineering mapping"* · *"its OWN engineering adapter"* · *"a small ENGINEERING ADAPTER PACKAGE"* | | bigram count over the whole packet | **"engineering adapter" 22** · "corpus adapter" used as ITS name **0** | | landed § 2.2a package (#725 → `ea4e6ff2`) | `scripts/corpus_adapter_openxfactory/`, sole public class `OpenxFactoryCorpusAdapter` | | landed § 4.4 profile (#984 → `a1ef886f`) | `contracts/domain-profiles/openxfactory-engineering.yaml`, `mapping_id: openxfactory-engineering` | Head noun = the packet's own name for it. The `openxfactory-` qualifier stays because `corpus-adapter-seam` requirement 4 (*"one implementation and carries no privileged path"*) is made load-bearing by DQ-1 — an unqualified `engineering-adapter` would read as the NEUTRAL capability, which is openDox's under RULING Q4. Spelling is fixed by the two landed machine names. Rejected with reasons: `corpus-adapter-seam`, `engineering-adapter`, `corpus-adapter-openxfactory`, `openxfactory-engineering` (taken). **A different id is a one-command rebuild** — the delta is generated, not typed. ## Measured * **The fifteen come out fifteen.** All 102 `## REMOVED` rows of the packet's map classified by the destination each **Reason** names: **openDox 71 / openXdox 16 / openxFactory 15** — RULING DQ-1's map exactly. * **Carried, not authored.** Lifted from `openspec/specs/ideation-dashboard/spec.md` BY TITLE by script: 102 promoted requirements, **0 of 15 missing**, titles character-for-character identical (which is what makes the successor a distinct `promotion_fidelity` key), **49,829 source bytes, 84 scenarios**, all fifteen carrying `SHALL` on the FIRST body line. * **TWO edits, and the count is itself a finding** (NARROWED from six after Copilot rounds 1 and 3 — dispositions in the comments below). Six path-literal occurrences sit in the fifteen; only two name a question the six-wide seam answers as its requirement states it, and both are `resolve`, both in *doxBench resolves its released contract from the checkout it runs in* — the literal the governing `design.md` § D2 names `resolve` for in terms (*"the operation `corpus_root.py` performs today with a path literal"*). * **The other four are RECORDED NON-EDITS**, each with the operation it would have needed (`design.md` § D2): a topic's EXISTENCE under `ideation/staging/` — `list_documents` lists under DECLARED scopes, the home adapter declares `documents`/`lifecycle` and no staging scope, and the interface's own docstring insists an empty corpus stays distinguishable from an unreadable one, so listing-emptiness cannot carry that refusal; the DESTINATION of authoring the console must not perform; and twice the workspace returned documents land in. **What would unblock them** — a declared staging scope, or an answer that keeps *absent* and *empty* apart — is openDox's to declare under RULING Q4, and `tasks.md` § 4.5 carries it as a BLOCKED box in the shape § 6.1 and § 6.5 used for named-not-performed work. * **Two further non-edits, for a complete census**: `proposal.md` ×4 (a document's identity — `DocumentId.key` is declared opaque at `scripts/corpus_adapter.py:213-224`), `OPENXFACTORY_ROOT` ×3 (a rung of requirement 10's own ladder). `main` ×1 is a git ref. * **The carry is proved, and the proof verifies the COMMITTED artifact.** `review/build-delta.py` is committed inside the packet: it aborts unless each declared edit matches EXACTLY ONCE, REVERSES them and asserts byte equality against the promoted text, and — run without `--write` — READS the committed delta and compares, so a hand-edited delta cannot pass. Mutation-proved: clean tree `CHECK PASSED` exit **0**; one word changed in the committed delta `CHECK FAILED` with the diff, exit **1**; the file deleted `CHECK FAILED`, exit **1**. ## Gates on this branch | gate | result | |---|---| | `openspec validate repromote-engineering-vocabulary --strict` (CLI **1.12.0**, the pinned version) | `Change 'repromote-engineering-vocabulary' is valid` | | `review/build-delta.py .` — the packet's own verifier, in CHECK mode | `CHECK PASSED … byte-identical … 53118 bytes, sha256 c3b985ae…`. Every gate RAISES (no `assert`), proved under `python3 -O`: mutated committed delta exit **1**, broken edit-match exit **1** (`REFUSED: edit matched 0x`), clean exit **0**; a CRLF-edited delta exits **1**; a duplicate promoted title exits **1** | | `scripts/proposal-support.py . verify` | `proposal support verification ok` | | `openspec validate --all --strict` | **108 passed, 2 failed (110 items)** — the two are PRE-EXISTING and named: `add-chain-attestation` and `add-composed-view-authoring`, both a MODIFIED block omitting a scenario canon still carries. Neither is this packet's and neither touches the fifteen. | | `validate-sequenced-after.py . --ledger-diff` | `per-change sweep ledger consistent with the corpus (217 rows)`; the plain run passes (48 active changes, 17 declaring; both archive-date arms pass) | | `validate-code-surface.py .` (the gate #1029 landed) | passed — 48 active proposals, 48 declaring, 6 `none`, **0 outside the grammar** | | doc-health `--single-repo . --family promotion-fidelity` | **No findings** — this packet promotes nothing | | `pytest tests/code_surface tests/sequenced_after` | **439 passed** | | ARCHIVE DRY RUN (throwaway copy of `openspec/`, pinned CLI) | `openxfactory-engineering-adapter: create` · `+ 15 added` · `Totals: + 15, ~ 0, - 0, → 0`; **0** placeholder occurrences, 15 requirements / 84 scenarios, all fifteen byte-identical delta→promoted, and `openspec/specs/ideation-dashboard/spec.md` sha256 **UNCHANGED** by the run — § D3's "removes nothing", measured | | **`pytest-suite`** | **RED ON `main` ITSELF and not this branch's** — see comment [`5703461771`](#1071 (comment)). `main` at `4cef77af` runs `1 failed, 7715 passed`, the one failure being `test_modified_block_currency_self_gate.py::test_the_resolution_ordering_and_marker_classes_read_zero_over_the_real_tree` over two OTHER changes' MODIFIED blocks (#1052 and #1050). This packet carries no `## MODIFIED` block at all. | ## What this does NOT do * **It authors NO second `## REMOVED` block on `ideation-dashboard` — a declared judgment, not an omission** (`design.md` § D3). The packet's ratified map is that removal's single writer; a sixth live writer would be an undeclared sibling collision this box has no authority to declare (that delta's own `## THE SIBLING COLLISION` section enumerates five and handles each); and in one archive order it becomes *"a removal of nothing … applied against a document that never held the title"*, the defect the packet's block (b) refuses. The box's fidelity sentence holds without it — `promotion_fidelity.py` keys `(capability, norm(title))`, so the successor is a distinct key and the packet's REMOVED delta stays visible. **Mechanical corroboration: this packet's own sweep row seeds `class: sole`** — the corpus's machinery agreeing no other change writes any key it writes. **If the ruling goes the other way the block is one file and this lane will author it on the word.** * No byte of `openspec/changes/split-opendox-two-layer-product/` — no tick, no map row, no design line. No code: nothing under `scripts/`, nothing under `tests/` but the GENERATED sweep-ledger row. Nothing under `contracts/`: no schema, pin, digest, bundle version or release tag. No gitlink, no submodule, no row of `docs/opendox-carve-manifest.yaml`. Nothing under `openspec/specs/` — this delta reaches canon only at an archive. * It does not ratify and does not archive. `tasks.md` § 1 holds the ratification questions (the id, the six edits, the two non-edits, the § D3 judgment, the § D4 archive order); § 3 holds the archive, which is **sequenced BEFORE the split packet's own** so the fifteen are never in no capability at all (`design.md` § D4). ## Sibling search (three reads, all clear) No #656 CLAIM names § 5.2a or the successor capability. Of the open openxFactory PRs, exactly one touches `openspec/specs/ideation-dashboard/spec.md` — **#1066**, whose hunks are at `:2249`, `:2267` and an append after `:2590` and which touches **none of the fifteen**; extraction here is title-keyed, so its landing shifts line numbers and changes nothing, and the carry is re-proved mechanically after any merge from `main`. `LANES.md` holds no row on this box. **Rule 6 applies** (this pull request touches `openspec/changes/` and the README OpenSpec Records block). Brought to READY, **not landed** — the landing window is the holder's. **Review state.** Seven Copilot rounds, every live finding taken and every thread answered and resolved (**10 threads, 0 unresolved**); the dispositions are in the comments below, including the ONE finding refused with a reason (pytest coverage for a packet-local one-shot helper would make `code_surface: none` false and flip the archive class). `114a9c63` is the final head — later rounds are answered in comments, not by moving it. Lane: openxfactory-4 Co-Authored-By: Claude Fable 5.1 <[email protected]> 🤖 Generated with [Claude Code](https://claude.com/claude-code) Lane: openxfactory-4 Co-Authored-By: Claude Fable 5.1 <[email protected]>
…ing history, and re-measure the leg figures
FOUR findings, all measured FACT before they were taken.
1. THE ORDINALS (Copilot review `5239585507` @ `d3d28269`, suppressed;
RULED A FACT FINDING by the holder after the previous actor answered it by
measurement on comment `5719043676`). The previous answer was right that an
ordinal cannot be read off a block's POSITION — the assertion blocks in
`tests/carve_arrival/test_verify_carve_arrival.py` are not in ordinal order
and never were — and wrong that the ordinals therefore stood. Measured
against the document itself they did not:
git log --first-parent origin/main -- docs/opendox-carve-admissions.yaml
diffing each commit's PARSED `created:` sets gives ELEVEN amendments over
the seed (#979 `972b484a`) — PR #984, #1002, #1001, #1009, #1010, #1023,
#1030, #1025, #1067, #1068 and this act — of which TEN bump `opendox_code`.
Slice S5's amendment (#1023 @ `ee251d6c`, eight created files across both
legs and the first admission-level re-homing) was recorded with NO ordinal,
so every ordinal after it was ONE LOW: slice S7's three read SIXTH and are
the SEVENTH, slice S8's one read SEVENTH and is the EIGHTH, the runtime ten
read EIGHTH and are the NINTH — and that block's "of which this is the
sixth" is the EIGHTH `opendox_code` bump. RULED Q7's five and this act's one
carried none at all, and the docstring's narrated history stopped at SEVENTH
while the code below it named an EIGHTH: a file that cannot be read in one
direction without contradicting the other.
Every ordinal now agrees, and the rule is stated with the ONE COMMAND THAT
DERIVES IT, so the next amendment reads its ordinal off the history instead
of off a neighbour. The three amendments the docstring never narrated (#1067,
#1068 and this act) are narrated. The durable-assertions list, which had
stopped enumerating what the block below actually asserts, gains slice S5's
eight, slice S8's one and the ten runtime entries.
THE REUSED RATIONALE IS DISTINGUISHED FROM THE BUMP NUMBER, which is what
made this drift invisible: this act's block pins to its introducing commit
"for the reason the DISPLAY-facet block states" and NAMES that block, whose
ordinal moved with the renumbering while its argument did not. The runtime
block's ordinal paragraph now records BOTH corrections — it read SEVENTH,
collided, was moved to EIGHTH, and was still one low — because both are the
same defect. Its stale "line ~3993" pointer is gone with them.
Copilot's own arithmetic was wrong in the other direction (it called this
act's admission the eighth amendment and the seventh `opendox_code` bump;
measured they are the ELEVENTH and the TENTH). The finding was still right
that the history had stopped agreeing with itself.
2. THE ADMISSION REASON (Copilot review `5246578877` @ `30a63ebe`, thread on
`docs/opendox-carve-admissions.yaml:146`). MEASURED in a pristine `0b4e8bbf`
worktree of openDox-code with the leg's file copied in:
pytest -q tests/test_display_facet_leaves.py --noconftest
-> 11 failed, 2 passed in 0.61s (node v24.21.0 present)
The reason said `10 failed / 2 passed` and a three-versus-nine split. The
file carries THIRTEEN tests at the leg's landing head `b51a1ca1`: FIVE
node-gated, over FOUR modules (`display.js`, `explorer.js`,
`outline-model.js` and now `docs.js`), and EIGHT reading the source. The old
"three" named the three MODULES and miscounted the tests even at the
introducing commit, where it is four and eight over twelve. The reason now
states the measurement, says it is taken AT THE LANDING HEAD and not at
`since:` — which stays the introducing commit `338143a3` — and names what
moved it: openDox-code#28's own Copilot round added the thirteenth test.
The two that pass at the pristine base are the return-value guard beside
`applyTokens` and the behavioural probe that only bites once `runAddSection`
forwards its argument, so all SEVEN leaves are failed by at least one of the
eleven.
3. THE FOUR MANIFEST ROW NOTES (same review, thread on
`docs/opendox-carve-manifest.yaml:2498`): `10 of 12` on all four synchronized
copies -> `11 of 13`. "Each failure its own leaf" is replaced by what is
true of eleven failures over seven leaves: every leaf failed by at least one
of them, with the two passers named.
4. THE RUNBOOK'S PROVENANCE PARAGRAPH (same review, suppressed;
`docs/opendox-cutover-runbook.md:379-383`): it still read "CURRENT TO RULED
Q7's CSS EXTRACTION" and called Q7 "THIS act" while the tables above it are
this act's 2717 and its `opendox_code` cell is 1763 — and a second, older
"THIS ACT CARRIES" in the same paragraph named slice S7. Two acts called
"this act" in one paragraph, neither of them the act the totals belong to.
Re-headed to the § 3.4 SLICE-S7 RESIDUE annotation with its own window
(2710 + 7 = 2717), Q7 restated as the act behind it, and the inner claim
given slice S7's PR and sha. Swept with it: § 5's `--allow-created` note,
whose "THIS act adds three more entries" meant PR #1030 and has had seven
amendments since.
GATE at this head:
scripts/validate-carve-manifest.py OK
456 rows, 143/175/138, 318 digests, none undeclared, 4 re-destined, 2 retired
pytest -q tests/carve_arrival tests/carve_manifest 408 passed
No absolute moves: 2717 / 176 / 1745 / 1763 / 2715 stand as measured at the
merge. No assertion changes — every ordinal lives in a comment or a docstring,
grepped repo-wide, and nothing reads them.
Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <[email protected]>



Lane: openxfactory-4-opendox-extraction (formerly openxfactory-opendox)
Refs #656 (stays OPEN).
The openxFactory half of § 4.3 and § 4.4 together with the openxFactory pin lockstep. The half and the bump ride in ONE pull request because they are mutually dependent: the new legs REFUSE a parser or a server build without a registered host, and the host registration cannot import the new leg APIs (
opendox.domain_profile,opendox.profile_proxy,openxdox.domain_profile) until openxFactory's pins name the commits that carry them. Either half alone is red.Rulings realized
5634218589opendox.domain_profile.register(); openXdox-code #14 delegates562888663656393518545640381252af15f712is the engine this profile parameterizes56403957095639058687The pin lockstep
openDoxgitlink +contracts/opendox-pin.yamlcommit:44679fa7…8ec3036ce496a90a3c92a89c4907e57941901b51contracts/opendox-pin.yamldigests.tree_sha256f7e2c300…71b97c8bec10f1e85f6d56be52b7a83966232d7591952ad5e0af7db68192b392openXdoxgitlink +contracts/openxdox-pin.yamlcommit:84056415…eca0b5977b0cca1f39c725b95fc9fa8b4d307d72contracts/openxdox-pin.yamldigests.tree_sha2562eeae172…c6d1078d3d4e7ddc4d3d70470b0c1fd7a0f4b32519c6b107773644b3d855c000tests/openxdox_pin/…::test_ruling_q7_two_direct_upstreams_in_lockstep44679fa7…8ec3036c…openDox #6 moves
code→a99eba03(§ 4.3 lazy proxy) andspec→a8f5eb73(BUILD slice 1b). openXdox #8 movescode→af15f712(§ 4.4 engine + post-§ 4.3 pin),spec→ae59dfa5, and its owncontracts/opendox-pin.yaml→8ec3036c.The file set mirrors #952 exactly. #952 touched six paths: the two pin files, the two gitlinks, and the two pin verifiers' tests. Five of the six move here; the sixth,
tests/opendox_pin/test_opendox_pin_verifier.py, is deliberately unchanged, because what #952 added to it wastest_the_migration_block_is_present_and_lockstep_with_openxdox, which reads every value it asserts out of the pin file and carries no commit literal (its only 40-hex is the empty-blob hash). A pin bump moves literals, and that file has none to move.Verifier results, verbatim:
The lockstep invariant holds by measurement: openXdox's own
contracts/opendox-pin.yaml, read as a git BLOB at the commit theopenXdoxgitlink records, carriescommit: 8ec3036c…— the same value this repository's direct pin declares.The ASK-1 migration sentinel was RE-CHECKED rather than carried forward. Its comment cited
da8aae96— thecodeleg the OLD pin named — as where "no migrations directory" was read. The reading is redone ata99eba03(git ls-tree -rcarries no path matchingmigration) and the comment says so. The threenot_yet_deployedvalues do not move: no migration exists yet to fill them.Two prose claims this bump would otherwise falsify are corrected in TENSE ONLY.
contracts/CHANGELOG.md'scontract-v3.7entry anddocs/contract-versioning-policy.mdboth said therelocating.atvalues "are thespecgitlinks of the assembly-root commits this repository's own pins ALREADY NAME". After this bump they are the gitlinks the pins named at that cut. The recorded values are NOT rewritten andcontracts/manifest.yaml's fiveat:rows stand exactly as cut — a cut bundle's marker is a record of what was true when it was cut.Two relocated schema digests move with the spec pin, and only the digests.
scripts/validate-manifest-digests.pyreads arelocating:row's bytes throughcarved_reach.shed_destination()— the pinned leg's copy — so this bump reds the estate-wide sweep atcontracts/schemas/ideation-dashboard-snapshot.schema.yaml(9c44da23…→054259fe…) and…-index.schema.yaml(43acf0bb…→7fd9b797…). The bytes changed LAWFULLY: openXdox-spec #7 (ae59dfa5, "correct the 4 stale citations … inside the Q-L1 declared lines") edited one comment line in each, andverify-carve-arrival.py --destination openxdox_specreturns OK with "3 declared-edit row(s) within their lines, 0 unapplied" at this very pin. Only thesha256:values move;relocating.at:stays481a07f9…for the same reason the changelog's four values stay as cut.OK contracts/manifest.yaml: 189 per-file digest(s) verify— superseded by thecontract-v4.0merge below, which removes both rows entirely; the file now verifies 184.A third prose claim the bump falsifies is repaired in the profile itself.
contracts/domain-profiles/openxfactory-engineering.yaml's header said the pinnedopenXdox/specleg "does not carry the schema yet" and that the conformance test therefore "reads the engine's loader and not the schema — recorded as owed". Both halves were measured true of the pin this slice REPLACES (84056415→spec481a07f9, wherecontracts/schemas/domain-profile.schema.yamldoes not exist as a blob) and are false at the new one (eca0b597→specae59dfa5, a descendant of openXdox-spec #8446a13f5, which placed it). Leaving it standing would have a governed contract document deny, in its own header, a check its own suite performs. Rewritten to say why BOTH checks exist —load()refuses what the engine cannot build from and deliberately little else ("reads the fields it knows and ignores unrecognized ones"), the schema check catches the misspelt key that would otherwise load clean — and to name the owed item as DISCHARGED by this bump.Arrival at the new pins, and the admissions
scripts/verify-carve-arrival.pywas run against every destination at the new pinned commits. #979 landed onmainas a squash (972b484a) while this branch was open; the earlier stacked merge of its branch is deduped by this branch's merge ofmain, which takes main's text of all three shared files and re-applies only this branch's own deltas. #983 (contract-v4.0) then landed and is merged in too — it REMOVES the five ideation-dashboard manifest rows, including the two whosesha256:this branch had moved, so that re-record is superseded andcontracts/manifest.yamlnow verifies 184 digests rather than 189. This is the first pin bump the admissions file's own design anticipates: "a NEW admission is a reviewed ONE-LINE diff in the pull request that bumps the destination's pin."Twenty-two declared admissions added, each naming the leg pull request that created the file and the 40-hex leg commit that introduced it:
(The file's own shape —
{path, reason, since}, alphabetical by path, one block per manifest destination — is unchanged; the two RULED seed entries for openXdox-code #7 keep their place.)FIVE of six destinations come back OK.
--allow-createdis now unused at every destination — every created file is admitted by the declared file — and--replica-atis the flag it remains by the admissions file's own design ("--replica-at… is a DIFFERENT admission … it stays a command-line flag; RULED #656 governscreated:only"), given here in the runbook's own declared form so the replicas are checked by NAME rather than by a coincidence of bytes:⚠ THE SIXTH DESTINATION REFUSES, AND IT IS NOT A MISSING ADMISSION — a ruling is owed
openxdox_coderefusesarrival-undeclared-edit. The verifier is fail-fast and names one row per run; the set was enumerated to exhaustion against a scratch copy of the manifest (suppress the named row, re-run, repeat until the run comes back"result": "ok"), so this is the COMPLETE set and not the first of an unknown number. THREE rows, all of them openXdox-code #14 (3840c167) — the § 4.4 / RULING C2 de-hardcoding — which the old root pin84056415did not carry and this bump does:src/openxdox/gate_console.py[64, 65, 167-171, 826, 903, 968, 1012, 1135, 1150, 1151, 1154, 1155, 1157, 1339, 1351, 1374, 1487, 1550, 1551, 1569, 1651, 2241][63, 67, 567, 689, 700, 1195, 2047, 2093]src/openxdox/generator.py[326, 327, 348, 366, 891, 892, 893][66, 67, 68, 70]tests/conftest.py(the RULED Q-L7 (a) replica)[271][25]The first is
DRAFT_STATUS/STAGED_STATUSbecoming a late lookup by neutral role; the third is § 4.4'sno_registered_profilefixture appended to the leg's own conftest. Its thirteen created files ARE declared above, so the refusal is purely the edit check.The refusal is NEW WITH THIS BUMP, and that is measured rather than assumed. The same invocation against the leg commit the OLD pin names (
5da58ee2, withmain's admissions file) returns OK — "92 row(s) arrived, 9 digest(s) verified, 81 declared-edit row(s) within their lines, 4 unapplied; 2 of 2 declared replica(s) verified". So nothing here is a pre-existing red being inherited; the § 4.4 leg slice this half is paired with is what phase B now sees.This is reported and NOT repaired here, deliberately. Every remedy the refusal itself names is a governance act this half may not take on its own word:
b075fd91, which is the floor deleted;edit_classes:is a RULED CLOSED LIST of three, asserted equal verbatim (scripts/validate-carve-manifest.py:334, :904), and a late profile lookup is none ofadapter calls,import rewritesorpath constants;docs/opendox-carve-admissions.yamlcannot express it:read_admissions()accepts one class,created:, and its own header says so ("WHAT THIS FILE DOES NOT COVER").And the question is more general than these three rows. Phase B diffs a leg's CURRENT tree against the carve blobs, so the carve commit is an ETERNAL baseline for every moved row: each further post-carve edit to a moved file will surface here as the legs keep evolving, whatever the next pin bump carries. The post-shed-mode amendment (2026-09-10) settled the SOURCE side and explicitly left arrival "undisturbed by the phase". What is owed is a ruling of exactly #656's own shape — the one that gave
created:a declared, reviewed home — for the edit class. Owed to a ruling on #656.The half
The delegation finding — ONE registration, not two. openXdox delegates to openDox.
_UPSTREAM_REGISTRY = "opendox.domain_profile"(openxdox/domain_profile.py:135);_upstream():1135 is consulted bycurrent():1173 whenever openXdox's own registry is empty, and it accepts the upstream object only when itisinstance(…, DomainProfile). openDox's own registry docstring prescribes exactly the composite this host builds — "A host that wants ONE object to serve both therefore registers a profile that satisfies both readers — e.g. anopenxdox.domain_profile.DomainProfilesubclass carrying the two extension tuples. That composition is the HOST's" (opendox/domain_profile.py:74-79) — and REFUSES the alternative in the same breath (:49-59: "THE ALTERNATIVE REJECTED: 'the host calls BOTH legs'register()in one documented process-start hook' … It is TWO registrations wearing one hook's name"). Soregister_openxfactory()makes exactly ONE call,opendox.domain_profile.register(...)(scripts/opendox_host.py:247 — the only such call in the repository), and openXdox reaches the same object through its delegation. Nothing here importsopenxdoxin order to register with it.tests/domain_profile/…::test_one_registration_serves_both_legs_by_delegationassertsopenxdox…current() is opendox…current().The composition-point inventory. § 4.3's rule was "every process that builds an openDox parser OR server"; § 4.4 makes that too narrow, and the gap was a production defect (Copilot review, fixed in
db461ecf— see the ⚠ note below). There are two kinds of caller.Parser or server:
scripts/ideation-dashboard-serve.py:109 — the production serve entrypointscripts/reserve-dashboard.shexecs; it registers at :109 and importsopendox.serveat :111. It is the only file inscripts/that importsopendox.serve, and nothing in this repository importsopendox.cli;tests/conftest.py:61 (moved from :57 ina6926540— see the new ⚠ note below);tests/ideation-dashboard/conftest.py:51;tests/ideation-dashboard/test_cli_column_split.py:662 — the BOOTSTRAP string its two subprocess invocations of the real command line run beforerunpy.The § 4.4 engine, scoped by measurement rather than by guess:
openxdox.generatorandopenxdox.gate_consoleare the only two modules at the pinned leg that callopenxdox.domain_profile.current(), and exactly two openxFactory modules import them. Each now registers at its ownmain():scripts/ideation_dashboard/nightly_lane.py—generate_snapshot()(called at :191 and :379) resolves the profile while deriving cluster lineage (openxdox/generator.py:339, :361), one of the § 4.4 edits this bump carries. One call inmain()covers BOTH production paths, which matters:scripts/reserve-dashboard.sh:69 runspython3 -m ideation_dashboard.nightly_lanedirectly and never touchesscripts/ideation-dashboard-nightly.py;scripts/ideation_dashboard/intent_apply_lane.py— reaches both engine readers, through_fresh_snapshot():535 andopenxdox.gate_console.scripts/ideation_dashboard/dashboard_refresh_lane.pyhas a__main__of its own and imports neither engine module, so it gets no hook. The otherbuild_parserdefinitions inscripts/(attest-openspec-cli-pin-lockfile.py,install-pinned-openspec-cli.py,mint-factory-origin-key.py,validate-openspec-cli-pin.py) are each script's OWN argparse and are not composition points. No workflow builds a parser or a server. A COLUMN must not call it —ideation_dashboard/serve_openxfactory_lanes.pyis imported BYprofile_openxfactory, so a column that registered would re-enter its own half-executed module; the two lane registrations are inmain()and not at module scope for the same reason.⚠ The engine gap was a SILENT production defect, and the suite could not see it
Measured in a bare process with no conftest, before the fix:
nightly_lane's own contract is "Always exits 0 — any error is reported as SKIPPED so the deterministic doc-health run is never affected", so every real nightly run would have published the refusal as a green-looking SKIPPED. And every test in this repository runs undertests/conftest.py, which has already made the registration — so an in-process assertion passes whether or not the lane registers anything. That is the green bar the defect hid behind, and it is whytest_an_engine_lane_registers_at_its_own_process_entryruns in a SUBPROCESS doing exactly what the wrapper does and nothing else. With the twomain()registrations reverted, both of its parameters fail.current()refuses before registration, and the refusal is not softened. A process that forgets the call getsopendox.domain_profile.ProfileNotRegisteredoropenxdox.domain_profile.DomainProfileNotRegistered, each naming its own registration call: this module has no fallback profile, composes nothing when the YAML is missing, and lets a malformed profile'sDomainProfileInvalidout unchanged. Registration is idempotent for the SAME object and raisesAlreadyRegisteredfor a different one — one process composing from two profiles, half its readers on each, is the failure the ruled single registration exists to prevent.⚠ Two more composition-point robustness gaps, this round (Copilot review, PR #984)
tests/conftest.py's eager call broke a suite that never touches the carve, fixed ina6926540. This file is loaded for every suite undertests/, includingtests/review_lane_pin—review-lane-repin.ymlchecks this repository out with nosubmodules:step and runs that suite directly, with no nested conftest to scope the call back out.register_openxfactory()reachedopendox/openxdoxto compose and register, so with neither leg materialized it raisedCarveReachUnavailableat collection, for every suite this file sits above. Now caught and left to the lazy_LegMissingrefusalcarved_reach.install()already arms — a suite that DOES need the profile is refused exactly as before, just at the point it actually imports the missing name.nightly_lane.py'smain()let a registration failure escape its own SKIPPED/exit-0 contract, fixed in2c68d57f. § 4.4 putregister_openxfactory()ahead ofrun_lane()'s own try/except, so a missing leg, a malformed profile, or a registration conflict would have made the nightly process exit nonzero instead of reporting SKIPPED. Now wrapped in its owntry/except Exception, reporting the identical"ideation-dashboard lane: SKIPPED — unhandled ..."line the belt-and-braces catch aroundrun_lane()already uses.intent_apply_lane.pycalls the same registration at the same place and is untouched: it has no SKIPPED/exit-0 contract, so an unwrapped failure there is consistent with how every other error in that lane already behaves.Facets.
FACETS = ("SUBCOMMAND_EXTENSIONS", "ROUTE_EXTENSIONS", "cli_gate")— the first two are exactly whatopendox.profile_proxy._LateProfile.READERSmaps to a reader (SUBCOMMAND_EXTENSIONSforcli.build_parser(),ROUTE_EXTENSIONSforserve.build_server());cli_gateis read by this repository's owntest_cli_column_split.py, which assertsprofile.cli_gate is gate. A narrow forwarding list, not blanket forwarding, so a leg that comes to read a fourth facet getsProfileFacetMissingnaming it rather than an answer nobody decided to give. A facet colliding with aDomainProfilefield is refused at compose time, because__getattr__runs only when ordinary lookup fails and a collision would be a wrong answer rather than a refusal.The stand-in is retired.
carved_reach.bind_composition_point()— the meta-path finder that bound the module into each consumer's globals — is gone with the hole it covered, exactly as its own docstring said it would be; only prose references to it remain.The declaration is
contracts/domain-profiles/openxfactory-engineering.yaml(schema_version: 1,kind: domain-profile), the instance openXdox-spec's design note § 5 reserves for this repository. Every word is read off this repository's own policy —docs/document-lifecycle.md's nine-word controlled table, the register schema's four-word state enum, the pinned openXdox-spec leg's twenty-value act enum — and the tests read the table OUT OF the document rather than transcribing it, so RULING C2's defect cannot be reproduced one layer up. It loads withopenxdox.domain_profile.load()AND validates againstopenXdox/spec/contracts/schemas/domain-profile.schema.yamlunder Draft 2020-12 with zero errors;jsonschemaisimportorskip'd and both files are asserted present, so a moved schema fails rather than vacuously passes.Test changes, with reasons
Now that the pins name the new legs, the retained
tests/ideation-dashboard/suites run against them throughcarved_reach— and eight assertions were about a shape two LANDED leg slices deliberately ended. Each is re-pointed at what the leg now says, quoting the leg's own recorded reason, and NONE is weakened:serve.ACTIONS_GATE_PREFIXandserve.SOURCE_PREFIXare read fromopenxdox.serve_gate/openxdox.serve_projection, whereopendox/serve.py:185-187, :201-206 says they live;serve.hosted_index's re-export test becomes "one definition on the projection column and no copy anywhere", since it is one of the four re-exports that "had no reader anywhere in this repository";serve.hosted_ref_refusedis one of the TWO that stayed, now a late stand-in, so the test asserts the name resolves, is callable, reprs through the projection column and AGREES with that function over three(ref, hosted)cases instead of anisthat would assert an import-time reach; the MRO prefix grows to eight entries becauseLateGateRoutes/LateProjectionRoutesbring their shared_LateConsumerColumnbase, with the order of all five columns still pinned and the stand-ins now checked to carry the columns' methods; the re-export-completeness walk moves fromclito the module that defines each verb, because slice 2b deleted the nineteenfrom openxdox.cli_gate import (...)re-exports and REFUSED the proxy this test could have demanded ("a proxy here would look like it worked").opendox.clibinds NONE of them, so a quietly restored re-export fails rather than passes. The lawful-naming test'scli_mod → openxdox.cli_gatenon-vacuity assertion is replaced by its opposite for the same reason.opendox/cli.py:112 now saysfrom opendox.profile_proxy import profile_openxfactory, which the lawful-naming rule read as a leg naming openxFactory. It is not:profile_openxfactoryhas no package in that map precisely because the HOST supplies it at run time, and the proxy is the one name the LEG owns for it. A fourth documented bullet states the clause and the loop admits exactly<home>.profile_proxy— a bareimport profile_openxfactoryor a pre-shedideation_dashboard.profile_openxfactoryis still an offender.openxdox_codeset EQUALS the two seeded files and every other destination is empty — true of the seeding commit, false of every bump after it BY CONSTRUCTION, so an equality over the whole file would break the first time the governed form was used. It now asserts what is durable: the two RULED seed entries still declared with their ownsince, no destination outside the manifest's vocabulary, everysince40-hex, everyreasonnon-empty, every list alphabetical. What is NOT relaxed is the review's shape equality — one block for EVERY manifest destination and no id the manifest does not carry — which is kept verbatim.tests/domain_profile/test_openxfactory_profile.py(23 test functions, 24 collected — one parametrized over the two engine lanes) — schema conformance, the shared registration, the delegation, refusal before registration, facet forwarding, the facet/field collision guard, the two engine-lane entries, the foreign-openxdox-registration guard, and (this round) the leg-free-suite regression above.No floor was moved, and no test was deleted or skipped.
.github/workflows/pytest-suite.ymlis not in the diff at all —MIN_SELECTED(7050),MIN_PASSED(7044) andEXPECT_SKIPPED(6) are exactlymain's.MIN_SELECTED/MIN_PASSEDare floors and this branch adds tests; nothing turned into a skip.No
openspec/changes/path is touched — the § 4.3 / § 4.4 ticks ride a later amendment.Files
openDox,openXdoxcontracts/opendox-pin.yaml,contracts/openxdox-pin.yamlcommit:+digests.tree_sha256; the ASK-1 sentinel comment re-citedtests/openxdox_pin/test_openxdox_pin_verifier.pycontracts/domain-profiles/openxfactory-engineering.yamlDomainProfiledeclarationscripts/opendox_host.pyscripts/profile_openxfactory.pyregister()callscripts/carved_reach.pybind_composition_point()removed with the hole it coveredscripts/ideation-dashboard-serve.py,scripts/reserve-dashboard.shscripts/ideation_dashboard/nightly_lane.py,scripts/ideation_dashboard/intent_apply_lane.pymain()tests/conftest.py,tests/ideation-dashboard/conftest.pytests/domain_profile/test_openxfactory_profile.pytests/ideation-dashboard/test_{cli,serve}_column_split.py,test_route_extension.py,test_extension_point_parity.py,test_oqb_replumb_2.py,test_doxbench_contracts.pydocs/opendox-carve-admissions.yaml,tests/carve_arrival/test_verify_carve_arrival.pycontracts/CHANGELOG.mdcontract-v3.7cut recordcontracts/manifest.yamlideation-dashboard-snapshot-indexrowPre-flight, verbatim
The local departures, disclosed rather than papered over.
openspec validate— the same twodisposition-codexfactory-*failuresmainreports;git diff origin/maintouches noopenspec/path.verify-commit— contract-v4.0: BREAKING — the five ideation-dashboard schemas are REMOVED, consumed at the openDox/openXdox spec legs (split-opendox § 5.7) #983, thecontract-v4.0cut, landed while this branch was open and is merged in here, and it repairs everything that stood before it: the same command atorigin/mainnow returnsrelease verify-commit: passagainstcontracts/releases/contract-v4.0.digests.yaml, including the twoscripts/hermes_runtime_validation/{catalog.py,release.py}findings that were PR-2's. What remains are exactly the two files this branch itself must still edit:contracts/CHANGELOG.md(thecontract-v3.7entry's tense — v4.0 did not rewrite that cut record, and the sentence is still present-tense about pins this branch moves) andcontracts/manifest.yaml(dating the citation contract-v4.0: BREAKING — the five ideation-dashboard schemas are REMOVED, consumed at the openDox/openXdox spec legs (split-opendox § 5.7) #983 landed on theideation-dashboard-snapshot-indexremoval, which said the artifact is read "at THE COMMITcontracts/openxdox-pin.yamlNAMES" — true atspec481a07f9and false at theae59dfa5this bump names, where openXdox-spec Archive repo boundary OpenSpec change #7's declared correction makes it hash to7fd9b797…). Neither is repaired by re-recording the v4.0 bundle's digests, on this branch's own reasoning aboutrelocating.at:— a cut bundle's record is what was true AT THE CUT and is not rewritten by a later edit. They are repaired at the NEXT cut, exactly as contract-v4.0: BREAKING — the five ideation-dashboard schemas are REMOVED, consumed at the openDox/openXdox spec legs (split-opendox § 5.7) #983 repaired the previous two.verify-commitis not run by any gate: every test of it uses a synthetic repository, which is whypytest-suiteis green with these standing.tests/hermes_runtime_contracts/test_validator_cli.py::test_release_mode_field_is_preserved_on_the_real_repository[--require-realization-realization]runsvalidate-hermes-runtime-contracts.pyas a subprocess with a 30-second budget; timed directly on this box the same command takes 41 s and exits 2 with the expected findings — the validator walks both materialized legs (PR openxFactory: mount opensoft/openDox as a second submodule and pin it in lockstep with openXdox's pin (RULED Q7, #656) #932's--recursivematerialization, RULED Q7) and this developer machine is slower than the runner at that I/O. The[--require-candidate-candidate]parameter of the same test passes locally.pytest-suiterun 34657958767 is green at054da1f3.EXPECT_SKIPPEDis untouched.docs/contract-versioning-policy.mdis no longer in the diff at all: #983 rewrote the entry this branch had corrected in tense, and the merge takes main's version, which names the leg commits and digests inline — the dated form the correction was reaching for.Required checks:
lane-line,openspec-cli-pin,pytest-suite,release-tag-gate,signed-execution-chain-gate,wallet-validation— all SUCCESS at054da1f3(pytest-suiterun34657958767) and re-run at each head since. Advisorymerge-master-approval,clearing-dispatch-gate,openreposhape-pinand SonarCloud also SUCCESS.🤖 Generated with Claude Code
Summary by Sourcery
Register openxFactory’s engineering profile once at process start, update both upstream pins in lockstep, and align carve admissions and tests with the new openDox/openXdox legs.
New Features:
Bug Fixes:
Enhancements:
Documentation:
Tests: