Ideas
An idea is one thing to test: a title, a hypothesis and, optionally, a plan for the worker.ready ideas in order of priority: 0 is urgent, 4 is someday, and 2 is the default. An idea has one
of these statuses:
Who adds what:
- You, the orchestrator and the research agent add defined ideas with
piloop idea add. - The watchdog files only seeds.
- A worker files neither. It writes a hunch in its
findingcomment, and the research agent reads it.
Links between ideas
--after <id>: the idea waits until every idea that it names isdone. Then it runs from the head, which holds what those ideas kept. So a research sweep can propose a chain of ideas at once.--supersedes <id>: the idea is a sharper version of the ideas that it names. The daemon rejects a superseded idea that never ran, with a note that names the new one.
Starting points
A run starts from the head by default: the latest keep. Pin another starting point with--base <candidate>. A run
from another starting point is a branch run. Its keeps form a branch and do not move the head. Use a pin when an
idea builds on a specific tree, such as an older keep or a note.
piloop candidate import <project> <commit> registers any commit of the repo as a reference: a starting point
from outside the lineage, such as a branch or the result of another campaign. The daemon measures it, and an idea
can start from it with --base.
To make sure that the campaign explores, at least one run in [roles.worker] explore_every (4 by default) starts from
a pinned idea when one is ready, whatever its priority.
Seeds
A seed is a hunch with pointers: a follow-up that a result suggests, two candidates to combine, a paper. File one when you do not have time to define the idea:- It develops the seed into a defined idea with
piloop idea develop: a hypothesis, the evidence, the cheapest check that could kill it, the metric that decides success, and the expected effect. - It rejects the seed with a note that names the earlier work that settled the question.
piloop inbox and at the top of the ideas panel in piloop watch.
Runs
A run is one attempt at an idea by one worker, with one harness and one model. When a worker slot is free, the daemon:- Takes the most urgent ready idea that no other idea blocks, and queues a run of it.
- Chooses the harness: the next one of the rotation in
harnesses, unless the idea pins one with--harness. - Creates a git worktree at the starting point of the run, and links the
linkpaths andworkspace/into it. - Writes the brief: the worker instructions, your
brief.md, the SQL procedures, the idea, the base candidate, the recent candidates and every comment on the idea and on its earlier runs. - Starts the worker. It runs until it exits or until
[roles.worker] timeout.
done, or goes back to ready when it has
attempts left. An idea has two attempts by default.
An agent that failed to start, because its start failed or it ended within a minute without using a token, does not
count as an attempt. The daemon queues its run again for a new worker. After three such failures within ten minutes,
the daemon pauses the launches of the project and escalates.
Commit trailers
A worker can end a commit message with a trailer:Piloop-Note: <why>: the commit regressed, but it is worth starting from. See Notes.Piloop-Eval: skip: the commit is scaffolding. The daemon does not measure it and marks itdiscard.
Steer a running worker
- A
note,findingordecisioncomment on a running run, or on its idea, reaches the worker. On the next tick, the daemon types the first line of the comment into the worker’s pane. Put the instruction in the first line. piloop prompt <worker-id> "<text>"sends text to a worker directly.