Skip to content

ck upgrade aborts at ck-subc-mcp restart-initiation on Windows: supervised restart refused (unknown_module) blocks all later component replacements #95

Description

@Qiiks

Environment

  • Windows 11 IoT Enterprise LTSC 2024, x64
  • Installed via ck installer: components at %LOCALAPPDATA%\cortexkit\bin (ck, ck-subc, ck-subc-mcp, ck-aft)
  • Daemon registered as scheduled task CortexKit\subc-daemon (conhost --headless ck-subc.exe)
  • subc.jsonc (%APPDATA%\cortexkit\subc.jsonc) supervises exactly one module: aft → ck-aft.exe

Observed

ck upgrade (0.14.1 → 0.17.5, resolved via the signed release index) plans 27 operations across ck-subc-mcp, ck-aft, ck-subc, ck. It aborts at operation 6:

evidence: ck-subc-mcp warm-execution: destination inode=bfe6eb01... executed successfully (0.1.0)
refusal: ck-subc-mcp restart-initiation failed: ck module restart ck-subc-mcp --drain-ms 30000 exited exit code: 1: unknown_module — module_id 'ck-subc-mcp' is not supervised

ck-subc-mcp is the standalone stdio MCP shim, not a supervised module, so ck module restart ck-subc-mcp can never succeed — the restart-initiation step refuses, and no later operation runs. Re-running ck upgrade reproduces identically (same inode re-warm-executed, binaries on disk unchanged, --version still 0.14.1). The upgrade plan has no path to completion on a Windows install where subc.jsonc does not supervise ck-subc-mcp.

Expected

Either (a) skip the supervised-restart step for components that are not supervised modules and rely on post-verify, or (b) continue the plan past a refused restart for a non-module component, reporting it as a warning. As shipped, the first upgrade a Windows alpha user attempts is a hard stop.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions