plugins/ruflo-adr/docs/adrs/0001-adr-plugin-pattern.md
ruflo-adr is the meta-plugin that manages ADR lifecycle for projects (this one included — every other plugin in this repo is documenting itself with an ADR-0001 by the very contract this plugin proposes). The plugin already shipped four useful pieces:
agents/adr-architect.md — agent contract pointing at REFERENCE.md for the heavy template (per ADR-098 Part 2 token-diet)commands/adr.md — 7-subcommand dispatcher (create | list | status | supersede | check | graph | search)adr-create, adr-index, adr-reviewREFERENCE.md containing the markdown template, AgentDB graph paths, code-ADR linking patternsGaps observed against the pattern established by ruflo-ruvector ADR-0001, ruflo-agentdb ADR-0001, ruflo-browser ADR-0001, ruflo-intelligence ADR-0001:
scripts/smoke.sh enforcing the contract.adr-patterns (kebab-case, follows the convention) but never cite the convention from ruflo-agentdb ADR-0001.@claude-flow/cli v3.6.0.1.1. Pre-pattern. Bump to 0.2.0 to align the cadence.Five plugin-local edits. No changes to CLI source or AgentDB internals.
docs/adrs/0001-adr-plugin-pattern.md (this file). Status Proposed. Cross-links the four sibling ADRs.
Append three sections, retain everything that's there:
@claude-flow/cli v3.6 (matches the cadence).ruflo-agentdb ADR-0001 §"Namespace convention". adr-patterns is the canonical namespace this plugin owns; the reserved namespaces (pattern, claude-memories, default) MUST NOT be shadowed.scripts/smoke.sh.plugin.json moves 0.1.1 → 0.2.0. New keywords: lifecycle, compliance, causal-graph, mcp. Description re-states the AgentDB graph backing.
scripts/smoke.sh)10 checks:
plugin.json declares 0.2.0 with the new keywords.adr-create, adr-index, adr-review) with valid frontmatter (name + description + allowed-tools).commands/adr.md covers all 7 subcommands (create | list | status | supersede | check | graph | search).REFERENCE.md (the token-optimization pattern from ADR-098 Part 2).adr-patterns namespace consistently.@claude-flow/cli v3.6.ruflo-agentdb ADR-0001.Proposed.REFERENCE.md exists and is non-empty.The agent already writes to adr-patterns (correct kebab-case form per the namespace convention). No changes needed beyond the namespace coordination cross-reference, which lives in the README, not the agent.
Positive:
adr-patterns namespace is now contractually owned by this plugin (anyone else writing there is on notice).Negative:
0.1.1 to 0.2.0 is a one-minor jump. Justified by the new contract, not by behavior change.Neutral:
bash plugins/ruflo-adr/scripts/smoke.sh
# Expected: "10 passed, 0 failed"
plugins/ruflo-ruvector/docs/adrs/0001-pin-ruvector-0.2.25.md — pinning + smoke-as-contract precedentplugins/ruflo-agentdb/docs/adrs/0001-agentdb-optimization.md — namespace convention this plugin defers toplugins/ruflo-browser/docs/adrs/0001-browser-skills-architecture.md — session-as-skill precedentplugins/ruflo-intelligence/docs/adrs/0001-intelligence-surface-completeness.md — surface-completeness precedentplugins/ruflo-adr/REFERENCE.md — heavy reference data (template, AgentDB paths) per ADR-098 Part 2 token-diet