mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-25 06:36:49 +09:00
The console half of Project Anatole (ADR-453; the ruflo-protector plugin is on main, default off). A collapsible section on the Security & Doctor page, in labelled blocks: - Status: mode, a baseline maturity bar, open alerts by severity, blocked count, degraded, and a line saying the data is reported by the mod and unauthenticated; - Rules: the 13 rules as an aligned table with their OWASP refs, an off/notify/block chip each, hits and acked share (from the last 200 alerts), "changed from default" and "auto-demoted"; - Actions: run (scan the Claude configuration) and replay (what would have fired), results in the page's Result panel; - Mode: off/learn/notify/enforce with a sentence on what the current mode does, and reset baseline; - Open alerts: two lines each, with ack and allow buttons; the Findings meter also counts them, labelled as the mod's report. Reading is bounded and regular-file-only, every field is whitelisted and cleaned (a hostile file cannot break the page), and rule ids, fingerprints and alert ids are matched against tight patterns before they can reach a command. Every change goes through the confirm gate: a mode, rule, ack or allow change is a write; switching to enforce is declared install-class and reset-baseline delete-class, so Claude's own console tools always wait for the person on them. With the plugin never reported, the section is one install line. Co-Authored-By: RuFlo <ruv@ruv.net>