feat(coordinator): the planner holds a request the farm can't answer, and says so first #126
No reviewers
Labels
No labels
kind
bug
kind
chore
kind
docs
kind
feature
kind
performance
kind
question
priority
critical
priority
high
priority
low
risk
high
risk
low
risk
medium
status
blocked
status
confirmed
status
duplicate
status
invalid
status
needs-info
status
wontfix
ci: approved
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Beanstalk!126
Loading…
Reference in a new issue
No description provided.
Delete branch "HumanBean/Beanstalk:feat/planner-holds"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Longshot #1574 asked for
RX_VK_ACQUIRE_AHEAD"in a window (not full screen) ... not headless". The planner noted in its prose that the farm can't exercise the present path, then queued a 6-target run of about 10 hours anyway. That run compared the same code on both sides and failed on the log lines it had said would be missing. #1681's plan had the same limit.What changes
windowtag. Nothing is built or run. Words containing "anyway" (@Beanstalk test it anyway) run it regardless.blocked: why no plan can answer the request. The commit is held the same way, and the plan's summary is shown as what it could test instead.notes, shown first on the sticky, on a manual run's reply and on the dashboard.=0against unset there.beanstalk/approvalfails with "can't be tested as asked".plan_notestocommitsandruns.Real windowed runs, hidden from the tester's screen, follow in a separate PR (plan schema 10, a
windowtag). Once testers have that tag, the hold no longer applies.What the sticky says now
A note on a plan that runs:
Tests
The coordinator suite on a throwaway container: 603 passed, 1 skipped. New tests:
test_a_request_for_a_window_is_held_before_the_modeltest_the_model_can_hold_a_request_and_note_what_it_leaves_outtest_blocked_and_notes_are_checkedAlso in this round: #1860 and #1880 were never waiting for a second approval. Those comments came from farm versions before v60. Both were rebuilding all 556 lifted files, because they change the translated code.
🤖 Generated with Claude Code
WIP: feat(coordinator): the planner holds a request the farm can't answer, and says so firstto feat(coordinator): the planner holds a request the farm can't answer, and says so firstRecommendation: Request changes. The hold can be bypassed by an ordinary volunteer tag, and a model-detected blocker can be discarded when its alternative plan is invalid. The window matcher also holds unrelated requests, and the required dashboard screenshots are missing.
The change aims to prevent misleading headless runs and surface planning limits before results. That would save tester time, but the current checks can both run a request the farm cannot answer and hold one it can answer; the dashboard changes also lack the screenshots required by the repository.
Does it help: Unproven: the PR reports 603 tests passed and one skipped, but provides no recorded run demonstrating the behavior against the reported Longshot requests. This is not a performance change.
Other systems: The planner is shared by PRs and manual runs, so the hold and fallback issues affect both. Volunteer-defined tags can include window today; all current game runs remain headless. Dashboard rendering changes also need desktop and phone-width review.
Switches: No switches added, changed, or removed.
Reviewed:
4b5de6618dagainst59dd514c72: Read AGENTS.md, CONTRIBUTING.md, the complete diff and commit message, the changed migration and templates, and the relevant planner, reporter, run, tag-validation and scheduling paths. The full changed Python files, tests and documentation were only partially read because the combined output was truncated. No review checklist or pull request template was found. No prior comments or reviews were supplied.; nothing run (a code review).Checked and fine:
Blocking (to change before merge)
Suggestions (the author may take or leave)
coordinator/beanstalk/planner.py:626: A correctblockedverdict is lost if the alternative TOML is invalid: after two refusals the default plan runs. Preserve the hold independently of validating the alternative, and test that case.Testing: No commands that execute project code or tests were run, as requested. The reported coordinator suite result is from the PR description.
Overlaps and merge order: Not checked; the network is closed. The description mentions a future windowed-run PR but does not identify it.
Automated code review by BeanBot (gpt-6.1-terra), on the pull request's opening. Nothing was run; a maintainer decides.
@ -254,2 +282,4 @@# A request for a real window: the farm's games are headless (FACTS), so it is held before the model is askedWINDOW_ASK = re.compile(r"\b(?:not|non|no|without)[- ]?headless\b|\bheadful\b|\bwindowed\b|\b(?:in|with|into|on)\s+(?:a|an|the)"This also matches “measure in a window of 10 seconds”, so a valid headless request is held. Distinguish timing windows and add a behavioral test for this phrasing.
@ -739,0 +805,4 @@async def plan_or_hold(farm: Farm, inputs: Inputs) -> Planned:"""The model's plan, or a hold without asking it: words that ask for a window (window_held) while no tester onlinecan run the game in one (the window tag)"""windows = any("window" in pc[0] for pc in inputs.live or {})The
windowtag is currently available as a volunteer-defined extra tag. One online headless PC with that tag disables this hold for every request; keep the hold until a real reserved capability exists and ensure the plan targets it.@ -48,6 +48,7 @@{% else %}<p class="dim">Not planned yet.</p>{% endif %}{% for n in c.plan_notes or [] %}<p class="prose">⚠️ <strong>Note:</strong> {{ n }}</p>{% endfor %}This changes the dashboard, but the PR description has no desktop or 390 px screenshots. CONTRIBUTING.md requires before and after screenshots for screen changes.