Repository navigation
tooling: proof-level blocker ranking, spec status page, blocker-slice workflow (#4270) - #4594
Merged
Merged
Conversation
… workflow (#4270) - tests/tools/proof_blockers.py: for every program a cics_census survey translates WHOLE, what stops it being PROVEN (no case, known unproven, scenario differs, Db2 unswept, coverage, unstated runtime facts such as EIBTASKN / ASSIGN USERID), ranked like `blockers` by programs made proven; crucible programs ranked apart. - tests/tools/cics_spec_status.py + docs/language_status/cics_spec_status.{md,json}: per CICS command its spec entry, translator / stub support, X-register, census use (counts only) and crucible cases, plus the 8 spec PRs' progress; a test fails when the page is stale. - .claude/skills/blocker-slice: the measure / stop / spec-first loop, honest-refusal patterns, traps and the brief template; cics-command-slice links to it. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_011wnQoeeAZP4npeyGnDviK6
Contributor
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_011wnQoeeAZP4npeyGnDviK6
This was referenced Oct 7, 2026
squid-protocol
marked this pull request as ready for review
October 7, 2026 10:43
4 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #4270 (the blocker-driven initiative, #4587). Depends on the tools PR (branch
tooling/4270-blocker-tools) merging first: the skill referencescics_census.py survey/blockers --baseline,blockers --unmask,compare --before-baseline,history append/show,equivalence_env.py --provisionandtests/tools/pr_check.pyas they will be on main. Nothing in this PR imports them;proof_blockers.pytakes anycics_census.py surveydirectory.1.
tests/tools/proof_blockers.py-- the blocker ranking one level upFor every program a survey translates WHOLE: what stops it being PROVEN, as gap classes ranked by programs made proven (
only/one_away, burned / non-burned), likeblockers:no casetests/equivalence/*/case.jsonruns it (its program, or a LINKed one inprograms), no crucible det portknown unproven: #issuetests/equivalence/det_sweep_baseline.jsonscenario differs: KINDproof_sweep.py --det-onlysweep (--sweep DIR): first diff's event + field root fromproof/report.json; cruciblejava-portedcells intests/cics_crucible/baseline.jsonnot proven in CI: Db2 case--skip-db2coverage: live paragraphs no scenario runs(--branches: branch outcomes too)coverage.jsonfact: EIBTASKN/fact: ASSIGN USERID/fact: ASSIGN APPLID/SYSIDregionno det port (crucible)Without
--sweep, a non-Db2 case outsidedet_sweep_baseline.jsoncounts as proven (main's CI ratchet guarantees it). Census programs are read ascics_censusreads them (EXEC CICS / EIB names, counts only). Crucible programs (a surveyedcics-crucibleclone) rank apart from the estates.Run for real on main
8dff2ec2e(survey of all 16 corpora incl. the 9 census clones; a full local det sweep, Db2 included: 56/59 cases proved, the 3 baseline ones not):Reading: no non-burned program is proven yet -- all 13 whole non-burned programs need a case first (12 of them need nothing else). On the burned side the cheapest wins are stating EIBTASKN on both sides (7 programs proven at once, 18 more one gap away; GenApp's debug MOVEs and CBSA's RANDOM seed, C12) and strengthening scenarios for 6 programs that leave a live paragraph unrun. Proven today: 14 CardDemo screens, CBSA ABNDPROC / CUSTCTRL / UPDACC / UPDCUST, GenApp LGACVS01 / LGDPVS01 / LGUCVS01 / LGUPVS01 (through their LINKing DB01 cases).
2. Workflow:
.claude/skills/blocker-slice/SKILL.md(new), linked fromcics-command-sliceA separate skill, not a section of
cics-command-slice: the loop picks non-CICS work as often as CICS work (#4588 wide characters, #4590 cut literals / listing control, #4592 FUNCTION RANDOM), so it cannot live in a per-command checklist, and an orchestrator needs one page with the measure / stop rule and the brief template without the release flow. It covers: measure first on the baseline (blockers --baseline,--unmaskfor*rows) and STOP when nothing goes whole (WEB 2026-10-07: 0 alone, +2 only with JSON; ASSIGN 7 -> 7); the proof-level ranking; SPEC-FIRST (full entry promoted from a name-only one, det/cics.py and the stub read it, runtimes hand-written, crucible logs never derived from the spec,check-hand-derived);--provision,history append,pr_check.py; the honest-refusal patterns of #4588 (D4), #4590 and #4592 (C12, seed as a stated fact); one trap list; a brief template (issue, gap key + counts, acceptance, stop rule, coordination).cics-command-slicenow points to it for picking, says "spec entry first" and has the after-merge step.3.
tests/tools/cics_spec_status.py+ generateddocs/language_status/cics_spec_status.mdPer command: spec entry (full / engine-only / name-only), translator (OPTIONS: honoured / refused-by-name counts), stub (a probe of
equivalence_cics.translate_command), X-register entries (checked against oracle_assumptions.md's table), census use (programs, burned / non-burned; counts only), crucible cases; plus section 7's 8 spec PRs with 1-3 done (#4589, #4591, #4593). Spec, translator and stub are read live; census use and crucible cases need corpora, sorefresh --census --crucible DIRmeasures them into the committedcics_spec_status.json(counts and case ids only;.gitignoreexception added) andrenderreads it. Convention asfield_testing.py/evidence.py render:render --check, andtest_the_committed_page_is_currentfails on a stale page (CI's full suite has the translator extra; the test importorskips without it).Highlights: 251 entries (43 full, 2 engine-only, 206 name-only); every full entry is taken by both the translator and the stub; the most used name-only entries are WEB CONVERSE / WEB OPEN / BIF DEEDIT (5 programs each); the translator keys
ASKTIME NOHANDLE/SYNCPOINT NOHANDLE(a bare option first) and SPIINQUIRE/SETto no spec entry -- listed in their own section.Checks
tests/tools/test_proof_blockers.py(8),tests/tools/test_cics_spec_status.py(13): pass.pr_gates.py --ratchets: 6 pass, 0 fail, 0 skipped. Fullpr_gates.py: see the comment below / CI.estate4_candidates.jsonnever opened. The crucible was a private v0.5.0 clone (the shared checkout untouched).🤖 Generated with Claude Code
https://claude.ai/code/session_011wnQoeeAZP4npeyGnDviK6