Context
PR #2517 (ADR-0045 Phase 4, PR 4) removed OrgConfig.Agents from the Go backend. The web admin TypeScript code still references the agents config block.
Problem
web/admin/src/lib/layers/orgConfigParse.ts:197 — agentsFromConfig() reads cfg.agents which will always be [] after this change. The comment on line 196 (mirrors config.OrgConfig.Agents) is now factually incorrect. This causes analyzeSecretsLayer to vacuously report "installed" without checking any secrets/variables.
Fix
Update agentsFromConfig() to derive agent roles from defaults.roles instead of reading the removed agents block.
References
Context
PR #2517 (ADR-0045 Phase 4, PR 4) removed
OrgConfig.Agentsfrom the Go backend. The web admin TypeScript code still references theagentsconfig block.Problem
web/admin/src/lib/layers/orgConfigParse.ts:197—agentsFromConfig()readscfg.agentswhich will always be[]after this change. The comment on line 196 (mirrors config.OrgConfig.Agents) is now factually incorrect. This causesanalyzeSecretsLayerto vacuously report "installed" without checking any secrets/variables.Fix
Update
agentsFromConfig()to derive agent roles fromdefaults.rolesinstead of reading the removedagentsblock.References
docs/ADRs/0045-forge-portable-harness-schema.md