()
| 105 | |
| 106 | /** Cache path computed fresh on each call so tests can mutate GSTACK_HOME per case. */ |
| 107 | export function cacheFilePath(): string { |
| 108 | return join( |
| 109 | process.env.GSTACK_HOME || join(userHome(), ".gstack"), |
| 110 | ".gbrain-local-status-cache.json", |
| 111 | ); |
| 112 | } |
| 113 | |
| 114 | /** Honors GBRAIN_HOME (codex D11) — same resolution as buildGbrainEnv. */ |
| 115 | function gbrainConfigPath(env?: NodeJS.ProcessEnv): string { |
no test coverage detected