Repository navigation
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: ready, awaiting a maintainer decision. What this changesAdds commands to list Google Docs dropdown definitions and insert chips using an existing definition and option. Example: Insert the 💡 Proposed option from the Work status dropdown.
Review scores
ProductKind: Feature · Worth it: Needs a maintainer decision · Fix scope: Complete Merge readiness⏳ Ready, awaiting maintainer decision Keep open: this PR adds a capability absent from main, fixes both prior findings, and now supplies live CLI proof; maintainer direction on the new commands remains unresolved. Priority: P2 Decision needed
Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe Docs CLI resolves definitions and placement, then uses the existing smart-chip insertion path to submit a Docs API request or queue it in an existing batch. flowchart LR
A[CLI arguments] --> B[Dropdown commands]
B --> C[Docs definition lookup]
C --> B
B --> D[Shared insertion planner]
D --> E[Docs batchUpdate]
D --> F[Existing batch queue]
Technical reviewBest possible solution: Retain the narrow existing-definition scope and shared insertion owner if the feature owner approves the two new commands. Do we have a high-confidence way to reproduce the issue? This is a feature addition; source confirms the capability is absent from main, and the supplied terminal transcript demonstrates the proposed insertion path. Is this the best way to solve the issue? Reusing the existing insertion planner and tab helpers is appropriate, and the revised lookup now respects the insertion tab without adding another write path. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 31c4e14186e8. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceWhat I checked:
Likely related people:
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment HistoryReview history (1 earlier review cycle)
Reviewed November 23, 2026, 3:36 PM ET / 20:36 UTC (Revision 2). |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
Related: #638
What Problem This Solves
People who keep status or priority labels in a Google Doc as dropdown chips can't add those chips from gog.
gog docsinserts person, date and file chips (#638), but not dropdowns, which the Docs API didn't expose when #638 shipped. Today the only way is to hand-build abatchUpdatecall with your own access token.User Impact
Two new commands:
gog docs insert-dropdown <docId> --definition <id or title> [--option <id or value>]inserts a dropdown chip from a definition already in the doc. It takes the same placement flags asinsert-person:--index,--at-end,--tab,--batch, and--at, which replaces the matched text with the chip in one request.gog docs list-dropdowns <docId> [--tab]lists each dropdown definition with its options, so you don't have to dig IDs out ofgog docs raw.When both IDs are given, nothing is fetched first. A title or display value is resolved case-insensitively within the tab being written to (
--tab, or the first tab), and an unknown option fails with the list of valid values before anything is written.Why This Change Was Made
The Docs API now has
insertDropdown, and the pinnedgoogle.golang.org/api(v0.316.0) already has the types. This follows the existing smart-chip commands rather than adding a new pattern. Creating a new dropdown definition (createDropdownDefinition) is left out to keep this PR small.Evidence
--atreplacement after resolving a title and a display value, an unknown option failing before any write,list-dropdowns --json, and resolving names only in the target tab when two tabs share a definition ID (reverting the tab fix makes that test fail).make cipasses locally.