Skip to content

Mobile: native Connect account list and multi-computer pairing #2581

Closed

Description

@DoodleBears

Why

Account pairing presents remote computers as large text buttons, mixes account actions with selection and asks for a nickname before adding. It does not expose existing pairings or prevent duplicate enrollment, and makes adding two computers unnecessarily repetitive.

Requested behavior

  • Native grouped account page: account identity and Sign out/Delete account together; computers in their own list with Online, Offline and Added states. Keep destructive account deletion confirmed and visually separate from ordinary selection.
  • Multi-select online, unpaired computers, then Add selected. Perform each computer's full independent Host-fingerprint comparison and exact phone-key approval sequentially; never batch-approve trust or downgrade encryption.
  • Already paired computers stay visible as Added and cannot be selected again. Recheck the canonical Host identity when an offer arrives so alternate relay registrations cannot replace an existing pairing.
  • Offline registrations are nonselectable and clearly distinct from already added computers; no inferred online status beyond the relay's tunnel availability signal.
  • Use the original computer name by default; remove Name on this phone from account enrollment. Existing settings rename remains available.
  • Keep selected/result state through verification; individual failures/cancellation must not lose successful additions or silently approve remaining computers. Refresh/login/logout/delete lifecycle must not revive stale state.
  • Short bilingual labels, native platform controls, accessible states, default/intermediate/maximum text sizes and light/dark verification. No passwords/account email in published screenshots.

Acceptance

Focused regressions for selection, duplicate and offline exclusion, sequential A/B enrollment, cancellation/failure and stale account results. Shared-device queue owns native testing; reuse existing devices with matched before/after evidence. No merge, release or deployment authorization is implied by this follow-up.

Refs #2387 and completed security delivery #2542. Preserve the encrypted channel, fingerprint ceremony and device-key approval.

