()
| 367 | } |
| 368 | |
| 369 | function getNoticeStatePath() { |
| 370 | const dir = process.env.EVOLVER_SESSION_STATE_DIR |
| 371 | || path.join(os.homedir(), '.evolver'); |
| 372 | try { fs.mkdirSync(dir, { recursive: true }); } catch { /* ignore */ } |
| 373 | return path.join(dir, 'session-start-notice-state.json'); |
| 374 | } |
| 375 | |
| 376 | // Resolve the evolver-marked-sessions registry path. This is the v1 "evolver |
| 377 | // actively marked this session" ledger: only sessions whose session-start hook |