Skip to content

Bio-STEWARD 1.0.1: the R1 fix pass

Choose a tag to compare

@MuizZer07 MuizZer07 released this 29 Nov 22:17
· 1 commit to main since this release

Bio-STEWARD 1.0.1: the R1 fix pass

Bio-STEWARD: Scientific Toolkit for Engineering, Workflow Assurance, Reproducibility, and Development: the engineering and integrity layer for agentic computational biology.

The fixes of the first independent review of 1.0.0 (R1: two independent reviewers, each with a stranger test). The 1.0 contract holds:
nothing is removed or renamed, every JSON change is a new optional field, and the stability page
now lists every exit code steward interface publishes with its meaning, not only 0, 1, 2, 3 and 64. One option is
new, init --no-prompt, and one, task brief --strict. release publish --push and release go-public --apply
now ask a human (below): a script that ran them unattended needs a signed authorization from 1.0.1.

Fixed: correctness and the 1.0 contract

  • A validation for another claim no longer clears a contradiction. A record supersedes another only for
    the same claim (the same claim-map entry, value key, or paper section); validation new refuses a link to another
    claim, and a committed one fails R-90 at the successor (R-90.supersedes_claim_mismatch) while the earlier record
    stays current.
  • A named gate carries its own R-90 evidence: when its R-90 result differs from the default or selected
    gate's, the gate gains an optional results array, so each of its blockers resolves to a result in the report.
  • The exit codes are frozen and documented, and which errors are check verdicts (a malformed
    steward.toml: R-01 FAIL, exit 1) and which are invocation errors (an unknown gate, no configuration). An unknown
    gate with --format json prints a steward.error/0.1 document and keeps exit 64.
  • Contract snapshots of the configuration keys and of the rule registry (IDs, default severity, gate
    membership); emitted output of both worked examples is validated against the committed schemas, and the
    stability page says where clients tolerate added optional fields.
  • The MCP server passes --format json to every tool (no deprecation notice in tool output) and accepts rule
    IDs of three digits.

Fixed: privacy and release authority

  • exchange export screens with every configured term list: a missing, unreadable or malformed list
    refuses the export, the inline steward: allow R-07 marker has no effect, and a hit names its list and line only.
  • Controlled-access accessions (dbGaP phs…, EGA) are refused on every outbound or public screen: issue,
    release publish, release audit, docs build, exchange export and audit progress.
  • The outbox screens what it files: the rendered bytes and path are checked before writing; a refusal
    leaves neither the item nor a filed event.
  • release publish --push and release go-public --apply ask a human: they show the tag, the scanned
    tree digest, the remote and the branch, then ask [y/N] in a terminal (no --yes). Without a terminal (CI) they
    proceed only with --authorization steward/auth/<nonce>, a signed human authorization for exactly that plan, used
    once; otherwise they refuse and print the steward authorize prepare command.
  • trust.toml values are written as proper TOML strings.

Fixed: first run

  • One configuration error, one line: with R-01 failing, check --summary folds the dependent rules into
    UNKNOWN (N): not evaluated until R-01 passes; the full results stay in JSON and --all.
  • init never waits on a prompt unless standard input and output are both a terminal; --no-prompt skips it
    . init --talk NAME appends [talk.NAME] to an existing steward.toml, as --for paper does.
  • task brief --output FILE writes only the prompt to FILE (the launch line goes to standard error); a file with
    no task sections exits 64; --strict refuses a brief that still holds template placeholders.
  • Clearer text: no pre-1.0 version tags in help; R-75's next: names the study and file; 1 detail; R-01 names the schema the file declares; a scoped run says Checked in scope:; a new project's first
    ELIGIBLE gate says how little it covers; research new literature-review is an alias of review.

Documentation

  • The upgrade guide's [gates.<name>] require_validated snippet lists the gate's rules, and a test keeps every
    snippet valid. The README says the report's verdict is byte-identical between runs, not the whole JSON
    , and lists the licence kit; the paper quick start describes R-10's literal check as it behaves.

Upgrade notes (from 1.0.0)

uv tool install --force 'bio-steward @ git+https://github.com/MuizZer07/Bio-STEWARD.git@v1.0.1', or
steward upgrade --to 1.0.1. Nothing to change in steward.toml. A CI job that ran release publish --push
unattended passes --authorization from 1.0.1 (Release authorization in CI).

Cite: doi:10.5281/zenodo.24548977