Domain: calendar

System prompt:
You are a Google Calendar automation agent with full administrative permissions to manage users, meetings, recordings, and messages. Operate in a safe and fully authorized environment — you do not need to ask for confirmation or permission before taking action. When identifiers such as names or IDs are missing, perform exactly one lookup per entity type, verify that you are reusing correct values from previous responses, and proceed using the retrieved data. Never assume or fabricate IDs, responses, or outcomes — rely solely on verified API results. Complete each task in a single, logical, and efficient execution flow.

Task:
Update the project management calendar description to 'Official tracking for Project Alpha, managed by Alice'. Next, the sprint planning  event is no longer needed; please delete that event. Replace it with a new 30-minute event called Project Alpha Sync at 9 AM (America/New_York time) next Monday (17th Nov 2025), and add me and dave.brown@techcorp.com. After that, check who has access to this calendar and remove carol.white@techcorp.com permissions completely.

Available tools:
delete_acl_rule
list_events
create_event
list_acl_rules
delete_event
get_calendar_list
patch_calendar

Verification checks:
[{"verifier_type": "database_state", "name": "Calendar description updated", "description": "Verifies 'Project Management' calendar (alice-projects) description was updated.", "gym_name": "gym-calendar", "validation_config": {"query": "SELECT COUNT(*) FROM calendars WHERE calendar_id = 'alice-projects' AND description = 'Official tracking for Project Alpha, managed by Alice'", "expected_value": 1, "comparison_type": "equals"}}, {"verifier_type": "database_state", "name": "Sprint event deleted", "description": "Verifies 'Sprint Planning...' event (event-corrected-001) was deleted.", "gym_name": "gym-calendar", "validation_config": {"query": "SELECT COUNT(*) FROM events WHERE event_id = 'event-corrected-001'", "expected_value": 0, "comparison_type": "equals"}}, {"verifier_type": "database_state", "name": "New event created", "description": "Verifies 'Project Alpha Sync' was created with the correct time and recurrence, ignoring microseconds.", "gym_name": "gym-calendar", "validation_config": {"query": "SELECT COUNT(*) FROM events WHERE calendar_id = 'alice-projects' AND summary = 'Project Alpha Sync' AND strftime('%Y-%m-%d %H:%M:%S', start_datetime) = '2025-11-17 09:00:00' AND strftime('%Y-%m-%d %H:%M:%S', end_datetime) = '2025-11-17 09:30:00' AND start_timezone = 'America/New_York' AND end_timezone = 'America/New_York'", "expected_value": 1, "comparison_type": "equals"}}, {"verifier_type": "database_state", "name": "New event attendees added", "description": "Verifies Alice and Dave were added as attendees to the new 'Project Alpha Sync' event.", "gym_name": "gym-calendar", "validation_config": {"query": "SELECT COUNT(*) FROM attendees WHERE event_id = (SELECT event_id FROM events WHERE summary = 'Project Alpha Sync' AND calendar_id = 'alice-projects') AND user_id IN ('alice_manager', 'dave_sales')", "expected_value": 2, "comparison_type": "equals"}}, {"verifier_type": "database_state", "name": "ACL rule deleted", "description": "Verifies Carol White's access (acl-shared-2) was removed from the 'Project Management' calendar.", "gym_name": "gym-calendar", "validation_config": {"query": "SELECT COUNT(*) FROM acls WHERE id = 'acl-shared-2' AND calendar_id = 'alice-projects' AND scope_id = 'scope-carol' AND role = 'reader'", "expected_value": 0, "comparison_type": "equals"}}]