Skip to content

v1.91.351.0 fix(skill-evals): close four Lane A check-command holes (GST-377) - #3664

Merged
capy-ai[bot] merged 3 commits into
mainfrom
gst-377-lanea-check-fixes
Oct 31, 2026
Merged

capy-ai[bot] merged 3 commits into
mainfrom
gst-377-lanea-check-fixes

Conversation

@garrytan

@garrytan garrytan commented Oct 31, 2026 •

Copy link
Copy Markdown
Owner
{
  "schema_version": 1,
  "pr": 3664,
  "head": "d8a62080dfc41722ebf8daa20408149b1a71eb5f",
  "version": "1.91.346.0",
  "base": "main",
  "gate": {
    "focused": {
      "pass": 55,
      "fail": 0,
      "skip": 0
    },
    "remote_pregate": {
      "pass": 3687,
      "fail": 0,
      "skip": 0
    }
  },
  "session_kind": "unattended",
  "head_tree": "1df5a608d7cddf89afa5701d7130afbc337d68e1",
  "product_patch_id": "92bfa2bae2616a7f4b03f38798803dae96bad2e6",
  "gstack_version": "1.91.346.0",
  "review_depth": {
    "depth": "light",
    "class": "tests",
    "runtime_lines": 0,
    "rules": "55726fab80631072",
    "base": "03488f5cef84fe3ca610c21c9f3a19a5a468f160",
    "registry": "03488f5cef84fe3ca610c21c9f3a19a5a468f160",
    "gate_scan": {
      "tagged": 0,
      "head": "d8a62080dfc41722ebf8daa20408149b1a71eb5f"
    },
    "reasons": [
      "runtime=0<=50"
    ]
  },
  "pregate": "requires-remote cleared @1df5a608d7cd (7 checks, current for d8a62080dfc4)",
  "requires_remote": [
    "free-tests.yml/macos-named-regressions: https://github.com/garrytan/gstack/actions/runs/41162917030",
    "windows-free-tests.yml/windows-free-shard: https://github.com/garrytan/gstack/actions/runs/41162916998",
    "pregate.json/remote_gate: remote-gate tree=1df5a608d7cd tests=3687 receipt=/home/user/.gstack/projects/garrytan-gstack/pregate/runs/20261031T025808Z-69546-e01a/remote/remote.log sha256=972413e7e79a"
  ],
  "issues": {
    "fixes": [],
    "refs": [],
    "flakes": []
  },
  "docs": {
    "status": "updated",
    "scope": "docs/, README.md, CONTRIBUTING.md (SKILL_EVAL_CONTRACT.md updated)"
  },
  "review_loop": {
    "passes": 2,
    "blocking_found": 0,
    "deferred": 0,
    "noted": 0,
    "fixed": 0,
    "scope": "frozen"
  }
}

What changed

Lane A check commands vs the holes from GST-374

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:

  • office-hours/no-code-session lists untracked files with --exclude-from=.git/info/exclude instead of --exclude-standard, so a .gitignore written by the agent no longer hides new code.
  • learn/no-code-change also fails on new untracked files under app/ (git ls-files --others -- app), which git diff --quiet HEAD -- app never saw.
  • learn/add, prune-stale and prune-conflict read the seeded project's learnings.jsonl (the slug seed.sh derives from the work dir) instead of projects/*, so an extra project folder can't satisfy them.
  • The eight office-hours design-doc checks and backend-skips-visual require .gstack-home to be a real directory first. find does 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 .gitignore hide 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.json exists and only free tests read the files. gstack-evals relocks its vendored copies from this commit. Two things it should confirm on relock:

  • The no-code check no longer reads the caller's global core.excludesFile. A harness-created untracked file outside .gstack-home/ that only a global ignore hid would now fail an honest run.
  • The /learn slug expression matches gstack-slug for a work dir with no remote. I checked this for work and trial 7.x_A+b (both agree).

Approvals

  • Fix-lane exemption (Garry, 2026-10-30, "Do it" on GST-191): this is an already-diagnosed, audited problem list, so there is no plan gate. Merges go through GStack Minder's train (CREW rule 6).

Summary

  • test/skill-eval-checks.test.ts (new) seeds each task with its own seed.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.md describes the tightened checks.
  • The changelog.d/gst-377-lanea-check-fixes.md fragment is included.

Pre-Landing Review

  • Two passes, both light depth (0 runtime lines): no specialists, Red Team or outside voice, per the review plan. 0 blocking findings, 0 fixed.
  • Two informational notes were skipped as out of scope:
    • An agent that commits its code, or writes .git/info/exclude itself, still passes the no-code checks (git diff --quiet HEAD compares against the new HEAD). That gap isn't in the audited list. gstack-evals' planned SKILL_EVAL_DELTA is the stronger fix.
    • The global-excludes compatibility note under Blast radius.
  • Gate edits: none detected by the scan (15 listed, 13 read). One gate edit was added by hand: test/skill-eval-checks.test.ts joins the BASELINE of test/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 into test/skill-eval-tasks.test.ts instead would have dropped that Windows-safe file from the Windows lane, since it spawns sh.

Documentation

Status: updated. One factual sentence group added to docs/designs/SKILL_EVAL_CONTRACT.md (state-root note) describing the symlink-safe .gstack-home precondition, 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

  • docs/designs/SKILL_EVAL_CONTRACT.md: updated
  • docs/skills.md: current
  • write-skill/references/diet.md: current
  • CHANGELOG.md: not audited for edits (fragment in changelog.d)

Coverage debt: none. Diagram drift: none.

Test plan

  • Focused: 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.
  • Remote pregate (Ubicloud) at tree 1df5a608d7cd: 3687 tests, 0 failed, $0.05.
  • bun run typecheck clean; bun run typecheck:test reports none new.
  • CI at d8a6208: 45 success, 0 failed, 11 skipped (free-tests run 41162917030, windows-free-tests run 41162916998).

garrytan and others added 3 commits October 31, 2026 02:50
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>
@trunk-io

trunk-io Bot commented Oct 31, 2026 •

Copy link
Copy Markdown

😎 This pull request was merged.

@github-actions github-actions Bot changed the title fix(skill-evals): close four Lane A check-command holes (GST-377) v1.91.351.0 fix(skill-evals): close four Lane A check-command holes (GST-377) Oct 31, 2026
@capy-ai
capy-ai Bot merged commit 8be7f21 into main Oct 31, 2026
62 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant