mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-10-23 03:47:00 +09:00
feat(mods): shared toast system with levels, dedupe, persistence and Settings (ADR-477)
One dependency-free policy (canonical in ruflo-mods, byte-identical copies in console, swarm and protector, checked by scripts/sync-toast-policy.mjs and each smoke.sh): level prefixes, one washed line of at most 120 characters, 60 s de-duplication, four toasts a minute per source with errors held and counted, the person's all/important/off setting and per-source mute (console Settings, mirrored to a file the others read), and a digest of every toast kept for the console's Events page. All call sites migrated; new toasts for a mission that finishes or fails and a swarm subagent that fails or a loop that is stuck. Versions: console 0.37.0, swarm 0.3.4, protector 0.1.1, mods 0.3.16. Co-Authored-By: RuFlo <ruv@ruv.net>
This commit is contained in:
1 parent
1175bc19c9
commit
146febd999
19 files changed
+218
-19
No files matched your search
@@ -35,6 +35,10 @@ CONSOLE_DRIVE_INSTALL="$PWD:ruflo-mods@ruflo" RUFLO_E2E_LIVE=1 bash plugins/rufl
|
||||
--expect 'Hide unused agent types' "$PWD/plugins/ruflo-console" read "Open view settings with chip mods, then console_state, and quote the ruflo-mods option rows."
|
||||
```
|
||||
|
||||
## Toasts (ADR-477)
|
||||
|
||||
Settings → Interface and updates → **Toasts** sets what the ruflo plugins may show over the transcript: `all`, `important` (warnings and errors) or `off`, with a mute chip each for `console`, `swarm`, `protector` and `mods`. It is kept in the console's store and mirrored to `.claude-flow/console/toast-prefs.json`, which the other plugins read. Every toast, drawn or not, becomes an event on the Events page (`toast <source> <glyph> <text> [off|muted|deduped|…]`); the other plugins' digests are read from `.claude-flow/console/toasts/<source>.jsonl`, masked and capped. The console itself also toasts a mission that finishes (`ok`) or loses a task (`error`), and its update notes by level. Design and contract: [ADR-477](../../v3/docs/adr/ADR-477-mod-toasts.md).
|
||||
|
||||
## Room and Mods
|
||||
|
||||
Open it with `/ruflo room` (menu: Safety → The Room).
|
||||
|
||||
Reference in new issue
Block a user