Implements audit-harness-inspired session lifecycle: audit session creation/end/recover/report-daily with JSONL buffer and graded context recovery (L0-L4). Guideline service for behavioral compliance rules (condition/action model with criticality). Correction service for persistent user correction tracking across agent sessions. 8 supporting skills: audit-start/end/report-daily/recover + command variants for slash-command integration.
1.9 KiB
1.9 KiB
name: command-report-daily
description: Generate a data-driven daily work report from audit session records. Every number is traceable to
Review variant (
.boo/runs/ files. Use for daily standup, progress tracking, or morning review. Examples: "daily report", "report today", "what did I do today", "generate report", "/report-daily".
allowed-tools:
- Read
- Glob
- Grep
- Bash
- Write
/report-daily — Audit-Driven Work Report
Trigger
/report-daily # Today
/report-daily 20260319 # Specific date
/report-daily review # Report + morning self-review
Data sources (every number must be traceable)
| Section | Source |
|---|---|
| Task overview | .boo/runs/index.json |
| Operation stats | */audit_trail.jsonl tool records |
| Changes | trail entries with Write/Edit |
| User feedback | user_correction entries |
| Anomalies | */anomalies.json (if any) |
| Backlog | previous day's daily report |
Sections
I. Task Overview
Table of today's sessions with status and record count.
II. Operation Stats
Write/Edit count, Bash count, Audit block count.
III. Change Records
Timeline of file modifications with timestamps.
IV. User Feedback & Corrections
User corrections made today, with persistence status.
V. Anomaly Alerts
Unresolved issues flagged across sessions.
VI. Backlog Tracking
Carry-over items from yesterday.
VII. Integrity Summary
Health checks for all sessions.
Output
Save to .boo/runs/daily/{YYYYMMDD}_daily.md.
Review variant (review)
After the report, also generate .boo/runs/daily/{YYYYMMDD}_morning_review.md with:
- Self-correction check (anomalies resolved? feedback persisted? backlog handled?)
- Recommended priorities for today
Notes
- If no sessions for the date, generate an empty report labeled "No activity"
- Reports are append-only — correct errors with a follow-up report, never edit
- Record one [AUDIT] block for report generation itself