# summary

List operational lessons learned from workflow phase failures.

# description

Reads `.setup-agents/state/lessons-operational.jsonl` and lists all recorded lessons. Each lesson captures the phase, error signature, and story id from a failed workflow execution.

# flags.search.summary

Filter lessons by keyword.

# flags.search.description

When provided, only lessons whose operation or errorSignature contain the keyword are returned.

# examples

- List all lessons:

  <%= config.bin %> <%= command.id %>

- Search lessons by keyword:

  <%= config.bin %> <%= command.id %> --search "developer"

- Output as JSON:

  <%= config.bin %> <%= command.id %> --json

# info.none

No operational lessons found.

# info.header

Operational lessons (%s total):
