Skip to content

bt trace doctor reports "Auth: ready" even while every event is being rejected by the daemon #383

Description

Summary

While reproducing the credential-store-split issue (see the linked issue below), both
bt trace doctor codex and bt trace doctor claude reported:

Auth: ready (saved_profile)

at the exact same time the daemon's log showed every incoming event being rejected due to a
credential mismatch. doctor validates the credential store it can see directly (the real one), not
the one the daemon actually resolves against (which can be the virtualized one under app
sandboxing) — so it reports a healthy configuration during total data loss.

Since doctor is the tool users are pointed to when tracing looks broken, this false positive
actively misleads troubleshooting.

Suggested fix

Make doctor resolve credentials through the same code path the daemon itself uses, so a mismatch
between what the CLI sees and what the daemon sees is detected rather than masked.

Related

#381 (the underlying credential-store split)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions