feat(system): stderr routing migration Phase 3 — 10 branches migrated (FPLAN-0033)
Migrated error()/warning() calls across 10 branches to use CLI display API which routes to stderr. 48 files modified across ai_mail, api, backup, daemon, flow, memory, prax, seedgo, spawn, trigger. Seedgo stderr_routing standard created (24th standard) with full-file scanning. System average 49% → 69%. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
154e92d13e
commit
97952124b5
@@ -16,7 +16,7 @@ import sys
|
||||
from typing import List
|
||||
|
||||
from aipass.prax.apps.modules.logger import initialize_logging_system, system_logger as logger
|
||||
from aipass.cli.apps.modules import console
|
||||
from aipass.cli.apps.modules import console, error
|
||||
|
||||
|
||||
def print_introspection():
|
||||
@@ -77,7 +77,7 @@ def handle_command(command: str, args: List[str]) -> bool:
|
||||
|
||||
except Exception as e:
|
||||
logger.error(f"Error in init command: {e}")
|
||||
console.print(f"[red]❌ ERROR: {e}[/red]")
|
||||
error(str(e))
|
||||
return True
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user