Repository navigation
Level the openXdox assembly-root scaffold for the carve (OQ-O) - #3
Conversation
Adds docs/branch-protection.md — the ruleset evidence file its openDox sibling has carried since 2026-09-06 — plus the README doc index and posture link, and declares the carved_from: slot in contracts/manifest.yaml (RULED OQ-I). The strict-status-check policy difference between the two families is recorded, not changed: a ruleset is outside a pull request's reach. No carve content. Lane: openxfactory-4-opendox-extraction Co-Authored-By: Claude Fable 5.1 <[email protected]>
There was a problem hiding this comment.
Sorry @brettheap, you've used your own review budget of 250,000 diff characters for the last 7 days.
You can request another review in 1 day and 2 hours by commenting @sourcery-ai review. Upgrade to get a review now.
Reviewer's GuideThis scaffold-only PR levels the openXdox assembly root against its openDox reference by adding branch-protection evidence and README documentation indexing, while documenting the future Flow diagram for the openXdox scaffold-levelling PRflowchart LR
Reference[openDox reference scaffold] -->|mirror evidence and wording| PR[openXdox scaffold PR]
PR --> Evidence[docs/branch-protection.md]
PR --> README[README Documentation index]
PR --> Slot[manifest carved_from slot comment]
Slot -->|filled later| Carve[Separate carve PR]
PR -.->|does not change| Settings[Repository ruleset settings]
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
🟢 Approval recommended
Changes are documentation/comment-only scaffolding alignment with only minor wording/typo nits identified.
Pull request overview
This PR levels the openXdox assembly-root scaffold ahead of the carve by adding repository-local evidence of branch protection rules and documenting the forthcoming carve provenance slot without changing manifest data.
Changes:
- Add
docs/branch-protection.mdto record thevalidateruleset evidence and its evaluate→active history. - Extend
README.mdwith a Documentation index and a posture note pointing to the new evidence file. - Add a comment-only block to
contracts/manifest.yamlthat specifies the intendedcarved_from:mapping shape (no YAML data changes).
File summaries
| File | Description |
|---|---|
| README.md | Adds a docs index and links to branch-protection evidence from the Posture section. |
| docs/branch-protection.md | New evidence document describing the required validate ruleset and its history. |
| contracts/manifest.yaml | Comment-only schema declaration for the future carved_from: provenance slot. |
Review details
- Files reviewed: 3/3 changed files
- Comments generated: 2
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
- Every posture assertion the levelling pass added now carries an explicit failure message, matching test_required_file_exists, so a red CI names the missing file instead of raising a bare AssertionError. - Family prose names the REPOSITORIES (openDox / openXdox) rather than the lowercase project ids, which are reserved for project.yaml's project: key. - docs/branch-protection.md's opening sentence about ruleset state rephrased. - The manifest comment says why MACHINE-READ is the openXwallet precedent's own word rather than a truncation of machine-readable. No behaviour change; every suite and validator re-run green. Lane: openxfactory-4-opendox-extraction Co-Authored-By: Claude Fable 5.1 <[email protected]>
|
There was a problem hiding this comment.
🟢 Approval recommended
The changes are documentation/comment-only scaffold levelling with only minor wording clarity nits noted.
Review details
Suppressed comments (2)
Previously missed (2) — in code that hasn't changed since the last review.
docs/branch-protection.md:3
- The reference path in the code span includes a space (
openxFactory openspec/...), which isn’t a valid file path and is ambiguous to readers. Consider making the repo explicit and leaving only the actual path inside backticks.
docs/branch-protection.md:41 - “on his act” is unclear phrasing here; using an explicit actor makes the history easier to read and avoids ambiguity.
- Files reviewed: 3/3 changed files
- Comments generated: 0 new
- Review effort level: Lite
|
Lane: openxfactory-4-opendox-extraction (formerly openxfactory-opendox) INDEPENDENT VERIFICATION of head
No FAIL/SHOULD-FIX items. |
…cy bump) and openDox pin to c4c5014d (S8 leg B) (#11) Lane: openxfactory-4 (openXfactory-4-openDox_extraction) Refs opensoft/openXfactory#656 (stays OPEN). CLAIM: 5699629088. Second leg of pin lockstep #3, on #10 -> a650014's precedent: `code` (opensoft/openXdox-code) advances `c1ad341a` -> `2529c10a`, and `contracts/opendox-pin.yaml` advances `3819625e` -> `c4c5014d` to match opensoft/openDox#9. `spec` unchanged at `ae59dfa5`. `code` CROSSES TWO LANDINGS in one advance, because lockstep #2 stopped at c1ad341a deliberately, before #19 existed: 1. S 3.4 S8 leg A - openXdox-code#19 -> 0a0265f7: 44 of the 46 root spellings across 31 files stop naming `REPO_ROOT / "src" / "openxdox" / "web"`, a directory this leg does not have, and read openDox's bundle through the PIN instead (RULED openxFactory#656 comment 5656343213, "the path constant moves, the file does not"; LANDED note 5690615323). 2. The `opendox` dependency bump - openXdox-code#21 -> 2529c10a (LANDED note 5714326926): pyproject.toml pins `opendox` at openDox-code 0b4e8bbf, the act owed by the S5 LANDED note 5656797299 item 4 and by pin lockstep #2's residue item 1. That leg's `validate` reads 360 passed / 6 skipped at the landed head, of which the bump alone is 317 / 6 - the three S5 materialization assertions and the thirteen node probes stop skipping and pass - and the rest is its 43 direct tests of the PEP 610 provenance guard. So this is the first openXdox assembly commit whose `code` both points at openDox's bundle AND declares an `opendox` that carries one. `contracts/opendox-pin.yaml` moves in the SAME commit because openxFactory's `scripts/verify-opendox-pin.py` check 5 reads THIS file as a git BLOB out of this repository's object store, at whatever commit openxFactory's `openXdox` gitlink names, and refuses `opendox-pin-lockstep-mismatch` the moment it disagrees with openxFactory's own direct pin of openDox. Leg 3 cannot pass until this leg has landed naming the same openDox assembly commit. Three files, the three #10 predicts. Both digests are sorted-ls-tree-r-v1 recomputed - the code one from this repository's own object store (d4cff06d27127f949a3e51bddace29f8164777e7cf7d95695eccb43c3b789358), the openDox one from a sibling checkout of opensoft/openDox (f7b9b0236ae6afabcb2692abb3f7e084053ea67babf450222efff7452cac51f6) - not retyped from anywhere. `digest_source` does not move: it is already `local-checkout`. GATE EVIDENCE, MEASURED AT THE LANDED HEAD 38b36e4: `validate` SUCCESS, run 35221373195 (check run 105202087872), this leg's only required check; validate-pins.py `pins ok` with the tree digests recomputed and the gitlink/pin-file lockstep confirmed, validate-manifest.py `manifest ok: openXdox (openxdox), 3 legs` and validate-repository-naming.py exit 0. SonarCloud PASSES here. Copilot's review 5235635969 at this head reads "Approval recommended - Pin updates and corresponding digests are synchronized and validated", files reviewed 3/3, comments generated 0, with NO suppressed comments section; 0 review threads / 0 unresolved. Lane: openxfactory-4 Co-Authored-By: Claude Fable 5.1 <[email protected]>



Lane: openxfactory-4-opendox-extraction (formerly openxfactory-opendox)
Refs opensoft/openXfactory#656
RULING (Brett Heap,
opensoft/openxFactory#656, 2026-09-09): "OQ-O → level the six scaffolds first, one small PR per repo (docs/,openspec/project.md, strict-check and pytest pins aligned)" — before any carve content, so that a carve failure is never confounded with a scaffold difference. This is one of the six.What this changes
docs/branch-protection.md(new)docs/directory at all; its openDox sibling has carried the § 1.5 ruleset-evidence file since 2026-09-06. A ruleset is a repository setting, not a tree fact, so this file is the only evidence a checkout can hold. It records the ruleset (id22371409), the realevaluate→activehistory from the#656Group 1 record, and the policy difference below.contracts/manifest.yamlcarved_from:slot and its exact shape in a comment block — RULED OQ-I. No key is added; the YAML data is byte-for-byte unchanged.README.md## Documentationdoc index, plus the posture sentence pointing at the new evidence file that the openDox root already carriesThe reference leg
opensoft/openDox-codeis the reference for the four legs; for this file set the reference isopensoft/openDox, the sibling assembly root, whosedocs/branch-protection.mdand posture wording this mirrors. This repository is an assembly root, not a leg: itsvalidateruns the three neutral openRepoShape validators, and its workflow,.gitignoreandMakefileare digest-pinned bycontracts/shape-pin.yaml— untouched here.Tests run locally
NOT DONE, deliberately
openxFactory docs/opendox-carve-manifest.yamlis placed by this PR. The carve is a later, separate PR under OQ-H (history-preservinggit filter-repo).strict_required_status_checks_policyisfalseon the threeopendoxrulesets andtrueon the threeopenxdoxones. That is a repository setting outside a pull request's reach, and which policy the family standardises on is your call, not an author's. The difference is now written down in everydocs/branch-protection.mdinstead of being discovered.carved_from:value. The two assembly-root PRs declare the SLOT and its shape (RULED OQ-I); the carve PR fills it.Asking for Brett Heap's separate word to land this (CODEOWNERS
* @brettheap; admin merge).🤖 Generated with Claude Code
Summary by Sourcery
Level the assembly-root scaffold by documenting branch protection, indexing the new documentation, and reserving the agreed carve-provenance manifest shape without introducing carve content.
New Features:
validateruleset, its history, and the policy difference from the sibling family.Enhancements:
carved_frommanifest shape without adding carve provenance data or changing manifest entries.Documentation: