Skip to content

fix(dag): DagSupervisionSweep absent on desktop sidecar — AppLayer never built in utility process #341

Description

@LeXwDeX

Source: docs/audit-dag-deepdive-2026-08-19.md (F2, Medium)

Mechanism

The supervision sweep (the direct response to the 2026-08-18 orphaned-nodes production incident, PR #338) forks its repeating fiber at layer construction into the AppLayer scope (supervision-sweep.ts:239-241; sole construction point app-runtime.ts:140). The desktop sidecar (desktop/src/main/sidecar.ts:57-65) imports virtual:opencode-server and calls Server.listen directly — it never goes through effectCmd, so AppLayer is never built in that utility process → the deadline-supervision defense is absent on the desktop default path (mac/win). WSL path (external opencode serve) is unaffected.

Acceptance

Related: #340

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions