From 9152ced6686298e6f7b0d52bdd07d596da9c9c80 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 18 Nov 2026 21:55:39 +0000 Subject: [PATCH 1/9] docs(release): 0.6.0 notes, and the changelog cut at the 0.5.0 tag The notes for the fifth preview: the workbench facelift, a board for each jar, the two-phase Seal, and the Zest tools in their own window, offline. CHANGELOG: v0.5.0 is a7941bc (#90), so #78 to #90 move out of Unreleased and into 0.5.0, where they shipped. 0.6.0 is #91 to #102. Co-Authored-By: Claude Fable 5.2 Claude-Session: https://claude.ai/code/session_01D6Hz8oqdbXgs3NyZBZea29 --- CHANGELOG.md | 34 +++++++++++++----------- docs/releases/v0.6.0.md | 57 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 76 insertions(+), 15 deletions(-) create mode 100644 docs/releases/v0.6.0.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 8d23f46..eb05a4f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,28 +4,20 @@ Notable changes to NetRelish. Release notes for each preview are in `docs/releas ## Unreleased +Nothing yet. + +## 0.6.0 — 2026-11-18 + ### Added -- The workbench facelift: attached tabs, the Shelf as a rail of jars, a two-phase Seal, the floating ⌘K (ADR 0035). -- The Workstation v5 window (#95). +- The workbench facelift: attached tabs, the Shelf as a rail of jars, a two-phase Seal, the floating ⌘K (#102, ADR 0035). +- The Workstation v5 window, with a board for each jar (#95, ADR 0034). - The Zest tools inside NetRelish.app, offline, under Window › Zest (#93, ADR 0033). -- The Direct build's license key (#88, ADR 0027). -- Right-click and drag, the Mason Jar, and a seal that shows when it's broken (#89). -- Sandbox and privacy review (#91, ADR 0032). +- Sandbox and privacy review: privacy manifests, Help › Privacy Policy, camera and microphone refused, a reason for the local network prompt (#91, ADR 0032). - ZestMail canvas at full size and 1:1 on phones; ZestImage stage fits the window; the eight Zest cards redesigned (#92). -- Simpler Zest tools, with sound (#89). - -### Changed -- 0.5.0 notes, and a preview that leaves Pro unlocked (#90). -- The CodeQL gate decides what code scanning sees; approved endpoints aren't alerts (#86). ### Fixed - Image: malformed SVG brand logos no longer freeze the app (#99). - Mail: merge-tag scanning, image-placeholder scans and image-like comments no longer hang the native preview (#96, #97, #98). -- Security: Fill from Me no longer discloses through clipping, mixed direction, or unsupported writing-mode geometry (#84, #85). -- Security: Zest tools check what they're given; the pipeline pins what it runs (#82). -- Security: code scanning alerts closed; timestamps that check out; Fill from Me only where you can see (#81, #83). -- Repaired the CodeQL gate and Fill from Me script after the #83 merge (#87). -- CI: release notes come from git objects, and write access is limited to publish jobs (#78). ## 0.5.0 — 2026-11-13 @@ -34,10 +26,22 @@ Notable changes to NetRelish. Release notes for each preview are in `docs/releas - Reseal & diff (Pro): seal a page again and compare the two copies side by side (#74). - Provenance (Pro): fingerprint, RFC 3161 timestamp, and Export Proof (#75). - Buying Pro with StoreKit 2 (#76). +- The Direct build's license key (#88, ADR 0027). +- Right-click and drag, the Mason Jar, and a seal that shows when it's broken (#89). +- Simpler Zest tools, with sound (#89). ### Changed - ROADMAP.md describes the native plan (#73). - Swift CodeQL runs on supported Xcode 26 (#71). +- 0.5.0 notes, and a preview that leaves Pro unlocked (#90, ADR 0031). +- The CodeQL gate decides what code scanning sees; approved endpoints aren't alerts (#86). + +### Fixed +- Security: Fill from Me no longer discloses through clipping, mixed direction, or unsupported writing-mode geometry (#84, #85). +- Security: Zest tools check what they're given; the pipeline pins what it runs (#82). +- Security: code scanning alerts closed; timestamps that check out; Fill from Me only where you can see (#81, #83). +- Repaired the CodeQL gate and Fill from Me script after the #83 merge (#87). +- CI: release notes come from git objects, and write access is limited to publish jobs (#78). ## 0.4.2 — 2026-11-02 diff --git a/docs/releases/v0.6.0.md b/docs/releases/v0.6.0.md new file mode 100644 index 0000000..c45ab70 --- /dev/null +++ b/docs/releases/v0.6.0.md @@ -0,0 +1,57 @@ +The fifth preview of the native NetRelish for Mac. Same as 0.5.0, plus a new look for the window, a board for each jar, a Seal you can watch, and the Zest tools built in. It's the direct-download build, signed with our Developer ID and notarized by Apple. It needs macOS 27. + +This is a preview, not 1.0. Things will change, and the Pantry it makes may not carry over to 1.0. 1.0 comes to the Mac App Store on Dec 14. + +## New in 0.6.0 + +- **A new look for the window.** + - **Tabs join the page.** The front tab is white and attached to the page under it, with a lip on top in its jar's color. The tabs behind it are light gray. + - **The Shelf is a rail of big jars.** Each jar is drawn in its own color, above its name. Today, Sealed and Sinking soon sit below the jars, and Zest sits at the bottom. ⌘1–9, ⌃⌘1–4, the right-click menus and dragging all work as before. + - **Brine is a pill in the bottom bar.** It lights up only for tabs that sank since you last opened Brine. + - **⌘K floats over the window.** What it finds is grouped: Pantry, Open tabs, Commands. Esc gives the keyboard back to the page. + - **The Panel starts closed.** ⌘⌥I opens it. If you already chose open or closed, your choice is kept. +- **A board for each jar.** Click the NetRelish mark at the top left, or the jar's name beside it. The board shows the jar's open tabs and what it keeps. A page you sealed is a card with a **Sealed** pill. Cards take the keyboard, and Space or Return opens one. +- **A Seal you can watch.** Press ⌘S and a green band runs along the top of the window while the copy is saved. When it's written, a **Sealed** pill lands, the tab closes, and the jar fills in its own color. If the save fails, the tab stays open and the address field says so. With Reduce Motion on, Seal is a plain fade. +- **The Zest tools, built in.** **Window › Zest** opens Studio, Mail, MD and Image in a window of their own. + - **They work with Wi-Fi off.** The Zest window can't reach the web at all. Its fonts and everything else it needs ship inside NetRelish. + - **Files open and save the Mac way.** Choosing a file opens the usual open panel, and an export opens the usual save panel. + - **File › Print…** prints the tool in front. Save as PDF works from there. + - **A web link you click in a tool** opens as a page in your active jar, in the main window. + - **Zest keeps its own storage,** apart from every jar. + - **While Zest is in front**, Seal, Capture, Fill from Me and Reader are grayed out. Click back into a page and they return. +- **Help › Privacy Policy and Help › Acknowledgments.** The policy opens on netrelish.com. Acknowledgments lists the open-source code and fonts NetRelish includes. +- **A page can't use your camera or microphone.** A page that asks is told no, and your Mac is never asked on its behalf. Choosing this page by page comes later. +- **Your Mac asks before a page reaches your network.** Open a router or printer page in a tab and macOS asks first, and says why. + +## Still in this preview + +- **Right-click and drag:** jars, tabs and Brine rows have menus, and you can move them with the mouse. +- **A saved copy that has changed says so:** a sealed page's header says **Unchanged since sealed**, or says the copy has changed. +- **Seal & Summarize:** two or three sentences about every page you seal, written on your Mac. It needs Apple Intelligence on. +- **Reseal & diff (Pro):** seal a page again and see the two copies side by side. +- **Proof of what a page said (Pro):** a fingerprint, a signed timestamp, and **Export Proof…** in the Panel. +- **Shortcuts:** Seal in NetRelish, Capture in NetRelish, Open a Jar, and Search Your Pantry, in Shortcuts, Spotlight and Siri. +- **Capture from the Share menu:** Share → NetRelish puts a page in Brine. +- **Bench:** tabs and an address bar on WebKit. ⌘T opens a new tab and ⌘W closes one. Links that open a new window or a popup open as a new tab in the same Jar. +- **Jars as browsing profiles:** each Jar has its own cookies, logins and storage. +- **Brine:** idle tabs sink after their Jar's shelf life, and Restore brings them back where you left them. Pinned tabs never sink. +- **Smart Jars:** Brine, Today, Sealed and Sinking soon fill themselves. ⌃⌘1–4. +- **Capture** with ⌘D, into Brine. +- **Seal** with ⌘S: preserve-and-close a page as a web archive, full-text indexed. A sealed page opens its saved copy, read only. +- **Reader view** with ⌘⇧R: the article alone, in clean type. Press it again for the page. +- **The Panel** with ⌘⌥I: the page in front of you, as your Pantry sees it. +- **Fill a form** from your Me card with ⌘⇧F. The card stays in your Mac's Keychain. + +## Not in this preview + +- Buying a license key for this direct-download build. Until you can, Pro stays unlocked here. +- Ask the Pantry. It comes in 1.1. +- In Zest: drafting with Claude, and images from the web. A web image in Mail shows a placeholder here, and the email you export still has the real image. + +## Good to know + +- **Pro is unlocked in this build.** Everything Pro works with no purchase. That changes when license keys go on sale, and we'll say so in the notes first. +- **Signing in with a passkey doesn't work in a jar yet.** Use a password for now. +- **No updater.** This build doesn't check for updates and never will. New previews are posted here. To update, quit NetRelish and replace it in Applications; your Pantry stays. +- **Your browsing never leaves your Mac.** No accounts, no analytics, no cloud sync. 0.6.0 adds no new network use: the timestamp still sends a fingerprint and nothing else. +- **Verify the download:** each disk image comes with its SHA-256 checksum. From a5ce403a161902cfbe1e7944582933388a2fed3f Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 18 Nov 2026 21:55:56 +0000 Subject: [PATCH 2/9] docs(wiki): two release traps, the changelog's cut and a job with no runner Co-Authored-By: Claude Fable 5.2 Claude-Session: https://claude.ai/code/session_01D6Hz8oqdbXgs3NyZBZea29 --- docs/operations/releasing-a-preview.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/operations/releasing-a-preview.md b/docs/operations/releasing-a-preview.md index dbffb03..4bb79d9 100644 --- a/docs/operations/releasing-a-preview.md +++ b/docs/operations/releasing-a-preview.md @@ -9,6 +9,7 @@ sources: - code: Config/Base.xcconfig - code: Sources/App/License.swift - code: Sources/App/NetRelishApp.swift + - code: CHANGELOG.md verified_at: 2c4c510 --- @@ -67,6 +68,16 @@ switch. > that produced something wrong. Open the published release and check its name, its notes > and that the disk image and its checksum are both attached. +> ⚠️ **`CHANGELOG.md` is cut at the tag, not at the notes.** What a release contains is +> every commit up to its tag: list them from the previous tag to `main` before writing the +> next section. The first changelog left #78 to #90 under Unreleased although `v0.5.0` +> already contained them, because the 0.5.0 notes named only its headline features. + +> ⚠️ **A job that fails in seconds with no runner and no log never ran.** It says nothing +> about the commit. Every workflow failed that way on 2026-11-18, on every runner image at +> once, and the cause was the GitHub account, not the code. Don't start a release, or read +> a pull request's checks, until one job has actually been given a runner. + ## What this page does not cover The Apple account, the certificate and the notarization secrets are in `docs/RELEASING.md` From a718f266c340e58dcab10fd2e4a927e7f126a545 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 18 Nov 2026 21:56:10 +0000 Subject: [PATCH 3/9] docs(wiki): say only what the no-runner failures showed Co-Authored-By: Claude Fable 5.2 Claude-Session: https://claude.ai/code/session_01D6Hz8oqdbXgs3NyZBZea29 --- docs/operations/releasing-a-preview.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/operations/releasing-a-preview.md b/docs/operations/releasing-a-preview.md index 4bb79d9..7841cfe 100644 --- a/docs/operations/releasing-a-preview.md +++ b/docs/operations/releasing-a-preview.md @@ -75,8 +75,9 @@ switch. > ⚠️ **A job that fails in seconds with no runner and no log never ran.** It says nothing > about the commit. Every workflow failed that way on 2026-11-18, on every runner image at -> once, and the cause was the GitHub account, not the code. Don't start a release, or read -> a pull request's checks, until one job has actually been given a runner. +> once, while `main` had passed on the same commit that morning: the cause was on GitHub's +> side of the account (billing was the suspect), not in the code. Don't start a release, +> or read a pull request's checks, until one job has actually been given a runner. ## What this page does not cover From b61210be4d419ae119e155fbda88bf20b047d437 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 18 Nov 2026 23:52:15 +0000 Subject: [PATCH 4/9] docs(wiki): the no-runner failures were a billing lock, and where GitHub says so Co-Authored-By: Claude Fable 5.2 Claude-Session: https://claude.ai/code/session_01D6Hz8oqdbXgs3NyZBZea29 --- docs/operations/releasing-a-preview.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/operations/releasing-a-preview.md b/docs/operations/releasing-a-preview.md index 7841cfe..4633bae 100644 --- a/docs/operations/releasing-a-preview.md +++ b/docs/operations/releasing-a-preview.md @@ -75,9 +75,11 @@ switch. > ⚠️ **A job that fails in seconds with no runner and no log never ran.** It says nothing > about the commit. Every workflow failed that way on 2026-11-18, on every runner image at -> once, while `main` had passed on the same commit that morning: the cause was on GitHub's -> side of the account (billing was the suspect), not in the code. Don't start a release, -> or read a pull request's checks, until one job has actually been given a runner. +> once, while `main` had passed on the same commit that morning. GitHub's reason is in the +> failed job's annotations, and only there: "The job was not started because your account +> is locked due to a billing issue." The job log is empty and the GitHub phone app doesn't +> show annotations; the run's page on the web does, under Annotations. Don't start a +> release, or read a pull request's checks, until one job has actually been given a runner. ## What this page does not cover From 94ebdbc0307dda54b68cfead02a6476a71ec6b20 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 21 Nov 2026 08:51:00 +0000 Subject: [PATCH 5/9] fix(shell): main builds again after the Seal origin-chrome merge #107 removed the sealed tab's hold on the front (sealHeldFrontTab) but left three uses of what it deleted, so neither flavor compiled: - SearchRow.leaveField read `held`; Esc now restores the live page's address. - AddressField's VoiceOver hint read `shownTab`; it asks the tab in front. - TabStrip passed an `order` that was no longer declared; it is the open tabs' order again, which never counts Seal's retained chip. It also put the address row's bottom line back to the soft hairline, which undid Increase Contrast there (ADR 0036). The manifest's v2.1.1 note says no token changed, so the line follows the contrast setting again, as the title strip and the bottom bar do. Co-Authored-By: Claude Fable 5.2 Claude-Session: https://claude.ai/code/session_01D6Hz8oqdbXgs3NyZBZea29 --- Sources/Bench/ShellRows.swift | 6 +++--- Sources/Bench/TabStrip.swift | 3 +++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Sources/Bench/ShellRows.swift b/Sources/Bench/ShellRows.swift index 73b8fec..6f875c1 100644 --- a/Sources/Bench/ShellRows.swift +++ b/Sources/Bench/ShellRows.swift @@ -141,7 +141,7 @@ struct SearchRow: View { // One stop for Tab and the arrow keys under Full Keyboard Access: the row, then the Bench. .focusSection() .background(NRColor.surface) - .overlay(alignment: .bottom) { Rectangle().fill(NRColor.hairlineSoft).frame(height: NRSpace.hairline) } + .overlay(alignment: .bottom) { Rectangle().fill(ShellInk.separator(contrast)).frame(height: NRSpace.hairline) } .onChange(of: tab?.id, initial: true) { _, _ in show(pageAddress) } .onChange(of: focused) { _, editing in if editing { address = pageAddress } @@ -210,7 +210,7 @@ struct SearchRow: View { /// keyboard. Only from the field itself, not from a button inside it. private func leaveField() { guard focused else { return } - address = held?.url ?? web?.url?.absoluteString ?? tab?.url ?? "" + address = pageAddress focused = false givePageTheKeyboard() } @@ -272,7 +272,7 @@ private struct AddressField: View { .onSubmit(go) .accessibilityLabel("Address") // The value stays the field's own text, so editing still works. - .accessibilityHint(ShellText.connectionHint(hasPage: shownTab != nil, scheme: pageURL?.scheme)) + .accessibilityHint(ShellText.connectionHint(hasPage: tab != nil, scheme: pageURL?.scheme)) .accessibilityIdentifier("address-field") .overlay(alignment: .leading) { if let parts { diff --git a/Sources/Bench/TabStrip.swift b/Sources/Bench/TabStrip.swift index 8881a7e..8e6dcd6 100644 --- a/Sources/Bench/TabStrip.swift +++ b/Sources/Bench/TabStrip.swift @@ -102,6 +102,9 @@ struct TabStrip: View { @ViewBuilder private func strip(for jar: Jar) -> some View { let tabs = workbench.stripTabs + // Where a tab sits is counted in the open tabs, never in what the strip draws, so the + // held picture of a sealed tab is never one of them. + let order = workbench.tabs.map(\.id) // The retained Seal chip is only an animation anchor, never the selected tab. let frontId = workbench.benchTab?.id let clip = max(0, available - Self.trailingReserve) From 3dd63cc6808085475f96d016641d830ea2d8dc43 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 21 Nov 2026 08:52:24 +0000 Subject: [PATCH 6/9] test(ui): launch the fixture with whole -key value pairs The UI test has never seen the app's window: on a commit that builds, the app launches, its menu bar is there, and XCUITest counts no windows. The fixture's flag was passed with no value, ahead of -ApplePersistenceIgnoreState YES, so the argument pairs slip by one and "YES" is left alone, which AppKit takes for a file to open instead of opening a window. Giving the flag a value keeps every argument in a pair. The app only checks that the flag is present. Not proven until the UI tests job runs on a commit that builds. Co-Authored-By: Claude Fable 5.2 Claude-Session: https://claude.ai/code/session_01D6Hz8oqdbXgs3NyZBZea29 --- Tests/NetRelishUITests/CaptureJarSealUITests.swift | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Tests/NetRelishUITests/CaptureJarSealUITests.swift b/Tests/NetRelishUITests/CaptureJarSealUITests.swift index be78b4f..39651b7 100644 --- a/Tests/NetRelishUITests/CaptureJarSealUITests.swift +++ b/Tests/NetRelishUITests/CaptureJarSealUITests.swift @@ -107,8 +107,12 @@ final class CaptureJarSealUITests: XCTestCase { @MainActor private func launch() -> XCUIApplication { let app = XCUIApplication() + // Every argument is a "-key value" pair, so none is left standing alone: AppKit takes a + // lone argument for a file to open, and a launch that opens a file opens no window. The + // fixture's flag had no value at first; it then took the next key as its value and left + // that key's "YES" alone. The app reads only that the flag is there, not its value. app.launchArguments = [ - "-NRUITestFixture", + "-NRUITestFixture", "YES", "-ApplePersistenceIgnoreState", "YES", // no windows restored from a last run "-panel.visible", "NO", // the Panel closed, whatever this Mac remembers ] From 4e51b16104a393ffdf408c4b694cbf7a8d519cdd Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 21 Nov 2026 08:59:55 +0000 Subject: [PATCH 7/9] test(ui): say what the address field holds when the page doesn't open MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The window opens now, and both UI tests fail one step on: after ⌘L, the fixture address and Return, no tab called "Invoice terms" appears. The bare assertion can't tell a typing problem from a page that never gave its title or a tab under another name, so the failure prints the field's value and the element tree, as the window failure does. Co-Authored-By: Claude Fable 5.2 Claude-Session: https://claude.ai/code/session_01D6Hz8oqdbXgs3NyZBZea29 --- Tests/NetRelishUITests/CaptureJarSealUITests.swift | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/Tests/NetRelishUITests/CaptureJarSealUITests.swift b/Tests/NetRelishUITests/CaptureJarSealUITests.swift index 39651b7..21f6ac3 100644 --- a/Tests/NetRelishUITests/CaptureJarSealUITests.swift +++ b/Tests/NetRelishUITests/CaptureJarSealUITests.swift @@ -161,8 +161,18 @@ final class CaptureJarSealUITests: XCTestCase { app.typeText(Self.pageURL) app.typeKey(.return, modifierFlags: []) // The tab knows the page's name once the page has settled: its chip says the title. - XCTAssertTrue(chip(in: app, jar: Self.firstJar).waitForExistence(timeout: Self.timeout), - "The page didn't open in Juniper Bakery's tabs") + if !chip(in: app, jar: Self.firstJar).waitForExistence(timeout: Self.timeout) { + // Which of three it was can't be told from "didn't open": the typing never reached + // the field, the tab opened but the page never gave its title, or the tab is there + // under another name. What the field holds and the whole tree say which. + XCTFail(""" + The page didn't open in Juniper Bakery's tabs. + address field value = \(String(describing: field.value)) + tree as XCUITest sees it: + \(app.debugDescription) + """) + return + } waitForPage(in: app) } From 26fe706d9bb0fb0ebb773318f0158ed6a3fe10df Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 21 Nov 2026 09:09:46 +0000 Subject: [PATCH 8/9] =?UTF-8?q?test(ui):=20the=20fixture=20puts=20Juniper?= =?UTF-8?q?=20Bakery=20in=20front,=20and=20Meridian=20is=20=E2=8C=984?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The UI test's page opened, in the wrong jar. A Pantry always starts with Read Later and Reference (PantrySeed), in memory too, so the fixture's two jars are the Shelf's third and fourth. The fixture activated index 0, which is Read Later, and the test waited for the page in Juniper Bakery's strip. The second test's ⌘2 would have shown Reference for the same reason. - UITestFixture.stock adds the two jars and finds the first by name to put it in front. makeWorkbench calls it. - The UI test presses ⌘4 for Meridian (targetJarKey). - A unit test builds the same jars on a Workbench and checks the jar in front and the key the UI test presses, so the two can't drift again. - The wiki's accessibility page gets both traps this test hit: launch arguments as whole pairs, and the seeded jars. Co-Authored-By: Claude Fable 5.2 Claude-Session: https://claude.ai/code/session_01D6Hz8oqdbXgs3NyZBZea29 --- Sources/App/UITestFixture.swift | 20 ++++++++++++----- .../UITestFixtureAccessibilityTests.swift | 20 +++++++++++++++++ .../CaptureJarSealUITests.swift | 22 +++++++++++-------- docs/subsystems/accessibility.md | 18 ++++++++++++++- 4 files changed, 65 insertions(+), 15 deletions(-) diff --git a/Sources/App/UITestFixture.swift b/Sources/App/UITestFixture.swift index 6eef373..83c5171 100644 --- a/Sources/App/UITestFixture.swift +++ b/Sources/App/UITestFixture.swift @@ -1,6 +1,6 @@ // UITestFixture.swift — DEBUG only: what the capture → jar → seal UI test // (Tests/NetRelishUITests) launches the app with. `-NRUITestFixture` gives the app a -// throwaway Pantry and defaults, two jars, and one page served from inside the app on +// throwaway Pantry and defaults, two jars of its own, and one page served from inside the app on // `nr-fixture:`, so the test never touches your data and never reaches the network // (non-negotiable 5: no new endpoint; the page is a string in this file). The whole file is // compiled out of Release, and so is every line that calls it. @@ -29,7 +29,9 @@ enum UITestFixture { /// A line only the page has, so the test can tell the page arrived in the web view. static let pageMarker = "Payment is due 30 days after delivery." - /// The jars on the fixture's Shelf, in order: ⌘1 and ⌘2. The test seals into the second. + /// The jars the fixture adds, in order. The test opens its page in the first and seals into + /// the second. They come after the jars every fresh Pantry starts with (`PantrySeed`: Read + /// Later and Reference), so on the fixture's Shelf they are the third and fourth: ⌘3 and ⌘4. static let jarNames = ["Juniper Bakery", "Meridian"] /// The fixture page: a title, a heading and enough of an article for Seal's extraction. @@ -96,11 +98,19 @@ enum UITestFixture { vault: VaultStore(service: "com.shepdesign.netrelish.vault.uitest"), inbox: nil, summarizer: nil, timestamps: nil, pro: ProStore(unlocked: true), defaults: defaults) - // The jars the Shelf's New Jar would make, through the same call; the first is in front. + stock(workbench) + return workbench + } + + /// Adds the fixture's jars to a Workbench and puts the first of them in front. The jars are + /// the ones the Shelf's New Jar would make, through the same call. The first is found by its + /// name, not its place: a fresh Pantry already has jars of its own ahead of these, and the + /// jar in front after `newJar` is the one just made. + @MainActor + static func stock(_ workbench: Workbench) { workbench.newJar(name: jarNames[0], tint: nil, shelfLifeDays: 7) workbench.newJar(name: jarNames[1], tint: nil, shelfLifeDays: 3) - workbench.activate(index: 0) - return workbench + workbench.activate(workbench.jars.first { $0.name == jarNames[0] }) } } diff --git a/Tests/NetRelishTests/Accessibility/UITestFixtureAccessibilityTests.swift b/Tests/NetRelishTests/Accessibility/UITestFixtureAccessibilityTests.swift index 74fe64e..9f4faad 100644 --- a/Tests/NetRelishTests/Accessibility/UITestFixtureAccessibilityTests.swift +++ b/Tests/NetRelishTests/Accessibility/UITestFixtureAccessibilityTests.swift @@ -65,6 +65,26 @@ import WebKit #expect(source.contains("static let pageHost = \"\(host)\"")) } + @Test("The fixture's jars follow the ones a fresh Pantry starts with, the first of them in front, and the UI test presses the second's key") + func jarsAndTheirKeys() throws { + let defaults = try #require(UserDefaults(suiteName: "netrelish.tests.\(UUID().uuidString)")) + let bench = Workbench(store: try PantryStore(), defaults: defaults) + let seeded = bench.jars.count + UITestFixture.stock(bench) + // Nothing the Pantry started with is taken away, and the fixture's two come last. + #expect(bench.jars.count == seeded + 2) + #expect(Array(bench.jars.map(\.name).suffix(2)) == UITestFixture.jarNames) + // The page opens in the jar in front: the first of the fixture's, not the Shelf's first. + #expect(bench.activeJar?.name == UITestFixture.jarNames[0]) + // ⌘1–9 go by place on the Shelf (the Jars menu), so the second's key is its place. + let index = try #require(bench.jars.firstIndex { $0.name == UITestFixture.jarNames[1] }) + let place = index + 1 + #expect(place <= 9) + let source = try uiTest() + #expect(source.contains("static let targetJarKey = \"\(place)\"")) + #expect(source.contains("app.typeKey(Self.targetJarKey, modifierFlags: .command)")) + } + @Test("The UI test waits for the words VoiceOver hears at each step") func uiTestHearsTheAppsWords() throws { let source = try uiTest() diff --git a/Tests/NetRelishUITests/CaptureJarSealUITests.swift b/Tests/NetRelishUITests/CaptureJarSealUITests.swift index 21f6ac3..23b369f 100644 --- a/Tests/NetRelishUITests/CaptureJarSealUITests.swift +++ b/Tests/NetRelishUITests/CaptureJarSealUITests.swift @@ -7,10 +7,10 @@ // spoken name at every step and a route that needs no pointer gesture. // // The app is launched with -NRUITestFixture (Sources/App/UITestFixture.swift, Debug builds -// only): a throwaway Pantry and defaults, the jars Juniper Bakery (⌘1) and Meridian (⌘2), and -// one page served from inside the app. Nothing is read from your Pantry and nothing goes to the -// network. The constants below are the fixture's; UITestFixtureAccessibilityTests checks they -// still match it. +// only): a throwaway Pantry and defaults, the jars Juniper Bakery (in front) and Meridian after +// the two every fresh Pantry starts with, and one page served from inside the app. Nothing is +// read from your Pantry and nothing goes to the network. The constants below are the fixture's; +// UITestFixtureAccessibilityTests checks they still match it. import XCTest @@ -22,6 +22,9 @@ final class CaptureJarSealUITests: XCTestCase { static let pageHost = "juniperbakery.example" static let firstJar = "Juniper Bakery" static let targetJar = "Meridian" + /// ⌘ and this digit show Meridian: it is the fourth jar on the fixture's Shelf, after Read + /// Later, Reference and Juniper Bakery. + static let targetJarKey = "4" /// Generous: a CI Mac can be slow to start WebKit's processes the first time. static let timeout: TimeInterval = 30 @@ -75,7 +78,7 @@ final class CaptureJarSealUITests: XCTestCase { } /// The keyboard route into a jar for a page that's open: Tab › Move Tab to Jar › Meridian - /// in the menu bar (Ctrl-F2 or VO-M reaches it), then ⌘2 (Jars › Meridian), then ⌘S. + /// in the menu bar (Ctrl-F2 or VO-M reaches it), then ⌘4 (Jars › Meridian), then ⌘S. @MainActor func testMoveTabToJarFromTheMenuBarAndSeal() throws { let app = launch() @@ -92,7 +95,7 @@ final class CaptureJarSealUITests: XCTestCase { target.click() // The tab left Juniper Bakery's strip; Meridian's has it. - app.typeKey("2", modifierFlags: .command) + app.typeKey(Self.targetJarKey, modifierFlags: .command) XCTAssertTrue(chip(in: app, jar: Self.targetJar).waitForExistence(timeout: Self.timeout), "The tab isn't in Meridian's tabs after Move Tab to Jar") // It changed jars, so it loads again in Meridian's own profile (non-negotiable 6). @@ -162,9 +165,10 @@ final class CaptureJarSealUITests: XCTestCase { app.typeKey(.return, modifierFlags: []) // The tab knows the page's name once the page has settled: its chip says the title. if !chip(in: app, jar: Self.firstJar).waitForExistence(timeout: Self.timeout) { - // Which of three it was can't be told from "didn't open": the typing never reached - // the field, the tab opened but the page never gave its title, or the tab is there - // under another name. What the field holds and the whole tree say which. + // "Didn't open" alone can't say which it was: the typing never reached the field, + // the tab opened but the page never gave its title, or it opened in another jar's + // strip (it did once: the fixture had Read Later in front). What the field holds and + // the whole tree say which. XCTFail(""" The page didn't open in Juniper Bakery's tabs. address field value = \(String(describing: field.value)) diff --git a/docs/subsystems/accessibility.md b/docs/subsystems/accessibility.md index 1f1e7cb..0018b92 100644 --- a/docs/subsystems/accessibility.md +++ b/docs/subsystems/accessibility.md @@ -2,7 +2,7 @@ title: Accessibility — what VoiceOver hears, and what works without a mouse type: subsystem created: 2026-11-18 -updated: 2026-11-18 +updated: 2026-11-21 sources: - code: Sources/UI/Accessibility.swift - code: Sources/UI/Components.swift @@ -135,6 +135,22 @@ only, which is why it is also the VoiceOver proof. It runs under its own scheme, > `ProcessInfo.arguments`, never a default or an environment variable, so nothing a page or > a file can set turns it on. +> ⚠️ **Every launch argument the UI test passes is a `-key value` pair.** AppKit reads the +> command line as defaults, two at a time. A flag with no value takes the next key as its +> value and leaves that key's `YES` standing alone; AppKit takes a lone argument for a file to +> open, and a launch that opens a file opens no main window. The test then fails with "The +> main window didn't open" and nothing in the app is wrong. `-NRUITestFixture` is passed as +> `-NRUITestFixture YES` for this reason only: the app reads that the flag is there +> (`Sources/App/UITestFixture.swift:19`), not its value. + +> ⚠️ **The fixture's jars are not the Shelf's first two.** Every Pantry, in memory or not, +> starts with Read Later and Reference (`Sources/Pantry/Models/Seed.swift:10`), and `newJar` +> leaves the jar it made in front. So `UITestFixture.stock` finds Juniper Bakery by name to +> put it in front, and Meridian is ⌘4, not ⌘2. `activate(index: 0)` here opens the test's +> page in Read Later, and the test says "The page didn't open in Juniper Bakery's tabs" about +> a page that opened. `UITestFixtureAccessibilityTests.jarsAndTheirKeys` holds the fixture and +> the key the UI test presses together. + > ⚠️ **XCUITest cannot fire a named VoiceOver action** — there is no public macOS API. The > test right-clicks the row and picks the same-named menu item, which is why each VoiceOver > action has a menu item with the same words. Rename one and rename both. From d3e2aa85e4996943e88daba6135dbb8705554976 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 21 Nov 2026 10:31:58 +0000 Subject: [PATCH 9/9] docs(release): 0.6.0 notes and changelog brought up to main The notes and the 0.6.0 changelog section were written at #102. main has moved four commits since, and a release contains every commit up to its tag. - Notes: VoiceOver and the keyboard (#103) are in New in 0.6.0, with the new keys and menu items and the four accessibility settings. - Changelog: #103 under Added; #104 and #105 under Changed; #107 and #109 under Fixed. The date is the day main went green again, 2026-11-21. #107 and #109 are not in the public notes: the Seal they fix first ships in 0.6.0, so no released build had either fault. Co-Authored-By: Claude Fable 5.2 Claude-Session: https://claude.ai/code/session_01D6Hz8oqdbXgs3NyZBZea29 --- CHANGELOG.md | 9 ++++++++- docs/releases/v0.6.0.md | 8 +++++++- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index eb05a4f..a37c99d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,16 +6,23 @@ Notable changes to NetRelish. Release notes for each preview are in `docs/releas Nothing yet. -## 0.6.0 — 2026-11-18 +## 0.6.0 — 2026-11-21 ### Added +- Accessibility: VoiceOver says what capture, Seal, sinking, restore and a move did; keys and menu items for what needed the pointer (⌘L, ⌃Tab, ⌘[ and ⌘], Tab › Move Tab to Jar, Jars › Show Board); Reduce Motion, Reduce Transparency, Increase Contrast and Differentiate Without Color followed live (#103, ADR 0036). - The workbench facelift: attached tabs, the Shelf as a rail of jars, a two-phase Seal, the floating ⌘K (#102, ADR 0035). - The Workstation v5 window, with a board for each jar (#95, ADR 0034). - The Zest tools inside NetRelish.app, offline, under Window › Zest (#93, ADR 0033). - Sandbox and privacy review: privacy manifests, Help › Privacy Policy, camera and microphone refused, a reason for the local network prompt (#91, ADR 0032). - ZestMail canvas at full size and 1:1 on phones; ZestImage stage fits the window; the eight Zest cards redesigned (#92). +### Changed +- CI no longer pays for abandoned runs or for commits that can't change what it builds (#104, ADR 0037). +- 0.6.0 notes and the changelog cut (#105). + ### Fixed +- Security: during Seal, the address row and the selected tab follow the page in front, not the tab being sealed (#107). +- `main` builds again after #107, and the capture → jar → seal UI test passes for the first time (#109). - Image: malformed SVG brand logos no longer freeze the app (#99). - Mail: merge-tag scanning, image-placeholder scans and image-like comments no longer hang the native preview (#96, #97, #98). diff --git a/docs/releases/v0.6.0.md b/docs/releases/v0.6.0.md index c45ab70..3a9dbf1 100644 --- a/docs/releases/v0.6.0.md +++ b/docs/releases/v0.6.0.md @@ -1,4 +1,4 @@ -The fifth preview of the native NetRelish for Mac. Same as 0.5.0, plus a new look for the window, a board for each jar, a Seal you can watch, and the Zest tools built in. It's the direct-download build, signed with our Developer ID and notarized by Apple. It needs macOS 27. +The fifth preview of the native NetRelish for Mac. Same as 0.5.0, plus a new look for the window, a board for each jar, a Seal you can watch, the Zest tools built in, and VoiceOver and keyboard support. It's the direct-download build, signed with our Developer ID and notarized by Apple. It needs macOS 27. This is a preview, not 1.0. Things will change, and the Pantry it makes may not carry over to 1.0. 1.0 comes to the Mac App Store on Dec 14. @@ -19,6 +19,12 @@ This is a preview, not 1.0. Things will change, and the Pantry it makes may not - **A web link you click in a tool** opens as a page in your active jar, in the main window. - **Zest keeps its own storage,** apart from every jar. - **While Zest is in front**, Seal, Capture, Fill from Me and Reader are grayed out. Click back into a page and they return. +- **VoiceOver and the keyboard.** + - **NetRelish says what happened.** With VoiceOver on, a capture, a Seal, a tab sinking, a restore and a move are each spoken, and so is a failure. + - **New keys.** ⌘L goes to the address field. ⌃Tab and ⌃⇧Tab show the next and previous tab. ⌘[ and ⌘] go back and forward. + - **New menu items.** **Tab › Move Tab to Jar**, **Move Tab Left** and **Move Tab Right**. **Jars › Show Board**, **Move Jar Up** and **Move Jar Down**, and every jar by name. + - **Opening a page, moving it to a jar and sealing it** all work from the keyboard and the menu bar. + - **Your Mac's accessibility settings are followed** as you change them: Reduce Motion, Reduce Transparency, Increase Contrast and Differentiate Without Color. - **Help › Privacy Policy and Help › Acknowledgments.** The policy opens on netrelish.com. Acknowledgments lists the open-source code and fonts NetRelish includes. - **A page can't use your camera or microphone.** A page that asks is told no, and your Mac is never asked on its behalf. Choosing this page by page comes later. - **Your Mac asks before a page reaches your network.** Open a router or printer page in a tab and macOS asks first, and says why.