Commit 76a53cd
authored
docs(security-config): soften aspirational MUSTs to align with init template (#79)
## Why
[PR #77](#77)
shipped `assets/branch-protection.json.template` with two deliberate
choices:
- `enforce_admins: false` — solo-maintainer Netresearch repos benefit
from admin-bypass in emergencies
- `required_signatures` omitted — Dependabot/Renovate bot PRs without
per-repo signing setup would otherwise be blocked
`references/security-config.md` was already in the repo with stricter
language:
| Line | Old | Conflict |
|---|---|---|
| ~98 | `enforce_admins` **MUST be `true`** | Template ships `false` |
| ~166 (table) | `required_signatures | true | Enforces GPG/SSH signed
commits` | Template omits the field |
Anyone reading the skill now would see the contradiction as either a
documentation bug or as license to "fix" their per-repo config (and
admin-bypass themselves out of an emergency-merge path).
## What changed
- `enforce_admins` section: switched from "MUST be `true`" to "SHOULD be
`true` on mature multi-maintainer repos as a hardening target". Added
explicit acknowledgement that the init script ships `false` as the
pragmatic baseline, plus the upgrade command + emergency-bypass
rationale.
- `required_signatures` table cell: now shows both states (target:
`true`; init: unset) with the bot-signing precondition and per-repo
upgrade trigger.
- The under-`enforce_admins` security-note callout now points at the
unresolved-threads operator-side safety valve for repos where the
admin-bypass IS the right choice.
## What did NOT change
- No template change. PR #77's `branch-protection.json.template` stays
as-is.
- No script change. The init flow + GH-31 checkpoint behaviour is
unchanged.
- No SKILL.md change. (Already at the 499-word ceiling; left it alone.)
## Test plan
- [x] Markdown lint will run via CI on push
- [x] Word count check: `wc -w skills/github-project/SKILL.md` = 499 (no
change; this PR only touches `security-config.md`)
- [ ] CI green
## Pre-merge gate
I'll run the unresolved-threads GraphQL check before merging — the hard
rule I just had to bake into memory after burning 3 PRs on the same
mistake.1 file changed
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
| 98 | + | |
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
| 104 | + | |
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
| 108 | + | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
| 111 | + | |
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
166 | | - | |
| 166 | + | |
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
| |||
0 commit comments