{
  "version": "2.0.0",
  "tasks": [
    {
      "label": "AutoWorkflow: Verify",
      "detail": "Run TypeScript + ESLint verification",
      "type": "shell",
      "command": "npm run verify",
      "group": {
        "kind": "build",
        "isDefault": true
      },
      "presentation": {
        "reveal": "always",
        "panel": "shared",
        "clear": true
      },
      "problemMatcher": ["$tsc", "$eslint-stylish"]
    },
    {
      "label": "AutoWorkflow: TypeCheck",
      "detail": "Run TypeScript check only",
      "type": "shell",
      "command": "npm run typecheck",
      "group": "build",
      "presentation": {
        "reveal": "always",
        "panel": "shared"
      },
      "problemMatcher": "$tsc"
    },
    {
      "label": "AutoWorkflow: Lint",
      "detail": "Run ESLint check only",
      "type": "shell",
      "command": "npm run lint",
      "group": "build",
      "presentation": {
        "reveal": "always",
        "panel": "shared"
      },
      "problemMatcher": "$eslint-stylish"
    },
    {
      "label": "AutoWorkflow: Lint Fix",
      "detail": "Run ESLint with auto-fix",
      "type": "shell",
      "command": "npm run lint:fix",
      "group": "build",
      "presentation": {
        "reveal": "always",
        "panel": "shared"
      },
      "problemMatcher": "$eslint-stylish"
    },
    {
      "label": "AutoWorkflow: Audit UI",
      "detail": "Check for orphan features (backend without UI)",
      "type": "shell",
      "command": "npm run audit:ui",
      "group": "test",
      "presentation": {
        "reveal": "always",
        "panel": "shared"
      },
      "problemMatcher": []
    },
    {
      "label": "AutoWorkflow: Audit Cycles",
      "detail": "Check for circular dependencies",
      "type": "shell",
      "command": "npm run audit:cycles",
      "group": "test",
      "presentation": {
        "reveal": "always",
        "panel": "shared"
      },
      "problemMatcher": []
    },
    {
      "label": "AutoWorkflow: Audit All",
      "detail": "Run all audit checks",
      "type": "shell",
      "command": "npm run audit:ui && npm run audit:cycles",
      "group": "test",
      "presentation": {
        "reveal": "always",
        "panel": "shared"
      },
      "problemMatcher": []
    },
    {
      "label": "AutoWorkflow: Format",
      "detail": "Format all files with Prettier",
      "type": "shell",
      "command": "npm run format",
      "group": "build",
      "presentation": {
        "reveal": "always",
        "panel": "shared"
      },
      "problemMatcher": []
    },
    {
      "label": "AutoWorkflow: Test",
      "detail": "Run tests",
      "type": "shell",
      "command": "npm run test",
      "group": "test",
      "presentation": {
        "reveal": "always",
        "panel": "shared"
      },
      "problemMatcher": []
    },
    {
      "label": "AutoWorkflow: Dev Server",
      "detail": "Start development server",
      "type": "shell",
      "command": "npm run dev",
      "group": "build",
      "isBackground": true,
      "presentation": {
        "reveal": "always",
        "panel": "dedicated"
      },
      "problemMatcher": []
    },
    {
      "label": "AutoWorkflow: Full Check",
      "detail": "Verify + Audit (pre-commit equivalent)",
      "type": "shell",
      "command": "npm run verify && npm run audit:ui && npm run audit:cycles",
      "group": "test",
      "presentation": {
        "reveal": "always",
        "panel": "shared"
      },
      "problemMatcher": ["$tsc", "$eslint-stylish"]
    },
    {
      "label": "AutoWorkflow: Commit",
      "detail": "Verify and commit with conventional message",
      "type": "shell",
      "command": "npm run verify && git add -A && git commit -m '${input:commitMessage}'",
      "group": "build",
      "presentation": {
        "reveal": "always",
        "panel": "shared"
      },
      "problemMatcher": "$tsc"
    }
  ],
  "inputs": [
    {
      "id": "commitMessage",
      "type": "promptString",
      "description": "Commit message (format: type(scope): description)"
    }
  ]
}
