|
| 1 | +Title: feat(paramsets): add Interactive and Noninteractive ParameterSets to Install-SpecKitTemplate |
| 2 | + |
| 3 | +Summary |
| 4 | + |
| 5 | +This PR implements the design and planning artifacts for adding two ParameterSets to `tools/Install-SpecKitTemplate.ps1`: |
| 6 | +- `Interactive` parameter set: prompts for Agent, Shell, Version, Path, and Force when run in a TTY. |
| 7 | +- `Noninteractive` parameter set: accepts all parameters explicitly for CI usage. |
| 8 | + |
| 9 | +What changed (files added/updated) |
| 10 | + |
| 11 | +- Added feature spec and artifacts under `specs/002-parameter-sets/`: |
| 12 | + - `spec.md`, `plan.md`, `research.md`, `data-model.md`, `quickstart.md`, `tasks.md` |
| 13 | +- Added feature copies under `specs/feat/paramsets-install-speckit/` for plan integration. |
| 14 | +- Updated `tools/Install-SpecKitTemplate.ps1` (parameter-set plumbing and local edits present in branch). |
| 15 | + |
| 16 | +Behavior & Acceptance |
| 17 | + |
| 18 | +- Interactive runs will prompt only when targets exist or parameters are missing; SaveZip/Retry use defaults unless supplied. |
| 19 | +- Running `-Interactive` in a non-TTY environment fails with exit code 2. |
| 20 | +- Parameter-set validation is strict; incompatible parameter combinations fail with exit code 3. |
| 21 | +- Overwrite confirmation uses a single prompt offering Yes/YesToAll/No/NoToAll; No aborts with exit code 3. |
| 22 | + |
| 23 | +Testing |
| 24 | + |
| 25 | +- This PR includes tasks and test plans under `specs/*` but does not yet add the final Pester test files. The next steps in tasks.md cover adding Pester tests and implementing code to satisfy them. |
| 26 | + |
| 27 | +Notes |
| 28 | + |
| 29 | +- The `gh` CLI is not available in the execution environment; opening the PR via the GitHub web UI is recommended. Use the auto-generated URL below or paste this body into the PR form. |
| 30 | + |
| 31 | +Open PR URL |
| 32 | + |
| 33 | +https://github.com/johnmbaughman/PSSpecKit/pull/new/feat/paramsets-install-speckit |
| 34 | + |
| 35 | +Reviewer checklist |
| 36 | + |
| 37 | +- [ ] Confirm spec and research artifacts align with implementation direction |
| 38 | +- [ ] Review `tools/Install-SpecKitTemplate.ps1` parameter-set changes and validate no regressions |
| 39 | +- [ ] Run the Pester tests once T002/T003 are implemented |
| 40 | + |
0 commit comments