RHL-16 + RHL-2: vocabulary v2 and corpus v2; ruchy fix --safe; ruchy vocab - #235
Merged
Merged
Conversation
…ttribute check - vocab/fleet-v2.yaml, vocab/tickets-v2.yaml: every v1 term carried forward unchanged, each with its own contracts/rhl-<vocab>-<term>-v2.yaml; file ticket gains attributes [title: Text, label: Text]; ticket count is a new measure (Count) with no effect. lowers_to and sigma_entity stay [U]. - Checker: in the with-block of an action that declares attributes, each line is an attribute assignment: an undeclared name is V001 (listing the declared attributes) / V002 / V003 by nearness; a value of the wrong type is T002. Actions without attributes keep the v1 behaviour. - rhl16_ tests: v2 vocabulary shape, the v2 corpus harness, attribute and no-effect-measure unit tests. Pmat-Ticket: RHLGA-1 Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
- 12 valid programs rewritten for fleet v2 / tickets v2: each declares exactly the effects it uses; 03/08 compare runner load of with a Percent, 04/09 pin status of with a Text, 05/10 tickets filed in with a count; disk-usage programs file on high usage. Each checks clean (only unverified host/repo notes, Amendment A3) and is in fmt normal form. - 72 planted breaks, the same six classes, regenerated from the v2 bases with v1's break.yaml schema; wrong-unit/04 and /09 mutate every 1 hour -> 1 GB. Every code lands on its mutated line and is new relative to its base. - v1 (docs/rhl/breaks/valid, planted) is untouched. Pmat-Ticket: RHLGA-1 Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
- docs/rhl/PREREGISTRATION.sha256 regenerated with its documented command: 173 added hashes (156 v2 corpus files, 2 vocabularies, 15 contracts) and the file count; no v1 hash changed. - docs/rhl/rhl-16-v2.md: what changed v1 -> v2 and why, per program; the attribute rule; the no-effect measure rule. No diagnostic code added. Pmat-Ticket: RHLGA-1 Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…eclared names in expected
V001 means no candidate, so the declared attributes move from candidates to expected {kind: attribute, of, names}; Expected gains of and names.
Pmat-Ticket: RHLGA-1
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…alidate, loader shape checks fix --safe applies safe fixes one at a time, re-checks the whole file, reverts a fix after which the error count rose (ruling Q5), bounded by the initial safe-fix count, idempotent. vocab verbs read through the checker's loader; entity without instances_from and unit without gives break the shape (RHL-V004). Pmat-Ticket: RHLGA-1 Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Pmat-Ticket: RHLGA-1 Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…ates the V001 ruling Pmat-Ticket: RHLGA-1 Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Pmat-Ticket: RHLGA-1 Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Pmat-Ticket: RHLGA-1 Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This was referenced Sep 23, 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.
Rows RHL-16 and RHL-2 of RHL-001, phases P1 and P2 of
docs/rhl/rhlga-1-plan.md.RHL-16: vocabulary v2 and the v2 corpus
vocab/fleet-v2.yamlandvocab/tickets-v2.yamlcarry every v1 term forward, each with its own-v2contract.file ticketdeclares the attributestitleandlabel.ticket countis new: a measure with no effect, counting the tickets a run files.docs/rhl/breaks/v2/: the 12 valid programs, rewritten so each is type- and effect-correct under v2, plus 72 planted breaks in six classes.with … endblocks under actions that declare attributes. Actions without attributes behave as before.PREREGISTRATION.sha256only adds lines; the one removed line is the old# files: 301count.RHL-2:
ruchy fix --safe,ruchy vocab, the vocabulary shaperuchy fix --safe:ruchy vocab list | show | validate [--format json]uses the checker's own loader.contracts/rhl-vocabulary-shape-v1.yamlstates the shape;pv validateexits 0.expected.Verification (orchestrator re-runs)
cargo test --lib rhl: 181 pass.cargo test --test rhl_cli: 6 pass.ruchy checkafterruchy fix --safe. 12/12 two-candidate breaks are byte-unchanged by it.cargo clippy --all-targets -- -D warningsandcargo fmt --check: clean.rhl16_tests.docs/audits/quorum-RHLGA-1.json). All three lanes are gemini-family models, so the orchestrator re-checked the v1-freeze claims mechanically.Pmat-Ticket: RHLGA-1
🤖 Generated with Claude Code