CI / build (push) Has been cancelled
- Fix decomposition:approved and human_intervention dead-end phases - Add scripts/autopilot.py: real drive_all() implementation - Fix guard plugin: throw Error instead of injecting user messages - Fix status.py: double continue, _require_state, --list-states - Add Category 3 (git-based modification) audit - Add Category 5 (stuck-task detection) audit - All 206 tests pass
13 lines
719 B
Markdown
13 lines
719 B
Markdown
# IMPLEMENTATION.md — Category 3 Audit
|
|
|
|
## Changes Made
|
|
- `scripts/status.py:698-703`: Replaced "future work" stub with `_audit_category3()` function call
|
|
- `scripts/status.py:605-660`: Added `_audit_category3()` function implementing git-based modification detection
|
|
|
|
## How It Works
|
|
- Checks `git diff --name-only HEAD` and `git diff --cached --name-only HEAD` for uncommitted changes
|
|
- Excludes files inside task folders (those are legitimate workflow artifacts)
|
|
- If no task is in implement/doc_review phase, all uncommitted changes outside task folders are flagged as violations
|
|
- If active edit tasks exist, changes outside task folders are reported as informational
|
|
- Handles missing .git directory gracefully
|