Files
ruflo/plugins/ruflo-goals/scripts
ReuvenandRuFlo 714cd534c0 feat(ruflo-goals): adopt plugin contract — legacy-vs-canonical namespace mapping + ADR-099 anchor (ADR-0001)
Plugin already at v0.2.0 with 4 agents + 5 skills + 1 command. The
contract pieces were missing, plus a real namespace audit finding:
six namespaces predate ruflo-agentdb ADR-0001's <plugin-stem>-<intent>
convention and are not compliant. Renaming risks breaking existing
stored data.

ADR-0001 documents the legacy-vs-canonical mapping:
- adr → defer to canonical adr-patterns (owned by ruflo-adr)
- dossier → documented base-name exception (cf. federation)
- research → goals-research (legacy reads + new writes pending data
  portability ADR)
- research-sources → goals-research-sources (same)
- horizons → goals-horizons (same)
- horizon-sessions → goals-horizon-sessions (same)

New writes from this plugin SHOULD use the canonical kebab-case form;
reads check both for backward compatibility. A future ADR will propose
the rename + migration once the data-portability path is designed.

- ADR-0001 (Proposed) at docs/adrs/0001-goals-contract.md
- README adds Compatibility (pin v3.6), Namespace coordination with the
  legacy-vs-canonical mapping table, ADR-099 dossier-investigator block
  (seed-driven, graph output, budget caps, provenance per claim),
  Verification + Architecture Decisions sections
- plugin.json keywords add mcp, evidence-grading, legacy-namespaces
- scripts/smoke.sh — 10 structural checks: version + keywords, all 5
  skills + 4 agents + command present, 4 task patterns in selection
  guide, ADR-099 cross-link, v3.6 pin, namespace coordination, legacy
  mapping entries, ADR Proposed, ADR-099 invariants documented,
  no wildcard tools

Verification: bash plugins/ruflo-goals/scripts/smoke.sh → 10/10

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-05-04 20:06:53 -04:00
..