AT-7: Audit log + revision restore for agent type edits #749
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#749
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 an operator, I want every write to
agent_type*tables to create aconfig_revisionrow matching the SC-12 contract, and I want the existing history tab to surface the new kinds, so that botched agent-type overrides are debuggable + restorable from the dashboard without manual SQL.Acceptance criteria
Audit log
INSERT/UPDATE/DELETEonagent_type,agent_type_container,agent_type_routingwrites toconfig_revisionwithkind∈{ agent_type, agent_type_container, agent_type_routing }.created_by,created_at, optionalcomment, and a snapshot of the row body.History UI
Tests
Out of scope
task_history).References
specs/config-to-db.md§ Story AT-7.