mirror of
https://github.com/UditAkhourii/adhd.git
synced 2026-09-14 16:00:16 +08:00
b670af03b9
Every divergent branch previously saw the same raw problem statement, so an anchor embedded in it (e.g. "we currently use Postgres and...") infected all N branches regardless of branch isolation. Isolation between branches buys nothing against an anchor already in the seed prompt. Adds a Phase 0 reframe pass: one LLM call strips incidental implementation details (current stack, existing tool names) from the problem before it reaches divergence, while preserving genuine constraints (compliance, budget, physical limits). Convergence (score/cluster/deepen) still judges ideas against the original problem, since viability has to account for real constraints even when divergence doesn't. Opt out with `stripAnchors: false` / `--no-anchor-strip` if the raw problem is preferred as-is. Fails open to the original problem if the reframe call errors or returns empty. Co-authored-by: UditAkhourii <researchudit@gmail.com> Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>