A comprehensive audit of the ProXPL (v1.3.1) codebase was conducted on April 22, 2026. Critical stability issues including VM divergence, GC race conditions, and memory leaks have been successfully addressed in the v1.3.1 stabilization release.
The Virtual Machine implemented two separate execution loops which had significant logic desync.
- Solution: Unified the dispatch logic using a macro-based loop shared by both GNUC Computed Goto and standard Switch paths in
src/runtime/vm.c. All opcodes are now consistently handled.
In OP_MAKE_TENSOR, the new tensor object was rooted after potential GC-triggering pops.
- Solution: Updated the VM to root the tensor object immediately upon allocation using
PUSH(), then safely accessing stack elements viapeek().
The TypeInfo structure was leaking symbol names during scope exit.
- Solution: Added logic to
endScope()insrc/compiler/type_checker.cto properlyfree()thenamefield.
- Solution: Replaced
exit(1)inpush()with a recoverableruntimeErrorand stack reset, allowing the host process to continue.
- Unified Dispatch Loop: Shared logic between GNUC and Fallback paths.
- GC Rooting Audit: Immediate rooting for all new objects.
- Type Checker Cleanup: Fixed string and parameter type leaks.
- Tensor Indexing: Implement
matrix[i, j]and slicing support. - Async/Await Scheduler: Implement the runtime event loop and task queue.
- Standard Library Expansion: Add native JSON parsing (
std.json) and basic networking (std.net).
- ASR (Self-Healing): Implement the logic for
resilientblocks. - Chrono-Native Logic: Background worker for temporal variables.
- JIT Compilation: Foundation for Tier-2 JIT using LLVM.
- Unified the VM Loop: Fixed functional bugs and missing opcodes.
- Fixed Memory Leaks: Stabilized the Type Checker for long-running tasks.
- Refactored Error Handling: Improved robustness for host applications.
Audit Performed by: Antigravity AI
Date: April 22, 2026