Commit 0f7c8be
committed
fix(checkpoints): GW-17 could never have run
The checkpoint runner rejects the pattern GW-17 shipped with. Measured by
sourcing is_safe_eval_command out of automated-assessment's
run-checkpoints.sh and calling it:
OLD: REJECTED — pattern contains command-chaining metacharacter (; && || ` $())
NEW: accepted
Two independent reasons, both fatal: the allowlist rejects `$(`, `;`,
`&&`, `||` and backticks outright, and a multi-line YAML scalar reaches
the runner as an EMPTY pattern ("checkpoint likely uses multi-line YAML
scalar; use single-line pattern"). A mechanical checkpoint that cannot
execute is the same defect this branch exists to remove, one layer up.
GW-17 is now single-line, HEAD-only, and free of chaining
metacharacters. `sed -n -e '/^$/q' -e p` is the semicolon-free spelling
of the header cut, so the message-body false positive stays closed —
verified against a commit whose body starts with `gpgsig`. The sweep over
several commits stays where a full shell is available:
verify-git-workflow.sh (last 10) and signing-preflight.sh. Mirroring
rather than reproducing is the arrangement skill-repo already documents
for SR-37.
The suite now asserts both allowlist constraints on the pattern, so the
next edit cannot reintroduce either.
Signed-off-by: Sebastian Mendel <github@sebastianmendel.de>1 parent 377ef58 commit 0f7c8be
2 files changed
Lines changed: 20 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
154 | 163 | | |
155 | 164 | | |
156 | | - | |
157 | | - | |
| 165 | + | |
158 | 166 | | |
159 | | - | |
| 167 | + | |
160 | 168 | | |
161 | 169 | | |
162 | 170 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
177 | | - | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
178 | 186 | | |
179 | 187 | | |
180 | 188 | | |
| |||
0 commit comments