CommitGuard AI's "Safety Supervisor" monitors all communications. Sometimes, the AI might be too strict (e.g., blocking a legitimate technical discussion) or too lenient. The Feedback Loop allows managers to override AI decisions, which in turn trains the underlying model.
- When an intervention is triggered (Block or Correction), it is logged with a unique
intervention_id. - A manager reviews the audit trail via the Dashboard or API.
- The manager submits feedback (Accept, Reject, or Modify).
To submit feedback via the API, use the POST /api/v1/safety/feedback endpoint.
{
"intervention_id": "uuid-1234-5678",
"user_id": "dev_rockstar",
"manager_id": "manager_alice",
"action_taken": "accepted",
"final_message_sent": "I understand you're busy, let's sync on Monday.",
"comments": "Correction was perfect, helped maintain professional tone."
}- Navigate to the Safety Audit Console.
- Filter for "Pending Review" or "Recent Interventions".
- Click Accept or Edit & Send.
Rejecting an AI failure detection might restore a user's reliability score if the "failure" was incorrectly flagged by the agent.
The AI recalibrates its min_confidence_threshold based on the Manager Acceptance Rate. If managers frequently reject interventions in a specific department, the "Supervisor" becomes more conservative in that context.