Skip to content

fix: disable unsafe historical Hermes reconciliation - #199

Merged
pitimon merged 1 commit into
mainfrom
fix/disable-unsafe-hermes-reconcile
Aug 24, 2026
Merged

fix: disable unsafe historical Hermes reconciliation#199
pitimon merged 1 commit into
mainfrom
fix/disable-unsafe-hermes-reconcile

Conversation

@pitimon

@pitimon pitimon commented Aug 24, 2026

Copy link
Copy Markdown
Owner

Summary

  • fail closed before any state I/O when sync --reconcile-hermes is requested
  • remove the unsafe flag from CLI help
  • preserve normal go-forward Hermes per-model parsing

Why

Live verification of #197 showed that mapping cumulative long-running session totals to last_seen moved 2.448B tokens into one current-day bucket. session_model_usage has cumulative totals, not timestamped per-model deltas, so historical daily/hourly repair cannot be reconstructed safely.

Verification

  • regression test: flag rejects before tracker state creation
  • node --test test/sync-unsafe-hermes-reconciliation.test.js
  • node --test test/rollout-parser.test.js (169/169)
  • npm test (1063/1063)
  • npm run ci:local

Reopens #169.

@pitimon
pitimon merged commit a5daff3 into main Aug 24, 2026
2 checks passed
@pitimon
pitimon deleted the fix/disable-unsafe-hermes-reconcile branch August 24, 2026 04:47
@pitimon pitimon mentioned this pull request Aug 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant