{
  "id": "default",
  "name": "Default feature pipeline",
  "nodes": [
    {
      "id": "intake",
      "label": "intake",
      "icon": "📝",
      "gate": false,
      "aliases": [
        "assigned",
        "claimed",
        "start"
      ]
    },
    {
      "id": "plan",
      "label": "plan",
      "icon": "🧭",
      "gate": false,
      "aliases": [
        "planning",
        "brainstorm",
        "design"
      ],
      "detect": [
        {
          "tool": "Skill",
          "match": "brainstorming|writing-plans"
        },
        {
          "tool": "Write",
          "match": "docs/.*plan.*\\.md"
        }
      ]
    },
    {
      "id": "implement",
      "label": "implement",
      "icon": "🛠",
      "gate": false,
      "aliases": [
        "implementing",
        "coding",
        "build"
      ],
      "detect": [
        {
          "tool": "Edit"
        },
        {
          "tool": "Write",
          "match": "^(?!.*(?:^|/)(?:docs|\\.superpowers)/)"
        }
      ]
    },
    {
      "id": "tests",
      "label": "tests",
      "icon": "🧪",
      "gate": true,
      "aliases": [
        "testing",
        "unit",
        "gates",
        "pre-push-gate"
      ],
      "detect": [
        {
          "tool": "Bash",
          "match": "\\b(npm (run )?test|pytest|vitest|jest|go test|cargo test|node\\s+--test)\\b"
        }
      ]
    },
    {
      "id": "review",
      "label": "review",
      "icon": "👀",
      "gate": true,
      "aliases": [
        "reviewing",
        "code-review",
        "self-review"
      ],
      "detect": [
        {
          "tool": "Skill",
          "match": "code-review|requesting-code-review"
        },
        {
          "tool": "Bash",
          "match": "\\bgh\\b[^;&|]*\\bpr diff\\b"
        }
      ]
    },
    {
      "id": "gate",
      "label": "gate",
      "icon": "🚦",
      "gate": true,
      "aliases": [
        "verify",
        "verification",
        "sr-gate",
        "gate-blocked"
      ]
    },
    {
      "id": "ship",
      "label": "ship",
      "icon": "🔀",
      "gate": false,
      "aliases": [
        "pr",
        "pr-open",
        "publishing",
        "commit",
        "push"
      ],
      "detect": [
        {
          "tool": "Bash",
          "match": "\\bgit\\b(?:\\s+-c\\s+[\\w.-]+=(?:'[^']*'|\\\"[^\\\"]*\\\"|\\S+)|\\s+-{1,2}[\\w.-]+(?:=(?:'[^']*'|\\\"[^\\\"]*\\\"|\\S+))?)*\\s+push\\b|\\bgh\\b[^;&|]*\\bpr create\\b"
        }
      ]
    },
    {
      "id": "done",
      "label": "done",
      "icon": "✅",
      "gate": false,
      "aliases": [
        "complete",
        "completed",
        "merged"
      ]
    }
  ]
}
