FIRST_STEPS

First Planning Steps

Step 1: Audit Parameter Type Coverage

Inventory every Galaxy parameter type and assess current handling in:

Produce a coverage matrix. Prioritize by frequency in IWC workflows (text, integer, float, boolean, select, conditional, repeat, section, data, data_collection cover ~95% of real usage).

Step 2: Design the state JSON Schema / Pydantic Model

The Format2 state block needs a formal schema. Design how to derive it from the existing workflow_step representation:

Step 3: Design the Conversion Interface

Define the contract for tool_statestate conversion:

Plan how conversion handles each parameter type, especially:

Step 4: Implement Core Scalar + Container Conversion

Build out the conversion for the common parameter types in priority order:

  1. Scalars: text, integer, float, boolean, color, hidden
  2. Select (including dynamic selects — may need special handling)
  3. Sections
  4. Conditionals (with __current_case__ inference)
  5. Repeats
  6. Data/collection (ConnectedValue extraction)

Red-to-green: write test cases for each type before implementing.

Step 5: Wire Validation into gxformat2 Lint Path

Design how gxformat2’s linter can optionally consume tool schemas:

Step 6: Design the Round-Trip Test Harness

Plan the D5 round-trip validation:

Step 7: Plan Format2 Export Integration

Design how Galaxy’s export path changes:

Unresolved Questions