每個里程碑都要有真的期限,9999 也擋
leo 2026-08-21:「以後所有的 milestone 限制時間」「你根本沒有時間概念,浪費一整天」 實查七個 open milestone:六個期限是 9999-01-01、一個空白。 9999 比空白更糟——盤點時每一格看起來都有值, 於是沒有人發現這裡從來沒有時間壓力。七個已全部改成真日期。 新增 hooks/milestone-due-guard.sh,四向實測: 無 due_on → exit 2 due_on 帶 9999 → exit 2 真期限 → exit 0 只是讀 milestone → exit 0 規範補 M4.8(怎麼定期限、過期只對帳不自動關)。 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
+5
-1
@@ -40,6 +40,10 @@
|
||||
{
|
||||
"type": "command",
|
||||
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/ticket-api-bypass-guard.sh"
|
||||
},
|
||||
{
|
||||
"type": "command",
|
||||
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/milestone-due-guard.sh"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -323,4 +327,4 @@
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user