Drop 9 batch proposals that are superseded by the boocode-lift-analysis (boocontext-audit, conductor upgrades, self-healing/verify-gate skills): add-3tier-memory, import-llm-evaluator, import-pregel-engine, plugin-platform, conductor-evolution, code-intelligence-upgrade, dev-workflow, ui-overhaul, agent-reliability. Delete 11 stub archive files (49-66B each, 'Status: Shipped. Archived.' only) that provide zero documentation value over the existing CHANGELOG.md + git tags.
2.1 KiB
Why
The audit-harness (hooks + skills + AuditContext) and Parlant (GuidelineStore + Journey engine) provide two proven patterns for agent session management. audit-harness solves context-window loss through persistent audit trails, graded recovery, and structured commands (/start → /end → /recover → /report-daily). Parlant solves behavioral consistency through a versioned guideline document store with tag/label-based retrieval, journey-based SOPs, and backtrack detection.
Porting these patterns into boocode's agent ecosystem gives every agent working in this repo persistent session management, cross-session user correction awareness, and behavioral guideline enforcement — without building any of it from scratch.
What Changes
New Capabilities
-
Data Directory Convention:
.boo/runs/directory with buffer files, session dirs,.current_sessionhandshake, unifiedindex.json.AUDIT_DOT_DIRenv var for platform override. -
Session Lifecycle Commands:
/startcreates named audit sessions with auto-recovery (L0+L2)./endflushes buffers, runs integrity checks, generatessession_summary.md./recovergraded context loading (L0–L3)./report-dailyaggregates all sessions into a 7-section report;/report-daily reviewalso runs morning self-review. -
User Correction Tracking: Structured
user_correctionrecords withoriginal_claim/correction/principle_extracted/persisted_to. Auto-detected on/end. Correction-as-precedent enforcement when agent actions contradict prior corrections. -
Behavioral Guidelines Store: Versioned GuidelineDocumentStore ported from Parlant with condition+action+description content model, tag/label filtering, and content-based
find_guideline(). Journey → guideline auto-projection (SOP nodes → guidelines with follow-up edges). Journey backtrack detection batch.
Dependencies
- Existing audit-harness patterns (audit-context.py, hooks, skills) reference implementation.
- Parlant's GuidelineStore (guidelines.py) and JourneyStore (journeys.py) reference implementation.
- No new external services. File-based JSONL storage (audit-harness pattern).