NA-0344: add production size-class harness - #37
Merged
Merged
Conversation
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.
Goals: G1, G2, G3, G4, G5
Impact: Adds the bounded qsl-attachments production size-class policy/harness selected by NA-0344. The implementation introduces opt-in
qsl_attachments_production_size_class_v1class computation and persisted class metadata while preserving existing exact ciphertext storage/fetch behavior and API routes.No-regression: qsl-server remains unchanged; qshield demo evidence remains reference/oracle only; existing object bytes, capability scope, retention/purge, recovery, quota, and reject behavior remain fail-closed. This PR makes no deployment, dependency, workflow, manifest, branch-protection, or public-copy changes. It makes no production-readiness, public-internet-readiness, external-review-complete, anonymity, metadata-free, untraceable, attachment-size-hidden, timing-hidden, or traffic-shape-hidden claim.
Tests/Vectors:
cargo fmt --all -- --check;cargo clippy --all-targets -- -D warnings;cargo build --locked;cargo test --locked; focusedtests/production_size_class_policy.rscovers small/medium/large objects, invalid config rejection, oversize rejection, malformed descriptor/object rejection, retention/purge, cold full-root backup boundary, secret-free artifacts, qsl-server boundary, and qshield demo small-class compatibility.qsl-protocol companion PR required: yes, after this qsl-attachments PR merges and required
rustis green.Boundary notes:
rustcheck must pass before merge.