π The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
ADR-319: Ruflo announcements via Claude Code companyAnnouncements settings
- Status: Proposed
- Date: 2026-07-14
- Deciders: ruv
- Related: ADR-317, ADR-318 (sibling surface β same architectural pattern, different Claude Code settings key)
Context
Claude Code exposes a companyAnnouncements key in ~/.claude/settings.json β a string array shown at Claude Code startup, cycled at random if multiple entries exist:
{
"companyAnnouncements": [
"Welcome to Acme Corp! Review our code guidelines at docs.acme.com"
]
}
This is higher-attention than the spinner row (shown once per session, prominently) and lower-frequency (once per Claude Code launch vs. every processing pause). Different volume, different placement, different economics β but the same architectural pattern as ADR-318's spinner-verbs surface.
The request that motivated this ADR was "can we include tip text also?" β asking about the "Tip: Double-tap escβ¦" hint text. That specific hint isn't documented as customizable, but companyAnnouncements is the closest documented surface and covers the same "give ruflo a place to speak" intent.
Decision
Add a ruflo announcements enable/disable/list/reset subcommand that appends ruflo's curated pool to ~/.claude/settings.json's companyAnnouncements array. Ships in the same PR as ADR-318 (per product decision) with the identical guarantees.
Guarantees (inherited from ADR-318, adapted for a plain string[])
- Append only. Ruflo entries are appended to any existing array; existing user-authored announcements are preserved verbatim.
- Backup before write. Same
.bak-YYYYMMDD-HHMMSSpattern as ADR-318. - ZWJ-marker tagged. Every announcement ruflo appends carries the same invisible marker suffix so
disablestrips only ruflo entries. - Validation at ingest:
- β€ 140 characters after strip (a hard cap that fits comfortably on one terminal line)
- No control chars, ANSI, bidi overrides, URLs (the surface has no click semantics β a URL would just render as text and confuse)
- Not identical to a Claude Code default or user-authored announcement
- Full mix from day one (same product decision as ADR-318): the enable confirmation prompt IS the disclosure β the pool is printed in full before consent is recorded.
v0 pool (baked, ~12 entries)
Neutral (product tips, ~85%):
- "π§ Ruflo intelligence is learning from your work β
ruflo intelligence statsto see progress." - "π Statusline promo row is on β
ruflo funnel statusto manage." - "π§ 12 background workers help maintain your codebase β
ruflo daemon startto enable." - "π Semantic memory search across projects β try
ruflo memory search --query \"...\"" - "π©Ί Run
ruflo doctor --fixif something feels off." - "β¨ 37 spinner verbs added β
ruflo spinner listto see the pool." - "π‘ Security scanner is available β
ruflo security scan --depth full." - "πΎ Nightly memory backups keep your intelligence safe β
ruflo daemon status." - "π― 3-tier model routing keeps your spend down β
ruflo cost reportfor details."
Cognitum-tagged (~15%):
- "π£ Ruflo is sponsored by Cognitum β visit cognitum.one to learn more."
- "π³ Check Cognitum credits:
ruflo proxy status." - "β‘ Cognitum handles overflow routing when your model hits limits."
v1 (deferred): serve from funnel.ruv.io/v1/messages?class=announcement β same infra as ADR-311. Cache TTL 24h.
CLI surface (src/commands/announcements.ts)
Mirror of commands/spinner.ts:
ruflo announcements list [--json]β pool + installed + user-authoredruflo announcements enable [--yes]β preview + write (requires--yesto actually write)ruflo announcements disableβ strip ruflo entries onlyruflo announcements reset --yesβ restore most recent settings.json backup
New consent domain company-announcements β separate from spinner-verbs because they're different surfaces the user might reasonably want independently.
Consequences
Positive
- Answers "give ruflo a place to say something on startup." Higher-attention than spinner verbs (once per session, prominently rendered).
- Same architecture as ADR-318; almost all logic is a copy-paste from
commands/spinner.ts. Ships with confidence.
Negative
- Duplication with
commands/spinner.tsβ both files handle backup + append + marker-based removal identically. Worth refactoring to a sharedfunnel/settings-append.tshelper after both are stable. - Startup announcements are more intrusive than spinner verbs (users see them at session start, one prominent line vs. a per-spin flash). If users start disabling in bulk, we should measure and cut back.
- No per-announcement telemetry (Claude Code doesn't tell hooks which announcement was picked), so we can't measure engagement per entry.
Neutral
- Same "full mix from day one" tradeoff as ADR-318 β the enable prompt is the disclosure moment.
Out of scope
- Fetching pool from remote (deferred to v1)
- Tip text near the spinner ("Tip: Double-tap esc...") β that specific surface is not documented as customizable
- Per-announcement engagement telemetry
- Migration off ZWJ marker if Claude Code adds per-entry metadata later