Repository navigation
feat(clist): CLIST language profile, .clist scanned for credentials (Part of #8625) - #8645
Conversation
…edentials (Part of #8625) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
PR #8645 @ e8210ec: 2 failed check(s) == full-suite part 1/4 (failure) -- real 66' in '\n\n# GitGalaxy\n\n### Know any codebase deeply, and give your AI agents the same knowledge.\n\nO
##[error]Process completed with exit code 1. log tail: GITGALAXY_LICENSE_KEY: COMMUNITY_FREE_TIER OMP_NUM_THREADS: 1 pythonLocation: /opt/hostedtoolcache/Python/3.12.16/x64 PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.12.16/x64/lib/pkgconfig Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.16/x64 Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.16/x64 Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.16/x64 LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.12.16/x64/lib PYTEST_ADDOPTS: --ignore=tests/cobol_mainframe ##[endgroup] Multiple search paths detected. Calculating the least common ancestor of all paths The least common ancestor is /home/runner/work/_temp. This will be the root directory of the artifact With the provided path, there will be 2 files uploaded Artifact name is valid! Root directory input is valid! Uploading artifact: test-times-part-1.zip Beginning upload of artifact content to blob storage Uploaded bytes 1002613 Finished uploading artifact content to blob storage! SHA256 digest of uploaded artifact is 7a2958c02803465d63976a9e4515cc54211b431d82b79e11435c764014cafffd Finalizing artifact upload Artifact test-times-part-1 successfully finalized. Artifact ID 14496436425 Artifact test-times-part-1 has been successfully uploaded! Final size is 1002613 bytes. Artifact ID is 14496436425 Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/44451774363/artifacts/14496436425 Post job cleanup. [command]/usr/bin/git version git version 2.56.1 Temporarily overriding HOME='/home/runner/work/_temp/3506c820-d621-433f-948b-d287bdb0b9b6' 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 == full-suite part 2/4 (failure) -- real |
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
CI shepherd: the head of this PR (65953ea) is not the one a maintainer labelled |
|
No description provided. |
|
PR #8645 @ 65953ea: 10 failed check(s) == db2 (failure) -- real == db2 ${{ matrix.shard }} (cancelled) -- infra == equivalence-e2e (failure) -- real == full-suite part ${{ matrix.group }}/${{ needs.shard-plan.outputs.splits }} (cancelled) -- infra == ground-truth part ${{ matrix.shard }} (cancelled) -- infra == ground-truth-warm (cancelled) -- infra == publish-history (cancelled) -- infra == shard ${{ matrix.group }}/${{ needs.plan.outputs.splits }} (cancelled) -- infra == shard ${{ matrix.shard }} (cancelled) -- infra == store the suite's durations (cancelled) -- infra |
Part of #8625 (slice 3 of the mainframe credential-shapes work). Follows #8641 (merged); the diff is slice 3 only (5 hand-written files).
Cross-repo: companion is the keyword-rosetta
data/clistcontrol folder (Remaining slice 4, not in this PR); rosetta CI checks out this repo's main, so it follows this PR. Nothing re-runs here.What changed
clistlanguage profile (languages/clist.py, z/OS TSO/E CLIST:PROC,SET &x,IF/ELSE,DO WHILE/UNTIL,SELECT/WHEN,GOTO,READ/WRITE,OPENFILE/GETFILE/PUTFILE,SYSCALL,%member), extension.clist,standard_blockcomments (PL/I's/* */morphology; no new lexical family, so no prism/aperture/config change).language_standards/__init__.py; strictness row andinfraecosystem inanalysis_lens.py.MAINFRAME_SECRET_LANGUAGESgainsclist: the CLIST credential shapes slice 2 wrote (SET &PW = literalbesideSET &USERID) now fire on a real.clistscan..clistplanted leak and near-miss (&SYSPWDsymbolic, comment naming the keyword) through the real CLI scan, the snippet never holds the value, 13 rule positive/negative cases, extension routing.File count
8 hand-written files: the 5 source/test files plus 3 count-only markdown edits (README tile/table, two wiki counts; 6 changed lines) that
test_readme_hand_counts.pyforces for ANY new language profile. The slice cannot be cut below this; it needs a new-language-profile file-cap grant from the orchestrator.File-cap exception: new language profile forces 3 count-only md edits (README + 2 wiki pages) via tests/tools/test_readme_hand_counts.py
Class / Sibling gaps
Class: the mainframe member types Vault Sentinel must read for credentials (JCL, PROC, REXX, CLIST, embedded Db2) and how each reaches a language profile. Status per member: JCL handled (slice 2);
.prc/.prochandled (slice 2); REXX.rexx/.exechandled (slice 2); CLIST.clisthandled (this PR); Db2 in COBOL handled (slice 2); REXX.cmdhandled by the existing internal discriminator; extensionless REXX/CLIST members: missing; CLIST deeper hardening: partial.Remaining slices
Sibling gaps (remaining slices, in order):
language_lens.py(first-line/* REXX */vsPROC n/SET &shapes) plus an aperture admit for extensionless text members; needslanguage_lens.py,aperture.py, tests. Different mechanism (content routing), so not here.identifier_case: "insensitive": joins the pinned lexicon set intests/core_engine/test_unreferenced_by_name_contract_2806.py(a sixth file here); left off with a comment inclist.py.security_lens.py_MAINFRAMEset (IKJEFT01/BPXBATCH high-risk scope) should includeclist; sixth file here.docs/language_status/README.mdindex row andclist.md; keyword-rosettadata/clistcontrol folder and its paired corpus PR;tri_comparison_chart.py_GG_ONLY_LANGSentry;language_addition_costs.jsonlline. The audit prints the index-row and rosetta warnings (not hard failures).test_clist_strict.py(ReDoS detonation sweep, both collision directions) per how_to_add_a_language Step 4.Gates
language_addition_audit.py --lang clist: all 5 invariants hold across 79 languages (3 soft warnings, listed above).audit_check.py: ruff, mypy, dead-key, doc-refs, AST accuracy, signal coverage all clear.crucible_check.py(golden masters, both legs): PASS, zero diff (no crucible file is.clist).pr_gates --fast: 9/9 after regeneratingdocs_read_by_tests.txt(regenerated, not counted).pr_gates --ratchets: 6 pass, 3 fail (fact-crosscheck, completeness, ground-truth) all from one cause: theexample-health-apismainframe corpus is not fetched at its pinned ref on this box (COBOL, untouched by a CLIST profile); not re-run after fetching. CI is the check.Lessons for agents
identifier_casemust also join the pinned set intests/core_engine/test_unreferenced_by_name_contract_2806.py: that sixth file is easy to miss when counting the 5-file cap.🤖 Generated with Claude Code