Skip to content

feat(accounts): show account status and protect host-provisioned methods - #2428

Open
JustYannicc wants to merge 15 commits into
UsefulSoftwareCo:v2from
JustYannicc:feat/account-status
Open

JustYannicc wants to merge 15 commits into
UsefulSoftwareCo:v2from
JustYannicc:feat/account-status

Conversation

@JustYannicc

Copy link
Copy Markdown
Contributor

Problem

Account checks expose health and identity but cannot show bounded provider status. A host-owned credential can also be changed through a user-driven connection flow. App-acquired checks need the account path from #2421, which is not merged into v2 yet; this branch includes that prerequisite. Related issue: #2418.

Change

Add host-provisioned secret methods and a shared link guard. Add optional app-owned checks and bounded status to the existing account-check record, filter credentials and references from every display string, and render the result in the Accounts tab. No storage migration is needed. The framework protocol advances to 15 on the v2 line.

Demo: synthetic Accounts tab screenshots

Verification

  • Frozen install with Bun 1.4.2.
  • bun run format and bun run check passed, including typecheck, lint and protocol checks.
  • bun run apps:protocols passed.
  • bun run e2e:prepare passed.
  • 11 named self-host scenarios passed across the eight selected specs.
account-status.spec.ts
account-status-factory.spec.ts
account-status-privacy.spec.ts
account-status-storage.spec.ts
account-display-privacy.spec.ts
provisioned-accounts.spec.ts
provisioned-link-boundary.spec.ts
provisioned-mixed.spec.ts

@JustYannicc

Copy link
Copy Markdown
Contributor Author

I'm preparing reusable account acquisition as a follow-up to this PR and #2421. I will reuse the provisioned-method guards and account-check/status path, and reconcile #2421's newer fixes against current v2. The new driver binding will own reconnect and explicit account deletion; it will preserve the existing app-owned lifecycle for connections that have not been adopted.

@JustYannicc

Copy link
Copy Markdown
Contributor Author

The reusable host-acquisition follow-up is now published as #2479. It retains this branch's commits, reconciles both prerequisite heads against current v2, and keeps the app-owned connection lifecycle compatible. Its own acquisition diff starts after 9869d69.

JustYannicc and others added 11 commits November 27, 2026 00:04
Keep v2 protocol 14 frozen, record the interactive host protocol as 15, and adapt account acquisition to the current host crypto and ownership contracts. Update the lifecycle scenario to match v2 user-account ownership.

Release-note: Feature: Apps can complete interactive device-code and paste-back account sign-ins.
Preserve v2 protocol 14 as a frozen contract and record combined account features under protocol 15. Keep v2 provider guides, underscored-host support, and Bun package staging with the account-status and provisioned-link behavior.

Release-note: Feature: Apps can display bounded account status and declare host-provisioned credentials.
The GraphQl path alias fixes a v2 baseline typecheck failure that is not
part of this change.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

This branch has not been deployed

No deployments
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