Skip to content

v0.4.0

Choose a tag to compare

@github-actions github-actions released this 04 Dec 13:24
· 1 commit to main since this release
288b19c

Changes in v0.4.0

  • SHA-anchored drift cursor (verified_commit) & kb stamp: Replaces day-only git log -1 --format=%cs checks with batched per-repository <verified_commit>..HEAD inspection (git log -c), catching merged PR feature branches with older commit dates, same-day post-verification commits, and evil merges without false positives on reverse merges (git merge main). Supports both scalar SHA and per-subrepo SHA maps; kb stamp [--all] [domain...] and kb change sync lock fresh HEAD cursors automatically.
  • Unified kb check & kb context drift engine: Eliminates kb check vs kb context --since=<day> clock-time discrepancies by driving both commands from the same driftEngine (Finding.Anchor + Finding.Commits).
  • Declaration-level #Symbol verification: Strips line/block comments and string literals (C-style with Rust lifetime handling, Python/Hash, SQL), checks UTF-8 rune boundaries (utf8.DecodeLastRuneInString / utf8.DecodeRuneInString), matches declarations (func, type, const, var, interface methods, class, def, fn, CREATE TABLE, etc.) instead of leftover comments/call sites, skips test files on directory anchors, and raises directory scan limit to 10,000 files ([warn] anchor-scan-limit).
  • Go 1.22+ compatibility & animated demo: Lowers go directive in go.mod to 1.22.0 so older Go toolchains can run go install github.com/mdwitr0/kb/cmd/kb@latest, and updates assets/hero.svg and specs.