You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Deliver a reviewable, fail-closed invite-authentication contract for pairing the native iOS companion with a trusted Psyche desktop host, then prove it on a physical device before changing support status.
Draft PR #264 is valuable source material, but at 32 commits / 37 files it combines desktop invite issuance, protocol fixtures, QR/deep-link presentation, iOS parsing, certificate validation, credential exchange, secure persistence, reconnect, and recovery UI. Those surfaces cannot receive credible authority/security review as one undifferentiated merge and must not bypass #241's atomic readiness gate.
Required protocol contract
Define host identity, device identity, invite identity, durable credential identity, and their canonical owners.
Bind every invite to the exact host certificate/identity and intended protocol profile.
Use bounded expiry, cryptographic randomness, single-use redemption, and atomic consume semantics.
Prevent replay, concurrent redemption, stale acceptance, superseded-flow acceptance, cross-host use, and downgrade.
Keep discovery address/QR/deep-link data separate from durable identity and authority.
Store only the durable exchanged credential; never persist or log the invite secret.
Each slice must start from current main, have one owning acceptance gate, and preserve rollback. Do not merge the 32-commit source branch as one unit.
Acceptance criteria
Invite material never appears in logs, accessibility output, screenshots/fixtures, crash reports, process args, support bundles, or persistent app state.
Exactly one redemption can commit; every concurrent/stale attempt receives a deterministic denial.
A credential-store failure cannot expose the new host/workspace as authoritative.
Revocation survives app/host restart and blocks reconnect.
Manual endpoint fallback and address changes preserve the same host identity.
Simulator tests cover transition boundaries, but physical evidence is required for the support claim.
An independent R3 review resolves current findings on every focused PR.
Outcome
Deliver a reviewable, fail-closed invite-authentication contract for pairing the native iOS companion with a trusted Psyche desktop host, then prove it on a physical device before changing support status.
Control metadata
Why this is separate
Draft PR #264 is valuable source material, but at 32 commits / 37 files it combines desktop invite issuance, protocol fixtures, QR/deep-link presentation, iOS parsing, certificate validation, credential exchange, secure persistence, reconnect, and recovery UI. Those surfaces cannot receive credible authority/security review as one undifferentiated merge and must not bypass #241's atomic readiness gate.
Required protocol contract
Ordered implementation slices
Each slice must start from current
main, have one owning acceptance gate, and preserve rollback. Do not merge the 32-commit source branch as one unit.Acceptance criteria
Non-goals
Evidence
Link the protocol decision, focused PRs, generated fixtures, threat model, exact-head CI, security review resolution, physical-device manifest, credential revocation/reconnect proof, and rollback results.