Shay
222124a8cd
fix(tests): align suite with persona-neutral strict-closure contract
...
Remove shelved identity/drive tests that existed to justify premature
persona wiring, and update remaining tests to match the current runtime
contract: empty vault triggers unknown_domain gate on first turn, versor_apply
always closes to unit versor, and null-cone preservation is deferred to an
explicit geometry API.
562 passed, 4 skipped, 0 failed.
2026-05-16 05:37:12 -07:00
Shay
523c072818
feat: vault recall index, Rust versor parity, cognitive pack expansion
...
Phase 3 — vault exact recall index:
- Replace O(N) np.array_equal scan with hash-based exact-match index
- Add optional max_entries with deterministic FIFO eviction
- Index rebuilds on reproject for consistency
Phase 4 — Rust versor_apply parity:
- Fix CGA metric signature (+,+,+,+,-) and blade ordering to match Python
- Implement versor_apply_closed with null-vector preservation, f64 unitize,
and construction seed fallback matching Python closure semantics
- Gate Rust dispatch behind CORE_BACKEND=rust; Python remains default
- Add f64 geometric product for closure-path precision
Phase 5 — cognitive quality pack expansion:
- Expand lexicon from 55 to 70 entries (evidence, inference, procedure,
verification, distinction, relation, thought, understanding, judgment,
principle, order, connectives)
- Improve semantic templates for cause, procedure, comparison, recall,
verification intents
- Expand eval cases from 20 to 45 across all categories
Validation: 491 tests pass, 45 eval cases at 100% all metrics.
2026-05-15 15:34:39 -07:00