This commit is contained in:
2026-03-24 13:40:36 +00:00
parent a5daebd849
commit 8b744a120e
3 changed files with 6 additions and 228 deletions
-48
View File
@@ -1,51 +1,3 @@
# PR-2.1 — Remove ScopeFrame and HIP Runtime Structures
### Briefing
The new architecture removes HIP, borrow/mutate/peek semantics, and any gate-based lifetime tracking. The VM must no longer depend on `ScopeFrame` or related structures.
### Target
* Remove `ScopeFrame` and any HIP-related runtime data structures.
* Ensure the VM compiles and runs without any scope/gate logic.
### Work items
* Delete `scope_frame.rs` and any modules dedicated to HIP or gate lifetimes.
* Remove fields in VM state that track scope frames, gates, or borrow state.
* Update the main VM execution loop to no longer push/pop scope frames.
* Remove any trap logic that references scope or gate violations.
### Acceptance checklist
* [ ] `ScopeFrame` and related modules are fully removed.
* [ ] VM compiles without scope/gate concepts.
* [ ] No HIP-related symbols remain in the VM crate.
* [ ] `cargo test` passes.
### Tests
* Existing tests only.
### Junie instructions
**You MAY:**
* Delete scope/gate-related modules and fields.
* Update code to remove references to them.
**You MUST NOT:**
* Introduce new lifetime or ownership systems.
* Replace scope frames with another architecture.
* Add compatibility layers.
**If unclear:**
* Ask for clarification instead of inventing new runtime concepts.
---
# PR-2.2 — Simplify VM Execution Loop (Pure Stack Machine)
### Briefing