stradler (strata handler) is a framework for declaring layered project data structures and running workflows over them. Source and issues: https://github.com/dvm-shlee/stradler.
Alpha (0.1.0a1). No PyPI or crates.io release has been published yet; the stradler names on both are reserved.
stradler init --template <file>: createstradler.jsonand.stradler/from a project template.stradler validate [path]: validate the project at or above a directory (--jsonfor machine output). It checks thestructure@1.1.0roles and grades and theconfig@1.1.0replica declarations (docs/SCHEMAS.md). A file under no declared area is a warning (validatestays ok).stradler adopt [path]: take an existing directory in as a project (--template,--project-id,--dry-run,--json); copy mode with--plan <file>copies files in from a plan (--dry-runreports every problem without copying;--no-keep-times,--bwlimit,--progress-interval). See docs/ADOPT.md.stradler describe [path]: human text,--json(versioned document,describe_version2) and--agentviews of.stradler/. See docs/DESCRIBE.md.stradler seal <dataset>: make a dataset of a sealed area read-only and write its version 2 snapshot document (--layout flat|tree,--stream,--grade,--provenance-file,--rollback,--json).stradler verify <dataset | sha256:digest>: check a dataset, or a copy in a store (--store NAME), or one subtree (--subtree), against its snapshot; read-only.stradler verify --replicas <area>checks the area's latest snapshots against its declared replica stores and records the checks. Exit status: 0 match, 1 differences, 2 unreachable store, 3 error (including a usage error).- Snapshot format 2 (
snapshot_version2: flat and tree layouts, content digests, lineage): written byseal. Format 1 is still read and is whatexport_sealedinstradler.workflow.exportwrites. See docs/SNAPSHOTS.md. - Workflow planning and execution (Python API):
build_planandrun_workflowinstradler.workflow. - Run records:
run.jsonandtask.jsonwritten per run, with digests and container objects. - Scheduler add-on
stradler-slurm(stradler.ext.slurm); container runtime add-onstradler-apptainer(stradler.ext.apptainer). - Job-side entry points used by scheduler add-ons:
stradler workflow chainandstradler workflow finalize.
stradler upgrade(re-materialise.stradler/from a newer template).- A
stradler workflow runcommand: planning and execution are reachable only through the Python API for now.
rust/holds the crates.io name reservation (stradler0.0.0, no functionality).schemas/holds the JSON Schema files forstradler.json,.stradler/config.toml(config@1.0.0,config@1.1.0) and.stradler/structure.toml(structure@1.0.0,structure@1.1.0).
- docs/GLOSSARY.md: normative definitions of stradler terms.
- docs/SCHEMAS.md: project file layout and schemas.
- docs/ADOPT.md: taking an existing directory in as a project, and copy mode.
- docs/DESCRIBE.md:
stradler describeoutput, including the--jsondocument. - docs/WORKFLOWS.md: workflow recipes, plans, tasks, run records and conformance data.
- docs/ADDONS.md: scheduler and container runtime add-on protocols.
- docs/SNAPSHOTS.md: snapshot format (versions 1 and 2), digests and checks.
Add-on guides: docs/addons/slurm.md, docs/addons/apptainer.md.
Install with uv sync; run the tests with uv run pytest.