Repository navigation
Bootstrap posture, contracts skeleton and lockstep leg bumps - #1
Conversation
…RS, CONTRIBUTING, CODE_OF_CONDUCT, contract manifest/changelog Adds the day-one posture for the openDox PROJECT (all three repositories), per openxFactory openspec/changes/split-opendox-two-layer-product/tasks.md § 1.3-1.5: the Apache-2.0 LICENSE text, a SECURITY.md pointing reporters at GitHub's private vulnerability-reporting form, .github/CODEOWNERS routing review to @brettheap, CONTRIBUTING.md (issues on the root, pull requests to the leg that owns the change, lockstep pins move only by scripts/bump-leg.py, Apache-2.0 inbound=outbound), and CODE_OF_CONDUCT.md (Contributor Covenant v2.1). Also adds contracts/manifest.yaml (contract_bundle_version: none — no bundle released yet) and contracts/CHANGELOG.md recording the bootstrap. README gains a Posture section. Lane: openxfactory-4-opendox-extraction Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_011HB5MkaME9RsTPctRtYQ4a
beba24d45a74 -> 11480bbe56d2, tree a931d8d3730d21247f598154d6adf4f385b67a969fa4c39bd8ae5f8bbe2414ca. No workflow reference names this leg, so the gitlink and the pin file are the whole of it. The gitlink at spec, `commit:` and `digests.tree_sha256` in contracts/spec-pin.yaml, and every workflow reference to opensoft/openDox-spec move in ONE commit because `scripts/validate-pins.py` refuses when they disagree — a gitlink advanced alone is red on the next pull request, and on somebody else's change. Written by openRepoShape's `scripts/bump-leg.py`; the digest is recomputed from the leg's own objects, not adjusted.
4e278d3619c2 -> aaef00182120, tree 9606a1d69e859e7c7a408ab3d48f1a187d74e86bf282a3c3a81510834f90c61a. No workflow reference names this leg, so the gitlink and the pin file are the whole of it. The gitlink at code, `commit:` and `digests.tree_sha256` in contracts/code-pin.yaml, and every workflow reference to opensoft/openDox-code move in ONE commit because `scripts/validate-pins.py` refuses when they disagree — a gitlink advanced alone is red on the next pull request, and on somebody else's change. Written by openRepoShape's `scripts/bump-leg.py`; the digest is recomputed from the leg's own objects, not adjusted.
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 12 hours and 4 minutes by commenting @sourcery-ai review. Upgrade to get a review now.
Reviewer's GuideBootstraps openDox’s shared governance, security, licensing, and contracts posture, then updates both leg gitlinks and contract pins together to the corresponding bootstrap-posture commits with refreshed tree digests and validation. Flow diagram for openDox contribution routingflowchart TD
Contributor["Contributor"] --> Issue["Issue"]
Contributor --> PR["Pull request"]
Issue --> Root["Assembly root\nopensoft/openDox"]
PR -->|requirements or acceptance criteria| Spec["openDox-spec"]
PR -->|implementation and tests| Code["openDox-code"]
PR -->|posture, manifest, or pins| Root
Root --> Gate["Required validation gate"]
Spec --> Gate
Code --> Gate
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
🟡 Changes recommended
There is a concrete inconsistency between CONTRIBUTING.md and CODE_OF_CONDUCT.md about whether Code of Conduct violations should be reported publicly vs privately.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Pull request overview
This PR bootstraps the openDox assembly repository’s “day-one” posture (license, security, conduct, contributing guidance) and adds the initial contracts skeleton while updating both leg pins (spec/code) to their bootstrap baseline commits and digests.
Changes:
- Add core repository posture documents (LICENSE, SECURITY policy, Code of Conduct, contribution guidance, CODEOWNERS) and link them from README.
- Introduce an initial contracts manifest + contracts changelog representing an unreleased contract state.
- Bump spec/code leg pin files to new commit SHAs and corresponding tree digests.
File summaries
| File | Description |
|---|---|
| SECURITY.md | Adds private vulnerability reporting policy scoped to the assembly repo. |
| README.md | Adds “Posture” section linking the repo’s core policy documents. |
| LICENSE | Adds Apache-2.0 license text. |
| CONTRIBUTING.md | Documents cross-repo contribution workflow and lockstep pin invariant. |
| contracts/spec-pin.yaml | Updates spec leg commit pin + tree digest. |
| contracts/code-pin.yaml | Updates code leg commit pin + tree digest. |
| contracts/manifest.yaml | Adds initial (empty) contract manifest with unreleased state. |
| contracts/CHANGELOG.md | Adds initial contracts changelog noting bootstrap state. |
| CODE_OF_CONDUCT.md | Adds Contributor Covenant v2.1 adapted CoC text. |
| .github/CODEOWNERS | Adds repository-wide codeowner routing. |
Review details
- Files reviewed: 12/12 changed files
- Comments generated: 1
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| Instances of abusive, harassing, or otherwise unacceptable behavior may be | ||
| reported to the community leaders responsible for enforcement via the | ||
| maintainers, either publicly through an issue on the assembly root's issue | ||
| tracker, [`opensoft/openDox`](https://github.com/opensoft/openDox/issues), or | ||
| privately through the path this project's [SECURITY.md](SECURITY.md) | ||
| describes. All complaints will be reviewed and investigated promptly and | ||
| fairly. |
There was a problem hiding this comment.
Fixed in 787fa30: dropped the public-issue option in CODE_OF_CONDUCT.md, so it agrees with CONTRIBUTING.md -- report privately, through SECURITY.md's path, always.
…NG.md on reporting CONTRIBUTING.md already says a Code of Conduct violation is reported the same way a vulnerability is -- privately, never as a public issue -- but CODE_OF_CONDUCT.md still offered a public-issue option too. Drops that option so the two posture documents send a reporter down one channel, not two. Lane: openxfactory-4-opendox-extraction Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_011HB5MkaME9RsTPctRtYQ4a
There was a problem hiding this comment.
🟢 Approval recommended
The changes are internally consistent, the pin updates preserve the documented lockstep invariant, and the added posture/contracts files align with the stated bootstrap scope.
Review details
- Files reviewed: 12/12 changed files
- Comments generated: 0 new
- Review effort level: Lite
…#2) * Bump spec leg to 60e546c69963 in openDox 11480bbe56d2 -> 60e546c69963, tree a1218f8e96868f62be32dd064032ea66eef3689b2a40aa3c9e9f8d882abadec6. No workflow reference names this leg, so the gitlink and the pin file are the whole of it. The gitlink at spec, `commit:` and `digests.tree_sha256` in contracts/spec-pin.yaml, and every workflow reference to opensoft/openDox-spec move in ONE commit because `scripts/validate-pins.py` refuses when they disagree — a gitlink advanced alone is red on the next pull request, and on somebody else's change. Written by openRepoShape's `scripts/bump-leg.py`; the digest is recomputed from the leg's own objects, not adjusted. * Bump code leg to 580f61dff7e6 in openDox aaef00182120 -> 580f61dff7e6, tree 0200b00eba62958b272b6d3af08ca3be3aff34ab5e95eb5afaef23b4b2d06688. No workflow reference names this leg, so the gitlink and the pin file are the whole of it. The gitlink at code, `commit:` and `digests.tree_sha256` in contracts/code-pin.yaml, and every workflow reference to opensoft/openDox-code move in ONE commit because `scripts/validate-pins.py` refuses when they disagree — a gitlink advanced alone is red on the next pull request, and on somebody else's change. Written by openRepoShape's `scripts/bump-leg.py`; the digest is recomputed from the leg's own objects, not adjusted. * Enforce validate as a required status check (closes 1.5) tasks.md item 1.5 was never done in PR #1: no repository ruleset or branch protection named the `validate` check as required in this repository or either leg, so nothing actually gated a merge on it passing (the two org-wide rulesets only require a PR and a Copilot review). This adds a repository-level ruleset (id 22364975) requiring the `validate` status check on `main`, created in EVALUATE mode ahead of this PR and promoted to ACTIVE once `validate` reported on this PR's own head commit -- see docs/branch-protection.md for the full evidence line, including pointers to the same fix already landed and documented in both legs. Lane: openxfactory-4-opendox-extraction Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_011HB5MkaME9RsTPctRtYQ4a --------- Co-authored-by: openRepoShape bump-leg <[email protected]> Co-authored-by: Claude Fable 5.1 <[email protected]>
…arameterized) (#8) Lane: openxfactory-4 (openXfactory-4-openDox_extraction) Refs opensoft/openXfactory#656 (stays OPEN). CLAIM: 5656720756. First leg of pin lockstep #2, on pin lockstep #1's precedent (#7 -> 7cf6c14): `code` (opensoft/openDox-code) advances `05bbde80` -> `1e469713`, carrying S 3.4 S5 leg B (opensoft/openDox-code#20 -> 8efb3cf5, the shell contributes the gate loop; RULED Q1-Q12) and S 3.4 S7 (opensoft/openDox-code#21 -> 1e469713, class C parameterized plus the four arrived Act-1 suites). `spec` unchanged at `a8f5eb73`. Two files, the two #7 predicts; the digest is sorted-ls-tree-r-v1 recomputed from the submodule's own object store, not retyped. Gate evidence: `validate` SUCCESS at `f4e89880b237291790eb8e40ec9499df47893b01` (base confirmed `main`); `scripts/validate-pins.py` recomputes the tree digest and confirms gitlink/pin-file lockstep (`pins ok`); `validate-manifest.py` and `validate-repository-naming.py` also pass; 0 review thread(s), 0 unresolved. Lane: openxfactory-4 Co-Authored-By: Claude Fable 5.1 <[email protected]>
Lane: openxfactory-4-opendox-extraction (formerly openxfactory-opendox)
Adds the openDox project's day-one posture and its contracts skeleton, per
openxFactory's
openspec/changes/split-opendox-two-layer-product/tasks.md§ 1.3-1.4, and re-pins both legs to the commits their own bootstrap-posture
PRs landed at:
LICENSE(Apache-2.0),SECURITY.md(private vulnerability reporting,enabled via the API),
.github/CODEOWNERS(@brettheap) — matching whateach leg already carries.
CONTRIBUTING.md— how to contribute to the openDox PROJECT across allthree repositories: issues on this root, pull requests to the leg that
owns the change, the lockstep pins moved only by
scripts/bump-leg.py,Apache-2.0 inbound=outbound.
CODE_OF_CONDUCT.md— Contributor Covenant v2.1.contracts/manifest.yaml(contract_bundle_version: none,entries: []— no contract bundle released yet) and
contracts/CHANGELOG.mdrecordingthe bootstrap.
scripts/bump-leg.pyinvocations (one per leg, run from anopenRepoShape checkout at the pinned commit
e9c4827b, pointed--rootat this checkout) move the spec leg's gitlink +
contracts/spec-pin.yamlto
opensoft/openDox-spec@11480bband the code leg's gitlink +contracts/code-pin.yamltoopensoft/openDox-code@aaef001— each ofthose the squash-merge commit of that leg's own bootstrap-posture PR.
scripts/validate-pins.pyandscripts/validate-manifest.py(thisroot's own copies) ran clean after each bump, before it committed.
python3 scripts/validate-repository-naming.py --project project.yaml,python3 scripts/validate-manifest.pyandpython3 scripts/validate-pins.pyall pass locally.
Refs opensoft/openXfactory#656
🤖 Generated with Claude Code
https://claude.ai/code/session_011HB5MkaME9RsTPctRtYQ4a
Summary by Sourcery
Establish the openDox project’s initial governance and contracts posture while aligning both repository legs to their bootstrap commits.
New Features:
Enhancements:
Documentation:
Chores:
Correction (added after merge): this PR's original body claimed "§ 1.3-1.5" compliance. That overstated the work -- item 1.5 (a branch-protection ruleset requiring the
validatecheck, EVALUATE then ACTIVE) was never done here or in either leg; no ruleset existed in any of the three repositories until the follow-up PRs (this repository's #2, and #2 in each leg), which close 1.5 and document the evidence in each repository'sdocs/branch-protection.md. This body is corrected to claim only § 1.3-1.4.