Build & Test has been failing on main since the refactor. The cause is not CI configuration — three source files cannot be loaded:
src/hybrid.zig:1:1: error: unable to load 'hybrid.zig': FileNotFound
src/vsa.zig:1:1: error: unable to load 'vsa.zig': FileNotFound
src/vsa_jit.zig:1:1: error: unable to load 'vsa_jit.zig': FileNotFound
What was measured
42490a222 "refactor: remove 4425 lines of migrated duplicates (#517)" deleted src/vsa.zig — a 130-line facade re-exporting vsa/common.zig, vsa/core.zig, vsa/encoding.zig, vsa/agent.zig, vsa/concurrency.zig, vsa/hrr.zig, vsa/storage.zig, vsa/tests.zig.
The whole src/vsa/ tree went with it — all eight targets are gone, and src/vsa.zig exists nowhere else in the tree, including the zig-golden-float submodule. build.zig:2377 already carries the note "VSA module … REMOVED", so the removal was intended.
Two references were left behind.
The two references are not equivalent
build.zig:188 — vsa_tests. Tests for a module that no longer exists. Nothing consumes it. Removing it is unambiguous.
build.zig:1150 — vsa_tri. This one has live consumers. Its own comment says:
// VSA module for TRI (moved up: needed by tvc_corpus_mod and fluent CLI)
So tvc_corpus_mod and the fluent CLI currently depend on a module whose source is gone. This is not a leftover — it is a live dependency that the refactor broke.
The decision this needs
Where should vsa_tri now come from? Deleting it removes whatever tvc_corpus and the fluent CLI use it for; pointing it at some other implementation risks linking a different VSA than the one those call sites were written against. external/zig-golden-float/src/ has vsa_jit.zig and src/ternary/hybrid.zig, but no vsa.zig.
That is a call for whoever performed the migration. I have deliberately not guessed it.
Separately fixed
The goto-bus/setup-zig 404 in two workflows — #736. Unrelated to this.
🤖 Generated with Claude Code
Build & Testhas been failing onmainsince the refactor. The cause is not CI configuration — three source files cannot be loaded:What was measured
42490a222"refactor: remove 4425 lines of migrated duplicates (#517)" deletedsrc/vsa.zig— a 130-line facade re-exportingvsa/common.zig,vsa/core.zig,vsa/encoding.zig,vsa/agent.zig,vsa/concurrency.zig,vsa/hrr.zig,vsa/storage.zig,vsa/tests.zig.The whole
src/vsa/tree went with it — all eight targets are gone, andsrc/vsa.zigexists nowhere else in the tree, including thezig-golden-floatsubmodule.build.zig:2377already carries the note "VSA module … REMOVED", so the removal was intended.Two references were left behind.
The two references are not equivalent
build.zig:188—vsa_tests. Tests for a module that no longer exists. Nothing consumes it. Removing it is unambiguous.build.zig:1150—vsa_tri. This one has live consumers. Its own comment says:So
tvc_corpus_modand the fluent CLI currently depend on a module whose source is gone. This is not a leftover — it is a live dependency that the refactor broke.The decision this needs
Where should
vsa_trinow come from? Deleting it removes whatevertvc_corpusand the fluent CLI use it for; pointing it at some other implementation risks linking a different VSA than the one those call sites were written against.external/zig-golden-float/src/hasvsa_jit.zigandsrc/ternary/hybrid.zig, but novsa.zig.That is a call for whoever performed the migration. I have deliberately not guessed it.
Separately fixed
The
goto-bus/setup-zig404 in two workflows — #736. Unrelated to this.🤖 Generated with Claude Code