{
  "markdown": "# SDD Pilot\n\n[![License: MIT](https://img.shields.io/github/license/attilaszasz/sdd-pilot)](LICENSE)\n[![Latest Release](https://img.shields.io/github/v/release/attilaszasz/sdd-pilot)](https://github.com/attilaszasz/sdd-pilot/releases/latest)\n[![VS Code](https://img.shields.io/badge/VS%20Code-%E2%89%A5%201.109-007ACC?logo=visualstudiocode&logoColor=white)](https://code.visualstudio.com/)\n[![GitHub Copilot](https://img.shields.io/badge/GitHub%20Copilot-native-8957e5?logo=githubcopilot&logoColor=white)](https://marketplace.visualstudio.com/items?itemName=GitHub.copilot)\n[![Gemini CLI](https://img.shields.io/badge/Gemini%20CLI-extension-4285F4?logo=google&logoColor=white)](https://geminicli.com/)\n[![OpenAI Codex](https://img.shields.io/badge/OpenAI%20Codex-skills-412991?logo=openai&logoColor=white)](https://developers.openai.com/codex)\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/attilaszasz/sdd-pilot/pulls)\n\nEnhance your AI coding tool with a structured, spec-driven delivery workflow.\n\n## What is SDD Pilot?\n\nMost AI coding tools jump straight to code. SDD Pilot adds a [spec-driven development](https://www.linkedin.com/pulse/ai-augmented-spec-driven-development-lifecycle-attila-szász-64e9f/) layer on top — so you specify *what* to build before *how* to build it.\n\n- **Phase-by-phase process** — each feature moves through Specify → Plan → Tasks → Implement → QC\n- **Quality gates** — you cannot skip ahead; each phase requires the previous phase's artifacts\n- **Structured artifacts** — specs, plans, tasks, and QC reports live under `specs/<feature-folder>/`\n- **Specialized agents** — a dedicated role (Product Manager, Architect, Engineer, QC) handles each phase\n- **Autopilot mode** — run the full pipeline unattended with a single command\n\n> **Runtime output:** Workflow and sub-agent communication is compact by default. Milestone updates prefer `done / issues / next`, while safety warnings, destructive actions, and parser-sensitive artifacts stay explicit.\n\n> **Compatibility:** Works with **GitHub Copilot**, **Gemini CLI**, **Antigravity**, **Windsurf**, **OpenCode**, **Claude Code**, and **OpenAI Codex**.\n\n> **Codex behavior:** Codex wrappers explicitly stop for user answers at interactive decision points instead of inferring the recommended option. `/sddp-autopilot` remains the explicit unattended exception.\n\n> **Heritage:** SDD Pilot evolved from [Spec Kit](https://github.com/github/spec-kit) ([0.0.90](https://github.com/github/spec-kit/releases/tag/v0.0.90)).\n\n---\n\n## How It Works\n\nSDD Pilot has two workflows: an optional **project bootstrap** to set up shared context, and the **feature delivery** lifecycle you repeat for each feature.\n\n### Project Bootstrap (optional)\n\nSet up reusable product, architecture, and operations context before building features.\n\n```mermaid\nflowchart TB\n   B((Start)) --> PRD[\"/sddp-prd · Product Discovery\"]\n   B -.-> SA\n   PRD --> SA[\"/sddp-systemdesign · Architecture\"]\n   SA --> DO[\"/sddp-devops · Operations\"]\n   SA --> PP[\"/sddp-projectplan · Epic Planning\"]\n   DO -.-> PP\n   PP --> Init[\"/sddp-init · Governance\"]\n   PP -.-> Amend[\"/sddp-amend · Cross-Artifact Amend\"]\n   Init -.-> Amend\n   B --> Init\n\n   style B fill:#455A64,stroke:#263238,color:#fff\n   style PRD fill:#6D4C41,stroke:#3E2723,color:#fff\n   style SA fill:#5D4037,stroke:#3E2723,color:#fff\n   style DO fill:#00796B,stroke:#004D40,color:#fff\n   style PP fill:#283593,stroke:#1A237E,color:#fff\n   style Amend fill:#00838F,stroke:#006064,color:#fff\n   style Init fill:#512DA8,stroke:#311B92,color:#fff\n```\n\n| Command | What it does |\n|---------|-------------|\n| `/sddp-prd` | Turns a rough product idea into a canonical PRD (`specs/prd.md`) |\n| `/sddp-systemdesign` | Creates the Software Architecture Document (`specs/sad.md`) and standalone MADR decision records (`specs/adrs/`) |\n| `/sddp-devops` | Defines deployment & operations context (`specs/dod.md`) |\n| `/sddp-projectplan` | Decomposes the project into prioritized epics (`specs/project-plan.md`) |\n| `/sddp-amend` | Propagates a new project-level change across existing bootstrap artifacts and the project plan |\n| `/sddp-init` | Sets up project governance rules (`project-instructions.md`) |\n\nAll bootstrap steps except `/sddp-init` are optional. Once bootstrap artifacts exist, use `/sddp-amend` to keep them aligned when scope or strategy changes. You can still jump straight to `/sddp-init` and start delivering features.\n\n### Feature Delivery\n\nThe core lifecycle you run for each feature:\n\n```mermaid\nflowchart TB\n   S[\"/sddp-specify · Specify\"] --> C[\"/sddp-clarify · Clarify\"]\n   S --> P[\"/sddp-plan · Plan\"]\n   C --> P\n   P --> CH[\"/sddp-checklist · Checklist ⚬\"]\n   P --> T[\"/sddp-tasks · Tasks\"]\n   CH --> T\n   T --> A[\"/sddp-analyze · Analyze ⚬\"]\n   T --> I[\"/sddp-implement · Implement\"]\n   A --> I\n   I --> QC[\"/sddp-qc · QC\"]\n   QC -->|PASS| R[\"Release Ready ✓\"]\n   QC -->|FAIL| I\n\n   Auto[\"/sddp-autopilot\"] -.-> S\n   Loop[\"/sddp-implement-qc-loop\"] -.-> I\n\n   style S fill:#1976D2,stroke:#0D47A1,color:#fff\n   style C fill:#F57C00,stroke:#E65100,color:#fff\n   style P fill:#00796B,stroke:#004D40,color:#fff\n   style CH fill:#7B1FA2,stroke:#4A148C,color:#fff\n   style T fill:#D32F2F,stroke:#B71C1C,color:#fff\n   style A fill:#0288D1,stroke:#01579B,color:#fff\n   style I fill:#37474F,stroke:#263238,color:#fff\n   style QC fill:#C62828,stroke:#B71C1C,color:#fff\n   style R fill:#2E7D32,stroke:#1B5E20,color:#fff\n   style Auto fill:#00695C,stroke:#004D40,color:#fff\n   style Loop fill:#6A1B9A,stroke:#4A148C,color:#fff\n```\n\n*Phases marked ⚬ are optional but recommended.*\n\n| Phase | Command | What it produces |\n|-------|---------|-----------------|\n| **Specify** | `/sddp-specify` | `spec.md` — user stories, requirements, success criteria |\n| **Clarify** | `/sddp-clarify` | Updated `spec.md` with resolved ambiguities |\n| **Plan** | `/sddp-plan` | `plan.md` — architecture decisions, tech context |\n| **Checklist** | `/sddp-checklist` | `checklists/*.md` — requirements quality checks |\n| **Tasks** | `/sddp-tasks` | `tasks.md` — phased, dependency-ordered task list |\n| **Analyze** | `/sddp-analyze` | Consistency report (no files modified) |\n| **Implement** | `/sddp-implement` | Source code with tasks marked complete |\n| **QC** | `/sddp-qc` | `qc-report.md` — tests, lint, security, traceability |\n\n### Quality Gates\n\nEach phase requires the previous phase's output:\n\n- No planning without `spec.md`\n- No tasks without `plan.md`\n- No implementation without `tasks.md`\n- No QC without `.completed` (set when all tasks pass)\n- No release without `.qc-passed`\n- If QC fails, `.completed` is removed and `[BUG]` tasks are injected into `tasks.md`\n- `project-instructions.md` rules are enforced throughout\n\n### Autopilot\n\nRun the entire feature-delivery pipeline unattended:\n\n```text\n/sddp-autopilot Build user authentication with email/password\n```\n\n**Requires:** Autopilot enabled in `.github/sddp-config.md`, plus a registered Product Document and Technical Context Document. If either is missing, run `/sddp-prd` and/or `/sddp-systemdesign` first.\n\nFor OpenAI Codex, this unattended behavior is specific to `/sddp-autopilot`. The other Codex commands ask and wait at workflow decision points.\n\nAutopilot is provided through the repository's tool-specific workflow wrappers; there is no separate standalone `orchestrator/` package.\n\n---\n\n## Getting Started\n\n### Prerequisites\n\n| Tool | Requirements |\n|------|-------------|\n| **GitHub Copilot** | VS Code ≥ 1.109, Copilot Chat extension, active Copilot access |\n| **Gemini CLI** | Gemini CLI installed |\n| **Antigravity** | Antigravity installed |\n| **Windsurf** | Windsurf IDE installed |\n| **OpenCode** | OpenCode IDE or CLI installed |\n| **OpenAI Codex** | Codex CLI installed (`npm i -g @openai/codex`), active ChatGPT plan or OpenAI API key |\n| **Claude Code** | Claude Code CLI, active Anthropic API key or Claude Max subscription |\n\n> **Tip — environment setup:** Run `/sddp-devsetup` to analyze your repo and get a guided setup walkthrough.\n\n> **Tip — model choice:** You do not need the most expensive tiers. Recommended **GPT-5.4** or **Claude Sonnet 4.6**  \n\n### Installation\n\n1. Go to the [Releases page](https://github.com/attilaszasz/sdd-pilot/releases/latest).\n2. Download the archive for your tool:\n   - **GitHub Copilot** → `sdd-pilot-copilot-vX.Y.Z.zip`\n   - **Antigravity** → `sdd-pilot-antigravity-vX.Y.Z.zip`\n   - **Windsurf** → `sdd-pilot-windsurf-vX.Y.Z.zip`\n   - **OpenCode** → `sdd-pilot-opencode-vX.Y.Z.zip`\n   - **OpenAI Codex** → `sdd-pilot-codex-vX.Y.Z.zip`\n   - **Claude Code** → `sdd-pilot-claude-code-vX.Y.Z.zip`\n   - **Gemini CLI** → `gemini extensions install https://github.com/attilaszasz/sdd-pilot`\n\n3. Extract the archive contents to your project root.\n\n### Quick Start\n\n```bash\n# 1. Initialize project governance\n#    (optionally run /sddp-prd and /sddp-systemdesign first for richer context)\n```\n```text\n/sddp-init My project is a Node.js monorepo using TypeScript.\n```\n\n```bash\n# 2. Create a feature branch and deliver a feature\ngit checkout -b 00001-user-auth\n```\n```text\n/sddp-specify Build user authentication with email/password\n/sddp-clarify\n/sddp-plan\n/sddp-tasks\n/sddp-implement\n/sddp-qc\n```\n\nOr replace the feature commands with a single autopilot run:\n```text\n/sddp-autopilot Build user authentication with email/password\n```\n\n> **QC feedback loop:** If `/sddp-qc` fails, it injects `[BUG]` tasks and removes `.completed`. Run `/sddp-implement` again, then re-run `/sddp-qc`. Or use `/sddp-implement-qc-loop` to automate this cycle (up to 10 iterations).\n\n> **Interrupted?** Re-run `/sddp-implement` in a new chat. Completed tasks (marked `[X]`) are automatically skipped.\n\n> **Same chat or new chat?** Both work. Each command resets its context. A new chat is only recommended for `/sddp-specify` when starting a brand-new feature.\n\n### Safe Markdown Compression\n\nThis repo also includes an internal markdown compressor for narrative-heavy docs:\n\n```bash\nnode scripts/compress-markdown.mjs --check docs/reference.md\nnode scripts/compress-markdown.mjs docs/reference.md\n```\n\nIt is intentionally narrow. Allowed targets are `README.md`, `docs/**/*.md`, and feature-level `research.md`, `analysis-report.md`, and `manual-test.md`. It blocks parser-sensitive artifacts such as `spec.md`, `plan.md`, `tasks.md`, `qc-report.md`, checklist files, ADRs, and workflow/instruction files. The script preserves headings, fenced code, inline code, links, IDs, tables, and checkbox lines exactly, and writes a one-time `.original.md` backup before overwriting.\n\n---\n\n## Feature Workspaces\n\nEach feature gets its own workspace under `specs/`. The workspace name is derived from your git branch:\n\n```text\nBranch: 00001-user-auth  →  specs/00001-user-auth/\n```\n\nNew workspaces must use the `#####-feature-name` format (e.g. `00001-user-auth`). If your branch doesn't match this pattern, `/sddp-specify` will prompt you for a name.\n\n## Repository Validation\n\nThe repository now treats wrapper propagation as a checkable contract. CI builds the Gemini extension, runs `scripts/drift-report.mjs`, and fails if any supported wrapper surface is missing, points at the wrong canonical target, or diverges from its expected tool-specific behavior.\n\nRun the same validation locally with:\n\n```bash\nnode scripts/build-gemini-extension.mjs --output .build/sdd-pilot --version 0.0.0-local\nnode scripts/drift-report.mjs --output .build/drift-report --gemini-output .build/sdd-pilot --strict\n```\n\nThe drift report writes three artifacts under `.build/drift-report/`:\n\n- `drift-report.json` — machine-readable inventory, statuses, and findings\n- `drift-report.md` — workflow matrix, agent matrix, findings, and embedded Mermaid diagram\n- `drift-report.mmd` — raw Mermaid source for reuse in other tooling\n\nThe workflow matrix covers command-level wrappers across Claude, Agents skills, Agents workflows, OpenCode commands, Windsurf, and the generated Gemini bundle. The agent matrix covers tool-specific wrappers around canonical `.github/agents/` files, including OpenCode and Codex.\n\nStatus meanings:\n\n- `in-sync` — target, delegate mapping, and surface contract matched expectations\n- `missing` — an expected wrapper file is absent\n- `stale-reference` — a wrapper points at the wrong canonical skill or delegate target\n- `normalized-drift` — a wrapper still points at the right target but its tool-specific behavior contract drifted\n- `generated-mismatch` — the built Gemini artifact diverges from the source workflow contract\n- `unsupported-extra` — an unexpected wrapper file exists outside the supported inventory\n\n## Reference\n\n- [Full reference documentation](docs/reference.md) — agent role mapping, artifact taxonomy, sddp-config internals, workspace conventions\n- [Lifecycle and governance rules](AGENTS.md)\n- [Shared project context](.github/sddp-config.md)\n- [Specs file conventions](.github/instructions/sddp-specs.instructions.md)\n",
  "bytes": 12985,
  "sha": "00d86a503b8dce7c7f100a895d420d7620358b213ac13c68f53a945e2e8d3d69",
  "repo_slug": "evatechnosoft/sdd-pilot",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/plg_evatechnosoft_sdd_pilot_95624740/readme"
}