AT-5: agents.json becomes factory-image only #747
Labels
No labels
area:agents
area:dashboard
area:database
area:design
area:design-review
area:flows
area:infra
area:meta
area:security
area:sessions
area:webhook
area:workdir
security
type:bug
type:chore
type:meta
type:user-story
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
charles/claude-hooks#747
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
As a platform engineer, I want the runtime loader path that merged
agents.json::types{}into a runtime singleton removed, so thatagents.jsonis read only by the boot-time builtin-sync passes (AT-1, AT-3, AT-4) and the file becomes the same kind of factory-image artifact asmcp-builtin.json.Acceptance criteria
Loader
loadWebhookConfigno longer holds a parsedtypes{}map at runtime.getConfig().types[…]access either throws or is removed entirely — every call site has migrated under AT-2/3/4.apps/server/src/shared/config/agents-config-schema.tsdocuments eachtypes[]field as// boot-time builtin sync only — runtime reads go through getAgentType().Operator messaging
agents.jsonpost-deploy points at the dashboard endpoint.docs/agents-architecture.mdanddocs/modules.mdupdated to reflect the new boot flow.Tests
cfg.types[t]access outside builtin-sync.ts and tests is grep-clean.Out of scope
agents.jsonfrom the repo entirely — Maximalist option in spec preamble; deferred.References
specs/config-to-db.md§ Story AT-5.🧹 janitor: this ticket has been idle-assigned since 2026-05-03T14:14:28.000Z. Re-dispatching.
PR ready: #791
AT-5 complete —
WebhookConfigno longer carriestypes: Record<string, AgentTypeConfig>. All ~35cfg.types[…]call sites migrated;getTypeConfig(name)+listAgentTypeNames()replace direct map access. Typecheck clean, biome clean.Closing — work landed in PR #791 (merged 2026-05-03 16:11). PR body did not reference
Closes #747, so Forgejo did not auto-close the issue.