| name | standup |
| description | Use when the user wants to generate a daily standup report or end-of-day summary (YDY/TDT/BOS/口頭同步). Single entry point for all standup and end-of-day workflows. Trigger: 'standup', '站會', 'daily', '寫 standup', '下班', '收工', 'EOD', 'wrap up', '今天做了什麼'. |
| metadata | {"author":"Polaris","version":"2.1.0"} |
Standup — 每日站立會議報告產生器
從 git、JIRA、Calendar、PR status、triage state 與使用者補充資料產出 YDY / TDT / BOS /
口頭同步報告。使用者確認後,先存 local markdown,再 append 到 Confluence standup page。
Contract
standup 是 daily standup 與 EOD summary 的單一入口。它可以自動觸發當日 triage guard,
但不取代 my-triage 的排序判斷,也不捏造資料來源沒有的活動。
它可以轉述 PR / JIRA / planning / blocker 現況,但不得自行把這些訊號升格成 workflow
authority;例如「PR 狀態良好」不等於 mergeable_ready,release page / standup 內容也不等於
release eligibility 或 release completed。
Confluence 寫入前必須等待使用者確認。沒有 blockers 時保留 BOS heading,不寫「無」。
Reference Loading
| Situation | Load |
|---|
| Any run | standup-data-collection-flow.md, workspace-config-reader.md, shared-defaults.md |
| TDT / planning | standup-planning-flow.md, session-timeline.md when useful |
| Formatting / publish | standup-format-publish-flow.md, standup-template.md, confluence-page-update.md, workspace-language-policy.md |
| Monthly framework hygiene | framework-iteration-procedures.md, repo-handbook.md if first monthly standup needs framework follow-up |
Flow
- 讀 workspace config,取得 JIRA、Confluence、GitHub、projects、teams。
- Auto-triage guard:若今日 triage state 缺漏或過期,先執行
my-triage,讓使用者確認。
- 計算
YDY_DATE、PRESENT_DATE、TDT_PLAN_DATE;使用者指定日期時以使用者為準。
- 收集 YDY sources:git commits、JIRA updates、Calendar meetings。
- Merge and deduplicate YDY,並做 plan vs actual comparison。
- 收集 TDT candidates:JIRA open sprint、open PR status、review-requested PR、Polaris backlog、
DP closeout drift。closeout drift 用
mise run closeout-drift(呼叫
scripts/detect-closeout-drift.sh --dry-run --json,report-only,不變更 specs)取得:把
delivered-drift-high(已交付未 archive,可排入 closeout)與 stranded(LOCKED 過期無交付
證據,需 review)併入 TDT candidate;delivered-drift-low 列為待確認。gh 不可用時 report
會標 PR 證據未檢,轉述該註記、不視為失敗。
- 收集 BOS:JIRA discuss status、前幾天持續 blocker、使用者口述。
- 依
standup-template.md 組裝四區塊並呈現給使用者確認。
- 使用者確認後,寫 local markdown。
- 對 local markdown 跑 language gate,通過後 append 到 Confluence page。
Data Rules
- Git commits 排除 merge commits。
- Calendar 不猜 Google Meet link;MCP 沒回傳就不列。
- Ticket 連結使用
[KEY title](URL) markdown,不使用 Confluence smartlink custom tags。
- Friday standup title 使用 Friday
PRESENT_DATE;TDT work target 才是 next Monday。
- Meeting items 不參與 plan vs actual planned/additional/loss 判斷。
Write Rules
- Local markdown 是 Confluence push 前的備份,確認後無條件寫入。
- Confluence page update 依
confluence-page-update.md 做 search、version check、append。
- Confluence body 是 external write;送出前必須通過
workspace-language-policy.md。
- 更新完成後回報 Confluence page link 與 local file path。
- standup 內對 PR / release / planning 的描述只能轉述來源系統或 shared state;不得在 standup prose
中自行宣告「已完成 / 可 release / 可 merge」。
Completion
輸出 standup date、YDY/TDT/BOS counts、local file、Confluence status、任何 skipped sources
與原因。
Post-Task Reflection (required)
Execute post-task-reflection-checkpoint.md before reporting completion.