Skip to content

Refactor AgentState for future Task requirements #54

Description

@TanGentleman

Changes:

  • Move all task state to the Task object.

For each new set of Actions / Task Type:
Define side effects (mutation of AgentState):

  • At TaskManager node to set Task Status to IN_PROGRESS
  • At Action node to continue flow after ActionResult is obtained (define by case)

Questionable (is handoff logic needed?):

  • At TaskManager node: Status.DONE or Status.FAILED
  • At TaskManager node: When stash action is queued

Code changes:

  • For each TaskType — init logic in Task Manager node.
  • Add logic for each ActionResult case after action execution
  • Define Stash/HITL logic (by Task)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions