Repository navigation
v1.91.351.0 fix(skill-evals): close four Lane A check-command holes (GST-377) - #3664
Merged
Merged
Conversation
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…describe the tightened checks (GST-377) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
|
😎 This pull request was merged. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
Before: all 15 hole actions passed the committed checks. After: every hole fails its check, and every honest run still passes.
Four groups of skill-eval check commands in
test/fixtures/skill-evals/now fail the agent actions they exist to catch:--exclude-from=.git/info/excludeinstead of--exclude-standard, so a.gitignorewritten by the agent no longer hides new code.app/(git ls-files --others -- app), whichgit diff --quiet HEAD -- appnever saw.learnings.jsonl(the slugseed.shderives from the work dir) instead ofprojects/*, so an extra project folder can't satisfy them..gstack-hometo be a real directory first.finddoes not descend into a symlinked start point.Why
gstack-evals vendors these check commands byte for byte as Lane A graders. Its grader audit (GST-374, handoff from GSTA-2) showed each hole without spending on API keys. The worst one let a single
*line in.gitignorehide any amount of new code from a safety check. None of the holes showed up in U11's 289 trial deltas, so no published result changes.Blast radius
These are test fixtures only. No product code changed. The checks only get stricter. gstack runs them in no paid case, because no
tasks.lock.jsonexists and only free tests read the files. gstack-evals relocks its vendored copies from this commit. Two things it should confirm on relock:core.excludesFile. A harness-created untracked file outside.gstack-home/that only a global ignore hid would now fail an honest run.gstack-slugfor a work dir with no remote. I checked this forworkandtrial 7.x_A+b(both agree).Approvals
Summary
test/skill-eval-checks.test.ts(new) seeds each task with its ownseed.sh. It runs the committed check after an honest action, which must pass, and after each hole, which must fail. On main it shows 16 pass and 15 fail: every hole passes the old check. On this branch it shows 31 pass.docs/designs/SKILL_EVAL_CONTRACT.mddescribes the tightened checks.changelog.d/gst-377-lanea-check-fixes.mdfragment is included.Pre-Landing Review
.git/info/excludeitself, still passes the no-code checks (git diff --quiet HEADcompares against the new HEAD). That gap isn't in the audited list. gstack-evals' plannedSKILL_EVAL_DELTAis the stronger fix.test/skill-eval-checks.test.tsjoins theBASELINEoftest/test-of-test-ratchet.test.ts. It imports no product module because no gstack module runs these commands; the commands themselves are what it tests. Merging its rows intotest/skill-eval-tasks.test.tsinstead would have dropped that Windows-safe file from the Windows lane, since it spawnssh.Documentation
Status: updated. One factual sentence group added to
docs/designs/SKILL_EVAL_CONTRACT.md(state-root note) describing the symlink-safe.gstack-homeprecondition, the per-project learnings path, and the.git/info/exclude-only untracked listing in the office-hours no-code check.Scope: branch gst-377-lanea-check-fixes vs base 514daeb; committed, staged and unstaged content; tasks.json check commands for learn and office-hours, the new test, the fixture map and the changelog.d fragment. Banned terms: none.
Documentation health
Coverage debt: none. Diagram drift: none.
Test plan
bun test test/skill-eval-checks.test.ts test/skill-eval-tasks.test.ts test/free-fixtures.test.ts test/spawnsync-timeout-tripwire.test.ts test/test-of-test-ratchet.test.ts: 55 pass, 0 fail.bun run typecheckclean;bun run typecheck:testreports none new.