skill(rosetta-language-sweep): efficiency lessons from the cobol sweep (#2567) - #11
Merged
Merged
Conversation
…p (#2567) Five instruments the second sweep proved out, inlined where they're used: - bucket 2: the overlap-cost check is one grep against the language's other rules (CALL/ENTRY/INVOKE all in api killed cobol's args authoring idea) - bucket 3: run the authoring test EMPIRICALLY via a scratch git-init + --db-only scan; file-level totals count rule MATCHES, not per-function derived counts (13-name USING still records struct_args 1) - bucket 3: comment_lines = sum(total_loc - coding_loc), blanks count; the classification test is one blank+comment grep vs morphology siblings - Phase 4: the "anything else moving is a red flag" rule has a known benign cause (stale bias_data cache vs engine main) -- attribute movers by which DB columns the change can feed, don't re-scan in circles - Phase 5: workflow_dispatch of rosetta-audit on main after the pin bump = cheap end-to-end proof the loop closed Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BsVATdyMPhUoAUNBKbMUVi
This was referenced Sep 1, 2026
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
Folds the cobol sweep's (gitgalaxy#2567) five efficiency lessons into the skill, inlined at the
point of use rather than as an appendix:
(
CALL/ENTRY/INVOKEall sitting in cobol'sapirule killed the args authoring ideain minutes; same decision shape as jcl's
DISP=).--db-onlyscan, read the column. Documents the engine fact that file-level signal totalscount rule matches, not per-function derived counts (a 13-name
PROCEDURE DIVISION USINGstill recordsstruct_args1).comment_linesis Σ(total_loc − coding_loc), so blank lines count; thebucket-1-vs-3 test is one blank+comment grep against morphology siblings.
stale
bias_data.jsoncache vs engine main (the #2618 case). Attribute movers by which DBcolumns the change feeds instead of re-scanning.
workflow_dispatchofrosetta-audit.ymlon gitgalaxy main after theKEYWORD_ROSETTA_REFbump as the end-to-end closing proof.Skill/docs-only; no
data/diff, so CI runs all 46 gates — expected green (engine main has#2622, manifests re-baselined by #10).
Cross-repo
all merged; no ordering constraints for this PR.
🤖 Generated with Claude Code
https://claude.ai/code/session_01BsVATdyMPhUoAUNBKbMUVi