ruv
6198abfab7
fix(plugins): reconcile stale smoke contract assertions across 23 plugins
...
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 >
2026-05-29 15:00:34 -04:00
Reuven
003624f740
feat(ruflo-plugin-creator): v0.2.0 — scaffold the canonical contract + MCP-drift warnings (ADR-0001)
...
The meta-plugin that creates new plugins now (a) follows the same
contract every other plugin adopted, and (b) propagates that contract
to every newly-scaffolded plugin. The retrofit work the loop is doing
right now becomes unnecessary for new plugins.
Drift fixed:
- create-plugin skill claimed "19 AgentDB controllers" (the same myth
ruflo-agentdb ADR-0001 killed). Replaced with "15 controller-bridge
tools; defer to agentdb_controllers runtime for canonical list".
Scaffolder updates (the create-plugin skill now generates):
- docs/adrs/0001-<name>-contract.md (Proposed)
- scripts/smoke.sh (≥8 structural checks)
- README sections: Compatibility (pin v3.6), Namespace coordination
(defers to ruflo-agentdb ADR-0001), Verification, Architecture Decisions
- "MCP-tool drift to avoid" section warning new authors about the four
real bugs found in sibling ADRs:
1. embeddings_embed does not exist (use embeddings_generate)
2. agentdb_hierarchical-* ignores namespace arg (use tier or memory_*)
3. agentdb_pattern-* ignores namespace arg (ReasoningBank routes;
fallback writes to pattern reserved)
4. pattern (singular) ≠ patterns (plural) — different reserved namespaces
Plugin contract additions:
- ADR-0001 (Proposed) at docs/adrs/0001-plugin-creator-contract.md
- README adds Compatibility (pin v3.6), Canonical plugin contract block
showing the scaffolded directory shape, MCP-tool drift table,
Verification + Architecture Decisions
- plugin.json bumps 0.1.0 → 0.2.0; description names the canonical
contract; keywords add mcp, scaffolding, contract-bootstrap
- scripts/smoke.sh — 10 structural checks: version + keywords, both
skills + agent + command, scaffolder generates ADR + smoke + Compat +
Namespace, scaffolder includes MCP-drift warnings, regression check
on "19 controllers", v3.6 pin, Architecture Decisions section,
ADR Proposed, validate-plugin present, no wildcard tools
Verification: bash plugins/ruflo-plugin-creator/scripts/smoke.sh → 10/10
Co-Authored-By: RuFlo <ruv@ruv.net >
2026-05-04 20:29:01 -04:00