Skip to content

docs(id): design native Android client (#5780) - #7826

Merged
dezren39 merged 5 commits into
mainfrom
queue/12783-5780-android-client-design
Nov 10, 2026
Merged

dezren39 merged 5 commits into
mainfrom
queue/12783-5780-android-client-design

Conversation

@dezren39

@dezren39 dezren39 commented Nov 8, 2026 •

Copy link
Copy Markdown
Member

Summary

Evidence

Merge Danger

Door: two-way

Blast Radius: low

This is a design record only. Hardware-specific Keystore behavior and FFI/API details are explicit follow-on spikes; no runtime behavior changes here.

Closes #5780


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

@dezren39
dezren39 requested a review from a team as a code owner November 8, 2026 22:13
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-10T03:09:33.243593Z
We couldn’t complete this review. Comment @codex review to try again.
5b1d422 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@coderabbitai

coderabbitai Bot commented Nov 8, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 35 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: b44c04bf-1d36-4421-9631-4cfb1b3bdee0
Commits

Reviewing files that changed from the base of the PR and between dedfa6f and 5b1d422.

Files selected for processing: 2

  • doc/2026-11-08T22-06-00Z_design_id_android_client/2026-11-08T22-06-00Z_design_id_android_client.md
  • doc/README.md
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 4acefba3d0

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

1. an ID grant scoped to provider, capability, consumer, purpose, rate/volume, and expiry; and
2. the relevant Android runtime permission or system-mediated selection for the operation.

Effective authority is their intersection. Denial or revocation by either gate stops the invocation and suspends the affected provider capability in discovery; an Android permission does not create an ID grant. The host checks ID authority on every invocation. A transport identity, Binder caller, AppFunctions entry, or notification token is not itself a grant.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Keep consumer grant denials scoped to the invocation

When one consumer has an expired, revoked, or missing ID grant, this rule suspends the provider capability in discovery even if other consumers still have valid grants and the Android permission remains available. That turns a consumer-specific authorization failure into unavailability for authorized consumers. The consumed #5903 decision distinguishes these cases: D3(2) denies the individual invocation, while D3(3) suspends dependent capabilities on Android permission revocation. Restrict capability-wide suspension to provider/platform availability changes and keep consumer grant failures scoped to the affected authorization.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 5b1d422 (task 14482, lane code-g): §5.1 now scopes a consumer-specific ID-grant failure (expired, revoked, or missing grant for that consumer) to denying only that consumer's invocation per #5903 D3(2), and reserves capability-wide suspension in discovery for provider/platform availability changes — Android permission revocation, provider shutdown, or leaving the declared execution envelope — per D3(3). Other consumers with valid grants are no longer made unavailable by one consumer's grant failure.

- Repair the relative link to doc/2026-11-08T05-48-47Z_design_input_event_model.md
  (it pointed at a folder that does not exist; the record is a flat file).
- List the design record in doc/README.md under Dated records, matching the
  practice of recently merged design records.
- Point section 9 at the filed implementation issue #7938 and name the slice
  blockers (#3447, the #1831 contract slice) so the design does not sit silently.
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

…t file)

The prior commit assumed doc/2026-11-08T05-48-47Z_design_input_event_model.md
was a flat file; main carries it as a dated folder with the same-named .md inside,
so the original relative link was already correct. Revert that part.
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@dezren39
dezren39 merged commit faba602 into main Nov 10, 2026
2 of 5 checks passed
@dezren39
dezren39 deleted the queue/12783-5780-android-client-design branch November 10, 2026 19:45
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.

id: design: native Android client — identity custody, offline worlds, full client (extends the #1831 PoC)

1 participant