feat(prax): introspection 100%, dead module cleanup, stale logs removed (#93)

* feat(flow): feat(flow): template registry system, introspection/help overhaul, no-fallback errors

Co-Authored-By: @flow <flow@aipass>

* feat(prax): monitor restoration phases 1-3, dead module cleanup, help cleanup

Co-Authored-By: @prax <prax@aipass>

* feat(prax): introspection 100%, dead module cleanup, stale logs removed

Co-Authored-By: @prax <prax@aipass>

---------

Co-authored-by: @flow <flow@aipass>
Co-authored-by: @prax <prax@aipass>
This commit is contained in:
AIPass
2026-03-18 20:37:26 -07:00
committed by GitHub
co-authored by @flow @prax
parent 27b454477e
commit d714535ad3
4 changed files with 35 additions and 3 deletions
+21
View File
@@ -20,6 +20,27 @@
"subject": "Dashboard Pipeline — Full Lifecycle",
"date_closed": "2026-03-18",
"location": "prax"
},
{
"plan_id": "FPLAN-0025",
"type": "FPLAN",
"subject": "Prax Monitor Restoration — rich output, caller attribution, inotify resilience",
"date_closed": "2026-03-19",
"location": "prax"
},
{
"plan_id": "FPLAN-0106",
"type": "FPLAN",
"subject": "Monitor Phase 1: visible degradation + polling fallback",
"date_closed": "2026-03-19",
"location": "prax"
},
{
"plan_id": "FPLAN-0109",
"type": "FPLAN",
"subject": "Monitor Phase 2: caller attribution via drone CALLER markers",
"date_closed": "2026-03-19",
"location": "prax"
}
]
}
+5 -1
View File
@@ -73,6 +73,10 @@ def handle_command(command: str, args: List[str]) -> bool:
if command != 'agent-status-push':
return False
if not args:
print_introspection()
return True
from aipass.prax.apps.handlers.dashboard.agent_status_writer import (
build_agent_status_section,
push_agent_status_dashboard,
@@ -80,7 +84,7 @@ def handle_command(command: str, args: List[str]) -> bool:
json_handler.log_operation("agent_status_push_executed", {"args": args})
if '--help' in args:
if args[0] in ('--help', '-h', 'help'):
print_help()
return True
+3
View File
@@ -293,4 +293,7 @@ def handle_command(_command: str, args: list) -> bool:
if not args:
print_introspection()
return True
if args[0] in ('--help', '-h', 'help'):
print_introspection() # Logger has no user commands — introspection IS the help
return True
return False
+6 -2
View File
@@ -45,10 +45,14 @@ def handle_command(command: str, args: List[str]) -> bool:
if command != 'status':
return False
json_handler.log_operation("status_checked", {"subcommand": args[0] if args else "default"})
if not args:
print_introspection()
return True
json_handler.log_operation("status_checked", {"subcommand": args[0]})
# --- sub-command routing ------------------------------------------------
if args and args[0] in ("--help", "help"):
if args[0] in ("--help", "-h", "help"):
print_help()
return True