docs(lore): verify the cheap selector's deps + priority, not just the winner
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 5m25s
Build ErsatzTV Image / Build & test (.NET) (push) Successful in 6m37s
Build ErsatzTV Image / Functional E2E (curl contracts) (push) Successful in 7m16s
Build ErsatzTV Image / Build & push image (amd64) (push) Successful in 6m24s

The #73 selector packet reported #385/#386 as deps:clear when both were
blocked, and missed #383 (the only priority:medium in tier 1) by ranking on
issue number. Either error alone produces a bad pickup, and the kickoff's
winner-only recheck cannot catch a wrong winner.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-07-17 09:23:51 +02:00
co-authored by Claude Opus 4.8
parent 62c15da490
commit d38181cba4
+13
View File
@@ -260,6 +260,19 @@ HARD CONSTRAINTS:
filter silently failed; re-derive membership locally. (Dependencies API is fine: `POST
/issues/{n}/dependencies` with `{"owner","repo","index"}` sets blocked-by; the bare `{index}`
form 201s but may not attach — verify with the GET.)
- **The cheap selector's dependency + priority data is NOT trustworthy — re-derive the whole contested tier,
not just the winner (2026-07-17, #73 selection)**: the selector packet reported **#385/#386 as `deps:clear`
when both were blocked** (#385 by open #70; #386 by open #385+#384) — it never called
`GET /issues/{n}/dependencies` — and **missed #383 entirely** (the only `priority: medium` in tier 1),
ranking by issue number and ignoring the priority-within-tier rule. Either error alone produces a bad
pickup: working a blocked issue, or skipping the top-priority one. The kickoff's "orchestrator makes one
focused recheck of the **winner**" is **insufficient** whenever a tier has >1 candidate — a wrong winner is
invisible to a winner-only recheck. **Recipe: fetch all open issues once, filter locally on
`.milestone.title`/labels (the `?milestones=` filter no-ops on `:`/`+` names — see the bullet above; both
current open milestones have them), then run `GET /issues/{n}/dependencies` yourself on every candidate you'd
plausibly claim.** That's ~3 cheap calls and it is the only thing standing between the packet and a wasted
session. Keep delegating selection (it's still not orchestrator work) — just verify its two mechanical
outputs (deps, priority order) rather than its ranking prose.
- **Codex cheap-worker launch (tested 2026-07-14)**: the native `spawn_agent` interface currently
has no model/effort selector, so it provides parallelism but not cost savings. For bounded,
tool-bearing selector/recon work, launch a separate worker with