Home Mold

interview-to-galaxy-workflow-changeset

Interview a user against an existing Galaxy workflow summary and emit a reviewable, step-anchored change-set.

Mold health

warn
  • Source layout

    Directory Mold with only index.md frontmatter.

  • Axis fields

    source-specific fields are coherent.

  • Eval plan

    Abstract oracle: fixture-independent property checks any run must satisfy.

    eval.md declares properties and check type.

    eval.md ↗
  • Scenarios

    Concrete cases: fixtures bound to expected values, run against the eval properties.

    scenarios.md not written yet.

  • Typed refs

    2 typed references; 0 resolver issues.

  • On-demand triggers

    All on-demand references describe triggers.

  • Evidence checks

    Hypothesis references include verification.

axis
source-specific
source
interview
name
interview-to-galaxy-workflow-changeset
contract

Reference Loading

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

Researchopen-requirements-ledger

Background synthesis loaded by explicit progressive-disclosure metadata.

Purpose
Carry the open-requirements ledger: append requested changes the current workflow cannot support rather than inventing or dropping them, and mark resolved the ones this step closes.
Verify
Promote after a worked run shows entries this Mold appends are consumed by apply-galaxy-workflow-changeset or a reviewer without re-derivation.

Artifact handoffs

/ pipeline contract

Produces

interview-to-galaxy-workflow-changeset

Turn a modification interview into a reviewable change-set against an existing Galaxy workflow. This is the update pipeline’s analogue of interview-to-freeform-summary: the harness owns the live interaction; the Mold’s job is the normalized handoff. But unlike the greenfield summary, the output is anchored to concrete steps of a workflow that already exists — it names what to change, not what to build.

The harness owns the interaction style (interactive session, saved transcript, or custom UI). Read the summary-galaxy-workflow first so every change is expressed against real labels rather than a mental model of the workflow.

Output: the change-set

Emit Markdown: an ordered list of edit intents. Each entry carries:

  • kind — one of: add-step, replace-tool, remove-step, change-parameter, add-input, remove-input, add-output / expose-output, rewire, relabel / annotate.
  • anchor — the existing step label, input label, output name, or tool_state key the edit targets, quoted from the summary; or new for an added element.
  • intent — what the user wants, in their words plus the concrete target value where they gave one (e.g. a parameter’s new value).
  • acceptance — how a reviewer or a test would confirm the edit landed (a new output is present, a parameter reads the new value, a step feeds its intended consumer).

Order edits so dependencies read top-to-bottom (add a step before rewiring its consumer). The change-set is a reviewable artifact — the natural human approval gate before apply-galaxy-workflow-changeset touches the workflow.

Anchor discipline

Every entry must anchor to something the summary actually contains, or be explicitly marked new. Do not reference a step the workflow does not have, and do not silently rename an existing anchor. If the user asks for a change the workflow cannot support as described — an operation on a step that isn’t there, a parameter a tool doesn’t expose, a rewire that would break the graph — record it on the open-requirements-ledger as an open entry rather than inventing an anchor or quietly dropping the request.

Don’t over-specify

  • Don’t resolve tools here. An add-step or replace-tool names the operation and any user-given tool/version, not a resolved Tool Shed changeset — wrapper resolution is the per-step loop’s job downstream. Record vague tool intent as intent plus, if needed, an open-requirements entry.
  • Don’t apply the edit. This Mold decides what changes; apply-galaxy-workflow-changeset decides how the gxformat2 changes. Keep the two separate so the change-set stays reviewable.
  • Preserve scope. Capture only what the interview supports. Do not fold in unrequested “while we’re here” tidying — untouched regions must stay untouched, and a change-set that quietly widens scope propagates gratuitous churn downstream.

Incoming References (6)

  • apply-galaxy-workflow-changesetrelated note— Apply a reviewed change-set to a concrete Galaxy workflow: untouched regions preserved, tool-introducing edits injected as drafty steps.
  • apply-galaxy-workflow-changesetrelated mold— Apply a reviewed change-set to a concrete Galaxy workflow: untouched regions preserved, tool-introducing edits injected as drafty steps.
  • changeset-to-galaxy-test-planrelated mold— Carry an existing Galaxy workflow's tests forward as a regression baseline and augment them for a change-set's deltas, emitting a Galaxy test plan.
  • summarize-galaxy-workflowrelated note— Read an existing Galaxy gxformat2 (or .ga) workflow and emit a structured summary for interview and change-set steps.
  • UPDATE-INTERVIEW → GALAXYphase of pipeline— Interview-driven, edit-in-place modification of an existing Galaxy gxformat2 workflow via a reviewable change-set, reusing the per-step draft loop.
  • Galaxy workflow summaryrelated note— JSON Schema for the structured summary emitted by the summarize-galaxy-workflow Mold.