Summary
guild lore embed-rebuild enters an inconsistent state where the reset wipes the vector rows but the re-encode loop reports embedder disabled, while lore_health simultaneously reports the embedder as enabled. Net result: the corpus stays at 0% coverage and the rebuild appears to silently no-op.
Affected files
internal/lore/embed_rebuild_cmd.go
internal/lore/embed/runtime.go
internal/lore/embed_wiring.go
Reproduction
- Inscribe several lore entries on a project with a healthy embedder.
- Run
guild lore embed-rebuild.
- Observe coverage stays at 0%; encode loop log mentions "embedder disabled".
guild lore health simultaneously reports the embedder as enabled.
Acceptance
- After
embed-rebuild, vector coverage returns to >0% for projects with active embedders.
- The "embedder disabled" log line and the
lore_health "enabled" report do not contradict each other.
- Regression test covers the rebuild-then-encode happy path.
Summary
guild lore embed-rebuildenters an inconsistent state where the reset wipes the vector rows but the re-encode loop reportsembedder disabled, whilelore_healthsimultaneously reports the embedder as enabled. Net result: the corpus stays at 0% coverage and the rebuild appears to silently no-op.Affected files
internal/lore/embed_rebuild_cmd.gointernal/lore/embed/runtime.gointernal/lore/embed_wiring.goReproduction
guild lore embed-rebuild.guild lore healthsimultaneously reports the embedder as enabled.Acceptance
embed-rebuild, vector coverage returns to >0% for projects with active embedders.lore_health"enabled" report do not contradict each other.