A delegate is a line in the config - id, what it is good at, tags, endpoint, model. No profiles: a profile is a directory of files, and this needs a line you can read at 2 a.m. The delegate tool takes a task and optional tags. The pick is code, not a guess: requested tag 5, tag in the task 3, description word 1, ties to the earlier entry. The observation opens with the choice and the reason, and --choose prints the same decision without running anything: coder 7 task mentions 'code' quick 5 task mentions 'chat' coder 3 task mentions 'refactor' The child is splinter itself in one-shot mode - same tools, own context, own endpoint and model. Classed destructive, because it runs a whole agent; the operator approves the delegation once. test_delegate pins the decisions, including the two cases that must not pick anything: no matching tag and no delegates at all.
105 KiB
Executable File
105 KiB
Executable File