chore(ir): refresh vendored Trope IR schema to 0.2 (R-2026-07-07)#15
Merged
Conversation
Companion to trope-checker#32 (issue trope-checker#28, ADR 0004):
- design/trope-ir.schema.json: refreshed byte-for-byte from the canonical
trope-checker schema — version const "0.1" -> enum ["0.1","0.2"]
(R-2026-07-07: A1 two-sided deceptive zeros, A2 chain retention order,
A3 Attenuated(0)->Present normalization at ingest; wire format
unchanged, verdict semantics changed, hence one bump)
- examples/*.ir.json: version "0.1" -> "0.2" (0.1 stays accepted by the
checkers; examples track the current version)
- build/just/trope.just: haec-examples now invokes the check script via
{{justfile_directory()}} so `just check` works on older just releases
(<=1.32 run imported recipes from the import's own directory)
`just check` passes: examples well-formed, vendored schema matches the
canonical checker schema, and the verdict round-trip through the rebuilt
(normalizing) Idris2 reference checker is unchanged for all examples.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
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.



Companion to hyperpolymath/trope-checker#32 (issue hyperpolymath/trope-checker#28, ADR 0004 — R-2026-07-07).
What
design/trope-ir.schema.json: refreshed byte-for-byte from the canonical trope-checker schema.versiongoesconst "0.1"→enum ["0.1", "0.2"]: IR 0.2 bundles the R-2026-07-07 semantic changes (A1 two-sided deceptive zeros, A2 chain retention order, A3Attenuated(0)→Presentnormalization at ingest) in one bump; the wire format is unchanged, and 0.1 documents stay accepted and grade identically under 0.2 semantics.examples/*.ir.json:"version": "0.1"→"0.2"(examples track the current version).build/just/trope.just:haec-examplesnow invokes the check script via{{justfile_directory()}}— olderjustreleases (≤1.32, e.g. the 1.21.0 on the dev box) run imported recipes from the import file's own directory, sojust checkpreviously died withtests/check-examples.sh: No such file or directory. Pre-existing bug, surfaced while verifying this change.README.adoc/design/elaboration.adocreference the vendored schema without stating an IR version.Verification
just checkin a worktree with the trope-checker#32 branch as sibling (so the drift-guard and verdict round-trip actually run, against the rebuilt normalizing Idris2 checker):No verdict flips. Note: on a machine whose sibling
../trope-checkercheckout is still pre-#32, the local drift-guard will flag the vendored schema until #32 merges — merge order (#32 first) resolves it; CI is unaffected (no sibling checkout there).🤖 Generated with Claude Code