Skip to content

v2.0.2 — correctness pass

Choose a tag to compare

@nixpt nixpt released this 06 Jun 12:44
· 140 commits to master since this release

Correctness pass over the v2.0.1 feature set. No new surface area — these fix bugs in the commands v2.0.1 introduced. Axiom 0 preserved (zero new dependencies). 141/141 tests.

Supersedes v2.0.1, whose binary mislabelled itself 2.0.0 and shipped the bugs below.

Fixed

  • note-commit --trailer no longer corrupts the link: it wrote the git note to the pre-amend SHA while --amend rewrote HEAD (orphaning the note), amended HEAD for any non-HEAD SHA, and silently folded staged changes. It now requires the SHA to be HEAD and the index to be clean, amends first, then attaches the note to the shipped commit.
  • Version reporting — VERSION/pyproject were stuck at 2.0.0; dejavue version and pip show now report the real version.
  • link no longer crashes on events whose commit/summary/decision_reason is an explicit JSON null.
  • since <base>..<tip> now honors the tip (the event window was bounded only by the base date, leaking post-tip events).
  • invariant works before init instead of crashing with FileNotFoundError.
  • invariants.md is now indexed by recall (FTS sources + rebuild trigger).
  • check now verifies and repairs the post-checkout hook that init installs.
  • context surfaces traps & incidents in a dedicated section so they no longer scroll out of the recent-timeline tail; tolerant of non-object timeline lines.
  • Shell completions now cover trap, incident, invariant, rejected, and decision --supersedes/--durability across bash/zsh/fish.

Full changelog: https://github.com/nixpt/dejavue/blob/master/CHANGELOG.md