Repository navigation
test: Finalize comprehensive COBOL AST pipeline testing suite - #26
Merged
Merged
Conversation
…der routing Expands the test suite to secure the AST-free COBOL JCL templating engine: - Intent Extractor: Proves column-7 comment stripping, UT-S- DD isolation, and transactional (CICS/SQL) block counting. - Zero-Trust Templating: Mathematically verifies job card generation and safe data disposition (DISP=NEW/SHR) routing. - Hygienic Defaults: Asserts that the E2E CLI securely partitions forged JCLs into isolated, timestamped output directories.
Expands the test suite to validate the static COBOL memory and logic analyzer: - Copybook Shapeshifter: Proves the resolver accurately injects local .cpy files and executes strict word-boundary REPLACING substitutions. - AST Math: Mathematically verifies the set-difference logic for calculating orphaned variables and unreachable phantom paragraphs. - E2E Summary: Asserts the CLI correctly recurses file structures to aggregate the estimated LOC bloat removed.
…y deflection Expands the test suite to validate the GitGalaxy Data Lineage Orchestrator: - Ghost Deflector: Proves the IR-context engine successfully blanks out dead paragraphs to prevent hallucinated data dependencies. - Topological Sort: Mathematically verifies Kahn's Algorithm accurately maps Producers -> Consumers to determine flawless execution order. - Cycle Trap: Asserts the engine correctly halts and identifies circular data deadlocks before generating an impossible pipeline.
Expands the test suite to mathematically lock down the GitGalaxy Data Bridge: - Schema Calculator: Proves the engine accurately parses PIC clauses to calculate physical byte boundaries and COMP-3 compression logic. - Hexadecimal Decoder: Mathematically verifies that IBM packed decimal bytes are correctly parsed into Python floats with perfect sign and decimal precision. - E2E Binary Pipeline: Asserts the script flawlessly slices an EBCDIC byte stream, converts cp037 to UTF-8, and outputs clean CSV data.
…bypass Expands the test suite to validate the GitGalaxy pre-processor AST sanitization: - Dialect Sensor: Proves the regex accurately dates compilers based on COBOL-85 scope terminators (END-IF, EVALUATE). - COBOL-85 Modernization: Mathematically verifies the dangerous NEXT SENTENCE trap is safely rewritten to CONTINUE. - COBOL-74 Strict Mode: Asserts that legacy code strictly normalizes spacing without injecting crash-inducing modern syntax. - Fast-Exit Guard: Proves the I/O system cleanly bypasses safe files without triggering disk writes.
…ation Expands the test suite to mathematically lock down the GitGalaxy Cloud Schema Forge: - Translation Engine: Proves the regex accurately converts COBOL PIC boundaries to PostgreSQL types (VARCHAR, SMALLINT, DECIMAL). - Bloat Cutter: Mathematically verifies the IR context drops dead variables, FILLER padding, and 88-level conditions from the cloud schema. - Honesty Sensor: Asserts the engine correctly intercepts dynamic legacy footprints (COMP-3, DEPENDING ON) and injects architectural warnings into the DDL.
… agents, and compiler routing Relocated test files to the correct directory and finalized the validation of the COBOL modernization pipeline: - Cloud Schema Forge: Validated PIC to SQL translation. - Agent Task Forge: Validated JSON ticket generation. - Compiler Forge: Validated dialect routing.
…lsafe Finalizes the GitGalaxy testing suite by locking down the Pre-Compiler Forge: - Dialect Router: Proves the generation engine dynamically switches between legacy (COBUCL) and modern (IGYWCL) compilers based on AST syntax analysis. - Cyclic Failsafe: Mathematically verifies the MAX_RECURSION_DEPTH limit successfully breaks infinite copybook loops without crashing the pipeline stack. - Pipeline Integrity: Asserts the E2E script successfully inlines dependencies, provisions physical IEFBR14 disk space, and exports an executable JCL payload.
Adds integration tests for the master GitGalaxy orchestrator: - Scale Sensor: Proves dynamic toggling between RAM and SQLite based on repo mass. - State Parity: Mathematically verifies identical read/write behaviors across hybrid mediums. - Payload Integrator: Asserts seamless handoffs between the Graveyard, Schema, and Lineage tooling.
Contributor
There was a problem hiding this comment.
CodeQL found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.
6 tasks done
squid-protocol
added a commit
that referenced
this pull request
Nov 7, 2026
…ime) replaces galaxy; clearer file green; agents files labelled and contained - lattice: single-column Yes/No fingerprint; a real growth-tree chain (#14 -> #1 -> #2 -> #5 -> #12 -> #13 -> #26), each step one family with its real function count and level; then the whole 200-shape family. Refuses non-one-family steps. - call graph + agents: files in a distinct green (34,197,94) vs blue functions - agents: file circles computed from final dot positions (always contain their dots), separated in screen space, every file labelled (the 1-function files are real shell scripts: build.sh, engine) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_018srRvh3Fv4eomruTgx3VvY
squid-shepherd Bot
pushed a commit
that referenced
this pull request
Nov 8, 2026
…tour + call-graph zoom-out), rendered from real engine output (#8036) * docs/media: animations of what the engine reads (function explainer in C/Python/Java/COBOL, call-graph zoom-out) + generators Rendered from real engine output: scripts/media/function_explainer.py scans the file, takes the function's DB row, locates every counted keyword-rule match on the engine's comment-free code stream and refuses to render if a highlight count differs from the engine's; scripts/media/callgraph_explainer.py animates the scan's graph output (calls_out_to + imports) from one function to the whole codebase. README gets the C explainer under the headline table. zlib sources attributed (zlib license); the other examples are ours. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_018srRvh3Fv4eomruTgx3VvY * docs/media: separate size/comments and fingerprint bands, larger legends; galaxy styling for the call graph Function explainer: the record panel now has three non-overlapping bands (legend rows at 19/28 px, size & comments, fingerprint). Call graph: deep-navy sky, glowing per-file clusters in cool tones, glowing cyan calls / violet cross-file calls / pink imports, amber traced path, larger legend and status text. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_018srRvh3Fv4eomruTgx3VvY * docs/media: call graph in four plain colours (functions blue, files green, calls red, imports yellow) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_018srRvh3Fv4eomruTgx3VvY * docs/media: five more explainers from real data (galaxy, same-job agents, DOOM ports, copy-finding, COBOL->Java ladder) - galaxy: gzeof's shape (#13 of the population lattice, 54,522 functions) and the 200-shape lattice, with GitGalaxy's real week-to-week shape moves - agents-same-job: agent-habits Java chess by Sonnet / Haiku / Codex, call graphs + shape mix, with the WILD caveat - doom-ports: DOOM's DNA wiring kept per port vs shuffled baseline (docs/wiki/museum-of-code/doom-dna/data.json) - copyfinding: OpenSSL -> BoringSSL C++ by structure, ranks recomputed with the LAY scorer; leads with the general 44% (572 copies), the study's 94% labelled as the CVE subset - proof-ladder: COUSR01C at L5 from the published evidence report, levels never called proven docs/media/README.md documents each with sources and caption caveats. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_018srRvh3Fv4eomruTgx3VvY * docs/media: lattice explainer (shapes built one keyword family at a time) replaces galaxy; clearer file green; agents files labelled and contained - lattice: single-column Yes/No fingerprint; a real growth-tree chain (#14 -> #1 -> #2 -> #5 -> #12 -> #13 -> #26), each step one family with its real function count and level; then the whole 200-shape family. Refuses non-one-family steps. - call graph + agents: files in a distinct green (34,197,94) vs blue functions - agents: file circles computed from final dot positions (always contain their dots), separated in screen space, every file labelled (the 1-function files are real shell scripts: build.sh, engine) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_018srRvh3Fv4eomruTgx3VvY * docs/media: no intro slides + GitGalaxy corner mark on every film; lattice ends with real-size unlabelled dots, alternate parentage and a closing title - scripts/media/_brand.py: plain 'GitGalaxy' bottom-right on every frame; every generator's title card removed - lattice: after the chain, dots are unlabelled and sized by functions sharing the shape; light grey dotted lines show the 219 alternate-parent links (148 of 200 shapes), the chain's own alternates highlighted; closing title '6.9 million functions · 571 repositories · 56 languages · 14 shape families' (counts from the population DB) - attribution lines shortened so they never run into the corner mark Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_018srRvh3Fv4eomruTgx3VvY * docs/media lattice: closing title at the bottom without a box, headline 'half (49.7%) fall into the 200 shapes drawn'; purple shapes; subtle grey alternate parents Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_018srRvh3Fv4eomruTgx3VvY * docs/media lattice: portrait 1280x1440, packed level columns (no overlap), every circle the same purple and transparency at the end Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_018srRvh3Fv4eomruTgx3VvY * docs/media lattice: after the example path, the left panel shows the final results; the chain fades into the plain lattice (no history); legend shows only what is on screen Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_018srRvh3Fv4eomruTgx3VvY * docs/media function films: constant title 'How GitGalaxy Reads a Function' on every frame Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_018srRvh3Fv4eomruTgx3VvY * docs/media: new illustration 'Did someone copy your function?' (made-up sea of repos/files/functions, 50 misses, then a renamed match) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_018srRvh3Fv4eomruTgx3VvY * README: fingerprint-match illustration under the function film; proof-ladder film in CICS to Java; call-graph film in Graph validation Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_018srRvh3Fv4eomruTgx3VvY --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
2 of 4 tasks
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.
This PR mathematically locks down the GitGalaxy COBOL modernization pipeline with 76 invariants.
Key components validated: