docs: require low-cost queue selection preflight
Build ErsatzTV Image / Docs update reminder (push) Has been skipped
Build ErsatzTV Image / decisions.md append-only (push) Has been skipped
Build ErsatzTV Image / API docs in sync (OpenAPI + endpoint index) (push) Has been skipped
Build ErsatzTV Image / Formatting (changed .cs conform to .editorconfig) (push) Has been skipped
Build ErsatzTV Image / EF migration integrity (SQLite + MySql) (push) Successful in 4m19s
Build ErsatzTV Image / Build & test (.NET) (push) Successful in 5m28s
Build ErsatzTV Image / Build & push image (amd64) (push) Successful in 3m32s
Build ErsatzTV Image / Docs update reminder (push) Has been skipped
Build ErsatzTV Image / decisions.md append-only (push) Has been skipped
Build ErsatzTV Image / API docs in sync (OpenAPI + endpoint index) (push) Has been skipped
Build ErsatzTV Image / Formatting (changed .cs conform to .editorconfig) (push) Has been skipped
Build ErsatzTV Image / EF migration integrity (SQLite + MySql) (push) Successful in 4m19s
Build ErsatzTV Image / Build & test (.NET) (push) Successful in 5m28s
Build ErsatzTV Image / Build & push image (amd64) (push) Successful in 3m32s
Co-Authored-By: Codex <noreply@openai.com>
This commit is contained in:
@@ -19,9 +19,14 @@ As of 2026-07-13:
|
||||
- **Claude Code:** use **Opus 4.8, `xhigh` effort** (or **ultracode**, which is the Claude Code
|
||||
orchestration preset built on `xhigh`). Reserve **Fable 5, `high` effort** for the frontier
|
||||
escalations listed below; use `xhigh` there only when the decision remains genuinely difficult.
|
||||
- **Queue preflight:** when the user has not named an issue, use the client's cheapest suitable
|
||||
fast/small model at low or minimal effort. Route it as a subagent when possible; otherwise run a
|
||||
separate low-cost selector session and pass its compact selection packet to the orchestrator.
|
||||
Never spend the orchestrator tier on queue ranking.
|
||||
- If those names are unavailable, choose the client's strongest long-horizon coding/agentic model
|
||||
at its high extended-reasoning setting. Do not weaken the orchestrator to a fast/mini model; use
|
||||
smaller models only for bounded delegated slices when the client supports per-agent selection.
|
||||
smaller models for bounded delegated slices, with a separate low-cost queue preflight when the
|
||||
client cannot select a cheaper model per agent.
|
||||
|
||||
The kickoff below deliberately describes capability tiers instead of model names so it survives
|
||||
model rollovers. The operator-facing recommendations above may be updated without changing the
|
||||
@@ -39,16 +44,20 @@ assume a named tool, command, plugin, model-routing feature, or fork mechanism e
|
||||
|
||||
Route by capability when the client supports per-agent model selection: fast/small for bounded recon,
|
||||
balanced for mechanical changes, and the strongest coding/agentic tier for judgment-heavy work.
|
||||
Otherwise use the active model for every slice. Independent review MUST start from a cold, review-only
|
||||
brief; prefer a different model family/client when one is available, otherwise use a fresh agent with
|
||||
no implementation role.
|
||||
Otherwise use the active model for every slice except the mandatory queue preflight below. Independent
|
||||
review MUST start from a cold, review-only brief; prefer a different model family/client when one is
|
||||
available, otherwise use a fresh agent with no implementation role.
|
||||
|
||||
**Queue selection is a fast/small slice, not orchestrator work, when routing exists.** Dispatch one
|
||||
low-effort selector with only #237's body, last ~6 comments, live issue/milestone/label state, and the
|
||||
reviewer-repo candidate list; ask it for a ranked proposal, then have the orchestrator confirm the winner
|
||||
is still open before claiming. Do not load implementation docs or issue bodies into the selector. If the
|
||||
client cannot route a cheaper model, perform this small live-state sort inline instead of spawning an
|
||||
equally expensive agent; delegate only after the pick has a concrete task-specific slice.
|
||||
**When the user has not named an issue, queue selection is mechanical fast/small work, never orchestrator
|
||||
work.** Dispatch exactly one selector on the cheapest suitable model at low or minimal effort. Give it only
|
||||
#237's body, last ~6 comments, live issue/milestone/label state, and the reviewer-repo candidate list; it
|
||||
returns a ranked shortlist of at most three issue IDs with one-line rationales and live-state evidence. The
|
||||
orchestrator receives only that compact packet, then performs a focused live recheck of the winner before
|
||||
claiming. Do not load implementation docs or issue bodies into the selector. If the client cannot route a
|
||||
cheaper subagent, run the selector in a separate low-cost session before starting or resuming the orchestrator
|
||||
and pass in its packet. **Do not fall back to inline sorting or an equally expensive selector.** If no cheaper
|
||||
route or session is available, pause and request the selector packet rather than consuming orchestrator tokens
|
||||
on queue ranking. If the user names an issue, skip selection and only verify that issue's live claimability.
|
||||
|
||||
FIRST read `AGENTS.md` and `CLAUDE.md` when present, then `docs/README.md`, the convention docs it
|
||||
indexes, and the Lessons below. Apply both client instruction files; where they differ, follow the
|
||||
@@ -70,8 +79,10 @@ Everything else (claiming, worktrees, dispatching implementers, CI monitoring, p
|
||||
bookkeeping, routine merges of green reviewed PRs with user consent) stays at your level.
|
||||
|
||||
Then work the queue:
|
||||
1. Read the pinned tracker **ersatztv#237** — body = goal + ordered arc + session protocol — and
|
||||
its **last ~6 session comments** (newest-first; the full comment payload is large, so stop at ~6).
|
||||
1. Unless the user named an issue, dispatch or obtain the mandatory low-cost selector packet. The
|
||||
**selector**, not the orchestrator, reads the pinned tracker **ersatztv#237** — body = goal + ordered
|
||||
arc + session protocol — and its **last ~6 session comments** (newest-first; the full comment
|
||||
payload is large, so stop at ~6).
|
||||
**SOURCE OF TRUTH = live Gitea issue state, NEVER the prose.** The arc body carries ORDER + goal
|
||||
only; a session comment's "Recommended next" is a forward *guess* written before the next session
|
||||
acted. Both go stale the instant an item closes (especially under parallel sessions narrating each
|
||||
@@ -86,14 +97,17 @@ Then work the queue:
|
||||
environment or your global client instructions; never print them):
|
||||
`curl -u <user>:<pass> http://192.168.1.95:3000/api/v1/repos/timothy/ersatztv/issues/237`.
|
||||
**The authoritative pickup + ranking protocol lives in #237's "Session protocol" section — this is a summary; if the two ever disagree, #237 wins.**
|
||||
2. Pick the highest-ranked OPEN, un-`in-progress` candidate (or the item the user names). **Rank by
|
||||
labels, not just arc position** (labels are live state; prose is not): (1) arc order in #237, then
|
||||
2. The selector picks the highest-ranked OPEN, un-`in-progress` candidate and returns at most two
|
||||
fallbacks. **Rank by labels, not just arc position** (labels are live state; prose is not):
|
||||
(1) arc order in #237, then
|
||||
(2) **gate vs backlog** — an item marked gate by the `review` label OR membership in an open gate
|
||||
milestone outranks anything unmilestoned; then (3) **`priority:`** label — `high` > `medium` >
|
||||
`low` within a tier. Pick order across the three pools: the **arc frontier** (lowest-numbered open
|
||||
arc item) first; an unclaimed Blocker/High **priority-pickup** (`review` + `priority: high`, e.g.
|
||||
#253) beats a *non-frontier* arc item; reviewer-repo **audits** are read-only and run in parallel.
|
||||
**Confirm the pick is genuinely OPEN in Gitea first.** If the prose says "recommended next / now
|
||||
The orchestrator then makes one focused Gitea read to confirm the proposed winner is still OPEN,
|
||||
unclaimed, and not blocked by a closed milestone; if it changed, check the next supplied fallback.
|
||||
Do not reread the full tracker or comments for selection. If the prose says "recommended next / now
|
||||
unblocked" but the issue (or its milestone) is already CLOSED, it is done — skip it and fix the
|
||||
stale line in your session comment. Prose lags live state; live state wins; milestone + `priority:`
|
||||
labels decide gate-vs-backlog, not the prose. (This mirrors #237's Session-protocol ranking — #237 is canonical.)
|
||||
|
||||
Reference in New Issue
Block a user