Repository navigation
Filter gauge listings by chosen projects - #1049
Conversation
There was a problem hiding this comment.
🟡 Changes recommended
The SDK dependency bump leaves a stale vendorHash in nix/package.nix, breaking the Nix flake build.
1 open issue
What changed in this PR
This PR adds explicit project filtering to gauge listings while keeping unfiltered listings account-wide.
Changes:
- Supports single-project filters and ordered, repeatable
--projectsfilters, with validation and request-level tests. - Upgrades the SDK to v0.37.0 and synchronizes provenance and the vendored MCP model.
- Updates help, documentation, and snapshots, including the overdue report’s first-page behavior.
[!TIP]
If you aren't ready for review, convert to a draft PR.
Click "Convert to draft" or rungh pr ready --undo.
Click "Ready for review" or rungh pr readyto reengage.
| File | Description |
|---|---|
skills/basecamp/SKILL.md |
Documents gauge filters and condenses discovery guidance. |
internal/version/sdk-provenance.json |
Records SDK v0.37.0 provenance. |
internal/mcpserver/testdata/catalog_snapshot.txt |
Clarifies overdue-report pagination. |
internal/mcpserver/model/PROVENANCE.json |
Records the updated model source. |
internal/mcpserver/model/openapi.json |
Syncs pagination and project options from the SDK. |
internal/commands/reports.go |
Adapts the overdue-report call and documents first-page results. |
internal/commands/gauges.go |
Implements explicit project filters and validation. |
internal/commands/gauges_test.go |
Covers filtering, ordering, ambient scope, and invalid input. |
go.sum |
Updates SDK checksums. |
go.mod |
Upgrades the SDK dependency. |
API-COVERAGE.md |
Records gauge-filter support. |
.surface |
Adds the --projects flag snapshot. |
Review effort: Balanced
bd78aad to
b13b242
Compare
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. Hooray! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
Codex Review: Didn't find any major issues. 🚀 Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
@codex review Please review final head 7a58239, including project/account scoping and filter validation. Since the clean reviews on b13b242, the only changes refresh the Nix vendorHash for the rebased dependency tree (verified with make update-nix-hash and a successful Nix build) and correct the overdue help's JSON metadata path. Full bin/ci passed on this head. |
|
Codex Review: Didn't find any major issues. Nice work! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
7a58239 to
2546cd8
Compare
|
@codex review Please confirm the rebased head 2546cd8. The gauge implementation, its tests, and overdue help are unchanged from the clean review on 7a58239. Rebased onto cc1b3ad and resolved only the generated Nix vendorHash conflict by regenerating and verifying a successful Nix build. Full bin/ci passed. Preparing to merge once checks and reviews are clear. |
|
Codex Review: Didn't find any major issues. Already looking forward to the next diff. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
…950575 * origin/main: Keep a person's client flag when it is false (#1055) Filter gauge listings by chosen projects (#1049) Say how to recover a broken connect.json, and keep reporting around it (#1053) Support schedule entry drafts, highlights, and join links (#1019) Let auth login reach a beta preview on a private network (#1054) Resubscribe the feed when its socket stays connected and stops delivering (#1056)


gauges list --in <project>previously ignored the selected project and returned account-wide gauges. It now sends the explicit project through the SDK, and--projectsaccepts an ordered, comma-separated and repeatable list of project IDs or names. The two forms cannot be combined; without either, listing remains account-wide and ignores the configured default project.Bumps the SDK from v0.36.0 to v0.37.0, the first released version carrying
GaugeListOptions.BucketIDsfrom basecamp/basecamp-sdk#1081, usingmake bump-sdk REF=v0.37.0. Adapts the overdue-report signature with page 0 to preserve its existing first-page request, documents that behavior, and syncs the vendored MCP model and snapshot to the release. No new SDK service methods were introduced in this bump.Adds request-level coverage for IDs, names, aliases, ordered multi-project filters, ambient scope, conflicting filters and invalid input. Updates CLI help, the agent skill, API coverage and the surface snapshot.
Validation:
bin/cipassed, including all 566 BATS tests and the pinned v2.11.1 linter. Runtime verification against isolated local bc3 captured baseline--inreturning both gauges and the changed binary returning only the requested project's gauge. Ordered and repeated filters matched an independent API read; name resolution and empty-filter errors also passed. Temporary gauge settings were restored and the server stopped. Evidence run:20261121-230800-gauges-project-filter.Card: https://app.basecamp.com/2914079/buckets/48521764/card_tables/cards/10476950614
The card has no comments and a search of existing CLI PRs found no implementation of this filter. The card remains unchanged.
Summary by cubic
gauges list --in <project>previously ignored the selected project and returned account-wide gauges. It now sends the explicit project through the SDK, and a new repeatable--projectsflag accepts an ordered, comma-separated list of project IDs or names. The two filter forms cannot be combined; without either, listing stays account-wide and ignores the configured default project.SDK bump and overdue report
GaugeListOptions.BucketIDssupport, syncs the vendored MCP model, and refreshes the Nix vendor hash.Tests
bin/cipasses, including all 566 BATS tests and the pinned linter.Written for commit 2546cd8. Summary will update on new commits.