Skip to content

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.


[Unreleased]

Added

  • Product Discovery & Roadmap (docs/product/): Complete repository audit, market/user research, competitive gap analysis, prioritized feature backlog, memory intelligence strategy, product metrics, and Phase 1–2 execution tracker.
  • Cross-Agent Full-Text Search (OPP-01): SQLite FTS5 virtual table (tool_calls_fts) with automatic triggers/backfill, GET /api/search, chakshu search, and Web UI Cmd+K / Ctrl+K GlobalSearchModal.
  • Runaway Loop & Token Burn Guardrails (OPP-03): Sliding-window retry-loop and token-spike detector (internal/watcher/guardrails.go), live Web UI alert banner, and CLI tail/logs --follow warnings.
  • Runtime Policy, Hash Chain & MCP Pinning (OPP-06): Wired internal/policy into watcher and importer, chained flagged events into security_events with audit.ChainEvent, added SHA-256 MCP config pinning/drift detection (including ~/.claude.json), and surfaced chain integrity + drift badges in AuditView.
  • Decision & Constraint Ledger + Stale/Contradiction Detection (OPP-02): Extracted constraint, decision, workaround, and dead_end memories into session_memories, reconciled stale/superseded/contradicted states (internal/memory/reconcile.go), added chakshu decisions, REST endpoints, and UI Pin/Verify/Dismiss controls.
  • Cross-Agent Local MCP Memory Server (OPP-08): Zero-dependency stdio JSON-RPC 2.0 server (chakshu mcp-memory) exposing search_decisions, get_file_context, search_sessions, and record_constraint.
  • Session Reliability Scoring (OPP-07): 0–100 (clean | moderate | fragile) reliability scoring in internal/stats and Session List/Detail UI badges.
  • Headless Evaluation CI Gate (OPP-09): chakshu eval [--suite ID] [--min-score N] [--ci] [--json] for automated regression gating.
  • Pre-Execution File Snapshots & Rollback (OPP-04): Content-addressed pre-edit backups via chakshu snapshot-hook, chakshu rollback, /api/snapshots, /api/rollback, and Session Files rollback UI.
  • Cursor IDE Adapter (OPP-05) & Multi-Harness Subagent Linking: Added internal/adapter/cursor.go, Claude Code /code-review slash-command + ~/.claude/plugins/installed_plugins.json + .mcp.json/commands/*.md support, parallel Gemini completion matching, nested subagent sessions across all 4 harnesses, Parallel Batch grouping, live elapsed timers, and UI tile/Judge Reset fixes.
  • Skill Intelligence & Benchmarking (internal/evaluation, internal/skill, web/components/skills):
  • Content-addressed skill_versions revision tracking via composite SHA-256 fingerprints over SKILL.md and companion files, with disambiguated skill IDs across paths.
  • Benchmark Studio (internal/evaluation/benchmark) with built-in templates (Code Review, Test Suite Verification, Security Audit), multi-rule scenario contracts, suite run history (evaluation_suite_runs), and dependency-free JSON/YAML import-export.
  • Windowed session-to-skill attribution (attribution.go) with confidence scoring, baseline pairing, and pre-persistence secret redaction (never re-executing recorded commands).
  • Deterministic offline scoring engine (chakshu-eval-v1.0), deduplicated evidence, UNOBSERVABLE telemetry handling, required-rule gates, independent SecurityVerdict, human feedback layering, evidence-linked GenerateInsights, and JSON report export (chakshu-report-v1).
  • Controlled paired Comparison Engine with compatibility/trial-count honesty, Latency Δ / Calls Δ, and PR-ready Markdown/JSON export.
  • Optional, consent-gated LLM-as-a-Judge (internal/evaluation/judge) supporting locally installed agent CLIs (agy, claude, codex, gemini) with auto-detection, local env-key detection, and Ollama/OpenAI/Anthropic/Gemini HTTP APIs.
  • Web UI Skill Intelligence dashboard (#/skills/...) with Overview Skill Scorecard, Skills catalog & revision viewer, Benchmarks, Compare, Scoring & Judge settings, and slide-over RunReportDrawer.
  • Documentation in docs/SKILL_INTELLIGENCE.md.
  • Human Approval & Intervention Tracking (internal/approval, internal/event/approval_event.go):
  • Unified, strongly-typed ApprovalEvent domain model with normalized lifecycle (REQUESTED, APPROVED, REJECTED, CANCELLED, TIMED_OUT, EXPIRED, UNKNOWN), decision provenance (CONFIRMED vs INFERRED), and execution outcome tracking (EXECUTED_SUCCESS, EXECUTED_FAILED, SKIPPED, NOT_EXECUTED, PENDING, UNKNOWN).
  • Extensible ApprovalExtractor interface with dedicated passive extractors for Codex, Claude Code, and Gemini CLI / Antigravity.
  • Approval correlation engine handling simultaneous requests, repeated requests, out-of-order ingestion, missing decisions/executions, incremental transcript tailing, session aborts, and duplicate ingestion idempotency without ambiguous proximity guessing.
  • Configurable independent risk classifier (INFO, LOW, MEDIUM, HIGH, CRITICAL) covering Terminal/Shell, Filesystem, Git, MCP/Tools, Network, Infrastructure/Database, and Agent Permissions.
  • Pre-persistence semantic secret redaction for commands, tool arguments, raw transcript evidence, and metadata.
  • SQLite approval_events persistence table with indexes, automatic legacy-preserving migrations, and atomic CommitWithApprovals ingestion in watcher and importer.
  • REST API endpoints: GET /api/approvals, GET /api/approvals/{approvalId}, GET /api/sessions/{sessionId}/approvals, GET /api/analytics/approvals, GET /api/analytics/approvals/agents, and GET /api/analytics/approvals/tools, plus approval counts in GET /api/session.
  • Terminal CLI subcommand chakshu approvals [--session ID] [--agent NAME] [--risk LEVEL] [--decision DEC] [--category CAT] [--limit N].
  • Interactive Web UI Approvals sub-tab in Session Detail (web/components/SessionApprovalsView.tsx), Approval Detail Modal (web/components/ApprovalDetailModal.tsx), and dedicated Global Approval Analytics dashboard (web/components/ApprovalsAnalyticsView.tsx, #/approvals).
  • Comprehensive feature and API documentation in docs/APPROVAL_TRACKING.md and realistic transcript fixtures for Codex, Claude Code, and Gemini CLI.
  • Agent Memory Observability Engine (internal/memory): comprehensive 3-tier memory analytics covering working context window saturation, remaining turns to exhaustion forecasting, turn-by-turn growth curves, and context compaction event detection.
  • Context bloat hotspot detection identifying anomalous tool invocations injecting large token payloads into agent context.
  • Passive persistent knowledge memory bank discovery (AGENTS.md, CLAUDE.md, .cursorrules, .cursor/rules/*.mdc, .gemini/rules/*.md, copilot-instructions.md) with automated categorization and prompt token tax calculations.
  • Memory security and cross-rule conflict auditor detecting prompt injection directives, command execution risks, credential leaks, and contradictory directives.
  • CLI subcommand chakshu memory [--session ID] providing terminal progress gauges, bloat hotspots, and persistent rule tax reports.
  • Real-time OS process RAM (RSS in MB, VSZ, %MEM) tracking for active AI coding agent processes in chakshu ps and the Web UI.
  • REST API endpoint /api/memory and augmented /api/session memory payloads.
  • Interactive Web UI Context & Memory dashboard (web/components/MemoryDetailView.tsx) with saturation gauges, step trajectory sparklines, composition breakdowns, bloat hotspot cards, and persistent rule tables.
  • Installed Plugin Store & Supply-Chain Discovery Catalog (internal/plugin): passive multi-agent plugin discovery (Antigravity, Claude Code, Gemini CLI, Cursor), manifest parsing (plugin.json, gemini-extension.json, .claude-plugin/plugin.json), bundled capability inspection (Skills, Rules, MCP, Hooks), and static security auditing.
  • CLI subcommands chakshu plugins and chakshu audit-plugins for terminal inventory and integrity audits.
  • SQLite plugin_inventory persistence table with automated schema migrations.
  • REST API endpoints /api/plugins and /api/plugins/detail.
  • Interactive App-Store web dashboard (web/components/PluginStoreView.tsx) with search, agent/trust/capability filters, and deep-dive inspection modals.
  • Multi-agent plugin discovery and supply-chain auditing across Antigravity, Claude Code, Gemini CLI, and Cursor ecosystems.
  • Complete open-source governance suite (CONTRIBUTING.md, CODE_OF_CONDUCT.md, SECURITY.md, SUPPORT.md, GOVERNANCE.md, ARCHITECTURE.md, ROADMAP.md).
  • Multi-agent specifications for OpenAI Codex, Claude Code (CLAUDE.md), Cursor IDE (.cursor/rules/), and GitHub Copilot (.github/copilot-instructions.md).
  • Structured .agents/ directory containing role definitions, reusable skills, guardrails, and operational workflows.
  • Developer experience tooling: Makefile, .editorconfig, .env.example, and .githooks/pre-commit.
  • Unit tests for internal/watcher, internal/pidfile, and internal/event achieving 100% package test presence.
  • GitHub Actions workflows for multi-platform CI, CodeQL static security analysis, dependency review, and automated releases.

Fixed

  • Fixed unreachable code error in internal/audit/audit.go reported by go vet.
  • Standardized Go code formatting across all packages with gofmt.

[1.0.0] - 2026-11-30

Added

  • Local-first background watcher daemon with transactional byte-offset checkpointing (chakshu daemon, chakshu stop, chakshu reset).
  • Multi-agent transcript adapters for Codex, Claude Code, and Gemini CLI / Antigravity.
  • Real token accounting (input_tokens, output_tokens) and blended model pricing estimation.
  • Terminal CLI inspection commands (logs, tail, stats, count, import, export).
  • Security and safety audit engine (chakshu audit, audit-mcp, audit-skills) detecting destructive shell commands, credential leaks, remote scripts, and chained attack events.
  • Agent process discovery and emergency lifecycle controls (chakshu ps, chakshu kill).
  • Embedded single-binary Next.js web dashboard (chakshu ui) with client-side hash routing, model-wise telemetry breakdown, and dark/light mode themes.