diff --git a/CHANGELOG.md b/CHANGELOG.md index c8ea83af..9432d62b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,11 @@ All notable changes to Token-Goat are documented in this file. Format follows Ke ## [Unreleased] +### Fixed + +- **macOS `/var` and `/private/var` aliases could produce different cache and index keys for the same file.** Path canonicalization now normalizes the Darwin system alias consistently, restoring relative `skeleton`/`outline`, trace frame detection, project discovery, settings paths, and doc-compact reuse for temporary paths. +- **The test harness could touch the live macOS data directory or fail to start TypeScript race helpers in restricted sandboxes.** Darwin tests now isolate `HOME`/`USERPROFILE`, and subprocess fixtures load `tsx` without its IPC-based CLI. + ## [2.6.12] - 2026-07-10 ### Fixed diff --git a/src/doc_compact.ts b/src/doc_compact.ts index 818dae79..0155ac82 100644 --- a/src/doc_compact.ts +++ b/src/doc_compact.ts @@ -12,7 +12,7 @@ import * as path from 'path' import { dataDir } from './constants.js' import { atomicWriteText } from './util.js' -import { normalizePath } from './paths.js' +import { resolveIndexPath } from './paths.js' const defaultSentencesPerSection = 2 const headerPrefix = '