Skip to content

AD-601: Define workflow DAG schema#41

Open
alph-cmky wants to merge 1 commit into
feat/ad-502-safe-shell-adapterfrom
feat/ad-601-workflow-dag-schema
Open

AD-601: Define workflow DAG schema#41
alph-cmky wants to merge 1 commit into
feat/ad-502-safe-shell-adapterfrom
feat/ad-601-workflow-dag-schema

Conversation

@alph-cmky

Copy link
Copy Markdown
Owner

Summary

  • Defines workflow DAG schema types for start, agent, tool, condition, human approval, and end nodes.
  • Adds workflow edges, variables, permissions, status, version, and timestamp fields.
  • Adds schema creation and validation helpers.
  • Validates exactly one start node and at least one end node.
  • Marks AD-601 complete in the development backlog.

Stack

Verification

  • TDD red check: pnpm test packages/workflow-core/src/workflow-schema.test.ts initially failed because workflow-schema.js did not exist yet.
  • pnpm test packages/workflow-core/src/workflow-schema.test.ts
  • pnpm lint && pnpm format && pnpm typecheck && pnpm test && pnpm build

Closes #16

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant