docs(state): record calendar pass completion evidence

This commit is contained in:
zap
2026-03-12 21:11:28 +00:00
parent 4d89f02664
commit 2a46de2287
3 changed files with 89 additions and 21 deletions
+42 -14
View File
@@ -99,9 +99,9 @@ Started: `2026-03-12`
- [x] Add `delete_email_draft`
- [x] Add `list_email_drafts`
- [x] Add `send_gmail_draft` / send-approved-email path
- [ ] Add `update_calendar_event`
- [ ] Add `delete_calendar_event`
- [ ] Add `list_upcoming_events`
- [x] Add `update_calendar_event`
- [x] Add `delete_calendar_event`
- [x] Add `list_upcoming_events`
- [ ] Decide whether Drive/Docs/Sheets need action-bus verbs next or can stay direct-tool only for now
### Then polish the operator experience
@@ -134,11 +134,11 @@ Planned passes:
- added `list_email_drafts`
- added `send_gmail_draft` / send-approved-email path
- updated workflow contract/docs/test payloads/bridge + WIP evidence
2. Calendar pass:
- add `update_calendar_event`
- add `delete_calendar_event`
- add `list_upcoming_events`
- update `WIP.md` with evidence before ending the pass
2. Calendar pass: ✅ complete
- added `update_calendar_event`
- added `delete_calendar_event`
- added `list_upcoming_events`
- updated workflow contract/docs/test payloads/bridge + WIP evidence
3. Operator/polish pass:
- decide approval defaults for each action
- add low-noise execution/result reporting
@@ -192,16 +192,44 @@ Targeted verification evidence:
- send: exit `0`, returned dry-run op `gmail.drafts.send`
- `python3 -m py_compile skills/n8n-webhook/scripts/resolve-approval-with-gog.py` passed.
## Calendar pass 2 completion (2026-03-12)
Implemented in this pass:
- workflow contract + router logic for:
- `list_upcoming_events`
- `update_calendar_event`
- `delete_calendar_event`
- host bridge executor coverage for new approval kinds:
- `calendar_list_events``gog calendar events`
- `calendar_event_update``gog calendar update`
- `calendar_event_delete``gog calendar delete`
- docs + sample payloads + workflow validator updates for the expanded calendar contract
- explicit approval policy preserved:
- `list_upcoming_events``approval.mutation_level = low`
- `update_calendar_event` / `delete_calendar_event``approval.mutation_level = high`
Targeted verification evidence:
- `python3 skills/n8n-webhook/scripts/validate-workflow.py skills/n8n-webhook/assets/openclaw-action.workflow.json`
- result: `OK: workflow asset structure looks consistent`
- Workflow asset inspection confirmed new router actions are present:
- `list_upcoming_events`
- `update_calendar_event`
- `delete_calendar_event`
- Host bridge command-builder verification from shipped sample payloads:
- `calendar_list_events``gog calendar events primary --account will@example.com --json --no-input --max 10 --days 7 --query zap --dry-run`
- `calendar_event_update``gog calendar update primary example-calendar-event-id --account will@example.com --json --no-input --send-updates none --summary Updated call with vendor --from 2026-03-13T18:15:00Z --to 2026-03-13T18:45:00Z --description Updated by OpenClaw action bus. --location Updated room --dry-run`
- `calendar_event_delete``gog calendar delete primary example-calendar-event-id --account will@example.com --json --no-input --force --send-updates none --dry-run`
- `python3 -m py_compile skills/n8n-webhook/scripts/resolve-approval-with-gog.py` passed.
## Next-session handoff
For the next fresh implementation session, start from `HANDOFF.md` + `WIP.md` rather than from old chat context.
Immediate target:
- calendar pass only:
- add `update_calendar_event`
- add `delete_calendar_event`
- add `list_upcoming_events`
- keep approval policy explicit for mutating calendar actions
- run targeted verification and refresh WIP/memory/tasks before ending
- operator/polish pass only:
- add a compact operator command/reference section for common approval flows
- add one or two canned recurring verification flows
- decide/document approval defaults clearly per action family
- improve low-noise execution/result reporting in history
- refresh WIP/memory/tasks before ending
## Relevant files
- `skills/n8n-webhook/assets/openclaw-action.workflow.json`