Goal Preserving Pivoting

Use this when debugging feels stuck, circular, or is giving misleading signals — especially when the problem crosses boundaries like permissions, sandboxing, IPC, app extensions, files, networking, async lifecycle, OS APIs, or multiple processes. Instead of repeatedly tweaking the same broken path, keep the end goal fixed and swap the mechanism for something simpler or fundamentally different, testing one assumption at a time to reveal which layer is actually failing. Trigger this whenever you notice yourself making the same fix repeatedly, getting inconsistent results from the same approach, or suspecting the bug is one layer deeper than where you're currently poking at it.

AryanRogye Updated

File contents

  1. Define the real goal.
    • Ignore the current implementation.
    • State the desired outcome in one sentence.
  2. Identify the current mechanism.
    • What specific approach are you using to achieve the goal?
  3. Ask: "If I couldn't use this mechanism, how else could I accomplish the same goal?"
  4. Brainstorm 2–5 fundamentally different pivots.
    • Prefer pivots that remove complexity or test one assumption.
    • They do not have to be production-ready.
  5. Choose the cheapest pivot.
    • The goal is to learn something quickly, not build the final solution.
  6. Execute the pivot.
    • Observe what changes.
    • Record what assumptions were confirmed or eliminated.
  7. Either:
    • Keep the pivot if it's better.
    • Or use what you learned to improve the original implementation.
  8. Repeat until the goal is achieved.

Principles

  • Preserve the goal, not the implementation.
  • Every pivot should teach you something.
  • Prefer experiments over theories.
  • Reduce assumptions whenever possible.
  • Temporary solutions are valuable if they increase understanding.

AryanRogye/CodexSkills/tree/main/goal-preserving-pivoting commit cf8b588e8b

Frequently asked questions

npx skillmds@latest add aryanrogye/goal-preserving-pivoting