Skip to content

Docs describe the app as it works today - #885

Merged
promptclickrun merged 1 commit into
mainfrom
docs/catch-up-with-code
Nov 7, 2026
Merged

promptclickrun merged 1 commit into
mainfrom
docs/catch-up-with-code

Conversation

@promptclickrun

Copy link
Copy Markdown
Owner

Many docs still described the retired Link transport (bighelp account, pairing, encrypted relay) as how device tools, cards, group chats, wiki and background wakes work. Some docs also listed limits the app no longer has, so they lagged the code.

This PR changes docs only. The code on main was the reference for every change. Docs about Link only are marked historical, not deleted.

Docs changed

  • AGENTS.md: the First run bullet now has the optional Appearance step and the AI data agreement. The second mode card is Chat (.sessions).
  • README.md: What's where says what services/ holds (the relay is recovery only) and links the main docs.
  • docs/ARCHITECTURE.md: the implementation map names plugin files that exist (native_api.py, native_context.py, registration.py, adapter.py, store.py), not http_contracts.py, link_contracts.py or adapter_*.py. The "tested stock 0.21.2 compatibility map" is gone (no such map exists; versions never gate). The doc also no longer mentions directed Link frames, passkeys or the account key. It adds the big-file uploads and fixes the Cards section (no "build 3"). The Wiki section is marked as history.
  • docs/IPHONE_DEVICE_TOOLS.md: Components and Transport now describe the plugin's device-tools/{connect,poll,result,close} routes, NativeDeviceToolSession, connect cards, the 300 s ask window, the 25 s background grace, the 30 s lease, the reopen waits, the journal and outcome_unknown.
  • docs/BIGHELP_CARDS.md: cards travel as fenced loopdy-card blocks in the agent's reply over the native chat stream. Object cards are gated by renders in people/speaking. The diagram and the trust table are new. A short App cards section is added.
  • docs/HERMES_BOT_MODE.md: group chats use Hermes groups.* over the native socket. BighelpLinkHermesBotModeClient is called a legacy name. Missing tests and plugin files are removed.
  • docs/BACKGROUND_CHAT_CONTINUITY.md: the old wake numbers (20 s, 500 ms, 3 s, 150 ms, 250 ms plugin throttle) are not in the app or the plugin, so they are removed. The doc now describes the 25 s grace, the save on leaving, the reread on return and the two kinds of quiet push.
  • docs/STANDALONE_DIRECT.md: historical-name banner. The "current limits" list is fixed: attachments, PDFs, photos, voice and cards work. The setup path and sign-in modes are corrected.
  • docs/DIRECT_STREAMING_AND_LIVE_VOICE.md: the Link routes and fallback are removed and the doc points to NATIVE_TRANSPORT.md. The voice setup names the plugin's voice/* routes.
  • docs/DIRECT_HERMES_SESSIONS.md: separates the socket's session.delete (tried first) from the dashboard's DELETE /api/sessions/{id} (fallback). Notes that WorkspaceOperation.sessionDelete has the raw value sessions.delete. Adds idempotency_key and bot-chat/create.
  • docs/CLOUDFLARE_INFRASTRUCTURE.md: rewritten from services/*/wrangler.jsonc: five Workers plus the recovery-only relay, the real bindings (D1, Durable Object, APNs retry queue, telemetry service), direct APNs with BuzzKit fallback and sealed alerts. "No Worker source in this repo" is gone. No account IDs or secrets.
  • services/catalog/README.md: "App integration (not built yet)" now describes TemplateCatalogStore: 6-hour refresh, 1 MB cap, ETag and bundled fallback.
  • docs/LINK_RETENTION.md, docs/ACCOUNT_CATALOG_COMPATIBILITY.md, services/relay/README.md: historical banners.
  • contracts/wiki-v1.md, Bighelp/Wiki/INTEGRATION.md: historical banners that say what is left of Wiki (inactive code, no screen, no plugin routes).
  • docs/IOS27_DESIGN_CONTRACT.md: first run lists the shipped steps in order. The mode cards are Bots, Chat and Code. Theme import and export are gone. The default accent is Ink.
  • docs/CHAT_INTERACTION_CONTRACT.md: new row for a send while the agent works: tap uses the default from Settings › Chat, touch and hold Send for 1 s for the other choices, Command-Return on a keyboard.
  • docs/SECURITY_AND_PRIVACY.md: the Link account key, pairing and Link frames sections are replaced by a short retired note. Device tools go over the native connection. The privacy manifest section now matches PrivacyInfo.xcprivacy. The table is corrected: chat is never sent to Cloudflare. A new note says older plugins still send readable alert text.
  • docs/DEVELOPMENT.md, docs/TELEMETRY.md, docs/WORKSPACE_MANAGEMENT.md, docs/CACHE_FIRST_SESSIONS.md, docs/IDLE_STARTUP_RELIABILITY.md, docs/LONG_SESSION_PERFORMANCE.md, docs/CHAT_PERFORMANCE_VALIDATION.md, services/provider-logos/README.md: smaller Link, relay and Wiki corrections. Send now puts messages in stagedSends instead of waiting.
  • docs/hermes/EXTENSIONS.md: adds the 8 plugin routes the app uses but the doc left out (bot-chat/create, marketplace/plugins, voice-catalog, vault/link, skills/import, html-apps/*, uploads/*). Scripts/validate_hermes_transport_docs.py failed on main because of them and passes now.

Checks

  • python3 Scripts/validate_hermes_transport_docs.py: passes (it failed on main before this change).
  • python3 Scripts/check-localization.py: passes.
  • A local Markdown link check over docs/, the root docs, services/*/README.md, contracts/ and Bighelp/**/*.md found no broken relative links.
  • No builds or simulators: this PR changes no code.

