fix(office-hours,plan-reviews): write the host plan-mode copy through to the design doc and warn when it is newer (#542)

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
This commit is contained in:
garrytanandcapy-ai[bot] committed 2026-10-25 07:25:41 +00:00
1 parent 749a238275
commit 9bedcc40aa
10 files changed
+224 -40

No files matched your search

+4 -1
View File
@@ -11,7 +11,10 @@
* The fragment carries no code fences — the {{DESIGN_DOC_DISCOVERY}} token
* sits inside each caller's ```bash block. Callers must set $SLUG and
* $BRANCH first; the block sets $DESIGN and prints "Design doc found: ..." or
* "No design doc found".
* "No design doc found". When /office-hours recorded a host plan-mode copy of
* the doc, the helper also prints DESIGN_PLAN_COPY (and STALE_DESIGN_DOC when
* the copy is newer) on stderr with the write-through command (#542), so this
* block stays the same size in every caller.
*/
import type { TemplateContext } from './types';