Skip to content

Keyword-rosetta consistency report: snapshot of both runs and the gap list (Part of #8863) - #9271

Merged
squid-shepherd[bot] merged 2 commits into
mainfrom
churn/8863-20261125T0544Z
Nov 25, 2026
Merged

squid-shepherd[bot] merged 2 commits into
mainfrom
churn/8863-20261125T0544Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Tool + report for the epic's step 2 (cross-language consistency on keyword-rosetta). The tool landed earlier (#9233 and predecessors); this PR adds the first real-corpus report. No engine or keyword changes.

Checklist: done [c:be2fa21f]
Checklist: partial [c:a40ab707] -- the mining tool is on main (#9235); timing each candidate token and distinct-function counts from family_oracle.score() are left

What it does

Adds docs/family_rosetta_consistency.md: a dated snapshot (keyword-rosetta 2e67433, engine 719cd20d7b) of family_rosetta_consistency.py with and without --live, with a reading and the gap list. Run 1 (blessed manifests, 30 planted families) has one silent cell: dead_code reads 0 in python while 4 of 5 defining languages fire. Run 2 (--live) adds the unplanted families: 23 silent readings (21 panics_and_aborts, 2 structural_boundaries), which are leads, not defects. A test pins the page's shape (both runs, both commands, the silent-cell section, the gap table).

Class / Sibling gaps

Class: keyword families that fire for the same probe program in most languages that have a rule for them and read 0 (or a different count) in others. Every contracted family and every corpus language goes through one code path in the tool, and the page lists each cell kind (silent, over, under, ledgered, no consensus, not testable).
Sibling gaps: dead_code python silent (rule-contract audit with a keyword-rosetta plant); panics_and_aborts 21 silent readings (compare live count with the post-filtered engine count); calls_out and structural_boundaries count spread (contract audit); no-consensus families need keyword-rosetta SPEC plants; CI --check-floor is an owner decision.

Remaining slices

  1. Rule-contract audit of dead_code for python plus the matching keyword-rosetta plant.
  2. Time candidate tokens from the mining report on keyword-rosetta and language-crucible.
  3. Optional: a regenerate command that rewrites the page, once the corpus is a CI input.

Gates

28 tests pass from an unrelated directory; audit_check.py all clear; ruff format clean. ruff check reports one pre-existing ARG001 in the same test file (capsys, not mine). pr_gates --fast: 9 of 9 after regenerating tests/tools/docs_read_by_tests.txt (generated, +2 lines, the new page is read by the test).
The page is a snapshot of a corpus that moves; it names the SHA and the commands to rerun.

🤖 Generated with Claude Code

@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Nov 25, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 25, 2026 05:51
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 25, 2026 05:52
@squid-shepherd
squid-shepherd Bot merged commit 48fd5a7 into main Nov 25, 2026
61 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/8863-20261125T0544Z branch November 25, 2026 06:10
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.

1 participant