Code questions

These look like bugs or dead code. This PR does not change them.

  • MidSessionSendHoldStateMachine.threshold is still 3.0 s (Bighelp/Chat/MidSessionSendHoldStateMachine.swift:16). The real hold is ChatComposerInteractionPolicy.sendOptionsLongPressDuration (1.0 s). Only its maximumDistance is used at runtime; the state machine itself runs only in its tests.
  • Bighelp/Info.plist NSCameraUsageDescription still says the camera scans "short-lived pairing codes". There is no pairing scanner now.
  • The Wiki pieces are left but unreachable: DirectHermesNativeContext.swift:341+ (wiki/* routes, native-wiki-v1, which the plugin no longer lists), DirectHermesWikiClient, OptionalReferenceServices (bind(owner:accountID:currentOwner:) and eraseAccountData have no callers), WikiOwner.Authority.link, and RootWorkspaceActions.swift:217 (.wiki opens a page that can only say unavailable). .github/workflows/ios-ci.yml still runs plugin wiki tests that no longer exist.
  • ShellFeatureStore.setChatPresentationDeferred is used only by CanvasStreamingFixtureClient. The comment at BighelpApp.swift:566 says the app marks that boundary when it leaves, but the live app never does.
  • Messages still point people to "Accounts and Devices", which no screen is called: BighelpHostRegistry.swift:503, 573 and BighelpManagedNotificationComposition.swift:144, 357, 406-418.
  • Link-era code with no live caller: the Link initializer of BighelpLinkHermesBotModeClient (HermesBotModeClient.swift:36, tests only), deleteNativeRow (DirectHermesSessionCatalogClient.swift:1419, tests only), BighelpLiveActivityCoordinator.scheduleLegacyLinkReceive (:309), and the loopdy_link wake (BighelpLinkApplePush.swift:244), which only services/link/src/buzzkit.ts:483 sends, for Link frames.
  • NativeDeviceToolSession.swift:222-223: a comment says the host waits 30 s for Location. The plugin gives location.current 60 s.
  • BighelpCardCatalogClient.productionIndexURL is nil, so the card catalog screen opens only from debug launch flags.
  • services/link still serves the old account, pairing, device and /v1/socket routes and keeps the Link frame queue. It also still accepts unsealed alerts from older plugins. This may be on purpose, for old builds.
  • Removing a host does not clear device-tool grants or the device-tool journal (device-tool-outcomes-v1.json), and nothing else erases them. This may be on purpose, because one grant list now covers every host.

Made in a T3 Code thread by Claude Opus 5.5 (claude-opus-5-5) through the Claude Code harness. Four Opus writer subagents each edited one group of docs. Then the lead checked every diff against the code.

🤖 Generated with Claude Code

The docs still described the retired Link transport (bighelp account,
pairing, encrypted relay) for device tools, cards, group chats, wiki and
background wakes, and listed limits the app no longer has. Correct them
against the code, mark Link-only docs as historical, and add the plugin
routes the transport-docs check found missing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@promptclickrun promptclickrun self-assigned this Nov 7, 2026
@promptclickrun
promptclickrun merged commit 0067dd1 into main Nov 7, 2026
2 checks passed
@promptclickrun
promptclickrun deleted the docs/catch-up-with-code branch November 7, 2026 19:13
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