Repository navigation
Fix browser chrome follow-ups from cua #102 - #8
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: b8989af835
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| history: ImportReportV1Schema.shape.history.unwrap().strip().nullable(), | ||
| cookies: ImportReportV1Schema.shape.cookies.unwrap().safeExtend({ | ||
| partitioned: ImportReportV1Schema.shape.cookies.unwrap().shape.partitioned.strip(), | ||
| }).strip().nullable(), |
There was a problem hiding this comment.
Make nested report maps tolerant on disk reads
When a newer same-version writer adds a key to history.skipped/history.hosts or the equivalent cookie maps, these overrides strip only the enclosing history/cookies objects; the nested z.record(z.enum(...)) and z.partialRecord(z.enum(...)) schemas remain closed and reject the new key. readProfilesFile consequently classifies the entire file as broken, moves it aside, and allows the boot sweep to delete the imported partitions—the data-loss path this change is intended to prevent. Use tolerant read schemas for these nested maps as well and cover an unknown key at that depth.
Useful? React with 👍 / 👎.
…52 amendment (socket peer authentication by process ancestry), the P1 ledger's §6 clause for native/peer-auth and its §5 row's inert field, the charter's §19 line
…ting again inside its write, so a setting turned on while it waited is obeyed
Summary
Implements SSFSKIM/cua#102's three bounded browser-chrome follow-ups.
layout.openExternalpath logsopenExternal <url>underMAWS_E2E=1withMAWS_E2E_OPEN_LOGset, without launching the system browser. Browser e2e clicks the overflow menu item and verifies the log plus the unchanged in-app tab.profiles.jsonuses separate tolerant disk-read schemas, including nested object fields, while writes stay strict. Reads leave the file's bytes untouched, higher numeric versions remain read-only, and a unit test verifies both the imported folder and Chromium storage survive the boot sweep. Version-1 upgrades use the same tolerant-read policy.Dated 2026-10-10 closure clauses link cua board #102 in the tracker rows originally at master 9cabdf6 L60, L79 and L117. Only the chrome half of L79 and profiles half of L117 are closed here; their P2-F-owned portions are explicitly left with P2-F.
Commits
757adbdeAdd e2e seam for browser overflow external hand-offaf8e5545Wait for address suggestions instead of fixed test delaysb8989af8Read additive profile fields without losing imported partitionsVerification
Independent medium review of
9548a40a..b8989af8: no material findings.pnpm typecheck && pnpm lint && pnpm test— final full retryThe first full run passed typecheck and lint but had the known PTY flake (two cases) and an unrelated
resource.test.tsx5-second timeout. Both files passed alone; the complete command then passed without worker/timeout changes. The final full retry has no failures.PTY-alone tail:
Resource-alone tail:
pnpm e2e:browserpnpm e2e:browser-importBoth Electron e2e groups passed on their first runs, sequentially over scratch user data. No real system browser or owner's MAWS build was launched. No e2e focus retry was needed.
Left out
The
TranscriptSlot.test.tsxhalf of L79 and deliverable/models-cache/host-queue portions of L117 belong to P2-F and were not changed. No product styling or behavior beyond the requested test seam and persisted-reader fix was added. This PR is left open for review, not merged.