refactor(harness): simplify model routing (#1973)

This commit is contained in:
Carlos Florêncio
2026-07-27 10:48:00 +01:00
committed by GitHub
parent 37b56ba11c
commit a1db95d484
80 changed files with 789 additions and 3077 deletions
+4 -3
View File
@@ -1,12 +1,13 @@
---
description: Update Kandev harness files from session learnings or explicit cross-platform harness requests.
argument-hint: "[learning or requested harness change]"
allowed-tools: Bash Read Edit Write Grep Glob Agent
allowed-tools: Bash Read Edit Write Grep Glob
model: inherit
effort: medium
---
Use `.agents/skills/harness-improvement/SKILL.md`; it owns artifact selection,
inventory, bundled-reference routing, and validation. The root
`AGENTS.md`/`CLAUDE.md` planner/worker contract applies. Honor the user's scope,
update requested subagent mirrors, and do not commit unless explicitly asked.
`AGENTS.md`/`CLAUDE.md` single-session model workflow applies. Honor the user's
scope, keep custom-agent files absent unless the user explicitly reverses that
policy, and do not commit unless explicitly asked.
+5 -4
View File
@@ -7,10 +7,11 @@ effort: high
---
Use `.agents/skills/pr-fixup/SKILL.md`; the root `AGENTS.md`/`CLAUDE.md`
planner/worker contract applies. The planner handles small triage and
scope-preserving fixes directly; use `pr-poller` only for long waits,
`implementer` for broad remediation, and post-commit `verify` before push.
single-session model workflow applies. Handle remediation directly in the same
conversation; rerun only the affected task-defined check after a fix. When the
user explicitly asks to wait or monitor PR status, an authorized read-only
`pr-poller` may collect updates without remediation.
If `pr-poller` reports that GitHub access requires approval, surface that gate
If GitHub access requires approval, surface that gate
and stop. Do not relaunch after denial, cancellation, or interruption; the
shared skill distinguishes approval gates from transient fetch failures.
+7 -5
View File
@@ -7,8 +7,10 @@ effort: high
---
Use `.agents/skills/spec-driven-development/SKILL.md` for the full flow; the
root `AGENTS.md`/`CLAUDE.md` planner/worker contract applies. Keep small,
localized execution in the planner session. Delegate only substantial
independent packets or required independent gates: `qa`, `security-auditor`,
and `code-review` are exceptional, while `verify` remains the final
post-commit gate. Stop and report an unavailable required worker.
root `AGENTS.md`/`CLAUDE.md` single-session model workflow applies. Create the
durable artifacts on the strong model, pause for the user's manual switch, then
implement and run the task-defined tests in the same conversation. The PR AI
reviewers provide the semantic gate after PR creation; do not add local QA,
review, simplify, security, or broad verification gates by default.
Plans may label parallel-safe waves, but use subagents only when the user
explicitly authorizes them after selecting the implementation model.