Problem
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.
Acceptance criteria
Problem
utils/assign-models.jsline 5 setsAGENTS_DIR = path.resolve(__dirname, "..", ".opencode", "agents"). This works only when.opencode/agentsis 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_DIRdirectly at the canonical source of truth:.agents/agents, not the.opencodesymlink indirection.Acceptance criteria
utils/assign-models.jsreads/writes.agents/agents/*.mddirectly.opencode/agentssymlink state