TS_MORE_WORKFLOW_OPERATIONS

Follow-up: Additional Workflow Operations (galaxy-tool-util)

Deferred from the initial normalized models plan. Implement after normalizedFormat2 and normalizedNative land and their declarative tests pass.

Expanded Models ✅

New: packages/schema/src/workflow/normalized/expanded.ts

Expectation files

Conversion Operations ✅

New files:

Expectation files

Changes to existing files

Implementation order (as executed)

  1. ✅ Shared utilities: comments.ts, labels.ts
  2. toFormat2 (native → format2)
  3. toNative (format2 → native)
  4. ensureFormat2 / ensureNative (polymorphic entry points)
  5. expandedFormat2 / expandedNative (inline-only expansion)
  6. ✅ Wired into test runner + exports

Test results

Resolved questions

Unresolved questions

Integration with validate-workflow CLI

Once normalized + expanded models exist, validate-workflow could: