agents/rules/debugging.md
When tasked with debugging a crash or investigating unexpected behavior, the main agent MUST adhere to the following strict constraints:
gdb-mcp).Upon receiving a debugging task, you MUST immediately initialize the following tracks in parallel:
gm.py) and preparing for runtime analysis (gdb-mcp or rr) immediately.eval, TDZ) and runtime flags/hints.%PrepareFunctionForOptimization), keep it unaltered and ask the user to provide the correct flags or environment. Create scratch copies for minimization or testing if needed.code_search) and consulting ECMAScript spec requirements simultaneously.self) for every independent dimension of the task that can be parallelized.During investigation (especially via GDB or subagent reports):