Activity

  1. DoodleBears commented on Oct 22, 2026

    @DoodleBears
    ContributorAuthor

    Agent work claim

    • Agent: Codex
    • Task: codex/local/01a15fc3-2dc9-7e13-a9c5-8ca7f162d141
    • Issue scope: Mobile: native Connect account list and multi-computer pairing #2581 native account sections, online/offline/added computer list, multi-select sequential secure enrollment, default names and duplicate prevention. Preserve independent fingerprint/device approval and no plaintext fallback.
    • Branch: codex/connect-account-native-list
    • State: active
    • Shared Simulator checks will be queued under the device coordinator; no independent device session, merge or deployment.
  2. added
    agent:activeOne or more coding-agent tasks currently claim this issue; see claim comments for task IDs
    on Oct 22, 2026
  3. DoodleBears commented on Oct 22, 2026

    @DoodleBears
    ContributorAuthor

    Agent work outcome

    • Agent: Codex
    • Task: codex/local/01a15fc3-2dc9-7e13-a9c5-8ca7f162d141
    • State: handed-off for shared native QA; implementation prepared, issue remains open.
    • PR: feat(mobile): native account computer list and multi-add #2583 (Draft, no merge authorization).
    • Candidate: 6a0d72af0af23cc772afcfea48cade28af878027, synchronized with main 31f313fcdaf0d1758e3dd02285e6ba15a91bf884 without conflicts. Focused regression17/mobile types/diff checks passed after integration.
    • Native work remaining: owner-cut unified batch on existing QA iOS27, actual multiple Hosts, duplicate/alias refusal, cancel/Back/late reply, partial failure/retry, independent fingerprints/key approval, encrypted operation, matched Before/After screenshots and PR rendering receipts.
    • Current blocker: no assigned device window; current main changes native build inputs, and approximately8GiB free is below the repository's approximately15GiB rebuild floor. The designated cleanup owner is still working. No device/runtime was operated or alternate baseline substituted.
    • CI result: all applicable checks green on exact candidate, run39753052171.
    • Prior security batches and semantic controller tests do not establish this native UI's acceptance. Keep this issue open and the PR Draft until the new evidence is recorded.
  4. removed
    agent:activeOne or more coding-agent tasks currently claim this issue; see claim comments for task IDs
    on Oct 22, 2026
  5. DoodleBears commented on Oct 22, 2026

    @DoodleBears
    ContributorAuthor

    Merge-first update

    Task: codex/local/01a15fc3-2dc9-7e13-a9c5-8ca7f162d141

    The Human explicitly changed the prior hold to merge first and verify with other changes in one main Simulator batch. #2583 is merged as 0ae7b1d1edac92048a6cbb9c3c78af2783322f55 after exact-head CI39753052171 passed. Native acceptance is still pending, so this issue remains open.

    The shared queue now requests main containing that merge for its next owner-cut batch, reusing the existing QA Simulator. Multi-add, duplicate/alias refusal, cancel/Back and partial failure/retry remain required. Actual matched Before/After images will be added to #2583's body after that run. Current Batch54 remains exclusive; no device was used by this source task. The cleanup blocker has cleared per the queue, while native build qualification remains necessary.

  6. DoodleBears commented on Oct 22, 2026

    @DoodleBears
    ContributorAuthor

    Batch55 Human native finding on frozen candidate 87724a3b58d556807ef1ba860adcbb96bda6d92f: after signing in on existing QA iOS27, Human explicitly requested both Sign out and Delete account to use red for their complete label and icon.

    Actual dark/default-size rendering: Sign out text and symbol are blue; Delete account text is red but its trash symbol is blue. Native account structure is present, but this appearance check fails the clarified requirement. Source owner remains the existing #2581/#2583 owner; no competing implementation claim and no edits to the frozen QA source.

    The owning iOS account primitive has no destructive styling on Sign out; Delete uses the destructive role but its systemImage still inherits the accent. A future source fix should use existing semantic danger/native styling for both symbols and text, then verify light/dark and disabled states on native UI. Role/source checks alone do not prove the icon colour.

    Private Human screenshot is preserved locally because it contains account email. Shared source handoff: .humanlayer/tasks/2581-native-qa/batch55-colour-finding.md. Submit a new exact-head READY entry after source checks; no injection into active Batch55. No account was signed out or deleted for this observation; deletion remains excluded.

  7. DoodleBears commented on Oct 22, 2026

    @DoodleBears
    ContributorAuthor

    Source handoff to t3code

    Task codex/local/01a15fc3-2dc9-7e13-a9c5-8ca7f162d141 is handing source work off at the Human’s request to t3code on the same machine. All product commits are remote on codex/connect-account-native-list at 6a0d72af0af23cc772afcfea48cade28af878027; local source worktree is clean. #2583 remains merged as 0ae7b1d1edac92048a6cbb9c3c78af2783322f55.

    The next source task should claim #2581 with its own identity and address the actual account action colour finding, then submit its exact candidate to the shared batch queue. Multi-computer addition, duplicate/cancel/failure cases and matched screenshots remain pending. Issue stays open. The active Batch55 runner retains its device/runtime lease; this handoff does not transfer it. Machine-local handoff and private evidence are retained locally and are not published.

  8. DoodleBears commented on Oct 22, 2026

    @DoodleBears
    ContributorAuthor

    Agent work claim

    Human explicitly assigned this successor after the prior source task codex/local/01a15fc3-2dc9-7e13-a9c5-8ca7f162d141 handed off. Latest issue comments and open PRs were checked; no newer competing color claim found. New independent Draft PR; no edits to the merged branch. Native execution remains exclusively with the existing T3 QA owner; source task will submit exact head/base/native inputs to Next batch READY. Human QA and redacted native screenshots remain required; no merge/release/deploy/account deletion authorization.

  9. added
    agent:activeOne or more coding-agent tasks currently claim this issue; see claim comments for task IDs
    on Oct 22, 2026
  10. DoodleBears commented on Oct 22, 2026

    @DoodleBears
    ContributorAuthor

    Agent work outcome

    • Task: codex/local/01a164b0-214b-7371-bf06-ca7c00c54137
    • State: handed-off for native QA; source follow-up owner remains this task.
    • Draft PR: fix(mobile): use danger colors for iOS account actions #2601; exact head 3726fa99d3be48da105206b74b5e5a03cec0efe7, base 914bfa57ed04807dc3f94a1ed6a4e678da898591.
    • Applied local tint(theme.color.danger) to the two iOS account Buttons; existing disabled guards, native labels, callbacks and Delete confirmation/role preserved. No native inputs changed.
    • Source checks: 34 existing tests, mobile typecheck, repo lint (existing warnings), format, bilingual ledger pass. CI is in progress; native rendering and Human QA remain untested/pending.
    • Submitted exact source and verification steps as Next batch READY to the sole QA runner. Matched privacy-reviewed light/dark and text-size screenshots, both symbols, disabled appearance and accessibility checks still required. No private screenshot published, no runtime launched, no merge/release/deployment/account deletion.

    Refs #2581 remains open for its broader acceptance; this PR only addresses the account action color finding. Source task awaits the QA owner's next-cut results and images before updating evidence or seeking Human QA.

  11. removed
    agent:activeOne or more coding-agent tasks currently claim this issue; see claim comments for task IDs
    on Oct 22, 2026
  12. DoodleBears commented on Oct 22, 2026

    @DoodleBears
    ContributorAuthor

    Agent work resumed — CI prerequisite

    Task codex/local/01a164b0-214b-7371-bf06-ca7c00c54137 resumes #2601 on the same branch. Human authorized merging after CI passes, with native QA/screenshots afterward.

    At head 3726fa99d3be48da105206b74b5e5a03cec0efe7, the mobile job failed Expo Doctor's version check: @types/react-dom expected ~19.3.0, installed 19.2.7. The final aggregate failed only because mobile-export failed. The separate lint/typecheck/build and Host smoke jobs passed. Repair is limited to this development type dependency and its lockfile resolution, then exact-head CI; no Expo SDK/native upgrade or device operation.

  13. added
    agent:activeOne or more coding-agent tasks currently claim this issue; see claim comments for task IDs
    on Oct 22, 2026
  14. 3 remaining items

  15. added
    agent:activeOne or more coding-agent tasks currently claim this issue; see claim comments for task IDs
    on Oct 22, 2026
  16. DoodleBears commented on Oct 22, 2026

    @DoodleBears
    ContributorAuthor

    Agent work outcome — Batch57 failure recorded, successor ready

    Task codex/local/01a164b0-214b-7371-bf06-ca7c00c54137: handed off for native QA; source follow-up owner retained.

    #2601 is confirmed native FAIL on merged a1656d18a70f1f115da41092ca159b59e8895f4f: six light/dark × Dynamic Type captures show red text but both icons remain blue. Its PR body now contains all six matched Before/After pairs and explicit failure/deferral limits. Only the reviewed action crops were published, with EXIF removed; all12 images verified rendered. Raw/private originals remain local.

    Independent Draft #2602 is source READY: head f95bca7e34852cf616cab1508bfaa07ea2104fb5, base a1656d18a70f1f115da41092ca159b59e8895f4f. Native Button/Label use explicit danger foreground for Text/Image, a shared icon slot and a small optical correction for Sign out. Existing callbacks/disabled guard/destructive confirmation are preserved. Native input dependencies/config unchanged; no device/runtime launched.

    Typecheck,34 existing tests,repo lint,format and bilingual ledger checks pass; CI pending. Real color, slot/optical alignment and native accessibility require the next QA-owner cut. Disabled/behavior/VoiceOver remain deferred without safe fixtures; Human Sign out/Delete never clicked. New merge authorization is required; prior #2601 authorization does not extend. #2581 stays open.

  17. removed
    agent:activeOne or more coding-agent tasks currently claim this issue; see claim comments for task IDs
    on Oct 22, 2026
  18. DoodleBears commented on Oct 22, 2026

    @DoodleBears
    ContributorAuthor

    Agent work outcome — Batch58 evidence

    Task codex/local/01a164b0-214b-7371-bf06-ca7c00c54137; state: handed-off for Human optical/merge review.

    Draft #2602 head 620bf28da53739624bff07c3a148ea07cd6b1590 adds only evidence to native-tested f95bca7e34852cf616cab1508bfaa07ea2104fb5, base a1656d18a70f1f115da41092ca159b59e8895f4f. All12 safe matched images hash-checked, reviewed, metadata stripped and confirmed rendered on GitHub. No private screenshots published.

    Batch58 six-case native color PASS, complete max-size Delete wrapping, accessible labels/hittability observed. Optical acceptance remains Human-pending: max Sign out ink-center residual +2.12px; coefficient unchanged after visual review, no numeric acceptance threshold inferred. Disabled/loading/actions/VoiceOver DEFER. Product/native inputs unchanged in evidence successor. Applicable tested-source CI passed; evidence-head checks separate. No merge; previous #2601 authorization does not apply.

    Human's new both-action confirmation/ownership-aware cleanup requirement is tracked independently in #2603 with current effect audit, proposed bilingual copy and safe-fixture matrix. It is not implemented by #2602. Batch58 released; no task-owned runtime retained and no new cut requested for an evidence-only commit.

  19. DoodleBears commented on Oct 22, 2026

    @DoodleBears
    ContributorAuthor

    Agent work claim — integration-only successor

  20. added
    agent:activeOne or more coding-agent tasks currently claim this issue; see claim comments for task IDs
    on Oct 22, 2026
  21. DoodleBears commented on Oct 22, 2026

    @DoodleBears
    ContributorAuthor

    Agent work handoff — #2602 + #2604 integration only

    Task codex/local/01a1654c-9569-7cb3-a355-ed6c79137709; state handed-off for source-owner review and future owner-cut native QA. Integration claim.

    Published combo qa/2602-2604, exact head 1e0ef7e3af5d9462385f817002b40d882459884d. This is a source-tested integration candidate, not a Release acceptance SHA.

    Input Exact revision
    Fresh main 3fe369353b6a9f784341f24fba9b555fa2744eab
    #2602 620bf28da53739624bff07c3a148ea07cd6b1590
    #2604 05b20d6d3c3841a800054f26a993e8ee541391c6

    All three are ancestors of the published combo. Both source PR refs were read back unchanged after publishing. Main already contains #2609; recording diagnosis and Batch60 remain with their owner.

    Conflict resolution: keep #2602's AccountAction, account-sign-out testID, custom danger text/icon, scaled slot/optical offset, callback and disabled guard; take #2604's pendingDeletion ? cleanupConfirm : signOut label. That label also feeds the accessible name. Delete retains its destructive role. Against #2602's panel, the product adjustment is exactly this one label expression. Auto-merged account controller, account ownership/serialization, cleanup journal, pairing-save guard, error/retry and Android panel are unchanged from #2604. No additional product behavior or native inputs were introduced by the integration.

    Combined verification: mobile typecheck PASS; full mobile suite 1,265 passed / 9 skipped; repository lint PASS with existing warnings; formatting, ledger and diff checks PASS. Eight new tests traverse the actual iOS panel + account controller + closed in-memory fixture (native component adapters mocked): both confirmations, cancellation/no effects, duplicate submit, busy/loading, and five failure/recovery scenarios. Recovery preserves the visible and accessible copy, custom icon and style props; only proven owned connections are removed. Existing regressions cover stale identity, expired credentials, pairing races, durable cleanup/restart and actual HostSession client teardown. These are source/component checks, not native rendering, VoiceOver or live-service deletion evidence. Existing source change fragments remain sufficient; no second feature implementation or duplicate PR was opened.

    Remaining gates / QA: source owners review the exact combo, then the shared queue owner cuts a future account batch using this branch instead of separately merging #2602/#2604. Preserve the independent source owners and original PRs. No account device runner is assigned by this handoff. Qualify binary/native fingerprint and loaded JS at that cut; old Batch58 evidence and Batch60 Release package do not qualify this combo. Use /qa/account-actions?scenario=success only with both __DEV__ and .dev app ID, verify the fixture title and fixture@example.invalid, reset between actions. Capture English/Chinese × light/dark × default/intermediate/maximum: red text/icons, optical alignment, wrapping, visible/accessibility names, disabled/busy inertness, both consequence dialogs and Cancel. Exercise local-write, session-write, delete-partial, expired-retry, completion-write; compare counters before opening/after Cancel/after confirmation, reject duplicate/stale confirmations, preserve manual/legacy/other records, and distinguish local-only cleanup from remote deletion. Android/native accessibility and Human optical/behavior acceptance remain separate and pending. No real account operations.

    Resources and authority: isolated source worktree and private logs retained; installer, typecheck, lint/format and test processes exited, no matching task test worker remained. No Host, Metro, watcher, preview, tunnel, browser driver, Simulator, native build or phone operation started by this task; no task listener needs release. Shared QA resources untouched. No main merge, release/deploy, install/signing or real-account deletion authorization used. The combo owner retains branch cleanup responsibility after both original PRs merge; do not delete source or evidence now.

  22. added a commit that references this issue on Oct 22, 2026
  23. DoodleBears commented on Oct 22, 2026

    @DoodleBears
    ContributorAuthor

    Agent work completed — authorized account integration merge

    • Task: codex/local/01a1654c-9569-7cb3-a355-ed6c79137709; state completed for integration/source merge. Source owners retain native/functional follow-up.
    • Human explicitly instructed merge after the handoff disclosed remaining review/native/Human gates. #2611 merged normally at 0f6ca29bd99514d76b90c5018a78ebe06d33c3f3, 2026-10-22 21:07:20 UTC / 2026-10-23 06:07:20 JST. No administrator bypass used.
    • Exact tested head 1e0ef7e3af5d9462385f817002b40d882459884d, base 3fe369353b6a9f784341f24fba9b555fa2744eab; merge tree equals tested tree 84323c29aecf36cb1d722a289d448d15595ace03. Both source heads remain ancestors. GitHub automatically marked fix(mobile): color and align account action symbols #2602 and fix(mobile): confirm account actions and clean owned connections #2604 MERGED; their original branch refs remain unchanged.
    • Full CI 39853253941 PASS: static/type/build, all three test shards, mobile verification, Android module tests, docs and isolated Host smoke. Real-model E2E was skipped. Local combined mobile checks were 1,265 passed / 9 skipped. CodeRabbit was still PENDING at merge, with no posted reviews or line findings; it was not a required repository check. No automatic review approval is claimed.
    • Future account QA intake now uses main containing 0f6ca29bd99514d76b90c5018a78ebe06d33c3f3, replacing the combo branch. Safe fixture/native screenshot, VoiceOver, Android and Human optical/behavior gates remain pending. This is not Release acceptance or publication; no account operation, phone install or shared QA resource action was performed.
    • Per combo lifecycle rules, remote qa/2602-2604 was deleted only after both source PRs were merged. Exact commit, PR and private evidence remain retained; original source branches and main checkout work remain untouched. No task runtime services were started or left running. agent:active remains while other source/Release claims are active.
  24. DoodleBears commented on Oct 22, 2026

    @DoodleBears
    ContributorAuthor

    Human-authorized issue closure

    Closing at the Human's explicit request following the merge of #2611 (0f6ca29bd99514d76b90c5018a78ebe06d33c3f3), which includes #2602 and #2604. Implementation and integration are merged; full combined CI passed.

    This closure does not mark the remaining native fixture, accessibility, Human optical/behavior or live-service checks as passed. Their exact-source checklist remains in the shared device QA queue and the integration/QA handoff. Existing source owners retain follow-up on concrete findings. CodeRabbit is still pending at this closure; no automatic-review approval is claimed. No release/deployment, device operation or real-account action is authorized by closing this issue.

    Task: codex/local/01a1654c-9569-7cb3-a355-ed6c79137709.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent:activeOne or more coding-agent tasks currently claim this issue; see claim comments for task IDs

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions