The Team panel read a Remote snapshot on open and behind an explicit refresh button, while the subagent catalog panel updates from Host projection frames. The Team projection was Host-only and its `apply` mutated state in place, so the projection registry could never publish a client view for it. Publish a durable-only `agentTeam` wire view: roster rows with their durable phase, non-deleted task views through the same readiness, owner-name, and write-overlap derivation the task board returns to agents, and `failure` beside the last valid state when a persisted Team record is rejected. `apply` now returns a new state per applied Team event and replaces only the touched collection, so mailbox-only events reuse the previous view reference and publish nothing. The Web panel derives every row from the shared Session store: the Lead from the current Session's subagent address, running/inactive from Session status, and the model from the member Session's durable `modelSelection` projection. Opening requests the Lead's projection baseline when the store has none, a failed read shows a retry control, and the refresh button and Remote mount are gone. The `agentTeams/view` Remote method remains for callers that need live availability and the configured model. The Team panel web e2e now asserts that Host-side task creation and claiming reach the open panel without any user action.
apps/web browser e2e
English | 中文
These tests boot the real web composition in-process and drive it with a real Chromium over real HTTP. The lane's mechanics — modes, fixtures, goldens, and the deliberate composition divergences from dsh web — are documented in scaffold.ts and the browser e2e Agent Note.
Ordinary scenarios begin with no registered Workspace or Session and a durable marker recording a removed default Workspace, so explicit folder-selection scenarios retain control of their cwd. launchWebScaffold({ firstUse: true }) leaves initialization eligible for startup scenarios.
Completion observations
State-sensitive cases use Workspace, admission, attachment, and model-stream barriers to separate visible intermediate states from completed operations. Details close waits for frame transitions; archive verification assigns an explicit title to the seeded Session and follows that identity across reload. See the CI fixture synchronization decision.
These are Host-face tests
They type-check in the root tsconfig.host.json, not in the Client aggregate, because they read Host services directly: ctx.connection, the Host SessionStore, and ctx.sessionProjectionCache. Driving a browser at runtime does not make a file part of the Client program — the two faces merge Cordis Context under the same keys with different services, so one program cannot see both. Moving these files into the Client aggregate makes every Host-service access fail to compile.
Do not import @deepseek-ai/dsh-client-* here
Importing a Client package — a value or a type — pulls its whole TypeScript project, and every project it references, into the Host build graph. That has bitten this lane once already: four Client consumer packages reference api/remotes' Client face, which cannot compile until Host tsdown has generated @deepseek-ai/dsh-goal/remote, so the Host build phase ended up waiting on an artifact it produces itself.
When a scenario needs a Client-owned constant or pure function, mirror it here instead, next to the commented-out import that names the source module. A drift then surfaces as a missed selector or a stale mirrored value — a loud failure, never a silent pass. scaffold.ts follows this rule for the welcome-notice namespace, acknowledgement field, version, and asserted Chinese copy.
The built-client harness is the exception. assembled-boot.ts imports AppWebEntry, the boot-manifest type, and RemoteMock; assembled-remote.ts imports the Client test runtime's default responses and RemoteMock. These packages are explicit project references for booting the real shell against a test-owned carrier. The chat scenarios mirror conversationContextKey in support.ts instead of importing its Client owner.
Nothing mechanically enforces this rule; keep it in review.