lab: capability suite v2 — three stateful tasks a plausible answer gets wrong #8

Merged
hermes merged 4 commits from kb/OBJ-1849-capability-suite-v2 into main 2026-11-20 20:34:32 -06:00
Collaborator

Card: Objectives#1849.

The suite is saturated: lab/RESULTS.md records 16/16 at every effort level, so it cannot show a quality gain or a regression. The cause is the task shape — one question, one answer, a phrase-grep grader — not the model.

What this adds

Three stateful tasks, one per class the card names, each graded by executing the script the model edits against a fixture:

task class plausible answer why it dies
nix_activation_orphan_after_rename nix_activation systemctl restart the renamed unit the orphaned old unit still holds the lock — arm 1
silent_failure_vacuous_drift_check silent_failure add set -euo pipefail comm exits 0 on empty input — arms 3–5
ci_scope_unmatched_path_skips ci_triage add a case arm for the path in the log arm 5 uses a different unknown root

Existing tasks and graders are untouched: 22 tasks / 7 classes now (the card says 17; PR #7 added two profile_axis tasks after that count was written, so 19 → 22). The two Go tasks keep their requires: [go] skip.

lab/selftest.py carries the good/bad pair for each new task, and now stages .sh fixtures executable the way the runner does — without that, the pre-existing axis_gate_exit_zero task could never pass its own -x check in the selftest.

Why a new workflow

ymrtech/hermes-bench had no .forgejo/workflows at all, so "CI green" meant nothing. ci.yml runs a structural suite check plus lab/selftest.py on every PR (no model calls, no network): a task whose plausible-wrong answer passes now fails CI.

Proof

Round-trip on this branch, quoting lab/selftest.py (see the card for the run output and the live-arm numbers).

Card: Objectives#1849. The suite is saturated: `lab/RESULTS.md` records 16/16 at every effort level, so it cannot show a quality gain **or** a regression. The cause is the task shape — one question, one answer, a phrase-grep grader — not the model. ## What this adds Three stateful tasks, one per class the card names, each graded by **executing** the script the model edits against a fixture: | task | class | plausible answer | why it dies | |---|---|---|---| | `nix_activation_orphan_after_rename` | nix_activation | `systemctl restart` the renamed unit | the orphaned old unit still holds the lock — arm 1 | | `silent_failure_vacuous_drift_check` | silent_failure | add `set -euo pipefail` | `comm` exits 0 on empty input — arms 3–5 | | `ci_scope_unmatched_path_skips` | ci_triage | add a `case` arm for the path in the log | arm 5 uses a **different** unknown root | Existing tasks and graders are untouched: 22 tasks / 7 classes now (the card says 17; PR #7 added two `profile_axis` tasks after that count was written, so 19 → 22). The two Go tasks keep their `requires: [go]` skip. `lab/selftest.py` carries the good/bad pair for each new task, and now stages `.sh` fixtures executable the way the runner does — without that, the pre-existing `axis_gate_exit_zero` task could never pass its own `-x` check in the selftest. ## Why a new workflow `ymrtech/hermes-bench` had no `.forgejo/workflows` at all, so "CI green" meant nothing. `ci.yml` runs a structural suite check plus `lab/selftest.py` on every PR (no model calls, no network): a task whose plausible-wrong answer passes now fails CI. ## Proof Round-trip on this branch, quoting `lab/selftest.py` (see the card for the run output and the live-arm numbers).
The suite is saturated (16/16 at both low and high), so it cannot show a
quality gain or a regression. These three tasks are multi-step: the model gets
a host or a CI in a broken state, edits a script in place, and a hidden test
executes it. Each hidden test has an arm the *plausible* answer passes and an
arm it fails, so the grader discriminates on behaviour, not vocabulary.

- nix_activation_orphan_after_rename: a unit renamed across generations is not
  retired by activation; restarting the renamed unit leaves the old instance
  holding the lock. Arms: retire the orphan, never bounce a wanted unit, be
  idempotent, fail while a wanted unit is down.
- silent_failure_vacuous_drift_check: a drift check compares an empty render
  against the live set and reports 'no drift'. 'set -euo pipefail' does not fix
  it: comm exits 0 on empty input. Arms: empty / missing / truncated inputs all
  must fail, the converged mesh must still pass.
- ci_scope_unmatched_path_skips: an unknown path root scopes to no hosts, the
  workflow reads that as 'nothing to deploy' and goes green. Arm 5 uses a
  SECOND unknown root, so a case arm for the path named in the log does not
  pass; arm 7 refuses an empty path list.

lab/selftest.py carries the good/bad pair for each, and now stages .sh fixtures
executable the way the runner does (the existing axis_gate task's own -x check
was unreachable without it).
ci: gate the graders themselves; document the saturated-suite problem
Some checks failed
CI / graders (pull_request) Failing after 2s
d10890a3e7
The fork had no workflow at all, so "CI green" on a PR to this repo meant
nothing. This adds one job with two steps and no model calls: a structural check
of the suite (unique keys, declared categories, known grader types, provenance)
and lab/selftest.py, which grades a reference answer and a plausible-but-wrong
answer against every task's real grader. A task whose wrong answer PASSES fails
the PR - that is the failure mode that made the last three runs report 16/16.

lab/README.md now says why: the suite was saturated because its tasks were
one-question/one-phrase greps, and it records the rule the three v2 tasks
encode - every hidden test needs an arm the plausible answer fails.
lab: record the v2 ruler proof and the one live arm that was affordable
Some checks failed
CI / graders (pull_request) Failing after 3s
d3ff74a1c2
RESULTS.md gains a section for suite v2: the three tasks, the arm each plausible
answer dies on, the selftest output verbatim (good=PASS(1.0) bad=FAIL(0.0) on all
three), and the live low arm with its real numbers - including that the model
still solves all three, so what these tasks separate is a right answer from a
fluent wrong one, not one model from itself.

Only the low arm was measured: the route pins extra_body.reasoning_effort, and
stripping the pin for a high arm mutates the shared config for the duration of
the run. That is stated rather than papered over.
docs: say plainly that the CI gate has no runner yet
Some checks failed
CI / graders (pull_request) Failing after 2s
dfdd1cce1a
ymrtech/hermes-bench has no Actions runner registered (the fleet's runners are
repo-scoped in nix-config hosts/vpn), so a push produces a run that waits and a
PR run fails with no job - measured on PR #8 and on a probe branch whose trivial
workflow stayed 'waiting'. The gate is real and its two steps were executed
verbatim on this head tree; registering a runner for this repo is a separate
nix-config change, so the docs point at it instead of claiming a green.
hermes merged commit 43c8be14da into main 2026-11-20 20:34:32 -06:00
Author
Collaborator

Merged, with one record on the CI claim: this repo has no Actions runner registered (GET /actions/runners → [], while nix-config/nix-config-private return entries), so the runs on this PR (43102, 43114) failed in 3 s with no job and a runs-on: [ci] probe branch sat in waiting. The workflow is valid YAML and both of its steps were executed verbatim on the merged tree (43c8be1) and passed. Registering a runner is a nix-config change and is filed as its own card.

Merged, with one record on the CI claim: this repo has **no Actions runner registered** (`GET /actions/runners` → `[]`, while nix-config/nix-config-private return entries), so the runs on this PR (43102, 43114) failed in 3 s with no job and a `runs-on: [ci]` probe branch sat in `waiting`. The workflow is valid YAML and both of its steps were executed verbatim on the merged tree (`43c8be1`) and passed. Registering a runner is a nix-config change and is filed as its own card.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ymrtech/hermes-bench!8
No description provided.