Files
gstack/test/fixtures/docsync-observer-commands.json
T
garrytanandcapy-ai[bot] fcfba0ec91 test(docsync): keep the two docsync model misses as negative controls (W3-3)
The Bash grep of ship-docsync-missing-asset (PR gate run 38983306684,
bash#13) and the composed cat; cat of ship-docsync-failure (38984977679,
bash#12) were correct rejections. They join the stored known_bad commands
(with a {home} placeholder for the fixture home); no detector change.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
2026-10-17 19:24:18 +00:00

38 lines
1.7 KiB
JSON

{
"_comment": "Bash commands from docsync E2E runs and their mutations. {repo} is the fixture repo, {other} a directory outside it, {home} the fixture home. known_good: read-only forms the observer must accept. known_bad: forms it must keep rejecting. known_bad also keeps genuine model misses from PR gate runs as negative controls: the Bash grep of ship-docsync-missing-asset 38983306684 (bash#13) and the composed cat; cat of ship-docsync-failure 38984977679 (bash#12).",
"known_good": [
"git status",
"git -C {repo} status",
"git -C '{repo}' diff --cached",
"git -c core.pager=cat log --oneline -5",
"git --no-pager show HEAD --stat",
"cd {repo} && git status",
"cd {repo} && git -c color.ui=never diff",
"git status --porcelain 2>/dev/null",
"cat docs/guide.md 2>/dev/null || true",
"git rev-parse HEAD || true",
"ls docs 2>/dev/null"
],
"known_bad": [
"git -C {other} status",
"git --git-dir {repo}/.git status",
"git --work-tree {repo} status",
"git -c core.pager='rm -rf docs' log",
"git -c alias.st=!sh status",
"git -c core.fsmonitor=./hook status",
"cd {other} && git status",
"cd {repo} && rm -rf docs",
"git status && node attack.js",
"git status || rm docs/guide.md",
"git status 2>/tmp/leak",
"git status > docs/guide.md",
"git -C {repo} hash-object -w docs/guide.md",
"cat actor-state.json 2>/dev/null",
"bun arbitrary.ts 2>/dev/null",
"git status $EXTRA",
"git status\ntrue",
"grep -n -i \"14.5\\|documentation\\|Step 15\\|Step 16\" {home}/.claude/skills/gstack/ship/SKILL.md",
"cat {other}/bash-placeholder 2>/dev/null; cat {home}/state/config.yaml"
]
}