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

Skip to content

feat: add spinloop work add #206

Description

@outofcoffee

Append an item to the work items file the orchestrator works, from the shell — whether or not the orchestrator is running.

  • Takes --items <path> (default ./work.yaml), the same file the orchestrator reads
  • The item's fields — id, instructions, dir, tags, priority — come from flags; the file must stay parseable after the append, with the same validation the orchestrator applies
  • An id the file already has is refused, naming it
  • An id with a done or failed record in the state beside the file is refused too — reusing it would never work the item — naming the state
  • A running orchestrator picks the new item up on its next pass; nothing more is needed

Part of the work command family with #207, #208, 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