Skip to content

fix(seal): keep origin chrome aligned with live content - #107

Merged
Shepdesign merged 2 commits into
mainfrom
fix/seal-origin-chrome
Nov 21, 2026
Merged

Shepdesign merged 2 commits into
mainfrom
fix/seal-origin-chrome

Conversation

@Shepdesign

@Shepdesign Shepdesign commented Nov 19, 2026 •

Copy link
Copy Markdown
Member

What

Seal closed the trusted child and returned to its live opener immediately, but retained the child's address, HTTPS lock and selected-tab appearance until the animation released its chip. That let an opener's interactive content appear beneath another origin's chrome.

The retained chip is now only a noninteractive animation anchor. The idle address and connection indicator derive from the current web view (falling back to the current tab), and selection follows the tab actually shown on the Bench. Idle address text is derived at render time rather than waiting for a change callback. Editing still keeps a separate draft. Seal's write, close, flying chip and jar-fill timing are unchanged.

Finding: Seal retains a trusted origin above the malicious opener's live page

Demo

In the built macOS app:

  1. Open two pages with different origins in one jar. Seal the active page with ⌘S. As soon as the other page appears, its address and selected-tab styling must appear too, even while the sealed chip remains and flies away.
  2. On a page with a clicked link that opens a different HTTPS site in a new tab, follow that link and seal the child. The app must return to the opener with the opener's address immediately. For an HTTP opener, the indicator must be the neutral globe, not the child's HTTPS lock.
  3. Seal the last page, then repeat with a blank tab behind it: no sealed address or HTTPS lock may remain above the board or blank page.
  4. Repeat with Reduce Motion enabled. Focus the address field, edit and submit a URL, and confirm normal address entry still works.

These are review/demo steps, not a claim that the app was launched here.

Verification

  • Added regression cases that inspect the address and lock URL source while the sealed chip is still retained: HTTP/HTTPS openers (with an unrelated first tab to rule out a fallback-only success), opener navigation, last-tab/blank successors, and live WebKit URL precedence. Existing Seal-phase cases now expect live selection rather than the closed child's front hold.
  • python3 -m unittest discover -s scripts/tests -v: 171 passed. These cover repository tooling, not native UI behavior.
  • git diff --check: passed.
  • Native Swift build, Seal tests and app demo not run locally: this environment is Linux without Swift, Xcode or the macOS SDK. The affected UI is a native macOS view, not a Vercel web preview.
  • CI is not green. The PR's CI run reports failures for Test, generated-files, CodeQL gate self-test and PantryKit; Swift analysis also reports failure. The base commit's CI has the same named failures, but a common cause is not established. Log retrieval for three failed PR jobs returned no available Actions log, so the failures could not be diagnosed here. Native test execution and visual confirmation remain required before merge. The successful Zest web deployment does not validate this native change.

Rule check

  • NN3: Seal still freezes, writes and closes at the same point; animation never postpones closure.
  • NN4–6: no intelligence, network endpoint, profile or storage changes. The WebKit URL test serves its HTML from memory.

Brand check

Manifest §4 #11 and §8 (address and selected tab): existing colors, symbols and HTTPS-only lock rules preserved. §8.1 is corrected in manifest v2.1.1 so it no longer requires the unsafe origin hold. No token or animation-timing changes.

Co-authored-by: Ryan <97276735+Shepdesign@users.noreply.github.com>
@vercel

vercel Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
zest Ready Ready Preview Nov 21, 2026 8:09am UTC

Request Review

@Shepdesign
Shepdesign merged commit f5426d4 into main Nov 21, 2026
7 of 12 checks passed
Shepdesign pushed a commit that referenced this pull request Nov 21, 2026
#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 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D6Hz8oqdbXgs3NyZBZea29
Shepdesign added a commit that referenced this pull request Nov 21, 2026
…put right (#109)

* 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 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D6Hz8oqdbXgs3NyZBZea29

* docs(wiki): two release traps, the changelog's cut and a job with no runner

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D6Hz8oqdbXgs3NyZBZea29

* docs(wiki): say only what the no-runner failures showed

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D6Hz8oqdbXgs3NyZBZea29

* docs(wiki): the no-runner failures were a billing lock, and where GitHub says so

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D6Hz8oqdbXgs3NyZBZea29

* 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 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D6Hz8oqdbXgs3NyZBZea29

* 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 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D6Hz8oqdbXgs3NyZBZea29

* test(ui): say what the address field holds when the page doesn't open

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 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D6Hz8oqdbXgs3NyZBZea29

* test(ui): the fixture puts Juniper Bakery in front, and Meridian is ⌘4

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 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D6Hz8oqdbXgs3NyZBZea29

---------

Co-authored-by: Claude <noreply@anthropic.com>
Shepdesign pushed a commit that referenced this pull request Nov 21, 2026
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 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D6Hz8oqdbXgs3NyZBZea29
Shepdesign added a commit that referenced this pull request Nov 21, 2026
* 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 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D6Hz8oqdbXgs3NyZBZea29

* docs(wiki): two release traps, the changelog's cut and a job with no runner

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D6Hz8oqdbXgs3NyZBZea29

* docs(wiki): say only what the no-runner failures showed

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D6Hz8oqdbXgs3NyZBZea29

* docs(wiki): the no-runner failures were a billing lock, and where GitHub says so

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D6Hz8oqdbXgs3NyZBZea29

* 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 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D6Hz8oqdbXgs3NyZBZea29

* 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 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D6Hz8oqdbXgs3NyZBZea29

* test(ui): say what the address field holds when the page doesn't open

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 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D6Hz8oqdbXgs3NyZBZea29

* test(ui): the fixture puts Juniper Bakery in front, and Meridian is ⌘4

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 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D6Hz8oqdbXgs3NyZBZea29

* 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 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D6Hz8oqdbXgs3NyZBZea29

---------

Co-authored-by: Claude <noreply@anthropic.com>
Shepdesign pushed a commit that referenced this pull request Nov 21, 2026
Run after the v0.6.0 release, as docs/CLAUDE.md asks. Code had moved under
eight pages since each was last checked (#102, #103, #104, #107, #109).

- About 65 file:line citations pointed at the wrong line. Each is re-pointed
  and read against the symbol its sentence is about.
- workbench-shell: the Seal trap named sealHeldFrontTab, which #107 removed.
  Rewritten, with a trap for what replaced it: the held picture is an
  animation anchor only, and the address row, the lock and the selection
  follow benchTab (manifest v2.1.1).
- building-without-a-mac: CI runs seven things. A trap: ui-tests has no
  needs/if pair, so a docs-only pull request still takes an xcode-27 runner.
- zest-sound: two traps were wrong. The suites allow no outside host, and
  the kit ships in the Mac app since ADR 0033.
- releasing-a-preview: where the run says Pro is unlocked, and a trap from
  this release about notes and a changelog date written early.
- zest-window, accessibility, privacy-and-sandbox, rearranging: smaller
  corrections, listed in docs/log.md.

No code, no CI, no page added.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D6Hz8oqdbXgs3NyZBZea29
Shepdesign added a commit that referenced this pull request Nov 22, 2026
… field (#114)

* 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 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D6Hz8oqdbXgs3NyZBZea29

* docs(wiki): two release traps, the changelog's cut and a job with no runner

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D6Hz8oqdbXgs3NyZBZea29

* docs(wiki): say only what the no-runner failures showed

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D6Hz8oqdbXgs3NyZBZea29

* docs(wiki): the no-runner failures were a billing lock, and where GitHub says so

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D6Hz8oqdbXgs3NyZBZea29

* 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 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D6Hz8oqdbXgs3NyZBZea29

* 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 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D6Hz8oqdbXgs3NyZBZea29

* test(ui): say what the address field holds when the page doesn't open

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 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D6Hz8oqdbXgs3NyZBZea29

* test(ui): the fixture puts Juniper Bakery in front, and Meridian is ⌘4

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 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D6Hz8oqdbXgs3NyZBZea29

* 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 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D6Hz8oqdbXgs3NyZBZea29

* docs(wiki): sync after 0.6.0 — citations, the held tab, CI's seventh job

Run after the v0.6.0 release, as docs/CLAUDE.md asks. Code had moved under
eight pages since each was last checked (#102, #103, #104, #107, #109).

- About 65 file:line citations pointed at the wrong line. Each is re-pointed
  and read against the symbol its sentence is about.
- workbench-shell: the Seal trap named sealHeldFrontTab, which #107 removed.
  Rewritten, with a trap for what replaced it: the held picture is an
  animation anchor only, and the address row, the lock and the selection
  follow benchTab (manifest v2.1.1).
- building-without-a-mac: CI runs seven things. A trap: ui-tests has no
  needs/if pair, so a docs-only pull request still takes an xcode-27 runner.
- zest-sound: two traps were wrong. The suites allow no outside host, and
  the kit ships in the Mac app since ADR 0033.
- releasing-a-preview: where the run says Pro is unlocked, and a trap from
  this release about notes and a changelog date written early.
- zest-window, accessibility, privacy-and-sandbox, rearranging: smaller
  corrections, listed in docs/log.md.

No code, no CI, no page added.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D6Hz8oqdbXgs3NyZBZea29

* feat(onboarding): the welcome sheet, three cards and then the address field

P5's onboarding. One sheet in the shape of the Me card's: the cog at 48pt, a
headline, the lines under it, "1 of 3" and one filled button. The cards are a
jar, Brine and Seal. It opens by itself at the first launch only, counts as
seen once it has been closed, and opens again from Help. Start closes it with
the caret in the address field.

It never opens by itself in a test launch: the UI test's fixture starts from
new defaults every run, and a sheet over the window would stop it at its
first step. The Design Kit snapshot renders the three cards for PR demos.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D6Hz8oqdbXgs3NyZBZea29

* chore(project): regenerate NetRelish.xcodeproj from project.yml

* docs(onboarding): ADR 0038, the welcome page, and citations moved

ADR 0038 is the welcome sheet's decision record, proposed: the copy, when the
sheet opens and counts as seen, and two questions for Ryan. The wiki gains a
page for it, with the trap that matters most: the UI test's fixture starts
from new defaults every run, so only the app's own launch may open the sheet.

Citations into NetRelishApp.swift follow the lines the Help item and the
launch mark moved. privacy-and-sandbox lists the new key in the app's own
defaults. The changelog's Unreleased section has its first line.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D6Hz8oqdbXgs3NyZBZea29

---------

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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