Repository navigation
Framing core with contracts, ledger for every surface, and integer-rendering evidence (not yet run) - #58
Draft
hyperpolymath wants to merge 1 commit into
Draft
Framing core with contracts, ledger for every surface, and integer-rendering evidence (not yet run)#58hyperpolymath wants to merge 1 commit into
hyperpolymath wants to merge 1 commit into
Conversation
Owner rulings of 2026-12-02: beta covers every ledger surface, the integer fast path stays and is to be proved, and tests are specified, not proved. - src/framing_core.rs: matches_canonical and line_end, dependency-free, with Pearlite contracts (not yet run) and differential tests. profile.rs and records.rs call them. Included by path in the harness, with one more true and one more false control. - tests/integer_rendering.rs: the integer fast path against the ryu-js path for the equal double, byte for byte (TESTED evidence for J-9). - verification/PROOF-STATUS.adoc: sections for profiles and framing (F-1 to F-6), the command-line tool (C-1 to C-5, boundary A-8), and the oracle, generator and evidence boundary of every test file. No verifier has been run. 27 obligations: PROVEN 0, TESTED 19, OPEN 8. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01J4QvDfneftEg71bUadt3v3
|
Review these changes at https://app.gitnotebooks.com/hyperpolymath/ijson-jcs/pull/58 |
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the
|
|
❌ The last analysis has failed. |
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.
Stacked on #57 (base
claude/beta-member-order), the top of the #53 → #54 → #55 → #57 stack. Follows the owner rulings of 2026-12-02: beta covers every ledger surface; keep the integer fast path and prove it; specify tests, do not prove them.No verifier has been run. Nothing here is
PROVEN.What is in the PR
src/framing_core.rsmatches_canonical(the canonical bytes, optionally plus one line feed) andline_end(where a line stops), dependency-free, with Pearlite contracts behindcfg(creusot)src/profile.rs,src/records.rsverification/creusot/SCOPEand the gate self-test followtests/integer_rendering.rsverification/PROOF-STATUS.adocNot written, by agreement with the hub until the first Creusot run: contracts on
classify,Records::parse,canonicalize_records, the JSON-LD entry point and the whole CLI, and thestd::fs/std::ioboundary specification (A-8). Their rows exist and say so.Evidence (executed here, rustc 1.99.1)
cargo test --locked --all-featuresmatches_canonicalagainst the previous ruleline_endand the record splitter against the previous splittersrc/framing_core.rstests/integer_rendering.rsscripts/tests/proof-gate-test.sh(stub verifiers)-D warnings,cargo fmt --checkscripts/proven-coverage.shclassifyWhile writing
matches_canonicalI introduced and caught a subtraction that would have underflowed on an empty input; the test for it (matches_canonical(b"", b"{}", true)) is in the file.Row census
Denominator: 27 obligations across the four sections (J 9, R 7, F 6, C 5).
PROVENPROVEN-WITH-AXIOMSTESTEDASSUMEDOPENTrust boundaries: 8, all
ASSUMED; A-8 (std::fs,std::io) has no written specification yet. Under the beta gate,TESTEDblocks a tag exactly asOPENdoes, so all 27 remain to be proved. Engineering proofs are not PWG-graded.Generated by Claude Code