feat(bubble-up): add bubble-up add/remove commands
What
Surfaces the new basecamp-sdk Bubble Up write operations as a CLI command
group, mirroring basecamp bookmarks:
basecamp bubble-up add <id|url> [--at <when>]
basecamp bubble-up remove <id|url>
addbubbles a recording up in your readings. It bubbles up now by
default;--atschedules it instead — a keyword (today,tomorrow,
weekend,next_week) or an ISO8601 date.removepops the bubble-up.
Both verbs are idempotent and take a recording id or a pasted Basecamp URL, the
same as bookmarks. Bubble-up is personal, so there's no --in <project>.
The at default
bc3 currently requires at — an omitted param raises server-side
(Date.iso8601(nil)) — so add sends "now" when --at is absent rather than
omitting it. That keeps the ergonomic "add == bubble up now" contract working
against bc3 today; the SDK layer stays neutral (it sends exactly what it's
given).
No status read is offered: the per-recording bubble-up GET is an
unrenderable API gap (its jbuilder lives outside app/views/api/). The full
current+scheduled list is basecamp notifications (SDK GetBubbleUps).
Dependency — blocked on the SDK PR
Depends on basecamp/basecamp-sdk#839 (adds the BubbleUps ops). The SDK is
pinned here to that feature branch as a pseudo-version placeholder
(v0.15.1-0.20260902165153-4b2a7cddbd0f). Before merge, once the SDK PR
lands and a release is cut, this must be re-pinned to the released
go/vX.Y.Z tag and the vendored MCP model re-synced from it
(scripts/sync-mcp-model.sh).
Because the pin is a branch ahead of the last release (go/v0.15.0), the MCP
model re-sync also pulls the SDK-main operations merged since then
(recent-projects, delegated-events) — that's why the served-operation count
moves 247 → 253 rather than by just the two bubble-up ops. It resolves to a
clean tag-to-tag bump when re-synced from the release tag. The new BubbleUps
tag is claimed by the existing personal/account MCP domain.
Tests
bubble_up_test.go:addsendsat:"now"by default,--atschedules
verbatim, URL arg resolves,removeDELETEs, non-id is a usage error.- Command catalog + surface baseline updated;
TestCatalogMatchesRegisteredCommands,
TestSurfaceSnapshot, and the MCPTestCatalog*(snapshot, provenance,
served-count) pass. go build ./...,go vet,gofmtclean. (The pre-existing interactive-TTY
tests —TestBareBasecampNeverReportsASetupError,TestExplicitSetupStillRefuses,
TestDeleteConfirmableFollowsTheAudienceNotTheDevice— fail identically on
a pristineorigin/mainin a non-TTY shell; unrelated to this change.)
Release note: Features (enhancement).
Summary by cubic
Previously, the CLI could only list bubble-ups through basecamp notifications bubbleups; it now supports personal basecamp bubble-up add|remove commands for changing them. add bubbles a recording up immediately by default or schedules it with --at, while remove pops it; both are idempotent, and add reports the requested timing because the API returns no resulting state.
- Accepts positive recording IDs or Basecamp URLs and validates
--atlocally. --atacceptsnow,today,tomorrow,weekend,next_week, or aYYYY-MM-DDdate; timestamps and basic-format dates are rejected because Basecamp uses day granularity.basecamp notifications bubbleupsremains the full current and scheduled list; no per-recording status command is added.- Updates the command surface, agent skill, API coverage, and account-scoped MCP catalog; the SDK model refresh also adds four unrelated operations, raising the served catalog count from 247 to 253.
- Star-labeled TUI surfaces now use
Starredinstead ofBookmarked, including the project toggle, fixing labels and toggling for bookmarked-but-unstarred projects.
Dependencies
- Pins
github.com/basecamp/basecamp-sdk/goto the merged bubble-up support through a pseudo-version; repin it to thev0.15.1release and rerunscripts/sync-mcp-model.shwhen available. - Updates
google.golang.org/grpcto v1.83.1 to address GHSA-vp52-pcj8-j9qc and refreshes related checksums and the Nix vendor hash.