Observed on /home/ben/omni/ava worktree after redeploying ava:
Omni/Ava/Core.hs declares -- : run Omni/Agentd.hs.bild resolves local run deps in pipelineBuildOne (Omni/Bild.hs) by checking only whether _/nix/<dep> symlink exists.Evidence:
_/nix/Omni/Agentd.hs in ava worktree points to /nix/store/c8falmw...-agentd and has mtime Feb 5._/nix/Omni/Ava/Core.hs rebuilt Apr 6 and its wrapped binary embeds that stale path in PATH: /nix/store/ikb1j...-ava/bin/ava contains /nix/store/c8falmw...-agentd/bin.
/nix/store/l9w31h8...-agentd.Impact:
Suggested fix:
pipelineBuildOne, do not trust existing local rundep symlink as fresh.pipelineBuildOne for local run deps (nix will dedupe unchanged builds), or add a freshness check keyed by source hash/revision.Ava verified: implementation present in live tree (file/feature confirmed via inspection). Moving to Verified.
Implemented in Omni/Bild.hs: pipelineBuildOne no longer reuses an existing _/nix symlink for local :run deps; it now always analyzes/builds local rundeps, then resolves the symlink path. This prevents stale local symlinks from pinning old runtime binaries in wrapper PATH.
Verification:
Evidence artifact: _/tmp/proof-t-757.md