Type automatic agent lookup as AgentCodeDocument
Version: 1.2.0 Date: 2026-10-18
Goal: Develop must compile after the allowedCodes fallback removal and the folder filter landed together.
Solution: listAutomaticAgentNames uses AgentCodeDocument. The deleted LegacyAgentCodeDocument alias is not restored, and stored allowedCodes is still not read.
Features:
- The leftover collection generic is
AgentCodeDocument
Files Modified:
src/domains/platform/agents/agents.service.ts- Automatic agent lookup typed asAgentCodeDocument
Release fragment: fix-legacy-agent-type