Skip to content

lens: a Fortran .inc file resolves to fortran on Fortran evidence (agy-authored, Sonnet-checked) (Fixes #4974) - #5020

Merged
squid-protocol merged 6 commits into
mainfrom
churn/4974-20261013T0308Z
Oct 13, 2026
Merged

squid-protocol merged 6 commits into
mainfrom
churn/4974-20261013T0308Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

agy-authored, Sonnet-checked. Fixes #4974.

A fixed-/free-form Fortran .inc resolved to c; fortran had no internal_discriminator. Adds one (COMMON/EQUIVALENCE/PARAMETER/IMPLICIT/typed declarations/::/SUBROUTINE/FUNCTION/END units/dotted logicals/DIMENSION/DATA/FORMAT/PRINT/CONTAINS/INTERFACE) plus extensions_needing_discriminator: [.inc].

Checker fixes: dropped bare END IF/DO/SELECT and narrowed COMMON so a NASM common sym 4 assembly .inc is not claimed (tests added).

.inc claimant status
fortran this PR
php #4973 / #5014
c, cpp, assembly no discriminator; Tier-3 lexical (sibling gap)

Tests: alone + all six rival neighbourhoods x 13 Fortran styles, non-Fortran never fortran, .f unaffected, ReDoS.

Golden: re-blessed with crucible_check.py --update --yes (both legs). Only fortran/wrf .F identity proof changes ("Single Indicator (Ext: .f)" -> "Absolute Consensus (Ext + Internal Signature)") plus dependent rollups/brief. scope_check shows 28 diffs, all fortran paths or rollups of them.

Gates: pr_gates --fast 5/5, --ratchets 7/7.

🤖 Generated with Claude Code

@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

squid-protocol and others added 2 commits October 13, 2026 06:51
…roup so CodeQL sees ^/$ as matchable (Part of #4974)

Same matches (0 diffs on 2000 corpus files; 414 tests pass).

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@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 Oct 13, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

CI shepherd: the head of this PR (725e0d0) 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 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:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md labels Oct 13, 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 13, 2026 10:57
@squid-protocol
squid-protocol enabled auto-merge (squash) October 13, 2026 10:57
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@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.

@squid-protocol
squid-protocol merged commit fd2fc34 into main Oct 13, 2026
54 checks passed
@squid-protocol
squid-protocol deleted the churn/4974-20261013T0308Z branch October 13, 2026 11:15
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.

lens: a fixed-form Fortran .inc file resolves to c (no fortran .inc discriminator)

2 participants