mirror of
https://github.com/garrytan/gstack.git
synced 2026-11-13 03:48:06 +01:00
- H6 (manual merge): TEST_COMMAND comes from CLAUDE.md or AGENTS.md; if neither documents one, ask the user instead of defaulting to 'bun test' (wrong for non-Bun projects and a bare suite run in gstack). The audit hunk's 'persist the answer to CLAUDE.md' write is not adopted: it adds a write the readiness gate never had. - H7: E2E and judge results are searched in the eval store the collector writes (~/.gstack/projects/<slug>/evals/ and its shards/*/ directories), then the legacy ~/.gstack-dev/evals/ fallback; the gate no longer reports 'no E2E tests run today' when results exist. test/state-root-ratchet.allowlist.json: allowlist the EVAL_DIR line with its reason (test/helpers/eval-store.ts writes under os.homedir()/.gstack, so the reader must use the same path, not $GSTACK_STATE_ROOT). Parity cap (test/helpers/carve-guards.ts): land-and-deploy maxSizeRatio 1.10 -> 1.108 (measured 1.1076 at the branch tip, including the W7f marker). expected red until the regeneration commit
14 lines
1.6 KiB
JSON
14 lines
1.6 KiB
JSON
[
|
|
{ "path": "test/", "match": "*", "reason": "tests build fixtures with explicit state roots on purpose" },
|
|
{ "path": "browse/test/", "match": "*", "reason": "tests build fixtures with explicit state roots on purpose" },
|
|
{ "path": "docs/", "match": "*", "reason": "docs and design records quote paths as illustrative prose" },
|
|
{ "path": "CHANGELOG.md", "match": "*", "reason": "release history quotes old and new chains as prose" },
|
|
{ "path": "TODOS.md", "match": "*", "reason": "backlog prose, never executed" },
|
|
{ "path": "lib/state-root.ts", "match": "*", "reason": "the TS owner of the chain" },
|
|
{ "path": "bin/gstack-state-root.sh", "match": "*", "reason": "the bash owner of the chain" },
|
|
{ "path": "careful/bin/check-careful.sh", "match": "_GSTACK_HOME_DIR=\"${GSTACK_HOME:-$HOME/.gstack}\"", "reason": "partial-upgrade fallback, reached only when an older hook-extract.sh lacks gstack_hook_state_root (legacy order kept on purpose)" },
|
|
{ "path": "gstack-upgrade/SKILL.md.tmpl", "match": "elif [ -d \"$HOME/.gstack/repos/gstack/.git\" ]; then", "reason": "the relocated gstack checkout is an install location, not state" },
|
|
{ "path": "gstack-upgrade/SKILL.md.tmpl", "match": "INSTALL_DIR=\"$HOME/.gstack/repos/gstack\"", "reason": "the relocated gstack checkout is an install location, not state" },
|
|
{ "path": "land-and-deploy/sections/readiness-gate.md.tmpl", "match": "EVAL_DIR=~/.gstack/projects/$SLUG/evals", "reason": "reads gstack's own eval store, which test/helpers/eval-store.ts getProjectEvalDir writes under os.homedir()/.gstack/projects/<slug>/evals regardless of GSTACK_HOME; the reader must match the writer" }
|
|
]
|