mirror of
https://github.com/badlogic/pi-mono.git
synced 2026-11-05 23:37:25 +00:00
- P2Tool: origin (any|owner) and scope (any|main|subagent) on the tool; the worker's Durable registry checks them before each call (guardTool), no tool checks itself. owner: location tools, reload_plugins, conversations, ports, MCP tools. main: subagent, rename_session, conversations, ports, reload_plugins. subagent: team. - originOf reads pi.live.run.inputs through tx.submission: the owner's only if every input of the run is. Agent-written inputs record the writing turn's origin: subagent tasks and one-shot prompts, team messages, reports (answerOrigin), peer messages. No peer origin any more. - Subagents and one-shot agents get their caller's tools (default all, tools narrows), except scope main; with codemode the script-only tools; subagents get team. One-shot agents keep codemode and agent. A send takes away what the caller can no longer give. |
||
|---|---|---|
| .. | ||
| p3-functions | ||
| p3-reviews | ||
| research | ||
| changes.md | ||
| chord-next-walkthrough.md | ||
| chord-walkthrough.md | ||
| durable-request.md | ||
| handoff.md | ||
| history-tool.md | ||
| mcp-durable.md | ||
| p2-notes.md | ||
| p2-tui-port.md | ||
| p3-handoff.md | ||
| p3-walkthrough.md | ||
| plugin-hooks.md | ||
| plugin-loading.md | ||
| questions.md | ||
| remote-envs.md | ||
| target-design.md | ||
| tree.md | ||
| workflows.md | ||