Central, Claude-native governance for all projects of the owner (@t11z), across organizations and project types. This repository is its own specification: the files define the behaviour, ARCHITECTURE.md explains how they fit together and records the current decisions.
| Role | Responsible for | Not involved in |
|---|---|---|
| Owner | Releasing issues for implementation (po:ready), accepting user-visible features (candidate PR), cost decisions, approving external PRs, every change to this repository |
Coding, architecture, code review, merging, releasing |
| Claude (autonomous) | Triage, implementation, review, housekeeping, documentation, releasing fixes, rollback | Approvals, governance changes, deleting data that cannot be restored |
| Platform and CI (deterministic) | Enforcing every rule; the anchor of trust | — |
- Trust comes from the deterministic layer (tests, SAST, fuzzers, rulesets). Model reviews are the second line of defence, because Claude reviewing Claude has correlated errors.
- Everything checkable lives in hooks or CI; CLAUDE.md holds only what cannot be checked.
- Claude can neither change nor bypass its own guardrails.
- The owner only gates what is new and visible to users. Fixes, security and maintenance reach production without the owner.
- Text from strangers (issues, fork PRs, discussions) is data and never starts implementation by itself.
- Save tokens before models: deterministic pre-filters decide whether a model starts at all.
- Minimal prose for agents; the model gets freedom where its training carries good behaviour.
| Building block | Where in the project repo | Pinned by |
|---|---|---|
| Claude Code plugin (hooks, subagents, skills) | .claude/settings.json → extraKnownMarketplaces + enabledPlugins |
commit SHA in ref |
| Reusable workflows | thin callers in .github/workflows/ (copied from callers/) |
commit SHA in uses: |
| Project parameters | .governance/profile.yml |
— |
| Rulesets, labels | applied via gh api during onboarding |
— |
Project repos never contain governance logic, only references. Changes to governance happen exclusively in this repo, in sessions started by the owner.
For interactive use outside governed repos: /plugin install governance --marketplace nullthrone/governance.
.claude-plugin/marketplace.json plugin marketplace
plugins/governance/ plugin: hooks, agents, skills, templates
.github/workflows/ reusable workflows (on: workflow_call); self-*.yml run for this repo only
callers/ workflows installed into project repos (thin callers + scorecard.yml)
config/governance.json central parameters: owner, bots, organizations, model tiers, limits
prompts/ onboarding prompt, digest routine, prompts for Claude jobs (jobs/)
rulesets/ ruleset templates (main, next, release tags)
labels.yml label taxonomy
scripts/ governance-audit, detect-profile and helpers (Python, stdlib)
org-dotgithub/ content for each organization's .github repo
template-repo/ starting point for new projects
tests/ unit and consistency tests (python3 -m unittest discover -s tests)
docs/ MANUAL-STEPS.md
ARCHITECTURE.md layers, flows, boundaries, current decisions
Open owner actions (app, secrets, project token, trusted publishing, routines): docs/MANUAL-STEPS.md.
Run Claude Code locally in the target repo with the owner's gh login and give it prompts/onboard.md.
The onboarding ends only when scripts/governance_audit.py passes. New projects: python3 scripts/new_project.py ../my-tool --name my-tool.
python3 scripts/governance_audit.py --repo-dir . --repo OWNER/NAMEMIT