feat(bubble-up): add bubble-up add/remove commands

Merged
JE
3mo ago
+1424-140

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>
  • add bubbles a recording up in your readings. It bubbles up now by
    default; --at schedules it instead — a keyword (today, tomorrow,
    weekend, next_week) or an ISO8601 date.
  • remove pops 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: add sends at:"now" by default, --at schedules
    verbatim, URL arg resolves, remove DELETEs, non-id is a usage error.
  • Command catalog + surface baseline updated; TestCatalogMatchesRegisteredCommands,
    TestSurfaceSnapshot, and the MCP TestCatalog* (snapshot, provenance,
    served-count) pass.
  • go build ./..., go vet, gofmt clean. (The pre-existing interactive-TTY
    tests — TestBareBasecampNeverReportsASetupError, TestExplicitSetupStillRefuses,
    TestDeleteConfirmableFollowsTheAudienceNotTheDevice — fail identically on
    a pristine origin/main in 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 --at locally.
  • --at accepts now, today, tomorrow, weekend, next_week, or a YYYY-MM-DD date; timestamps and basic-format dates are rejected because Basecamp uses day granularity.
  • basecamp notifications bubbleups remains 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 Starred instead of Bookmarked, including the project toggle, fixing labels and toggling for bookmarked-but-unstarred projects.

Dependencies

  • Pins github.com/basecamp/basecamp-sdk/go to the merged bubble-up support through a pseudo-version; repin it to the v0.15.1 release and rerun scripts/sync-mcp-model.sh when available.
  • Updates google.golang.org/grpc to v1.83.1 to address GHSA-vp52-pcj8-j9qc and refreshes related checksums and the Nix vendor hash.