Skip to content

Releases

v0.4.1

Choose a tag to compare

@github-actions github-actions released this 04 Dec 13:32
a66e978

Changes in v0.4.1

  • 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) or shallow CI clones (--depth=1).
  • 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.23+ compatibility & animated demo: Lowers go directive in go.mod to 1.23.0 (avoiding macOS dyld: missing LC_UUID on Go 1.22 while supporting Go 1.23+ toolchains) and updates assets/hero.svg and specs.

v0.4.0

Choose a tag to compare

@github-actions github-actions released this 04 Dec 13:24
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.

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 04 Dec 11:30
0044c43

kb v0.3.0 — Deterministic kb context <path> & Two-Step Agent Workflow

Introduces kb context <path...> and upgrades kb grill, SKILL.md, and global agent rules (rule.md) to a clean two-step architecture: agents understand natural-language intent via the compact project map first, then pull an exact deterministic slice for the target directory via kb context <path> — zero regex guessing and zero cross-service file noise.

Highlights

  • kb context <path...> (kb ctx): Returns governing root kb/ specs, UNCOVERED warnings, exact code-drift git commits touching <path> since verified_at, unmerged kb/inbox.md notes, open changes/ deltas, and local .md docs strictly for <path>.
  • Zero-noise kb grill "<request>" (/kb-grill): Starts with a lightweight compact project map (~2k tokens, zero source file dumps); Phase 1 maps your natural-language words to the exact service folder and calls kb context <path>, then runs silent code-vs-doc recon and 1-by-1 evidence-backed questions.
  • Unified global rule (rule.md & SKILL.md): Every configured agent (Claude Code, Codex, OpenCode, Pi, Antigravity, Cursor) now uses kb context <service-path> in regular coding tasks too, automatically catching fresh code-drift commits when a spec lags behind recent git changes.

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 04 Dec 10:53
0212b48

kb v0.2.0 — Diff-Driven Requirement & Code/Doc Reconciliation (kb grill)

Adds kb grill (and /kb-grill) to reconcile your mental model, documentation, and real service code without blindly rubber-stamping accidental code bugs as official specs.

What's New in v0.2.0

  • kb grill [target] (--domain, --path, --prompt):
    • Silently cross-checks kb/specs/, local Markdown docs, code-drift git commits since verified_at, unmerged kb/inbox.md notes, open changes/*/delta.md files, and scoped source code.
    • Interviews you strictly one question at a time citing exact path:line behavior and numbered options — only where Docs != Code, Code != Code, or risky edge cases exist.
    • Three-bucket resolution: confirmed current code -> kb/specs/<domain>.md; rationale/bans -> kb/decisions/; bugs/gaps where code violates business intent -> changes/<slug>/delta.md via kb change new.
  • Slash command /kb-grill <target>: Installed automatically by kb setup into Claude Code (~/.claude/commands/kb-grill.md), OpenCode (~/.config/opencode/commands/kb-grill.md), and Pi (~/.pi/agent/prompts/kb-grill.md), plus updated SKILL.md for Codex, Antigravity (agy), and Cursor/Windsurf.

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 04 Dec 01:55
7e6f529

kb v0.1.0 — Zero-DB, Git-Anchored Project Memory for AI Coding Agents

Initial public release of kb: keep living domain specs in plain Git-tracked Markdown, catch documentation-to-code drift via Git, isolate cold postmortems, and aggregate multi-repo workspaces into a single root source of truth.

Highlights

  • Git-anchored drift detection (kb check): Verifies file and #Symbol anchors plus git log commit dates against verified_at.
  • Instant active-canon search (kb find): < 40 ms section search with EN/RU stemming and project synonyms; skips archive/ unless --archive is passed.
  • Multi-repo root aggregation (kb subprojects): Single root kb/ overrides stale local CLAUDE.md / AGENTS.md / README.md inside nested .git subrepos without touching subproject git trees.
  • Interactive TUI installer (kb setup): Layout-independent (QWERTY / ЙЦУКЕН) setup for Claude Code, OpenAI Codex, OpenCode, Pi, Antigravity (agy), and .agents (Cursor / Windsurf).
  • Token-safe brownfield onboarding (kb onboard): Upfront token estimate, docs-first default mode, model picker, and scoped / yolo / prompt permission tiers.

Quick Install

# curl (macOS & Linux)
curl -fsSL https://raw.githubusercontent.com/mdwitr0/kb/main/install.sh | bash

# Homebrew
brew install mdwitr0/tap/kb && kb setup

# Go
go install github.com/mdwitr0/kb/cmd/kb@latest && kb setup

# Agent Skills (skills.sh)
npx skills add mdwitr0/kb