Home Mold

report-foundry-run-feedback

Triage a completed or partial Foundry feedback ledger into a run review and confirmed, deduplicated upstream issue drafts.

draft

Mold health

ok
  • Source layout

    Every file beside index.md is one the mold kind declares.

  • Axis fields

    generic fields are coherent.

  • Eval plan

    Abstract oracle: the properties any cast of this Mold must satisfy.

    eval.md declares properties and check type.

    eval.md ↗
  • Scenarios

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

    scenarios.md declares cases bound to fixtures.

    scenarios.md ↗
  • Typed refs

    No typed references yet.

  • On-demand triggers

    All on-demand references describe triggers.

  • Evidence checks

    Hypothesis references include verification.

axis
generic
name
report-foundry-run-feedback

Cast artifacts

  • Claude skill report-foundry-run-feedback — Triage a completed or partial Foundry feedback ledger into a run review and confirmed, deduplicated upstream issue drafts.

How to install →

Artifact handoffs

/ pipeline contract

Produces

  • foundry-run-review markdown foundry-run-review.md

    Run coverage, ledger integrity findings, dispositions, and a concise summary of feedback triage results.

  • foundry-issue-drafts markdown foundry-issue-drafts.md

    One self-contained new-issue or existing-issue comment draft per surviving canonical subject cluster.

Consumes

  • Runtime-produced ledger containing run coverage and actionable observations about canonical Foundry source assets.

    produced by
    • runtime:feedback

Report Foundry run feedback

Triage a foundry-feedback.ledger.yml produced by feedback mode. Produce a factual run review and a consolidated set of upstream drafts. Drafting is local by default; creating a GitHub issue or posting a comment is a separate, explicitly confirmed action.

Always target galaxyproject/foundry — including observations whose root cause is a related project. An entry blaming Galaxy, a tool wrapper, the IWC corpus, or a harness CLI is filed here with its analysis so the run context stays attached; a maintainer forwards it upstream. Never redirect the user to another tracker and never file against another repository. Do not prescribe a particular GitHub interface. If no GitHub-capable interface is available, complete the local outputs and stop.

Sequence

  1. Read the protocol and ledger. Read _feedback.md, then the supplied feedback ledger. Do not infer missing fields. Preserve the original ledger until triage has produced complete local outputs.
  2. Assess run coverage. Summarize run.status and every top-level phase. Call an empty ledger clean only when the run is complete and every phase is feedback_checked. Name the phases that are not — a complete run with unchecked phases is reported as complete but unreviewed, because nothing there looked for friction. For running, failed, or cancelled runs, identify the last running or failed phase and all phases that remained pending.
  3. Screen unsafe evidence. Remove credentials, private URLs, proprietary source text, participant data, and user-identifying paths from review text and drafts. Replace the run directory prefix with <run>/. If redaction would make an observation unverifiable, keep it in the local review but do not draft an upstream report.
  4. Cluster open entries. Group status: open entries by subject.locator. Merge compatible observations about the same correction into one cluster while preserving the contributing entry ids, severities, observed content hashes, and evidence. Do not merge distinct requested corrections merely because they name the same subject.
  5. Check current main. For a Foundry subject, resolve its canonical locator against current galaxyproject/foundry/main. An unchanged content hash proves only that the observed asset is unchanged. A changed hash requires inspection for the proposed correction. When a locator moved, use its kind, label, and old hash to find the successor. Mark an observation fixed only when current source actually contains the correction. A related-project subject has no Foundry locator and no hash; skip this step for it rather than inventing one.
  6. Search for duplicates. Search open and closed issues in galaxyproject/foundry using the canonical locator, label, and correction. Prefer a comment draft for a matching open issue; record a duplicate disposition for a closed issue that already resolved the correction. Do not open a second issue for the same work.
  7. Write foundry-run-review.md. Include run status, phase coverage and which phases went unchecked, ledger-integrity or redaction concerns, every cluster’s disposition (fixed, duplicate, comment-draft, issue-draft, or local-only), and the entry ids supporting it.
  8. Write foundry-issue-drafts.md. Write one self-contained section per surviving correction cluster. Label it as either a new-issue draft or an existing-issue comment draft. Include the canonical locator, observed hash, affected Mold and Mold content hash, concise evidence, the expected correction, and contributing entry ids. A related-project cluster is drafted the same way, minus the hashes: name the suspected upstream project and component, state what the run observed and why the upstream looks responsible, and say what the Foundry should do meanwhile — carry a workaround, pin a version, or wait. Do not include sections for fixed, duplicate, unsafe, or wontfix observations.
  9. Gate every remote mutation. Present the local drafts and ask for explicit confirmation of the exact issues and comments to post. No confirmation means stop with the files. On confirmation, perform only the approved mutations in this invocation. Begin every posted body with Posted by an AI assistant on <user>'s behalf. and never @-mention anyone.
  10. Record confirmed dispositions. After a successful post, update the corresponding ledger entries to filed or duplicate and store the issue URL. Preserve all other entry fields and never delete history. If a remote mutation fails, leave the entries open and report the failure in the run review.