Files
sar/.claude/skills/bmad-story-automator/data/success-patterns.md
julian 17c08e6392 chore: initial monorepo scaffold + WDS Phase 1+2 artifacts
- Nx 22.7 monorepo (pnpm 11.1, TypeScript 5.9, Node 24)
- apps/api: NestJS 11 (CJS conforme CODING-RULES.md PGD-DB-004)
- apps/web: React 19 + Vite 8 (ESM)
- libs/shared/api-interface: Zod contract base
- Docker Compose dev: Postgres 18, Valkey 8, MinIO, Mailpit
- WDS artifacts:
  - design-artifacts/A-Product-Brief/ (5 docs canônicos + 16 dialogs)
  - design-artifacts/B-Trigger-Map/ (hub + 4 personas + feature impact)
- Stack canon: STACK.md v2.2 + CODING-RULES.md v2.0 + brand.md
- AGENTS.md + README.md como entrada para devs/agentes

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-27 14:34:20 +00:00

2.0 KiB

Success Patterns

Purpose: Patterns for detecting when each workflow step has completed successfully.


create-story

Success indicators:

  • Story file created at expected path
  • Story file contains required sections (title, acceptance criteria, etc.)
  • Session output contains "Story created" or similar confirmation

Failure indicators:

  • Error messages in session output
  • Story file not found after session completes
  • Session exits with non-zero code

dev-story

Success indicators:

  • Code changes committed or staged
  • Tests pass (if applicable)
  • Session output contains "Implementation complete" or similar
  • No unresolved errors in session output

Failure indicators:

  • Test failures
  • Unresolved compilation/lint errors
  • Session output contains error messages
  • Session times out or crashes

automate (guardrail tests)

Success indicators:

  • Test files created
  • Tests pass when run
  • Session output confirms test generation complete

Failure indicators:

  • Test generation errors
  • Generated tests fail immediately
  • Session output contains errors

code-review

Success indicators (clean):

  • "No issues found" or "LGTM" in session output
  • Zero blocking issues reported
  • Only informational/optional suggestions remain

Success indicators (issues found):

  • Clear list of issues with file:line references
  • Issues categorized by severity
  • Actionable fix suggestions provided

Failure indicators:

  • Unable to complete review
  • Session crashes or times out
  • Ambiguous output that can't be parsed

git-commit

Success indicators:

  • Commit created successfully
  • Commit message follows convention
  • No uncommitted changes remain (for story scope)

Failure indicators:

  • Git errors (merge conflicts, etc.)
  • Commit hook failures
  • Unable to stage changes

retrospective

Success indicators:

  • Retrospective session completes
  • Summary document generated
  • Learnings captured

Failure indicators:

  • Session incomplete
  • Unable to generate summary