Repository navigation
feat(opencode-claimant): stall nudges + stuck-holder escalation over babysitter verdicts (#1187) - #12688
Merged
Conversation
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 13 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This was referenced Nov 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
#1187's stall nudges — the one dispatch-v1.1 component still prose-only — landed as code, consuming the confirmed-stall verdicts #1338's babysitter engine (PR #12687) now produces as data. Epic context: #1234's scope names the babysitter loop as "progress verdicts, one stall nudge then escalation"; the detection half landed in #12687, this is the actuation half.
What changed (
pm-stack/opencode-claimant, +102/−0 tracked, 2 new files)nudges.py(new) — a pure planner + step in babysitter.py's pattern. Per babysitter round: a bound session in a confirmed stall gets a nudge through the claimant's verified prompt transport, at most 2 per stall episode; still confirmed-stalled with the budget spent, it escalates once as a stuck-holder agent-note on the bound issue. Unbound stalls are recorded, never driven (babysitter's rule). Episode state persists innudge-state.json; an episode closes (and the budget resets) the first round the session stops reading confirmed-stalled._send_promptconfirms delivery (2xx or reconcile-proved landing); a failed send consumes no budget and retries next round. A failed escalation note does not mark the episode escalated (retries); an unaddressable binding (no repo/issue on the claimed row) is recordedno_issue_addressonce — a repo is never guessed.claimant.py—_load_nudges_module(babysitter loader pattern),_post_stuck_holder_agent_note(hand-back note pattern), the nudge step in_fireimmediately after the babysitter round (sessions, not candidates — it runs before the gate, like the round), and the record rides every fire-log entry under anudgeskey.babysitter.py—build_bindingsadditively carriesrepofrom the row's packet (the shapenormalize_rowalready lifts), which addresses the escalation note.test_nudges.py(new, 15 tests) + registration inrun_hermetic_tests.py.Evidence
origin/main3532f9b, viagit archive): the new suite errors at load —FileNotFoundError: nudges.py(the actuation surface does not exist on main).python3 -I run_hermetic_tests.py→ 203 tests OK (188 pre-existing + 15 new), no forbidden-I/O violations.ruff formatapplied to all touched files;git diff --checkclean.nudgeskey.Scope notes
pool-state.json; OpenChamber dispatch v1.1: admission control, hand-backs, stall nudges, harvesting, Workhorse-first routing #1187's standing checks. epic(openchamber): session dispatch + babysitting — OpenChamber as the fleet's workhorse executor #1234's remaining acceptance gap (quota burn per landed task) stays with quota surface: /api/quota/pools returns 'Unsupported provider' — conductor measurement gate closes all pools, dispatch launches 0 #12677 / the Program: pool & effort system — effort tiers per pool, OpenChamber category pools, granular stats store (design mill) #9399 program, and Pilot: Workhorse-first vs Frontier-plan split on comparable effort/m tasks (routing evidence) #1191 stays blocked on Controlled pool tests: A/B real task batches before any pool change lands #1342.Refs #1187, #1234, #1338. Do not merge — Felix reviews.
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.