Skip to content

quality-net: skill changes ship with zero regression detection — 120 evals.json unexecuted, skill-quality:check uninvoked (staged eval/gate/pass^k umbrella) #530

Closed
1 of 1 issue completed

Description

@kyle-sexton

Category: quality infrastructure (umbrella) · Source: control-tower gap-hunt 2026-07-19 (skill-catalog audit + external research), operator-directed proactive sweep

Problem — the repo's single biggest quality gap

This repo edits its own skills daily via the autonomous pipeline, yet has NO skill-regression safety net at any layer:

  • 120 of 146 skills ship evals/evals.json; nothing executes them. CI's plugin-gate runs run-plugin-tests.sh (*.test.sh) + validate-plugins.sh (manifest schema); validate-plugin-contracts.mjs has no eval handling — evals.json is not even schema-checked.
  • skill-quality:check (17-check static gate: frontmatter, trigger-keyword preservation vs HEAD, line caps, broken refs, evals presence) is invoked by nothing — not CI, not claude-review, not the work lane. Its validate-evals action is also uncalled.
  • The work lane's high-blast-radius rule makes the orchestrator manually eyeball skill diffs — hand-reimplementing what the static gate does deterministically.

Every merged skill change is an untested behavior change.

Staged path (each stage independently valuable)

  1. Deterministic CI lane (cheap, now): run skill-quality:check static gate + validate-evals on any PR touching plugins/*/skills/** — replaces the work lane's manual diff-read gate.
  2. Model-graded eval execution of CHANGED skills in the work-lane post-green pass: single judge call per dimension returning 0.0-1.0 + pass/fail (Anthropic guidance: per-dimension isolated judges reduce hallucination; 0.0-1.0+pass/fail "most consistent and aligned with human judgements"). Start with 20-50 tasks harvested from real pipeline failures. Source: https://www.anthropic.com/engineering/demystifying-evals-for-ai-agents
  3. Frozen regression suite: tasks the pipeline previously passed, run on every skill/prompt change, near-100% pass expected; any dip = silent drift caught. This is the net the rule→skill absorption lifecycle (source-control(babysit-prs): absorb v4 loop-prompt operating rules into the skill #477-feat(claude-ops or session-flow): loop-prompt authoring skill — generate and maintain standing loop-lane prompts #480) currently lacks.
  4. pass^k consistency metric as the feat(source-control): babysit autopilot merge tier — bot-account review + criteria-gated merge #476 autopilot unlock criterion: gate autonomous merges on probability ALL k trials succeed (pass^k), not pass@k — quantitative unlock instead of judgment call.
  5. Clean-state eval isolation: each trial from fresh state; Anthropic caught agents reading prior-trial git history and inflating pass rates. Matters as soon as stages 2-4 exist.

Relations

#476 (stage 4 is its unlock criterion), #477-#480 (absorption needs the regression net), #513 (mini-SDLC verify lane consumes these gates), #445 (mechanical-conformance CI backlog — this extends it to behavior).

Sub-issues

Sub-issues

1 of 1 Issues completed
Loading 1 sub-issues

Activity

  1. added
    needs-triage
    on Jul 19, 2026
  2. kyle-sexton commented on Jul 19, 2026

    @kyle-sexton
    MemberAuthor

    This was generated by AI during triage. · Category: quality infrastructure (umbrella) · Priority: priority: high (the repo's single biggest quality gap — every merged skill change is an untested behavior change). Routed needs-human + wayfind: design. Decompose candidate.

    Why needs-human

    A 5-stage quality-net umbrella spanning cheap-CI-wiring through pass^k autopilot-unlock design. The staging, the eval-harness design, the pass^k-as-#476-unlock metric, and clean-state isolation are genuine design + product-sequencing decisions the maintainer must own — not a defaultable fork.

    Peelable now (does not need the umbrella decision)

    Stage 1 is ready-shaped and shouldn't wait: a deterministic CI lane running the existing skill-quality:check static gate + its validate-evals action on any PR touching plugins/*/skills/** (silent-skip-gate shape). This replaces the work lane's manual high-blast-radius diff-read with a deterministic gate and wires up two skills that are currently invoked by nothing. If the maintainer wants, split Stage 1 into its own status: ready issue immediately; Stages 2-5 stay here for design.

    The design decisions (Stages 2-5)

    Recommended path

    Peel Stage 1 to ready now; run /work-items:decompose on Stages 2-5 into per-stage issues; sequence Stage 4 with #476. Relations: #476 (unlock), #477-#480 (absorption needs this net), #513 (mini-SDLC verify lane consumes these gates), #445 (mechanical-conformance CI — this extends it to behavior).

  3. added
    needs-human
    wayfind: design
    and removed
    needs-triage
    on Jul 19, 2026
  4. kyle-sexton commented on Jul 19, 2026

    @kyle-sexton
    MemberAuthor

    This was generated by AI (needs-human decision-brief pass).

    Decision brief (2-minute read)

    Problem. This repo rewrites its own skills daily through the autonomous pipeline, yet no layer executes any behavioral regression check — so every merged skill change is an untested behavior change. The triage note already peeled Stage 1 (deterministic CI lane) as ready-shaped; what remains for you is the sequencing/design decision on the model-graded stages (2-5) and, specifically, whether the cheap deterministic lane ships now on its own.

    Today (verified).

    • 120 of 146 skills ship evals/evals.json (find plugins -path '*/skills/*/evals/evals.json' = 120; SKILL.md count = 146). Nothing executes them.
    • evals.json is not even schema-checked: scripts/validate-plugin-contracts.mjs has zero eval handling (a schema exists at plugins/skill-quality/reference/evals.schema.json, unused by CI).
    • skill-quality:check exists (plugins/skill-quality/skills/check/SKILL.md, engine plugins/skill-quality/scripts/check-skill.sh — its Check 14 only WARNs on missing evals) and is invoked by no CI lane. ci.yml jobs are: hygiene, zizmor, hook-utils-sync, standards-contract-sync, cross-plugin-source-drift, silent-skip-gate, plugin-gate, miro-plugin, runner-policy, ci-status. None run or schema-check evals; the only eval strings in ci.yml are grep-exclusion paths. Confirmed: no eval-execution lane exists.

    Options.

    • A — RECOMMENDED: ship Stage 1 now as its own lane; keep Stages 2-5 here for staged design. Wire a deterministic CI lane running the existing skill-quality:check static gate + validate-evals on any PR touching plugins/*/skills/** (silent-skip-gate shape, mirroring the existing silent-skip-gate job). This replaces the work lane's manual high-blast-radius diff-read with a deterministic gate and activates two skills currently invoked by nothing — zero model cost, uses only what already exists. Stages 2 (model-graded judges on changed skills), 3 (frozen regression suite), 4 (pass^k as the feat(source-control): babysit autopilot merge tier — bot-account review + criteria-gated merge #476 unlock metric), 5 (clean-state isolation) stay as a decompose target. Tradeoff: Stage 1 alone catches static/structural regressions, not behavioral drift — but it is the cheapest real net and unblocks the others independently. Reversibility: high — a single removable lane; per-stage issues are independently droppable.
    • B — design the whole eval harness (Stages 1-5) before shipping anything. One coherent net, no half-measures. Tradeoff: leaves the biggest quality gap open for the full design cycle while the pipeline keeps merging untested skill changes; Stage 1's value is deferred for no reason. Reversibility: high (nothing shipped yet) but the exposure window is the cost. Not recommended — Stage 1 has no dependency on the rest.
    • C — model-graded only, skip the static lane. Go straight to per-dimension judge calls on changed skills. Tradeoff: highest signal but per-run model cost and hallucination-management overhead from day one, and it re-implements deterministic checks the static gate already does for free. Reversibility: medium. Not recommended as the first move.

    Cross-links.

    Decision asked: Ship Stage 1's deterministic skill-quality:check CI lane now and decompose Stages 2-5 separately (Option A) — accept?

  5. kyle-sexton commented on Jul 19, 2026

    @kyle-sexton
    MemberAuthor

    Operator decision (2026-07-19, decision-session batch 3; relayed).

    ACCEPTED — the decision brief's RECOMMENDED option verbatim.

    Re-intake: removing needs-human, adding priority: needs-triage for routing.

  6. added
    needs-triage
    and removed
    needs-human
    on Jul 19, 2026
  7. kyle-sexton commented on Jul 20, 2026

    @kyle-sexton
    MemberAuthor

    This was generated by AI during triage.

    Routing status: ready per ratified decision. Operator ACCEPTED Option A verbatim: ship Stage 1 now as its own CI lane — wire skill-quality:check's static gate + validate-evals on any PR touching plugins/*/skills/** (silent-skip-gate shape, mirroring the existing silent-skip-gate job), replacing the work lane's manual high-blast-radius diff-read. Stages 2-5 (model-graded judges, frozen regression suite, pass^k autopilot-unlock metric for #476, clean-state isolation) stay a separate decompose target — not scoped into this ready item; recommend /work-items:decompose on this issue once Stage 1 lands, to split 2-5 into independently-sequenced follow-ups.

    Priority: scaling-chain member (rule 8b names #530 directly) — kept priority: high. wayfind: design removed (sequencing decision settled).

  8. added
    status: ready
    and removed
    needs-triage
    wayfind: design
    on Jul 20, 2026
  9. kyle-sexton commented on Jul 22, 2026

    @kyle-sexton
    MemberAuthor

    Stage-1 status check (2026-07-22, ladder-climb Phase IV pass): DONE — landed via #593.

    Evidence (verified live on main): ci.yml job skill-quality-gate runs scripts/check-changed-skills.sh (invokes the skill-quality twenty-check static gate per changed skill, trigger-preservation vs the PR base, self-test-first so a broken orchestrator can't mask regressions, exit-2 fail-closed) + a check-jsonschema step validating every plugins/*/skills/*/evals/evals.json against the bundled schema; the lane feeds the required ci-status aggregate. The issue body's stage-1 gap and 'evals.json not even schema-checked' claim are stale.

    Proposed stage-2 plan (issue-level, per roadmap Phase IV — operator approval requested before build):

    • Placement: work-lane post-green pass, NOT a required CI check — model-graded = nondeterministic; deterministic CI stays the merge gate (repo's deterministic-gate philosophy), model-graded runs advisory-first and earns promotion later (mirrors the security-review VERDICT posture).
    • Harness: new skill-quality script + skill action eval-changed: for each changed skill with evals/evals.json, execute its eval tasks headless, then one isolated judge call per dimension returning 0.0–1.0 + pass/fail (Anthropic eval guidance already cited in the issue body).
    • Corpus: start by executing the EXISTING checked-in evals for changed skills only (bounded); harvesting 20–50 real-failure tasks becomes its own follow-up item, not a blocker.
    • Bounds: per-run model pin + budget cap on the inner invocations (same mechanical-bound discipline as the autonomy drain: a cap in prose bounds nothing).
    • Isolation (stage-5 pull-forward, minimal): each eval task in a scratch worktree so trials can't read prior-trial state.
    • Acceptance: on a PR changing one skill, the pass produces a per-dimension scored report as a PR comment; zero effect on merge-ability; run bounded in cost and time.

    Stages 3 (frozen regression suite) and 4 (pass^k unlock for #476) stay gated behind stage-2 experience. Operator: approve/modify/reject stage-2 scope.

  10. added
    needs-human
    on Jul 23, 2026
  11. kyle-sexton commented on Aug 13, 2026

    @kyle-sexton
    MemberAuthor

    Claim (stage-1 evals-presence ratchet). Draft PR #2561 on cursor/evals-presence-ratchet-530-d116: threads --require-evals through check-skill.sh + check-changed-skills.sh so missing evals/evals.json FAILs for any touched SKILL.md (new or modified); legacy untouched skills stay WARN-only. Self-tests for new-skill and touched-legacy paths; skill-quality 0.15.7. Stages 2–5 remain open on this umbrella.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-humanstatus: ready

    Type

    Fields

    No fields configured for Task.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions