sgit newsroom v0.1.29 · snapshot 2026-09-24

Reading room · vaults

Reading room / vaults · raw text

From vaults, a file in the seed packEverything on this sheet is the source site's own text; the newsroom's chrome is outside it.

Revert rules, Gmail and Google Calendar

For each action in scope: what the platform keeps, what the twin can offer, and the side effects the revert plan must name. Sources are in plan/02-the-facts.md.

ActionAPI callWhat the platform keepsTwin's inverseGradeSide effects to name
Archivemessages.batchModify removing INBOXThe message, unchanged but for the labelbatchModify adding INBOXexactNone
Label changemessages.modifyThe messagemodify with the opposite labelsexactNone
Move to trashmessages.trashThe message, for 30 daysmessages.untrashexact, within 30 daysNone
Permanent deletemessages.deleteNothing the user can reach. An administrator can bulk-restore a date range within 25 daysmessages.insert with the captured content, if the agent read it in fullcontent onlyA new message id; threading may differ
Sendmessages.sendThe sent messageNonenoneThe recipient has it
Create draftdrafts.createThe draftdrafts.deleteexactNone
Move or edit an eventevents.patch or events.updateThe new state only, for the user; an administrator's audit log records some earlier valuesevents.patch with the captured before-stateexactAttendees are notified again if sendUpdates is set
Respond to an invitationevents.patch on the attendee's responseStatusThe new responsepatch back to the captured responseexactThe organiser is notified
Delete an eventevents.deleteGoogle's help says deleted events stay in trash for 30 days; not yet tested for API deletionsevents.insert with the captured eventpartialA new event id; the cancellation already sent cannot be recalled
Create an eventevents.insertThe eventevents.deleteexactAttendees receive a cancellation

Rules for the revert plan

  1. Newest first. Undo in the reverse order of doing.
  2. Name every side effect. A revert that re-notifies six people is not free.
  3. Never execute without a person's approval.
  4. Execute through the same capture path, so the revert is journalled like everything else.
  5. Where the grade is none, say what a person can do instead, such as a follow-up email.