Skip to content

Releases: goldenwo/claude-state-drift

Release list

v0.4.3

Choose a tag to compare

@goldenwo goldenwo released this 18 Aug 00:55

claude-state-drift v0.4.3

Three fixes that came out of dogfooding the v0.4.2 receipts release:

History-lag warning. where-am-i now warns at session start when a state.json deliverable transition is newer than the newest state-history.jsonl record — the failure mode where the transition audit log silently stops being appended (observed as a real 19-day gap) and the --stats conversion joins quietly zero out.

Handoff nudge: token fallback is explicit opt-in. The context-pressure nudge's transcript-size fallback shipped with an absolute default tuned for 200K windows, which fired ~5× early on 1M-window sessions. The hook cannot learn your window size, so the fallback now arms only when you set it: handoff_nudge_tokens (150000 ≈ 200K windows, 750000 ≈ 1M). A malformed value no longer leaks a stderr warning on every prompt.

User-level config. All hooks-config.json knobs can now be set machine-wide in ~/.claude/hooks-config.json — per-project .claude/hooks-config.json overrides it per key, and STATE_* env vars override both. Machine-scoped knobs like the nudge threshold no longer require hand-editing settings.json env. See SCHEMA.md for the knob table and precedence.

Install

/plugin marketplace add goldenwo/claude-state-drift

Provenance

Generated mirror of goldenwo/claude-harness-toolkit @ b05d67d322360d3436a617f694539ad4defae94e. Issues welcome; PRs will fail the regeneration gate by design — changes land in the toolkit and republish.