Skip to content

Add Kani harness for Bytes owner downcast#61

Merged
somethingelseentirely merged 2 commits intomainfrom
codex/add-kani-harness-for-bytes-verification
Oct 15, 2025
Merged

Add Kani harness for Bytes owner downcast#61
somethingelseentirely merged 2 commits intomainfrom
codex/add-kani-harness-for-bytes-verification

Conversation

@somethingelseentirely
Copy link
Contributor

Summary

  • add a Kani harness that verifies Bytes::downcast_to_owner succeeds for Vec
  • ensure the same harness checks String downcasts return the original Bytes
  • document the new verification in the changelog
  • explain the invariants enforced by the downcast harness directly in the Kani specification

Testing

  • cargo fmt
  • cargo test
  • ./scripts/preflight.sh

https://chatgpt.com/codex/tasks/task_e_68ef82c664a083228f86a6304fcab2af

@somethingelseentirely somethingelseentirely merged commit a8ea273 into main Oct 15, 2025
1 check passed
@somethingelseentirely somethingelseentirely deleted the codex/add-kani-harness-for-bytes-verification branch October 15, 2025 19:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant