Repository navigation
Bio-STEWARD 0.23.0
Bio-STEWARD: Scientific Toolkit for Engineering, Workflow Assurance, Reproducibility, and Development: the
engineering and integrity layer for agentic computational biology.
Install: uv tool install "git+https://github.com/MuizZer07/Bio-STEWARD.git@v0.23.0" (or pipx). Using it in your work?
Please cite it: doi:10.5281/zenodo.24548977.
0.23.0 (2026-11-27): automatic delegation, then the biology checks
Per Muiz, 2026-11-27: "go ahead with S2"; "Steward also needs to be responsible for task delegation more frequently
… for my development claude is master". A project names one master agent and its workers; a task given to auto goes to the
first worker that can run, moves to the next one on the same branch when a usage limit or a missing sign-in stops it,
and waits in review until the master accepts it. The biology checks gain controlled-access accessions, sample
confounding, gene identifiers and p-value sanity, analysis environments, and a contig preflight of VCF, SAM and BED
files against a declared genome. Every result code has a one-line description in steward explain. No command opens
a network connection unless asked. Read the upgrade notes below: steward check gains one rule (R-89), and existing
study records and data contracts can show new findings.
Added
- Delegation configuration:
[delegation]insteward.tomlwithmaster,workers(in order),
on_limit = "next" | "master" | "wait"and[delegation.models]; the agents areclaude-code,codexand
antigravity. A worker named twice, or a master that is also a worker, fails R-01. See
Delegate to other agents. steward agents setup [--yes] [--master NAME]: finds the installed agent CLIs on PATH and in their known
install folders (for example~/.gemini/bin/agy), reads each one's version and, where the agent has a local status
command, whether it is signed in. It passes no prompt and opens no connection. It shows the[delegation]it would
write as a diff and writes it after you confirm (or with--yes); without a terminal and without--yesit prints
the diff only. It also brings the AGENTS block ofAGENTS.mdup to date.steward initoffers it in its text
output when an agent CLI is found and there is no[delegation].steward agents status [--format json](steward.agents_status/0.1): each agent as available, limited
until a time, signed out or missing, and which one is the master. It reads the availability ledger
.steward/agents/availability.jsonl(hash-chained, local) and PATH; it runs no agent.- "Cannot run" kept apart from a task failure: one table per agent of the endings that mean a worker cannot
run (a usage or rate limit with its reset time when the agent prints one, not signed in, not installed, a sandbox
that did not start). Only the end of a log and its error events are read. A limit with no printed reset time counts
for one hour. - R-89
delegation.installed(advisory): with[delegation], each agent it names is installed; INCOMPLETE
withR-89.missingotherwise; NOT_APPLICABLE without[delegation]. agent = "auto"andsteward task dispatch TASK --to auto: the first available worker inworkerstakes
the task.steward sprint checkprints the order it will try and who can run now.- Re-delegation: when a worker cannot run, the supervisor records
redelegated(the worker, the
reason, the reset time) in the sprint ledger and the availability ledger, and starts the task again with the next
available worker in the same worktree and branch, keeping the earlier commits. When no worker can run it follows
on_limit: the master, orwaitinguntil the earliest reset time (shown insprint statusandsteward next).
A limited worker is skipped until its reset time passes. With[delegation], a task that names a worker moves the
same way. A Codex run stopped by a limit has its partial work committed first, with a message that says so. - The master's review: with
[delegation], a worker's task whosedonecommands pass ends inreview,
with a brief at.steward/sprints/<sprint>/<task>.review.md(the diff summary, the commits newest first, each check
with its output, the task records' deviations, any re-delegation).steward sprint accept ID TASKmarks it done;
steward sprint rework ID TASK --note … [--to same|master]sends it back. Tasks run by the master end indoneas
before. Merging stays the master's step. - Attempts in the agents ledger and the tokens report: each finished attempt of a delegated sprint task is
recorded with its agent, provider, model and outcome;steward tokens reportlists each task'sattempts(newest
first) with the tokens inside each one. See Track tokens per task. - The skills and the AGENTS block:
using-stewardandtask-lifecyclesay when the master delegates (a
self-contained, specified subtask with its own acceptance commands), how, and what the master keeps (review,
merging, anything that needs a signature). The AGENTS block names the project's master and workers. The guide
Delegate to other agents has a figure of the flow. Every kit's word budget still holds. - Controlled-access accessions: with privacy checks configured, R-07 fails on dbGaP (
phs…) and EGA
(EGAD…,EGAS…) accession forms in scanned text and PDF text, with the accession left out of the finding
(R-07.controlled_access). - Sample confounding: R-75 cross-tabulates
conditionbybatch(or the columns named by
condition_columnandbatch_column) and by each of[samples] covariates. Complete confounding fails
(R-75.sample_confounding); a condition share that differs by 80 percentage points or more across a factor's levels
is advisory (R-75.sample_imbalance), shown in--summaryand--quiet. See
Work with public data. - Identifiers and statistics in data contracts: a local
hgnc_tablefinds previous and withdrawn HGNC
symbols; an Ensembl column must not mix versioned and unversioned IDs (R-83.mixed_ensembl_versions); a
gene_symbolcolumn is checked for human or mouse casing against the linked study's organism; an exact-zero p-value
is INCOMPLETE; adjusted p-values identical to raw ones on every row fail (R-83.adjusted_equals_raw); an optional
log_baserecords the fold-change scale. See Data contracts. - Analysis environments:
steward runrecords the sha256 of a rootrenv.lockorconda-lock.yml; a
study's Bioconductor tool entry must give a major.minor release. - Reference preflight: with
genomeandchromosome_sizesin a study's[references], R-75 checks VCF
##contigand SAM@SQnames and lengths, and each BED interval's contig and bounds, against the sizes file
(gzip and BGZF included). A mismatch fails with the file, the row and both lengths (R-75.reference_mismatch); a
file with nothing to compare is INCOMPLETE. Read limits: 1 MiB per line, 8 MiB per sizes file, 256 MiB per input. - Every result code explained:
steward explainandsteward explain --all --format jsongive every code a
one-line description where it had no fix of its own. - An
analysis-reviewbrief template:steward task template analysis-reviewfor scripts, notebooks,
pipelines, sample sheets, tables, figures and statistics;steward task briefwarns about more unfilled slots. - First-contact words:
steward init, its--help,steward.tomland the quick start explain the
exploratoryandconfirmatoryprofiles; the templates and guides explain a GO reference. - A figure of sample confounding in the public-data guide, and a flowchart of the reference preflight.
Changed
steward checkreports R-89 (one more result; NOT_APPLICABLE without[delegation]).steward explain's code list correctsR-40.derived_binarytoR-40.derived_binary64and adds five codes it had
missed (R-53.deferred_stale,R-78.contamination_risk,R-78.id_conflict,R-78.prompts_not_intact,
R-78.undated_cases).- The red-team review recommendation (
R-43.recommended) appears forconfirmatoryprojects only. steward sprint status,steward nextandsteward tokens report --format jsongain optional fields and new
values (auto,delegation,attempts,task_review,task_limited); their schemas change by additions only.
Upgrade notes (from 0.22.0)
- Without
[delegation], sprints and dispatch behave as in 0.22.0, with one exception: a Codex sprint run stopped
by a limit now has its partial work committed on its branch, so ago --retryfinds it there. - With
[delegation], a worker's passing task ends inreview, notdone. A script or a sprint that waits for
donemust runsteward sprint accept ID TASK(or readreviewas the end of the worker's part). A task that names
a worker moves to the next one when it cannot run. - The check report gains R-89.
steward check --jsonand--format jsonhold one more rule result than in 0.22.0
(NOT_APPLICABLE until[delegation]exists); the other results are unchanged. A script that counts results or
compares a saved report byte for byte sees the difference. steward explain --format jsonnow gives a stringfixfor codes that hadnull; its schema is unchanged.- New findings in existing records. With privacy checks configured, a dbGaP or EGA accession in a scanned file
now FAILs R-07: keep it in a private record. A sample sheet whose condition is completely confounded with its batch
now FAILs R-75. A study's Bioconductor version that is not major.minor now fails its record's validation. In a data
contract, an exact-zero p-value is INCOMPLETE, adjusted p-values equal to raw ones on every row FAIL, and an Ensembl
column that mixes versioned and unversioned IDs FAILs. The HGNC, casing and reference checks run only when their new
declarations are added. - An agents ledger that already used the labels
claude-codeorantigravityis now read bysteward tokens report.
