mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-25 06:36:49 +09:00
Records the decision and migration plan for adopting the upstream
aidefence@2.3.0 npm release (paired with aimds-* 0.1.1 on
crates.io, both shipped 2026-05-14). Same MCP-tool surface, strictly
better detection + accurate audit counters + cleared CVE.
Covers:
• What changed upstream (sanitizer regex now matches "ignore all
previous instructions" + role-hijack + jailbreak markers;
AuditLogger counters fixed; meta_learning effectiveness +
optimize_strategy bugs fixed; RUSTSEC-2024-0421 cleared).
• Decision: bump @claude-flow/aidefence to consume the new
upstream; no MCP signature changes; add invariant to
audit-fix-invariants.mjs to prevent silent downgrade.
• Per-plugin doc updates needed (ruflo-aidefence,
ruflo-federation, ruflo-browser, ruflo-security-audit).
• Migration: bump → 3-gate smoke → new detection-positive smoke
gates → dashboard re-baseline → invariant entry.
• Compatibility note: aidefence_is_safe now returns unsafe on
phrasings it previously passed (the canonical injection prefix
+ role-hijack + jailbreaks). Intended improvement; flagged for
plugins that may have pre-baselined the old behavior.
Slots into the alpha.36 audit-guard pattern just established
(PR #2001 / 25 invariants).
Co-authored-by: Reuven <cohen@ruv-mac-mini.local>