Repository navigation
docs(id): design native Android client (#5780) - #7826
Conversation
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Warning Review limit reachedYou'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. View limit details
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. |
There was a problem hiding this comment.
💡 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. |
There was a problem hiding this comment.
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 👍 / 👎.
There was a problem hiding this comment.
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.
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
…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.
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Summary
Evidence
origin/mainataf4e603e896a92bb3ddfbacb9d1089d83571f401had no Android client design record.doc/2026-11-08T22-06-00Z_design_id_android_client/2026-11-08T22-06-00Z_design_id_android_client.mdcontains all five requested sections and an acceptance mapping.git diff --cached --check— pass; relative link to the Proof-of-concept Android app + input interface extension (touch, mouse, hover) for relaying into live apps #1831 input-event design — pass; code tests not applicable (documentation-only).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
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.