Skip to content

punk-supervisor: no way to cancel a running task #10

@t3chn

Description

@t3chn

Problem

No mechanism to cancel a task after dispatch. Once claude -p is running, the only option is kill <pid> manually.

Expected

punk cancel <task-id>

Should: find the process (from slot tracking), send SIGTERM, wait 5s, SIGKILL if needed, move to done/ with status=cancelled, log cancellation event in audit.jsonl.

Context

During adjutant build, 3 parallel agents were dispatched. Wanted to cancel 2 after realizing they'd conflict, but had no mechanism.

Metadata

Metadata

Assignees

No one assigned

    Labels

    admission:close-nowClose now: not for the active core intake laneenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions