Repository navigation
Commit 160c457
chore(governance): commit main branch protection ruleset + document policy
GitHub repository rulesets are gated by plan tier: free for public repos
and for paid private repos, blocked on the free plan + private. Until
the repo flips public (or the org upgrades), the rules below are
documented and enforced socially. Once the gate lifts, applying them
takes one command:
gh api -X POST /repos/ai-driven-dev/aidd-framework/rulesets \
--input .github/rulesets/main.json
Rules:
- direct push, force-push, and deletion of main forbidden
- pull request required, with at least one approving review and
unresolved threads blocking merge
- required status checks: 'lefthook (framework-local checks)' from
validate.yml + 'Commitlint' from ci.yml
The validate workflow runs every framework-local lefthook hook
(json-validity + schema validation, yaml-validity, skill-frontmatter,
evals-validity, summarize-plugin-catalogs) against the full tree, so
this single check is sufficient to gate the doc / config integrity
surface.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 6e10a3b commit 160c457
2 files changed
Lines changed: 52 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
50 | 67 | | |
51 | 68 | | |
52 | 69 | | |
| |||
0 commit comments