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): SQLiteFTS5virtual table (tool_calls_fts) with automatic triggers/backfill,GET /api/search,chakshu search, and Web UICmd+K/Ctrl+KGlobalSearchModal. - 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 CLItail/logs --followwarnings. - Runtime Policy, Hash Chain & MCP Pinning (
OPP-06): Wiredinternal/policyintowatcherandimporter, chained flagged events intosecurity_eventswithaudit.ChainEvent, added SHA-256 MCP config pinning/drift detection (including~/.claude.json), and surfaced chain integrity + drift badges inAuditView. - Decision & Constraint Ledger + Stale/Contradiction Detection (
OPP-02): Extractedconstraint,decision,workaround, anddead_endmemories intosession_memories, reconciledstale/superseded/contradictedstates (internal/memory/reconcile.go), addedchakshu 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) exposingsearch_decisions,get_file_context,search_sessions, andrecord_constraint. - Session Reliability Scoring (
OPP-07):0–100(clean | moderate | fragile) reliability scoring ininternal/statsand 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 viachakshu snapshot-hook,chakshu rollback,/api/snapshots,/api/rollback, and SessionFilesrollback UI. - Cursor IDE Adapter (
OPP-05) & Multi-Harness Subagent Linking: Addedinternal/adapter/cursor.go, Claude Code/code-reviewslash-command +~/.claude/plugins/installed_plugins.json+.mcp.json/commands/*.mdsupport, 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_versionsrevision tracking via composite SHA-256 fingerprints overSKILL.mdand 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,UNOBSERVABLEtelemetry handling, required-rule gates, independentSecurityVerdict, human feedback layering, evidence-linkedGenerateInsights, 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-overRunReportDrawer. - Documentation in
docs/SKILL_INTELLIGENCE.md. - Human Approval & Intervention Tracking (
internal/approval,internal/event/approval_event.go): - Unified, strongly-typed
ApprovalEventdomain model with normalized lifecycle (REQUESTED,APPROVED,REJECTED,CANCELLED,TIMED_OUT,EXPIRED,UNKNOWN), decision provenance (CONFIRMEDvsINFERRED), and execution outcome tracking (EXECUTED_SUCCESS,EXECUTED_FAILED,SKIPPED,NOT_EXECUTED,PENDING,UNKNOWN). - Extensible
ApprovalExtractorinterface 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_eventspersistence table with indexes, automatic legacy-preserving migrations, and atomicCommitWithApprovalsingestion inwatcherandimporter. - REST API endpoints:
GET /api/approvals,GET /api/approvals/{approvalId},GET /api/sessions/{sessionId}/approvals,GET /api/analytics/approvals,GET /api/analytics/approvals/agents, andGET /api/analytics/approvals/tools, plus approval counts inGET /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.mdand 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 psand the Web UI. - REST API endpoint
/api/memoryand augmented/api/sessionmemory 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 pluginsandchakshu audit-pluginsfor terminal inventory and integrity audits. - SQLite
plugin_inventorypersistence table with automated schema migrations. - REST API endpoints
/api/pluginsand/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, andinternal/eventachieving 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.goreported bygo 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.