Skip to content

estate-crucible: pin v0.3.0; code pages for the scan, data_moves (#4317 phase 2) - #4347

Merged
squid-protocol merged 1 commit into
mainfrom
test/estate-crucible-v0.3.0
Oct 4, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
test/estate-crucible-v0.3.0

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

What

Phase 2 of #4317 (multicultural, #3988) on the gitgalaxy side. Draft and not a gate. Only tests/ changes; gitgalaxy/ is not touched.

  • tests/_estate_crucible_pin.py: PINNED_REF moves to v0.3.0 (release). v0.3.0 has 13 apps and 63 members, 20 channels, 903 facts and 49 horrors. Members are now committed as their exported bytes: raw EBCDIC cp037, 273, 277, 420, 930 and 939 (as FB80 records or with NEL line ends), Shift-JIS, and UTF-8 with and without a BOM.
  • tests/tools/estate_crucible.py:
    • The scan now gets the key's code_pages as --source-encoding PATH=CODEC,.... Nothing in a raw EBCDIC member's bytes names its code page, so the scan has to be told.
    • New data_moves channel, scored against data_move_data, including explicit phantoms.
    • A failing check marked depends_on another horror now counts as that horror's cascade, not as a failure of its own horror.
  • Tests: two more unit tests (the encoding argument and the data-move projection). 13 tests pass.

Scorecard: origin/main 0c513c99 vs estate-crucible v0.3.0

Per channel

channel pass fail missing phantom unscored
programs 25 0 3 0 0
units 89 0 2 4 0
edges 71 0 0 9 0
call_sites 21 4 0 2 0
copies 29 3 4 2 0
data_items 276 7 4 0 50
layouts 75 9 3 0 5
sql_statements 5 0 0 0 2
sql_tables 2 0 0 0 0
jcl_steps 14 0 0 0 0
jcl_dds 20 0 0 0 7
screen_fields 16 0 0 0 0
csd_resources 10 0 0 0 0
transactions 3 0 0 0 0
cics_resources 7 0 0 0 0
jcl_datasets 16 0 4 3 0
file_control 7 0 0 0 0
entry_points 27 0 1 0 0
file_edges 12 0 2 0 0
data_moves 80 0 10 4 0
total 805 23 33 24 64

Per horror

horror issue verdict checks not passing
H-0001 #4300 PASS 15
H-0002 #4301 PASS 27
H-0003 #4302 PASS 4
H-0004 #4303 FAIL 7 missing copies RPTHDR @21; missing copies RPTTOT @22; missing copies RPTCNT @22; fail layouts WS-RPT-HEAD @21 (+1 more)
H-0005 #4304 FAIL 8 phantom edges 2000-REFRESH-BALANCE.calls_out_to CUSTAUDT; phantom edges 2000-REFRESH-BALANCE.calls_out_to PRODPROC; phantom call_sites CALL PRODPROC @39; phantom call_sites CALL CUSTAUDT @42
H-0006 #4305 FAIL 13 phantom edges 2000-DETAIL.calls_out_to 3; phantom edges 2000-DETAIL.calls_out_to TEST; phantom edges 2000-DETAIL.calls_out_to WS-N; phantom edges 2500-SCAN-HISTORY.calls_out_to END-IF (+3 more)
H-0007 #4306 FAIL 13 phantom units SCHEMA; phantom units IDMS-CONTROL; phantom units PROTOCOL; phantom data_moves MOVE WS-LOAN-KEY -> OBTAIN @25 (+2 more)
H-0008 #4307 FAIL 2 missing programs LNCALC; missing programs LNRATE; cascade: 4 check(s) elsewhere
H-0009 #4329 FAIL 4 fail data_items 01 WS-MSG @16; fail data_items 01 WS-LEN @36; fail layouts WS-LEN @36; cascade: 3 check(s) elsewhere
H-0010 #4330 FAIL 9 fail data_items 01 WS-COMMAREA @11; fail layouts WS-COMMAREA @11; fail data_items 01 WS-INV-AREA @9; cascade: 1 check(s) elsewhere
H-0011 #4331 FAIL 8 missing jcl_datasets POST.ACCTOUT PROD.ACCT.MASTER(+1); phantom jcl_datasets raw import PROD.ACCT.MASTER(; missing jcl_datasets CALC.BILLPRV PROD.BILL.MASTER(-1); missing jcl_datasets CALC.BILLOUT PROD.BILL.MASTER(+1) (+3 more)
H-0012 #4332 PASS 16
H-0013 #3244 PASS 7
H-0014 #3348 PASS 15
H-0015 #3365 PASS 13
H-0016 #3414 FAIL 6 fail layouts WS-EMP @28
H-0017 #3416 PASS 4
H-0018 #3417 PASS 63
H-0019 #3418 PASS 1
H-0020 #3419 PASS 1
H-0021 #3420 PASS 2
H-0022 #3533 PASS 8
H-0023 #3533 PASS 3
H-0024 #3616 PASS 4
H-0025 #3694 PASS 4
H-0026 #4026 PASS 1
H-0027 #4031 PASS 1
H-0028 #4203 FAIL 14 missing units LOOKUP-RATE; phantom units RATE
H-0029 #4242 PASS 1 ; cascade: 2 check(s) elsewhere
H-0030 #4246 PASS 6
H-0031 #4243 FAIL 17 missing data_items 01 WS-I @53; missing data_items 01 WS-GROSS @54; missing data_items 01 WS-LINES @75; missing layouts WS-I @53 (+2 more)
H-0032 #4264 PASS 1
H-0033 #None PASS 5
H-0034 #4265 FAIL 9 fail copies DATEWS @35; cascade: 6 check(s) elsewhere
H-0035 #3816 PASS 8
H-0036 #3816 PASS 4
H-0037 #3534 FAIL 5 missing programs {"line": 2}; missing units {"name": "NULREST"}; missing data_items {"name": "REST", "line": 3}; missing entry_points {"line": 2} (+1 more)
H-0038 #3956 FAIL 7 missing copies KYUYCPY @16
H-0039 #3520 PASS 25
H-0040 #3955 FAIL 14 missing data_moves MOVE '000001' -> 社員コード @20; missing data_moves MOVE SPACES -> TEST−DATA1 @21; missing data_moves MOVE 'AB' -> TEST−RECORD1 @22; phantom data_moves MOVE SPACE -> X @27
H-0041 #3991 FAIL 11 missing data_moves MOVE SPACE -> X項目 @27; missing data_moves MOVE 'Z' -> F02 @28
H-0042 #3816 FAIL 21 fail data_items 01 漢字欄 @12; missing data_moves MOVE 見出し -> 社員番号 @19; missing data_moves ADD 1 -> 処理件数 @22
H-0043 #3942 FAIL 17 missing data_moves MOVE 0,5 -> T-WERT @26
H-0044 #None PASS 5
H-0045 #3987 PASS 6
H-0046 #3878 FAIL 10 missing data_moves ADD 1000 -> 賞与額 @13
H-0047 #None PASS 3
H-0048 #3649 PASS 3
H-0049 #4205 PASS 3

Outside the horrors: 0 not passing.

Phase-2 horrors on main

  • Pass:
    • H-0035 and H-0036: raw EBCDIC members, both FB80 and NEL, read correctly once the scan is told their code page.
    • H-0039: Nordic Æ Ø Å names.
    • H-0044: EBCDIC collation. Only structural facts are keyed; this is a translator trap.
    • H-0045: BiDi BMS in cp420.
    • H-0047, H-0048, H-0049: D013, D023 and D039, scored as data moves.
  • Fail (engine findings; draft issue text is in the coordinator report):
    • H-0037: a small member with 2 NULs is blocked as binary by the NUL-density gate.
    • H-0038: COPY<U+3000>member is not read as an import.
    • H-0040, H-0041, H-0042, H-0046: data_moves drops moves whose operands are Japanese or full-width names. X項目 is recorded as X.
    • H-0042 also: the G'...' VALUE is recorded as G.
    • H-0043: MOVE 0,5 TO ... under DECIMAL-POINT IS COMMA is dropped from data_moves.

Local checks

tests/ruff_audit.py --ci, tests/mypy_audit.py --ci and tests/dead_key_audit.py --ci all pass. pytest tests/estate_crucible passes all 13 tests.

Cross-repo

Companion release: squid-protocol/estate-crucible v0.3.0 (tagged, CI green).

🤖 Generated with Claude Code

https://claude.ai/code/session_01FNWHcUSn5p7eMxFTsB5rFo

…core data_moves (#4317)

Phase 2 of #4317 on the gitgalaxy side. The pin moves to estate-crucible v0.3.0
(raw EBCDIC / Shift-JIS / UTF-8 members, 49 horrors, 20 channels). The scorer
passes the key's code_pages to the scan as --source-encoding, scores the new
data_moves channel (with explicit phantoms), and counts a failing check that
depends on another horror as that horror's cascade, not its own failure.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01FNWHcUSn5p7eMxFTsB5rFo
@github-actions

github-actions Bot commented Oct 4, 2026

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

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