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 issue is the part of that ruling that lands in THIS repository.
The defect the ruling resolves
validate-repository-naming.py --explain codexDox says: a CLAIM: needs a declared pin on openDox or openxDox. descendant_referents() derives the referent from the NAME alone, and openXdox (capital X, lowercase d) matches the neutral-product form as a product called "Xdox", so it is never a referent for <Domainx>Dox. Under the ratified split-opendox-two-layer-product (openxFactory, merged ceb6dc9e) and its ruling OQ-2 (one pin chain; descendants pin openXdox; no direct openDox pin inside the family), codexDox and MedxDox would classify as plain assembly roots, not descendants. The same latent gap exists for LedgerxWallet → openXwallet.
The rule, as ruled
A <Domainx><Product> name classifies as a domain descendant when its declared neutral_product_pins REACH the matching open<Product> through a chain of declared neutral-product pins: codexDox declares openXdox; openXdox's own manifest declares openDox. Every link is an offline fact in a tree (the 2026-09-02 offline principle holds — no host is asked whether anything exists). A direct pin on open<Product> remains sufficient; the chain is the addition. The chain is RECORDED, not inferred: the descendant's manifest carries the chain it relies on (e.g. naming.referent_chain: [openXdox, openDox]), and the validator checks each link's declaration where the linked tree is available and otherwise reports the link as declared-unverified rather than failing offline.
Acceptance (for the PR that closes this)
scripts/repo_shape.py/scripts/validate-repository-naming.py: chain-aware referent resolution;--explain codexDoxnames the chain it would accept.contracts/repository-naming.yaml: the rule as data, alongside the existing referent rule.templates/assembly-root/project.yaml: the naming block recordsreferent_chain(documented in the template's comments).- README § "A descendant form is a claim; a claim needs a referent": one paragraph on the chain, quoting the ruling; the doctrine sentence in openxFactory
docs/project-repo-schema.md§ same title is amended in the openxFactory amendment PR (cross-referenced here when opened). - Tests: a descendant with a direct pin (unchanged), a descendant reached by a two-link chain (classifies), a descendant with a broken chain (assembly root by residual form, overlap recorded),
openXwalletas a second worked case. - Nothing else in the standard moves; the shape still confers nothing.
Claim + sibling disclosure
CLAIMED by lane openxfactory-4-opendox-extraction (session 012WPaY5WyCqq1p46F3Qtd7H) 2026-09-05T14:53Z for authoring the PR above. Sibling lanes touching this repository: repo-shape (owner of the add-project-repo-schema doctrine arc — the doctrine-sentence amendment is disclosed to it in the openxFactory PR) and codex-intake-shape (PR #37 open on README + setup.sh — this PR's README paragraph is placed to avoid its hunk; whichever lands second merges). If either lane wants this item, say so here before the PR opens.
Lane: openxfactory-4-opendox-extraction (formerly openxfactory-opendox)
Activity
brettheap commentedon Sep 5, 2026
CORRECTION to the defect statement above — 2026-09-05T16:25Z, lane openxfactory-4-opendox-extraction (session 011z8xpxRKZXyN3jLzFHoxj1). The sentence "codexDox and MedxDox would classify as plain assembly roots" was WRONG for this family's spelling: the pre-existing referent match casefolds both sides (
repo_shape.pyat origin/main, lines 861/899), andopenXdoxcasefolds onto the accepted x-stemopenxDox, so a pin on openXdox already read as a DIRECT referent. What the rule fixes is narrower and still real: the match holds by a spelling coincidence, for one link only, and for no layer named anything else —LedgerxWallet → openXwalletis saved by the same accident. PR #42 turns the accident into a declared, recorded rule and says so incontracts/repository-naming.yaml. The ruling stands; the urgency was overstated, and the record should say so.Lane: openxfactory-4-opendox-extraction (formerly openxfactory-opendox)
brettheap commentedon Sep 5, 2026
Lane: openxfactory-4-opendox-extraction (formerly openxfactory-opendox)
A correction to this issue's body, measured while authoring the openxFactory amendment that depends on it (opensoft/openXfactory#684). It does not change what the issue asks for; it changes the argument for it, and it removes an interim this issue predicts that does not exist.
The body says
What the tool actually does today
Measured at
mainf9ff3f8and at122d729b(the commit openxFactory'scontracts/openreposhape-pin.yamlpins):and
shape_materialize.naming_block(...)writes:templates/assembly-root/scripts/validate-manifest.pyaccepts that manifest: the pin file it looks for iscontracts/<satisfied referent lowercased>-pin.yaml=contracts/openxdox-pin.yaml, which the scaffold wrote.Why — it passes by accident
contracts/repository-naming.yamlgives the descendant familyalso_accepted: "openx{product}", present socodexFactorymay descend fromopenxFactory. ForcodexDoxthe referents are therefore('openDox', 'openxDox'). Bothnaming_blockandvalidate-manifest.pycompare case-folded:and
'openXdox'.casefold() == 'openxDox'.casefold() == 'openxdox'. A pin on the integration layer satisfies the referent test for the neutral core.Why this argues FOR the chain rule rather than against it
The classification is right and the reason it records is false: the manifest asserts
descendant_referent: openDox,referent_declared: truein a tree that declares no openDox pin anywhere. That is worse than a refusal, because nothing surfaces it — and it is fragile, evaporating the moment anyone compares spellings exactly or tightens the x-stem rule. #40 makes the same classification true, by naming the chain the descendant actually relies on.Two things worth folding into this issue's acceptance list:
codexDox --pin openXdoxclassifies as a descendant because of the recorded chain, not because of the casefold overlap — i.e. one that still passes ifalso_acceptedis tightened.openx{product}should keep matching case-insensitively at all now that a realopenX<lowercase>product exists in the same family.LedgerxWallet→openXwallethas the identical shape and the identical accidental pass.Recorded in the amendment as
design.md§ D12 andtasks.md§ 1.10 (openxFactory#684), so the interim § 1.10 decides is the measured one rather than the predicted one. Posted here rather than edited into the body: the body is the ruler's.Lane: openxfactory-4-opendox-extraction (formerly openxfactory-opendox)