feat(calendar): add 'changed' command to list recently modified events#875
Conversation
Adds `gog calendar changed` (aliases: recent, modified) which surfaces the N events most recently created or modified, sorted by last-modification time descending. Uses Events.List with UpdatedMin and omits SingleEvents so that recurring series appear as a single master entry rather than exploding into per-instance results. Supports --since (duration/date/RFC3339, default 30d), --max, --all, --cal, --calendars, --show-deleted, --weekday, --location, and --fail-empty flags.
|
Codex review: found issues before merge. Reviewed June 26, 2026, 1:15 AM ET / 05:15 UTC. Summary Reproducibility: not applicable. as a bug reproduction: this is a new Calendar CLI feature PR. The behavior is source-checkable through Review metrics: 3 noteworthy metrics.
Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Risk before merge
Maintainer options:
Next step before merge
Security Review findings
Review detailsBest possible solution: Land the focused changed-event command only after release-owned metadata is corrected and the PR description matches the final command surface. Do we have a high-confidence way to reproduce the issue? Not applicable as a bug reproduction: this is a new Calendar CLI feature PR. The behavior is source-checkable through Is this the best way to solve the issue? No, not as currently packaged: the command implementation is focused, but the release note is in the wrong shipped section and the PR body should match the latest command surface before merge. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against dafe80460ffe. Label changesLabel changes:
Label justifications:
Evidence reviewedWhat I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
|
|
I think I prefer the current behavior. Cancelling a single instance of a recurring event will show up show up regardless of |
|
Thanks @sorenisanerd! Landed in e022bb9 with the changed-event command narrowed to the documented surface and cancellations included. Live disposable proof covered create, update, and cancelled-event readback; cleanup succeeded. |
…odifiers (#128) Catches the wrapper up to gogcli v0.31.1 (our floor was 0.31.0). Two upstream additions: ## `gog calendar changed` (openclaw/gogcli#875) New **`gog_calendar_changed`** tool in the calendar sub-package extras (same placement as `search`/`freebusy`): lists most recently modified events — including cancellations/deletions — across one or more calendars, with `calendarId`, `calendarIds`, `since`, `max`, and `all` params. Live-verified end-to-end through the built MCP server over stdio. That test surfaced a real-world gotcha now noted in the `since` description: Google rejects modification windows too far in the past (`410 updatedMinTooLongAgo`), even though gog's default is 720h. ## `;resource` attendee modifier (openclaw/gogcli#881) - `gog_calendar_update` gains **`addAttendees`** (`--add-attendee`, preserves existing attendees — previously only the replace-all `--attendees` was exposed). - Attendee params on `gog_calendar_create`/`gog_calendar_update` now document the per-attendee modifiers (`;optional`, `;resource`, `;comment=TEXT`). ## Version floor `MIN_GOG_VERSION` bumped **0.31.0 → 0.31.1** (the `changed` subcommand requires it); CLAUDE.md floor kept in sync, hence the `gogcli-bump` label. Tests written first (TDD), full suite + 100% coverage gate green, typecheck + build clean. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Fable 5 <[email protected]>
Adds
gog calendar changed(aliases: recent, modified) which surfaces the N events most recently created or modified, sorted by last-modification time descending. Uses Events.List with UpdatedMin and omits SingleEvents so that recurring series appear as a single master entry rather than exploding into per-instance results. Supports --since (duration/date/RFC3339, default 30d), --max, --all, --cal, --calendars, --show-deleted, --weekday, --location, and --fail-empty flags.