Repository navigation
Fix CLI and bounded input contracts; execute bit-exact floating IR - #333
Merged
Merged
Conversation
Handle broken stdout without panicking or hiding artifact command failures, escape control characters only at the diagnostic rendering boundary, and identify each link byte-limit flag correctly. Refs wavefnd#310, wavefnd#316, wavefnd#322 Signed-off-by: LunaStev <luna@lunastev.org>
Reject component ancestor conflicts and ASCII case collisions in either order, and validate Windows-compatible path components before returning artifacts. Preserve valid Unicode paths and original display spelling. Refs wavefnd#311, wavefnd#312, wavefnd#313 Signed-off-by: LunaStev <luna@lunastev.org>
Resolve wavefnd#320 and wavefnd#321 by recognizing exact BSD index names and charging member-name inspection plus ownership to cumulative reader limits. Signed-off-by: LunaStev <luna@lunastev.org>
Resolve wavefnd#314 and wavefnd#329 while retaining raw reader limits and AMD64-only consumer validation. Signed-off-by: LunaStev <luna@lunastev.org>
Resolve wavefnd#323, wavefnd#324, wavefnd#325 and wavefnd#326 with effective REX.W stack decoding, non-code boundary metadata, explicit TLS symbol omission and zero-file-size PT_LOAD handling. Signed-off-by: LunaStev <luna@lunastev.org>
Keep function body, declaration, and global diagnostic locations in their own namespaces. Reject pointer division/remainder and function link names already used by global storage without consuming identities. Refs wavefnd#315, wavefnd#327, wavefnd#328 Signed-off-by: LunaStev <luna@lunastev.org>
Preserve f16/f32/f64 storage bits through runtime values, tracked memory, globals and Whale calls. Execute equal-width integer/float bitcasts without changing NaN payloads or pointer authority; expose exact hexadecimal CLI arguments and results. Closes wavefnd#263 Closes wavefnd#268 Signed-off-by: LunaStev <luna@lunastev.org>
Map generic equality and ordering to ordered predicates, and generic inequality to unordered-or-not-equal. Share this contract between constant evaluation and runtime execution, with integer IEEE comparison that preserves NaN payloads and avoids host floating exceptions. Execute all explicit ordered/unordered predicates and document the public mapping and executable examples. Closes wavefnd#198 Closes wavefnd#265 Signed-off-by: LunaStev <luna@lunastev.org>
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.
Summary
Fix 21 approved issues in eight DCO-signed commits. The changes make CLI reporting fallible, validate portable backend artifact sets, correct bounded archive/ELF ingestion and static AMD64 inspection, align IR validation, and execute exact floating values, storage, bitcasts and comparisons.
Batch 7 was implemented, tested and committed before batch 8. Each batch has exactly one commit; this is the only PR for the eight batches.
Motivation
The retained regressions reproduce closed-stdout panics, misleading resource diagnostics, path collisions, lost archive members, undercounted names, rejected valid ELF metadata, incorrect PUSH boundaries, inconsistent IR validation, and unsupported floating execution. Negative controls preserve malformed-input rejection, resource ceilings, atomic output publication, pointer/callable authority and meaningful command failures.
Closes #310, closes #316, closes #322.
Closes #311, closes #312, closes #313.
Closes #320, closes #321.
Closes #314, closes #329.
Closes #323, closes #324, closes #325, closes #326.
Closes #315, closes #327, closes #328.
Closes #263, closes #268.
Closes #198, closes #265.
Target and compatibility impact
Validation
Linux x86_64; stable Rust 1.96.0 and MSRV Rust 1.86.0. Commands use the committed lockfile, offline dependencies and two build jobs locally. All results below passed against the final integrated tree; test counts include unit/integration tests and doctests and are reported separately per configuration.
cargo test --workspace --locked --offline --jobs 2cargo test --workspace --all-features --locked --offline --jobs 2without Wavecargo +1.86.0 test --workspace --all-features --locked --offline --jobs 2cargo fmt --all -- --check, default/all-featurecargo clippy --workspace --all-targets --locked --offline --jobs 2 -- -D warnings, andRUSTDOCFLAGS="-D warnings" cargo doc --workspace --all-features --no-deps --locked --offline --jobs 2passed.LLVM_SYS_211_PREFIX=/usr/lib64/llvm21 python3 tools/build_wave_reverse.py --wave-source /mnt/hdd/Wave --out-dir /tmp/whale-21-agent-wave --rust-toolchain 1.89. The separate Wave checkout was read only; bootstrap revision remainse0952ed65d07e14c6ed0aa64f3c9a5532dd7533b.GitHub CI: 27/27 checks passed on
3c4219ddd0295de88d257d076475a87d2a4806d6, including all six native host matrices, both MSRV configurations, optimized tests, coverage, QEMU, quality checks and both actual Wave workflows. No merge, release publication, or deployment is part of this PR.Checklist
Signed-off-bytrailers and preserve existing attribution.