Repository navigation
Closed
Task
1 / 11 of 1 issue completed
Copy link
Labels
needs-humanHuman-in-the-loop required; autonomous sessions must not resolve items carrying this.status: readyTriaged, unblocked, and fully specified; eligible to pick up.
Description
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 runsrun-plugin-tests.sh(*.test.sh) +validate-plugins.sh(manifest schema);validate-plugin-contracts.mjshas 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. Itsvalidate-evalsaction 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)
- Deterministic CI lane (cheap, now): run
skill-quality:checkstatic gate +validate-evalson any PR touchingplugins/*/skills/**— replaces the work lane's manual diff-read gate. - 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
- 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.
- 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.
- 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
Collapse Sub-issuesSub-issues
Loading 1 sub-issues
Metadata
Metadata
Assignees
Labels
needs-humanHuman-in-the-loop required; autonomous sessions must not resolve items carrying this.status: readyTriaged, unblocked, and fully specified; eligible to pick up.
Type
Fields
No fields configured for Task.
Activity
kyle-sexton commentedon Jul 19, 2026
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). Routedneeds-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:checkstatic gate + itsvalidate-evalsaction on any PR touchingplugins/*/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 ownstatus: readyissue 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:decomposeon 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).kyle-sexton commentedon Jul 19, 2026
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).
evals/evals.json(find plugins -path '*/skills/*/evals/evals.json'= 120; SKILL.md count = 146). Nothing executes them.evals.jsonis not even schema-checked:scripts/validate-plugin-contracts.mjshas zeroevalhandling (a schema exists atplugins/skill-quality/reference/evals.schema.json, unused by CI).skill-quality:checkexists (plugins/skill-quality/skills/check/SKILL.md, engineplugins/skill-quality/scripts/check-skill.sh— its Check 14 only WARNs on missing evals) and is invoked by no CI lane.ci.ymljobs 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 onlyevalstrings inci.ymlare grep-exclusion paths. Confirmed: no eval-execution lane exists.Options.
skill-quality:checkstatic gate +validate-evalson any PR touchingplugins/*/skills/**(silent-skip-gate shape, mirroring the existingsilent-skip-gatejob). 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.Cross-links.
outward_write_mode: report-only, default report-only): keep every eval/gate lane a pure measurement surface (no outward writes) so it stays report-only-compatible.Decision asked: Ship Stage 1's deterministic
skill-quality:checkCI lane now and decompose Stages 2-5 separately (Option A) — accept?kyle-sexton commentedon Jul 19, 2026
Operator decision (2026-07-19, decision-session batch 3; relayed).
ACCEPTED — the decision brief's RECOMMENDED option verbatim.
Re-intake: removing
needs-human, addingpriority: needs-triagefor routing.kyle-sexton commentedon Jul 20, 2026
This was generated by AI during triage.
Routing
status: readyper ratified decision. Operator ACCEPTED Option A verbatim: ship Stage 1 now as its own CI lane — wireskill-quality:check's static gate +validate-evalson any PR touchingplugins/*/skills/**(silent-skip-gate shape, mirroring the existingsilent-skip-gatejob), 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:decomposeon this issue once Stage 1 lands, to split 2-5 into independently-sequenced follow-ups.Priority: scaling-chain member (rule 8b names
#530directly) — keptpriority: high.wayfind: designremoved (sequencing decision settled).feat(ci): add skill-quality static gate lane for changed skills (#530) (
fix(testing): credit inspect/ask on files:[] evals over doc-permitted…
docs(conventions): add hook-precision convention (false-positive disc…
feat(work-items): add mini-SDLC pipeline-shape SSOT + wire work Step …
kyle-sexton commentedon Jul 22, 2026
Stage-1 status check (2026-07-22, ladder-climb Phase IV pass): DONE — landed via #593.
Evidence (verified live on main):
ci.ymljobskill-quality-gaterunsscripts/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) + acheck-jsonschemastep validating everyplugins/*/skills/*/evals/evals.jsonagainst the bundled schema; the lane feeds the requiredci-statusaggregate. 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):
skill-qualityscript + skill actioneval-changed: for each changed skill withevals/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).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.
kyle-sexton commentedon Aug 13, 2026
Claim (stage-1 evals-presence ratchet). Draft PR #2561 on
cursor/evals-presence-ratchet-530-d116: threads--require-evalsthroughcheck-skill.sh+check-changed-skills.shso missingevals/evals.jsonFAILs for any touchedSKILL.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.feat(skill-quality): ratchet evals presence for changed skills (#530 …
feat(skill-quality): ratchet evals presence for changed skills (#530 …
fix(docs): revert setup SKILL edits where evals are absent (#530 ratc…