You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(security): implement API key authentication and prompt safety
- Added X-API-Key header authentication (configurable via AUTH_ENABLED)
- Refactored monolithic main.py into modular src/api/routes.py
- Mitigated prompt injection via XML tagging in CommitmentExtractor
- Removed hardcoded database credentials from config defaults
- Updated all documentation with /api/v1 prefix and auth headers
- Updated docs/guides with uv commands and auth configuration steps
Copy file name to clipboardExpand all lines: docs/index.md
+9-8Lines changed: 9 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,17 +9,18 @@
9
9
In modern distributed teams, the **"Slack Stall"** is the #1 drain on project velocity. Project Managers are overwhelmed by vague promises like *"I'll get to it soon,"* which are often forgotten, leading to missed sprints and "bad guy" escalations.
10
10
11
11
## ✅ The Solution
12
-
CommitGuard AI is a standalone, agentic service designed to monitor and enforce professional commitments. It doesn't just "track tasks"; it acts as a proactive collaborator that:
12
+
CommitGuard AI is a standalone, agentic service designed to monitor and enforce professional commitments. Every commitment passes through a **4-Stage Reasoning Pipeline**:
13
13
14
-
1.**Extracts Vague Promises**: Automatically parses Slack threads to create structured commitment records.
15
-
2.**Predicts Failure**: Uses behavioral sentiment to flag burnout or deflection *before* the deadline passes.
16
-
3.**Automates Calibration**: Adjusts its tone—Supportive for burnout, Firm for repeat offenders—saving the PM from having to chase updates.
14
+
1.**Extraction**: Automatically parses Slack threads or Git commits to identify {who, what, when}.
15
+
2.**Excuse Analysis**: Categorizes sentiment (Legitimate vs. Deflection vs. Burnout).
16
+
3.**Risk Scoring**: Quantifies failure probability based on historical reliability.
17
+
4.**Safety Overwatch**: Audits interventions for ethics, tone drift, and HR compliance.
17
18
18
19
---
19
20
20
21
## 🏗️ Architecture at a Glance
21
22
CommitGuard AI is built on a **Decoupled Event-Driven Architecture**:
The Safety Supervisor follows a **Post-Generation Overwatch** pattern. This ensures that the system is self-healing without entering infinite regeneration loops.
32
+
## 3. Message Lifecycle & "Safety Overwatch" 🛰️
33
+
The **Safety Supervisor** follows a **Post-Generation Overwatch** pattern. This ensures that the system is self-healing without entering infinite regeneration loops.
0 commit comments