Skip to main content

debugging-timelines

Investigate timeline divergence between head and base replays. Use when event sequences, ordering, or timing differ unexpectedly.

跳到安装

来源信息

仓库
alwaysmeticulous/meticulous-sdk
最近来源活动
2026年3月12日 15:33
检测到的 SKILL.md 语言
英语
星标
28
分支
6

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
debugging-timelines
description
Investigate timeline divergence between head and base replays. Use when event sequences, ordering, or timing differ unexpectedly.
# Debugging Timeline Divergence Use this guide when replay timelines differ unexpectedly between head and base runs. ## Investigation Steps ### 1. Load and Compare Timelines - Read `timeline.json` from both head and base replay directories. - The timeline is an array of events with timestamps, types, and data. - Look for the first event where the timelines diverge. ### 2. Understand Event Types Key timeline event types: - **user-event**: User interactions (click, type, scroll, hover). - **network-request**: API calls and responses. - **screenshot**: Screenshot capture points. - **mutation**: DOM mutations observed during replay. - **navigation**: Page navigation events. - **error**: JavaScript errors. - **console**: Console log messages. ### 3. Identify Divergence Patterns - **Missing events**: Events in base that don't appear in head (or vice versa). - **Reordered events**: Same events but in different sequence. - **Timing shifts**: Events at significantly different virtual timestamps. - **Extra events**: New events not present in the baseline. ### 4. Check Timeline Stats - Read `timeline-stats.json` for aggregated statistics. - Compare event counts, durations, and error counts between replays. ### 5. Trace Back to Root Cause - Once you find the divergence point, look at what happened immediately before. - Check if a user event triggered different behavior. - Look for conditional logic in the application that might execute differently. ### 6. Cross-Reference with Logs - Use timestamps from the timeline divergence to find corresponding log entries. - Check `logs.deterministic.txt` at the same virtual time for additional context.
在 GitHub 查看