Skip to content

assess: standalone clean-machine install check script (Part of #4726) - #6099

Merged
squid-protocol merged 1 commit into
mainfrom
churn/4726-20261022T2359Z
Oct 23, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
churn/4726-20261022T2359Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #4726. Follows #6085.

What

scripts/check_assess_install.py: a stdlib-only, CI-light clean-machine check. It builds the wheel, installs it into a fresh venv (--no-index, no PYTHONPATH, proxy vars pointing at a dead port), runs the installed gitgalaxy assess --redact on a planted two-program estate (one batch program with a missing copybook, one CICS program), and asserts: import from site-packages, exit 0, the installed schema.validate accepts the report, 2 programs, one redacted copybook gap, program labels, the translator-skip notice (or, with --wheelhouse DIR, the dry run present), no planted source text, estate unchanged. Exit 0 pass / 1 assertion / 2 build or install failure. docs/assess.md gets one line pointing at it.

No .github/workflows edit (per brief); wiring the script into a workflow is the follow-up.

Class

Class: "the shipped wheel works on a machine that is not the dev checkout". Members: no-extras install (covered here and by the existing pytest test_assess_clean_install.py, #5422); translator-extra install from a wheelhouse (script option, not exercised here: no network to build the wheelhouse); PyPI post-publish install (blocked, not published).

Evidence

  • python scripts/check_assess_install.py: 11/11 checks ok (py3.12 selfscan venv).
  • pr_gates.py --fast via heavy-run.sh: 7/7 pass. Tree-wide guard tests: 133 passed.
  • --ratchets not run: no engine, golden, ledger or test change.

🤖 Generated with Claude Code

scripts/check_assess_install.py builds the wheel, installs it into a fresh venv
with --no-index and the network cut, runs the installed `gitgalaxy assess` on a
planted estate and asserts exit code, schema, counts, a copybook gap, redaction,
no source text and an untouched estate. Stdlib only, no workflow edits.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 23, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol marked this pull request as ready for review October 23, 2026 00:05
@squid-protocol
squid-protocol enabled auto-merge (squash) October 23, 2026 00:18
@squid-protocol
squid-protocol merged commit 7ae61bd into main Oct 23, 2026
45 checks passed
@squid-protocol
squid-protocol deleted the churn/4726-20261022T2359Z branch October 23, 2026 00:36
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant