Skip to content

Release tooling: --bump, sidecar coverage, single-owner check inventory with drift test - #152

Merged
docxology merged 5 commits into
mainfrom
claude/release-tooling
Oct 9, 2026
Merged

docxology merged 5 commits into
mainfrom
claude/release-tooling

Conversation

@docxology

Copy link
Copy Markdown
Collaborator

Closes #131, closes #129, closes #139.

  • [TOOL-6] Automate the release bump and draft release #131 TOOL-6: release_check.py --bump X.Y.Z --date YYYY-MM-DD rewrites every version- and date-bearing source with one-line substitutions. It validates the arguments before writing anything and leaves uv.lock/CHANGELOG.md to the maintainer, printing the commands. .aii/config.yaml is now a checked source, and its stale "v1.6.0 candidate … unpublished" text is corrected; tag v1.6.0 exists. A publishing workflow is deliberately deferred, since publication is a maintainer action.
  • [TOOL-4] One check manifest for CI, AGENTS.md and development docs #129 TOOL-4 + [DOC-2] Single owner for the release gate list #139 DOC-2: AGENTS.md "Required checks" is the single owner. It gains the CI checks it was missing: figure build/check, git diff --check, publication-browser acceptance, methods lint, and the native Lean block. docs/development.md and docs/testing.md now link to it instead of re-listing it, and the README pointer is fixed. New tests/test_check_inventory.py: every AGENTS command must run in ci.yml, every CI gate must be in AGENTS or a commented hosted-only allow-list, dead allow-list entries fail, and the secondary docs may not re-list checks. A deliberately injected bogus command makes it fail. No check was removed from CI.

Verified: release_check / docs_audits / check_inventory tests (34), docs/release_check.py on the real tree, ruff, check_links, md_hygiene, pin_audit.

--bump X.Y.Z --date YYYY-MM-DD rewrites every gated file and prints the
uv lock / CHANGELOG steps. .aii/config.yaml is now a checked version/date
source; its stale 'v1.6.0 candidate ... unpublished' text is corrected.
Publishing workflow deferred (maintainer action).
…, DOC-2 #139)

AGENTS.md now lists every gate ci.yml runs (adds build_manuscript_figures,
git diff --check, publication-browser-acceptance, openai-math-methods lint,
native lean commands). docs/development.md and docs/testing.md link to it
instead of re-listing; README pointer fixed (the 'Required release gates'
heading never existed). tests/test_check_inventory.py asserts both
directions against ci.yml with commented allow-lists, and that the secondary
docs carry no divergent copy.
@docxology
docxology merged commit d3b83ac into main Oct 9, 2026
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant