Skip to content

Desktop keeps stale adoption failure after CLI recovery #36

Description

@sieversjosua

Silvic 0.1.64 can keep showing an old ADOPTION FAILED / Stopped state after the same Plot has recovered through the packaged CLI.

Reproduction

  1. Keep the Silvic desktop app open.
  2. Let adoption fail once for a discovered worktree. In this case the checkout initially had a detached HEAD.
  3. Attach the checkout to its branch and rerun adoption/provisioning through the packaged CLI.
  4. Start the development preview through the CLI.
  5. Compare silvic status --plot <id> --json with the desktop Plot list.

Observed

The CLI reported:

  • adoption.status: adopted on attempt 3
  • provisioning.status: complete
  • Web, Convex, and Agent runtimes running
  • the canonical web preview available

The desktop list still showed ADOPTION FAILED / Stopped for fix/sidebar-room-disclosure. Selecting that Plot caused the row to update immediately to ACTIVE, and the detail pane then correctly showed Adoption Adopted and Recipe Complete with the running runtimes.

The stale failure remained visible long enough to make the healthy preview look broken. No desktop restart was involved.

Expected

Desktop state should update when adoption, provisioning, or runtime state changes through the CLI/MCP. A successful later attempt should clear the previous failure without requiring the user to select the Plot or manually refresh the project.

At minimum, the renderer could invalidate its Plot data on Gate state-change events and when the app regains focus. A regression test should cover failed adoption followed by successful external recovery while the desktop list remains mounted.

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions