Skip to content

era tags: tells inside copybooks and an IBM reference per tell (Part of #5117) - #5194

Merged
squid-protocol merged 2 commits into
mainfrom
churn/5117-20261015T1557Z
Oct 15, 2026
Merged

squid-protocol merged 2 commits into
mainfrom
churn/5117-20261015T1557Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #5117 (builds on #5150).

What

  • era_tags.tag_program(text, copybooks): the copybooks a program's COPY expansion resolved (nested too) are read with the same tells. Tell in both → copybooks: [...]; tell only in a copybook → via_copybook, and program_era keeps the era of the program's own text. Assembler macro text in a copybook is no tell. New keys appear only when set (summary: raised_by_copybook).
  • feature_inventory._tag_with_copybooks feeds it from the expansion process_program already does; a refused expansion keeps the own-text tag. Schema, support-matrix line and docs updated.
  • era_tags.CITE: IBM release/manual per tell with a verified flag. Verified against IBM pages: macro level dropped in CICS/ESA 3.2, channels/containers CICS TS 3.1, JSON GENERATE 6.1 / PARSE 6.2. The other 20 entries are NOT yet checked against the manual (stated in the docs).

Evidence

Only the CardDemo and CBSA fixtures move, additively (copybooks lists for exec-sql / resp that the programs also show). No tell is via_copybook on any burned estate, so no program's era moves.

Class table

member status
tells in code / raw / cics / cbl-card scopes inside a copybook handled, one test per tell
nested COPY, BMS-generated copybooks handled (the expansion's member files)
missing copybook own-text tag kept (already in copybook_resolution_gaps)
assembler macro text in a copybook by design not a tell

Not done

Distributions for non-burned corpora (dsf MIT, zopeneditor-sample Apache-2.0, census repos): skipped per the mainframe evidence policy (first-contact numbers kept). The issue's "12 corpora" does not match corpora.json (8 pinned, 6 burned).

Gates

pr_gates --fast 6/6, --ratchets 8 pass / 0 fail / 0 skipped. feature_inventory.py --all-burned --check clean after the regeneration. No golden bless needed (tests/tools only).

Cross-repo

None.

Lessons for agents

  • Line.file of an expanded program gives the copybook member files; read them directly instead of re-expanding.

🤖 Generated with Claude Code

…rence per tell (Part of #5117)

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 15, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

Comment thread tests/tools/era_tags.py

# The IBM release or manual behind each tell. `verified` is True only where the statement was checked against an IBM
# page (see `source`); the rest is the release as IBM's documentation names it, still to be checked against the manual.
CITE: dict[str, dict[str, Any]] = {
@squid-protocol

Copy link
Copy Markdown
Owner Author

PR #5194 @ 45dc9a6: 1 failed check(s)

== full-suite part 2/3 (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/38766750635/job/116531893271
repro: python -m pytest -q tests
errors:
fail-on-cache-miss: false
FAIL tests/cobol_mainframe/test_pointer_lane_4771.py::test_a_record_set_onto_a_block_is_an_alias_of_it: 11.0s is over 10s and has no @pytest.mark.slow(reason=...) and no entry in tests/test_time_baseline.json
FAIL tests/cobol_mainframe/test_tool_regex_redos.py::test_catches_the_3205_pattern: 10.1s is over 10s and has no @pytest.mark.slow(reason=...) and no entry in tests/test_time_baseline.json
FAIL tests/cobol_mainframe/test_vsam_repositories.py::test_a_record_longer_than_recordsize_max_is_refused: 10.3s is over 10s and has no @pytest.mark.slow(reason=...) and no entry in tests/test_time_baseline.json
##[error]Process completed with exit code 1.
log tail:
XFAIL tests/extraction/languages/test_dart.py::test_dart_dependency_capture_xfail_invalid[/* \n import 'package:foo/foo.dart'; \n /] - String/comment lookalikes lack AST block shielding
XFAIL tests/extraction/languages/test_dart.py::test_dart_class_start_xfail_invalid[var query = '''\nclass FakeClass {\n''';] - String/comment lookalikes lack AST block shielding
XFAIL tests/extraction/languages/test_dart.py::test_dart_func_start_xfail_invalid[/
\n void main() { \n */] - String/comment lookalikes lack AST block shielding
7721 passed, 370 skipped, 5 xfailed, 16 warnings, 9 subtests passed in 369.94s (0:06:09)
##[group]Run python tests/tools/time_ratchet.py check --times "$RUNNER_TEMP/times-part-2.json"
python tests/tools/time_ratchet.py check --times "$RUNNER_TEMP/times-part-2.json"
shell: /usr/bin/bash -e {0}
env:
PYTHONUTF8: 1
GITGALAXY_LICENSE_KEY: COMMUNITY_FREE_TIER
OMP_NUM_THREADS: 1
EVIDENCE_REPORT_ADVISORY: 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
##[endgroup]
FAIL tests/cobol_mainframe/test_pointer_lane_4771.py::test_a_record_set_onto_a_block_is_an_alias_of_it: 11.0s is over 10s and has no @pytest.mark.slow(reason=...) and no entry in tests/test_time_baseline.json
FAIL tests/cobol_mainframe/test_tool_regex_redos.py::test_catches_the_3205_pattern: 10.1s is over 10s and has no @pytest.mark.slow(reason=...) and no entry in tests/test_time_baseline.json
FAIL tests/cobol_mainframe/test_vsam_repositories.py::test_a_record_longer_than_recordsize_max_is_refused: 10.3s is over 10s and has no @pytest.mark.slow(reason=...) and no entry in tests/test_time_baseline.json
8096 tests checked, 3 over the per-test limit
##[error]Process completed with exit code 1.
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/d3964453-aa20-4f90-ac5f-7414bc5b49ee' 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 15, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-protocol squid-protocol added shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md and removed shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md labels Oct 15, 2026
@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:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md labels Oct 15, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol merged commit ba78a5d into main Oct 15, 2026
28 checks passed
@squid-protocol
squid-protocol deleted the churn/5117-20261015T1557Z branch October 15, 2026 20:52
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.

2 participants