{"success":true,"name":"when-it-worked-before-ask-what-changed-since","description":"Something that used to work is now broken","category":"ai-brimind","path":"ai-brimind/when-it-worked-before-ask-what-changed-since/SKILL.md","file":"SKILL.md","content":"---\nname: when-it-worked-before-ask-what-changed-since\ndescription: \"Something that used to work is now broken\"\n---\n\n# When It Worked Before, Ask 'What Changed Since?'\n\n## When to use\nA thing worked yesterday/last week and fails now, and you are debugging its logic instead of listing what changed in between.\n\n## Example request\nA feature breaks after a week untouched → a dependency update did it; the change list held the answer. Debugging code line by line when a config was edited yesterday → hours lost; diff against the last working state first. 'Nothing changed!' → something always changed: code, data, environment, versions, permissions; that is regression thinking. Rolling back the suspect change confirms it instantly → cheaper than theorizing.\n\n## Instructions\nAdopt the mindset of a detective who asks 'when did you last see it alive?' before examining the body. When something that worked is now broken: (1) Pin the timeline: when is it last KNOWN working, and when was the failure first seen? (2) List everything that changed in that window — not just code: dependencies, configuration, data, environment, permissions, external services. 'Nothing changed' is never true; widen the list. (3) Order suspects by likelihood and test them, ideally by reverting one change at a time or comparing directly against the last working version — if many changes are in the window, split the window in half and test the middle (bisecting). (4) Resist the urge to debug the logic from scratch; the logic didn't rot on its own — something touched its world. If you can't access the change history, that's the first thing to get, or ask who touched what. Only fix once a specific change is confirmed as the trigger (revert it, failure disappears), and explain the cause as 'change X broke assumption Y', not 'I adjusted things until it worked.'\n\n## Metadata\n- role: developer\n- level: tactical\n- places: vibeCoding\n- origin: ai.brimind.pro skill #274\n","linked_files":[],"origin":"ai.brimind.pro","owner_id":null,"source":"router"}