MinBot check deadlocks on open Codex threads from an older head (platform #576, #586)
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
Research direction
Start by reading advance.codex_decision, codex_clean, Advance.resolve_addressed, and Advance.full_check; compare their treatment of open Codex threads from older commits with hr-gate's open_thr logic near line 1708. Trace how minbot_pass and back_to_rework handle those threads. Done means a PR with a clean head and an open, not outdated thread from an older head passes MinBot and the thread is resolved.
Written by the indexing model from the issue text.
Description
Seen 2026-11-18 on the platform board (swarmbot, after MethBot relayed Michal's 8:41 PM ET question). Platform PRs #576 (head 7bae3053) and #586 (head e987ffa4) sat in Auto Review for more than 5 hours with Codex clean on the head and CI green. Every swarm-advance --minbot N ran (the gate queue drained; it was not dead) and ended with "#N stays in Auto Review: ... 3 Codex clean on head: 0 Codex finding review(s) on head, 1 (or 2) open Codex thread(s)".
Cause: the open threads were Codex P2 threads from older heads (#576: d785b9dd; #586: f3cbde0f) that are not outdated, because the commented lines did not change. The two readers disagree about them:
advance.codex_decision/codex_clean(tangentswarm) ignores an open thread from an older head once Codex is clean on the head, andAdvance.resolve_addressedresolves such threads, but only after a pass (apply_pass).Advance.full_checkruns hr-gateevaluate(), whose row 3 counts every open, not outdated Codex thread, whatever its commit (open_thrin ~/bin/hr-gate, near line 1708).back_to_reworkonly acts on threads on the head (head_threads), so it does not send the PR back either.
So the PR can never pass: the pass that would resolve the threads is blocked by those threads. Nothing logs it as stuck beyond the per-run "stays in Auto Review" line.
swarmbot checked that the head fixes each finding (#576: c2104907 queues the group re-render for every paint attribute; #586: 37100dfe keeps the inline height across collapse and expand, with tests), resolved the three threads, and re-ran swarm-advance --minbot 576 and --minbot 586 at about 8:55 PM ET. Both passed to Ready.
Fix: one definition of "open Codex thread that blocks" for both readers. Either hr-gate row 3 ignores threads whose original commit is not the head once Codex is clean on the head (the codex_decision rule), or minbot_pass resolves the addressed threads before full_check. Test: a PR with Codex clean on its head and an open, not outdated thread from an older head passes the MinBot check and has the thread resolved.
- Dominant language
- Python
- Stars
- 3
- Forks
- 0
- Avg merge
- 5h 57m
- Merged PRs (30d)
- 60
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from tangentcode/tangentswarm
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
tangentcode/tangentswarm#167 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
tangentcode/tangentswarm#161 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
tangentcode/tangentswarm#158 ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 55/100
tangentcode/tangentswarm#168 ·
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
tangentcode/tangentswarm#165 ·
Maintainers usually reply within 1 day
All issues in tangentcode/tangentswarm
Similar issues
-
Container fails to start when GitHub Releases is unavailable: uv run re-downloads the tvl wheelOpen
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
trezor/trezor-user-env#421 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 1/5 1-3 hours Newbie friendliness 91/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
hermes hooks doctor smoke test never checks the hook exit code — a crashing hook (exit=1) renders ✓ "ran clean" and "All shell hooks look healthy"Possibly taken @cestercian claimed this today. Opencomp/cli P2 type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
NousResearch/hermes-agent#162259 · 1 comment ·
Maintainers usually reply within 1 day