Step-by-step procedure for formatting triage results as terminal-ready markdown and handling interactive review command parsing.
Produce the initial triage summary as terminal markdown:
X Bug Triage — Run {date} {time} UTC
Account: @{account} · Window: last {window} · {count} posts ({unique} unique, {dedup_groups} duplicate groups)
⚠ Data quality: {warning} ← show ONLY when date_confidence is low or medium
--- Sources --- ← show ALWAYS between header and clusters
{source_name} {status} {count} posts (rate limit: {remaining}/{limit})
...
--- {n} clusters ({new} new, {existing} existing) ---
{icon} {#} · {bug_signature}
{report_count} reports · {severity} severity · {status_note}
Owner: {team}
Evidence: {t1} Tier 1, {t2} Tier 2, {t3} Tier 3, {t4} Tier 4 · Top: {description}
--- Commands ---
details <#> · file <#> · dismiss <#> · merge <#> <issue>
escalate <#> · monitor <#> · snooze <#> <duration>
split <#> · reroute <#> · full-report
details command)When showing a single cluster in detail:
"Evidence: {t1} Tier 1, {t2} Tier 2, {t3} Tier 3, {t4} Tier 4" (omit tiers with 0 count)When receiving a command string, call mcp__triage__parse_review_command:
After each successfully executed review command, display a confirmation line using formatActionConfirmation() from mcp/triage-server/lib.ts. Examples:
dismiss 1 noise → "Cluster #1 dismissed (noise). Suppression rule created."
file 2 → "Draft issue created for cluster #2. Use "confirm file 2" to submit."
escalate 3 → "Cluster #3 escalated. Severity raised."
full-report"Load override and memory policy for review command processing:
!cat skills/x-bug-triage/references/review-memory-policy.md