Skip to content

Call graph (zig): \\ multiline string literal lines are shielded whole (Part of #6435) - #6438

Merged
squid-protocol merged 2 commits into
mainfrom
churn/6435-20261024T0958Z
Oct 24, 2026
Merged

squid-protocol merged 2 commits into
mainfrom
churn/6435-20261024T0958Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #6435. The zig \\ multiline-string-line half of the issue.

What

_apply_literal_shield (detector.py) gets a zig-only alternative: a \\ line (line start or after whitespace, to end of line) is blanked to "". Before, \\ run(1) read as a call, and // or a lone " on such a line as a comment or quote opener. Edit is confined to _apply_literal_shield.

Differential scan

Golden drift is confined to 3 zig functions (zls config_gen.zig generateVersionDataFile, tigerbeetle build.zig build_node_client, zig main.zig cmdInit): calls_out_to loses names that only occurred in \\ text (e.g. StaticStringMap, initComptime). Both fixtures blessed via golden-lock.sh crucible_check.py --update --yes; LLM brief / graph snapshots follow from those.

Gates

New tests in test_zig_strict.py fail without the fix (6 failed) and pass with it; audit_check.py all clear; ruff format clean.

Sibling gaps

Rust multi-line raw strings (r"...", r#"..."#): the shield's quote pattern is newline-bounded; not probed here. No burned mainframe estate needs it.

Lessons for agents

None new.

Checklist: none on the issue.

🤖 Generated with Claude Code

…ole (Part of #6435)

The literal shield had no alternative for a zig `\\` line, so text on it read as
calls (and `//` or a lone quote on it as a comment or quote opener).

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

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol marked this pull request as ready for review October 24, 2026 10:06
@squid-protocol
squid-protocol enabled auto-merge (squash) October 24, 2026 10:10
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-protocol

Copy link
Copy Markdown
Owner Author

This PR conflicts with main, so no checks ran. Merge origin/main into it and regenerate generated files with their tools (never hand-merge them), then push.

@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 24, 2026
@squid-protocol squid-protocol removed the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 24, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

CI shepherd: the head of this PR (592e7ca) 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).

@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 24, 2026
@squid-protocol squid-protocol added shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md 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 shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md labels Oct 24, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol enabled auto-merge (squash) October 24, 2026 10:34
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol merged commit 202dec0 into main Oct 24, 2026
69 checks passed
@squid-protocol
squid-protocol deleted the churn/6435-20261024T0958Z branch October 24, 2026 11:08
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

1 similar comment
@squid-protocol

Copy link
Copy Markdown
Owner Author

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