rosetta[cobol] #2567 sweep: 6R/4A → 3R/4A — #2537 re-baseline, shell re-authoring, args morphology ledger - #10
Merged
Merged
Conversation
…gs morphology ledger
…-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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The cobol leg of epic squid-protocol/gitgalaxy#2560, worked per the
rosetta-language-sweepskill 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
fragile_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-todosymbol).comment_lines14 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.
args1 vs 13: NEW validated entrycobol-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 USINGstill records struct_args 1), and everyper-probe alternative (CALL/ENTRY/INVOKE … USING) is also an
apikeyword — overlap-costrejection. Also
globals+50% (WORKING-STORAGE SECTION, already ledgered; keeping therule was confirmed as deliberate design).
state_mutation2 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.jsonwas 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 cobolPASS (75 assertions),schemePASS (72), both against the enginePR's build (
ENGINE_REF=pull/2622/head).Cross-repo
rosetta-auditcheck fails until this PR merges — expected, that's the pinned gate.
ENGINE_REFis set topull/2622/headso this PR's gates run against the engine fix now.ENGINE_REF=mainand merges → gitgalaxy bumpsKEYWORD_ROSETTA_REFto this PR's merge SHA.docs/language_status/cobol.md§10 capstone lands as a separate gitgalaxy docs PR.🤖 Generated with Claude Code
https://claude.ai/code/session_01BsVATdyMPhUoAUNBKbMUVi