Skip to content

Allow requesters to cancel unaccepted task results #202

Closed

Description

@hsliuustc0106

Host-lifecycle prerequisite for #198, following #199. Independent of the offline harness PR #201.

Current task state transitions allow result-ready -> accepted only, leaving a returned result impossible to cancel. Permit the existing requester-only task-cancel action from result-ready, preserving the returned summary and the actor trail.

Acceptance:

  • The authenticated requester can cancel an unaccepted returned result.
  • Another owner, a forged body actor, an anonymous/revoked session cannot cancel it.
  • Cancellation persists after restart, preserves the result for audit, and later acceptance/return/start cannot revive the task.
  • Accepted, failed and cancelled tasks remain terminal; existing approval holds and grant behavior remain unchanged.
  • Document cancellation as task disposition, not confirmation that an external runtime has stopped.

No new endpoint, runtime privilege, social friendship exception or team-mode enablement.

Activity

  1. added
    status:doneScoped task completed and merged; does not imply parent acceptance is complete
    on Oct 17, 2026
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

    status:doneScoped task completed and merged; does not imply parent acceptance is complete

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions