plugins/ruflo-market-data/docs/adrs/0001-market-data-contract.md
ruflo-market-data (v0.1.0) — feed ingestion, OHLCV normalization, candlestick pattern detection. 1 agent + 2 skills + 1 command (5 subcommands).
market-ingest/SKILL.md referenced mcp__claude-flow__embeddings_embed — that tool name does not exist. Real tool is embeddings_generate (per ruflo-knowledge-graph ADR-0001, same fix).market-ingest/SKILL.md used agentdb_hierarchical-store with namespace: 'market-data'. Per ruflo-agentdb ADR-0001 §"Namespace convention", agentdb_hierarchical-* routes by tier (working|episodic|semantic), not namespace. The namespace arg was silently ignored.market-pattern/SKILL.md had the same hierarchical-recall + namespace bug plus the same pattern-store + namespace bug as ruflo-cost-tracker (agentdb_pattern-store with namespace: 'market-patterns' — ReasoningBank ignores namespace).All three fixed in this ADR pass by switching to memory_* (namespace-routed) for the load/store paths and documenting the dual write path for optimization-style patterns (per the cost-tracker precedent).
market-ingest: rename embeddings_embed → embeddings_generate; switch load/store from agentdb_hierarchical-* to memory_* (namespace-routed).market-pattern: switch load from agentdb_hierarchical-recall to memory_search; document the dual write path for pattern-store (typed via ReasoningBank vs. namespace-routable via memory_store).market-data and market-patterns); Verification + Architecture Decisions sections.0.1.0 → 0.2.0. Keywords add mcp, candlestick-patterns, namespace-routing.scripts/smoke.sh — 11 structural checks: version + keywords; both skills + agent + command with valid frontmatter; regression checks: embeddings_embed not at any tool-call site, skills use memory_* for namespaced reads (not agentdb_hierarchical-* with namespace arg); 5 subcommands documented; v3.6 pin; namespace coordination; market-data + market-patterns claimed; ADR Proposed; no wildcard tools.Positive: three real bugs fixed. Plugin joins the cadence. Sibling pattern from cost-tracker ADR-0001 (dual write path) and knowledge-graph ADR-0001 (embeddings_generate rename) is now applied consistently.
Negative: anyone scripting against the broken tool calls was already silently failing. Net zero on real impact.
bash plugins/ruflo-market-data/scripts/smoke.sh
# Expected: "11 passed, 0 failed"
plugins/ruflo-cost-tracker/docs/adrs/0001-cost-tracker-contract.md — same namespace-routing bug classplugins/ruflo-knowledge-graph/docs/adrs/0001-knowledge-graph-contract.md — same embeddings_embed renameplugins/ruflo-agentdb/docs/adrs/0001-agentdb-optimization.md — namespace convention this ADR fixes a violation of