Skip to content

docs: align the docs and the site with the code (review 2026-11) - #191

Merged
Derrors merged 1 commit into
mainfrom
docs/review-alignment
Nov 25, 2026
Merged

Derrors merged 1 commit into
mainfrom
docs/review-alignment

Conversation

@Derrors

@Derrors Derrors commented Nov 25, 2026

Copy link
Copy Markdown
Owner

What and why

Phase 0 docs from the architecture review of 0.2.14: twelve places where the docs or the site (website/, both languages) disagreed with the code. Each was checked against the code first:

  1. security: pairing records are kept by the system's usbmuxd in /var/lib/lockdown (Linux) or /var/db/lockdown (macOS), not in the data directory (as deploy/backup.md and SECURITY.md already said)
  2. getting started: line 7 said Apple silicon Macs only, line 52 Intel too (feat(release): prebuilt binaries for Intel Macs #182)
  3. FAQ: the "Enable UI Automation" passcode prompt is retried every 5 s, each launch waiting about 25 s (PIN_RETRY, PIN_ATTEMPT), not every 60 s
  4. tools: replace: true works through WDA too, with a different rollback (WDA empties the field first, native pastes over a selection)
  5. FAQ, troubleshooting: the "paired computer" icon also comes from native taps, swipes and buttons (the HID session holds the screen media stream; closed after 30 s idle)
  6. security, SECURITY.md: releases ship Ed25519-signed manifests checked for signature, name, size and SHA-256; WDA listens on the phone's loopback only (fix(wda): listen on the phone's loopback only #180); native control needs no Apple ID or anisette; app-scoped tasks (buttons and quitting apps aren't checked)
  7. remote: identifying the local process behind an HTTP API call works on Linux only (viewer/peer.rs); SO_PEERCRED on the Unix socket works on both
  8. docs/tools.md: iphone_wait_for's state, automatic unlocking without WDA, a native-control section matching the site
  9. docs/architecture.md: the diagram redrawn (viewer, ictl-ax, ictl-webinspector, ictl-l10n, native control, WDA launched in the background and listening on loopback), the ictl-ax crate, the newer state.json fields; and, since fix(ddi): mount the classic personalized DDI on iOS 17-18 (#185) #186 landed meanwhile, iOS 17–18 mounting the classic personalized image
  10. docs/troubleshooting.md: a native-control section, as on the site
  11. docs/dev/ios27-native.md: one rule for re-signing and the Apple ID session check. It describes the behaviour of fix: review hardening for re-signing, buffers and small leaks #187 (WDA upkeep only for devices that use WDA), so merge this after fix: review hardening for re-signing, buffers and small leaks #187
  12. release docs: docs/dev/release-updates.md names the four targets; docs/task-control.md names viewer-tokens.json. The review's wording was slightly off for both (the targets weren't listed at all, and the old name was already marked as old); clarified anyway

Tests

1. Unit tests

  • cargo test -p ictl-protocol --locked (the env-variable documentation check): 12 passed
  • No Rust code changed

2. Real-device regression

  • Not needed: docs only

3. Regression cases

  • Not applicable

4. Real-device proof of the fix or feature

  • Not applicable: docs only. pnpm --dir website run docs:build passes without dead-link warnings

Checklist

  • No MCP change
  • No new dependencies
  • No private data

🤖 Generated with Claude Code

- security: pairing records are in the system's lockdown directory, not the
  data directory; release manifests are Ed25519-signed and checked for
  signature, name, size and sha256; SECURITY.md covers the phone-side WDA
  loopback, native control needing no Apple ID, and app-scoped tasks
- getting started: Intel Macs are supported
- FAQ: the automation-pin prompt is retried every 5 s, each launch waiting
  about 25 s; native taps, swipes and buttons also open the screen mirroring
  session
- tools: `replace: true` works through WDA too, with its own rollback; add
  `iphone_wait_for`'s `state`, native auto-unlock and a native-control section
- remote: process identification over the viewer's HTTP API is Linux only;
  `SO_PEERCRED` on the Unix socket works on both systems
- architecture: redraw the diagram (viewer, ictl-ax, ictl-webinspector,
  ictl-l10n, native control, background WDA), add the ictl-ax crate, the new
  state.json fields and the WDA-only re-sign and session upkeep; iOS 17-18
  mount the classic personalized image (#185)
- troubleshooting: add the native-control section; the paired-computer icon
  also comes from native input
- ios27-native: one rule for re-signing and the Apple ID session check
- release updates name all four targets; task-control names viewer-tokens.json

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
@Derrors
Derrors force-pushed the docs/review-alignment branch from c695591 to cc6603e Compare November 25, 2026 02:36
@Derrors
Derrors merged commit 84fd5c8 into main Nov 25, 2026
9 checks passed
@Derrors
Derrors deleted the docs/review-alignment branch November 25, 2026 02:39
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