Skip to content

armgit / ruflo

Public Imported from GitHub
0

🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated

2.7 KB
Raw Blame

name: adr-create description: Create a new Architecture Decision Record with sequential numbering and AgentDB registration argument-hint: "" allowed-tools: mcp__plugin_ruflo-core_ruflo__agentdb_hierarchical-store mcp__plugin_ruflo-core_ruflo__agentdb_hierarchical-recall mcp__plugin_ruflo-core_ruflo__agentdb_causal-edge mcp__plugin_ruflo-core_ruflo__memory_store mcp__plugin_ruflo-core_ruflo__memory_search Bash Read Write Edit Grep Glob</h2> <h1>Create ADR</h1> <p>Create a new Architecture Decision Record with the next sequential number, register it in the AgentDB graph, and link it to related ADRs.</p> <h2>When to use</h2> <p>When a significant architectural decision needs to be recorded -- new technology adoption, API design choices, data model changes, infrastructure decisions, or any cross-cutting concern that affects multiple components.</p> <h2>Steps</h2> <ol> <li><p><strong>Find next number</strong> -- <code>Glob</code> for <code>docs/adr/ADR-*.md</code> and parse existing numbers to determine the next sequential ID (ADR-001, ADR-002, etc.). Create <code>docs/adr/</code> if it does not exist.</p> </li> <li><p><strong>Slugify title</strong> -- Convert the title argument to a lowercase, hyphen-separated slug (e.g., "Use PostgreSQL for persistence" becomes <code>use-postgresql-for-persistence</code>).</p> </li> <li><p><strong>Create ADR file</strong> -- <code>Write</code> the file at <code>docs/adr/ADR-NNN-<slug>.md</code> using the standard template:</p> <pre><code class="language-markdown"># ADR-NNN: <Title> - **Status**: proposed - **Date**: <today's date YYYY-MM-DD> - **Deciders**: <leave blank for author to fill> - **Tags**: <leave blank> ## Context <!-- What is the issue that motivates this decision? --> ## Decision <!-- What is the change that we are proposing? --> ## Consequences ### Positive - ### Negative - ### Neutral - ## Links </code></pre> </li> <li><p><strong>Store in AgentDB</strong> -- Call <code>mcp__plugin_ruflo-core_ruflo__agentdb_hierarchical-store</code> with:</p> <ul> <li>key: <code>mem:ADR-NNN</code></li> <li>tier: <code>semantic</code></li> <li>value: a JSON-encoded string: <code>{ "id": "ADR-NNN", "title": "<title>", "status": "proposed", "date": "<today>", "file": "docs/adr/ADR-NNN-<slug>.md" }</code></li> </ul> </li> <li><p><strong>Find related ADRs</strong> -- Call <code>mcp__plugin_ruflo-core_ruflo__memory_search</code> with the title as query in namespace <code>adr-patterns</code> to find related decisions. If matches are found, add them to the Links section and call <code>mcp__plugin_ruflo-core_ruflo__agentdb_causal-edge</code> for each relationship with:</p> <ul> <li>sourceId: <code>mem:ADR-NNN</code></li> <li>targetId: <code>mem:ADR-RELATED</code></li> <li>relation: <code>depends-on</code></li> </ul> </li> <li><p><strong>Store pattern</strong> -- Call <code>mcp__plugin_ruflo-core_ruflo__memory_store</code> in namespace <code>adr-patterns</code> with key <code>ADR-NNN</code> and the title + context as value for future semantic search.</p> </li> <li><p><strong>Report</strong> -- Output the created file path, ADR number, and any related ADRs found.</p> </li> </ol>