Files
oh-my-pi/packages
roboomp d97d48827f fix(coding-agent): ACP factory re-resolves TITLE_SYSTEM.md per session cwd
createAcpSessionFactory spreads baseOptions into every per-session
createAgentSession call. baseOptions.titleSystemPrompt was resolved
once at launch from main.ts, so opening session/new for a client-
supplied workspace different from the launch cwd would carry the
launch repo's TITLE_SYSTEM.md into the new session and bias replan
title refreshes against the wrong policy.

The factory now calls discoverTitleSystemPromptFile(cwd) +
resolvePromptInput per session and passes the result after the spread,
overriding the launch-time value. When the target workspace has no
override, undefined wins and the bundled prompt is used as expected.

Regression test asserts that a per-session cwd with a project-level
TITLE_SYSTEM.md beats the launch-cwd prompt threaded through
baseOptions.
2026-06-28 16:39:12 +00:00
..
2026-06-28 17:29:35 +02:00
2026-06-28 17:29:35 +02:00
2026-06-28 17:29:35 +02:00
2026-06-27 04:39:59 +02:00
2026-06-28 17:29:35 +02:00
2026-06-28 17:29:35 +02:00
2026-06-28 17:29:35 +02:00
2026-06-28 17:29:35 +02:00
2026-06-28 17:29:35 +02:00
2026-06-28 17:29:35 +02:00
2026-06-28 17:29:35 +02:00
2026-06-28 17:29:35 +02:00