Repository navigation
fix(server): Pi transcripts carry their home path - #28061
Conversation
ApprovabilityVerdict: Approved at Macroscope's review found this PR approvable — Pi transcript candidates now carry their existing sessions directory as home-path metadata. This narrowly scoped change leaves discovery scope and product defaults unchanged. You can add or adjust custom eligibility rules. Learn more. |
Thread transfer impact✅ Thread transfer remains within every enforced ceiling.
Baseline: Scenario and decoded snapshot size10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.
Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed. |
main fails typecheck since #24982: it made
homePathrequired on transcript candidates, and the Pi session discovery from #27515 still builds candidates without it (AgentSessionScanner.ts:1203, TS2741). Every CI run on main since then fails Build and Typecheck.Pi candidates now pass
homePath: sessionsDir. For Pi the resolved home path is the sessions directory (resolvePiSessionsDir), andhomePathis only read for Codex thread names, so Pi behavior is unchanged.Checked:
vp run typecheckpasses for the whole repo, andAgentSessionScanner.test.tspasses (54 tests).Written by Claude Opus 5.5 in Claude Code on behalf of Maria.
🤖 Generated with Claude Code