Skip to content

Milestone 0.15.1: the fixes of the review of 2026-11-22 - #326

Merged
manhpham90vn merged 19 commits into
mainfrom
milestone-0.15.1
Nov 24, 2026
Merged

manhpham90vn merged 19 commits into
mainfrom
milestone-0.15.1

Conversation

@manhpham90vn

@manhpham90vn manhpham90vn commented Nov 23, 2026 •

Copy link
Copy Markdown
Collaborator

Milestone 0.15.1: the fixes of the code review of 2026-11-22, and the bugs found while fixing them.

What is in it

To try on a real iPhone with a TestFlight build

These could not be shown by a test (they need Apple's push service or a suspended app). The issues marked closed are closed with this check left here.

  1. A reply or a touch on a push notification is judged against the sessions the iPhone knew before it was suspended #276 (closed): suspend the app, let an agent ask a question, answer it from the notification: the answer reaches that session, not another.
  2. The choice buttons of a push notification do nothing once the iPhone app has been launched afresh #277 (closed): force-quit the app, let an agent ask a question with choices, press a choice on the notification: the agent gets it.
  3. Answering a notification from the background tells the Mac the iPhone is in front, and its pushes stop #278 (closed): answer a notification while the app is in the background; then let the agent ask again: a push still comes (the Mac did not take the iPhone as in front).
  4. With several Macs, the Live Activity shows one Mac's name over another Mac's agents #282 (closed): with two Macs paired and agents on both, the Live Activity shows each Mac's name over its own agents.
  5. A push notification is shortened by characters, not bytes, and can be larger than Apple takes #294 (closed): a long question in Vietnamese: the notification arrives, shortened, never refused by Apple.
  6. A notification waits 10 seconds, on the iPhone and the Mac, and is not shown when the user acted meanwhile #322 (closed): an agent asks; answer it on the Mac within 10 s: no push on the iPhone. Leave it: the push comes after 10 s.
  7. A notice whose agent the user acted on in its session is not read on the Mac and the iPhone #321 (open, also needs the trial with real agents): with the iPhone away, act on the agent on the Mac: the iPhone's notification is taken back.
  8. What the host sends a client that does not read is queued without limit #270 (closed): leave the app suspended while a session prints a lot, then open it: the terminal is caught up, nothing missing or twice.
  9. A message from a client larger than 4 MB closes the connection, and nothing says why #289 (closed): open a text file of 5 to 20 MB with "Open Anyway", edit it and save: it is saved and the connection stays.

For the owner, outside what the tests can do

  1. When an agent's list of answers has a place to write one's own, the iPhone's answer place does not offer it #320, A notice whose agent the user acted on in its session is not read on the Mac and the iPhone #321: trials with the real agents, signed in, answering a question in a folder they trust. Signing in and the trust question are the owner's (rule 1).
  2. A page's permission question is lost when a second one comes, and one for the camera or microphone stays after the page is gone #255: a camera's or microphone's question after its page went, with a build that macOS has been given the microphone for.
  3. The host takes any interface address in 100.64.0.0/10 for the Tailscale address and listens on it #268: another VPN in 100.64.0.0/10 (Cloudflare WARP, say) next to Tailscale: the host listens on Tailscale's address only.

Still open in the milestone

Done since the last update

Tested

The last group, at 6e068ec:

The group before, at 9e5e8f7:

  • make format and make lint.
  • swift build.
  • swift test: 0 failures.
  • scripts/test-mac.sh in full: 211 tests, 8 skipped, 0 failures.
  • scripts/test-ios.sh "iPhone Air" and scripts/test-both.sh "iPhone Air" passed.
  • CI green (run 45235852401).

Protocol 43 (gitCommitted, #285 and #302).

🤖 Generated with Claude Code

manhpham90vn and others added 10 commits November 23, 2026 09:00
The test scripts never say passed for a run that checked nothing, and
those that reset a simulator's keychain take "iPhone Air" (#309, #311,
#319); the iPhone tests' hosts ask no service and live in the test's home
(#310). Git reads the changes whatever the user's diff prefixes (#260).
Two builds' status line relays no longer run each other without end
(#259). A weekly schedule with no real day is refused, and a window that
crosses midnight runs all through it (#291, #290). Numbers out of range
from a peer or an agent no longer stop the apps, the host or the MCP
server (#296, #271, #249). A paste can no longer be ended early (#248);
tabs stay tabs in the split diff (#295); keys typed during a replay reach
the program (#293); an ended shell's terminal is written to no more
(#275). The user's configuration that cannot be read, or is a link, is
not written over (#265, #263). A command's time limit holds for all it
started (#261). State the host cannot read is put aside and said (#273);
a test's host keeps no build's instructions (#269); one Inbox item for a
device's failed pushes (#272); the relay's answers are taken on the
host's queue (#267); a peer that has not signed in is let go at once and
writes nothing of its own in the log (#266, parts 1 and 2); a push fits
the relay in any script (#294); a number that is no number is sent, and
what cannot be read is said (#292); the host listens only on Tailscale's
own address (#268). On the Mac, a git question is never answered in
another folder (#297), and quitting with unsaved files asks (#298). A
notice whose agent moved on is read (#321), and an agent's notification
waits 10 seconds (#322).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…rough a shell (#271)

The test through a real shell needed its marks, which CI's shell did not
print: it failed before it asked anything.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A launch the host refused brings no later session in front (#299). A
page of commits that repeats one already listed is read again from the
top, in both apps (#300). A macOS notification is of its Mac, refused for
a Mac not on screen, and taken back on switching (#301). A submodule's
commit on another Mac keeps its message until git took it (#302). The
sync bar is never held for a question no host will answer (#303). Open
files are read off the main thread, only when they changed (#304). A
rename on another Mac moves the open file once that Mac took it, and a
file with unsaved changes is not put in the Trash (#305). Restart Host
says when there was no host to stop (#306). The handoff words are the
shared module's (#307). Deleting a schedule, on both apps, and removing
a paired device, ask first (#308).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A reply or a press on a notification waits for the sessions said again
on a connection proved alive (#276). A push's choices work after a cold
launch: their words are in the notification, the categories are added
to, and the delegate is made at launch (#277). A reply from the
background does not say the app is in front (#278). A pairing link from
elsewhere is asked about, and while pairing only the pairing's answer is
taken (#279). Send keeps the message while the Mac is not connected
(#280). Every wait ends when the connection closes, and a save or a
commit says at once that the Mac is not connected (#281). The Live
Activity ends with the Mac it is of (#282). What was kept for one Mac is
not sent to the next (#284). A commit is taken as made only once every
answer due is in (#285). Anything asked of a Mac not connected is said
(#286). The Inbox and the drafts are kept in protected files out of the
backups, and the paired Macs are changed in place in the Keychain (#287).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…relay heard (#322)

On CI the push reached the stand-in relay before the Mac's client had
read its noticeAlert.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The relay limits pushes by the caller's address too (#312). The release
job pins its third-party actions by commit and removes the signing files
before publishing (#314), tags the commit that was built (#315), and
gives the typed version through the environment, checked (#318). The
cask's checksum is the released one, and a different local image is
refused (#316). SECURITY.md, PRIVACY.md and the iPhone's words say what
the relay and Apple see (#317).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…e release job's changes (#314, #315, #316, #318)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A popup of a tab the user took over is the user's too (#252). A profile
deleted from a device closes its tabs, as from Settings (#253). A page
whose process stopped is said at once to the agent, and what waited for
it is answered (#254). A page's permission questions are kept in turn,
and a camera's or microphone's of a page that went is refused (#255);
the bar names each permission as CEF 156's bits are (#324). What waited
for a forgotten profile is answered, and a profile whose context could
not be made is tried again (#256). Quitting with Chromium's own windows
open is tested (#257).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ot read is not kept for without bound

A message a client sends that is larger than a frame goes in pieces the
host joins, up to 64 MB, one larger refused in words (#289, protocol 41).
The host counts what waits to go to each client; past 8 MB a client is
no longer sent its sessions' output and is caught up from where it had
all once it reads again (#270).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The host fed every piece of a session's output to its screen emulator on
the session's queue, which is slower than a program such as `yes`: the
pieces piled up, 12 MB a second. Past 4 MB waiting, the PTY is no longer
read until the emulator took half, so the program waits as in a terminal
that cannot keep up (#327). PERF-12 measured before and after.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
manhpham90vn and others added 5 commits November 23, 2026 19:22
…fails is said

Where Claude Code and Codex keep their configuration is answered by
AgentFolders, from the host's environment and the login shell's, for
setup, schedules, history, delete and usage alike (#264). A Tailscale
address the host cannot listen on is told once, with why, and taken
back once it listens; a loopback listener that fails stops the host,
which the next one says (#274, protocol 42).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A profile deleted from a device closes its tabs (BROWSER-65, #253). A
commit the Mac does not answer before its host stops ends and keeps its
message on the iPhone, and one asked while not connected is refused at
once (UNANSWERED=only, IOS-19, #281). What Restart Host does with what
listens on the port is DaemonLauncher.restart, tested (HOST-17, #306).
Removing a paired device asks first on the Mac (PAIR-11), deleting a
schedule on the iPhone (DELETE=only, SCHED-39), and SPEC.md says which
of them ask (#308).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… of the review

A commit or an amend ends with gitCommitted(path, problem), sent after
what else was answered meanwhile; both apps keep its message until then,
and an error of another request no longer ends it (#285, #302, protocol
43). The iPhone's banners take room of their own above every tab instead
of floating over it (#328). Its file changes are said at once while the
Mac is not connected (#286). PairingStore moves to AgentTermClient, its
Keychain stood in for by its tests (#287).

Tests: GIT-83 with a real repository (#300), GIT-85, REMOTE-37 (#303),
REMOTE-38 (#302), REMOTE-39 (#305), IOS-21 (#286), IOS-22 (#287),
IOS-23 (COMMITWAIT=only, #285), IOS-24 (BADSTATE=only, #328), HOST-16's
banner on both apps (#273), GIT-81 on the screen (#295), the quit
question's picture (#298, shot(topmost:)).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… no longer refuses its builds

PAIR-12 (BADLINK=only, #279): a link whose code the host refuses pairs
and keeps nothing, and the Mac that was paired stays connected. The
check that a part of screenshots.sh ran its tests (#309) was also made of
its two builds, which run none, so every iPhone run failed; they have a
build() of their own.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…told to stop its pushes

Text typed into a program that asked for no bracketed paste kept its
control characters: an element picked in the real Chromium of the build
holding ESC reached the agent as an Escape key (BROWSER-66, #248). Every
end of paste and control character but a tab and the ends of lines goes,
pasted or typed.

A Mac forgotten on the iPhone while it is not the one connected is told
to stop its pushes over a connection of its own; one that cannot be
reached is said, with what to do on it (PushWords.notToldToStop); pairing
a Mac again removes what was kept under its former id (IOS-25, #283).

PUSH-20 lists every field the relay and Apple can read of each push
(#317).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
manhpham90vn and others added 4 commits November 24, 2026 08:53
…the disk off the main thread, and the listener's banner is whole

- #280: keys typed in a terminal while its Mac is not connected are dropped
  and said once (ComposeWords.keysNotSent), on the iPhone and the Mac; the
  iPhone's note of a Send that was kept is shown in a shell too, not only
  while an agent asks. IOS-18, OFFLINE=only.
- #304: the open files' look at the disk is DiskFollow in AgentTermHost,
  one look at a time, never reading a pipe; the folders' existence and the
  files restored at start are read off the main thread. DiskFollowTests;
  measured before and after in docs/PERFORMANCE.md.
- #274: AGENTTERM_TAILSCALE_ADDRESS gives a test host a stand-in Tailscale
  address; the pairing sheet's warning wraps, and the iPhone card's headline
  wins its room over the details. ListenerFailureBannerTests, BADSTATE=only.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…lowed it

The first time a session would open a tab in a profile, which holds the
user's sign-ins, the app asks the user, with one profile as with several,
and the agent is answered at once that it is being asked (#251, decided by
principle 2). The question is a banner on the Mac and a card on the iPhone,
answered on either (protocol 44: profileQuestions both ways, and
BrowserRequest.answerProfile, refused from an agent's server). Allowed, the
session's tabs open there, which their bar says, with Take Back Profile;
not allowed, refused at once; both last no longer than the session. A
private tab asks nothing.

BROWSER-67: testAnAgentsSessionUsesAProfileOnlyOnceTheUserAllowedIt,
testAProfileQuestionReachesEveryDeviceAndIsTheUsersToAnswer, and the
question answered on the phone in test-both. The browser tests allow the
profile as the user would (MacDriver.browserOpen).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…and the trials of #255, #320 and #321

- #251: the owner chose to keep the way before (2026-11-24): an agent's
  first tab uses the only profile, or asks the user in its conversation
  which of several. 6e068ec is taken back; protocol 45.
- #320: what an agent still asks is answered from the Inbox, on the Mac and
  the iPhone: its choices as buttons, and a field for an answer of one's
  own, which the host types where the agent takes it. INBOX-14, IOS-26
  (INBOXASK=only), each seen failing without the fix.
- #255: BROWSER-68, a microphone question of a page that goes leaves the
  bar; Chromium asks before macOS, so the test build needs no permission.
- #321: RealClaudeTrialTests, the real Claude Code with the trial's hooks
  for the session only (--plugin-dir): a question answered in its terminal
  is handled as movedOn, read on every device.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
VERSION is 0.15.1; the README's table gives 0.15.1 protocol 45 and keeps
0.15.0 at 40; the release notes and TestFlight's "What to Test" are drafts
for the owner to read.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@manhpham90vn
manhpham90vn merged commit c59ef6b into main Nov 24, 2026
6 of 7 checks passed
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