hub + runner: a placement report the hub refuses as invalid is resent every tick, and target_unknown is missing from the hub's DETAILS
tsk-m1mkmx0ncckr Done An agent
Found by 7hkd in A1417 on #1979 (2026-11-18).
- Bug, already on main. The runner reports the detail
target_unknown. docs/api.md §15.7 (about line 19430) lists it, but the hub'sDETAILS(hub/src/maity_hub/placements.py about line 89, checked at routes/runner.py about line 519) does not. The hub answersinvalid, so every such report is lost. - Codex on an old host. Add
codex_host_too_oldto §15.7 underharness_refusedand toDETAILS. Then the runner from #1979 can report it again; #1979 sends no detail for the freeze. This is a contract change: a §15.7 line, the hub list, and a hub test. - The runner's resend loop. The runner treats a 400
invalidon a placement report as transient and resends it on every tick (cli/src/maity/runner/supervisor.py about line 1559), so the log grows a line per tick. A report the hub refuses as invalid should be logged once and dropped, or sent without the detail, not resent forever.
Done when:
- a test holds the hub's DETAILS equal to the §15.7 list, so contract and hub cannot drift again;
- a runner test proves that a report the hub refuses is not resent forever;
codex_host_too_oldis in the list, and #1979's runner reports it;- docs/api.md, docs/runners.md and the changelog are updated in the same PR.