You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Framework] assign-models.js reads from symlinked .opencode/agents instead of canonical .agents/agents #96
utils/assign-models.js line 5 sets AGENTS_DIR = path.resolve(__dirname, "..", ".opencode", "agents"). This works only when .opencode/agents is a real resolved symlink to .agents/agents. Anywhere that symlink is inert (see the Windows symlink issue), this script silently finds 0 agent files instead of erroring — compounding that bug for anyone trying to fix model assignments on an affected machine.
Fix
Point AGENTS_DIR directly at the canonical source of truth: .agents/agents, not the .opencode symlink indirection.
Activity
striderZA commentedon Aug 2, 2026
Fixed in commit edaac99 (local, not yet pushed). Verified via
node tests/agents/validate.mjs(206/206 PASS) andnpm test(158/158 PASS).fix: point assign-models.js at canonical .agents/agents (#96) (#99)
chore: prepare v0.12.1 (#103)