Files
flowgraph/tasks/component-operation.md

1.2 KiB

id, name, status, depends_on, scope, risk, impact, level
id name status depends_on scope risk impact level
component/operation Implement <Operation> ujsx component completed
schema/node-attrs
setup/project-init
single low component implementation

Description

Implement the Operation ujsx component function. It's a UComponent that produces a UElement with type: "operation" and workflow-specific props. Operation is a leaf node — it has no children.

Acceptance Criteria

  • src/component/operation.ts exports Operation component function
  • Operation produces UElement with type: "operation"
  • Props: name: string (required), optional input, optional retries: number, optional timeout: number
  • Operation has no children (leaf node — documented as validation error if children provided)
  • Re-exported from src/component/index.ts
  • Unit tests: produces correct UElement shape, type guard works

References

  • docs/architecture/workflow-templates.md — Operation component definition, props
  • docs/architecture/host-configs.md — component-to-tag mapping

Notes

To be filled by implementation agent

Summary

To be filled on completion