Skip to content

readiness scanner: per-estate readiness report -- ladder counts, ranked rules to land, era mix (Part of #4725) - #5228

Merged
squid-protocol merged 3 commits into
mainfrom
churn/4725-20261016T0809Z
Oct 16, 2026
Merged

squid-protocol merged 3 commits into
mainfrom
churn/4725-20261016T0809Z

Conversation

@squid-protocol

@squid-protocol squid-protocol commented Oct 16, 2026 •

Copy link
Copy Markdown
Owner

Part of #4725.

What

tests/tools/readiness_report.py: per burned estate, a deterministic Markdown / JSON readiness report from committed outputs only (no corpus, no scan):

Rendered by generated_docs.py to docs/language_status/readiness_report.md (git-ignored, published to generated by generated-docs.yml).

Engine change: one line in cics_census.gap_classes() reads a row that already carries gap_classes as it stands (survey rows never have the key), so the report reuses blockers() rather than a parallel ranking.

Evidence

  • pr_gates --fast: 6/6 pass; pr_gates --ratchets: 8 pass, 0 fail, 0 skipped.
  • tests/cobol_mainframe/test_readiness_report.py (9 tests: ranking equals blockers on every fixture estate, determinism, ladder sums, callee holes, era mix, empty estate, delta, unknown estate, JSON round trip); plain pytest from /tmp.
  • No golden-master drift: no parsing code touched.

Class table

Member Status Where
Readiness report for each burned estate (ladder, era mix, ranked rules, missing inputs, delta) done in this PR tests/tools/readiness_report.py, 9 tests
Rendered page published to generated done in this PR generated_docs.PAGES, .gitignore, generated-docs.yml publish list, test_generated_branch.MOVED
Ranking reuses cics_census.blockers() (no parallel ranking) done in this PR one-line gap_classes() change

Sibling gaps

Needs the owner

This PR edits .github/workflows/generated-docs.yml (one trigger path and one publish-list entry for the new page). The queue item has no allow_workflows; dropping the edit would fail test_generated_branch (MOVED must match PAGES), so the owner must approve it.

Cross-repo

None.

Lessons for agents

  • A new generated page needs three places: generated_docs.PAGES, .gitignore, and the publish list in generated-docs.yml (test_generated_docs checks the first two).

🤖 Generated with Claude Code

…ed rules to land, era mix (Part of #4725)

tests/tools/readiness_report.py builds, from committed outputs only (evidence report, inventory era tags,
estate_intake, register), a deterministic Markdown/JSON report per burned estate. The ranking is
cics_census.blockers() (gap_classes rows are now read as they stand). Rendered by generated_docs.py and
published to `generated`, not committed. --previous compares with an earlier run.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol squid-protocol added shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md labels Oct 16, 2026
@squid-protocol
squid-protocol marked this pull request as ready for review October 16, 2026 17:29
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol enabled auto-merge (squash) October 16, 2026 17:29
@squid-protocol

Copy link
Copy Markdown
Owner Author

PR #5228 @ 624c69f: 1 failed check(s)

== full-suite part 2/3 (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/38940083016/job/117105254351
repro: python -m pytest -q tests/tools/test_generated_branch.py::test_the_generated_docs_render_job_holds_no_write_token_and_publish_runs_on_main_only
failing tests: tests/tools/test_generated_branch.py::test_the_generated_docs_render_job_holds_no_write_token_and_publish_runs_on_main_only
errors:
fail-on-cache-miss: false
E AssertionError: assert {'docs/langua...sumptions.md'} == {'docs/langua...ss_report.md'}
tests/tools/test_generated_branch.py:210: AssertionError
FAILED tests/tools/test_generated_branch.py::test_the_generated_docs_render_job_holds_no_write_token_and_publish_runs_on_main_only - AssertionError: assert {'docs/langua...sumptions.md'} == {'docs/langua...ss_report.md'}
##[error]Process completed with exit code 1.
log tail:
env:
PYTHONUTF8: 1
GITGALAXY_LICENSE_KEY: COMMUNITY_FREE_TIER
OMP_NUM_THREADS: 1
pythonLocation: /opt/hostedtoolcache/Python/3.12.15/x64
PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.12.15/x64/lib/pkgconfig
Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.15/x64
Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.15/x64
Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.15/x64
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.12.15/x64/lib
PYTEST_ADDOPTS: --ignore=tests/cobol_mainframe
##[endgroup]
With the provided path, there will be 1 file uploaded
Artifact name is valid!
Root directory input is valid!
Uploading artifact: test-times-part-2.zip
Beginning upload of artifact content to blob storage
Uploaded bytes 168725
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is 0543d06b3f25ae1da066518749174ad32ebfb3014b6e016655819a794d62a185
Finalizing artifact upload
Artifact test-times-part-2 successfully finalized. Artifact ID 12063106531
Artifact test-times-part-2 has been successfully uploaded! Final size is 168725 bytes. Artifact ID is 12063106531
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/38940083016/artifacts/12063106531
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/fed57b1d-425c-4cc9-86b5-7e9b983d4f7d' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
[command]/usr/bin/git config --global --add safe.directory /home/runner/work/gitgalaxy/gitgalaxy
Removing SSH command configuration
[command]/usr/bin/git config --local --name-only --get-regexp core.sshCommand
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
Removing HTTP extra header
[command]/usr/bin/git config --local --name-only --get-regexp http.https://github.com/.extraheader
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http.https://github.com/.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
Removing includeIf entries pointing to credentials config files
[command]/usr/bin/git config --local --name-only --get-regexp ^includeIf.gitdir:
[command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url
Cleaning up orphan processes

@squid-protocol squid-protocol added the shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md label Oct 16, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-protocol squid-protocol removed the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 16, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

CI shepherd: the head of this PR (45bcf04) is not the one a maintainer labelled shepherd:merge on (new commits, or never approved), so the label was removed and nothing merges unreviewed code. Re-add the label when the new head is ready (shepherd:reapprove marks this PR until then).

@squid-protocol squid-protocol added shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md labels Oct 16, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol enabled auto-merge (squash) October 16, 2026 17:44
@squid-protocol squid-protocol added shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md labels Oct 16, 2026
@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