Skip to content

Show who completed a to-do or card, and when, by bumping basecamp-sdk to 63115e79 - #942

Merged
robzolkos merged 2 commits into
mainfrom
sdk-bump-completion
Oct 22, 2026
Merged

robzolkos merged 2 commits into
mainfrom
sdk-bump-completion

Conversation

@robzolkos

@robzolkos robzolkos commented Oct 22, 2026 •

Copy link
Copy Markdown
Collaborator

Why

Basecamp sends who completed a to-do, card or subtask, and when, as completion. The SDK didn't model it, so the CLI's --json output had "completion": null, "completer": null and "completed_at": null on every completed item. basecamp-sdk#1033 fixes that in the SDK. This pins the CLI to it.

What changed

  • Pin basecamp-sdk at 63115e79, the #1033 merge, with scripts/bump-sdk.sh.
  • Re-vendor the MCP model from that commit with scripts/sync-mcp-model.sh.

Scope

  • No CLI code changes. The human-readable output does not show the completer yet.
  • The built-in MCP server already returned response bodies verbatim, so it gains only the updated schema docs.

Verification

  • make test passes.
  • cards show 10329974547 -j on a completed card: main gives "completion": null, this branch gives Rob Zolkos at 2026-10-22T22:33:43.774Z, with completer and completed_at matching.
  • todos show on a completed to-do: main gives null, this branch gives the completer and time.

Summary by cubic

Pins github.com/basecamp/basecamp-sdk/go to commit 63115e79, which models who completed a to-do, card, or subtask and when. --json output previously reported "completion": null, "completer": null, and "completed_at": null on every completed item; it now shows the completer and time.

No CLI code changes. The MCP model is re-vendored from the same commit, so the built-in MCP server gains the updated RecordingCompletion schema. The Nix vendor hash is updated for the new pin. Note completer and completed_at are deprecated in the SDK in favor of completion.creator and completion.created_at.

Written for commit 9dd1595. Summary will update on new commits.

View guided diff Turn on auto-fix

… to 63115e79

The CLI read cards and to-dos through SDK types that had no `completion`,
so `--json` output said `"completion": null` and `"completer": null` on
every completed item, though Basecamp sends who and when.
basecamp-sdk#1033 models `completion` on to-dos, cards and subtasks and
fills Go's `Completer` and `CompletedAt` from it. Pin the SDK at that merge
(scripts/bump-sdk.sh) and re-vendor the MCP model from it
(scripts/sync-mcp-model.sh).
@robzolkos
robzolkos requested a review from a team as a code owner October 22, 2026 23:31
Copilot AI balanced review requested due to automatic review settings October 22, 2026 23:31
@github-actions github-actions Bot added sdk SDK wrapper and provenance deps labels Oct 22, 2026
The Nix flake build computed sha256-hun/… for the go modules at the new pin.
Copilot AI previously approved these changes Oct 22, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approved

The additive schema changes fit existing response paths, dependency and provenance updates are consistent, and no blocking issues were identified.

No open issues 🎉

What changed in this PR

Updates the Basecamp SDK to 63115e79 so CLI JSON output includes who completed a to-do, card, or subtask and when, without changing CLI implementation or human-readable output.

Changes:

  • Updates the SDK dependency, checksums, and provenance.
  • Refreshes the MCP schema with RecordingCompletion, legacy-field deprecations, and clearable due-date annotations.

[!TIP]
If you aren't ready for review, convert to a draft PR.
Click "Convert to draft" or run gh pr ready --undo.
Click "Ready for review" or run gh pr ready to reengage.

File Description
internal/​version/​sdk-provenance.json Records the updated SDK version and revision.
internal/​mcpserver/​model/​PROVENANCE.json Aligns model provenance with the SDK commit.
internal/​mcpserver/​model/​openapi.json Adds completion metadata and updates schema annotations.
go.sum Updates SDK dependency checksums.
go.mod Pins the SDK to the completion-metadata update.

Review effort: Balanced

Copilot AI balanced review requested due to automatic review settings October 22, 2026 23:34
Copilot AI dismissed their stale review, a newer Copilot review was requested October 22, 2026 23:34

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approved

The dependency and schema updates are consistent with existing serialization paths, with no identified blocking compatibility issues.

No open issues 🎉

Review effort: Balanced

@robzolkos
robzolkos merged commit e14f005 into main Oct 22, 2026
42 checks passed
@robzolkos
robzolkos deleted the sdk-bump-completion branch October 22, 2026 23:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

deps sdk SDK wrapper and provenance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants