Repository navigation
v0.8: agent-zpc — structured project memory
What's New
agent-zpc — Structured project memory for AI coding agents (tool #75). 13 commands.
Memory Commands
- learn — Capture validated lessons with tags
- decide — Log decisions with rationale, confidence, bias detection
- decide-batch — Batch-log planning decisions via stdin (pipe-delimited). Log 10 decisions in one call during the planning phase instead of running interactive PRAYER+BR for each.
- harvest — Consolidate lessons into patterns (auto-write for 5+ lesson tags)
- query — Search by tag, date, text, or type
- patterns — View established conventions, score effectiveness
- promote — Share patterns via git-tracked team scope or cross-project global
- review — Post-sprint lesson extraction from git history. Analyzes commits, drafts lessons from fixes/reverts and decisions from features/refactors. Solves the capture discipline gap where lessons go unlogged during edit-build-screenshot momentum.
Integration Commands
- inject — Emit context blob for spawned agents (with baseline counts for self-report grounding)
- init — Initialize .zpc/ with stack auto-detection and platform-specific instructions (Claude Code, Cursor, Codex, Generic)
- status — Memory snapshot with health check
- checkpoint — Swarm phase boundary check: memory inventory, agent compliance, format health, consolidation gaps. Run between phases to catch noncompliant agents and memory drift.
- profile — View/update project profile
Why decide-batch, checkpoint, and review
The versova-genesis dashboard redesign audit found three structural gaps in a 6-agent parallel swarm:
- ZPC's interactive decision framework was too slow for the planning phase (8-10 decisions to log) — decide-batch captures planning decisions without interrupting flow.
- No way to check agent compliance at phase boundaries — checkpoint runs between phases to assess memory health and flag agents that logged nothing.
- Zero lessons were captured during 5 rounds of iterative refinement — all 8 were logged retroactively after the user asked. review accepts that capture discipline loses to momentum and makes extraction a deliberate post-sprint phase.
Also in This Release
- Hook improvements: session-start auto-detects agent-do (no hardcoded paths), monorepo-aware frontend detection, ZPC project detection
- Prompt router: two-stage frontend/design intent detection (UI keywords + action keywords)
- Tightened iOS/Android prompt patterns to prevent false positives
- README rewrite highlighting standout tools (browse, zpc, dpt, unbrowse, manna)
- CHANGELOG.md covering v0.5-v0.8
Full Changelog: v0.7...v0.8