feat(memory): FPLAN-0270 Phase 2 — check_entry validator + drone @memory lint (read-only audit)
Pure check_entry(type,text,limits) validator (chars not bytes, boundary at cap, unknown-type safe) reusable by both gates. New 'drone @memory lint run' scans all branches' .trinity via registry, handles dict+list containers and both key_learning value shapes, sorts worst-first — strictly READ-ONLY (never writes/ trims, honors never_trim_s153). Phase-1 unused_function bypass removed (reader now called). +12 tests (902 total), seedgo 100%. Verified by artifact incl. live lint: 513 over-limit entries across 17 branches (devpulse worst at 71, top offender 5724/600). enforce still false. Part of DPLAN-0205. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
e47d4f0463
commit
828cc1c8d8
@@ -82,7 +82,8 @@ def print_help():
|
||||
console.print()
|
||||
console.print(
|
||||
Panel.fit(
|
||||
"[bold cyan]Memory - Central Memory Archive System[/bold cyan]\n[dim]Vector search, memory rollover, and fragmented memory for AIPass[/dim]",
|
||||
"[bold cyan]Memory - Central Memory Archive System[/bold cyan]\n"
|
||||
"[dim]Vector search, memory rollover, and fragmented memory for AIPass[/dim]",
|
||||
border_style="cyan",
|
||||
box=box.ROUNDED,
|
||||
)
|
||||
@@ -120,6 +121,7 @@ def print_help():
|
||||
table.add_row("pool process", "Process pool files + check/run rollover")
|
||||
table.add_row("pool status", "Show pool file count, config, vector stats")
|
||||
table.add_row("verify <plan_label>", "Check if a plan is vectorized in ChromaDB")
|
||||
table.add_row("lint [@branch]", "Audit .trinity entries for over-limit violations (read-only)")
|
||||
table.add_row("watch", "Start memory watcher (auto-rollover on changes)")
|
||||
|
||||
console.print(table)
|
||||
@@ -166,7 +168,8 @@ def print_help():
|
||||
console.print()
|
||||
|
||||
console.print(
|
||||
"Commands: search, rollover [run|status|check|sync-lines], pool [process|status], symbolic, templates, verify, watch"
|
||||
"Commands: search, rollover [run|status|check|sync-lines], lint,"
|
||||
" pool [process|status], symbolic, templates, verify, watch"
|
||||
)
|
||||
console.print()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user