# Auto Lessons

Generated candidate lessons from local hook metrics.
Do not promote entries to `.agents/rules/common-mistakes.md` without human review.

<!-- auto-lesson:fix-or-revert-commit -->

## fix-or-revert-commit

- Frequency: 15 events in the last 7 days
- Sources: reverts
- Example paths: (none)
- First seen: 2026-05-16T15:43:35.000Z
- Last seen: 2026-05-16T17:37:06.000Z
- Status: candidate; human review is required before promotion.
<!-- auto-lesson:user-correction -->

## user-correction

- Frequency: 5 events in the last 7 days
- Sources: corrections
- Example paths: (none)
- First seen: 2026-06-04T11:53:25.000Z
- Last seen: 2026-06-10T16:21:13.000Z
- Status: candidate; human review is required before promotion.
<!-- auto-lesson:same-file-edited-3-times -->

## same-file-edited-3-times

- Frequency: 5429 events in the last 7 days
- Sources: reverts
- Example paths: `/Users/jungyoun/Documents/dev/robota/.agents/backlog/CLI-063-print-mode-session-resume-broken.md`, `/Users/jungyoun/Documents/dev/robota/.agents/backlog/CLI-064-exit-code-contract-violations.md`, `/Users/jungyoun/Documents/dev/robota/.agents/backlog/CLI-073-fork-session-context-semantics.md`, `/Users/jungyoun/Documents/dev/robota/.agents/backlog/README.md`, `/Users/jungyoun/Documents/dev/robota/.agents/release-runs/3.0.0-beta.72.md`
- First seen: 2026-06-08T13:10:40.000Z
- Last seen: 2026-06-13T14:06:15.000Z
- Status: candidate; human review is required before promotion.
<!-- auto-lesson:repeated-tool-errors -->

## repeated-tool-errors

- Frequency: 184 events in the last 7 days
- Sources: reverts
- Example paths: (none)
- First seen: 2026-06-08T13:10:40.000Z
- Last seen: 2026-06-13T14:06:15.000Z
- Status: candidate; human review is required before promotion.
<!-- auto-lesson:try-catch-fallback -->

## try-catch-fallback

- Frequency: 10 events in the last 7 days
- Sources: blocks
- Example paths: `packages/agent-cli/src/cli.ts`, `packages/agent-cli/src/session-analyzer/session-analyze-command.ts`, `packages/agent-cli/src/startup/diagnose-command.ts`, `packages/agent-framework/src/interactive/interactive-session-execution-controller.ts`, `packages/agent-transport/src/tui/flows/session-init-poller.ts`
- First seen: 2026-06-10T14:30:02.000Z
- Last seen: 2026-06-13T09:20:15.000Z
- Status: candidate; human review is required before promotion.
<!-- auto-lesson:console-usage -->

## console-usage

- Frequency: 6 events in the last 7 days
- Sources: blocks
- Example paths: `packages/agent-cli/src/utils/cli-args.ts`, `packages/agent-framework/src/command-api/provider/provider-settings.ts`, `packages/agent-playground/src/lib/code-generator/assembly-serializer.ts`, `packages/agent-playground/src/lib/playground/robota-executor/playground-executor.ts`
- First seen: 2026-05-19T03:09:38.000Z
- Last seen: 2026-05-23T11:48:11.000Z
- Status: candidate; human review is required before promotion.
