Skip to content

let helpers ask questions and continue through durable queued turns - #445

Merged
xandreeddev merged 1 commit into
mainfrom
helper-executor
Oct 31, 2026
Merged

xandreeddev merged 1 commit into
mainfrom
helper-executor

Conversation

@xandreeddev

Copy link
Copy Markdown
Owner

What

  • Let a helper ask its parent, end the asking turn waiting, and continue from an exact answer delivered through its durable child inbox. Add ask_parent, steer_task, answer_task and cancel_task, with question-aware task_status.
  • Preserve queued input across partial or failed follow-ups, keep original task instructions when steering arrives before execution, and prevent an old question retry from blocking a newer question.
  • Repair question and answer outboxes after restart. Run task follow-ups on the supplied borrowed writer and hand parent reactions off only after the end acknowledgment.
  • Advance stored format to 15. Custom Tasks implement the new controls and execute method; task executors honor the optional waiting control. Compose taskInboxRunner for child inbox follow-ups and rerun the extended port conformance kits.

Checks

  • Focused conformance, scripted-agent, acknowledgment and process restart tests: pass.
  • Frozen install, typecheck, Foundry check/demo: pass.
  • Full source suite: 3,530 pass, 4 environment skips, 0 failures (298 files, 17,430 assertions).
  • Package build and packed Node/Bun verification: pass, including witnessed SIGKILL, repeated takeover bookkeeping, exact outbox repair and lost-end-acknowledgment recovery.
  • Generated docs remain clean; website builds 15 pages with all links valid.
  • Pinned Bun 1.3.6 transport/proxy tests: 46 pass, 2 environment skips, 0 failures.

Store helper questions and exact answer outboxes before delivery, end asking turns waiting, and execute follow-ups through the child's inbox on the admitted writer. Add steering, answer and cancellation tools, preserving terminal task outcomes and the original instructions when input arrives before execution starts.

Advance stored format to 15, extend the port conformance kits, and repair delivery and abandoned waiting turns without replaying processed work. Verify early answers, bounded queues, interruption, lost acknowledgments and witnessed process restarts.
@xandreeddev
xandreeddev merged commit fc5a2bf into main Oct 31, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant