groove-utilities-memory-mistakes
groove-utilities-memory-mistakes
Use $ARGUMENTS as the mistake description if provided (e.g. --list to show open incidents only).
Outcome
The workflow mistake is logged, its root cause is fixed in the relevant memory or learned file, and the lesson is graduated to .groove/memory/learned/<topic>.md. The incident is closed.
Acceptance Criteria
- Incident is recorded with root cause and fix
- Permanent fix applied to
.groove/memory/learned/<topic>.md - Incident marked resolved
Task backend
Read tasks.backend from .groove/index.md. Incidents are tracked as tasks in the configured backend. If no task backend is configured (tasks.backend: none), tell the user to run /groove-utilities-task-install first.
Incidents are stored as bugs under a shared "Groove Memory" milestone → "Mistakes" epic.
Ensure parent hierarchy
Before any operation, resolve or create the parent epic:
- Find or create the Groove Memory milestone:
beans list -t milestone --search "Groove Memory" -q— if non-empty, use first ID; otherwisebeans create "Groove Memory" -t milestone
- Find or create the Mistakes epic under that milestone:
beans list -t epic --parent <milestone-id> --search "Mistakes" -q— if non-empty, use first ID; otherwisebeans create "Mistakes" -t epic --parent <milestone-id>
--list
- Resolve
<parent-id> beans list --parent <parent-id> -t bug -s in-progress- Display as numbered list:
1. [<id>] <title> - If empty: print "No open incidents."
Log and resolve an incident
- Resolve
<parent-id> - Get description from $ARGUMENTS or ask: "What mistake did I make?"
- Ask: "Root cause — why did it happen?" (propose from context; user confirms)
- Ask: "What fix should be applied?" (propose; user confirms)
beans create "<description>" -t bug --parent <parent-id> -s in-progress- Apply the fix immediately (edit the relevant file)
- Ask: "Which learned topic? (e.g.
anti-patterns,tools)" — suggest based on root cause - Append lesson to
.groove/memory/learned/<topic>.mdunder## YYYY-MM-DDheading beans update <id> -s completed- Report: "Incident resolved → learned/.md"
Constraints
- Read
tasks.backendfrom.groove/index.md; memory path is always.groove/memory/ - Requires a configured task backend — if
tasks.backend: none, prompt user to install one - Never auto-create incidents without user confirmation
- Root cause is required before resolving — do not skip the audit step
- Parent hierarchy is idempotent — always check before creating
- If the fix targets a
skills/file: note thatskills/is managed by groove:update; redirect fix tolearned/anti-patterns.md
More from andreadellacorte/groove
pdf-to-markdown
[Document Processing] Convert PDF files to Markdown with support for native text PDFs and scanned documents (OCR). Cross-platform.
254groove
Groove engineering workflow system. Top-level entry point. Use groove-daily-*, groove-work-*, groove-utilities-*, groove-admin-* for all workflow and admin commands.
248find-skills
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.
245groove-utilities-task-analyse
Analyse task status and distribution across the configured backend.
230groove-utilities-memory-log-monthly
Roll up the monthly memory log from weekly entries.
230groove-utilities-memory-install
Set up memory backend and configuration.
230