full-system-test surfaced 23/32 plugin smoke contracts failing on a
single drifted assertion: the smoke gate greps ADR-0001 for
`status: Proposed`, but those ADRs were long since promoted to
`Accepted` without updating the gate. Flip the assertion (label, grep,
message) Proposed -> Accepted only where the ADR is genuinely Accepted.
ruflo-core additionally had a stale version assertion (0.2.0 -> 0.2.2).
Left untouched: ruflo-adr, ruflo-browser, ruflo-intelligence — their
ADR-0001 is genuinely Proposed, so their smokes correctly assert it.
No plugin source or ADR changed — only the drifted test assertions.
All 32 plugin smoke contracts now pass; full-system-test is 4/4 green.
Co-Authored-By: RuFlo <ruv@ruv.net>
Followup to ADR-118. Three plugin READMEs amended to describe what
the upstream aidefence@2.3.0 / aimds-*@0.1.1 release improves in
their existing 3-gate flows:
• ruflo-aidefence: new "What the gates catch" table — prompt
injection (0..4 modifier window), role hijack, jailbreak
markers; aidefence_stats counters now accurate.
• ruflo-browser: AIDefence Gate 3 (Prompt-injection check) note
that scraped-content scans now flag role-hijack + jailbreak
in addition to the canonical `ignore all previous
instructions` family.
• ruflo-federation: 3-gate alignment block extended with a
paragraph that the inbound aidefence_is_safe gate's wider
detection runs through the adaptive confidence calibration
automatically — no plugin code change needed.
No semantic change to the plugins themselves. Pure documentation
of behavior the 2.3.0 bump already provides through the unchanged
MCP-tool surface.
Co-authored-by: Reuven <cohen@ruv-mac-mini.local>
Mirrors the federation_send budget envelope work that landed in 7e1cc06
into the user-facing Claude Code plugin so end users can discover and use
the new controls.
Files:
plugins/ruflo-federation/.claude-plugin/plugin.json
Bump 0.1.0 → 0.2.0 (the budget circuit breaker is a meaningful
surface change). Add circuit-breaker / budget / token-quota
keywords. Description gains "and per-call budget circuit breaker
(ADR-097)".
plugins/ruflo-federation/README.md
New "Budget Circuit Breaker (ADR-097)" bullet under What's Included.
Full new section "Budget & Circuit Breaker" with the field table
(maxHops/maxTokens/maxUsd/hopCount/spent), defaults, hard ceilings,
validation behavior, and the Phase 1/2/3 roadmap. Notes constant-
string error responses (HOP_LIMIT_EXCEEDED, BUDGET_EXCEEDED) and
the anti-oracle posture.
plugins/ruflo-federation/commands/federation.md
Add `send <node-id> <message-type> <payload>` subcommand to the
Usage block. Document the seven budget options (--max-hops,
--max-tokens, --max-usd, --hop-count, --spent-tokens,
--spent-usd) with defaults. List the constant-string error codes.
Add the npx invocation step.
plugins/ruflo-federation/agents/federation-coordinator.md
Add responsibility #6 — budget enforcement — to the agent's job
description. Add the `send` invocation under Tools so the agent
knows the new option set.
No code changes — this is the surface that end users actually consume
when they /plugin install ruflo-federation, so it has to track the
underlying plugin's API.