main · last commit
13 days ago ·
7g0stsfu
ah-x5d [bug] ToolAskUser (mid-run channel) posts its question with no durable intent marker
Lined Up
bd update ah-x5d --claim
bd close ah-x5d
| Created by | Eugene Blikh |
| Owner | bigbes@gmail.com |
| Created | 2026-08-05T00:23:51Z |
| Updated | 2026-08-05T00:23:51Z |
Found while fixing ah-1cx.10, and deliberately left alone there because its semantics differ. ToolAskUser (internal/reconcile/tools.go) posts the question and moves the card with NO record flip and NO durable intent record. If MoveToBucket fails after the comment lands, the card stays in In Progress with a live sentinel and the agent polls GET /api/tool/answer forever — until its own --deadline (default 5m) expires, having burnt the wall clock for nothing. The generalized park mechanism from ah-1cx.10 (parkKind + parkMarker + parkParent) now exists and is the obvious basis, but the mid-run park is NOT the same shape: there is no record flip to re-attempt (the run is still live) and no finalize to hang a re-park arm off, so it needs its own plan — probably a marker consulted by the reconcile tick while the run is in flight, rather than by finalize.
A failed MoveToBucket after the question comment leaves a durable record, and a later tick either completes the move or tells the agent the question could not be parked, instead of leaving it polling to its deadline.
No outgoing dependencies.
Nothing depends on this issue.
| id | ah-x5d |
| content_hash | 39d3e01587b58620b2bbd6c8354eb1456a7dbbe04467a6f06c168add1e4c3d3d |
| title | [bug] ToolAskUser (mid-run channel) posts its question with no durable intent marker |
| description | Found while fixing ah-1cx.10, and deliberately left alone there because its semantics differ. ToolAskUser (internal/reconcile/tools.go) posts the question and moves the card with NO record flip and NO durable intent record. If MoveToBucket fails after the comment lands, the card stays in In Progress with a live sentinel and the agent polls GET /api/tool/answer forever — until its own --deadline (default 5m) expires, having burnt the wall clock for nothing. The generalized park mechanism from ah-1cx.10 (parkKind + parkMarker + parkParent) now exists and is the obvious basis, but the mid-run park is NOT the same shape: there is no record flip to re-attempt (the run is still live) and no finalize to hang a re-park arm off, so it needs its own plan — probably a marker consulted by the reconcile tick while the run is in flight, rather than by finalize. |
| design | |
| acceptance_criteria | A failed MoveToBucket after the question comment leaves a durable record, and a later tick either completes the move or tells the agent the question could not be parked, instead of leaving it polling to its deadline. |
| notes | |
| status | open |
| priority | 3 |
| issue_type | bug |
| assignee | NULL |
| estimated_minutes | NULL |
| created_at | 2026-08-05T00:23:51Z |
| created_by | Eugene Blikh |
| owner | bigbes@gmail.com |
| updated_at | 2026-08-05T00:23:51Z |
| closed_at | NULL |
| closed_by_session | |
| external_ref | NULL |
| spec_id | |
| compaction_level | 0 |
| compacted_at | NULL |
| compacted_at_commit | NULL |
| original_size | NULL |
| sender | |
| ephemeral | 0 |
| wisp_type | |
| pinned | 0 |
| is_template | 0 |
| mol_type | |
| work_type | |
| source_system | |
| metadata | �{} |
| source_repo | |
| close_reason | |
| event_kind | |
| actor | |
| target | |
| payload | |
| await_type | |
| await_id | |
| timeout_ns | 0 |
| waiters | |
| hook_bead | |
| role_bead | |
| agent_state | |
| last_activity | NULL |
| role_type | |
| rig | |
| due_at | NULL |
| defer_until | NULL |
| no_history | 0 |
| started_at | NULL |
| is_blocked | 0 |
| issue_id | ah-x5d |
| label | milestone:v0.2.0 |
| id | 019fcf4e-1c26-7cd9-bc3b-0a92caefdae6 |
| issue_id | ah-x5d |
| event_type | created |
| actor | Eugene Blikh |
| old_value | |
| new_value | |
| comment | NULL |
| created_at | 2026-08-05T03:23:50Z |
| id | 019fcf4e-4828-7b00-b3cb-1ce3844b4ed4 |
| issue_id | ah-x5d |
| event_type | label_added |
| actor | Eugene Blikh |
| old_value | NULL |
| new_value | NULL |
| comment | Added label: milestone:v0.2.0 |
| created_at | 2026-08-05T03:24:01Z |
No comments.