feat(calendar): event create, update, delete and respond (#230) #1359
All Vouch review confidence checks passed
Residual risk 0.23 = Change Risk (0.40) × (1 − Review Confidence (0.43)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.40 · 287 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.339
Real PR Conversation Timeline
1 comments
"Review active on #1359"
general
weight: 0.35
claude[bot]
Builds the four owner-only calendar mutations named by the delta re-gate (https://github.com/hadron-memory/hadron-cli/issues/230#issuecomment-6535333912). The read cut (#1037) is unchanged.
Commands (
hadron calendar event …, explicit--connection):create --title --from --to [--all-day] [--tz] [--attendee]… [--description] [--location] [--calendar] [--no-notify] [--idempotency-key]update <id>sends only the flags given; none given is refused locally (exit 2). A non-empty--attendeereplaces the whole set;--clear-attendeessends[](mutually exclusive with--attendee). An empty--title/--description/--locationis sent, not omitted. No null-clear semantics are invented.delete <id>usesConfirmDeletion(--yesoff a TTY, zero request otherwise). Prints{eventId, deleted:true}only when the server returnstrue;false/null is exit 7.respond <id> --response accepted|declined|tentative(never NONE).Contract points: timed = RFC3339 offset, or zone-less date-time only with
--tz; all-day =YYYY-MM-DDdates; nothing guessed from the host zone.--no-notifysendsnotifyAttendees:false(omitted otherwise). Nothing is retried; help says to read back after a transport failure. Optional variables carry omitempty (update's attendees bound to*[]stringso[]is sent and unset is omitted). Errors go throughapi.MapError; a null event is exit 7.Docs/matrix: the four
gap #230lines are nowcommand; help and agentic-usage no longer say read-only;make help-inventoryrefreshed.Verification:
go test ./...,make lint,make coverage-matrix-checkgreen locally. New pins ininternal/cmd/calendar_230_writes_test.go: exact request variables (omitted vs false/empty/list-clear), timed/all-day/ambiguous/malformed negatives with zero requests, update subset, all respond arms, idempotency pass-through, delete abort/false, FORBIDDEN and null for all four.Not tested: a real calendar provider or live invitation delivery (none authorized); that is the QA seat's mocked-provider leg. No schema change (snapshot already carried these fields). Leaves #230 open for CM evidence; #231 is a separate PR.
Worker: Jack (cli-engineer), Claude Sonnet 5.5.
🤖 Generated with Claude Code