Export packed_vsa — present, correct, and reachable from nowhere - #99
Conversation
Exporting packed_vsa made the compiler look at it for the first time and it found four more broken paths: two pointing at ../ternary, one at a vsa.zig that never existed (the functions are in the sibling core.zig), and one at knowledge_graph.zig — a file that lives in a different repository, whose own copy imports packed_vsa.zig right back.
|
The export earned its keep immediately. Making Three were misplaced paths: The fourth is worth naming separately. The dependency was also inverted: a VSA primitive should not need a type |
src/vsa/packed_vsa.zigdefinespackedBind,packedUnbind,packedBundle,packedCosineSimilarityandrandomPackedVector. None of them were reachable:root.zigdid not export the file andvsa/core.zigdid not re-export it.A downstream package that wants those functions therefore has to vendor a copy of the file — which is how the copies in this fleet started diverging in the first place. Same shape as the
vsa_jitexport in #98: the code is present and correct, and nothing can reach it.zig buildclean.