Get a complete execution trace for a ticket or workflow session.
Retrieves complete execution trace for a ticket or workflow session with all decisions, artifacts, and timeline details.
/plugin marketplace add marcel-Ngan/ai-dev-team/plugin install marcel-ngan-ai-dev-team@marcel-Ngan/ai-dev-teamGet a complete execution trace for a ticket or workflow session.
/trace <target> [--options]
Arguments:
target - Ticket ID (PROJ-123) or trace ID--export json|md - Export format--include-decisions - Include full decision records--include-artifacts - Include artifact details/trace PROJ-123
/trace PROJ-123 --include-decisions
/trace sess_abc123
/trace PROJ-123 --export json
Complete execution history including:
## Execution Trace: PROJ-123
### Overview
| Field | Value |
|-------|-------|
| Ticket | PROJ-123: User Login Flow |
| Workflow | Requirements to Stories → Development |
| Started | 2024-01-15 09:00 |
| Completed | 2024-01-16 16:30 |
| Total Duration | 1d 7h 30m |
| Agents Involved | 7 |
| Decisions Made | 12 |
| Artifacts Created | 8 |
---
### Workflow: Requirements to Stories
**Duration:** 2h 15m
**Status:** ✅ Complete
#### Timeline
09:00 ─┬─ Orchestrator receives request │ 09:05 ─┼─ Business Analyst starts analysis │ ├─ Identifies 3 clarifying questions │ └─ [DECISION] DEC-039: Questions needed │ 09:15 ─┼─ Stakeholder provides answers │ 09:25 ─┼─ Business Analyst creates stories │ ├─ Creates PROJ-124, 125, 126 │ ├─ Updates BRD in Confluence │ └─ [DECISION] DEC-040: Split approach │ 09:35 ─┼─ Handoff → Product Owner │ └─ Context: 3 stories ready for prioritization │ 09:40 ─┼─ Product Owner validates │ ├─ Reviews acceptance criteria │ └─ [DECISION] DEC-041: Must Have priority │ 10:00 ─┼─ Handoff → Software Architect │ 10:15 ─┼─ Architect technical review │ ├─ Assesses feasibility │ ├─ Adds technical notes │ └─ [DECISION] DEC-042: JWT approach │ 10:45 ─┼─ Handoff → QA Engineer │ 11:00 ─┼─ QA reviews testability │ └─ Adds test considerations │ 11:15 ─┴─ Orchestrator finalizes └─ Stories ready for development
---
### Workflow: Development (PROJ-124)
**Duration:** 1d 4h
**Status:** ✅ Complete
#### Timeline
13:00 ─┬─ Senior Developer breakdown │ ├─ Creates 4 implementation tasks │ └─ Assigns to team │ 14:00 ─┼─ Implementation begins │ ├─ Senior Dev: Auth service core │ └─ Junior Dev: UI components │ 18:00 ─┼─ [Day 1 end] │ 09:00 ─┼─ [Day 2 start] │ 11:00 ─┼─ Junior Dev creates PR │ 11:30 ─┼─ Senior Dev code review │ ├─ 3 comments │ └─ Changes requested │ 12:00 ─┼─ Junior Dev addresses feedback │ 12:30 ─┼─ PR approved and merged │ 13:00 ─┼─ QA Engineer testing │ ├─ Creates test cases │ ├─ Executes tests │ └─ 1 bug found → PROJ-130 │ 14:00 ─┼─ Bug fix implemented │ 15:00 ─┼─ QA re-test passes │ 15:30 ─┼─ DevOps deployment │ └─ Deployed to staging │ 16:00 ─┼─ Product Owner acceptance │ └─ [DECISION] DEC-048: Accepted │ 16:30 ─┴─ Story complete
---
### Decisions Made
| ID | Time | Agent | Decision | Impact |
|----|------|-------|----------|--------|
| DEC-039 | 09:10 | BA | Ask clarifying questions | Stakeholder input needed |
| DEC-040 | 09:25 | BA | Split into 3 stories | PROJ-124, 125, 126 |
| DEC-041 | 09:45 | PO | Must Have priority | Sprint 24 |
| DEC-042 | 10:20 | Architect | Use JWT tokens | ADR-016 created |
| DEC-043 | 11:35 | Sr Dev | Request changes on PR | 3 issues to fix |
| DEC-048 | 16:00 | PO | Accept story | Ready for release |
---
### Artifacts
| Type | ID | Created By | Time |
|------|-----|------------|------|
| Story | PROJ-124 | Business Analyst | 09:25 |
| Story | PROJ-125 | Business Analyst | 09:25 |
| Story | PROJ-126 | Business Analyst | 09:25 |
| BRD | confluence/auth-brd | Business Analyst | 09:30 |
| ADR | ADR-016 | Architect | 10:25 |
| Task | PROJ-127 | Senior Developer | 13:15 |
| Task | PROJ-128 | Senior Developer | 13:15 |
| PR | #42 | Junior Developer | 11:00 |
| Bug | PROJ-130 | QA Engineer | 13:30 |
---
### Blockers Encountered
| Time | Step | Blocker | Duration | Resolution |
|------|------|---------|----------|------------|
| 09:10 | BA Analysis | Needed stakeholder input | 5m | Answered in chat |
| 11:30 | Code Review | Changes requested | 30m | Developer fixed |
| 13:30 | QA Testing | Bug found | 1h | Fixed and retested |
{
"trace_id": "trace_xyz789",
"ticket": "PROJ-123",
"workflows": [...],
"decisions": [...],
"artifacts": [...],
"timeline": [...],
"blockers": [...]
}
observability-workflow-trace
/activity - Recent activity/decisions - Decision trail/workflow-status - Current status