mirror of
https://github.com/pandoscope/skills.git
synced 2026-09-19 05:58:34 +08:00
949e04afc1
`main` resolves the default turn-summary path through `os.homedir()`, and the entry point's rewritten import block did not carry `node:os`. Every `ledger declare` without TURN_SUMMARY_PATH set threw `ReferenceError: os is not defined`. The suite never saw it: the declare tests exercise `declareText`, which is pure, so the CLI branch that builds the fallback path had no test at all. It has one now — the CLI run as a process, with HOME pointed at a temp directory and the env var unset, asserting the file lands at `$HOME/.claude/turn-summary.txt`. It fails on the broken import and passes on the fix. ADVANCES #188 Claude-Session: https://claude.ai/code/session_014CUXJh1hKmW4ccUwRQ1Ep1