docs(worklog): clarify Codex hook lookup order #43

Merged
admin merged 5 commits from pr/doc-master-sync-20260731 into master 2026-07-31 17:38:13 +00:00
Member

Clarify worklog hook lookup order and Codex fallback path.

Clarify worklog hook lookup order and Codex fallback path.
jiantw83 added 3 commits 2026-07-31 17:00:37 +00:00
舊規則以 ceil(日/7) 分週,換頁點固定落在每月 8/15/22/29 號,會把同一個
工作週切成兩頁(例:2026/07/28 二 在 W4、07/29 三 卻跳到 W5)。使用者開著
舊頁時看不到新條目,會誤判成 worklog 停止記錄。

- 週以星期六起算(六~五),週頁以該週起始的星期六為錨點命名
- W<n> 的 n =該星期六是當月第幾個星期六,頁名格式不變,舊頁照樣可讀
- 跨月的一週歸屬起始星期六所在月份,確保同一週只有一頁
  (2026/08/29 六 ~ 09/04 五 全部寫入 Worklog-2026-08-W5)
- 頁首標題補上日期範圍,開頁即可看出涵蓋哪幾天,避免再次誤判
- week_page_header 原本收了 page 卻不使用,一律以當下時間算標題,手動補寫
  舊頁時會寫錯週;改為從頁名反推所屬週
- 同步 SKILL.md 與 README.md 的分週說明

驗證:2026/01/01 ~ 2027/12/31 每日「頁名 → 反推週起始日」全部一致(0 筆不符),
月初、月末與跨月邊界皆正確。

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
master 現行版本為 0.0.1,本次 patch +1。

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
jiantw83 added 1 commit 2026-07-31 17:14:01 +00:00
jiantw83 added 1 commit 2026-07-31 17:36:09 +00:00
admin approved these changes 2026-07-31 17:38:10 +00:00
admin merged commit 186f140860 into master 2026-07-31 17:38:13 +00:00
admin deleted branch pr/doc-master-sync-20260731 2026-07-31 17:38:13 +00:00
Sign in to join this conversation.
No Reviewers
No labels
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: plugins/doc#43