plugins/ruflo-federation/docs/adrs/0001-federation-contract.md
ruflo-federation (v0.2.0) — comms layer for cross-installation agent federation. Plugin-internal (drives @claude-flow/plugin-agent-federation via npx; no CLI MCP tools of its own — federation tooling is npm-package-driven). Surface:
federation-coordinator)federation-init, federation-status, federation-audit)/federation)Contract gaps relative to the established cadence:
federation namespace — should be federation-patterns per kebab-case <plugin-stem>-<intent> rule, OR documented as the singular case where the plugin name itself is the intent).federation as the namespace — this is the documented exception where the plugin owns its base name; the kebab-case rule still applies, just with an empty intent. Cross-reference ruflo-agentdb ADR-0001); 3-gate alignment block (federation's PII pipeline is a richer specialization of the canonical 3 gates from ruflo-aidefence ADR-0001); Verification + Architecture Decisions sections.0.2.0 (already at the cadence). Keywords add mcp, pii-pipeline, audit-log.scripts/smoke.sh — 10 structural checks: version + new keywords; all 3 skills + agent + command with valid frontmatter; ADR-097 budget block intact (maxHops, maxTokens, maxUsd, BUDGET_EXCEEDED, HOP_LIMIT_EXCEEDED); 5-tier trust model documented (UNTRUSTED → VERIFIED → ATTESTED → TRUSTED → PRIVILEGED); compliance modes documented (HIPAA, SOC2, GDPR); v3.6 pin; namespace coordination block; 3-gate alignment cross-reference; ADR Proposed; no wildcard tools.Positive:
federation_send caps and ruflo-cost-tracker Phase 3 plans) becomes a smoke-checked invariant.Negative: none. Plugin behavior unchanged.
bash plugins/ruflo-federation/scripts/smoke.sh
# Expected: "10 passed, 0 failed"
plugins/ruflo-aidefence/docs/adrs/0001-aidefence-contract.md — canonical 3-gate pattern this plugin specializesplugins/ruflo-cost-tracker/docs/adrs/0001-cost-tracker-contract.md — ADR-097 Phase 3 integration targetplugins/ruflo-agentdb/docs/adrs/0001-agentdb-optimization.md — namespace conventionv3/docs/adr/ADR-097-federation-budget-circuit-breaker.md — host-side enforcement reference