Home Mold

freeform-summary-to-galaxy-template

gxformat2 skeleton with per-step TODOs from a free-form summary and Galaxy design brief.

Mold health

warn
  • Source layout

    Directory Mold with only index.md frontmatter.

  • Axis fields

    source-specific fields are coherent.

  • Eval plan

    eval.md not written yet.

  • Typed refs

    10 typed references; 0 resolver issues.

  • On-demand triggers

    All on-demand references describe triggers.

  • Evidence checks

    Hypothesis references include verification.

axis
source-specific
source
freeform
name
freeform-summary-to-galaxy-template
contract

Reference Loading

Typed Mold references describe what casting consumes and when the generated skill should load each artifact.

Schemagalaxy-workflow-draft

Structured contract copied for validation or lookup.

Purpose
Output contract: the emitted gxformat2 draft conforms to [[galaxy-workflow-draft]]. Cast bundles the JSON Schema so the skill carries its output shape alongside the [[draft-validate]] CLI checks.
CLI Commanddraft-validate

Command reference. Usually cast to a sidecar and loaded only when invoked.

Purpose
Validate the emitted draft against draft-contract rules (sentinel form, topology, _plan_* placement) before handing off.
Trigger
After writing or modifying the draft workflow file.
Verify
Cast the skill, run on a representative paper-derived summary, confirm draft-validate diagnostics route back.
Researchgalaxy-workflow-draft-format

Background synthesis loaded by explicit progressive-disclosure metadata.

Purpose
Emit the gxformat2 draft superset: TODO tool_id, optional tool_state / tool_shed_repository, and per-step _plan_state / _plan_context planning fields.
Verify
Promote after a downstream per-step implementation Mold consumes _plan_state and _plan_context without round-tripping back through the source summary.
Researchgalaxy-workflow-testability-design

Background synthesis loaded by explicit progressive-disclosure metadata.

Purpose
Choose stable workflow input/output labels, testable checkpoint outputs, and fixture-compatible workflow interfaces while drafting the skeleton.
Trigger
When the template decides workflow inputs, workflow outputs, promoted checkpoints, or collection output identifiers that future tests will need to address.
Researchgalaxy-data-flow-draft-contract

Background synthesis loaded by explicit progressive-disclosure metadata.

Purpose
Respect the handoff from the freeform-to-Galaxy interface and data-flow briefs to the gxformat2 skeleton.
Trigger
When translating abstract nodes, unresolved tool needs, and placeholder transformations into template TODOs.
Verify
Promote after two worked freeform-to-Galaxy templates preserve the design-brief/template split without schema changes.
Patterngalaxy-tabular-patterns

Workflow-construction idiom. Usually condensed during casting.

Purpose
Use corpus-grounded tabular pattern guidance for unresolved skeleton steps.
Trigger
When adding TODO steps for tabular filtering, projection, joins, aggregation, text-processing recipes, or tabular-collection bridges.
Patterngalaxy-conditionals-patterns

Workflow-construction idiom. Usually condensed during casting.

Purpose
Use corpus-grounded conditional pattern guidance for unresolved skeleton steps.
Trigger
When adding TODO steps for optional steps, gating on non-empty results, routing between alternative outputs, or transform-or-pass-through branches.
Patterngalaxy-interval-patterns

Workflow-construction idiom. Usually condensed during casting.

Purpose
Use corpus-grounded genomic-interval pattern guidance for unresolved skeleton steps.
Trigger
When adding TODO steps for interval overlap, merge, coverage, windowing, masking, or set-algebra on coordinate features.

Cast artifacts

How to install →

Artifact handoffs

/ pipeline contract

Produces

Consumes

freeform-summary-to-galaxy-template

Read the original free-form source artifact if present, the free-form summary Markdown document, and the freeform-to-Galaxy interface and data-flow briefs. Emit a gxformat2 skeleton with workflow inputs, workflow outputs, placeholder steps, rough connections, and TODO slots for later implementation Molds.

The free-form summary does not have a concrete schema yet; treat it as Markdown. Treat the prior-step index as the working context: source transcript or paper, free-form summary, freeform-to-Galaxy interface and data-flow briefs, and any open questions carried forward.

Topology is this Mold’s job to settle. The output must be concrete gxformat2: workflow inputs with their final collection shapes and formats, workflow outputs, the step set, the producer→consumer edge graph, branches, and when: guards are all decided here. The upstream freeform-to-Galaxy interface and data-flow briefs guide those decisions, but if they hedge or leave a topology choice open, this Mold makes the call from source evidence, IWC exemplars, and pattern pages — never emit a topology TODO. Wrapper resolution, by contrast, is evidence-gated, not source-gated: resolve each tool step to the tier its evidence supports — Resolved (fully concrete, no _plan_*), Identity-pinned (concrete tool_id, parameters and changeset left to the per-step Mold), or Deferred (tool_id: TODO) — as defined in galaxy-workflow-draft-format. Capture whatever you defer in the _plan_* family (_plan_state, _plan_context, _plan_in, _plan_out) so the per-step Mold has the source evidence and constraints it needs.

Source tendency: free-form sources rarely name tools, so steps land in Deferred more often than nf-core or CWL — but a free-form source that does name a specific tool/version with evidence hardens to the matching tier, and a corpus-confirmed utility wrapper (interval/tabular/collection op) is not deferred just because the surrounding prose is informal. When deferring a domain tool, cite the originating paper section, interview answer, figure, or supplementary table in _plan_context, and record vague intent in _plan_state (“default settings”, “stranded reverse if mentioned, else unstranded”) so the per-step Mold knows the evidence ceiling.

Output shape is gxformat2 with wrapper-tier relaxations and _plan_state / _plan_context / _plan_in / _plan_out per tool step — see galaxy-workflow-draft-format. Refinement open work for those planning fields lives in refinement.md.

Incoming References (9)

  • freeform-summary-to-galaxy-data-flowrelated note— Translate a free-form source summary into a Galaxy data-flow design brief.
  • freeform-summary-to-galaxy-interfacerelated note— Map a free-form source summary into a Galaxy workflow interface design brief.
  • Galaxy: collection patternsrelated mold— Use this MOC to choose corpus-grounded Galaxy collection transformation patterns.
  • Galaxy: conditionals patternsrelated mold— Use this MOC to choose corpus-grounded Galaxy when and pick_value conditional patterns.
  • Galaxy: tabular patternsrelated mold— Use this MOC to choose corpus-grounded Galaxy tabular transformation patterns.
  • INTERVIEW → GALAXYphase of pipeline— Interview-driven path to a Galaxy gxformat2 workflow through the shared freeform-summary handoff.
  • PAPER → GALAXYphase of pipeline— Direct path from a paper to a Galaxy gxformat2 workflow. No CWL intermediate.
  • Galaxy data-flow draft contractrelated mold— Defines the proposed boundary between Galaxy data-flow drafts, gxformat2 templates, and concrete step implementation.
  • Galaxy workflow draft formatrelated mold— gxformat2 draft superset: wrapper-tier TODOs (tool_id, tool_state, port names) plus _plan_state / _plan_context / _plan_in / _plan_out per tool step.