feat(engine): Rust workspace scaffolding and Open Workflow DSL 1.0 parser #3

Closed
opened 2026-09-09 10:08:48 +00:00 by larandar · 1 comment
Owner

Proposal

Provide the executor's Rust workspace foundation and a typed Open Workflow Specification (OWS) DSL 1.0 parser, with the Ting normalization conventions needed by workflow callers.

Design

Create the executor crates under executor/. Parse OWS documents into a typed AST, then normalize use.workflows references and <workflow>@<impl> implementation selectors into one canonical representation.

Tasks

  • 1.1 Scaffold the Rust crates and workspace in executor/.
  • 1.2 Implement the OWS DSL 1.0 typed AST and parser, including the Ting normalization layer (use.workflows, <workflow>@<impl>).

Gherkin Specification Delta

must.contracts.ting-workflows.executor.dsl-parsing

Scenario: Parse and normalize an OWS DSL 1.0 workflow

  • GIVEN a valid OWS DSL 1.0 document containing use.workflows and a <workflow>@<impl> selector
  • WHEN the executor parses the document
  • THEN it returns a typed AST with the references normalized to the selected workflow implementation
  • AND malformed DSL is rejected with a structured parse error.
## Proposal Provide the executor's Rust workspace foundation and a typed Open Workflow Specification (OWS) DSL 1.0 parser, with the Ting normalization conventions needed by workflow callers. ## Design Create the executor crates under `executor/`. Parse OWS documents into a typed AST, then normalize `use.workflows` references and `<workflow>@<impl>` implementation selectors into one canonical representation. ## Tasks - 1.1 Scaffold the Rust crates and workspace in `executor/`. - 1.2 Implement the OWS DSL 1.0 typed AST and parser, including the Ting normalization layer (`use.workflows`, `<workflow>@<impl>`). ## Gherkin Specification Delta ### must.contracts.ting-workflows.executor.dsl-parsing **Scenario: Parse and normalize an OWS DSL 1.0 workflow** - **GIVEN** a valid OWS DSL 1.0 document containing `use.workflows` and a `<workflow>@<impl>` selector - **WHEN** the executor parses the document - **THEN** it returns a typed AST with the references normalized to the selected workflow implementation - **AND** malformed DSL is rejected with a structured parse error.
Author
Owner

Superseded by 1-feature deliverable decomposition per freeholder ruling (issues #11+).

Superseded by 1-feature deliverable decomposition per freeholder ruling (issues #11+).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
Ting/workflows#3
No description provided.