diff --git a/TODO.md b/TODO.md index 85bf1bb..cb4227b 100644 --- a/TODO.md +++ b/TODO.md @@ -35,5 +35,5 @@ ### P3 (Backlog) - [ ] `FEATURE`: Add queue metrics and traces (queued/running age, success/failure counters, fallback usage) for operations visibility. - [ ] `FEATURE`: Add superseded-job cancellation for same PR/head to avoid running obsolete queued jobs. -- [ ] `FEATURE`: Add `@codex status` command to report latest job state/run ID for a PR. +- [ ] `FEATURE`: Add `@codex status` command: "whoami", "permissions", "repo config status" - [ ] `TEST`: Add property/fuzz tests for command parsing and webhook payload edge cases. diff --git a/src/gitea_codex_bot/types.py b/src/gitea_codex_bot/types.py index 213626c..62a3ca3 100644 --- a/src/gitea_codex_bot/types.py +++ b/src/gitea_codex_bot/types.py @@ -12,6 +12,7 @@ class ParsedCommand: name: CommandName raw: str mode: str = "summary" + mode_explicit: bool = False full: bool = False branch_fix: bool = False arguments: list[str] = field(default_factory=list)