Skip to content

feat(todo): add fixed recurrence assignee support - #132

Merged
pocketsharkk merged 1 commit into
mainfrom
codex/recurring-assignee
Sep 15, 2026
Merged

pocketsharkk merged 1 commit into
mainfrom
codex/recurring-assignee

Conversation

@pocketsharkk

@pocketsharkk pocketsharkk commented Sep 15, 2026 •

Copy link
Copy Markdown
Collaborator

使用者遇到的問題

CLI 無法在建立 recurring rule 時指定負責人,rule 查詢也看不到 assignee 狀態。

背景

Todo tod_01M2HNRMVAGRET86KFWTP6KYKT,依 backend 已合併的 recurring assignee spec。Backend 先部署後才執行正式 npm release。

問題出在哪裡

CLI 與 SDK 由 OpenAPI 生成;舊 schema 沒有 assignee input,pretty show 只顯示最外層計數。

修法

同步 backend OpenAPI 並 regenerate,新增 --assignee-user-id,以既有 display hints 顯示 creator、assignee 與狀態,README/help 說明建立後不可修改。同步同時包含 backend main 已存在的 calendar schema 變動,未手寫 generated client 或修改 calendar backend。

測試

752 tests、typecheck/build 通過。新增 6 個 subprocess tests 使用真實 command/SDK 與本地 HTTP server,驗證 payload、省略 option、pretty/JSON、help、422/503 exit code。原本紅燈為 unknown option '--assignee-user-id' 及缺少查詢欄位。Standards/spec/ponytail review 無待修發現。

未完成驗收

Exact-head CI、backend deploy 後正式 minor release、npm provenance 與確切 npm 版本的 production readback。

驗收報告

跨 repo 本機驗收報告


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

@pocketsharkk
pocketsharkk merged commit 2b94ae7 into main Sep 15, 2026
3 checks passed
@pocketsharkk
pocketsharkk deleted the codex/recurring-assignee branch September 15, 2026 06:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant