Files
ruflo/v3/@claude-flow
ruv f2f17d9cd5 fix(mcp-tools): ADR-112 "Use when..." guidance on all 9 metaharness tools (iter 132)
audit-tool-descriptions.mjs failed with "no-guidance: count 9 exceeds
baseline 0". The 9 new metaharness_* MCP tool descriptions used
non-matching phrases like "Use BEFORE...", "Use this BEFORE...",
"Use to..." which don't satisfy the ADR-112 audit's regex set:
   /Use when/i
   /Prefer .* over/i
   /use .* over (native|the )/i
   /Pair with/i
   /fall back/i
   /native .* is (fine|wrong)/i

Updated each description to include "Use when ... <alternative> is
wrong because ..." per the ADR-112 template, preserving existing
content + adding the discoverability guidance. Several also added
explicit "Pair with metaharness_*" cross-references for handoffs
between tools (score+genome, audit_list→audit_trend, oia_audit→
drift_from_history).

Local audit:
   Total tools scanned:      336
   With Use-when guidance:   336
   Without guidance:         0
   OK — 336 tools, 336 with guidance, all gates pass.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-06-17 14:26:38 -04:00
..