feat(agent-config): add typed dashboard mutation API #26
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "codex/agent-config-tier"
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?
Summary
Adds an agent-safe dashboard configuration API backed by typed dashboard operations, preview diffs, persisted publish revisions, and rollback support.
Why
Issue #5 calls for a second tier where agents can manipulate the dashboard model through validated operations instead of editing hardcoded UI/component data.
Changes
/api/agent/dashboardPOST handling with fail-closed bearer/shared-token auth, structured repairable errors, preview-only diffs, publish revisions, and rollback errors.Testing
bun run test:qaNotes
The MCP packaging from issue #12 is still separate; these schemas and handlers are intended to be reused there once the internal API stabilizes.