Skip to content

Haskell calls_out: primed identifiers are not char literals (Part of #6454) - #8252

Merged
squid-shepherd[bot] merged 4 commits into
mainfrom
churn/6454-20261111T0037Z
Nov 11, 2026
Merged

squid-shepherd[bot] merged 4 commits into
mainfrom
churn/6454-20261111T0037Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Summary

Two names ending in a prime on one line (Just (_, t') -> case T.unsnoc t' of, Just u' -> go u') were paired by the shared literal shield as a char literal, which blanked the code between them and dropped real calls (and let a pattern Just read as a call). The Haskell rule now masks an identifier prime before the shield (a real 'a' literal is matched first and left alone) and restores it after, through _calls_out_pre_shield / _calls_out_rewrite.

Re-measure first: call_graph_accuracy.py on the v1.7.0 corpus shows no apply/variable / apply/apply misses left (FN 5 -> 3, TP 329 -> 331, FP 138 -> 137 for haskell). A probe of 19 application shapes found no other missed head.

Class sweep

Class: a prime-ending identifier read as a char-literal quote by the shared shield. Siblings in scope: any head or argument on a line with two primed names (all covered by the same mask). Sibling gaps: infix/- miss (cycle $ with its tail on the next line); where-bound bodies attributed to the parent (ledgered R, #3264); the apply/constructor item. No burned estate needs these.

Golden

Drift is haskell/pandoc only: 5 functions in Shared.hs and App.hs (calls_out_to, graph_sqlite, llm_brief), both fixtures.

Gates

haskell extraction tests (355 pass), audit_check (ruff, mypy, dead-key, doc-refs, ast-accuracy) clear, call_graph_accuracy --ci OK, crucible_check --update via golden-lock.

Checklist: done [c:e595dbf8]

🤖 Generated with Claude Code

…6454)

Two names ending in a prime on one line (`Just (_, t') -> case T.unsnoc t' of`)
were paired by the shared literal shield as a char literal, blanking the code
between them. The rule now masks identifier primes before the shield and
restores them after it.

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 Nov 11, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 11, 2026 00:53
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 11, 2026 00:56
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-shepherd
squid-shepherd Bot disabled auto-merge November 11, 2026 00:59
@squid-shepherd

Copy link
Copy Markdown
Contributor

PR #8252 @ bd80055: 1 failed check(s)

== crucible-audit (zero-dependency) (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/42934882947/job/130242363806
repro: tests/tools/box/golden-lock.sh python tests/tools/pr_gates.py --only golden
failing tests: tests/test_golden_crucible.py::test_golden_crucible_matches_baseline
errors:
2026-11-11 00:55:58,913 [WARNING] [GalaxyScope] ┃ (--fail-on-malware cannot fire). Rule-based threats still run. ┃
FAILED tests/test_golden_crucible.py::test_golden_crucible_matches_baseline - Failed: Structural drift detected against golden_master_zero_dep_audit (68 differences):
##[error]Process completed with exit code 1.
log tail:
│   ├── gitgalaxy
│   ├── github-action-readme.md
│   ├── mkdocs.yml
│   ├── muninn.yml
│   ├── pyproject.toml
│   ├── scripts
│   ├── site
│   ├── templates
│   ├── tests
│   └── zizmor.yml
└── language-crucible
├── AGENTS.md
├── ANTIGRAVITY.md
├── CLAUDE.md
├── LICENSE
├── NOTICE
├── README.md
├── RELEASING.md
├── SECURITY.md
├── SOURCES.md
├── data
├── raw_output
└── tools
14 directories, 25 files
Post job cleanup.
[command]/usr/bin/git version
git version 2.56.0
Temporarily overriding HOME='/home/runner/work/_temp/5a631a58-1ae1-497e-8769-82de85a9ab9b' 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/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-shepherd squid-shepherd Bot added the shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md label Nov 11, 2026
squid-protocol and others added 2 commits November 10, 2026 20:06
…t of #6454)

Main's #8240 (has_header_comment) and #8245 (jcl positional comment surface)
landed without a joint bless; JCL function rows now report Has Header Comment 1
where a header comment precedes them. No Haskell/Rust golden drift.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-shepherd squid-shepherd Bot removed the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Nov 11, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

CI shepherd: the head of this PR (ec4bf11) is not the one a maintainer labelled shepherd:merge on (new commits, or never approved), so the label was removed and nothing merges unreviewed code. Re-add the label when the new head is ready (shepherd:reapprove marks this PR until then). Until then it is a draft and runs the cheap audits only; re-adding the label marks it ready, which starts the full set on that head.

@squid-shepherd
squid-shepherd Bot marked this pull request as draft November 11, 2026 01:17
@squid-shepherd squid-shepherd Bot added shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. 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 Nov 11, 2026
@squid-protocol squid-protocol added shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md labels Nov 11, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 11, 2026 01:26
@squid-shepherd squid-shepherd Bot added the shepherd:retrying Bot: an infra/flake rerun is pending on this head. Guide: docs/ci.md label Nov 11, 2026
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 11, 2026 01:27
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd

Copy link
Copy Markdown
Contributor

PR #8252 @ ec4bf11: 1 failed check(s)

== measure (shard 2/3) (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/42937686143/job/130272309130
repro: python tests/tools/pr_gates.py --fast
errors:
fail-on-cache-miss: false
cobol-stub:pass 3, engine-facts:pass 1, forge-compile:fail 1, java-facade:fail 3, java-ported:fail 3, java:fail 3
cobol-stub:pass 2, engine-facts:pass 1, forge-compile:fail 1, java-facade:fail 2, java-ported:fail 2, java:fail 2
cobol-stub:pass 6, engine-facts:pass 1, forge-compile:fail 1, java-facade:fail 6, java-ported:fail 6, java:fail 6
cobol-stub:unsupported 2, engine-facts:pass 1, forge-compile:fail 1, java-facade:fail 2, java-ported:fail 2, java:fail 2
cobol-stub:pass 4, engine-facts:pass 1, forge-compile:fail 1, java-facade:fail 4, java-ported:fail 4, java:fail 4
cobol-stub:pass 5, engine-facts:pass 1, forge-compile:fail 1, java-facade:fail 5, java-ported:fail 5, java:fail 5
cobol-stub:pass 1, engine-facts:pass 1, forge-compile:fail 1, java-facade:fail 1, java-ported:fail 1, java:fail 1
cobol-stub:fail 1, cobol-stub:pass 2, engine-facts:pass 1, forge-compile:fail 1, java-facade:fail 3, java-ported:fail 3, java:fail 3
cobol-stub:pass 5, engine-facts:fail 1, forge-compile:fail 1, java-facade:fail 5, java-ported:fail 5, java:fail 5
CICS crucible: 97 pass, 257 fail, 2 unsupported (356 cells)
NEW FAIL: ca-address-twa-tctua//forge-compile: mvn compile: [ERROR] [ERROR] Some problems were encountered while processing the POMs:
NEW FAIL: ca-bll-cells/
/forge-compile: mvn compile: [ERROR] [ERROR] Some problems were encountered while processing the POMs:
NEW FAIL: ca-container-ccsid//forge-compile: mvn compile: [ERROR] [ERROR] Some problems were encountered while processing the POMs:
NEW FAIL: ca-get-container-set/
/forge-compile: mvn compile: [ERROR] [ERROR] Some problems were encountered while processing the POMs:
NEW FAIL: gt-assign-startcode//forge-compile: mvn compile: [ERROR] [ERROR] Some problems were encountered while processing the POMs:
NEW FAIL: gt-start-retrieve/
/forge-compile: mvn compile: [ERROR] [ERROR] Some problems were encountered while processing the POMs:
NEW FAIL: gt-start-retrieve/interval-data/java-facade: the ported project: mvn compile: [ERROR] [ERROR] Some problems were encountered while processing the POMs:
NEW FAIL: gt-start-retrieve/interval-data/java-ported: the ported project: mvn compile: [ERROR] [ERROR] Some problems were encountered while processing the POMs:
NEW FAIL: gt-start-retrieve/no-data/java-facade: the ported project: mvn compile: [ERROR] [ERROR] Some problems were encountered while processing the POMs:
NEW FAIL: gt-start-retrieve/no-data/java-ported: the ported project: mvn compile: [ERROR] [ERROR] Some problems were encountered while processing the POMs:
NEW FAIL: gt-start-retrieve/protect-abend/java-facade: the ported project: mvn compile: [ERROR] [ERROR] Some problems were encountered while processing the POMs:
NEW FAIL: gt-start-retrieve/protect-abend/java-ported: the ported project: mvn compile: [ERROR] [ERROR] Some problems were encountered while processing the POMs:
NEW FAIL: gt-start-retrieve/retrieve-lengerr/java-facade: the ported project: mvn compile: [ERROR] [ERROR] Some problems were encountered while processing the POMs:
NEW FAIL: gt-start-retrieve/retrieve-lengerr/java-ported: the ported project: mvn compile: [ERROR] [ERROR] Some problems were encountered while processing the POMs:
... 67 more
log tail:
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
JAVA_HOME: /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/17.0.21-9/x64
JAVA_HOME_17_X64: /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/17.0.21-9/x64
MAVEN_ARGS: -ntp
GITGALAXY_ORACLE_PREBUILT: 1
##[endgroup]
With the provided path, there will be 2 files uploaded
Artifact name is valid!
Root directory input is valid!
Uploading artifact: cics-crucible-shard-2.zip
Beginning upload of artifact content to blob storage
Uploaded bytes 16952
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is fd5300ae5783d12ec5b188108875713ce8a5927df3e72a594b50e4eeaac123b3
Finalizing artifact upload
Artifact cics-crucible-shard-2 successfully finalized. Artifact ID 13823221396
Artifact cics-crucible-shard-2 has been successfully uploaded! Final size is 16952 bytes. Artifact ID is 13823221396
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/42937686143/artifacts/13823221396
Post job cleanup.
Post job cleanup.
[command]/usr/bin/git version
git version 2.56.0
Temporarily overriding HOME='/home/runner/work/_temp/b95e4191-a119-44a8-9c73-0b764e73f7fa' 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/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-shepherd squid-shepherd Bot added shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md and removed shepherd:retrying Bot: an infra/flake rerun is pending on this head. Guide: docs/ci.md labels Nov 11, 2026
@squid-protocol squid-protocol added shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md labels Nov 11, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 11, 2026 03:03
@squid-shepherd squid-shepherd Bot removed the shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md label Nov 11, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

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.

1 participant