Skip to content

feat: calls_out Phase 3 Batch 2 — CALL-verb + mainframe paradigms (#3284) - #3294

Merged
squid-protocol merged 4 commits into
mainfrom
feat/3264-p3-batch2
Sep 22, 2026
Merged

squid-protocol merged 4 commits into
mainfrom
feat/3264-p3-batch2

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Closes #3284. Epic #3264 Phase 3, Batch 2 of 6. Needs #3288 (merged).

What

Language Rule
fortran, pli, rexx, db2_sql, assembly shared CALLS_OUT_CALL_VERB
rexx (extra) calls_out_ignore = {on, off, error} — call on error is a condition trap
abap local (?i)\b(?:PERFORM|CALL\s+(?:FUNCTION|METHOD|TRANSACTION))\s+'?(…)
hlasm local (?i)=V\((…)\) — external linkage constants only
agc_assembly local (?m)\bTC\s+(…) — branches (BZF/BZMF/BMN) excluded
jcl stays UNSUPPORTED — the step-card EXEC is on the signature line, outside the scanned body; deferred to #3292

db2_sql: rule works at splice level but corpus scans persist zero function_data rows — answer-key deferred to #3293.

Verification

  • tests/extraction: 8339 passed (the agent had gutted 4 existing strict files, −2286 lines; restored in full, calls_out additions kept)
  • verify_language.py on all 9: every mismatch is a calls_out_to cell moving in the truth-oracle-approved direction (fortran loses IF/OPEN/READ garbage; assembly/abap/agc gain their real edges)
  • check_calls_out_truth.py: PASS 9/9 against scratch-reblessed manifests
  • ruff format/check + mypy clean; dead-key audit green with the emptied baseline

Companion rebless PR follows after merge (needs manifest canonicalization for fortran/abap/agc + truth-oracle updates for #3292/#3293 — prepared).

🤖 Generated with Claude Code

- fortran/pli/rexx/db2_sql/assembly -> shared CALLS_OUT_CALL_VERB; rexx
  adds calls_out_ignore {on, off, error} ('call on error' is a condition
  trap, not a call).
- abap: PERFORM / CALL FUNCTION|METHOD|TRANSACTION target capture
  (=>method calls are a ledgered recall gap).
- hlasm: =V(NAME) linkage constants (system macros ledgered).
- agc_assembly: TC transfer-control only (BZF/BZMF/BMN are branches).
- jcl: stays CALLS_OUT_UNSUPPORTED -- the step-card EXEC lives on the
  signature line, outside the scanned body; no regex can fire (#3292).
- db2_sql note: rule works at splice level but corpus scans persist zero
  function rows (#3293); answer key deferred.
- dead_key_audit_baseline emptied: rexx ships the first calls_out_ignore
  writer (the entry's documented removal condition).
- strict tests extended for all nine; agent-gutted test files restored
  to their full originals with only the calls_out additions kept.

Verified: tests/extraction 8339 passed; verify_language mismatches are
calls_out_to cells only; check_calls_out_truth PASS 9/9 on scratch-
reblessed manifests.

Co-Authored-By: Claude Fable 5 <[email protected]>
@squid-protocol squid-protocol added the rosetta:rebless-owed Intentionally moves keyword-rosetta counts; audit warns, corpus re-blesses after merge label Sep 22, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

squid-protocol and others added 3 commits September 22, 2026 18:41
# Conflicts:
#	tests/dead_key_audit_baseline.json
…dence)

Both legs drift by exactly one leaf: cpp/NVDA/sconstruct (extensionless,
already-excluded SCons file) Identity Confidence 40.9% -> 8.2%. The
legacy C-style calls_out regex's paren-matches were inflating a candidate
language's detection score on this file; the CALL-verb paradigm removes
those spurious hits. File stays excluded; no other cell moves (verified
via golden_diff.deep_compare on both fixtures: 1 diff each).

Co-Authored-By: Claude Fable 5 <[email protected]>
@squid-protocol

Copy link
Copy Markdown
Owner Author

crucible-audit fix pushed: both golden masters re-blessed. The entire drift is one leaf — cpp/NVDA/sconstruct (extensionless, already-excluded) Identity Confidence 40.9% → 8.2%: the legacy C-style regex's garbage paren-matches inflated a candidate language's detection score there; the CALL-verb paradigm removes them. Verified with golden_diff.deep_compare: exactly 1 diff per leg, nothing else moves.

@squid-protocol
squid-protocol merged commit 0f8da3c into main Sep 22, 2026
33 checks passed
@squid-protocol
squid-protocol deleted the feat/3264-p3-batch2 branch September 22, 2026 23:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

rosetta:rebless-owed Intentionally moves keyword-rosetta counts; audit warns, corpus re-blesses after merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

calls_out Phase 3 Batch 2: CALL-verb + mainframe paradigms

1 participant