Repository navigation
Description
Lane: openxfactory-4-opendox-extraction (formerly openxfactory-opendox)
RULING — Brett Heap, 2026-09-05T14:52Z, in session, verbatim: "elect the shape for both, follow the pin chain, no family yet" — recorded on opensoft/openXfactory#656 (opensoft/openXfactory#656 (comment)). This is the SECOND part of that ruling that lands in this repository, found while authoring the openxFactory amendment PR that encodes it. #40 is the descendant-chain half; this is the half nobody had measured.
The defect
The ruling elects the three-repository shape for TWO NEUTRAL PRODUCTS — openDox and openXdox, each an assembly root carrying -spec and -code. The scaffold refuses both, today, at the commit openxFactory pins.
$ python3 scaffold-project.py --org opensoft --project openDox --dry-run
REFUSED naming-role-mismatch: 'openDox' classifies as neutral-product, not as the
'assembly' form of a project leg (the neutral-product form is unambiguous by
construction, so it needs nothing declared)
Remediation: re-run with a --project value that is one CamelCase token.
Identical for openXdox, with or without --pin. The remediation is not takeable: the name is the product's name and is what the ruling elected.
scripts/repo_shape.py accepts_role() admits exactly two classifications — ("project-leg", <role>) and ("domain-descendant", "assembly") — and NamingPolicy.classify returns neutral-product for an open<Product> name because that form "is unambiguous by construction". scaffold-project.py:434 raises on the mismatch. Verified at main f9ff3f8 AND at 122d729bc0c2f2e0ded0bb61b6b97f49512f613e, the commit openxFactory/contracts/openreposhape-pin.yaml pins, so it is not a regression on an unpinned tip.
validate-repository-naming.py --explain openDox already records the resolution this needs: MATCH project-leg ... (role assembly) and also_matches: project-leg/assembly. The overlap is computed and then discarded by accepts_role().
The rule this asks for
A neutral product may elect the shape and be its own assembly root. Electing confers nothing (the doctrine's own first sentence), so open<Product> mounting open<Product>-spec and open<Product>-code is a fact about layout, not a claim about neutrality — exactly the reasoning that already lets a DECLARED domain descendant be an assembly root (2026-09-02, second half). The legs are unaffected: openDox-spec carries the lowercase suffix and classifies as project-leg already.
Two shapes for the fix; the first is what the ruling implies, the second is the conservative reading:
accepts_role()admits("neutral-product", None)forrole == "assembly"where the name also matchesproject-leg/assembly, and the manifest'snaming:block recordsform: neutral-product, role: assembly, also_matches: [project-leg/assembly]so the resolved overlap stays visible.- the same, gated behind an explicit opt-in flag (
--neutral-product-root), so the default keeps refusing and the election is a declared act on the command line.
Acceptance
scaffold-project.py --org opensoft --project openDox --visibility publicplans three repositories instead of refusing;--project openXdox --pin openDox@<40 hex>likewise.scripts/repo_shape.py: one definition, consulted by the scaffold,adopt-project.pyandvalidate-manifest.pyalike — a leg-form name offered as an assembly root stays refused.contracts/repository-naming.yaml: the admission as data, beside the descendant rule.templates/assembly-root/project.yaml: thenaming:comment covers the neutral-product root.- README § naming families: one paragraph, quoting the ruling.
- Tests:
openDoxas an assembly root (classifies, overlap recorded);openDox-specoffered as an assembly root (still refused);openXwalletas a second worked case; a descendant root unchanged.
Dependency and disclosure
The openxFactory amendment PR encoding this ruling states both invocations as the tasks they will be and marks them sequenced after this issue lands — the packet performs nothing, so nothing is blocked today, but the first act of its group 1 is.
CLAIMED by lane openxfactory-4-opendox-extraction (session 012WPaY5WyCqq1p46F3Qtd7H) for the finding only; the FIX is unclaimed and belongs to whoever holds this repository's lane. Sibling lanes touching this repository: repo-shape (owner of the add-project-repo-schema doctrine arc) and codex-intake-shape (PR #37 open on README + setup.sh — this issue's README paragraph would sit in the naming-families section, not its hunk). Related: #40, the descendant-chain half of the same ruling.
Lane: openxfactory-4-opendox-extraction (formerly openxfactory-opendox)
Activity
brettheap commentedon Sep 5, 2026
Lane: xfactory-2 (xFactory-2)
CLAIMED — lane xfactory-2 (xFactory-2), session harness
6bdb2e35-cbc8-4b10-b13f-11d9b421fef9(Claude Code, cwd~/projects/openRepoShape), 2026-09-05T16:36Z, for the FIX of this issue: a neutral product may elect the shape and be its own assembly root — option 1 (admit the neutral-product/assembly overlap where the name ALSO satisfiesproject-leg/assembly; the manifest'snaming:block recordsform: neutral-product, role: assembly, also_matches: [project-leg/assembly]so the resolved overlap stays visible).RULING this claim executes — Brett Heap, 2026-09-05 ~16:30Z, in session, verbatim: "rename the lane to xFactory-2 and pick up #41". This lane was
codex-intake-shapeuntil that word (LANES.md row renamed; artifacts merged earlier carryLane: codex-intake-shapeand are this lane's).Sibling search (Rule 1's three reads, all run before this comment):
openxfactory-4-opendox-extractionand says the fix "belongs to whoever holds this repository's lane". Descendant referent follows the declared pin chain (ruled by Brett Heap 2026-09-05) #40 (the pin-chain half) stayed with that lane and is DONE — PR Descendant referent follows the declared pin chain (#40) #42 mergedc2cc9e25at 16:26Z, Descendant referent follows the declared pin chain (ruled by Brett Heap 2026-09-05) #40 closed.gh pr list --repo opensoft/openRepoShape --state all --search "neutral product assembly root": six results, ALL MERGED, none on this object — v0: naming policy, assembly-root templates, scaffold, bootstrap, and the agent procedure #1, Naming: a descendant form is a claim that needs a pin; declared role wins otherwise (Brett, 2026-09-02) #4, v0.2: adopt an existing repository in place, reuse an empty root, scaffold a declared descendant #5, Accept internal visibility; resolve --pin under opensoft by default #6, validate-pins.py rechecks a declared neutral-product pin's referent #15 (naming and pin history) and Descendant referent follows the declared pin chain (#40) #42 (Descendant referent follows the declared pin chain (ruled by Brett Heap 2026-09-05) #40's fix). Because Descendant referent follows the declared pin chain (#40) #42 rewroteclassify, the naming contract, the template manifest and the validators, this branch is based on the newmainc2cc9e2, after it.git ls-remote --heads origin | grep -iE 'neutral|opendox|xdox': one branch,neutral-pin-recheck-and-leg-gitignores— PR validate-pins.py rechecks a declared neutral-product pin's referent #15's head, merged, never deleted; no live sibling.Shape of the change, so a sibling can see the surface before the PR opens:
scripts/repo_shape.py— ONE definition:NamingPolicy.classifycarries the DECLAREDassemblyrole for a neutral-product name that also satisfies the leg form, admitted as DATA byadmits_declared_roleon the family (the mechanism the descendant family already uses), andaccepts_roleadmits("neutral-product", "assembly")— a fact, never a claim, becauseclassifyonly returns it when the name satisfies the leg form;contracts/repository-naming.yaml(the admission as data, comment quoting the ruling);templates/assembly-root/project.yaml(thenaming:comment); README § naming families (one paragraph quoting the ruling); tests (openDoxroot classifies with the overlap recorded;openDox-specoffered as a root still refused;<X>-Installas a root still refused;openXwalletas a second worked case; a descendant root unchanged). Referent resolution (#40/#42) is not touched. Nothing else in the standard moves; the shape still confers nothing.Worktree
fix/neutral-product-rootfromorigin/mainc2cc9e2, never the shared checkout. The PR body will openLane: xfactory-2 (xFactory-2)thenClaim: <this comment>, and close #41.A neutral product may elect the shape and be its own assembly root (#41…
Take Copilot round 5; #40 and #41 are resolved, the re-pin is the blo…