|
| 1 | +# Ethics, Privacy & Professionalism 🛡️ |
| 2 | + |
| 3 | +CommitGuard AI is a high-pressure accountability tool, but it is built with the **"Supportive First"** philosophy. Addressing feedback on the human implications of AI-driven enforcement is critical for enterprise adoption. |
| 4 | + |
| 5 | +--- |
| 6 | + |
| 7 | +## 1. Ethical Tone Escalation |
| 8 | +One of our most discussed features is the **"Confrontational"** tone. Here is how we handle it ethically: |
| 9 | + |
| 10 | +* **The Empathy Buffer**: The system is hardcoded to prioritize `SUPPORTIVE` tones if anything resembling burnout or personal distress is detected. |
| 11 | +* **The Burnout Safety Valve**: If the `ExcuseDetector` identifies signs of fatigue, the system **blocks** confrontational escalation and triggers a "Burnout Alert" for the manager instead. |
| 12 | +* **Tone as Calibration, Not Punishment**: The objective isn't to "scold" but to match the professional urgency required by the deadline. |
| 13 | + |
| 14 | +## 2. Privacy & Data Integrity |
| 15 | +Monitoring at the granularity of Slack threads and Git commits requires a strict privacy stance: |
| 16 | + |
| 17 | +* **Scoped Monitoring**: CommitGuard is designed to monitor designated `#project` channels, not private DMs or unrelated chatter. |
| 18 | +* **Source-Level Only**: Commit monitoring is restricted to commit messages and PR metadata—not the proprietary logic within the source code files themselves. |
| 19 | +* **Identity Anonymization**: Internal IDs are used for analysis; real names can be masked in the database if necessary. |
| 20 | + |
| 21 | +## 3. Handling Ambiguity (The "100% Visibility" Claim) 🧠 |
| 22 | +Ambiguity is the greatest challenge in Engineering NLP. Here is how we move toward high accuracy: |
| 23 | + |
| 24 | +* **Confidence Scores**: Every extraction (Commitment, Risk, Excuse) is accompanied by a `confidence_score`. |
| 25 | +* **Human-in-the-Loop (HITL)**: If a score falls below **0.75**, the system flags the extraction as "Ambiguous" and asks the manager for manual validation instead of taking autonomous action. |
| 26 | +* **Semantic Context**: By correlating Git activity with Slack messages, we resolve ambiguity. If a dev says *"I'll handle it,"* but we see a corresponding Git branch with the task name, the "soft commitment" is confirmed. |
| 27 | + |
| 28 | +--- |
| 29 | + |
| 30 | +## 🚀 Deployment & The Future |
| 31 | +**Why build this?** |
| 32 | +CommitGuard was inspired by the "Slack Stall"—the invisible friction where professional promises disappear into the scroll history of remote teams. It turns "I'll get to it" into a technical obligation. |
| 33 | + |
| 34 | +**Real-World Testing**: |
| 35 | +The next phase of the project involves a **Private Beta** where the `TruthGapDetector` will be tested against real-world ambiguous data to refine its "Precision Accountability" engine. |
0 commit comments