{"_id":"@abianbiya/specflow","name":"@abianbiya/specflow","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@abianbiya/specflow","version":"0.1.0","description":"SpecFlow for pi: spec-driven development with review gates (skill), plus a live spec cockpit panel, /specflow picker, and in-terminal document viewer (TUI extension).","type":"module","license":"MIT","keywords":["pi-package","spec-driven","specflow","skills","agent"],"scripts":{"test":"bun test","prepublishOnly":"bun run scripts/sync-skill.ts --check && bun run scripts/check-fork.ts"},"pi":{"extensions":["./extensions"],"skills":["./skills"]},"peerDependencies":{"@earendil-works/pi-coding-agent":"*","@earendil-works/pi-tui":"*"},"peerDependenciesMeta":{"@earendil-works/pi-coding-agent":{"optional":true},"@earendil-works/pi-tui":{"optional":true}},"gitHead":"2381840c6a722c0d70cb4101bdf2223c50f4ff71","_id":"@abianbiya/specflow@0.1.0","_nodeVersion":"26.0.0","_npmVersion":"11.12.1","dist":{"integrity":"sha512-T14J5bAM8pimhLIsnB5slWbhzUYpQYnNp0W/+GLsZb/wd4GsPs66Y4/MTw1NqONHhHgWUcVc1hEf6zowuhniRg==","shasum":"28d2efe8dee44b255e339f6b5ad64a96b02ca2f4","tarball":"https://registry.npmjs.org/@abianbiya/specflow/-/specflow-0.1.0.tgz","fileCount":21,"unpackedSize":126703,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQC40piLHUpDW77PkNPLO0OdgG/sK0LjcP7j8eeMNnXbvwIgWyvjX/kd/jTRA+f40bgsaCXxUERDU7Xroc7IU5v4k4U="}]},"_npmUser":{"name":"abianbiya","email":"mail.anbiya@gmail.com"},"directories":{},"maintainers":[{"name":"abianbiya","email":"mail.anbiya@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/specflow_0.1.0_1789143031341_0.5134972515760363"},"_hasShrinkwrap":false}},"time":{"created":"2026-09-11T16:10:31.193Z","0.1.0":"2026-09-11T16:10:31.539Z","modified":"2026-09-11T16:10:31.735Z"},"maintainers":[{"name":"abianbiya","email":"mail.anbiya@gmail.com"}],"description":"SpecFlow for pi: spec-driven development with review gates (skill), plus a live spec cockpit panel, /specflow picker, and in-terminal document viewer (TUI extension).","keywords":["pi-package","spec-driven","specflow","skills","agent"],"license":"MIT","readme":"# @abianbiya/specflow\n\nSpec-driven development for [pi](https://pi.dev) — full SpecFlow workflow (Requirements → Design → Tasks → Execution with explicit review gates) plus a live cockpit panel that shows where every spec stands and when the agent is waiting on your approval.\n\nInstalling this package gives you two things:\n\n1. **The `specflow` skill** — the structured five-phase workflow: drafting `.specflow/specs/{feature}/` documents (requirements, design, tasks), explicit approval gates between phases, validated task execution, and lifecycle management (complete, archive, list, resume).\n2. **The SpecFlow TUI extension** — a live cockpit panel for the active spec (phase, progress, next actionable task, traceability warnings, and a gate badge when the agent is parked awaiting your review), plus a `/specflow` command that can **launch work** — execute a task, approve a gate and resume, validate — as well as switch specs and read documents. The extension itself never writes to `.specflow/`: every action reaches the agent as an explicit user message, so the skill stays the only writer.\n\n## Install\n\n```bash\npi install npm:@abianbiya/specflow\n```\n\nOr try it without installing:\n\n```bash\npi -e npm:@abianbiya/specflow\n```\n\nFor development against a local checkout:\n\n```bash\npi install -l /absolute/path/to/specflow-pi\n```\n\n## Usage\n\n- Ask for a feature and the agent drafts requirements, then design, then tasks — each stopping for your approval (the panel shows `awaiting your review` at every stop).\n- Live panel — the selected spec's name, phase (Requirements / Design / Tasks / Executing), done/total task count, status, and gate badge, updating within ~0.5 s of file edits.\n- `/specflow` — act on the active spec without leaving the terminal:\n  - **Execute a task…** — pick from the unfinished tasks (`▶` ready, `⏸` blocked, with what they wait on); the chosen task is sent to the agent as `Execute task 2.1 of the rate-limit spec.`\n  - **Approve gate and resume** — appears only while a review gate is pending\n  - **Validate implementation** / **Open document…** — `requirements.md`, `design.md`, `tasks.md`, or `project.md` in a scrollable popup\n  - **Hide/Show panel**, and the spec list to switch which spec the panel follows\n- Panel rows, beyond the phase: `Next: 2.1 Wire the Fastify hook` (first task whose dependencies are done), and one warning row when traceability is incomplete — `⚠ 1 unclaimed AC · 1 orphan criterion · 1 dangling dep`, i.e. requirements no task implements, citations of ACs that don't exist, and `Depends on:` ids that don't resolve.\n- `resume` / `complete` / `archive` — lifecycle routes from the skill; the panel reflects the reconciled state.\n\n## Companion package\n\n[`@abianbiya/speclet`](https://www.npmjs.com/package/@abianbiya/speclet) is the lightweight sibling: single-file specs for small features. Use specflow for mid-to-large features with multiple review gates.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_rev":"1-0143eb27c77ebb78cbe87947bd48d232"}