Skip to content

harness_report: REDEFINES chosen by another field, with symbols (Part of #4493) - #5506

Merged
squid-protocol merged 1 commit into
mainfrom
churn/4493-20261018T1707Z
Oct 18, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
churn/4493-20261018T1707Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #4493. Checklist: done [c:eb807448]

What

harness_report listed any REDEFINES without fields rules as an input-generation blocker. It now lists one only when another field chooses the alternative: a group alternative, or 2+ items over one target. A same-bytes elementary re-view and a FILLER redefine are no longer listed, because the first alternative the generator fills already holds them.

Each listed record names its symbols, for example A -> B/C (selector KIND). The selector is the nearest preceding sibling with 88-level values, else a field whose name says it is a code, else selector not found. The symbols appear in the JSON (symbols, only when non-empty), the blocker items and the Markdown page.

Burned estates

No burned @generate record carries a REDEFINES, so no page changes. test_burned_generated_records_have_no_redefines_chosen_by_a_field pins that.

Tests / gates

test_harness_report.py: 15 pass, with plain pytest from /tmp as well. audit_check.py and pr_gates.py --fast pass. No golden bless, since this is test tooling only.

Sibling gaps

  • A selector tested only in a program's PROCEDURE DIVISION (EVALUATE/IF) is not read. The selector is guessed from the record.
  • GenApp CA-REQUEST-SPECIFIC is the real case, but GenApp has no @generate case yet.

Lessons for agents

Bare ruff check shows hundreds of S101 findings on tests. Use audit_check.py instead.

🤖 Generated with Claude Code

…alternative, and name the symbols (Part of #4493)

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 Oct 18, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

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