Fusion Bugfix

Propose multiple bug-fix strategies and pick the safest; use when a bug has more than one viable fix.

majiayu000 Updated 567 repo stars

File contents

Fusion Bugfix

Overview

Use an F-thread: three workers attempt different fixes in separate worktrees. The queen selects the safest fix.

Inputs

  • Bug description and repro steps

Workflow

  1. Verify git and mprocs.
  2. Create session variables and worktrees.
  3. Write tasks.json, worker prompts, and queen prompt.
  4. Launch mprocs.

Worktree Commands

git worktree add "{WORKTREE_ROOT}/impl-a" -b fusion/{SESSION_ID}/impl-a
git worktree add "{WORKTREE_ROOT}/impl-b" -b fusion/{SESSION_ID}/impl-b
git worktree add "{WORKTREE_ROOT}/impl-c" -b fusion/{SESSION_ID}/impl-c

Worker Prompt Outline

  • Worker A: minimal change fix
  • Worker B: structural fix
  • Worker C: defensive fix with tests

Queen Prompt Outline

  • Compare risk, scope, test coverage, and maintainability

mprocs Launch

mprocs --config .hive/mprocs.yaml

Output

  • Selected fix and rationale

majiayu000/claude-skill-registry-data/tree/main/data/fusion-bugfix commit 9a6f7647b5

Frequently asked questions

npx skillmds@latest add majiayu000/fusion-bugfix