mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-24 06:06:02 +09:00
Two related issues fixed:
1. The "[AgentDB Patch] Controller index not found" warning printed on
every command despite the previous suppression code, because the
underlying call site uses console.log not console.warn. The override
was patching console.warn only, so it was effectively a no-op for
this warning. Now patches both.
2. Audit log audit_1776483149979 flagged the previous suppression as
too broad: "Console.warn override suppresses legitimate warnings.
Could mask security-relevant warnings." Tightened the predicate
to require BOTH "[AgentDB Patch]" AND "Controller index not found"
so any other future [AgentDB Patch] message (real issues) still
reaches the user.
Verified locally:
- `ruflo memory init --force` no longer prints the noise line.
- `ruflo --version` is clean.
- `console.log('[AgentDB Patch] some other future warning')` still
prints (sanity check) — only the specific cosmetic phrase is filtered.
Cosmetic warning has no functional impact on the 8/23 disabled
controllers (those remain disabled per ADR-093 F9 and require separate
ADRs for activation). This commit only stops the noise; controller
enablement is still tracked separately.
Co-Authored-By: RuFlo <ruv@ruv.net>