Skip to content

Bootstrap posture, contracts skeleton and lockstep leg bumps - #1

Merged
brettheap merged 4 commits into
mainfrom
chore/bootstrap-posture
Sep 6, 2026
Merged

brettheap merged 4 commits into
mainfrom
chore/bootstrap-posture

Conversation

@brettheap

@brettheap brettheap commented Sep 6, 2026 •

Copy link
Copy Markdown
Contributor

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 what
    each leg already carries.
  • CONTRIBUTING.md — how to contribute to the openDox PROJECT across all
    three 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.md recording
    the bootstrap.
  • README gains a Posture section linking all four.
  • Two scripts/bump-leg.py invocations (one per leg, run from an
    openRepoShape checkout at the pinned commit e9c4827b, pointed --root
    at this checkout) move the spec leg's gitlink + contracts/spec-pin.yaml
    to opensoft/openDox-spec@11480bb and the code leg's gitlink +
    contracts/code-pin.yaml to opensoft/openDox-code@aaef001 — each of
    those the squash-merge commit of that leg's own bootstrap-posture PR.
    scripts/validate-pins.py and scripts/validate-manifest.py (this
    root's own copies) ran clean after each bump, before it committed.

python3 scripts/validate-repository-naming.py --project project.yaml,
python3 scripts/validate-manifest.py and python3 scripts/validate-pins.py
all 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:

  • Add the openDox project’s shared licensing, contribution, conduct, and security posture across its repository structure.
  • Introduce the initial contracts manifest and changelog for the project’s unreleased contract bundle.

Enhancements:

  • Document the three-repository contribution model and lockstep pin workflow in the project README and contribution guide.

Documentation:

  • Add README links and guidance for the project’s posture and cross-repository workflows.

Chores:

  • Synchronize the spec and code repository pins with the bootstrap-posture commits and updated tree digests.

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 validate check, 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's docs/branch-protection.md. This body is corrected to claim only § 1.3-1.4.

brettheap and others added 3 commits September 5, 2026 21:47
…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.
Copilot AI lite review requested due to automatic review settings September 6, 2026 01:48

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@sourcery-ai

sourcery-ai Bot commented Sep 6, 2026

Copy link
Copy Markdown

Reviewer's Guide

Bootstraps 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 routing

flowchart 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
Loading

File-Level Changes

Change Details Files
Establish the project’s shared openDox governance and security posture.
  • Add Apache-2.0 licensing, private vulnerability-reporting guidance, CODEOWNERS, and Contributor Covenant v2.1.
  • Document issue and pull-request routing across the assembly, spec, and code repositories, plus contribution licensing and validation expectations.
  • Link the posture documents from the README.
LICENSE
SECURITY.md
.github/CODEOWNERS
CONTRIBUTING.md
CODE_OF_CONDUCT.md
README.md
Create the initial contracts metadata skeleton with an explicitly unreleased state.
  • Add a schema-versioned manifest for project opendox with contract_bundle_version: none and no entries.
  • Record the bootstrap and absence of a released contract bundle in the contracts changelog.
contracts/manifest.yaml
contracts/CHANGELOG.md
Re-pin both repository legs to the commits produced by their bootstrap-posture changes while preserving lockstep integrity.
  • Advance the spec gitlink and pin to 11480bb, including its tree digest.
  • Advance the code gitlink and pin to aaef001, including its tree digest.
  • Validate naming, manifest, and pin consistency after the updates.
spec
contracts/spec-pin.yaml
code
contracts/code-pin.yaml

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 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.

Comment thread CODE_OF_CONDUCT.md Outdated
Comment on lines +64 to +70
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.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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
Copilot AI review requested due to automatic review settings September 6, 2026 01:50
@brettheap
brettheap merged commit 1c82b42 into main Sep 6, 2026
3 checks passed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 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

brettheap added a commit that referenced this pull request Sep 6, 2026
…#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]>
brettheap added a commit that referenced this pull request Sep 15, 2026
…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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants