Repository navigation
Check owner freebusy and guest agreement dates before booking - #504
Draft
alexeygrigorev wants to merge 6 commits into
Draft
alexeygrigorev wants to merge 6 commits into
alexeygrigorev wants to merge 6 commits into
Conversation
…ssignment; day view ignores adjacent-day blockers
…dd next-free-day, mark weekends busy in day view
alexeygrigorev
marked this pull request as draft
November 24, 2026 09:32
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Guest scheduling could reuse an outdated requested date, let event and Card dates drift, and treat a single calendar view as complete availability. Scheduling now requires explicit guest agreement bounds, keeps event/Card/job dates aligned, rejects stale invitation retries, and uses date-scoped reservation leases.
Slot listing reads the owner's calendar list, paginated events and freebusy. Booking refreshes that availability before Google writes. Named meetings and hard blocks close slots; Lunch placeholders and DTC buffers remain soft. Conflicts and unavailable freebusy return visible errors. The CLI also supports a day review before assignment and machine-readable day details.
Validation: integrated backend regressions (47 passed), calendar/invitation CLI tests (39 passed), prior overlay/invitation regressions (60 passed). Broader validation is ongoing.
Deployment blocker: a read-only probe of the owner's existing Google connection returns HTTP 403 for both calendar metadata and calendarList. Owner calendar read/list/freebusy access must be granted before merge/deployment and live acceptance. No live Calendar events, invitations or protected Card data were changed.