Skip to content

Schema: deterministic agent workflows #93

Description

@rajanbor

Goal

Define library/schemas/workflow.schema.json for multi-step procedures agents can execute and resume.

Human contract

Document trigger, preconditions, ordered or parallel steps, inputs/outputs, checkpoints, failure handling, rollback, escalation, completion, and handoff. Include a safe dependency-update workflow.

Machine contract

Represent steps as stable IDs with typed dependencies, tool/profile references, retry limits, and terminal states. Reject cycles unless an explicitly bounded loop is modeled.

Acceptance criteria

  • Schema, guide, sequential and parallel examples, and invalid fixtures exist.
  • Graph validation catches missing steps, cycles, and unreachable terminals.
  • Every mutating step defines failure and recovery behavior.
  • Resume semantics are deterministic and documented.
  • Humans can execute the example from the Markdown alone.

Depends on document, agent, and tool schemas.

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

    priority: highHigh-leverage / cornerstone patterntype: featureNon-pattern feature — website, tooling, templatestype: schemaMachine-readable contract with a human-readable guide

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions