Skip to content

v0.7.1

Choose a tag to compare

@poggufanz poggufanz released this 20 Aug 09:07
· 68 commits to main since this release

0.7.1 — 20 August 2026

Release: v0.7.1

A patch release adding native Git Diff Correlation to Rocky's memory evidence:

Added

  • rocky why <file> [--diff] & rocky how <query> [--diff]. Renders bounded, secret-redacted git patches correlated with remembered rationale and mechanism evidence.
  • Multi-tier git diff correlation. Intelligently resolves changes using a 3-tier fallback strategy:
    1. Explicit commit SHA (git diff-tree -p -U2 <sha> -- <file>) when available from record pointers.
    2. Timestamp window lookup (git log -n 1 --since/--until -p -U2 -- <file>) within $\pm 60$s of the memory event.
    3. Working-tree uncommitted changes (git diff -U2 HEAD -- <file>) if no historical commit matches.
  • Fail-open & boundary safety guarantees. Subprocesses run with shell: false, a strict 5-second timeout (GIT_DIFF_TIMEOUT_MS = 5000), and a 32 KB max output buffer (GIT_DIFF_MAX_BYTES = 32768). Outside a git repository or upon timeout, it falls back to (git diff unavailable) without throwing.
  • Automatic secret scrubbing. All git diff lines undergo credential and secret redaction (redactSecretsAtBoundary) before being printed or returned over MCP.
  • MCP Tool enhancement (why_file). The why_file MCP tool accepts an optional diff?: boolean argument to include projected, bounded, and secret-redacted diff content in tool results.