core/algebra
Shay 7aa8626ec4
fix(algebra): make versor_apply close runtime field results
Remove the implicit null-vector bypass from the runtime-facing versor_apply closure boundary.

FieldState.F is treated throughout the runtime and cognitive pipeline as a unit versor field. Returning null-like raw sandwich results from versor_apply created a contract mismatch and allowed multi-turn closure drift to escape into session state.

- make _close_applied_versor always close runtime field results
- keep unitize-first semantics and construction-seed fallback
- add regression proving null-like sandwich output is closed for the runtime contract

Null-vector preservation should return later behind an explicit geometry API, not the generic runtime field propagation path.

No GitHub CI/status checks were exposed for this PR.
2026-05-15 23:12:26 -07:00
..
__init__.py arch: close coordinate back-door in vocab layer 2026-05-12 20:52:14 -07:00
backend.py feat: Full Proof — surface realizer join, Rust diffusion parity, benchmark harness 2026-05-15 17:39:14 -07:00
cga.py Fix fail-closed versor construction 2026-05-14 12:13:04 -07:00
cl41.py Fix fail-closed versor construction 2026-05-14 12:13:04 -07:00
holonomy.py Fix test suite errors across core physics and generation 2026-05-14 13:02:32 -07:00
rotor.py fix(algebra): enforce transition rotor invariants 2026-05-15 21:13:14 -07:00
versor.py fix(algebra): make versor_apply close runtime field results 2026-05-15 23:12:26 -07:00