feat(dashboard): /config route with Monaco JSON editor #455
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
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
charles/claude-hooks#455
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?
User story
As an operator, I want a
/configpage in the web app where I can editagents.jsonin a Monaco editor with schema autocomplete and inline validation, then save and hot-reload the config, so that I can tune agent behaviour withoutvim'ing on the host.Why: Phase 2 makes the file the single source of truth. Editing JSON in a terminal is slow and error-prone (no schema awareness, no autocomplete, no preview). Monaco gives autocomplete + validation without building per-field forms.
Acceptance criteria
Server
GET /config/agentsreturns the current resolvedagents.jsoncontents as JSONGET /config/agents/schemareturns the JSON Schema derived from the Zodagents.jsonschemaPUT /config/agentsvalidates body against schema, atomically writesconfig/agents.json, hot-reloads, returns the parsed resultWeb
/config(TanStack)Tests
Out of scope
References
docs/foreman.md— trust-gate pattern