Repository navigation
Keep a person's client flag when it is false - #1055
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
🔵 Needs a closer look
The PR depends on an unmerged, breaking SDK draft and a release/rebase after CLI #1044, leaving the final SDK pin, MCP provenance, and Nix vendor hash pending human confirmation.
No open issues 🎉
What changed in this PR
Updates the CLI to an SDK commit that preserves client: false, addressing missing author flags that caused connector project trust to reject non-client Campfire mentions. The SDK pin remains unreleased, pending the release and rebase described in the PR.
Changes:
- Preserve explicit client flags and reject missing flags in connector trust checks, while keeping existing display and filter behavior.
- Carry overdue-report pagination support for CLI and MCP callers.
- Add regression tests and refresh SDK provenance, model metadata, and the Nix vendor hash.
[!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 |
|---|---|
nix/package.nix |
Refreshes the dependency vendor hash. |
internal/version/sdk-provenance.json |
Records the pinned SDK revision. |
internal/tui/workspace/data/hub.go |
Preserves existing client display defaults. |
internal/mcpserver/testdata/catalog_snapshot.txt |
Updates the overdue-report description. |
internal/mcpserver/server_test.go |
Tests overdue-report pagination through MCP. |
internal/mcpserver/model/PROVENANCE.json |
Records the synchronized model revision. |
internal/mcpserver/model/openapi.json |
Syncs report pagination and project request fields. |
internal/connector/setup/pings_test.go |
Tests rejection of Ping participants with missing client flags. |
internal/connector/setup/checks.go |
Tracks missing client flags and rejects them in trust checks. |
internal/connector/setup/checks_test.go |
Tests client-flag conversion and trust rejection. |
internal/connector/admission/sdk.go |
Requires explicit non-client status for project membership. |
internal/connector/admission/sdk_test.go |
Tests membership rejection when the flag is missing. |
internal/commands/reports.go |
Adds overdue-report pages, total counts, and next-page hints. |
internal/commands/reports_test.go |
Tests report paging, summaries, and navigation hints. |
internal/commands/people.go |
Adapts client reads while retaining filter behavior. |
internal/commands/connect_setup_test.go |
Adds explicit client flags to test people. |
internal/commands/chat_test.go |
Tests preservation of false, true, and absent creator flags. |
go.sum |
Updates SDK dependency checksums. |
go.mod |
Pins the SDK commit containing the client-flag fix. |
.surface |
Records the overdue report’s new --page flag. |
Review effort: Balanced
basecamp chat messages, chat line and people show printed a non-client author with no client key at all, because the SDK's Person.Client was a bool tagged omitempty. The local agent connector's project trust requires client == false, so it refused every Campfire mention from anyone but its operator. This moves to SDK v0.39.0, where Person.Client is a *bool, so false is kept and written back, and a person a response says nothing about has no key. The callers that read the flag change with it: - Trust decisions refuse a person whose read left the flag out. The connector's project trust counts a listed person as a member only when the listing says they are not a client, and setup's checks of the operator, the allowlist and each Ping participant refuse a person read without the flag, as they refuse a client. The project people listing, a person, the profile and a Ping's people all render through bc3's full person partial, which always sends client, so no real member is refused. The connect tests' fake people now carry the flag too. - people list, people clients and the clients-disable check, and the workspace hub read a missing flag as not a client, as they did before. The SDK move also brings a fix for a completion's deprecated completer sharing pointers with its creator, and the Nix vendor hash and MCP model provenance follow go.sum and the SDK commit.
robzolkos
force-pushed
the
keep-person-client-flag
branch
from
November 23, 2026 00:48
1ed3798 to
2a6058c
Compare
robzolkos
marked this pull request as ready for review
November 23, 2026 00:48
jeremy
added a commit
that referenced
this pull request
Nov 23, 2026
…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)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
An agent on Basecamp set to trust anyone on its project ignored Campfire mentions from everyone except its operator.
chat messages,chat lineandpeople showprinted a non-client author with noclientkey, so a connector requiringclient == falserefused all of them. The cause was in the SDK, and SDK v0.39.0 fixes it (basecamp-sdk#1111):Person.Clientis now a*bool. This moves the CLI onto v0.39.0.What changes besides the bump:
client, so no real member is refused. The connect tests' fake people now carry the flag the way bc3 does.people list,people clients, the clients-disable check and the workspace hub read a missing flag as "not a client", as before.go.sumand the SDK release.Checks
bin/cipasses on this head,2a6058c8, which is based on current main.chat lineprints the creator'sclientasfalse,trueor no key, matching what Basecamp sent. Project membership refuses a listed person with no flag. Setup refuses an operator, an allowlisted person or a Ping participant whose read had no flag. Each one fails when its fix is reverted. Thechat linetest also fails against an SDK built to dropfalse.chat messagesfalsechat linefalsepeople showfalsepeople show(a client)truetrueopenai-codex/gpt-6.1-sol(thinking high), in two rounds on the earlier branch:1ed37982, apart from the bump files. A whole-tree search found no new reader ofPerson.Clienton main.Card: Agent connector silently ignores Campfire @mentions from anyone but the operator