@galaxyproject/orbit 0.0.0 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +123 -0
- package/LICENSE +21 -0
- package/README.md +760 -5
- package/bin/legacy-mcp-config.js +363 -0
- package/bin/orbit.js +810 -0
- package/bin/pi-extension-path.d.ts +4 -0
- package/bin/pi-extension-path.js +44 -0
- package/bin/provider-auth.d.ts +22 -0
- package/bin/provider-auth.js +77 -0
- package/bin/thinking-pref.js +38 -0
- package/bin/update-check.d.ts +15 -0
- package/bin/update-check.js +137 -0
- package/extensions/cli-update/index.ts +32 -0
- package/extensions/orbit/activity-hooks.ts +141 -0
- package/extensions/orbit/activity.ts +116 -0
- package/extensions/orbit/agent-dir.ts +11 -0
- package/extensions/orbit/auto-resume.ts +352 -0
- package/extensions/orbit/config.ts +3 -0
- package/extensions/orbit/confusables.ts +1 -0
- package/extensions/orbit/context.ts +957 -0
- package/extensions/orbit/dashboard-commands.ts +191 -0
- package/extensions/orbit/dashboard-store.ts +473 -0
- package/extensions/orbit/dashboard-tools.ts +1185 -0
- package/extensions/orbit/empty-completion.ts +99 -0
- package/extensions/orbit/evidence-gate.ts +1276 -0
- package/extensions/orbit/evidence-override-command.ts +294 -0
- package/extensions/orbit/exec-guard/bash-risk.ts +1408 -0
- package/extensions/orbit/exec-guard/gate.ts +181 -0
- package/extensions/orbit/exec-guard/guardian-config.ts +54 -0
- package/extensions/orbit/exec-guard/index.ts +1 -0
- package/extensions/orbit/exec-guard/model-tier.ts +36 -0
- package/extensions/orbit/exec-guard/path-jail.ts +54 -0
- package/extensions/orbit/exec-guard/policy.ts +342 -0
- package/extensions/orbit/exec-guard/runtime-state.ts +15 -0
- package/extensions/orbit/exec-guard/sensitive-read.ts +525 -0
- package/extensions/orbit/exec-guard/types.ts +42 -0
- package/extensions/orbit/execution-commands.ts +134 -0
- package/extensions/orbit/feedback-command.ts +81 -0
- package/extensions/orbit/feedback.ts +96 -0
- package/extensions/orbit/galaxy-api.test.ts +122 -0
- package/extensions/orbit/galaxy-api.ts +606 -0
- package/extensions/orbit/galaxy-artifact-link-guidance.ts +5 -0
- package/extensions/orbit/galaxy-destructive-gate.ts +113 -0
- package/extensions/orbit/galaxy-enrich.ts +1108 -0
- package/extensions/orbit/galaxy-failure.ts +101 -0
- package/extensions/orbit/galaxy-fixture.ts +126 -0
- package/extensions/orbit/galaxy-history-guard.ts +233 -0
- package/extensions/orbit/galaxy-job-block.ts +347 -0
- package/extensions/orbit/galaxy-job-ops.ts +288 -0
- package/extensions/orbit/galaxy-live-source.ts +929 -0
- package/extensions/orbit/galaxy-markdown-adapter.ts +248 -0
- package/extensions/orbit/galaxy-op-policy.ts +332 -0
- package/extensions/orbit/galaxy-ops-tools.ts +326 -0
- package/extensions/orbit/galaxy-output-store.ts +80 -0
- package/extensions/orbit/galaxy-output.ts +346 -0
- package/extensions/orbit/galaxy-page-binding.ts +222 -0
- package/extensions/orbit/galaxy-page-markdown-guidance.ts +15 -0
- package/extensions/orbit/galaxy-page-ops.ts +159 -0
- package/extensions/orbit/galaxy-page-sync.test.ts +417 -0
- package/extensions/orbit/galaxy-page-sync.ts +318 -0
- package/extensions/orbit/galaxy-pages-api.ts +203 -0
- package/extensions/orbit/galaxy-pages-sync.ts +409 -0
- package/extensions/orbit/galaxy-poll-guard.ts +189 -0
- package/extensions/orbit/galaxy-poller.ts +706 -0
- package/extensions/orbit/galaxy-provenance.ts +623 -0
- package/extensions/orbit/galaxy-reconcile.ts +956 -0
- package/extensions/orbit/galaxy-recovery.ts +176 -0
- package/extensions/orbit/galaxy-repeat-guard.ts +55 -0
- package/extensions/orbit/galaxy-submission-capture.ts +707 -0
- package/extensions/orbit/galaxy-submission.ts +502 -0
- package/extensions/orbit/galaxy-tool-source.ts +78 -0
- package/extensions/orbit/galaxy-tool-wrap.ts +234 -0
- package/extensions/orbit/galaxy-udt-block.ts +127 -0
- package/extensions/orbit/galaxy-upload-tus.ts +334 -0
- package/extensions/orbit/galaxy-upload.ts +300 -0
- package/extensions/orbit/galaxy-version-capture.ts +65 -0
- package/extensions/orbit/git.ts +173 -0
- package/extensions/orbit/harness-block-fields.ts +597 -0
- package/extensions/orbit/index.ts +593 -0
- package/extensions/orbit/init-gate.ts +284 -0
- package/extensions/orbit/instructions-command.ts +136 -0
- package/extensions/orbit/invocation-failure-hint.ts +57 -0
- package/extensions/orbit/iwc-plan-check.ts +94 -0
- package/extensions/orbit/lesson-command.ts +303 -0
- package/extensions/orbit/lesson-hint.ts +245 -0
- package/extensions/orbit/lesson-nudge.ts +106 -0
- package/extensions/orbit/lessons/compose.ts +177 -0
- package/extensions/orbit/lessons/counters.ts +120 -0
- package/extensions/orbit/lessons/enabled.ts +116 -0
- package/extensions/orbit/lessons/matcher.ts +346 -0
- package/extensions/orbit/lessons/paths.ts +286 -0
- package/extensions/orbit/lessons/pi-event-contract.ts +105 -0
- package/extensions/orbit/lessons/propose-replay.ts +103 -0
- package/extensions/orbit/lessons/propose-tool.ts +222 -0
- package/extensions/orbit/lessons/propose.ts +502 -0
- package/extensions/orbit/lessons/replay.ts +89 -0
- package/extensions/orbit/lessons/reproduction-index.ts +83 -0
- package/extensions/orbit/lessons/search-tool.ts +99 -0
- package/extensions/orbit/lessons/search.ts +136 -0
- package/extensions/orbit/lessons/store.ts +415 -0
- package/extensions/orbit/lessons/text.ts +36 -0
- package/extensions/orbit/lessons/types.ts +69 -0
- package/extensions/orbit/lessons/user-dir.ts +24 -0
- package/extensions/orbit/lessons/user-lesson.ts +88 -0
- package/extensions/orbit/lessons/wrapper.ts +61 -0
- package/extensions/orbit/lessons-command.ts +147 -0
- package/extensions/orbit/local-exec.ts +39 -0
- package/extensions/orbit/mcp-output.ts +179 -0
- package/extensions/orbit/mcp-servers.test.ts +24 -0
- package/extensions/orbit/mcp-servers.ts +25 -0
- package/extensions/orbit/model-script.ts +351 -0
- package/extensions/orbit/notebook-anchors.ts +342 -0
- package/extensions/orbit/notebook-writer.ts +863 -0
- package/extensions/orbit/observation-allowlists.ts +1109 -0
- package/extensions/orbit/observation-replay.ts +148 -0
- package/extensions/orbit/observation-triggers.ts +563 -0
- package/extensions/orbit/observation-ui.ts +175 -0
- package/extensions/orbit/observations-command.ts +421 -0
- package/extensions/orbit/observations-config.ts +200 -0
- package/extensions/orbit/observations.ts +1381 -0
- package/extensions/orbit/profiles.ts +270 -0
- package/extensions/orbit/progress-updates.ts +95 -0
- package/extensions/orbit/proposal-commands.ts +882 -0
- package/extensions/orbit/provenance-fs-file.ts +59 -0
- package/extensions/orbit/provenance-fs.ts +32 -0
- package/extensions/orbit/provenance-memory-fs.ts +59 -0
- package/extensions/orbit/record-store-file.ts +177 -0
- package/extensions/orbit/record-store-page.ts +77 -0
- package/extensions/orbit/record-store-seam.ts +47 -0
- package/extensions/orbit/record-store.ts +149 -0
- package/extensions/orbit/registry-carrier.ts +107 -0
- package/extensions/orbit/registry-eligibility.ts +95 -0
- package/extensions/orbit/registry-evaluation.ts +403 -0
- package/extensions/orbit/registry-evaluator.ts +519 -0
- package/extensions/orbit/registry-import.ts +91 -0
- package/extensions/orbit/registry-lock.ts +221 -0
- package/extensions/orbit/registry-memory-fs.ts +42 -0
- package/extensions/orbit/registry-page-carrier.ts +103 -0
- package/extensions/orbit/registry-proposal.ts +1348 -0
- package/extensions/orbit/registry-runtime.ts +234 -0
- package/extensions/orbit/registry-schema.ts +735 -0
- package/extensions/orbit/registry-submitter.ts +59 -0
- package/extensions/orbit/registry-templates.ts +346 -0
- package/extensions/orbit/registry.ts +476 -0
- package/extensions/orbit/sandbox/index.ts +120 -0
- package/extensions/orbit/sandbox/sandbox-bash.ts +93 -0
- package/extensions/orbit/sandbox/sandbox-config.ts +87 -0
- package/extensions/orbit/sandbox/sandbox-init-message.ts +28 -0
- package/extensions/orbit/secret-redaction.ts +247 -0
- package/extensions/orbit/session-index/cwd.ts +18 -0
- package/extensions/orbit/session-index/db.ts +56 -0
- package/extensions/orbit/session-index/indexer.ts +154 -0
- package/extensions/orbit/session-index/is-enabled.ts +17 -0
- package/extensions/orbit/session-index/parse.ts +254 -0
- package/extensions/orbit/session-index/query.ts +209 -0
- package/extensions/orbit/session-index/schema.ts +72 -0
- package/extensions/orbit/session-index/tools.ts +152 -0
- package/extensions/orbit/session-lifecycle.ts +321 -0
- package/extensions/orbit/skill-triggers.ts +159 -0
- package/extensions/orbit/skills-command.ts +48 -0
- package/extensions/orbit/skills-discovery.ts +435 -0
- package/extensions/orbit/skills.ts +84 -0
- package/extensions/orbit/sra-import-gate.ts +77 -0
- package/extensions/orbit/state.ts +265 -0
- package/extensions/orbit/submission-replay.ts +147 -0
- package/extensions/orbit/sync-command.ts +157 -0
- package/extensions/orbit/teams/critic-parser.ts +93 -0
- package/extensions/orbit/teams/dispatcher.ts +210 -0
- package/extensions/orbit/teams/is-enabled.ts +22 -0
- package/extensions/orbit/teams/tool.ts +187 -0
- package/extensions/orbit/teams/types.ts +57 -0
- package/extensions/orbit/teams/validate.ts +42 -0
- package/extensions/orbit/tester-id-command.ts +133 -0
- package/extensions/orbit/tools-sync.ts +279 -0
- package/extensions/orbit/tools.ts +1300 -0
- package/extensions/orbit/types.ts +41 -0
- package/extensions/orbit/ui-bridge.ts +55 -0
- package/extensions/orbit/ulid.ts +60 -0
- package/extensions/orbit/user-instructions.ts +388 -0
- package/extensions/orbit/vendor/skills/_catalog.json +68 -0
- package/extensions/orbit/vendor/skills/_manifest.json +1106 -0
- package/extensions/orbit/vendor/skills/advance-galaxy-draft-step/SKILL.md +112 -0
- package/extensions/orbit/vendor/skills/advance-galaxy-draft-step/_provenance.json +218 -0
- package/extensions/orbit/vendor/skills/advance-galaxy-draft-step/_required_tools.json +33 -0
- package/extensions/orbit/vendor/skills/advance-galaxy-draft-step/_verify.json +4 -0
- package/extensions/orbit/vendor/skills/advance-galaxy-draft-step/references/cli/add.json +50 -0
- package/extensions/orbit/vendor/skills/advance-galaxy-draft-step/references/cli/draft-extract.json +51 -0
- package/extensions/orbit/vendor/skills/advance-galaxy-draft-step/references/cli/draft-next-step.json +42 -0
- package/extensions/orbit/vendor/skills/advance-galaxy-draft-step/references/cli/draft-validate.json +140 -0
- package/extensions/orbit/vendor/skills/advance-galaxy-draft-step/references/cli/list.json +32 -0
- package/extensions/orbit/vendor/skills/advance-galaxy-draft-step/references/notes/galaxy-tool-job-failure-reference.md +137 -0
- package/extensions/orbit/vendor/skills/advance-galaxy-draft-step/references/notes/open-requirements-ledger.md +173 -0
- package/extensions/orbit/vendor/skills/advance-galaxy-draft-step/references/schemas/galaxy-tool-summary.schema.json +175 -0
- package/extensions/orbit/vendor/skills/advance-galaxy-draft-step/references/schemas/galaxy-workflow-draft.schema.json +2727 -0
- package/extensions/orbit/vendor/skills/apply-galaxy-workflow-changeset/SKILL.md +82 -0
- package/extensions/orbit/vendor/skills/apply-galaxy-workflow-changeset/_provenance.json +133 -0
- package/extensions/orbit/vendor/skills/apply-galaxy-workflow-changeset/_required_tools.json +16 -0
- package/extensions/orbit/vendor/skills/apply-galaxy-workflow-changeset/_verify.json +4 -0
- package/extensions/orbit/vendor/skills/apply-galaxy-workflow-changeset/references/cli/draft-validate.json +140 -0
- package/extensions/orbit/vendor/skills/apply-galaxy-workflow-changeset/references/notes/galaxy-workflow-draft-format.md +135 -0
- package/extensions/orbit/vendor/skills/apply-galaxy-workflow-changeset/references/notes/open-requirements-ledger.md +173 -0
- package/extensions/orbit/vendor/skills/apply-galaxy-workflow-changeset/references/schemas/galaxy-workflow-draft.schema.json +2727 -0
- package/extensions/orbit/vendor/skills/changeset-to-galaxy-test-plan/SKILL.md +84 -0
- package/extensions/orbit/vendor/skills/changeset-to-galaxy-test-plan/_provenance.json +166 -0
- package/extensions/orbit/vendor/skills/changeset-to-galaxy-test-plan/_verify.json +29 -0
- package/extensions/orbit/vendor/skills/changeset-to-galaxy-test-plan/references/notes/galaxy-workflow-testability-design.md +136 -0
- package/extensions/orbit/vendor/skills/changeset-to-galaxy-test-plan/references/notes/iwc-shortcuts-anti-patterns.md +357 -0
- package/extensions/orbit/vendor/skills/changeset-to-galaxy-test-plan/references/notes/iwc-test-data-conventions.md +308 -0
- package/extensions/orbit/vendor/skills/changeset-to-galaxy-test-plan/references/notes/planemo-asserts-idioms.md +246 -0
- package/extensions/orbit/vendor/skills/changeset-to-galaxy-test-plan/references/notes/planemo-workflow-test-architecture.md +151 -0
- package/extensions/orbit/vendor/skills/changeset-to-galaxy-test-plan/references/schemas/galaxy-workflow-test-plan.schema.json +552 -0
- package/extensions/orbit/vendor/skills/changeset-to-galaxy-test-plan/references/schemas/summary-galaxy-workflow.schema.json +687 -0
- package/extensions/orbit/vendor/skills/changeset-to-galaxy-test-plan/references/schemas/tests-format.schema.json +7328 -0
- package/extensions/orbit/vendor/skills/compare-against-iwc-exemplar/SKILL.md +127 -0
- package/extensions/orbit/vendor/skills/compare-against-iwc-exemplar/_provenance.json +198 -0
- package/extensions/orbit/vendor/skills/compare-against-iwc-exemplar/_required_tools.json +16 -0
- package/extensions/orbit/vendor/skills/compare-against-iwc-exemplar/_verify.json +4 -0
- package/extensions/orbit/vendor/skills/compare-against-iwc-exemplar/references/cli/convert.json +123 -0
- package/extensions/orbit/vendor/skills/compare-against-iwc-exemplar/references/notes/galaxy-data-flow-draft-contract.md +129 -0
- package/extensions/orbit/vendor/skills/compare-against-iwc-exemplar/references/notes/iwc-shortcuts-anti-patterns.md +357 -0
- package/extensions/orbit/vendor/skills/compare-against-iwc-exemplar/references/notes/iwc-test-data-conventions.md +308 -0
- package/extensions/orbit/vendor/skills/compare-against-iwc-exemplar/references/notes/open-requirements-ledger.md +173 -0
- package/extensions/orbit/vendor/skills/debug-galaxy-workflow-output/SKILL.md +73 -0
- package/extensions/orbit/vendor/skills/debug-galaxy-workflow-output/_provenance.json +160 -0
- package/extensions/orbit/vendor/skills/debug-galaxy-workflow-output/_verify.json +4 -0
- package/extensions/orbit/vendor/skills/debug-galaxy-workflow-output/references/notes/galaxy-collection-semantics.md +43 -0
- package/extensions/orbit/vendor/skills/debug-galaxy-workflow-output/references/notes/galaxy-collection-semantics.yml +1250 -0
- package/extensions/orbit/vendor/skills/debug-galaxy-workflow-output/references/notes/galaxy-tool-job-failure-reference.md +137 -0
- package/extensions/orbit/vendor/skills/debug-galaxy-workflow-output/references/notes/galaxy-workflow-invocation-failure-reference.md +138 -0
- package/extensions/orbit/vendor/skills/debug-galaxy-workflow-output/references/notes/iwc-shortcuts-anti-patterns.md +357 -0
- package/extensions/orbit/vendor/skills/debug-galaxy-workflow-output/references/notes/nextflow-operators-to-galaxy-collection-recipes.md +98 -0
- package/extensions/orbit/vendor/skills/debug-galaxy-workflow-output/references/notes/planemo-asserts-idioms.md +246 -0
- package/extensions/orbit/vendor/skills/debug-galaxy-workflow-output/references/notes/planemo-workflow-test-architecture.md +151 -0
- package/extensions/orbit/vendor/skills/discover-shed-tool/SKILL.md +174 -0
- package/extensions/orbit/vendor/skills/discover-shed-tool/_provenance.json +130 -0
- package/extensions/orbit/vendor/skills/discover-shed-tool/_required_tools.json +18 -0
- package/extensions/orbit/vendor/skills/discover-shed-tool/_verify.json +17 -0
- package/extensions/orbit/vendor/skills/discover-shed-tool/references/cli/tool-revisions.json +48 -0
- package/extensions/orbit/vendor/skills/discover-shed-tool/references/cli/tool-search.json +95 -0
- package/extensions/orbit/vendor/skills/discover-shed-tool/references/cli/tool-versions.json +39 -0
- package/extensions/orbit/vendor/skills/discover-shed-tool/references/notes/component-tool-shed-search.md +230 -0
- package/extensions/orbit/vendor/skills/discover-shed-tool/references/schemas/galaxy-tool-discovery.schema.json +231 -0
- package/extensions/orbit/vendor/skills/implement-galaxy-workflow-test/SKILL.md +93 -0
- package/extensions/orbit/vendor/skills/implement-galaxy-workflow-test/_provenance.json +201 -0
- package/extensions/orbit/vendor/skills/implement-galaxy-workflow-test/_required_tools.json +28 -0
- package/extensions/orbit/vendor/skills/implement-galaxy-workflow-test/_verify.json +17 -0
- package/extensions/orbit/vendor/skills/implement-galaxy-workflow-test/references/cli/planemo.md +44 -0
- package/extensions/orbit/vendor/skills/implement-galaxy-workflow-test/references/cli/validate-tests.json +40 -0
- package/extensions/orbit/vendor/skills/implement-galaxy-workflow-test/references/notes/galaxy-workflow-testability-design.md +136 -0
- package/extensions/orbit/vendor/skills/implement-galaxy-workflow-test/references/notes/iwc-shortcuts-anti-patterns.md +357 -0
- package/extensions/orbit/vendor/skills/implement-galaxy-workflow-test/references/notes/iwc-test-data-conventions.md +308 -0
- package/extensions/orbit/vendor/skills/implement-galaxy-workflow-test/references/notes/planemo-asserts-idioms.md +246 -0
- package/extensions/orbit/vendor/skills/implement-galaxy-workflow-test/references/notes/planemo-workflow-test-architecture.md +151 -0
- package/extensions/orbit/vendor/skills/implement-galaxy-workflow-test/references/schemas/galaxy-workflow-test-plan.schema.json +552 -0
- package/extensions/orbit/vendor/skills/implement-galaxy-workflow-test/references/schemas/tests-format.schema.json +7328 -0
- package/extensions/orbit/vendor/skills/interview-to-galaxy-workflow-changeset/SKILL.md +81 -0
- package/extensions/orbit/vendor/skills/interview-to-galaxy-workflow-changeset/_provenance.json +93 -0
- package/extensions/orbit/vendor/skills/interview-to-galaxy-workflow-changeset/_verify.json +17 -0
- package/extensions/orbit/vendor/skills/interview-to-galaxy-workflow-changeset/references/notes/open-requirements-ledger.md +173 -0
- package/extensions/orbit/vendor/skills/interview-to-galaxy-workflow-changeset/references/schemas/summary-galaxy-workflow.schema.json +687 -0
- package/extensions/orbit/vendor/skills/pipeline-update-interview-to-galaxy/SKILL.md +81 -0
- package/extensions/orbit/vendor/skills/pipeline-update-interview-to-galaxy/_assembly.json +23 -0
- package/extensions/orbit/vendor/skills/run-workflow-test/SKILL.md +79 -0
- package/extensions/orbit/vendor/skills/run-workflow-test/_provenance.json +125 -0
- package/extensions/orbit/vendor/skills/run-workflow-test/_required_tools.json +28 -0
- package/extensions/orbit/vendor/skills/run-workflow-test/_verify.json +4 -0
- package/extensions/orbit/vendor/skills/run-workflow-test/references/cli/planemo.md +44 -0
- package/extensions/orbit/vendor/skills/run-workflow-test/references/cli/validate-tests.json +40 -0
- package/extensions/orbit/vendor/skills/run-workflow-test/references/notes/galaxy-workflow-invocation-failure-reference.md +138 -0
- package/extensions/orbit/vendor/skills/run-workflow-test/references/notes/planemo-asserts-idioms.md +246 -0
- package/extensions/orbit/vendor/skills/run-workflow-test/references/notes/planemo-workflow-test-architecture.md +151 -0
- package/extensions/orbit/vendor/skills/run-workflow-test/references/schemas/tests-format.schema.json +7328 -0
- package/extensions/orbit/vendor/skills/skills/LICENSE +21 -0
- package/extensions/orbit/vendor/skills/skills/collection-manipulation/README.md +39 -0
- package/extensions/orbit/vendor/skills/skills/collection-manipulation/SKILL.md +892 -0
- package/extensions/orbit/vendor/skills/skills/collection-manipulation/references/api-patterns.md +927 -0
- package/extensions/orbit/vendor/skills/skills/collection-manipulation/references/apply-rules.md +1482 -0
- package/extensions/orbit/vendor/skills/skills/collection-manipulation/references/test-patterns.md +996 -0
- package/extensions/orbit/vendor/skills/skills/collection-manipulation/references/tools.md +609 -0
- package/extensions/orbit/vendor/skills/skills/galaxy-data-libraries/SKILL.md +170 -0
- package/extensions/orbit/vendor/skills/skills/galaxy-integration/README.md +162 -0
- package/extensions/orbit/vendor/skills/skills/galaxy-integration/SKILL.md +99 -0
- package/extensions/orbit/vendor/skills/skills/galaxy-integration/examples/README.md +119 -0
- package/extensions/orbit/vendor/skills/skills/galaxy-integration/examples/tool-checking.md +419 -0
- package/extensions/orbit/vendor/skills/skills/galaxy-integration/examples/workflow-testing.md +617 -0
- package/extensions/orbit/vendor/skills/skills/galaxy-integration/galaxy-integration.md +614 -0
- package/extensions/orbit/vendor/skills/skills/galaxy-integration/jupyterlite/SKILL.md +144 -0
- package/extensions/orbit/vendor/skills/skills/galaxy-integration/jupyterlite/examples/average_col3.ipynb +68 -0
- package/extensions/orbit/vendor/skills/skills/galaxy-integration/jupyterlite/examples/extract_sample_metadata.ipynb +190 -0
- package/extensions/orbit/vendor/skills/skills/galaxy-integration/jupyterlite/examples/variant_annotation.ipynb +816 -0
- package/extensions/orbit/vendor/skills/skills/galaxy-integration/jupyterlite/examples/vcp_variant_map.ipynb +443 -0
- package/extensions/orbit/vendor/skills/skills/galaxy-integration/scripts/README.md +165 -0
- package/extensions/orbit/vendor/skills/skills/galaxy-integration/scripts/galaxy_tool_checker.py +521 -0
- package/extensions/orbit/vendor/skills/skills/galaxy-mcp-reference/SKILL.md +128 -0
- package/extensions/orbit/vendor/skills/skills/galaxy-mcp-reference/gotchas.md +135 -0
- package/extensions/orbit/vendor/skills/skills/galaxy-mcp-reference/history-access.md +132 -0
- package/extensions/orbit/vendor/skills/skills/reproduciblify/SKILL.md +146 -0
- package/extensions/orbit/vendor/skills/skills/reproduciblify/references/directives.yml +496 -0
- package/extensions/orbit/vendor/skills/skills/udt-authoring/SKILL.md +245 -0
- package/extensions/orbit/vendor/skills/skills/udt-authoring/examples/01-minimal-echo.yml +27 -0
- package/extensions/orbit/vendor/skills/skills/udt-authoring/examples/02-single-data-in-out.yml +27 -0
- package/extensions/orbit/vendor/skills/skills/udt-authoring/examples/03-multiple-data-js.yml +28 -0
- package/extensions/orbit/vendor/skills/skills/udt-authoring/examples/04-select-integer-boolean.yml +41 -0
- package/extensions/orbit/vendor/skills/skills/udt-authoring/examples/05-resource-requirements.yml +25 -0
- package/extensions/orbit/vendor/skills/skills/udt-authoring/examples/06-biocontainer-tool.yml +38 -0
- package/extensions/orbit/vendor/skills/skills/udt-authoring/examples/07-inline-python-script.yml +56 -0
- package/extensions/orbit/vendor/skills/skills/udt-authoring/examples/08-configfile-script.yml +74 -0
- package/extensions/orbit/vendor/skills/skills/udt-authoring/references/common-mistakes.md +76 -0
- package/extensions/orbit/vendor/skills/skills/udt-authoring/references/schema-reference.md +155 -0
- package/extensions/orbit/vendor/skills/skills/udt-authoring/references/templating.md +196 -0
- package/extensions/orbit/vendor/skills/skills/udt-authoring/scripts/validate.py +109 -0
- package/extensions/orbit/vendor/skills/skills/workflow-reports/README.md +71 -0
- package/extensions/orbit/vendor/skills/skills/workflow-reports/SKILL.md +190 -0
- package/extensions/orbit/vendor/skills/skills/workflow-reports/examples/histology-staining.md +145 -0
- package/extensions/orbit/vendor/skills/skills/workflow-reports/examples/tissue-microarray-analysis.md +176 -0
- package/extensions/orbit/vendor/skills/skills/workflow-reports/references/directives.md +415 -0
- package/extensions/orbit/vendor/skills/summarize-galaxy-workflow/SKILL.md +98 -0
- package/extensions/orbit/vendor/skills/summarize-galaxy-workflow/_provenance.json +93 -0
- package/extensions/orbit/vendor/skills/summarize-galaxy-workflow/_required_tools.json +28 -0
- package/extensions/orbit/vendor/skills/summarize-galaxy-workflow/_verify.json +17 -0
- package/extensions/orbit/vendor/skills/summarize-galaxy-workflow/references/cli/convert.json +123 -0
- package/extensions/orbit/vendor/skills/summarize-galaxy-workflow/references/cli/foundry.md +25 -0
- package/extensions/orbit/vendor/skills/summarize-galaxy-workflow/references/cli/validate.json +142 -0
- package/extensions/orbit/vendor/skills/summarize-galaxy-workflow/references/schemas/summary-galaxy-workflow.schema.json +687 -0
- package/extensions/orbit/vendor/skills/validate-galaxy-workflow/SKILL.md +74 -0
- package/extensions/orbit/vendor/skills/validate-galaxy-workflow/_provenance.json +71 -0
- package/extensions/orbit/vendor/skills/validate-galaxy-workflow/_required_tools.json +16 -0
- package/extensions/orbit/vendor/skills/validate-galaxy-workflow/_verify.json +4 -0
- package/extensions/orbit/vendor/skills/validate-galaxy-workflow/references/cli/validate.json +142 -0
- package/extensions/orbit/vendor/skills/validate-galaxy-workflow/references/notes/galaxy-workflow-invocation-failure-reference.md +138 -0
- package/extensions/orbit/vendor/skills/validate-galaxy-workflow/references/notes/galaxy-workflow-testability-design.md +136 -0
- package/extensions/orbit/vendor-skills.ts +283 -0
- package/extensions/orbit/workspace-state-dir.ts +46 -0
- package/extensions/orbit-handoff/index.ts +73 -0
- package/extensions/orbit-handoff/orbit-launcher.ts +142 -0
- package/extensions/whats-new/index.ts +98 -0
- package/lessons/LICENSE +17 -0
- package/lessons/README.md +117 -0
- package/lessons/SCHEMA.md +187 -0
- package/lessons/build-snapshot.mjs +311 -0
- package/lessons/data/downloaded-file-is-not-what-its-extension-says.md +61 -0
- package/lessons/galaxy-api/403-history-is-a-hard-stop.md +57 -0
- package/lessons/galaxy-api/collection-into-single-dataset-input.md +61 -0
- package/lessons/galaxy-api/connectedvalue-in-command-line.md +62 -0
- package/lessons/galaxy-api/hid-is-not-an-id.md +59 -0
- package/lessons/galaxy-api/invoke-workflow-inputs-not-params.md +60 -0
- package/lessons/galaxy-api/repeat-param-pipe-keys.md +63 -0
- package/lessons/galaxy-api/run-tool-returns-on-submit.md +61 -0
- package/lessons/galaxy-tools/reference-index-not-on-server.md +62 -0
- package/lessons/log.md +42 -0
- package/lessons/reproduction/input-population-mismatch.md +59 -0
- package/lessons/reproduction/methods-text-vs-executed-parameters.md +62 -0
- package/lessons/snapshot.json +1004 -0
- package/lessons/stats/de-contrast-direction-and-sample-labels.md +63 -0
- package/lessons/stats/na-coerced-to-zero-in-filters.md +59 -0
- package/lessons/validate.mjs +1219 -0
- package/package.json +103 -5
- package/shared/agent-prompt.d.ts +8 -0
- package/shared/agent-prompt.js +15 -0
- package/shared/approval-prompt.d.ts +4 -0
- package/shared/approval-prompt.js +61 -0
- package/shared/brain-env.d.ts +14 -0
- package/shared/brain-env.js +108 -0
- package/shared/brain-exit.d.ts +20 -0
- package/shared/brain-exit.js +149 -0
- package/shared/capability-profile.d.ts +16 -0
- package/shared/capability-profile.js +75 -0
- package/shared/config-source.d.ts +13 -0
- package/shared/config-source.js +17 -0
- package/shared/confusables.d.ts +3 -0
- package/shared/confusables.js +93 -0
- package/shared/custom-provider.d.ts +45 -0
- package/shared/custom-provider.js +169 -0
- package/shared/dashboard-contract.d.ts +123 -0
- package/shared/dashboard-contract.js +560 -0
- package/shared/dashboard-layout-store.d.ts +44 -0
- package/shared/dashboard-layout-store.js +281 -0
- package/shared/feedback-contract.d.ts +61 -0
- package/shared/feedback-contract.js +146 -0
- package/shared/galaxy-artifact-links.d.ts +30 -0
- package/shared/galaxy-artifact-links.js +166 -0
- package/shared/galaxy-credentials.d.ts +26 -0
- package/shared/galaxy-credentials.js +71 -0
- package/shared/galaxy-destructive.d.ts +21 -0
- package/shared/galaxy-destructive.js +269 -0
- package/shared/galaxy-guidance.d.ts +2 -0
- package/shared/galaxy-guidance.js +53 -0
- package/shared/galaxy-live-contract.d.ts +92 -0
- package/shared/galaxy-live-contract.js +180 -0
- package/shared/galaxy-page-cells.d.ts +2 -0
- package/shared/galaxy-page-cells.js +22 -0
- package/shared/galaxy-tool-family.d.ts +5 -0
- package/shared/galaxy-tool-family.js +27 -0
- package/shared/galaxy-url.d.ts +1 -0
- package/shared/galaxy-url.js +48 -0
- package/shared/gtn.d.ts +31 -0
- package/shared/gtn.js +253 -0
- package/shared/handled-prompt.d.ts +3 -0
- package/shared/handled-prompt.js +26 -0
- package/shared/known-provider.d.ts +11 -0
- package/shared/known-provider.js +89 -0
- package/shared/lesson-hint-marker.d.ts +7 -0
- package/shared/lesson-hint-marker.js +32 -0
- package/shared/lesson-rules.d.ts +150 -0
- package/shared/lesson-rules.js +203 -0
- package/shared/malformed-object-ids.d.ts +1 -0
- package/shared/malformed-object-ids.js +37 -0
- package/shared/markdown-sections.d.ts +10 -0
- package/shared/markdown-sections.js +118 -0
- package/shared/notebook-fences.d.ts +12 -0
- package/shared/notebook-fences.js +53 -0
- package/shared/observation-contract.d.ts +91 -0
- package/shared/observation-contract.js +544 -0
- package/shared/orbit-config.d.ts +226 -0
- package/shared/orbit-config.js +189 -0
- package/shared/orbit-env.d.ts +13 -0
- package/shared/orbit-env.js +124 -0
- package/shared/orbit-shell-contract.d.ts +74 -0
- package/shared/orbit-shell-contract.js +30 -0
- package/shared/page-content-hash.d.ts +1 -0
- package/shared/page-content-hash.js +13 -0
- package/shared/pi-default-model.d.ts +7 -0
- package/shared/pi-default-model.js +41 -0
- package/shared/prompt-blocks.d.ts +87 -0
- package/shared/prompt-blocks.js +898 -0
- package/shared/provider-auth-caps.d.ts +22 -0
- package/shared/provider-auth-caps.js +57 -0
- package/shared/random.d.ts +2 -0
- package/shared/random.js +15 -0
- package/shared/record-excerpt.d.ts +4 -0
- package/shared/record-excerpt.js +16 -0
- package/shared/redirect-guard.d.ts +36 -0
- package/shared/redirect-guard.js +235 -0
- package/shared/skills-pin.d.ts +8 -0
- package/shared/skills-pin.js +9 -0
- package/shared/skills-router.d.ts +17 -0
- package/shared/skills-router.js +63 -0
- package/shared/sra-import.d.ts +34 -0
- package/shared/sra-import.js +206 -0
- package/shared/state-dir.d.ts +21 -0
- package/shared/state-dir.js +240 -0
- package/shared/team-dispatch-contract.d.ts +28 -0
- package/shared/team-dispatch-contract.js +1 -0
- package/shared/truncate-middle.d.ts +11 -0
- package/shared/truncate-middle.js +68 -0
- package/shared/version-compare.d.ts +10 -0
- package/shared/version-compare.js +74 -0
- package/shared/whats-new.d.ts +31 -0
- package/shared/whats-new.js +83 -0
- package/shared/wsl.d.ts +10 -0
- package/shared/wsl.js +24 -0
|
@@ -0,0 +1,415 @@
|
|
|
1
|
+
# Galaxy Markdown Directive Reference
|
|
2
|
+
|
|
3
|
+
Generated from `directives.yml` by `scripts/markdown_directives_doc.py` (`make client-gen-markdown-directives`). Do not edit by hand.
|
|
4
|
+
|
|
5
|
+
## Syntax
|
|
6
|
+
|
|
7
|
+
**Block** — works for every directive; required in workflow report templates:
|
|
8
|
+
|
|
9
|
+
````
|
|
10
|
+
```galaxy
|
|
11
|
+
directive_name(arg=value)
|
|
12
|
+
```
|
|
13
|
+
````
|
|
14
|
+
|
|
15
|
+
One directive per fenced `galaxy` block. **Inline** (`${galaxy ...}`) works only for the [embeddable directives](#embeddable-directives).
|
|
16
|
+
|
|
17
|
+
## Argument value types
|
|
18
|
+
|
|
19
|
+
| Type | Meaning |
|
|
20
|
+
| --------- | ------------------------------------------------------------------- |
|
|
21
|
+
| `label` | Workflow input/output/step label; resolved to an ID per invocation. |
|
|
22
|
+
| `id` | Encoded (export) or numeric (internal) object ID. |
|
|
23
|
+
| `int` | Integer. |
|
|
24
|
+
| `boolean` | `true` or `false`. |
|
|
25
|
+
| `enum` | One of a fixed set of values. |
|
|
26
|
+
| `string` | Free display text. |
|
|
27
|
+
| `path` | File within a composite / extra-files dataset. |
|
|
28
|
+
|
|
29
|
+
## Addressing contexts
|
|
30
|
+
|
|
31
|
+
The same directive accepts different parameters depending on how the object is referenced:
|
|
32
|
+
|
|
33
|
+
| Context | Use |
|
|
34
|
+
| ------------ | --------------------------------------------------------- |
|
|
35
|
+
| `report` | Workflow report template — labels resolve per invocation. |
|
|
36
|
+
| `page` | Page / direct contexts — encoded or numeric IDs. |
|
|
37
|
+
| `notebook` | History-relative reference (notebooks). |
|
|
38
|
+
| `invocation` | Invocation reference — usually injected automatically. |
|
|
39
|
+
|
|
40
|
+
## Universal argument
|
|
41
|
+
|
|
42
|
+
`collapse="<link text>"` — wraps a block directive in a collapsible section. Valid on every directive.
|
|
43
|
+
|
|
44
|
+
---
|
|
45
|
+
|
|
46
|
+
## Dataset directives
|
|
47
|
+
|
|
48
|
+
| Directive | Embed | Requires | Renders |
|
|
49
|
+
| -------------------------- | ----- | -------------------- | ----------------------------------------------------------- |
|
|
50
|
+
| `history_dataset_display` | | `history_dataset_id` | Interactive dataset card with view/import/download options. |
|
|
51
|
+
| `history_dataset_as_image` | ✅ | `history_dataset_id` | Dataset embedded as an image. |
|
|
52
|
+
| `history_dataset_index` | | `history_dataset_id` | File/folder listing of a composite dataset. |
|
|
53
|
+
| `history_dataset_embedded` | | `history_dataset_id` | Raw dataset content inline. |
|
|
54
|
+
| `history_dataset_as_table` | | `history_dataset_id` | Tabular dataset as a formatted table. |
|
|
55
|
+
| `history_dataset_type` | ✅ | `history_dataset_id` | Datatype string as text. |
|
|
56
|
+
| `history_dataset_link` | | `history_dataset_id` | Download link for a dataset. |
|
|
57
|
+
| `history_dataset_name` | ✅ | `history_dataset_id` | Dataset name as text. |
|
|
58
|
+
| `history_dataset_peek` | | `history_dataset_id` | Dataset "peek" preview. |
|
|
59
|
+
| `history_dataset_info` | | `history_dataset_id` | Dataset "info" metadata. |
|
|
60
|
+
|
|
61
|
+
### `history_dataset_display`
|
|
62
|
+
|
|
63
|
+
Display a dataset and relevant options for viewing, importing, downloading,
|
|
64
|
+
and visualization in the resulting document. To embed a dataset directly
|
|
65
|
+
into the document use the "history_dataset_embedded" / "Embedded Dataset"
|
|
66
|
+
directive.
|
|
67
|
+
|
|
68
|
+
| Parameter | Type | Context | Default | Description |
|
|
69
|
+
| -------------------- | ------- | ------------ | ------- | ------------------------------------------------------------------ |
|
|
70
|
+
| `output` | `label` | `report` | | Workflow output label, resolved per invocation (report templates). |
|
|
71
|
+
| `input` | `label` | `report` | | Workflow input label, resolved per invocation (report templates). |
|
|
72
|
+
| `hid` | `int` | `notebook` | | History item hid. |
|
|
73
|
+
| `history_dataset_id` | `id` | `page` | | Encoded (export) or numeric (internal) dataset ID. |
|
|
74
|
+
| `invocation_id` | `id` | `invocation` | | Invocation ID; usually injected automatically during resolution. |
|
|
75
|
+
|
|
76
|
+
### `history_dataset_as_image`
|
|
77
|
+
|
|
78
|
+
Embed a dataset in the resulting document as an image. This only works for simple image
|
|
79
|
+
types. This can be used to present graphs and other visual summaries of an analysis into
|
|
80
|
+
a Galaxy Markdown document summary.
|
|
81
|
+
|
|
82
|
+
| Parameter | Type | Context | Default | Description |
|
|
83
|
+
| -------------------- | ------- | ------------ | ------- | ------------------------------------------------------------------ |
|
|
84
|
+
| `output` | `label` | `report` | | Workflow output label, resolved per invocation (report templates). |
|
|
85
|
+
| `input` | `label` | `report` | | Workflow input label, resolved per invocation (report templates). |
|
|
86
|
+
| `hid` | `int` | `notebook` | | History item hid. |
|
|
87
|
+
| `history_dataset_id` | `id` | `page` | | Encoded (export) or numeric (internal) dataset ID. |
|
|
88
|
+
| `invocation_id` | `id` | `invocation` | | Invocation ID; usually injected automatically during resolution. |
|
|
89
|
+
| `path` | `path` | | | File within a composite / extra-files dataset. |
|
|
90
|
+
|
|
91
|
+
### `history_dataset_index`
|
|
92
|
+
|
|
93
|
+
For Galaxy composite datasets (datasets that consist on multiple files), this option will
|
|
94
|
+
display the contents of the composite dataset as files and folders in the resulting document.
|
|
95
|
+
|
|
96
|
+
| Parameter | Type | Context | Default | Description |
|
|
97
|
+
| -------------------- | ------- | ------------ | ------- | ------------------------------------------------------------------ |
|
|
98
|
+
| `output` | `label` | `report` | | Workflow output label, resolved per invocation (report templates). |
|
|
99
|
+
| `input` | `label` | `report` | | Workflow input label, resolved per invocation (report templates). |
|
|
100
|
+
| `hid` | `int` | `notebook` | | History item hid. |
|
|
101
|
+
| `history_dataset_id` | `id` | `page` | | Encoded (export) or numeric (internal) dataset ID. |
|
|
102
|
+
| `invocation_id` | `id` | `invocation` | | Invocation ID; usually injected automatically during resolution. |
|
|
103
|
+
| `path` | `path` | | | File within a composite / extra-files dataset. |
|
|
104
|
+
|
|
105
|
+
### `history_dataset_embedded`
|
|
106
|
+
|
|
107
|
+
| Parameter | Type | Context | Default | Description |
|
|
108
|
+
| -------------------- | ------- | ------------ | ------- | ------------------------------------------------------------------ |
|
|
109
|
+
| `output` | `label` | `report` | | Workflow output label, resolved per invocation (report templates). |
|
|
110
|
+
| `input` | `label` | `report` | | Workflow input label, resolved per invocation (report templates). |
|
|
111
|
+
| `hid` | `int` | `notebook` | | History item hid. |
|
|
112
|
+
| `history_dataset_id` | `id` | `page` | | Encoded (export) or numeric (internal) dataset ID. |
|
|
113
|
+
| `invocation_id` | `id` | `invocation` | | Invocation ID; usually injected automatically during resolution. |
|
|
114
|
+
|
|
115
|
+
### `history_dataset_as_table`
|
|
116
|
+
|
|
117
|
+
Embed a dataset in the resulting document as a table. This only works for datasets with tabular
|
|
118
|
+
datatypes. This command works a lot like "history_dataset_embedded" but provides specialized options
|
|
119
|
+
for controlling the way tabular data is displayed in the resulting document.
|
|
120
|
+
|
|
121
|
+
| Parameter | Type | Context | Default | Description |
|
|
122
|
+
| --------------------- | --------- | ------------ | ------- | ------------------------------------------------------------------ |
|
|
123
|
+
| `output` | `label` | `report` | | Workflow output label, resolved per invocation (report templates). |
|
|
124
|
+
| `input` | `label` | `report` | | Workflow input label, resolved per invocation (report templates). |
|
|
125
|
+
| `hid` | `int` | `notebook` | | History item hid. |
|
|
126
|
+
| `history_dataset_id` | `id` | `page` | | Encoded (export) or numeric (internal) dataset ID. |
|
|
127
|
+
| `invocation_id` | `id` | `invocation` | | Invocation ID; usually injected automatically during resolution. |
|
|
128
|
+
| `title` | `string` | | | Table title. |
|
|
129
|
+
| `footer` | `string` | | | Table footer. |
|
|
130
|
+
| `compact` | `boolean` | | `false` | Compact row height. |
|
|
131
|
+
| `show_column_headers` | `boolean` | | `true` | Show column headers. |
|
|
132
|
+
| `path` | `path` | | | File within a composite / extra-files dataset. |
|
|
133
|
+
|
|
134
|
+
### `history_dataset_type`
|
|
135
|
+
|
|
136
|
+
| Parameter | Type | Context | Default | Description |
|
|
137
|
+
| -------------------- | ------- | ------------ | ------- | ------------------------------------------------------------------ |
|
|
138
|
+
| `output` | `label` | `report` | | Workflow output label, resolved per invocation (report templates). |
|
|
139
|
+
| `input` | `label` | `report` | | Workflow input label, resolved per invocation (report templates). |
|
|
140
|
+
| `hid` | `int` | `notebook` | | History item hid. |
|
|
141
|
+
| `history_dataset_id` | `id` | `page` | | Encoded (export) or numeric (internal) dataset ID. |
|
|
142
|
+
| `invocation_id` | `id` | `invocation` | | Invocation ID; usually injected automatically during resolution. |
|
|
143
|
+
|
|
144
|
+
### `history_dataset_link`
|
|
145
|
+
|
|
146
|
+
| Parameter | Type | Context | Default | Description |
|
|
147
|
+
| -------------------- | -------- | ------------ | ------- | ------------------------------------------------------------------ |
|
|
148
|
+
| `output` | `label` | `report` | | Workflow output label, resolved per invocation (report templates). |
|
|
149
|
+
| `input` | `label` | `report` | | Workflow input label, resolved per invocation (report templates). |
|
|
150
|
+
| `hid` | `int` | `notebook` | | History item hid. |
|
|
151
|
+
| `history_dataset_id` | `id` | `page` | | Encoded (export) or numeric (internal) dataset ID. |
|
|
152
|
+
| `invocation_id` | `id` | `invocation` | | Invocation ID; usually injected automatically during resolution. |
|
|
153
|
+
| `label` | `string` | | | Link text. |
|
|
154
|
+
| `path` | `path` | | | File within a composite / extra-files dataset. |
|
|
155
|
+
|
|
156
|
+
### `history_dataset_name`
|
|
157
|
+
|
|
158
|
+
| Parameter | Type | Context | Default | Description |
|
|
159
|
+
| -------------------- | ------- | ------------ | ------- | ------------------------------------------------------------------ |
|
|
160
|
+
| `output` | `label` | `report` | | Workflow output label, resolved per invocation (report templates). |
|
|
161
|
+
| `input` | `label` | `report` | | Workflow input label, resolved per invocation (report templates). |
|
|
162
|
+
| `hid` | `int` | `notebook` | | History item hid. |
|
|
163
|
+
| `history_dataset_id` | `id` | `page` | | Encoded (export) or numeric (internal) dataset ID. |
|
|
164
|
+
| `invocation_id` | `id` | `invocation` | | Invocation ID; usually injected automatically during resolution. |
|
|
165
|
+
|
|
166
|
+
### `history_dataset_peek`
|
|
167
|
+
|
|
168
|
+
Display a dataset metadata's "peek" field in the resulting document - this is datatype dependent
|
|
169
|
+
metadata but usually this is a few lines from the start of a file.
|
|
170
|
+
|
|
171
|
+
| Parameter | Type | Context | Default | Description |
|
|
172
|
+
| -------------------- | ------- | ------------ | ------- | ------------------------------------------------------------------ |
|
|
173
|
+
| `output` | `label` | `report` | | Workflow output label, resolved per invocation (report templates). |
|
|
174
|
+
| `input` | `label` | `report` | | Workflow input label, resolved per invocation (report templates). |
|
|
175
|
+
| `hid` | `int` | `notebook` | | History item hid. |
|
|
176
|
+
| `history_dataset_id` | `id` | `page` | | Encoded (export) or numeric (internal) dataset ID. |
|
|
177
|
+
| `invocation_id` | `id` | `invocation` | | Invocation ID; usually injected automatically during resolution. |
|
|
178
|
+
|
|
179
|
+
### `history_dataset_info`
|
|
180
|
+
|
|
181
|
+
Display a dataset metadata's "info" field in the resulting document. This info field is
|
|
182
|
+
usually based on the output of the tool run and sometimes contains useful metadata about a
|
|
183
|
+
dataset.
|
|
184
|
+
|
|
185
|
+
| Parameter | Type | Context | Default | Description |
|
|
186
|
+
| -------------------- | ------- | ------------ | ------- | ------------------------------------------------------------------ |
|
|
187
|
+
| `output` | `label` | `report` | | Workflow output label, resolved per invocation (report templates). |
|
|
188
|
+
| `input` | `label` | `report` | | Workflow input label, resolved per invocation (report templates). |
|
|
189
|
+
| `hid` | `int` | `notebook` | | History item hid. |
|
|
190
|
+
| `history_dataset_id` | `id` | `page` | | Encoded (export) or numeric (internal) dataset ID. |
|
|
191
|
+
| `invocation_id` | `id` | `invocation` | | Invocation ID; usually injected automatically during resolution. |
|
|
192
|
+
|
|
193
|
+
---
|
|
194
|
+
|
|
195
|
+
## Collection directives
|
|
196
|
+
|
|
197
|
+
| Directive | Embed | Requires | Renders |
|
|
198
|
+
| ------------------------------------ | ----- | ------------------------------- | ----------------------------------------------- |
|
|
199
|
+
| `history_dataset_collection_display` | | `history_dataset_collection_id` | Collection browser for paired/list collections. |
|
|
200
|
+
|
|
201
|
+
### `history_dataset_collection_display`
|
|
202
|
+
|
|
203
|
+
Display a dataset collection and relevant options for viewing, importing, downloading
|
|
204
|
+
in the resulting document.
|
|
205
|
+
|
|
206
|
+
| Parameter | Type | Context | Default | Description |
|
|
207
|
+
| ------------------------------- | ------- | ------------ | ------- | ------------------------------------------------------------------ |
|
|
208
|
+
| `output` | `label` | `report` | | Workflow output label, resolved per invocation (report templates). |
|
|
209
|
+
| `input` | `label` | `report` | | Workflow input label, resolved per invocation (report templates). |
|
|
210
|
+
| `hid` | `int` | `notebook` | | History item hid. |
|
|
211
|
+
| `history_dataset_collection_id` | `id` | `page` | | Encoded or numeric dataset collection ID. |
|
|
212
|
+
| `invocation_id` | `id` | `invocation` | | Invocation ID; usually injected automatically during resolution. |
|
|
213
|
+
|
|
214
|
+
---
|
|
215
|
+
|
|
216
|
+
## Invocation directives
|
|
217
|
+
|
|
218
|
+
| Directive | Embed | Requires | Renders |
|
|
219
|
+
| -------------------- | ----- | --------------- | -------------------------------------- |
|
|
220
|
+
| `history_link` | | `history_id` | Link to import the referenced history. |
|
|
221
|
+
| `invocation_inputs` | | `invocation_id` | Summary of all workflow inputs. |
|
|
222
|
+
| `invocation_outputs` | | `invocation_id` | Summary of all workflow outputs. |
|
|
223
|
+
| `invocation_time` | ✅ | `invocation_id` | Invocation run timestamp. |
|
|
224
|
+
|
|
225
|
+
### `history_link`
|
|
226
|
+
|
|
227
|
+
Add a link to import the history the workflow invocation was executed in.
|
|
228
|
+
|
|
229
|
+
| Parameter | Type | Context | Default | Description |
|
|
230
|
+
| --------------- | ---- | ------------ | ------- | ---------------------------------------------------------------- |
|
|
231
|
+
| `history_id` | `id` | `page` | | Encoded or numeric history ID. |
|
|
232
|
+
| `invocation_id` | `id` | `invocation` | | Invocation ID; usually injected automatically during resolution. |
|
|
233
|
+
|
|
234
|
+
### `invocation_inputs`
|
|
235
|
+
|
|
236
|
+
| Parameter | Type | Context | Default | Description |
|
|
237
|
+
| --------------- | ---- | ------------ | ------- | ---------------------------------------------------------------- |
|
|
238
|
+
| `invocation_id` | `id` | `invocation` | | Invocation ID; usually injected automatically during resolution. |
|
|
239
|
+
|
|
240
|
+
### `invocation_outputs`
|
|
241
|
+
|
|
242
|
+
| Parameter | Type | Context | Default | Description |
|
|
243
|
+
| --------------- | ---- | ------------ | ------- | ---------------------------------------------------------------- |
|
|
244
|
+
| `invocation_id` | `id` | `invocation` | | Invocation ID; usually injected automatically during resolution. |
|
|
245
|
+
|
|
246
|
+
### `invocation_time`
|
|
247
|
+
|
|
248
|
+
Display this workflow run's invocation time in the resulting document.
|
|
249
|
+
|
|
250
|
+
| Parameter | Type | Context | Default | Description |
|
|
251
|
+
| --------------- | ---- | ------------ | ------- | ---------------------------------------------------------------- |
|
|
252
|
+
| `invocation_id` | `id` | `invocation` | | Invocation ID; usually injected automatically during resolution. |
|
|
253
|
+
|
|
254
|
+
---
|
|
255
|
+
|
|
256
|
+
## Workflow directives
|
|
257
|
+
|
|
258
|
+
| Directive | Embed | Requires | Renders |
|
|
259
|
+
| ------------------ | ----- | ------------- | -------------------------------------------- |
|
|
260
|
+
| `workflow_display` | | `workflow_id` | Step-by-step text description of a workflow. |
|
|
261
|
+
| `workflow_image` | | `workflow_id` | SVG workflow diagram. |
|
|
262
|
+
| `workflow_license` | ✅ | `workflow_id` | Workflow license information. |
|
|
263
|
+
|
|
264
|
+
### `workflow_display`
|
|
265
|
+
|
|
266
|
+
Embed a text description of this workflow's steps in the resulting document.
|
|
267
|
+
|
|
268
|
+
| Parameter | Type | Context | Default | Description |
|
|
269
|
+
| --------------------- | ----- | ------------ | ------- | ---------------------------------------------------------------- |
|
|
270
|
+
| `workflow_id` | `id` | `page` | | Stored workflow ID. |
|
|
271
|
+
| `workflow_checkpoint` | `int` | `page` | | Workflow version index. |
|
|
272
|
+
| `invocation_id` | `id` | `invocation` | | Invocation ID; usually injected automatically during resolution. |
|
|
273
|
+
|
|
274
|
+
### `workflow_image`
|
|
275
|
+
|
|
276
|
+
Embed a rough image this workflow in the resulting document.
|
|
277
|
+
|
|
278
|
+
| Parameter | Type | Context | Default | Description |
|
|
279
|
+
| --------------------- | ----------------------- | ------------ | ------- | ---------------------------------------------------------------- |
|
|
280
|
+
| `workflow_id` | `id` | `page` | | Stored workflow ID. |
|
|
281
|
+
| `workflow_checkpoint` | `int` | `page` | | Workflow version index. |
|
|
282
|
+
| `invocation_id` | `id` | `invocation` | | Invocation ID; usually injected automatically during resolution. |
|
|
283
|
+
| `size` | enum (`sm`, `md`, `lg`) | | `lg` | Image width (sm=300px, md=550px, lg=100%). |
|
|
284
|
+
|
|
285
|
+
### `workflow_license`
|
|
286
|
+
|
|
287
|
+
Display this workflow's license in the resulting document.
|
|
288
|
+
|
|
289
|
+
| Parameter | Type | Context | Default | Description |
|
|
290
|
+
| --------------- | ---- | ------------ | ------- | ---------------------------------------------------------------- |
|
|
291
|
+
| `workflow_id` | `id` | `page` | | Stored workflow ID. |
|
|
292
|
+
| `invocation_id` | `id` | `invocation` | | Invocation ID; usually injected automatically during resolution. |
|
|
293
|
+
|
|
294
|
+
---
|
|
295
|
+
|
|
296
|
+
## Job directives
|
|
297
|
+
|
|
298
|
+
| Directive | Embed | Requires | Renders |
|
|
299
|
+
| ---------------- | ----- | -------- | -------------------------------- |
|
|
300
|
+
| `job_metrics` | | `job_id` | Runtime metrics table for a job. |
|
|
301
|
+
| `job_parameters` | | `job_id` | Tool parameters table for a job. |
|
|
302
|
+
| `tool_stdout` | | `job_id` | Tool standard output for a job. |
|
|
303
|
+
| `tool_stderr` | | `job_id` | Tool standard error for a job. |
|
|
304
|
+
|
|
305
|
+
### `job_metrics`
|
|
306
|
+
|
|
307
|
+
Embed the job metrics for this job in the resulting document (if Galaxy is configured and you have
|
|
308
|
+
permission).
|
|
309
|
+
|
|
310
|
+
| Parameter | Type | Context | Default | Description |
|
|
311
|
+
| ----------------------------- | ------- | ------------ | ------- | ---------------------------------------------------------------- |
|
|
312
|
+
| `step` | `label` | `report` | | Workflow step label, resolved per invocation (report templates). |
|
|
313
|
+
| `job_id` | `id` | `page` | | Encoded or numeric job ID. |
|
|
314
|
+
| `implicit_collection_jobs_id` | `id` | `page` | | Mapped-collection job group ID. |
|
|
315
|
+
| `invocation_id` | `id` | `invocation` | | Invocation ID; usually injected automatically during resolution. |
|
|
316
|
+
|
|
317
|
+
### `job_parameters`
|
|
318
|
+
|
|
319
|
+
Embed the tool parameters for a job in the resulting document.
|
|
320
|
+
|
|
321
|
+
| Parameter | Type | Context | Default | Description |
|
|
322
|
+
| ----------------------------- | -------- | ------------ | ------- | ---------------------------------------------------------------- |
|
|
323
|
+
| `step` | `label` | `report` | | Workflow step label, resolved per invocation (report templates). |
|
|
324
|
+
| `job_id` | `id` | `page` | | Encoded or numeric job ID. |
|
|
325
|
+
| `implicit_collection_jobs_id` | `id` | `page` | | Mapped-collection job group ID. |
|
|
326
|
+
| `invocation_id` | `id` | `invocation` | | Invocation ID; usually injected automatically during resolution. |
|
|
327
|
+
| `footer` | `string` | | | Table footer. |
|
|
328
|
+
|
|
329
|
+
### `tool_stdout`
|
|
330
|
+
|
|
331
|
+
Embed the tool standard output stream for a job in the resulting document.
|
|
332
|
+
|
|
333
|
+
| Parameter | Type | Context | Default | Description |
|
|
334
|
+
| ----------------------------- | ------- | ------------ | ------- | ---------------------------------------------------------------- |
|
|
335
|
+
| `step` | `label` | `report` | | Workflow step label, resolved per invocation (report templates). |
|
|
336
|
+
| `job_id` | `id` | `page` | | Encoded or numeric job ID. |
|
|
337
|
+
| `implicit_collection_jobs_id` | `id` | `page` | | Mapped-collection job group ID. |
|
|
338
|
+
| `invocation_id` | `id` | `invocation` | | Invocation ID; usually injected automatically during resolution. |
|
|
339
|
+
|
|
340
|
+
### `tool_stderr`
|
|
341
|
+
|
|
342
|
+
Embed the tool standard error stream for a job in the resulting document.
|
|
343
|
+
|
|
344
|
+
| Parameter | Type | Context | Default | Description |
|
|
345
|
+
| ----------------------------- | ------- | ------------ | ------- | ---------------------------------------------------------------- |
|
|
346
|
+
| `step` | `label` | `report` | | Workflow step label, resolved per invocation (report templates). |
|
|
347
|
+
| `job_id` | `id` | `page` | | Encoded or numeric job ID. |
|
|
348
|
+
| `implicit_collection_jobs_id` | `id` | `page` | | Mapped-collection job group ID. |
|
|
349
|
+
| `invocation_id` | `id` | `invocation` | | Invocation ID; usually injected automatically during resolution. |
|
|
350
|
+
|
|
351
|
+
---
|
|
352
|
+
|
|
353
|
+
## Visualization directive
|
|
354
|
+
|
|
355
|
+
| Directive | Embed | Requires | Renders |
|
|
356
|
+
| --------------- | ----- | -------------------- | ---------------------------------- |
|
|
357
|
+
| `visualization` | | `history_dataset_id` | Galaxy plugin-based visualization. |
|
|
358
|
+
|
|
359
|
+
### `visualization`
|
|
360
|
+
|
|
361
|
+
Embed a Galaxy visualization in the resulting document. Accepts arguments specific to the
|
|
362
|
+
selected visualization plugin; these arguments are not validated by the Galaxy Markdown parser.
|
|
363
|
+
|
|
364
|
+
---
|
|
365
|
+
|
|
366
|
+
## Utility & instance directives
|
|
367
|
+
|
|
368
|
+
| Directive | Embed | Requires | Renders |
|
|
369
|
+
| ---------------------------- | ----- | -------- | -------------------------------------- |
|
|
370
|
+
| `generate_time` | ✅ | — | Current time at generation. |
|
|
371
|
+
| `generate_galaxy_version` | ✅ | — | Galaxy version string at generation. |
|
|
372
|
+
| `instance_access_link` | ✅ | — | Link to the Galaxy instance. |
|
|
373
|
+
| `instance_resources_link` | ✅ | — | Link to instance resources. |
|
|
374
|
+
| `instance_help_link` | ✅ | — | Link to instance help. |
|
|
375
|
+
| `instance_support_link` | ✅ | — | Link to instance support. |
|
|
376
|
+
| `instance_citation_link` | ✅ | — | Link to instance citation information. |
|
|
377
|
+
| `instance_terms_link` | ✅ | — | Link to instance terms. |
|
|
378
|
+
| `instance_organization_link` | ✅ | — | Link to the instance's organization. |
|
|
379
|
+
|
|
380
|
+
### `generate_time`
|
|
381
|
+
|
|
382
|
+
Report the current time of report generation.
|
|
383
|
+
|
|
384
|
+
Warning: This is the time the report was generated and not the time of
|
|
385
|
+
an analysis. This option makes the most sense for PDF generation of reports
|
|
386
|
+
designed for external archiving or printing.
|
|
387
|
+
|
|
388
|
+
### `generate_galaxy_version`
|
|
389
|
+
|
|
390
|
+
Report the current Galaxy version at the time report generation.
|
|
391
|
+
|
|
392
|
+
Warning: This is the Galaxy version at the time the report was generated and
|
|
393
|
+
not the time of an analysis. This option makes the most sense for PDF generation
|
|
394
|
+
of reports designed for external archiving or printing.
|
|
395
|
+
|
|
396
|
+
---
|
|
397
|
+
|
|
398
|
+
## Embeddable directives
|
|
399
|
+
|
|
400
|
+
Inline `${galaxy ...}` syntax is supported only for these directives; all others require block syntax.
|
|
401
|
+
|
|
402
|
+
- `history_dataset_as_image`
|
|
403
|
+
- `history_dataset_type`
|
|
404
|
+
- `history_dataset_name`
|
|
405
|
+
- `invocation_time`
|
|
406
|
+
- `workflow_license`
|
|
407
|
+
- `generate_time`
|
|
408
|
+
- `generate_galaxy_version`
|
|
409
|
+
- `instance_access_link`
|
|
410
|
+
- `instance_resources_link`
|
|
411
|
+
- `instance_help_link`
|
|
412
|
+
- `instance_support_link`
|
|
413
|
+
- `instance_citation_link`
|
|
414
|
+
- `instance_terms_link`
|
|
415
|
+
- `instance_organization_link`
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: summarize-galaxy-workflow
|
|
3
|
+
description: "Read an existing Galaxy gxformat2 (or .ga) workflow and emit a structured summary for interview and change-set steps."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# summarize-galaxy-workflow
|
|
7
|
+
|
|
8
|
+
Follow the procedure below and use the artifact/reference sections as the runtime contract.
|
|
9
|
+
|
|
10
|
+
## When To Use
|
|
11
|
+
|
|
12
|
+
- Read an existing Galaxy gxformat2 (or .ga) workflow and emit a structured summary for interview and change-set steps.
|
|
13
|
+
|
|
14
|
+
## Inputs
|
|
15
|
+
|
|
16
|
+
- No upstream artifact inputs declared. See the procedure for user-supplied runtime inputs.
|
|
17
|
+
|
|
18
|
+
## Outputs
|
|
19
|
+
|
|
20
|
+
- Write artifact `summary-galaxy-workflow` as `summary-galaxy-workflow.json`. Format: `json`. Schema: summary-galaxy-workflow. Structured summary of an existing Galaxy workflow: source/format provenance, inputs, outputs, per-step tool_id/version/tool_state, edge graph, and any existing tests as a regression baseline.
|
|
21
|
+
- Write artifact `starting-galaxy-workflow` as `starting-galaxy-workflow.gxwf.yml`. Format: `yaml`. The normalized concrete gxformat2 workflow this summary describes — passthrough when the input was already gxformat2, the `.ga`→gxformat2 conversion otherwise. The substrate apply-galaxy-workflow-changeset edits; distinct from the summary JSON, which is only context.
|
|
22
|
+
|
|
23
|
+
## Required Tools
|
|
24
|
+
|
|
25
|
+
- **`foundry`** (foundry). `npm install -g @galaxy-foundry/gxwf-foundry`.
|
|
26
|
+
Ephemeral run: `npx --package @galaxy-foundry/gxwf-foundry foundry`.
|
|
27
|
+
Check: `foundry --help`.
|
|
28
|
+
Docs: https://github.com/galaxyproject/foundry/blob/main/packages/gxwf-foundry/README.md
|
|
29
|
+
Bundled reference: `references/cli/foundry.md`.
|
|
30
|
+
- **`gxwf`** (gxwf). `npm install -g '@galaxy-tool-util/cli@^1.8.1'`.
|
|
31
|
+
Ephemeral run: `npx --yes --package @galaxy-tool-util/cli@1.8.1 gxwf`.
|
|
32
|
+
Check: `gxwf --help | grep -q draft-validate`.
|
|
33
|
+
Docs: https://github.com/jmchilton/galaxy-tool-util-ts/tree/main/packages/cli
|
|
34
|
+
|
|
35
|
+
## Load Upfront
|
|
36
|
+
|
|
37
|
+
- `references/cli/validate.json`: CLI command reference packaged as a sidecar. Validate the gxformat2 workflow before extraction and record diagnostics under documents.validation. Use when: before extracting structure from the workflow document.
|
|
38
|
+
- `references/cli/foundry.md`: CLI tool reference copied verbatim into the bundle. Schema-check summary-galaxy-workflow.json with `foundry validate-summary-galaxy-workflow` before returning it from the skill.
|
|
39
|
+
- `references/schemas/summary-galaxy-workflow.schema.json`: Schema file copied verbatim into the bundle. Validate the emitted Galaxy workflow summary JSON and provide downstream consumers the output contract.
|
|
40
|
+
|
|
41
|
+
## Load On Demand
|
|
42
|
+
|
|
43
|
+
- `references/cli/convert.json`: CLI command reference packaged as a sidecar. Convert a legacy `.ga` workflow to gxformat2 before summarizing, and record the conversion under documents.converted_path. Use when: the supplied workflow is native `.ga` rather than gxformat2.
|
|
44
|
+
|
|
45
|
+
## Validation
|
|
46
|
+
|
|
47
|
+
- Validate `summary-galaxy-workflow.json` before returning it: run `foundry validate-summary-galaxy-workflow summary-galaxy-workflow.json` from `@galaxy-foundry/gxwf-foundry`. If the command is not on PATH, run `npx --package @galaxy-foundry/gxwf-foundry foundry validate-summary-galaxy-workflow summary-galaxy-workflow.json`. This checks artifact `summary-galaxy-workflow` against the summary-galaxy-workflow schema.
|
|
48
|
+
|
|
49
|
+
## Procedure
|
|
50
|
+
|
|
51
|
+
Read an existing Galaxy workflow and emit `summary-galaxy-workflow.json`. This skill is source-specific and target-agnostic: it records what the workflow *is* — inputs, outputs, steps, wiring, and existing tests — and leaves every modification decision to the downstream change-set and apply skills. It mirrors summarize-cwl on the Galaxy-as-source side.
|
|
52
|
+
|
|
53
|
+
gxformat2 is already a typed workflow graph, so do not infer structure — read it. The summary is an LLM-digestible index of the existing workflow that anchors the interview and the change-set; it is **context**, not the substrate edits apply to. The substrate the edits are applied against is the normalized gxformat2 workflow file, emitted here as `starting-galaxy-workflow.gxwf.yml` and consumed by apply-galaxy-workflow-changeset — not this JSON summary. Because this skill already normalizes `.ga` to gxformat2, it is the natural carrier for that substrate: a `.ga` input's converted form would otherwise have no declared home.
|
|
54
|
+
|
|
55
|
+
### Inputs
|
|
56
|
+
|
|
57
|
+
- A local workflow path or an HTTP(S) URL. Accept both gxformat2 (`.gxwf.yml` / `.gxfmt2.yml`) and legacy native `.ga`.
|
|
58
|
+
- Optional pin/version metadata supplied by the harness or user.
|
|
59
|
+
- Optional sibling tests file (`*-tests.yml`); if none is supplied or discoverable, emit `tests: []`.
|
|
60
|
+
|
|
61
|
+
### Procedure
|
|
62
|
+
|
|
63
|
+
1. **Normalize format.** If the input is native `.ga`, convert it to gxformat2 with convert (`--to format2`) and record the output path in `documents.converted_path`. If it is already gxformat2, leave `converted_path` null. Set `source.original_format` accordingly. All downstream extraction reads the gxformat2 form. Emit this normalized gxformat2 as the `starting-galaxy-workflow.gxwf.yml` output — the substrate apply-galaxy-workflow-changeset edits, so a `.ga` input's converted form has a real carrier rather than living only inside the summary.
|
|
64
|
+
2. **Validate.** Run gxwf validate on the gxformat2 workflow and record `command`, `status`, and `diagnostics` under `documents.validation`. If invalid, still emit source provenance and diagnostics; do not invent graph structure past what parses.
|
|
65
|
+
3. **Extract the interface.** Record `workflow_inputs` (class `data` / `collection` / `parameter`, `collection_type`, optionality, defaults, format restrictions) and `workflow_outputs` (each promoted `step/output` source), preserving gxformat2 labels verbatim — those labels are the anchors the change-set will address.
|
|
66
|
+
4. **Extract steps.** For each step record its class, `tool_id`, `tool_version`, pinned `tool_shed_repository`, verbatim `tool_state`, named input connections with their upstream sources, declared outputs, and any `when:` guard. Keep `tool_state` verbatim so a later change-set can address an individual parameter. Record each declared output under `out[]` as `{id, actions}`, preserving the gxformat2 post-job actions on that output (`hide`, `rename`, `add_tags`, `remove_tags`, `change_datatype`, `delete_intermediate`, …) verbatim in `actions` — `actions: null` when the output has none. A hidden output that is not promoted to a `workflow_outputs` entry is only visible through its `hide` action here, so dropping it would blind an expose-output change-set to the very anchor it edits.
|
|
67
|
+
5. **Build the graph.** Emit workflow-input → step, step → step, and step → workflow-output edges. Add `via` markers for shape-affecting features (map-over, batch, collection reduction).
|
|
68
|
+
6. **Record tests.** When a sibling tests file or embedded tests exist, record each case's name, job path, and expected outputs as the regression baseline. Do not fabricate expected outputs from tool names.
|
|
69
|
+
7. **Schema-check.** Validate the assembled object with `foundry validate-summary-galaxy-workflow summary-galaxy-workflow.json` before returning it.
|
|
70
|
+
|
|
71
|
+
### Caveats Baked Into The Procedure
|
|
72
|
+
|
|
73
|
+
- **Labels are load-bearing.** Preserve step and input labels exactly; the change-set anchors edits to them, and a relabel here would silently break that anchoring.
|
|
74
|
+
- **`tool_state` is preserved, not interpreted.** Record it verbatim. Deciding which parameter an interview wants changed is the change-set's job, not this skill's.
|
|
75
|
+
- **Post-job actions are preserved, not interpreted.** Record each output's gxformat2 actions verbatim under `out[].actions` (`hide`, `rename`, `add_tags`, …); whether to expose a hidden output or drop a rename is the change-set's decision, not this skill's. Flattening `out` to bare names would erase that anchor.
|
|
76
|
+
- **Existing tests are the regression baseline.** Capture them faithfully; the update pipeline judges the modified workflow against them.
|
|
77
|
+
- **Conversion is lossy-aware.** If `.ga` → gxformat2 conversion drops or rewrites anything, surface it in `warnings[]` rather than presenting a clean summary.
|
|
78
|
+
|
|
79
|
+
### Non-Goals
|
|
80
|
+
|
|
81
|
+
- **Modification.** Interviewing for changes, building a change-set, and applying edits belong to interview-to-galaxy-workflow-changeset and apply-galaxy-workflow-changeset.
|
|
82
|
+
- **Tool discovery or wrapper authoring.** `tool_id` / `tool_shed_repository` are recorded as-found; resolving newly introduced tools is the per-step Galaxy loop's job.
|
|
83
|
+
- **Runtime execution.** This skill summarizes structure; run-workflow-test owns execution.
|
|
84
|
+
|
|
85
|
+
## Feedback Mode
|
|
86
|
+
|
|
87
|
+
- Feedback mode is off unless the caller explicitly enables `--feedback` or supplies a feedback-ledger path.
|
|
88
|
+
- When enabled, read `_feedback.md` before doing the work and use its registered `foundry-feedback.ledger.yml` protocol.
|
|
89
|
+
- Preserve harness-owned run and phase state. Append only concrete observations about a canonical Foundry source asset or a related project that this run showed to be at fault; do not put ordinary workflow requirements in this ledger.
|
|
90
|
+
- Before reporting completion, make one explicit pass over the work you just did. Do not ask yourself whether anything was unclear — recall what happened: where you guessed at something the instructions should have settled, needed information this bundle does not carry, hit an instruction that contradicted another or contradicted the artifacts in front of you, used a packaged reference that did not cover your case, or did something the procedure never describes.
|
|
91
|
+
- Append an entry for each such event that clears the protocol's bar. If none do, append nothing and report `no feedback` explicitly. Silence and a clean pass are not the same thing, and nothing downstream can tell them apart unless you say which one it was.
|
|
92
|
+
- Pass the same ledger path to any subagent used for this work, and merge updates serially so one writer cannot overwrite another.
|
|
93
|
+
|
|
94
|
+
## Runtime Notes
|
|
95
|
+
|
|
96
|
+
- Do not read Foundry source files at runtime; use only files packaged in this skill bundle and user-supplied artifacts.
|
|
97
|
+
- Preserve declared artifact filenames unless the user or harness supplies explicit paths.
|
|
98
|
+
- Carry unresolved assumptions into the output artifact instead of silently inventing missing source evidence.
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
{
|
|
2
|
+
"provenance_schema_version": 4,
|
|
3
|
+
"cast_target": "claude",
|
|
4
|
+
"mold": {
|
|
5
|
+
"name": "summarize-galaxy-workflow",
|
|
6
|
+
"path": "content/molds/summarize-galaxy-workflow/index.md",
|
|
7
|
+
"revision": 2,
|
|
8
|
+
"content_hash": "23b770bbbd5409a37a7a0ea457a10b2cfba21f36a6e7e892125735035ac36078",
|
|
9
|
+
"commit": "63a3f9cf9c97a637fe1628d298e524f35709e289"
|
|
10
|
+
},
|
|
11
|
+
"cast_at": "2026-09-13T20:58:30.021Z",
|
|
12
|
+
"refs": [
|
|
13
|
+
{
|
|
14
|
+
"kind": "cli-command",
|
|
15
|
+
"mode": "sidecar",
|
|
16
|
+
"ref": "[[convert]]",
|
|
17
|
+
"src": "content/cli/gxwf/convert.md",
|
|
18
|
+
"dst": "references/cli/convert.json",
|
|
19
|
+
"used_at": "runtime",
|
|
20
|
+
"load": "on-demand",
|
|
21
|
+
"evidence": "hypothesis",
|
|
22
|
+
"purpose": "Convert a legacy `.ga` workflow to gxformat2 before summarizing, and record the conversion under documents.converted_path.",
|
|
23
|
+
"trigger": "When the supplied workflow is native `.ga` rather than gxformat2.",
|
|
24
|
+
"verification": "Cast the skill, run on one `.ga` and one gxformat2 fixture; confirm the `.ga` case populates documents.converted_path and both summaries validate.",
|
|
25
|
+
"src_hash": "1bb19d20b4a39b1708d8f5346a0294616cdb9df83ba5255c4a90d97030d13b83",
|
|
26
|
+
"dst_hash": "1cdf49f10f77039af6efc5b82fe79720bb18e50d1f57d653670697f7262c7640",
|
|
27
|
+
"source": "deterministic"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"kind": "cli-command",
|
|
31
|
+
"mode": "sidecar",
|
|
32
|
+
"ref": "[[gxwf validate]]",
|
|
33
|
+
"src": "content/cli/gxwf/validate.md",
|
|
34
|
+
"dst": "references/cli/validate.json",
|
|
35
|
+
"used_at": "runtime",
|
|
36
|
+
"load": "upfront",
|
|
37
|
+
"evidence": "hypothesis",
|
|
38
|
+
"purpose": "Validate the gxformat2 workflow before extraction and record diagnostics under documents.validation.",
|
|
39
|
+
"trigger": "Before extracting structure from the workflow document.",
|
|
40
|
+
"verification": "Cast the skill, run on one valid and one malformed workflow; the malformed one surfaces gxwf validate diagnostics in the summary.",
|
|
41
|
+
"src_hash": "1bf4b4c50e9987f63e65ad36f6deefe6e399fe009280d4bee8533d6c451acf1e",
|
|
42
|
+
"dst_hash": "ff10c49819b0f7af13f247ea03e4dd24ba2e5144da3beaa6b1ab96698c7e03b7",
|
|
43
|
+
"source": "deterministic"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"kind": "cli-tool",
|
|
47
|
+
"mode": "verbatim",
|
|
48
|
+
"ref": "[[foundry]]",
|
|
49
|
+
"src": "content/cli/foundry/index.md",
|
|
50
|
+
"dst": "references/cli/foundry.md",
|
|
51
|
+
"used_at": "runtime",
|
|
52
|
+
"load": "upfront",
|
|
53
|
+
"evidence": "cast-validated",
|
|
54
|
+
"purpose": "Schema-check summary-galaxy-workflow.json with `foundry validate-summary-galaxy-workflow` before returning it from the skill.",
|
|
55
|
+
"src_hash": "85505b02785fea8bfb0429ac78224dfef0dce63c933140f087f7257a04e52a86",
|
|
56
|
+
"dst_hash": "85505b02785fea8bfb0429ac78224dfef0dce63c933140f087f7257a04e52a86",
|
|
57
|
+
"source": "deterministic"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"kind": "schema",
|
|
61
|
+
"mode": "verbatim",
|
|
62
|
+
"ref": "[[summary-galaxy-workflow]]",
|
|
63
|
+
"src": "package://@galaxy-foundry/gxwf-foundry#summaryGalaxyWorkflowSchema",
|
|
64
|
+
"dst": "references/schemas/summary-galaxy-workflow.schema.json",
|
|
65
|
+
"used_at": "both",
|
|
66
|
+
"load": "upfront",
|
|
67
|
+
"evidence": "cast-validated",
|
|
68
|
+
"purpose": "Validate the emitted Galaxy workflow summary JSON and provide downstream consumers the output contract.",
|
|
69
|
+
"license": "MIT",
|
|
70
|
+
"src_hash": "55831dd043243e137cae595badc7f1ecc9a84a44936c0e036c7c3f5d33978bb3",
|
|
71
|
+
"dst_hash": "55831dd043243e137cae595badc7f1ecc9a84a44936c0e036c7c3f5d33978bb3",
|
|
72
|
+
"source": "deterministic"
|
|
73
|
+
}
|
|
74
|
+
],
|
|
75
|
+
"artifacts": {
|
|
76
|
+
"produces": [
|
|
77
|
+
{
|
|
78
|
+
"id": "summary-galaxy-workflow",
|
|
79
|
+
"kind": "json",
|
|
80
|
+
"default_filename": "summary-galaxy-workflow.json",
|
|
81
|
+
"schema": "[[summary-galaxy-workflow]]",
|
|
82
|
+
"description": "Structured summary of an existing Galaxy workflow: source/format provenance, inputs, outputs, per-step tool_id/version/tool_state, edge graph, and any existing tests as a regression baseline."
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"id": "starting-galaxy-workflow",
|
|
86
|
+
"kind": "yaml",
|
|
87
|
+
"default_filename": "starting-galaxy-workflow.gxwf.yml",
|
|
88
|
+
"description": "The normalized concrete gxformat2 workflow this summary describes — passthrough when the input was already gxformat2, the `.ga`→gxformat2 conversion otherwise. The substrate [[apply-galaxy-workflow-changeset]] edits; distinct from the summary JSON, which is only context."
|
|
89
|
+
}
|
|
90
|
+
],
|
|
91
|
+
"consumes": []
|
|
92
|
+
}
|
|
93
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"tool": "foundry",
|
|
4
|
+
"origin": "npm",
|
|
5
|
+
"package": "@galaxy-foundry/gxwf-foundry",
|
|
6
|
+
"invoke": "foundry",
|
|
7
|
+
"invoke_fallback": "npx --package @galaxy-foundry/gxwf-foundry foundry",
|
|
8
|
+
"availability_check": "foundry --help",
|
|
9
|
+
"docs_url": "https://github.com/galaxyproject/foundry/blob/main/packages/gxwf-foundry/README.md",
|
|
10
|
+
"reference": "references/cli/foundry.md",
|
|
11
|
+
"source": "referenced"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"tool": "gxwf",
|
|
15
|
+
"origin": "npm",
|
|
16
|
+
"package": "@galaxy-tool-util/cli",
|
|
17
|
+
"package_version": "^1.8.1",
|
|
18
|
+
"invoke": "gxwf",
|
|
19
|
+
"invoke_fallback": "npx --yes --package @galaxy-tool-util/cli@1.8.1 gxwf",
|
|
20
|
+
"availability_check": "gxwf --help | grep -q draft-validate",
|
|
21
|
+
"docs_url": "https://github.com/jmchilton/galaxy-tool-util-ts/tree/main/packages/cli",
|
|
22
|
+
"source": "implied",
|
|
23
|
+
"implied_by": [
|
|
24
|
+
"gxwf convert",
|
|
25
|
+
"gxwf validate"
|
|
26
|
+
]
|
|
27
|
+
}
|
|
28
|
+
]
|