FILES_INDEX

Files Index: Workflow Tool State Project

Development Branches

RepoBranch/WorktreePath
Galaxywf_tool_state/Users/jxc755/projects/worktrees/galaxy/branch/wf_tool_state
gxformat2wf_state/Users/jxc755/projects/worktrees/gxformat2/branch/wf_state

Research & Planning (galaxy-brain vault)

FileContents
/Users/jxc755/projects/repositories/galaxy-brain/vault/research/Component - Workflow Format Differences.mdDeep comparison of .ga vs Format2, including tool_state vs state analysis
/Users/jxc755/projects/repositories/galaxy-brain/vault/research/Component - Tool State Specification.md12 state representations, Pydantic model architecture, test infrastructure
/Users/jxc755/projects/repositories/galaxy-brain/vault/research/PR 18524 - Add Tool-Centric APIs to Tool Shed 2.0.mdTool Shed API for serving tool schemas (ParsedTool, parameter models)
/Users/jxc755/projects/repositories/galaxy-brain/vault/projects/workflow_state/PROBLEM_AND_GOAL.mdProblem description and deliverables (this project’s issue body)
/Users/jxc755/projects/repositories/galaxy-brain/vault/projects/workflow_state/FIRST_STEPS.mdNext planning steps and unresolved questions
/Users/jxc755/projects/repositories/galaxy-brain/vault/projects/workflow_state/COMPONENT_WORKFLOW_STATE_INITIAL_WORK.mdSummary of initial branch work

Galaxy — Workflow State Validation & Conversion (new code on branch)

FileContents
/Users/jxc755/projects/worktrees/galaxy/branch/wf_tool_state/lib/galaxy/tool_util/workflow_state/__init__.pyPackage init
/Users/jxc755/projects/worktrees/galaxy/branch/wf_tool_state/lib/galaxy/tool_util/workflow_state/_types.pyGetToolInfo protocol, type aliases for step/workflow dicts
/Users/jxc755/projects/worktrees/galaxy/branch/wf_tool_state/lib/galaxy/tool_util/workflow_state/validation.pyTop-level validate_workflow() dispatcher (detects format, delegates)
/Users/jxc755/projects/worktrees/galaxy/branch/wf_tool_state/lib/galaxy/tool_util/workflow_state/validation_format2.pyFormat2 validator — state + in validation against tool models
/Users/jxc755/projects/worktrees/galaxy/branch/wf_tool_state/lib/galaxy/tool_util/workflow_state/validation_native.pyNative validator — tool_state + input_connections validation
/Users/jxc755/projects/worktrees/galaxy/branch/wf_tool_state/lib/galaxy/tool_util/workflow_state/convert.pyconvert_state_to_format2() — native→format2 state conversion

Galaxy — Format2 Abstraction Layer (new code on branch)

FileContents
/Users/jxc755/projects/worktrees/galaxy/branch/wf_tool_state/lib/galaxy/workflow/format2.pyconvert_to_format2(), convert_from_format2(), Format2ConverterGalaxyInterface
/Users/jxc755/projects/worktrees/galaxy/branch/wf_tool_state/lib/galaxy/workflow/gx_validator.pyGalaxyGetToolInfo — concrete GetToolInfo using stock tools

Galaxy — Tool State Specification Infrastructure (existing)

