Skip to content

Readings ledger: ratify the provisional tree-sitter rows, record the C++ reading (Part of #8863, #8862) - #9264

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

squid-shepherd[bot] merged 6 commits into
mainfrom
churn/8863-20261125T0109Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #8863 (#8862 contract readings). Stacked on #9257 (head churn/8863-slice2): this branch merges it, so the first two commits are #9257's; the diff shrinks once it merges.
Checklist: partial [c:a9dfa2bb] -- owner rulings (assert, doc form, comprehensions and generator expressions, ??) and the llm_api absence entries remain

Cross-repo: no companion repo. Merge order: #9257 first. Nothing re-runs after.

What

docs/family_oracle_readings.md: the nine tree-sitter rows #9257 left "provisional" (args, closures, decorators, bitwise_ops, debug_prints, thread_sleeps, regex_execution, time_date_logic, io) are re-read against their contract sentences in signal_contracts.py and given a verdict and a note. A C++ row is added to the per-language table (std::cout << is a print, cin >> is io, no closures oracle, catch is a handler).

Finding: debug_prints is an open question with an oracle fix owed. The contract excludes output addressed to a file or writer, but the C and C++ callee lists count fprintf, vfprintf, fputs, fputc and putc by name whatever the stream, so the oracle over-counts against the contract. Not fixed here (the oracle code is #9257's files).

Tests

tests/tools/test_family_oracle_readings.py (new): no tree-sitter row is provisional, every ledger family has a contract and an allowed verdict, every oracle language is named in the ledger, the C++ reading is recorded. test_family_oracle.py still passes (86 together).

Class / Sibling gaps

Class: oracle readings in the ratification ledger that nobody had read against the contract (provisional rows, an unrecorded C++ reading). Members handled: the nine provisional shared rows and C++. Sibling gaps:

  • C / C++ debug_prints callee lists count writer-addressed fprintf / fputs / putc (oracle fix in family_oracle_ts.py, family_oracle_specs_c.py; not here, Readings ledger: tree-sitter oracle rows, drop "Not yet realigned" (Part of #8863, #8862) #9257 owns them).
  • Owner-only rulings: assert as an abort, the doc form, generator expressions under comprehensions, ?? as short_circuit.
  • llm_api has a rule in 3 of 79 languages; an absence entry per SDK language is owed (rule changes plus golden bless, a different mechanism).
  • Baseline rescans (family_oracle.py --lang X --corpus NAME --update-baseline) per corpus.

Remaining slices

  1. Fix the C / C++ debug_prints callee lists (oracle code, after Readings ledger: tree-sitter oracle rows, drop "Not yet realigned" (Part of #8863, #8862) #9257) and rescan C and C++.
  2. The owner rulings above.
  3. llm_api absence entries.

🤖 Generated with Claude Code

@squid-protocol

Copy link
Copy Markdown
Owner Author

Waiting on an owner decision (asked privately, 2026-11-25). Nothing is needed from contributors; work resumes once it is answered.

…dger conflicts resolved)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@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 07:35
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 25, 2026 07:36
@squid-shepherd
squid-shepherd Bot disabled auto-merge November 25, 2026 07:49
@squid-shepherd

Copy link
Copy Markdown
Contributor

This PR conflicts with main, so no checks ran. Merge origin/main into it and regenerate generated files with their tools (never hand-merge them), then push.

@squid-shepherd squid-shepherd Bot added the shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md label Nov 25, 2026
…ep the ratified rows)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-shepherd squid-shepherd Bot removed 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

CI shepherd: the head of this PR (912e07f) is not the one a maintainer labelled shepherd:merge on (new commits, or never approved), so the label was removed and nothing merges unreviewed code. Re-add the label when the new head is ready (shepherd:reapprove marks this PR until then). Until then it is a draft and runs the cheap audits only; re-adding the label marks it ready, which starts the full set on that head.

@squid-shepherd
squid-shepherd Bot marked this pull request as draft November 25, 2026 07:56
@squid-shepherd squid-shepherd Bot added shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md and removed shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md labels Nov 25, 2026
@squid-protocol squid-protocol added shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md labels 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 07:58
@squid-shepherd squid-shepherd Bot added the shepherd:retrying Bot: an infra/flake rerun is pending on this head. Guide: docs/ci.md label Nov 25, 2026
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 25, 2026 07:59
@squid-shepherd squid-shepherd Bot removed the shepherd:retrying Bot: an infra/flake rerun is pending on this head. Guide: docs/ci.md label Nov 25, 2026
@squid-shepherd
squid-shepherd Bot merged commit f6c8cd0 into main Nov 25, 2026
69 of 89 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/8863-20261125T0109Z branch November 25, 2026 08:29
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