]> git.giacomolli.uk - onechat/commit
Give the root tools to start and message children
authorAnderson A. Giacomolli <agiacomolli@gmail.com>
Tue, 10 Nov 2026 06:46:17 +0000 (03:46 -0300)
committerAnderson A. Giacomolli <agiacomolli@gmail.com>
Tue, 10 Nov 2026 06:46:17 +0000 (03:46 -0300)
commit5a93b6124068c2a8748fc0bfbb2a2d151815bcf0
treeda266eb0a2e14634a49a6efb07f71143a88072de
parent2124c559da8f164a43a3da987b399b6ac6125035
Give the root tools to start and message children

The root creates permanent children with its model and effort, sends
them durable messages with tell, and reads their views with zoom. A
child has a short capitalized name for its area, such as House, which no
child, subagent, or the root uses. spawn keeps its short tasks. Children
have no creation or WhatsApp tools.

The root sees each child name and area in its turn state, while its
shared prompt stays stable. The prompt directs mixed-chat area messages
to the right child with their sender, date, and words, and requires user
agreement before the root sends a child draft to WhatsApp.

A new child is prepared outside the children directory and published in
one step, so a stop never leaves a half-made child that blocks the next
start, and a failed creation frees its name. Runtime children join the
daemon lifetime and backup locks before they receive tasks.

Issue: 63b101c
13 files changed:
README.rst
agent.go
daemon.go
daemon_agent.go
daemon_children.go [new file with mode: 0644]
daemon_children_test.go [new file with mode: 0644]
daemon_message.go
prompt.go
prompt_helper_test.go [new file with mode: 0644]
prompt_test.go
subagent.go
tools.go
turn.go