Thanks to visit codestin.com
Credit goes to github.com

Skip to content

feat: add spinloop work abort #208

Description

@outofcoffee

Stop a running work item and return it to the backlog: the item's agent is stopped cleanly and its record is removed from the state, so the orchestrator's next pass admits it again.

  • Takes --items <path> (default ./work.yaml), the same file the orchestrator reads
  • Only a running item can be aborted; aborting a backlog, done, or failed item is a refusal naming the item and its state
  • With no orchestrator running there is nothing running: the command says so. Stale running records from an unclean death are for the next start to record failed, not for abort to clear
  • The orchestrator owns the state file and holds the lock, so how the abort reaches it — a marker beside the file, a control channel — is a design decision for the change. The requirement is the outcome: the agent stops, the item is back in the backlog

Part of the work command family with #206, #207, and #209. Builds on #205.

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

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions