feat: blob loader, model versioning, and runtime hot-swap#5
Merged
Conversation
- Recreate python/arbiter/emit_blob.py: full ZRMB blob emitter with section table, CRC-32, and version encoding in flags field - Recreate lib/arbiter_blob.c: complete blob loader with header validation, CRC-32 verification, section table parsing, and ARBITER_model reconstruction (no dynamic allocation) - Add model versioning: optional version field in schema, uint8_t version[3] in ARBITER_model, ARBITER_check_version() API - Add hot-swap API: ARBITER_hot_swap() preserves fact values across model swaps, gated by CONFIG_ARBITER_HOT_SWAP Kconfig option - All 63 existing Python tests pass Co-Authored-By: Oz <oz-agent@warp.dev>
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.
Blob loader completion, model versioning, and runtime hot-swap
Changes
Recreated python/arbiter/emit_blob.py
Recreated lib/arbiter_blob.c
Model versioning
Hot-swap API
Testing
All 63 existing Python tests pass.
Conversation: https://app.warp.dev/conversation/dae33027-0cd9-4091-987b-7b2a5f402233
Run: https://oz.warp.dev/runs/019e88c4-f765-7b19-a9d1-ab9f29aecda3
This PR was generated with Oz.