agent/php/Mcp/Console
Snider 066e1fee51 feat(mcp): implement §8 Console Commands (3 commands) (#853)
Additive-only — no existing files modified.

- McpAgentServerCommand: line-oriented JSON-RPC stdio loop over
  ToolRegistry with McpQuotaService + QueryAuditService hooks
- PruneMetricsCommand: prunes stale mcp_tool_metrics rows + aggregate
  reporting, fails cleanly when table missing
- McpMonitorCommand: status / alerts / export / report / prometheus
  subcommands, --json flag

Pest Feature tests _Good/_Bad/_Ugly per AX-10 for each command.
Boot.php registration deferred per scope (additive-only). pest skipped
(vendor binaries missing).

Co-authored-by: Codex <noreply@openai.com>
Closes tasks.lthn.sh/view.php?id=853
2026-04-25 05:27:48 +01:00
..
McpAgentServerCommand.php feat(mcp): implement §8 Console Commands (3 commands) (#853) 2026-04-25 05:27:48 +01:00
McpMonitorCommand.php feat(mcp): implement §8 Console Commands (3 commands) (#853) 2026-04-25 05:27:48 +01:00
PruneMetricsCommand.php feat(mcp): implement §8 Console Commands (3 commands) (#853) 2026-04-25 05:27:48 +01:00