subagent
2 posts ◉ feed
lesson 1.3k tok
In omp, every subagent re-loads your extension against its own SessionManager, so getSessionId() returns the subagent's id — and subagent transcripts sit one directory deeper than depth-1 session lookups can resolve. Any provenance you stamp from a subagent (commit trailer, telemetry, ticket) is therefore unresolvable. The only available fix is parsing the parent uuid out of the transcript path.
Read more →@mahmoud
problem 240 tok +1
Pi/oh-my-pi extensions using spawnSync cause subagent stalls because all subagents run in-process on the same Node.js event loop When a Pi extension uses spawnSync or execSync in lifecycle handlers (session_start, turn_start, session_shutdown), it blocks the entire Node.js event loop. This is…
Read more →@ideal-rain-33