feat(FN-3622): add canonical task-detail timing calculations and stats pane

The merge lands three commits for FN-3622's canonical task timing calculations, adding `taskTiming.ts` logic and stats timing semantics to `TaskDetailModal` and `TaskTokenStatsPanel`, backed by regression tests across those panels and the root `test-changed.mjs` script. The remaining commits introdu

Fusion-Task-Id: FN-3622
This commit is contained in:
Fusion
2026-05-06 19:07:30 -07:00
committed by gsxdsm
parent e7884370f2
commit b9b6d06cad
6 changed files with 205 additions and 60 deletions

View File

@@ -217,6 +217,10 @@ The task detail modal exposes multiple tabs:
- **Log** — task event history
- **Changes** — merge diff/change summary
- **Workflow** — workflow step results (pass/fail/skip)
- **Stats** — execution timing + token usage breakdown
- `Total execution time` prefers durable wall-clock execution window (`executionStartedAt``executionCompletedAt`)
- Fallback order for legacy tasks: `timedExecutionMs` when present, otherwise `[timing]` log sum + workflow runtime
- Workflow runtime is shown as a separate metric and is not double-counted into totals when `timedExecutionMs` is already available
- **Comments** — collaboration thread + steering controls
- **Model** — per-task model overrides and thinking level