The device bridge is skipped entirely when the host's account UUID doesn't match the stored one.
What's wrong with this entry?
The device bridge now compares the stored account UUID against a host-supplied CLAUDE_CODE_ACCOUNT_UUID and skips the bridge entirely if they differ, instead of proceeding. The environment value is only honoured when it arrived from a trusted env or file-descriptor source.
- Account resolution moved into one helper returning resolved, missing, or mismatch.
tengu_device_bridge_skippednow carries anaccount_mismatchfield alongside the existing missing-org and missing-account fields.- A debug line names the resolution status when the bridge is skipped.
account_mismatch
Strings lifted out of the shipped bundle, so the claim above can be checked against them.