diff options
| author | Igor Soarez <igor@soarez.org> | 2026-10-21 12:39:32 +0100 |
|---|---|---|
| committer | Igor Soarez <igor@soarez.org> | 2026-10-21 12:39:32 +0100 |
| commit | 9faef45275e9ab24e10bfed878f6890ba76a1bb0 (patch) | |
| tree | 0bbeb699d94186ca545e782808f09a00611a9742 /bin/open | |
| parent | 32123f167dd5a7cdcbdaf6e5c144f40654d236fc (diff) | |
pi-subagent: opt-in sessions, to follow up, resume after a timeout, or fork
run-agent.sh still runs with --no-session by default. --session saves the
run as session <name> under <workdir>/sessions/; --followup TEXT sends the
next message in it, from any provider and model; --fork FROM starts <name>
as a copy of FROM. A follow-up or fork inherits --tools, --thinking, --cwd
and --context-files, so a read-only subagent stays read-only, and the
earlier round's files move to <name>.round<N>.*.
Sessions are opened by file path: by id, pi looks only among sessions
started in the current directory and otherwise silently creates an empty
one, exit 0. A fresh retry moves the old session aside, since pi would
resume it given the same id.
pi-review-panel launches members with --session, so a contradiction can be
put to both reviewers before it is settled; verdicts are still tallied from
the original reviews.
From dot request 20261021-123436-work-laptop-d0adf2.
Diffstat (limited to 'bin/open')
0 files changed, 0 insertions, 0 deletions
