This directory contains small operational helpers for osp-cli-rust.
The folder is intentionally flat for now. The current rule is simple:
- keep scripts grouped by workflow domain
- prefer a few explicit entrypoints over many overlapping helpers
- keep policy scripts boring and reviewable
- do not turn this directory into a generic utilities bucket
confidence.pyRuns the named local confidence lanes used by hooks, humans, and CI.coverage.pyOwns the repository coverage gate and coverage utility commands.release-budget.pyMeasures the already-built release binary's startup and size against an intentionally reviewed baseline.perf.pyChecks the release binary's syscall, instruction and startup-phase budgets fromperf/budgets.json; the product reuses it for its own scenarios.run-hermetic-cargo.pyIsolates runtime roots and ambient settings for behavior and coverage checks.public-api-examples.pyChecks selected public entrypoints for complete, nonempty runnable examples.public-docs.pyEnforces compiler-backed public Rustdoc coverage in staged or repo-wide mode.
release.pyOwns the release workflow subcommands:bump,check, andtag.
plugin_describe_from_click.pyHelper for describing Click-based plugins.plugin_describe_from_argparse.pyHelper for describing argparse-based plugins.
install-git-hooks.shConfigures the repository git hook path and commit template.
Exact lane commands live in confidence.py; contributor setup and release
procedures live in ../CONTRIBUTING.md.
- If a script starts owning a distinct workflow, give it a clear top-level name.
- If one workflow grows multiple tightly related helpers, prefer consolidating them behind one explicit script with subcommands.
- If this directory grows much larger, split it by domain deliberately instead of letting the flat layout decay into clutter.