1.8 KiB
1.8 KiB
Finalize
Every mode ends here once research.md is assembled.
research.mdis complete perreferences/synthesis.md: decision-first summary, findings, contrary evidence where found, recommendations with downstream bindings, source appendix, staleness map. Frontmatter metadata (type,topic,decision,source,status, dates) is what lets every downstream consumer trust it without reprocessing.- Citation check — mechanical, then semantic. Run
uv run scripts/recon_kit.py citations {doc_workspace}/research.md— it diffs inline[n]markers against the appendix and lists dangling markers and orphaned rows exactly; fix what it reports. Then a fresh-context subagent does only the judgment half: does each cited source actually say what the text claims? It never rewrites findings — a claim whose source doesn't back it gets its confidence downgraded and the mismatch logged as anevent. - Render per
{workflow.output_format}(seereferences/html-briefing.md):autorenders the briefing page on interactive runs, skips on headless/skill-invoked;html/bothalways;mdnever.research.mdalways exists — the briefing is its regenerable face. - Polish: apply each
{workflow.doc_standards}entry (askill:,file:, or plain-text directive) toresearch.md. - Execute each
{workflow.external_handoffs}entry (NotebookLM, Confluence, …) — invoke the named tool, surface returned URLs; skip and flag unavailable tools. - Tell the user what exists and where — report, briefing, imports, memlog — plus what the staleness map says to re-check and when, and that Refresh/Deepen handle it. Invoke
bmad-helpto suggest the next step. - Run
{workflow.on_complete}if non-empty — a string is one instruction, an array is a sequence.