Skip to content

Expose Google Docs version history (revisions list/get) for diffing #672

Description

@aaroneden

What I'm trying to do

Detect direct text edits a team makes to a Google Doc between two points in time (e.g. before vs after a meeting), by diffing the doc against a prior version. Comments and tracked suggestions are already accessible (drive comments, docs raw suggestion ids); direct edits to the body are not.

Gap

There's no gog command to list or fetch a Doc's version/revision history. drive revisions doesn't exist, and docs has no revisions subcommand. The Drive revisions API surface is limited for native Docs, but docs raw already proves gog can reach the lossless Docs API.

Request

A gog docs revisions list <docId> and gog docs revisions get <docId> <revisionId> (or an --at <revisionId> flag on docs export / docs raw) that returns enough granularity to reconstruct or diff a prior version of the body, ideally exportable to txt/md so a caller can diff two versions.

Why it matters

Enables "what changed in this doc since X" workflows (meeting-note reconciliation, audit trails) without scraping or guessing.

Version: v0.17.0 (aee7460)

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Normal priority bug or improvement with limited blast radius.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.impact:otherThis issue has meaningful maintainer-visible impact outside the owned taxonomy.issue-rating: 🌊 off-meta tidepoolIssue quality rating does not apply to this item.

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions