The product path has moved from the retired multi-agent compatibility stack to a single ZCode Agent backed by ZCode Protocol.
apps/zcode-cli is a normal workspace package and exposes zcode app-server --stdio.IZCodeAgentService and the V4 conversation command/projection surface; production code no longer has the retired protocol service/process-manager modules.packages/ui/src/v4/conversationProjectionStore.ts and sessionDataLayer.ts; zcodeSessionStore only retains task-shell/session metadata that is outside the transcript projection.session; app-level task is a product wrapper around session state.IZCodeAgentService are the current send/subscribe boundary. IZCodeSessionService remains the lifecycle/configuration facade for create, resume and model/session operations that have not moved to a V4 command.IZCodeTaskService should not become a new compatibility dumping ground. Keep it focused on task wrapper metadata, task list/index behavior, dynamic task events, queued command state, and remote replayable recovery.continuous and mobile replayable delivery semantics must stay separate. Mobile recovery can use snapshot/gap replay; desktop main streams should not consume mobile replay concatenation as their normal path./remote attaches to an existing host/session. It must not start an independent agent runtime for the phone side.workspaceKey = workspaceIdentity?.trim() || workspacePath for identity/cache/queue semantics; path execution still uses workspacePath.createServiceLogger(scope) from packages/services/src/logger/serviceLogger.ts. High-volume protocol frames or stream chunk traces must be debug, not production info.sendPrompt/task-stream consumers after the equivalent V4 command/topic path has production and recovery coverage.IZCodeTaskService, remote replay docs, bot bridge docs, and UI queue docs together.Every code stage still needs:
pnpm typecheckpnpm lintAdd targeted tests based on impact:
packages/shared/test/zcodeProtocol.test.tspackages/services/test/zcodeProtocolClient.test.ts, packages/services/test/zcodeAgentService.test.ts, packages/services/test/zcodeSessionService.test.tsapps/zcode-cli/packages/bootstrap/tests/zcode-protocol.test.ts plus affected core/runtime tests