Repository navigation
GNAF request validation as language-1.2 source (BS-16), first part of #275 - #390
humuhumu33 wants to merge 39 commits into
Conversation
The GNAF request validation of SPEC §17.15 (`gnaf::validate`) becomes a conformance row: `validateRequest` of `GnafValidate`, a language-1.2 production root in the `bootstrap/` project, held to the Rust oracle byte for byte. R3 first commit: the row in model/ids.toml, the SPEC §31 row and total (459), CONFORMANCE.md, the README, repository.rs and spec_links.rs counts, the bootstrap.feature scenario, the bdd-parts and vv-rows entries, and conformance_bs_16, which fails with "no bootstrap case is wired for BS-16". Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
`validateRequest` of `GnafValidate` as a language-1.2 module of the bootstrap project, its entrypoint, and the BS-16 case with its dispatch arm. The module passes `lexlean check`; the plant sites, the measured counts, and the differential run follow. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…275-gnaf-validate # Conflicts: # CONFORMANCE.md # SPEC.md
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Twelve plants are detected, the evaluator agrees on 3862 vectors and rustc on all. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…td.Host (#271) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…PEC and VERIFICATION (#275) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ssue-271-effects-boundary # Conflicts: # README.md # SPEC.md # crates/conformance/src/cases/repository.rs # xtask/src/spec_links.rs
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…idate_request The lock pins GnafValidate; every bootstrap package's provenance records the new semantic digest, and validate_request joins the committed packages. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The package adds one manifest to the committed tree. BS-05 and BS-06 give the measured vector counts; the counts they assert after those are still being measured, and the text that restates them is not yet updated. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…fValidate's case The validate_request package adds a crate and a vector to each corpus that draws on the committed packages. cargo fmt reflows two spots of the BS-16 case. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
… rows BS-14 gives 333 vectors (the vector #371 adds and the one the validate_request package adds), 282 within the bound. The statements of BS-05 to BS-08, BS-13, BS-14 and BS-15, SPEC.md 17.23, CONFORMANCE.md, VERIFICATION.md and the CHANGELOG state the counts of the tree with the package. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The locks, goldens, shipped calculus modules, fixtures, production exports and verification records of the identity PD-10's registry rows move. The relock moved only the ID in 251 negative fixtures, so a lock that is wrong on purpose keeps its defect. The Atlas is language 1.0 and does not move. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ssue-271-effects-boundary
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
AU-04 holds every language-1.2 source of the product to its own printed form. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Preserve lowering's 512-level program bound and one manifest wrapper, read supported inputs on the existing reader stack without serde's 128-level default, and keep each caller's prior JSON validation. Add list, boundary, malformed-input and PX-07 export/replay regressions. Renderer pin and identity regeneration remain required before landing.
…S-16 branch The text and the case registrations of BS-16 and BS-20 stand together; the lock, the export and the counts of the merged tree are regenerated in the next commit. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Generated files (locks, records, golden, production-export) are the release's and are regenerated next; the hand-edited ones are merged: the register count is 470, stdlib entrypoints add Host beside Order, the CHANGELOG keeps both. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…counts (BS-16, #275) The branch contains #364 (aea1333, release/v0.4 at 477a508). On that tree the official writers rewrote the records: `lexlean lock`, `check-production-export --write`, `verify-examples --write` (LEXLEAN_EXAMPLES_PART=without:uor-atlas) and `check-golden --write`; `check-golden` then finds every published artifact equal to its oracle. The committed manifests are 284. Counts measured on this tree: BS-05 and BS-06 284/122/201/260 (284 packages), BS-07 335, BS-08 394; BS-09, BS-10, BS-11 pass unchanged. BS-15 is derived from the manifest count. The other counts are CI's to name; VERIFICATION.md says which is which. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
afflom
left a comment
There was a problem hiding this comment.
The missing GnafValidate build/verification/export records are now present and bind the current bootstrap source. The implementation and differential remain unchanged from the reviewed BS-16 source, and BS-16 passes in the new CI. This is application regeneration, not a competing compiler-identity wave.
Current-head run41667292905 is nevertheless red. Observed versus expected tuples are BS-05 (496,211,361,100) vs (495,211,360,100); BS-06 (687,520,65,2145,1532,0) vs (684,518,64,2145,1532,0); BS-13 (104,52,108) vs (103,52,108); BS-14 (339,285,580) vs (338,285,580). The four Linux partitions fail these assertions; ARM repeats them with466 passes/4 failures. Reconcile the measured final-tree counts and their normative mirrors, retaining the differential/mutation checks. Later assertions behind these failures still need execution; these tuples alone are not complete acceptance evidence.
Also restore the unintended encoding changes. In rust_package.rs:372 the fixture "é" became "é", changing deterministic and seeded input bytes. Comments in rust_package.rs, rust_print.rs and rust_validate.rs also acquired mojibake. These are unrelated to count maintenance.
Let the existing run finish collecting evidence, then consolidate corrections before the next complete gate. The existing PR remains the delivery vehicle; #275 stays open for the later GNAF/evaluator work. The active Host/#402 wave uses a different final compiler identity, so these old-identity bootstrap records cannot be substituted for its integrated output.
|
Restored draft after the concrete current-head failures in review5756003475. The existing run remains intact so its remaining jobs can supply evidence; no rerun or cancellation was requested. Please consolidate the measured count/mirror and encoding corrections before requesting another full matrix. Added scoped #432 to this existing PR's closure, preserving #275's remaining work. The maintainer is not starting a duplicate implementation or replacing your branch. |
|
Maintainer source follow-up for this existing PR/#432 is published at 30171790e, branch The four failed counter tuples are reconciled causally, not relaxed: the generated validate_request package adds exactly one distinct program, with no prior program removed. Its lowering/exported-name forms and the step-by-seven capacity sample explain BS-05/06; its size and looping shape explain BS-13/14 without changing evaluator bounds or mutation coverage. Register, scenario and SPEC mirrors match. Seven Unicode lines, including the actual The audit also reconciles BS-15's stale prose: 303 manifests and3,190 rustc runs follow the existing strict assertions and passing job126026329845/run41667292905 (synthetic mergefc16794). This is historical evidence before Unicode restoration, not execution of the new correction. This is source preparation only: no Cargo build, tests, writer, identity change or new CI run. CONFORMANCE.md still requires its official model writer; later assertions behind the four old failures and the final integrated tree still need execution. Incorporate these reviewed source fixes through this existing PR before final writers/gate. Coordinate the final bootstrap source with the post-Host #393 regeneration rather than starting another competing writer. Corpus values must be measured again if that integration changes their inputs. #275 remains open. |
#275) CI at 7b854b6 passed BS-07, BS-08, BS-10, BS-11, BS-12, BS-15, BS-16 and BS-20 with the counts of the previous commit and named the first count assertion of four rows: BS-05 496 runs of validateCrate (211 refused) and 361 of correspondCrate; BS-06 687 vectors of printCrate (65 refused, 520 committed distinct), so 2,832 vectors; BS-13 104 vectors; BS-14 339 vectors. The statements, scenarios, CONFORMANCE.md, SPEC.md (section 31 and 17.23) and VERIFICATION.md state them. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
afflom
left a comment
There was a problem hiding this comment.
Reviewed ffb352a. The BS-05/06/13/14 counter and statement corrections now match the reviewed causal reconciliation in 3017179; strict comparisons, evaluator bounds and mutation coverage are preserved. Current draft CI41768368893 has passed honesty, including generated model/spec consistency and BDD meta checks; reproducibility41768368742 passed. That is partial evidence, not the full gate.
Two reviewed corrections are still omitted:
- Restore the original Unicode bytes. crates/conformance/src/cases/bootstrap/rust_package.rs:372 still contains "é" instead of "é", changing an actual test input. The seven affected source/comment lines in rust_package.rs, rust_print.rs and rust_validate.rs are already restored in 3017179; the latest print/validate comments now show a second encoding corruption.
- Reconcile BS-15's normative prose with the existing strict source counts: model/ids.toml, its scenario and SPEC still say 302 committed manifests and 3,184 runs, while the existing source and recorded prior job126026329845 report 303 and 3,190. These corrections are also already present in 3017179. Regenerate the projection through the official model writer after including them.
Please carry the remaining reviewed hunks from 3017179 into this existing PR; no duplicate patch or PR is needed. Keep draft until the corrected integrated source/artifacts are ready, then obtain the final complete gate. Later assertions behind the four former failures still require execution. Coordinate any final bootstrap regeneration with the post-Host wave; no concurrent compiler-identity writer. Closure remains #432 only, with #275 open.
The language-1.2 compiler-semantics ID stays d30b16b3 (the second relock moved 0 of 327 locks). Locks, golden and calculus copies, fixtures, production-export packages and the verification records are rewritten on the merged tree. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Preserve the original contributor and reviewed repair histories while keeping BS16 pending beyond the scoped Host integration. Retain current Host fixes, Unicode corrections, strict corpus mirrors and CI implementation. This is a source-only draft restack. Model projections and generated bootstrap artifacts remain pending in the coordinated next wave. Skip this knowingly incomplete draft run; complete changed-head CI is required before readiness and merge. No validation or acceptance is claimed by this commit. Closes #432
afflom
left a comment
There was a problem hiding this comment.
Reviewed explicit source reapplication at 7ca5a7f/tree cfcc60b1. The 25-path delta preserves original BS16 source and reviewed30171790 fixes, current Host product/CI/profile changes, all prior Host verification lines, and strict existing count predicates. Root and independent review verified the 471 source/scenario/test statements and actual ordered parents88b078+30171790. Originalffb and301 are ancestors of this head; this head is not an ancestor of Host. Source-only review, not approval or acceptance: generated projections/artifacts, combined corpus measurements and final changed-head fullCI are outstanding. Draft status and #432/#275 remain open.
|
The reviewed BS16 source and Unicode/corpus corrections from this head are now retained in the combined #393 carrier at 3fe13b5, together with actual Host/DF19 and #292. Official products and their independent reviews are complete; final hosted CI41889333456 and reproducibility41889261587 are running on that exact head. This PR remains open/draft and #432/#275 remain open. After complete combined acceptance and a fresh ownership/head review, this PR will be explicitly closed as superseded BEFORE the carrier merges; only actual accepted landing/tree equality can close #432. No separate stale-head gate or duplicate implementation is needed. |
|
Superseded by the reviewed combined delivery in #393, final head I am explicitly closing this draft as superseded BEFORE the carrier merge. This is not a separate landing or an assertion that the old draft passed a complete gate. Its implementation, review corrections and history are retained by the carrier. Scoped issues remain open until #393 actually lands and its merged tree is verified; broader unfinished work is not closed by this supersession. |
…r 3 (SL-11) The conflicts were the counts, two README rows, the CHANGELOG, VERIFICATION.md, and the lock. The register is the release's 469 plus SL-11, 470, in SPEC.md, README.md, xtask/src/spec_links.rs and the repository case. The lock takes the release's header: stdlib's entrypoint moved, so the locks, exports and build oracles are regenerated once, on top of UOR-Foundation#390, in the next commit. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Closes #432 after the completed BS-16 delivery passes acceptance and lands. #275 remains open.
This draft explicitly reapplies BS-16 atop Host integration
88b078cc529169c53f4eb2e657781ebd96d2527c. Head7ca5a7ff369135c1c700cb376c19cc18ba227489, treecfcc60b17f4733590578e3c1df63bcb10a016744, has Host as first parent and reviewed repair30171790as second parent. The originalffb352achistory is retained. This new head is outside Host ancestry, so landing the scoped Host tree cannot incorrectly mark BS-16 delivered.The 25-path source reapplication restores GnafValidate/validateRequest, its production-root declaration, registered BS-16 case and strict differential harness. It retains the reviewed Unicode and BS-15 prose corrections, the current Host/package-reader/lowering fixes, same-run honesty and #436’s generated-workspace debug profile. Existing count guards and SPEC/README mirrors reflect the statically observed 471 registered claims; no predicate or assertion was weakened.
Original BS-16 differential, mutation, timing and regeneration records remain historical evidence at the older source/identity. They do not validate this new tree. Current strict corpus expectations require measurement against the eventual combined source.
Official model projections and bootstrap lock/build/export/verification artifacts remain pending in the coordinated #393 wave. No old generated products or compiler pins were imported by this restack. The source-only commit uses GitHub’s native
[skip ci]because its known-incomplete projections and artifacts cannot establish acceptance; this avoids a redundant draft run. It changes no workflow or required check. A completed, changed head must run the full gate before readiness or merge.Static source review confirms the 471-row/scenario/test correspondence and exact statements, current Host bytes outside the scoped files, and the ancestry separation. No new runtime pass, resource saving, writer execution or final acceptance is claimed. #432 and #275 remain open.