mirror of
https://github.com/AgentSeal/codeburn.git
synced 2026-08-23 15:34:19 +00:00
Three review follow-ups. 1. The rotation guarantee is now pinned by a real parse, not by two unit tests that both stub the fingerprint. The original defect was a wiring bug — right value, wrong selector — and a stubbed fingerprint cannot see a wiring bug. The new case warms the cache under key K1 (one JetBrains turn, one call), rotates the key file to K2, appends a second turn, and re-parses in a fresh module registry: exactly two calls, no K1-era dedup key anywhere, on disk or in the result. Restore the substring-sniff selector and it reports three calls for two turns — the user-visible shape of the bug. 2. The test-helper guard compared UNRESOLVED paths, so a symlink at a sandbox-shaped location (HOME=$TMPDIR/codeburn-test-env-x -> /Users/me) passed the prefix test and the write landed in the real home anyway. Both sides are realpath'd before comparing, which also stops a sibling directory sharing the tmpdir prefix from matching. Same refusal message. 3. CHANGELOG records the two API breaks that were missing: decodeCopilot throws on an empty privacyKey for JetBrains records, and SOURCE_REF_KEYED_PARSE_VERSION is no longer exported (KEY_DERIVED_PROVIDERS replaces it). |
||
|---|---|---|
| .. | ||
| src | ||
| tests | ||
| package.json | ||
| tsconfig.json | ||
| tsup.config.ts | ||
| vitest.config.ts | ||