You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
runtime: Claude Code and Gemini resolve session.log and the tps bin dir under the current HOME #822
Follow-up from #810 (round 5). After #810 the fallback SOUL.md path is one helper (getFallbackSoulPath) resolved through homeDir(). Three run-time paths in the other two runtimes still use os.homedir(), which under Bun keeps the start-up HOME: claude-code-runtime.ts ~:159 (default session.log), gemini-runtime.ts ~:126 (default session.log) and ~:134 (~/.tps/bin on the tps shim PATH). The fix moves them to homeDir() (as #810 did for the Codex runtime) with a test that changes HOME after module load and asserts each path, and a mutation back to os.homedir() that turns it red.
Adjudication of #810 (round 6) noted: the Claude Code fallback-home test stops at the boot notice and does not check that a task's system prompt carries the fallback SOUL.md. When this issue is built, extend that test to the prompt (as the Gemini test already does).
Activity
tps-flint commentedon Nov 7, 2026
Adjudication of #810 (round 6) noted: the Claude Code fallback-home test stops at the boot notice and does not check that a task's system prompt carries the fallback SOUL.md. When this issue is built, extend that test to the prompt (as the Gemini test already does).