Skip to content

feat(release): release-check.sh conforms to repo_release_check.v1 - #11

Merged
MCamner merged 1 commit into
mainfrom
feat/release-check-json
Jul 18, 2026
Merged

feat(release): release-check.sh conforms to repo_release_check.v1#11
MCamner merged 1 commit into
mainfrom
feat/release-check-json

Conversation

@MCamner

@MCamner MCamner commented Jul 18, 2026

Copy link
Copy Markdown
Owner

Release-check rollout for mq-agent's multi-repo preflight (contract: mq-agent docs/STACK_RELEASE_ALL_EXECUTE.md). mq-image-analyze's root release-check.sh emitted human text, so preflight reported invalid JSON.

  • --jsonrepo_release_check.v1 on clean stdout, exit 0 (status carries the verdict); --json/--dry-run skip the clean-tree check (preflight owns it).
  • Human mode unchanged. All existing checks preserved (version surfaces, docs, pytest, CLI, compileall, MCP payloads, no weights/.env).

Verified: shellcheck clean; --dry-run --json → valid READY JSON against the real venv; human mode exit 0. Read-only; no release/tags.

Adapt the existing root release-check.sh to the multi-repo preflight contract:
--json emits a repo_release_check.v1 object on clean stdout (checks routed to
stderr), exit 0; --json/--dry-run skip the clean-git-tree check (preflight owns
it). Human mode unchanged. Existing checks preserved (VERSION/pyproject/
CHANGELOG surfaces, docs presence, pytest, CLI, compileall, MCP payloads, no
weights/.env).

Verified: shellcheck clean; --dry-run --json emits valid READY JSON against the
real venv; human --dry-run exits 0.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@MCamner
MCamner merged commit b03f875 into main Jul 18, 2026
4 checks passed
@MCamner
MCamner deleted the feat/release-check-json branch July 18, 2026 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant