Plan approval UI does nothing — execution proceeds regardless #27
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_shrimp#27
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
The "Approve plan / Decline" panel in the JobDrawer is not a real gate. Clicking Approve persists the decision, but the agent loop never reads it and execution continues either way.
Observed: Sent a plan-style task. The job inspector showed status
DONEand the assistant reply (with a file diff forhi.py) before I ever clicked Approve. The Plan tab was still showing "Plan is ready for review".Root cause (confirmed in source, not YOLO-related):
crates/hero_shrimp_server/src/rpc/methods/plan.rs:9-17explicitly documents the missing wiring:And grepping the engine confirms it:
The UI writes to the
statetable at keyplan_approval:<job_id>; nothing in the engine consumes it.Suggested fix: either
plan_approval:<job_id>between iterations and pauses when the plan is published, resumes on approve, aborts on decline. (The intended design, per the file header.)