Skip to content

fix: point assign-models.js at canonical .agents/agents (#96) - #99

Merged
striderZA merged 1 commit into
masterfrom
fix/issue-96-assign-models-canonical-path
Aug 2, 2026
Merged

fix: point assign-models.js at canonical .agents/agents (#96)#99
striderZA merged 1 commit into
masterfrom
fix/issue-96-assign-models-canonical-path

Conversation

@striderZA

Copy link
Copy Markdown
Owner

Closes #96.

AGENTS_DIR in utils/assign-models.js resolved to .opencode/agents, valid only when that symlink is correctly materialized (see #93). Anywhere it isn't, the script silently scans 0 agent files instead of erroring. Points it directly at .agents/agents, the canonical source of truth, regardless of .opencode/ symlink state.

Verified: node utils/assign-models.js --help runs fine; readdirSync on the new path finds all 51 agent .md files.

AGENTS_DIR resolved to .opencode/agents, which is only a valid path
when that symlink is correctly materialized (see #93). Anywhere it is
inert, this script silently scans 0 agent files instead of erroring.
Point it directly at the canonical source of truth, .agents/agents.

Verified: readdirSync now finds all 51 agent files regardless of
.opencode/agents symlink state.
@striderZA
striderZA merged commit 24ed43e into master Aug 2, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Framework] assign-models.js reads from symlinked .opencode/agents instead of canonical .agents/agents

1 participant