Commit 66209ef
committed
docs(memory): add 'direct push vs PR — strip-list test' standing rule
Captures tonight's realization that PRs shouldn't be the default
for dev-only file updates. The rule uses the strip_for_main.sh
strip list as the objective test: if every file in the change
is in the strip list (FLOW.md, MEMORY.md, .plans/*, etc.), direct
push is OK. Otherwise, PR required.
Rationale: PR merges create 'Merge pull request #N' commits in
the visible develop history that persist when the repo flips
public. Strip-target files are private dev state and don't
deserve that paper trail. Substantive code and CI-affecting
changes still need the full PR + CI + review treatment.
Admin bypass is the mechanism, not the policy.
Future: path-filter ci.yml so non-admins get the same fast path
on docs-only PRs — add as tech debt in a separate cycle.
Dogfooding the rule: this commit is dev-only (MEMORY.md is in
the strip list), so it direct-pushes to develop without a PR.1 parent 80b31e7 commit 66209ef
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
| 247 | + | |
247 | 248 | | |
248 | 249 | | |
249 | 250 | | |
| |||
0 commit comments