feat: audit operational agent settings (#28369)

Depends on #28394.

Audit changes to seven operational agent settings through a typed
`chat_operational_settings` resource. Each handler serializes baseline
capture and mutation with a per-setting advisory lock, keeps both
operations in one transaction, and records field-specific diffs.

Effective no-op requests now skip both the database upsert and the
success audit, including absent rows whose effective value is already
the default. The change also retains the allowlisted raw `site_configs`
query, updates generated audit and API surfaces, adds failure and
concurrency coverage, and reuses the existing AuditPage resource-filter
story pattern.

Relates to CODAGT-720.
This commit is contained in:
Ethan
2026-08-24 11:53:47 +01:00
committed by GitHub
parent 2aba2685ad
commit c275327fb7
27 changed files with 946 additions and 29 deletions
+2 -1
View File
@@ -618,7 +618,8 @@ CREATE TYPE resource_type AS ENUM (
'oauth2_provider_settings',
'chat_instruction_settings',
'mcp_server_config',
'chat_model_config'
'chat_model_config',
'chat_operational_settings'
);
CREATE TYPE shareable_workspace_owners AS ENUM (