FileContents
/Users/jxc755/projects/worktrees/galaxy/branch/wf_tool_state/lib/galaxy/tool_util_models/parameters.pyAll parameter model classes, StateRepresentationT, DynamicModelInformation
/Users/jxc755/projects/worktrees/galaxy/branch/wf_tool_state/lib/galaxy/tool_util_models/_types.pyType helpers
/Users/jxc755/projects/worktrees/galaxy/branch/wf_tool_state/lib/galaxy/tool_util_models/_base.pyBase model
/Users/jxc755/projects/worktrees/galaxy/branch/wf_tool_state/lib/galaxy/tool_util/parameters/__init__.pyPublic API re-exports
/Users/jxc755/projects/worktrees/galaxy/branch/wf_tool_state/lib/galaxy/tool_util/parameters/state.pyToolState base + 12 concrete subclasses
/Users/jxc755/projects/worktrees/galaxy/branch/wf_tool_state/lib/galaxy/tool_util/parameters/model_validation.pyvalidate_against_model() + per-representation validators
/Users/jxc755/projects/worktrees/galaxy/branch/wf_tool_state/lib/galaxy/tool_util/parameters/factory.pyinput_models_for_tool_source() — tool XML/YAML → parameter models
/Users/jxc755/projects/worktrees/galaxy/branch/wf_tool_state/lib/galaxy/tool_util/parameters/convert.pydecode(), encode(), fill_static_defaults(), etc.
/Users/jxc755/projects/worktrees/galaxy/branch/wf_tool_state/lib/galaxy/tool_util/parameters/visitor.pyvisit_input_values() tree traversal
/Users/jxc755/projects/worktrees/galaxy/branch/wf_tool_state/lib/galaxy/tool_util/model_factory.pyparse_tool(), parse_tool_custom()

Galaxy — Tests (on branch)

FileContents
/Users/jxc755/projects/worktrees/galaxy/branch/wf_tool_state/test/unit/workflows/test_workflow_validation.pyNative + Format2 workflow validation tests
/Users/jxc755/projects/worktrees/galaxy/branch/wf_tool_state/test/unit/workflows/test_workflow_state_conversion.pyNative→Format2 state conversion tests
/Users/jxc755/projects/worktrees/galaxy/branch/wf_tool_state/test/unit/workflows/test_workflow_validation_helpers.pyGalaxyGetToolInfo tests
/Users/jxc755/projects/worktrees/galaxy/branch/wf_tool_state/test/unit/workflows/test_convert.pyFormat2↔native roundtrip test
/Users/jxc755/projects/worktrees/galaxy/branch/wf_tool_state/test/unit/workflows/valid/Valid Format2 workflow test fixtures
/Users/jxc755/projects/worktrees/galaxy/branch/wf_tool_state/test/unit/workflows/invalid/Invalid Format2 workflow test fixtures

Galaxy — Tool State Specification Tests (existing)

FileContents
/Users/jxc755/projects/worktrees/galaxy/branch/wf_tool_state/test/unit/tool_util/test_parameter_specification.pySpec-driven parameter validation test runner
/Users/jxc755/projects/worktrees/galaxy/branch/wf_tool_state/test/unit/tool_util/parameter_specification.yml~2245 lines of valid/invalid payloads per representation
/Users/jxc755/projects/worktrees/galaxy/branch/wf_tool_state/test/functional/tools/parameters/~104 test tool XML/YAML/CWL files

gxformat2 — Core Library

FileContents
/Users/jxc755/projects/worktrees/gxformat2/branch/wf_state/gxformat2/converter.pypython_to_workflow() — Format2→native conversion, state/tool_state handling
/Users/jxc755/projects/worktrees/gxformat2/branch/wf_state/gxformat2/export.pyfrom_galaxy_native() — native→Format2 export
/Users/jxc755/projects/worktrees/gxformat2/branch/wf_state/gxformat2/interface.pyImporterGalaxyInterface — extension point for Galaxy integration
/Users/jxc755/projects/worktrees/gxformat2/branch/wf_state/gxformat2/lint.pyFormat2 linting
/Users/jxc755/projects/worktrees/gxformat2/branch/wf_state/gxformat2/normalize.pyWorkflow normalization
/Users/jxc755/projects/worktrees/gxformat2/branch/wf_state/gxformat2/model.pySchema-salad workflow model

Tool Shed API (existing, serves tool schemas)

FileContents
/Users/jxc755/projects/worktrees/galaxy/branch/wf_tool_state/lib/tool_shed/webapp/api2/tools.pyshow_tool, tool_state_request, parameter_landing_request_schema endpoints
/Users/jxc755/projects/worktrees/galaxy/branch/wf_tool_state/lib/tool_shed/managers/tools.pyparsed_tool_model_cached_for(), tool_source_for()
/Users/jxc755/projects/worktrees/galaxy/branch/wf_tool_state/lib/tool_shed/managers/model_cache.pyModelCache — disk caching of parsed tool models