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

* 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>

* docs(changelog): #542 under [Unreleased]

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>

* test(instruction-facts): drop the office-hours allowlist row for the removed cross-team sentence

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>

---------

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
This commit is contained in:
Garry Tanandcapy-ai[bot] authored and GitHub committed 2026-10-25 22:31:08 +00:00
1 parent f73f75ce55
commit 956a3f5484
15 files changed
+243 -44

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';