Skip to content

fix(cli): preserve registered daemon when active work is unknown #250

Closed

Description

@agenteinstinct1-max

Part of #242. Narrow daemon safety prerequisite only.

A restart or version-mismatched start must not treat an unsuccessful active-run probe as zero active work and kill a possibly busy registered child. HTTP failures, timeout, network loss and malformed bodies are unknown.

Acceptance: unknown refuses without killing/removing the child; active work is reused on compatible start and refused on restart/replacement; verified idle can stop/spawn; explicit service stop keeps its existing behavior. Test real SDK response/error shape and daemon process/registration effects.

A conservative same-version unknown-start refusal is tracked for refinement in #248. The remaining probe-to-SIGTERM race needs an atomic server stop-if-idle contract. Neither this child nor its PR closes #242's UI background, exactly-once restore or attention acceptance.

Activity

  1. agenteinstinct1-max commented on Oct 11, 2026

    @agenteinstinct1-max
    CollaboratorAuthor

    Completed by PR #249 merged into dev-vibecoded at 2225f76. Broader #242 and refinement #248 remain open. Duplicate analysis was queued and non-required, not reported as passed.

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