Skip to content

rosetta[cobol] #2567 sweep: 6R/4A → 3R/4A — #2537 re-baseline, shell re-authoring, args morphology ledger - #10

Merged
squid-protocol merged 3 commits into
mainfrom
feat/2567-cobol-sweep
Aug 31, 2026
Merged

rosetta[cobol] #2567 sweep: 6R/4A → 3R/4A — #2537 re-baseline, shell re-authoring, args morphology ledger#10
squid-protocol merged 3 commits into
mainfrom
feat/2567-cobol-sweep

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Summary

The cobol leg of epic squid-protocol/gitgalaxy#2560, worked per the rosetta-language-sweep
skill against tracking issue squid-protocol/gitgalaxy#2567. Live table (which supersedes the
issue title's 4R/8A — the post-#2618 api re-baseline had already moved keyword_hits and
risk_api_exposure): 6 red / 4 amber → 3 red / 4 amber, and every residual is now ledgered
or pinned to a named cross-cutting issue — the epic's close criterion.

The five-bucket classification

  1. Real engine bugfragile_debt +200% / planned_debt +100% = gitgalaxy#2537
    (debt keywords matching inside hyphenated identifiers: HACK-LEVEL, PROBE-TODO).
    Fixed upstream by gitgalaxy PR #2622; cobol c.cpy re-baselined 3→1 / 2→1 and scheme
    c.scm 2→1 here (scheme reproduced the leak via its probe-todo symbol).
  2. Missing rule w/ morphology — none this sweep.
  3. Corpus authoring gapcomment_lines 14 vs median 30 (−53%, lowest of all 46):
    cobol was the only corpus language authored with zero blank lines (fortran/ada
    siblings carry ~12). Shells re-authored with idiomatic spacing + neutral banners
    (debt-keyword-safe; signal placement unchanged) → 33, in-band.
  4. Intended morphology, ledgeredargs 1 vs 13: NEW validated entry
    cobol-args-clause-match-morphology. Bucket-3 test run first (jcl PARM= precedent):
    verified empirically that the file-level metric counts USING/RETURNING clause matches,
    not names (a 13-name PROCEDURE DIVISION USING still records struct_args 1), and every
    per-probe alternative (CALL/ENTRY/INVOKE … USING) is also an api keyword — overlap-cost
    rejection. Also globals +50% (WORKING-STORAGE SECTION, already ledgered; keeping the
    rule was confirmed as deliberate design).
  5. Median inflation / cross-cuttingstate_mutation 2 vs 6: cobol is the honest one
    (planted=2), median inflated by #2546 ×3 flux. high_risk_execution +50% / io +33%:
    the a.cpy string decoy, blocked on #2535's shielding design question. §3 risks are
    downstream shadows (risk_cognitive_load −57%, risk_safety_score +42% remain until
    #2535/#2545/#2546 land).

Bias artifacts regen note

docs/bias_data.json was last committed before engine #2618 (orphan/duplicate census fix)
merged — PR #8 re-baselined the 13 api manifest cells but not the cache. This regen folds
that drift in (sqlite/shell/livecode/lua/matlab/ruby risk_api_exposure / risk_tech_debt /
keyword_hits move). Verified the #2537 guard can only touch fragile_debt/planned_debt: the
two GLOBAL patterns feed exactly those keys in all 45 consuming languages.

Gates

verify_language.py cobol PASS (75 assertions), scheme PASS (72), both against the engine
PR's build (ENGINE_REF=pull/2622/head).

Cross-repo

🤖 Generated with Claude Code

https://claude.ai/code/session_01BsVATdyMPhUoAUNBKbMUVi

squid-protocol and others added 3 commits August 31, 2026 18:58
…-authoring

Also folds in engine #2618 drift (orphan/duplicate census fix) that the last
committed bias_data.json predates -- rosetta PR #8 re-baselined the 13 api
manifest cells but did not regenerate the cache, so sqlite/shell/livecode/
lua/matlab/ruby risk_api_exposure / risk_tech_debt / keyword_hits move here
too. Verified the #2537 guard itself can only touch fragile_debt/planned_debt
(the two GLOBAL patterns feed exactly those keys in all 45 consuming
languages).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BsVATdyMPhUoAUNBKbMUVi
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BsVATdyMPhUoAUNBKbMUVi
@squid-protocol
squid-protocol merged commit 89911a8 into main Aug 31, 2026
1 check passed
@squid-protocol
squid-protocol deleted the feat/2567-cobol-sweep branch August 31, 2026 23:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant