Skip to content

chore(ir): refresh vendored Trope IR schema to 0.2 (R-2026-07-07) - #42

Merged
hyperpolymath merged 3 commits into
mainfrom
feat/vendored-ir-0.2
Jul 29, 2026
Merged

hyperpolymath merged 3 commits into
mainfrom
feat/vendored-ir-0.2

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

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.

Summary

Changes

RSR Quality Checklist

Required

  • Tests pass (just test or equivalent)
  • Code is formatted (just fmt or equivalent)
  • Linter is clean (no new warnings or errors)
  • No banned language patterns (no TypeScript, no npm/bun, no Go/Python)
  • No unsafe blocks without // SAFETY: comments
  • No banned functions (believe_me, unsafeCoerce, Obj.magic, Admitted, sorry)
  • SPDX license headers present on all new/modified source files
  • No secrets, credentials, or .env files included

As Applicable

  • .machine_readable/6a2/STATE.a2ml updated (if project state changed)
  • .machine_readable/6a2/ECOSYSTEM.a2ml updated (if integrations changed)
  • .machine_readable/6a2/META.a2ml updated (if architectural decisions changed)
  • Documentation updated for user-facing changes
  • TOPOLOGY.md updated (if architecture changed)
  • CHANGELOG or release notes updated
  • New dependencies reviewed for license compatibility (MPL-2.0 / MPL-2.0)
  • ABI/FFI changes validated (src/interface/abi/ and src/interface/ffi/ consistent)

Testing

Screenshots

hyperpolymath and others added 2 commits July 7, 2026 11:23
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>
@hyperpolymath
hyperpolymath enabled auto-merge (squash) July 29, 2026 22:39
@hyperpolymath
hyperpolymath disabled auto-merge July 29, 2026 23:13
@hyperpolymath
hyperpolymath merged commit bcb9289 into main Jul 29, 2026
17 checks passed
@hyperpolymath
hyperpolymath deleted the feat/vendored-ir-0.2 branch July 29, 2026 23:13
@sonarqubecloud

Copy link
Copy Markdown

hyperpolymath added a commit that referenced this pull request Oct 27, 2026
## Summary

Phase 0 of the trope-stack plan ("make the truth legible"): reconcile
this repo's status surfaces with what actually runs, from commands run
in the session that wrote them. Tasks A1–A2 of the Phase 0 brief. One
commit per task. Documentation only.

Sibling PRs: [trope-checker
#102](hyperpolymath/trope-checker#102) ·
[trope-particularity-workbench
#77](hyperpolymath/trope-particularity-workbench#77)
· [hermeneia #76](hyperpolymath/hermeneia#76) ·
[vocarium #42](hyperpolymath/vocarium#42).
Suggested landing order: trope-checker, workbench, this one, hermeneia,
vocarium. Deferred: [#82 A2ML
retirement](#82).

## Changes

- **A1** `README.adoc` — the five-repo map paragraph, verbatim, appended
to "Where it sits — the three-repo picture".
- **A2** `AFFIRMATION.adoc` — a `== As of 2026-10-27` entry from
`TROPECHECK_BIN=<tropecheck-rs> bash tests/check-examples.sh`: 3
examples well-formed, the vendored `design/trope-ir.schema.json` matches
the canonical checker schema, 3 round-trips to the stated verdicts
(`faithful-record` sufficient, `survey-collapse` insufficient at
`e_collapse/fate.quality`, `station-average` sufficient). The honest
scope is kept: no compiler, no LSP, no runtime, O2 stated not
discharged, no proofs. `:revdate:` bumped.

## RSR Quality Checklist

### Required

- [x] Tests pass (`tests/check-examples.sh` → all ok)
- [x] Code is formatted (no code changed)
- [x] Linter is clean (no code changed)
- [x] No banned language patterns
- [x] No `unsafe` blocks without `// SAFETY:` comments (none added)
- [x] No banned functions
- [x] SPDX license headers present on all new/modified source files
- [x] No secrets, credentials, or `.env` files included

### As Applicable

- [ ] `haec_chora.deed` — not applicable (A2ML still in place here;
retirement is issue #82)
- [x] Documentation updated for user-facing changes
- [ ] `docs/architecture/TOPOLOGY.adoc` — architecture unchanged
- [ ] `CHANGELOG` — not touched (docs-only status pass)
- [ ] New dependencies — none
- [ ] ABI/FFI changes — none

## Testing

Run in the session on haec `e9bee39`, 2026-10-27T07:49Z:

```
TROPECHECK_BIN=<tropecheck-rs> bash tests/check-examples.sh
  ok   faithful-record.haec → faithful-record.ir.json (well-formed IR, expects p-sufficient)
  ok   survey-collapse.haec → survey-collapse.ir.json (well-formed IR, expects p-insufficient)
  ok   station-average.haec → station-average.ir.json (well-formed IR, expects p-sufficient)
  ok   vendored design/trope-ir.schema.json matches the canonical checker schema
  ok   round-trip faithful-record.ir.json → p-sufficient
  ok   round-trip survey-collapse.ir.json → p-insufficient (witness e_collapse/fate.quality)
  ok   round-trip station-average.ir.json → p-sufficient
  examples: all lower to valid Trope IR
```

`tropecheck-rs` built from trope-checker `44020f9` (`main` 216f23b plus
the two Phase 0 spec/CI patches, which do not touch `src/rust`).

Not run: nothing else is claimed.

## Owner-only items

- Sign the AFFIRMATION commit on landing.
- A2ML retirement in this repo (issue #82).

## Screenshots

n/a

🤖 Generated with [Claude Code](https://claude.com/claude-code)

https://claude.ai/code/session_01J4QvDh3p24SCUjyM9HHT31

---------

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant