* feat(desktop): add shared texture transport and native presentation layers * fix(desktop): keep split fixtures and generated notices self-contained * refactor(theme): defer presentation stage token to Office layer * refactor(desktop): move frame integration into its consumer layer * refactor(sidebar-right): move native-layer visibility support to frame layer The fullscreen tab-body background and the tab visibility test only serve the frame integration that hides native layers through tab.visible, so they belong with that consumer layer. * refactor(desktop): keep shared textures on the renderer path * fix(desktop): settle shared textures across GPU loss and teardown * fix(desktop): correlate late texture arrivals and settlements by request * test(desktop): exercise late ingress delivery after presenter reset * fix(desktop): bound unsettled textures before handle export * fix(desktop): retain probe handles and invalidate unsynchronized imports * refactor(desktop): leave the fullscreen caption rule to frame forwarding The caption-menu fullscreen rule, its test, and the README sentences describe fullscreen that frame forwarding offers to plugins. They belong with frame forwarding, not the texture transport. * refactor(desktop): validate Host texture limits in the channel only The Host channel already shortens deadlines to 30 seconds and refuses dimensions above 8192 before Main's presenter sees a request, and it is the presenter's only caller. Remove the repeated checks from the presenter and assert the limits where they are enforced. * fix(desktop): drop only the surface that finds the ingress queue full A full delivery queue ended the macOS ingress reader, so a Main JavaScript thread that stalled for 16 surfaces failed every waiting presentation and left the Host without an endpoint until its next capability query. Release that one surface and keep reading; its presentation fails at the delivery deadline. A closing delivery function still ends the reader. * fix(desktop): reach Main through one process handle for Windows texture handles The Windows adapter opened Main by process identifier for every export, import, and reclamation. After Main exited, the Host's disconnect cleanup reclaimed each unsettled handle with DUPLICATE_CLOSE_SOURCE, which closes the source handle even when the call fails; an identifier reassigned by then named an unrelated process. Keep one handle to Main's process until the endpoint closes, refuse to reclaim without it, and leave duplicates to Main's exit after a disconnect. * feat(desktop): carry shared-texture frames on a native Host-Main channel Each frame was a Node IPC request from the Host's JavaScript thread, answered by a reply and a later notification on the same channel, with the macOS surface sent separately and paired in Main by token, and the Windows handle duplicated into Main by the Host through Koffi. The hop and ingress addons now form a two-way native channel on both platforms: a Mach port pair on macOS and a duplex message pipe on Windows. A frame's handle and description reach Main in one message, and Main returns the delivery reply and the settlement on the same channel. On Windows, Main verifies the pipe client's process and duplicates the Host's handle into its own process, so the Host opens no process and closes no remote handle. The Host IPC channel keeps only the capability and probe controls. A frame that finds Main's 32-frame delivery queue full is refused at once and stays reusable. When the channel is lost, the hop settles every unsettled frame as invalidated. The hop also exposes its connection to other Host addons as a C function table, which the sharedTexture claim returns from nativeSink, so a native producer can submit frames without the Host's JavaScript event loop. * refactor(desktop): drop unused parts of the shared-texture ingress Main never closed a handle inside the Host, never read a frame's delivery deadline, and waited for the Host's pipe connection only to cover the instant before the ingress registers it. Remove reclaimFromPeer, the timeoutMs field of the frame event, and the peer event with the probe's wait for it: a probe that arrives in that instant now fails with the export error. With frames as the only queued deliveries, the delivery function's own queue limit bounds them again. * refactor(desktop): submit shared-texture frames through the native sink only The Host had two entries for submitting a frame: the hop's JavaScript present, wrapped as SharedTextureService.present with promises fed by per-frame events, and the C sink for native addons. Frame forwarding, the only consumer, submits through the sink. Remove the JavaScript entry: the hop's present function and its delivered and settled events, the service's present with its frame, presented, and settlement types, and the wrapper's request table. The hop reports only the loss of a connection to JavaScript. The sink ABI and the wire format are unchanged. * feat(desktop): tell a refused shared-texture frame from a lost connection Every sink refusal returned 1, so a native consumer could not tell whether to keep its sink or replace it: a frame refused at the 128-request limit and a present after Main disappeared looked the same. present now returns DSH_SHARED_TEXTURE_PRESENT_OK (0) when the request left the Host, DSH_SHARED_TEXTURE_PRESENT_REJECTED (1) when only that frame was refused (invalid arguments or fields, the request limit, an identifier in use, or a failed send on a live connection), and DSH_SHARED_TEXTURE_PRESENT_DISCONNECTED (2) when the connection was closed or lost, including a send that found Main gone before the reader did. A sent request still returns 0 and settles through the reader when the connection ends during its send. * refactor(desktop)!: drop frame identifiers and the wire deadline from shared-texture presentation Each frame carried a Host-chosen identifier that the hop and Main both kept unique among unsettled frames, and a delivery deadline that Main never read. Frame forwarding tracks its own deliveries, so the identifiers only cost a string copy, a set lookup on each side, and an extra refusal reason. The sink ABI becomes version 2: dsh_shared_texture_frame_v2 drops id and id_len, and a consumer built for version 1 refuses the version 2 sink. DSTX becomes version 3: its present header drops timeout_ms and id_length and is followed by the metadata alone, and both sides refuse other versions and nonzero reserved fields. The hop still enforces each request's delivery deadline locally and still admits at most 128 unsettled requests; Main bounds admitted frames with a count instead of an identifier set. The native e2e labels frames through their metadata, proves that a timed-out request keeps its slot through the request limit, and forges version 2 and malformed version 3 headers. * refactor(desktop)!: read the Windows compositor adapter in Main To learn which adapter Chromium's compositor renders on, the Host asked Main for a probe texture, Main duplicated it into the Host and kept its own handle and hidden window until the Host released the probe, and the Host closed its duplicate after reading the adapter. The exchange needed the native connection to be open first, a probe table and late-reply cleanup on both sides, and two handle-transfer operations that nothing else used. Main now reads the adapter itself: the ingress addon reports the LUID of a Main-local shared texture through DXGI, formatted as "<HighPart>:<LowPart>" in unpadded lowercase hexadecimal, the text Host addons derive from an adapter LUID. Main exports one compositor texture, reads its adapter, and releases the texture and its window at once. The answer is kept for the GPU process generation, which a GPU process exit or Host teardown advances; concurrent queries share one probe, a probe that finds nothing or fails is not kept, a cleanup cancels a pending probe, and a probe that a GPU process exit overtook records nothing. SharedTextureService.probe becomes adapterLuid(timeoutMs), which resolves to that text or null, returns null outside Windows without asking Main, rejects when Desktop does not present shared textures, and no longer opens the native connection. The Host control requests are capabilities and adapter-luid; the probe and release-probe requests, the ingress exportToPeer, and the hop closeHandle are removed. * perf(desktop): block the macOS shared-texture ingress reader until a request or stop The macOS ingress reader woke every 100 ms to check for a stop request, so an idle Desktop woke the reader ten times a second and a close waited for the next wake-up. The reader now waits without a timeout. stop sets the flag and then sends an empty message to the ingress port through the send right Main already holds; a full queue already wakes the reader, so a wake-up that does not fit is dropped. Once stopped, the reader destroys whatever it receives, including its own wake-up, and Host requests still pass the audit-token check unchanged. * perf(desktop): trim per-frame work on the shared-texture path Every frame repeated work that only the first frame of a connection or no frame needs. On macOS each request carried a new send right to the Host's reply port, which Main merged and deallocated under a lock; the hop allocated and cleared a 4 KB message per request and the ingress cleared its whole receive buffer per message; the hop copied each frame's metadata into a string, and the Windows hop allocated a message vector; Main parsed every frame's metadata as JSON only to have Electron serialize the value again; and the product preload imported textures that no consumer would read. The first request of a macOS connection that reaches Main carries the reply port, and Main keeps it for that connection. Main drops the right when a reply cannot be delivered, as the Windows ingress disconnects the pipe, and the hop then receives a no-senders notification and settles every request as invalidated; Main discards requests that arrive on the dropped connection, and the endpoint serves the Host's next connection. Sends reuse a buffer per connection under the send lock and clear only the header fields and alignment padding, the ingress clears only the fixed message fields, and the hop passes metadata to the transport as a view of the caller's bytes. Main forwards the metadata text, and the product preload parses it before importing the texture. A transfer with metadata that is not JSON, or one that arrives while no consumer is registered, is refused before import, so the Host sees a failed delivery and a released settlement once Main drops its own reference. * fix(desktop): never import a handle from a closed Windows shared-texture connection A Windows request names its texture only by a handle value inside the Host, and Main duplicates it when its reader reaches the request. When the Host closed a connection itself, it settled every unsettled request as invalidated right after closing its pipe end, and the owner could then close the handle. A request still queued in the pipe stays readable after that close, so Main could duplicate a value that already named another object and present that texture as the settled frame. After duplicating, Main now checks that the Host's end of the pipe is still connected. The Host closes its end before it reports any settlement, so a duplicate taken while the end is open names the texture the request was sent with. Otherwise Main closes the duplicate and ends the connection, which discards the requests still queued; the endpoint then serves the Host's next connection. macOS needs no check because each request carries the IOSurface port itself. A Windows e2e suspends Main, presents a frame, closes the connection, and replaces the texture with one that takes over its handle value before resuming Main. Without the check Main delivered that frame with the replacement texture; with it Main delivers only the frames of open connections. * chore(desktop): state how long an ingress reply can block, and end a build script with a newline SharedTextureIngress.reply described a non-blocking queue, but it writes the reply on the calling thread and waits up to the 100 ms reply timeout while the Host is not reading. The comment now says so, together with the connection drop that follows a reply that cannot be written in time. native-package-builds.mjs ended without a newline. * fix(desktop): accept every enabled GPU compositing status in the adapter probe The probe required gpu_compositing to be exactly 'enabled', while support() accepts any 'enabled*' status, so adapterLuid returned null where capabilities reported support. Also type the e2e frame tuple to satisfy no-unsafe-return. * chore(desktop): end native-package-builds.d.mts with a newline * refactor(desktop)!: provide shared textures through the dsh-shared-texture plugin Desktop Host imported its shared-texture types from the private Electron application package, frame forwarding publishes declarations that referenced it, so an installed consumer could not resolve them, and renderer plugins read the texture bridge from globalThis.dshDesktop. @deepseek-ai/dsh-shared-texture (packages/shared-texture/shared-texture) is a Host and Client plugin package that owns the contract: - its Host root exports the abstract Cordis service SharedTexture, registered as ctx.sharedTexture and declaring only claim(), with the claim, capability, and native-sink types; its apply does nothing, because the Loader mounts the package only to deliver the Client half; - ./client is the Client plugin: where Desktop's product preload exposes dshDesktop.textures, it provides that bridge as the Client ctx.sharedTexture, typed SharedTextureBridge, and otherwise provides nothing; - ./bridge carries the type-only renderer SharedTextureBridge and SharedTextureLease; - ./protocol carries the type-only private control protocol between Desktop Main and the Desktop Host, including the hop addon types; it is not a plugin API. web-app mounts the package, so plugins inject ctx.sharedTexture instead of reading host globals. Desktop Host's SharedTexture extends the abstract Host service. Desktop Main and the Desktop Host take the low-frequency control message types from ./protocol and each still validates every message it receives at runtime, so Desktop Host no longer depends on Desktop. Desktop drops its ./shared-texture/host, ./shared-texture/client, and ./shared-texture/internal exports. The shared-texture subsystem page describes the entry points, and the capability-seam graph lists the service. * refactor(desktop): keep the shared-texture protocol in Desktop Host Main and the Desktop Host now share the child-process message types from `apps/desktop-host/src/types.ts`, imported as `@deepseek-ai/dsh-desktop-host/types`, so the published package no longer carries a private protocol subpath. The hop addon interfaces return to the Host module that is their only user. The renderer vocabulary keeps one Cordis-free module, renamed from `bridge` to `types`: `SharedTextureClientExport`, `SharedTextureHostExport`, and `SharedTextureLease`, imported by preload and IPC modules from `@deepseek-ai/dsh-shared-texture/types`. The module is required because the two compiler faces declare `ctx.sharedTexture` with different types: one program holding `src/index.ts` and `src/client/index.ts` fails with TS2717. --------- Co-authored-by: imccyu <276526105+imccyu@users.noreply.github.com>
Desktop local verification
English | 中文
Summary
Local download and mandatory-dialog evidence is separate from production backend integration, visual acceptance, and installed-application upgrades. Run the command in the Desktop README to produce a fresh isolated report.
Installed qualification can opt into DSH_DESKTOP_UPDATE_JOURNAL_DIR, an absolute directory outside the installation tree that both versions retain. Each main process flushes a separate JSONL file with its installed version, state transitions, and manual-operation milestones. Raw diagnostics and request data are excluded; storage errors propagate. The journal decision defines evidence limits. Unit and main-entry tests cover journal recording; manual installed-upgrade testing establishes the result for a selected version pair.
Table of Contents
- Fault-report verification
- Update dialog themes
- Native overlay visibility
- Manual walkthrough
- Manual installed-upgrade testing
- Evidence
- Open verification
Fault-report verification
See recovery and diagnostics for product behavior and limitations.
Use a disposable profile and separate Electron userData with the actual packaged client. Construct a minimal local bundle with package.json, dsh.bundle.patch pointing to cordis.patch.yml, and an optional plugin module; archive it as a local .tgz. These packages deliberately break the application and must not be published or installed in a daily profile.
Exercise import and plugin-initialization exceptions, an asynchronous exception after appReady, and a nonzero Host exit. A patch disabling the agent, session, llm, and tools providers exercises missing-service diagnostics. To check cross-restart history, select that bundle through pluginManager, then restart the same profile. Runtime scenarios require observing actual client readiness; appReady alone does not establish that the window is visible.
Check the original error and cause or exit code, operation and Host run IDs across restart, report-collection completion and omissions, file retrieval from the native dialog, and startup after plugin recovery. Record the package version and source commit; successful package generation or a management result alone does not establish client functionality. Restore protocol associations and stop test processes afterward.
For resource checks, use large sparse history files, unrelated files, dense records, and malformed or unfinished lines. Measure setup separately from collection in fresh processes, recording actual bytes read, output size, time, and peak memory. To check Worker cancellation, a test-only module hook can hold an asynchronous file open after writing an entry marker. Confirm that marker, observe Worker exit after the deadline, and compare the basic report bytes. This does not reproduce a kernel-hung system call or establish packaged-client behavior.
Update dialog themes
After pnpm --dir apps/desktop run build, run the real Electron palette fixture on macOS:
apps/desktop/.desktop-build/targets/mac-arm64/electron/Electron.app/Contents/MacOS/Electron apps/desktop/tests/fixtures/update-theme.mjs
The fixture creates a private profile, loads the production shell HTML, sandboxed preloads, renderer scripts, and bundled design tokens, and substitutes only fixed IPC status responses. Its 12 cases cover ordinary and mandatory documents starting in light/dark mode, switching while open, and following system appearance. It checks transparent document backgrounds, surface/text/button/mask colors, the code/address surface, the dark-only 1 CSS px inset outline, and the ordinary close icon, then writes four screenshots and result.json to .desktop-build/qualification/update-theme-*. It does not start a Host, download updates, run an installer, or qualify Windows native rendering. The first-close notice shares the ordinary document's CSS and theme script.
Native overlay visibility
On macOS, reuse the cached Electron runtime after compiling the Desktop Host sources:
pnpm exec tsc -b apps/desktop/tsconfig.host.json
apps/desktop/.desktop-build/targets/mac-arm64/electron/Electron.app/Contents/MacOS/Electron apps/desktop/tests/fixtures/update-overlay-visibility.mjs
The fixture owns a unique profile and writes result.json under .desktop-build/qualification/update-overlay-*. It checks visible and hidden owners, absence of native child windows, retention of a separate control window’s focus after owner visibility notifications, and view/input cleanup including owner destruction. It uses no network, product login, or dsh Host. It qualifies the in-window carrier, not the full first-login or installation flow.
Manual walkthrough
With Host, client, and Desktop artifacts built, run node --import tsx apps/desktop/scripts/test-workspace-updates.ts --interactive from the repository root on Windows. The actual workspace stays open with a separate control window. Its menus select ordinary or mandatory updates, hold and release downloads, inject download failures, and queue or clear test tasks. Select a failure before starting the download. After installation approval and task shutdown, a fixture message reports the intercepted installer call; acknowledging it ends the walkthrough. Closing the control window also exits. Each run owns a private profile and loopback server; payloads are not installers. Restart the command for a fresh round. Omitting --interactive runs the automated scenarios with their 120-second deadline and automatic exit; interactive downloads have a ten-minute network deadline.
Manual installed-upgrade testing
Use this walkthrough when a change can affect update selection, downloading, installation, restart, or retained data. The operator chooses scenarios for the affected platforms and change; this is not a required full matrix for every commit or release. An agent may obtain packages, prepare temporary scripts and a local server, and collect evidence for the run. Those helpers need not become repository tools. The operator owns the final acceptance result.
Prepare the run
- Record the platform, architecture, source revision, starting version, target version, and expected behavior. Use an upgradeable version pair for installation tests; reserve equal or older targets for rejection tests. Follow the packaging guide for existing build and artifact retrieval paths.
- Confirm which installation and data the test will affect. Prefer a dedicated OS account or virtual machine, or a test application with its own identity and data paths; copying an application directory alone does not isolate installer registrations or user data. Record the actual application, user-data, Harness home, and updater-cache paths; both versions must use the same test data. A test distribution URL alone provides no such isolation. Preserve any existing installation and data before replacement.
- Launch the starting version and confirm its workspace works before changing its update source. Create a recognizable test session and settings to check after upgrading. Save the original update configuration and record any cache clearing or other test-only changes.
Point the application at a local feed
Prepare a server bound to 127.0.0.1 with the target package and matching update metadata. Use a signed NSIS EXE for Windows updates and an application ZIP for macOS updates; a DMG can install the starting version but does not replace the update ZIP. Check the metadata's version, file size, and SHA-512 against the actual bytes; keep the downloaded package unchanged. Match the filenames to the channel requested by the tested version, rather than copying names from an older experiment. Confirm requests reach this server. Add request logs, transfer throttling, failures, or HTTP Range support only as needed by the selected scenarios; an ordinary static server does not establish differential-download behavior.
Inspect how the tested version resolves its update source before redirecting it. The packaged application reads app-update.yml, and the current provider caches its configuration after the first check; editing a file does not guarantee that a running process uses it. Coordinate modification and restart with that version's loading behavior and verify the actual request URL. For a temporary macOS experiment, modifying Contents/Resources/app-update.yml changes signed resources: retain the original, record the signature impact, and do not treat the modified starting application as an untouched release package. A separately prepared test application can instead receive its feed configuration before signing. Keep publisher verification enabled; test both platforms on their own installed applications.
Serve the starting version until the starting application is ready, then expose the target version. For channel or migration changes, prepare settings for each selected case and use the current channel rules to determine the expected channel. Exercise unlocking and switching through the actual UI when testing those actions. A package's channel marker alone does not determine the runtime channel; check version ordering and rollout eligibility before treating an absent update as a feed failure. Local responses exercise client behavior; deployed routing and public CDN delivery require separate checks against those services.
Exercise the affected behavior
| Changed behavior | Selected manual checks |
|---|---|
| Channel selection or settings migration | Existing settings, a fresh profile, unlocking, explicit switching, and persistence after restart; check the actual feed request and candidate |
| Downloading or verification | Interrupt or stall a real transfer, restore service, and retry explicitly; check rejection of a mismatched hash or publisher when relevant |
| Differential downloading | Supply the required old package/cache and blockmaps, support Range requests, and distinguish reconstructed downloads from full-download fallback in request logs |
| Installation, task shutdown, or restart | Approve installation from the actual application, observe the old process exit and the new process start, and inspect any failure or recovery UI relevant to the change |
| Data paths or persistence | Verify the prepared session and settings in the new workspace, including the expected channel migration or retained explicit choice |
Include a successful real installation when the change affects installation or restart. Do not substitute a recorded installer call or a changed UI version label. Check the new process, installed package version, replaced files, and usable workspace; check signatures according to the test package's signing method. Shared-runtime or otherwise reduced packages do not establish full-package resource replacement or independent startup.
Record results and restore the environment
Save the package identifiers and hashes, starting and ending versions, selected scenarios, request/application logs, relevant screenshots, test-only modifications, and pass/fail/not-run results. Record user observations that logs cannot establish. The optional journal described above supplements these checks; a complete sequence of journal events does not confirm data retention or visual acceptance by itself.
Stop only the server and processes owned by this run. Restore temporary settings where applicable and verify the resulting update destination. Restore an old app-update.yml backup only if it still belongs to the installed version; never overwrite the newly installed version's configuration with an older package's backup. Preserve requested packages and evidence. Do not change production feeds as part of this local walkthrough.
Evidence
After building Desktop, node apps/desktop/scripts/test-update-channels.mjs checks the pinned Electron updater against loopback feeds and downloaded inert files. It verifies channel filenames, downgrade prohibition, rollout eligibility, and retirement of actual download caches and stale confirmations after channel switching; on macOS it also closes the updater-created local handoff server. Windows pull-request CI checks the dependency versions against the committed verification record; this real-Electron check is run separately. No installer, Host or remote publication runs. This qualification does not replace signed installed-app testing on Windows and macOS.
The local command builds Desktop and executes Electron 44 with the actual HTTP updater, policy client, sandboxed preload, and mandatory renderer. It records each scenario and preserves its report under .desktop-build/qualification/local-updater-*. The installer call, external browser, and clipboard are observation substitutes; downloaded bytes are not an executable installer.
Packaging supervision fixtures control their Git metadata and use real file hashes with inert child processes. Git-head and worktree changes still refuse packaging; concurrent tests cannot change the fixture’s recorded Git inputs.
| Layer | Observed result |
|---|---|
| Ordinary updater | Same/older-version rejection, user-authorized full download, SHA-512 rejection, interrupted transfer, stalled-feed/download deadlines, explicit retry, coalesced requests, same-address feed replacement, readiness, and separate install handoff pass |
| Mandatory policy | Flattened 40005, exact release headers, guest requests, no-force validation, failure retention, interval/backoff, timeout, and disposal regressions pass |
| Ordinary scheduling | Fake-clock regressions with the real coordinator verify bounded jitter/backoff, manual joins, success reset, no automatic download retry, wall-clock independence, and disposal. Main-entry tests verify focus/resume throttling, immediate explicit checks, and quit cleanup |
| Actual mandatory window | Text-only server content, an embedded Windows shell frame with no additional native window and an enabled main window, Escape blocking, direct download, same-modal task confirmation, deferral, recovery-only page actions, navigation/copy feedback, and fresh policy clearance pass; focused main-entry tests verify close-to-hide without quitting or stopping the Host, with policy retained |
| Actual ordinary dialog | Isolated preload, 380px card, 24px corners, theme-resolved primary button, translucent backdrop without parent blur, Escape cancellation retaining readiness, and task-warning approval with recorded installation handoff pass |
| Unlocked Windows interaction | OS-level clicks and screenshots of the actual mandatory renderer confirm Escape blocking, user-started download, readiness, red policy-error feedback, and modal clearance with the parent enabled again. A fixture-provided native task-warning dialog returns to readiness on deferral; task activity is simulated, not a full Host workload |
| Main entry | A known block refuses plugin mutations and recovery without stopping the Host; fresh success closes the block; packaged policy ignores environment overrides; installer failure after a clean stop restores the Host before another confirmation and retains mandatory blocking |
| Host task protection | The actual controller with substituted composition detects running agents, queued turns/steps, and global and agent jobs; API reads do not warn. Admission locking returns 503 for new requests, drains existing requests, and rechecks tasks; unlock restores admission |
| Visible output | Chinese mandatory-dialog DOM expectation and ordinary update presentation expectation pass; account-row component tests cover progress and persistent retry |
| Packaging configuration | Metadata embeds the configured application ID and policy; the built pre-pack hook rejects an HTTP policy origin without running packaging or upload |
The focused dialog, main-entry, settings, and sidebar run passes 119 regression cases. Five carrier tests cover all statements, branches, functions, and lines of the shared update-status source. The real-Electron command passes 17 scenarios and captures ordinary-ready, task-warning, and mandatory-error dialogs. These isolated checks do not certify the complete workspace or a release. Full-repository gate results and environment limitations remain separate from this focused evidence.
Chromium headless shell revision 1228 is installed in the ignored .desktop-build/playwright directory. The assembled settings and sidebar browser suites pass 18 cases. The Desktop workspace browser scenario passes both Chinese and English cases, captures six screenshots per locale, and verifies bottom-row placement, compact progress with duplicate-click rejection, a top-toggle badge, persistent red retry with error tooltip, and a separate ready action. The presentation function, Host Web composition, client plugins, and CSS are real; the Desktop carrier is substituted. These cases do not exercise Electron IPC, menus, task authorization, or installation.
The built Host scenario uses the actual profile Loader, standard agent preset, task services, and Node background processes. It verifies queued turns/steps, a running model request, pending questions/approvals, global and agent jobs in running/stopping states, admission locking without cancellation, restored admission, and rejected inspection after Host disposal. Only model responses and human answers are substituted. Two independent invocations pass concurrently with private profiles and session data; all owned agents, jobs, and Hosts finish before a success report is written.
The Electron workspace runner executes a private copy of the compiled main entry with the real preload, workspace, and separate Host process. It acknowledges the first-run notice and drives renderer buttons through Electron input events and Chromium debugger input for the embedded Windows frame. The private application reuses the prepared target runtime resources. The recorded Windows run passes ten scenarios, covering menu feedback, download failure and retry, separate installation confirmation, real confirmation-time task creation, deferral, mandatory blocking, and actual Host teardown timeout. Both ordinary and mandatory failures restore a replacement Host and require fresh installation confirmation; recovery does not clear mandatory policy. Delivery uses a local server and installation is intercepted; these are not signed installed-app results. The macOS workspace path has not completed qualification; these Windows results do not cover it.
The Windows signature runner uses the installed electron-builder metadata generator and NsisUpdater verifier with the public release certificate and real executable inputs. Matching publisher attributes pass; the same valid signature with a different expected publisher and an unsigned executable are rejected. A missing-publisher negative control confirms that verification is skipped. Unit regressions cover DN escaping, incomplete identities, and explicit or host-default Windows targets; removing the publisher configuration fails both metadata cases. This check does not download, install, or sign an artifact.
The signed-download runner connects real Electron HTTP, NsisUpdater, Windows Authenticode, and the built coordinator. Four scenarios pass: valid-hash wrong-publisher rejection, valid-hash unsigned rejection, corrupt-transfer rejection before signature verification, and explicit retry to signed readiness with separate installation handoff. Rejected executable caches are empty, automatic checks issue no retry request, prepared downloads are retained, and original inputs keep their SHA-512. The synthetic feed and test application adapter do not establish installed-version compatibility; no installer or Host starts.
With an old installer and both original blockmaps, the same runner additionally verifies single-range and multipart-range reconstruction, missing-old-blockmap fallback, and rejected-range fallback. Reconstructed executables pass SHA-512 and Authenticode checks. Request records distinguish differential payload bytes from full downloads; a full fallback cannot satisfy a differential-success assertion. These loopback results do not certify CDN Range support or an installed application's cache.
Open verification
The following items are not passing evidence and must remain visible during review:
- Electron
capturePage()captures individual windows. Windows interactive observations include composed dialogs and native menu selection, but cross-platform Figma/layout acceptance and a complete recording remain unverified. The automated workspace runner invokes the menu handler directly. - The development launcher encounters a dangling optional Linux ARM64 dependency junction in this Windows checkout; the qualification runners link the existing dependency graph directly and do not validate that launcher's projection.
- The fixture does not execute an installer, overwrite an installed application, or establish that a new version starts successfully. Signed Windows and macOS installed-version qualification remains required for release.
- Package inspection and fixture results do not establish the outcome for another installed version pair. Record startup, failure/retry, restart, and data retention through the selected manual checks.
- Live policy origins, gateway behavior, rate limits, approved page origins, and deployed policy configuration are pending backend integration. Local responses are not proof of a live service.
- Policy, updater feed, and updater download stalls reach their real deadlines and recover. Injected download-write
ENOSPCis covered; actual volume exhaustion and installed-upgrade disk pressure remain unverified. Differential download and publisher rejection are verified through real Electron downloads, but not yet in a newly packaged application's installed-upgrade path. - Native clipboard writing passes on Windows. Default-browser launch is attempted, but destination verification stops because the automation tool cannot reliably identify the current URL. macOS browser and clipboard integration remain unverified.
- Mandatory and ordinary failures use localized summaries and folded diagnostics; copy failure reveals a selectable address. Ordinary error tooltips show summaries rather than raw diagnostics. Installed Windows/macOS attention, notification permission, and focus-mode behavior remain unverified.
- Full
doc-syncencounters Windows file-symlinkEPERMin the documentation-site test. This is not an updater failure and does not make the full documentation gate green.