detail
Final command set: 5 PHP files (OPEN, REFRESH, CLOSE, CHECK, CLEAN) all built on one shared verify_lib.php engine, zero duplicated verification logic. OPEN runs full gated sequence: Five Checks, pickup, actionability gate, freshness sweep, knowledge-write gate, toolbox branch. REFRESH is the same gates minus one-time setup (config/knowledge load). CLOSE writes decisions+session dual to both DBs, links back, runs close_check+outbound_check from shared lib. CHECK is standalone Five Checks. CLEAN is Server-only: roster compliance audit + trash lifecycle. Gates are hard blocks: actionability (unresolved actionable items block completion), freshness (stale boards block completion, tied to whether this pickup implies drift), knowledge-write (standing-duty/gov items must be confirmed written to knowledge/jurisdiction files). Toolbox branch runs registered per-system tools and suggests new ones if none exist yet — non-blocking, offer only. Personal sub-commands (like CLEAN's trash/roster steps) live as lessons in knowledge/jurisdiction files, not hardcoded PHP, so they can evolve without redeployment. Registry (systems/commands/registry.php) tracks per-system toolbox tools, currently empty for all 11 pending first real tool.