generate/stream.py is a CLAUDE.md-forbidden normalization site, yet _close_final_state re-closed the walk's final state with unitize_versor. The walk is built entirely from versor_apply / Spin-manifold rotors (persona voicing, recall transitions, propagate_step), so versor_condition < 1e-6 holds on the output BY CONSTRUCTION — the final unitize was a true no-op (measured: final_state versor_condition = 2.98e-17 WITH and WITHOUT it). - Remove _close_final_state + its unitize_versor import; GenerationResult.final_state=current. - Reframe the "Drift fix 2" comment -> "recall-confidence weighting" (a selection policy, not normalization; mislabeled per the L10 Decision 0 bright line). - Test-first: add test_generated_final_state_satisfies_versor_condition_by_construction (exercises voicing + seeded-vault recall); green before AND after removal. Brings stream.py into forbidden-sites compliance. |
||
|---|---|---|
| .. | ||
| binding_graph | ||
| comprehension | ||
| cue_precision | ||
| derivation | ||
| proof_chain | ||
| __init__.py | ||
| admissibility.py | ||
| articulation.py | ||
| articulation_legality.py | ||
| attention.py | ||
| bridge_trace.py | ||
| dialogue.py | ||
| discourse_planner.py | ||
| exhaustion.py | ||
| graph_constraint.py | ||
| graph_planner.py | ||
| grounding_accessors.py | ||
| intent.py | ||
| intent_bridge.py | ||
| intent_ratifier.py | ||
| logic_canonical.py | ||
| logic_equivalence.py | ||
| math_candidate_graph.py | ||
| math_candidate_parser.py | ||
| math_completeness.py | ||
| math_parser.py | ||
| math_problem_graph.py | ||
| math_realizer.py | ||
| math_roundtrip.py | ||
| math_solver.py | ||
| math_symbolic_equivalence.py | ||
| math_symbolic_normalizer.py | ||
| math_verifier.py | ||
| morphology.py | ||
| ood_surface_generator.py | ||
| operators.py | ||
| perturbation_suite.py | ||
| proposition.py | ||
| realizer.py | ||
| realizer_guard.py | ||
| recognizer_anchor_inject.py | ||
| recognizer_match.py | ||
| recognizer_registry.py | ||
| relational_field_reader.py | ||
| relational_symbolic_reader.py | ||
| result.py | ||
| rotor_admissibility.py | ||
| salience.py | ||
| semantic_templates.py | ||
| stream.py | ||
| surface.py | ||
| templates.py | ||