chore: mark TASK-006 complete

This commit is contained in:
2026-06-02 11:41:27 +01:00
parent 21611b7c4e
commit aee13b045e
5 changed files with 534 additions and 0 deletions
+36
View File
@@ -95,6 +95,25 @@ Acceptance Criteria:
- Add/update tests
- Run python -m pytest
## TASK-006 — Agent execution guardrails
Status: Done
Goal:
Detect agent stalls, repeated reads, long reasoning loops, and non-progressing execution.
Acceptance Criteria:
- `rdb guardrails` command exists ✓
- Detects repeated file reads via AGENT_HANDOFF.md analysis ✓
- Detects repeated command entries in RUN_LOG.md ✓
- Flags project files not modified in >48 hours ✓
- Flags missing test run records in RUN_LOG.md ✓
- Checks TASKS.md ↔ RUN_LOG.md consistency ✓
- Produces clear human-readable report with overall status ✓
- All existing tests still pass (33 → 51) ✓
- Guardrail-specific tests added (18 new tests) ✓
## TASK-007 — Improve generated agent prompts
Status: Todo
@@ -110,3 +129,20 @@ Acceptance Criteria:
- Prompt tells agent to inspect first, then edit
- Prompt limits scope to one small implementation step
- Add/update tests
## TASK-012 — Agent telemetry
Goal:
Capture actual agent actions rather than inferring behaviour
from documentation and run logs.
Examples:
- file reads
- file writes
- command execution
- test execution
- git activity
Output:
.rdb/session-log.jsonl