mirror of
https://github.com/garrytan/gstack.git
synced 2026-10-31 22:14:25 +01:00
test: register skill-eval-checks in the test-of-test baseline; docs: describe the tightened checks (GST-377)
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
b155241e7c
commit
d8a62080df
3 files changed
+7
-1
No files matched your search
@@ -8,3 +8,4 @@
|
||||
|
||||
### Gate integrity
|
||||
- These are grader edits that only tighten. Each check now fails runs it passed before, and no threshold, trial count or task was removed. The new `test/skill-eval-checks.test.ts` seeds each task with its own `seed.sh`, then runs the committed check after an honest action (it must pass) and after each hole (it must fail). On the old checks, all 15 hole cases passed the check and all 15 honest cases passed too. gstack-evals relocks its vendored copies from this commit.
|
||||
- `test/skill-eval-checks.test.ts` joins the `BASELINE` in `test/test-of-test-ratchet.test.ts`. It imports no product module because no gstack module runs these check commands; the commands themselves are what it tests.
|
||||
@@ -79,7 +79,11 @@ already assume, and one optional field.
|
||||
`GSTACK_HOME`. Set both to `<work dir>/.gstack-home` for the agent, `setup` and `check`; `GSTACK_HOME` alone loses
|
||||
to a `GSTACK_STATE_ROOT` inherited from the caller's shell, and the agent then writes the caller's real state. A
|
||||
task's `seed.sh` creates `.gstack-home` and lists it in `.git/info/exclude`, so `git diff` checks ignore it and
|
||||
`check` reads state there (/learn's `add` and `prune-stale`, /office-hours' design-doc and mockup checks).
|
||||
`check` reads state there (/learn's `add` and `prune-stale`, /office-hours' design-doc and mockup checks). A
|
||||
`check` that reads `.gstack-home` first requires it to be a real directory, not a symlink, because `find` does not
|
||||
descend into a symlinked start point. /learn's checks read the one project folder named for the work dir, and
|
||||
/office-hours' no-code check lists untracked files against `.git/info/exclude` alone, so a `.gitignore` the agent
|
||||
writes hides nothing.
|
||||
- **`resumable`** (optional, in `verdict.json` and any error record): `true` when an INCOMPLETE run can be finished
|
||||
with `--resume <out>`, which runs only cells that never ran, under the same lock and trial count, so it adds no
|
||||
trials after a result; `false` for a terminal stop, which needs a fix and a fresh run. A missing field reads as
|
||||
|
||||
@@ -223,6 +223,7 @@ const BASELINE = [
|
||||
'test/ship-release.test.ts', // GSTA-167 PR 4: runs bin/gstack-ship-release through test/helpers/ship-bin-fixture.ts's RELEASE path, so it names no bin/ literal itself
|
||||
'test/ship-section-fixture.test.ts',
|
||||
'test/skill-budget-regression.test.ts',
|
||||
'test/skill-eval-checks.test.ts', // GST-377: runs the committed skill-eval check commands, which gstack ships as data for gstack-evals' graders; no gstack module executes them
|
||||
'test/skill-fixture.test.ts', // slices test/skill-routing-e2e.test.ts source (recorded 2026-10 when the ratchet learned paid-source slicing)
|
||||
'test/skill-parser.test.ts',
|
||||
'test/spawnsync-timeout-tripwire.test.ts',
|
||||
|
||||
Reference in new issue
Block a user