Commit Graph

6 Commits

Author SHA1 Message Date
Caleb c525d673fb feat(epic-execute): add BMAD_TRACE observability + telemetry rollup
Capture the telemetry the claude CLI already emits (session id, tokens,
cost, latency, context window) as OTel-shaped trace spans and roll them
up into deterministic metrics. Gated behind BMAD_TRACE=1; the legacy
text path is unchanged when tracing is off.

- New scripts/epic-execute-lib/observability.sh: span recording, rollup,
  jq dep enforcement, and an intra-phase heartbeat for crash forensics
- epic-execute.sh: stream-json capture in run_claude_to_file with clean
  .result extraction, per-phase set_span_context calls, rollup in cleanup
- epic-chain.sh: measured (non-fabricated) telemetry section in reports
- Guard set -e aborts on malformed stream lines so crash/timeout paths
  degrade gracefully instead of killing the run
- Docs: gap analysis + observability implementation plan

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-15 06:07:48 -05:00
Caleb 03e0cc63d5 merge: sync with upstream/main (v6.0.0-Beta.8)
Merge 217 upstream commits covering:
- Module restructuring: src/modules/ flattened to src/
- BMB, BMGD, CIS modules moved to separate repos
- Installer migrated from inquirer to @clack/prompts
- Workflow simplification and new naming conventions
- Docusaurus to Astro/Starlight docs migration
- CodeRabbit AI review integration
- Cross-file reference validator
- Non-interactive install support
- Kiro IDE support

Conflict resolutions:
- sm.agent.yaml: kept fork's EE/EC/UV/CR menu items, took upstream's CC description
- uat-validator.agent.yaml: moved to src/bmm/agents/, removed unsupported webskip field

Path updates for new structure:
- scripts/*.sh: src/modules/bmm/ → src/bmm/
- CLAUDE.md: updated module paths and removed references to extracted modules
- docs: fixed broken links, added Astro frontmatter to fork docs files

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-10 14:09:21 -06:00
Caleb 2326f72803 docs: add party-mode integration and UAT implementation planning docs
- Add party-mode integration planning documentation:
  - README overview with benefits analysis
  - Context management architecture spec
  - File modifications specification
- Add UAT workflow implementation plan covering P0/P1/P2 gaps

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-17 06:34:49 -06:00
Caleb 15b7bb1ae6 feat: implement UAT validation with self-healing fix loop
Add complete UAT validation workflow implementation:

- scripts/uat-validate.sh: Core UAT validation script with scenario
  classification, automated execution, and self-healing fix loop
- scripts/epic-execute.sh: Add metrics instrumentation for story
  execution tracking (init, update, finalize metrics)
- scripts/epic-chain.sh: Integrate UAT gate after each epic with
  configurable blocking mode, and add report generation phase

New workflow step documentation:
- step-01-load-uat.md: UAT document loading and parsing
- step-02-classify-scenarios.md: Scenario classification logic
- step-03-execute-scenarios.md: Automated scenario execution
- step-04-evaluate-gate.md: Gate evaluation and fix loop
- step-05-report-results.md: Metrics and signal output

Key features:
- Gate modes: quick (automatable only), full (+ semi-auto), skip
- Self-healing: spawns fresh Claude context for targeted fixes
- Metrics: YAML files track execution stats and UAT results
- Signals: parseable output for orchestration (UAT_GATE_RESULT, etc.)
- Handoffs: include UAT status and fix context references

Also fixes lint/format issues in pre-existing files.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-05 19:24:18 -06:00
Caleb 6b1ca9333f docs: add UAT workflow implementation gaps analysis
Documents missing components needed for production-ready UAT validation:
- Shell orchestration script (uat-validate.sh)
- Metrics instrumentation in epic-execute.sh
- UAT gate integration in epic-chain.sh
- Step files following BMAD pattern
- Fix context handoff integration

Includes implementation priorities, code snippets, and testing plan.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-05 16:58:48 -06:00
Caleb 2f9dc39c0b feat: add UAT validation workflow with self-healing fix loop
- Add uat-validator agent (Quinn) with triggers for validation, reporting, and fix context generation
- Add 5-validation/uat-validate workflow with scenario classification and shell execution
- Add SM agent trigger [UV] for uat-validate workflow
- Add architecture docs for UAT integration with epic-chain
- Support automatic quick-dev fix sessions when UAT gate fails

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-05 14:52:32 -06:00