Skip to content

Fix misleading SCE login status when telemetry is unavailable - #351

Merged
davidabram merged 3 commits into
mainfrom
fix/sce-login-status
Nov 17, 2026
Merged

davidabram merged 3 commits into
mainfrom
fix/sce-login-status

Conversation

@davidabram

Copy link
Copy Markdown
Member

SCE doctor and the Claude status bar now inspect the saved WorkOS session instead of repository telemetry authorization. A saved renewable session remains logged in when telemetry is missing or expired or a repository is not enrolled. Credential-store failures, database contention, outdated schemas, and lookup failures report a separate unavailable warning with a machine-readable reason.

The inspection creates no database or key, runs no migration, and makes no network refresh. Telemetry and setup authorization retain their existing checks. Add isolated database regressions, status/notice coverage, and a standalone Bun check to nix flake check.

Validation:

  • Rust 1.95: 21 doctor tests and 2 isolated session tests passed.
  • Rust 1.95: clippy --all-targets -- -D warnings and formatting passed.
  • Standalone Bun status tests: 3 passed, including 22 assertions; also passed from the minimal Nix-check source layout.
  • Canonical Pkl generation and git diff --check passed.
  • An additional broader doctor test run on Rust 1.99 passed all 37 tests.
  • Full nix flake check was not run locally because Nix is unavailable. Existing Claude-engine tests require claude-code/testing, which is unavailable here; the standalone status tests exercise the changed status and login-notice predicate without that harness.

Login status is an offline check of saved usable or renewable credentials; remote revocation is still detected by authenticated commands.

davidabram and others added 3 commits November 10, 2026 11:00
Keep the generated hook templates visibly bounded so hook merging can identify the SCE-owned region reliably. Add a regression test that requires every embedded hook asset to contain exactly one balanced managed block.

Co-authored-by: SCE <sce@crocoder.dev>
Represent unavailable authentication status explicitly in the SCE info output, and remove redundant implementation comments from the Claude, OpenCode, and Pi integrations.
@davidabram
davidabram added this pull request to stack #353 November 10, 2026 12:00
@davidabram
davidabram merged commit a29346d into main Nov 17, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant