Repository navigation
Archive threads from the Mac and the iPhone - #208
Merged
Merged
Conversation
A thread can be put away from the Mac (sidebar row menu, title bar menu) or the phone (hold a thread on the dashboard, or the transcript's menu). Archived threads leave the working list on both devices. The Mac keeps them under "Archived (n)" in their project, where search still finds them; the phone hides them until "Show archived" is chosen and forgets that choice with the workspace. The transcript stays, sending a message brings the thread back, and a thread that is working or waiting for an approval cannot be archived, so nothing hidden ever waits for an answer. The paired API gains POST /v1/threads/:id/archive and an `archived` flag on snapshot threads; the Mac sends only the fact, not when it happened, and an older Mac answers 501. The Store demo and the iPhone demo mirror the rules. Verified locally: desktop typecheck (desktop and Store editions), the new runner and companion unit tests, the new archive e2e spec, all 43 iPhone unit tests and the new demo UI test on an iPhone 16 Pro simulator. Coven-Harness: Claude Code / claude-fable-5-1
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
# Conflicts: # docs/status.md
…e validation' Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
#197 replaced capture(_:name:) with attachScreenshot(of:named:) and fixed waits with UITestBudget.seconds; the archive test was written before it landed and no longer compiled after the merge. Coven-Harness: Claude Code / claude-opus-5-5
The CodeQL autofix kept rejectUnauthorized true, but the companion's certificate is self-signed and names no address, so every request failed with DEPTH_ZERO_SELF_SIGNED_CERT. Trust only the companion's own cert.pem as the CA and check the pairing link's fingerprint in place of the host name, as the phone does. Coven-Harness: Claude Code / claude-opus-5-5
…#211) Release a turn reservation if automatic unarchive fails, and wait for stable row geometry before the iPhone context-menu gesture. Coven-Harness: Codex / GPT-6
This was referenced Oct 15, 2026
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Threads can be archived from the Mac and from the iPhone, and archived threads are hidden on the phone by default.
archived: true;POST /v1/threads/:id/archivesets it. Only the fact leaves the Mac, not the timestamp. An older Mac answers 501, which the phone reports as "Update Modex on your Mac".Verification
thread-archiveand companion unit testsarchive.spec.tse2etestDemoArchiveHidesThreadUntilShownThe title bar e2e test enumerates the ⋯ menu items, so it now expects "Archive thread" too.
Notes
docs/ios-companion.mddescribes archiving;docs/status.mdlists it under "On main, unreleased".Review follow-up #211 releases admission if automatic unarchive fails and waits for stable iPhone row geometry before long-pressing Archive. The regression tests passed, independent review found no actionable issues, and every check on #211 passed before its signed squash merge. The resulting #208 tree is identical to that tested head; fresh required checks on the merge commit remain pending.
Coven-Harness: Codex / GPT-6