create-quiver 0.15.0 → 0.15.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/ci.yml +3 -0
- package/CHANGELOG.md +6 -0
- package/README.md +33 -0
- package/README_FOR_AI.md +13 -6
- package/ROADMAP.md +5 -0
- package/docs/AI_CONTEXT.md.template +4 -0
- package/docs/AI_ONBOARDING_PROMPT.md.template +8 -0
- package/docs/CLI_UX_GUIDE.md +31 -2
- package/docs/COMMANDS.md.template +16 -5
- package/docs/TROUBLESHOOTING.md +70 -0
- package/docs/TROUBLESHOOTING.md.template +20 -0
- package/docs/WORKFLOW.md.template +2 -2
- package/docs/getting-started/installation.md +86 -0
- package/docs/reference/commands.md +39 -5
- package/package.json +1 -1
- package/specs/quiver-v31-ai-model-catalog-agent-selection/EVIDENCE_REPORT.md +185 -0
- package/specs/quiver-v31-ai-model-catalog-agent-selection/EXECUTION_PLAN.md +85 -0
- package/specs/quiver-v31-ai-model-catalog-agent-selection/SPEC.md +337 -0
- package/specs/quiver-v31-ai-model-catalog-agent-selection/STATUS.md +30 -0
- package/specs/quiver-v31-ai-model-catalog-agent-selection/pr.md +98 -0
- package/specs/quiver-v31-ai-model-catalog-agent-selection/slices/slice-00-spec-foundation/CLOSURE_BRIEF.md +30 -0
- package/specs/quiver-v31-ai-model-catalog-agent-selection/slices/slice-00-spec-foundation/EXECUTION_BRIEF.md +51 -0
- package/specs/quiver-v31-ai-model-catalog-agent-selection/slices/slice-00-spec-foundation/slice.json +62 -0
- package/specs/quiver-v31-ai-model-catalog-agent-selection/slices/slice-01-model-catalog-alias-normalization/CLOSURE_BRIEF.md +32 -0
- package/specs/quiver-v31-ai-model-catalog-agent-selection/slices/slice-01-model-catalog-alias-normalization/EXECUTION_BRIEF.md +53 -0
- package/specs/quiver-v31-ai-model-catalog-agent-selection/slices/slice-01-model-catalog-alias-normalization/slice.json +72 -0
- package/specs/quiver-v31-ai-model-catalog-agent-selection/slices/slice-02-interactive-agent-set-selectors/CLOSURE_BRIEF.md +36 -0
- package/specs/quiver-v31-ai-model-catalog-agent-selection/slices/slice-02-interactive-agent-set-selectors/EXECUTION_BRIEF.md +56 -0
- package/specs/quiver-v31-ai-model-catalog-agent-selection/slices/slice-02-interactive-agent-set-selectors/slice.json +78 -0
- package/specs/quiver-v31-ai-model-catalog-agent-selection/slices/slice-03-agent-doctor-repair/CLOSURE_BRIEF.md +36 -0
- package/specs/quiver-v31-ai-model-catalog-agent-selection/slices/slice-03-agent-doctor-repair/EXECUTION_BRIEF.md +57 -0
- package/specs/quiver-v31-ai-model-catalog-agent-selection/slices/slice-03-agent-doctor-repair/slice.json +77 -0
- package/specs/quiver-v31-ai-model-catalog-agent-selection/slices/slice-04-shared-preflight-provider-errors/CLOSURE_BRIEF.md +35 -0
- package/specs/quiver-v31-ai-model-catalog-agent-selection/slices/slice-04-shared-preflight-provider-errors/EXECUTION_BRIEF.md +55 -0
- package/specs/quiver-v31-ai-model-catalog-agent-selection/slices/slice-04-shared-preflight-provider-errors/slice.json +84 -0
- package/specs/quiver-v31-ai-model-catalog-agent-selection/slices/slice-05-ai-models-list/CLOSURE_BRIEF.md +32 -0
- package/specs/quiver-v31-ai-model-catalog-agent-selection/slices/slice-05-ai-models-list/EXECUTION_BRIEF.md +52 -0
- package/specs/quiver-v31-ai-model-catalog-agent-selection/slices/slice-05-ai-models-list/slice.json +72 -0
- package/specs/quiver-v31-ai-model-catalog-agent-selection/slices/slice-06-docs-templates-alignment/CLOSURE_BRIEF.md +33 -0
- package/specs/quiver-v31-ai-model-catalog-agent-selection/slices/slice-06-docs-templates-alignment/EXECUTION_BRIEF.md +58 -0
- package/specs/quiver-v31-ai-model-catalog-agent-selection/slices/slice-06-docs-templates-alignment/slice.json +84 -0
- package/specs/quiver-v31-ai-model-catalog-agent-selection/slices/slice-07-tests-smokes-release-readiness/CLOSURE_BRIEF.md +32 -0
- package/specs/quiver-v31-ai-model-catalog-agent-selection/slices/slice-07-tests-smokes-release-readiness/EXECUTION_BRIEF.md +59 -0
- package/specs/quiver-v31-ai-model-catalog-agent-selection/slices/slice-07-tests-smokes-release-readiness/slice.json +94 -0
- package/specs/quiver-v32-npx-installation-guidance/EVIDENCE_REPORT.md +26 -0
- package/specs/quiver-v32-npx-installation-guidance/SPEC.md +55 -0
- package/specs/quiver-v32-npx-installation-guidance/STATUS.md +23 -0
- package/specs/quiver-v32-npx-installation-guidance/pr.md +72 -0
- package/specs/quiver-v32-npx-installation-guidance/slices/slice-00-installation-docs/CLOSURE_BRIEF.md +31 -0
- package/specs/quiver-v32-npx-installation-guidance/slices/slice-00-installation-docs/EXECUTION_BRIEF.md +56 -0
- package/specs/quiver-v32-npx-installation-guidance/slices/slice-00-installation-docs/slice.json +75 -0
- package/specs/quiver-v33-approval-ux-and-planner-progress/EVIDENCE_REPORT.md +93 -0
- package/specs/quiver-v33-approval-ux-and-planner-progress/EXECUTION_PLAN.md +83 -0
- package/specs/quiver-v33-approval-ux-and-planner-progress/SPEC.md +158 -0
- package/specs/quiver-v33-approval-ux-and-planner-progress/STATUS.md +31 -0
- package/specs/quiver-v33-approval-ux-and-planner-progress/pr.md +109 -0
- package/specs/quiver-v33-approval-ux-and-planner-progress/slices/slice-00-approval-ux-foundation/CLOSURE_BRIEF.md +30 -0
- package/specs/quiver-v33-approval-ux-and-planner-progress/slices/slice-00-approval-ux-foundation/EXECUTION_BRIEF.md +56 -0
- package/specs/quiver-v33-approval-ux-and-planner-progress/slices/slice-00-approval-ux-foundation/slice.json +65 -0
- package/specs/quiver-v33-approval-ux-and-planner-progress/slices/slice-01-approval-candidates-model/CLOSURE_BRIEF.md +19 -0
- package/specs/quiver-v33-approval-ux-and-planner-progress/slices/slice-01-approval-candidates-model/EXECUTION_BRIEF.md +51 -0
- package/specs/quiver-v33-approval-ux-and-planner-progress/slices/slice-01-approval-candidates-model/slice.json +74 -0
- package/specs/quiver-v33-approval-ux-and-planner-progress/slices/slice-02-approve-interactive-selection/CLOSURE_BRIEF.md +20 -0
- package/specs/quiver-v33-approval-ux-and-planner-progress/slices/slice-02-approve-interactive-selection/EXECUTION_BRIEF.md +53 -0
- package/specs/quiver-v33-approval-ux-and-planner-progress/slices/slice-02-approve-interactive-selection/slice.json +79 -0
- package/specs/quiver-v33-approval-ux-and-planner-progress/slices/slice-03-technical-plan-review-decision-data/CLOSURE_BRIEF.md +19 -0
- package/specs/quiver-v33-approval-ux-and-planner-progress/slices/slice-03-technical-plan-review-decision-data/EXECUTION_BRIEF.md +50 -0
- package/specs/quiver-v33-approval-ux-and-planner-progress/slices/slice-03-technical-plan-review-decision-data/slice.json +75 -0
- package/specs/quiver-v33-approval-ux-and-planner-progress/slices/slice-04-revise-input-guardrails/CLOSURE_BRIEF.md +19 -0
- package/specs/quiver-v33-approval-ux-and-planner-progress/slices/slice-04-revise-input-guardrails/EXECUTION_BRIEF.md +51 -0
- package/specs/quiver-v33-approval-ux-and-planner-progress/slices/slice-04-revise-input-guardrails/slice.json +73 -0
- package/specs/quiver-v33-approval-ux-and-planner-progress/slices/slice-05-provider-progress-alignment/CLOSURE_BRIEF.md +20 -0
- package/specs/quiver-v33-approval-ux-and-planner-progress/slices/slice-05-provider-progress-alignment/EXECUTION_BRIEF.md +51 -0
- package/specs/quiver-v33-approval-ux-and-planner-progress/slices/slice-05-provider-progress-alignment/slice.json +91 -0
- package/specs/quiver-v33-approval-ux-and-planner-progress/slices/slice-06-workflow-surface-integration/CLOSURE_BRIEF.md +20 -0
- package/specs/quiver-v33-approval-ux-and-planner-progress/slices/slice-06-workflow-surface-integration/EXECUTION_BRIEF.md +53 -0
- package/specs/quiver-v33-approval-ux-and-planner-progress/slices/slice-06-workflow-surface-integration/slice.json +87 -0
- package/specs/quiver-v33-approval-ux-and-planner-progress/slices/slice-07-docs-tests-release-readiness/CLOSURE_BRIEF.md +21 -0
- package/specs/quiver-v33-approval-ux-and-planner-progress/slices/slice-07-docs-tests-release-readiness/EXECUTION_BRIEF.md +55 -0
- package/specs/quiver-v33-approval-ux-and-planner-progress/slices/slice-07-docs-tests-release-readiness/slice.json +97 -0
- package/src/create-quiver/commands/ai.js +561 -46
- package/src/create-quiver/commands/flow.js +76 -14
- package/src/create-quiver/commands/spec.js +8 -1
- package/src/create-quiver/index.js +36 -12
- package/src/create-quiver/lib/agent-profiles.js +332 -4
- package/src/create-quiver/lib/ai/approval-candidates.js +86 -0
- package/src/create-quiver/lib/ai/execution-plan.js +7 -2
- package/src/create-quiver/lib/ai/executor.js +9 -2
- package/src/create-quiver/lib/ai/model-catalog.js +333 -0
- package/src/create-quiver/lib/ai/plan-review.js +77 -1
- package/src/create-quiver/lib/ai/providers.js +143 -4
- package/src/create-quiver/lib/ai/run-state.js +21 -4
- package/src/create-quiver/lib/approvals.js +103 -0
- package/src/create-quiver/lib/cli/selectors.js +53 -0
- package/src/create-quiver/lib/git.js +13 -4
- package/src/create-quiver/lib/paths.js +45 -3
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# CLOSURE_BRIEF - slice-05 AI models list command
|
|
2
|
+
|
|
3
|
+
## Summary
|
|
4
|
+
|
|
5
|
+
Implemented `ai models list` with human and JSON output for Quiver's local model catalog.
|
|
6
|
+
|
|
7
|
+
## Validation Against Acceptance Criteria
|
|
8
|
+
|
|
9
|
+
- [x] Models list command works and groups by provider.
|
|
10
|
+
- [x] Provider filter works for `--provider codex`.
|
|
11
|
+
- [x] JSON output parses and includes catalog metadata.
|
|
12
|
+
- [x] Help includes the command.
|
|
13
|
+
- [x] Human output says models are known by Quiver and does not claim availability.
|
|
14
|
+
|
|
15
|
+
## Relevant Changes
|
|
16
|
+
|
|
17
|
+
- Added `runModelsList` command handler.
|
|
18
|
+
- Added `ai models list` parser and command routing.
|
|
19
|
+
- Updated CLI help and command contract tests.
|
|
20
|
+
- Added `tests/commands/ai-models.test.js`.
|
|
21
|
+
|
|
22
|
+
## Pending
|
|
23
|
+
|
|
24
|
+
- None for this slice.
|
|
25
|
+
|
|
26
|
+
## Remaining Risks
|
|
27
|
+
|
|
28
|
+
- The catalog remains local and can become stale until a remote/update mechanism exists.
|
|
29
|
+
|
|
30
|
+
## Future Recommendations
|
|
31
|
+
|
|
32
|
+
Use this command as the future integration point for a remote model catalog API.
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# EXECUTION_BRIEF - slice-05 AI models list command
|
|
2
|
+
|
|
3
|
+
## Context
|
|
4
|
+
|
|
5
|
+
Users need a discoverable way to see Quiver's known providers and model ids without reading source files.
|
|
6
|
+
|
|
7
|
+
## Objective
|
|
8
|
+
|
|
9
|
+
Add `ai models list` with human and JSON output.
|
|
10
|
+
|
|
11
|
+
## Scope
|
|
12
|
+
|
|
13
|
+
- `src/create-quiver/commands/ai.js`
|
|
14
|
+
- `src/create-quiver/lib/ai/model-catalog.js`
|
|
15
|
+
- command/help tests
|
|
16
|
+
|
|
17
|
+
## Acceptance Criteria
|
|
18
|
+
|
|
19
|
+
- `ai models list` groups models by provider.
|
|
20
|
+
- `ai models list --provider codex` filters to Codex.
|
|
21
|
+
- `ai models list --json` emits valid JSON with `catalogVersion` and `lastUpdated`.
|
|
22
|
+
- Human output says known by Quiver, not available.
|
|
23
|
+
- Help output includes the command.
|
|
24
|
+
|
|
25
|
+
## Technical Plan Summary
|
|
26
|
+
|
|
27
|
+
Render the catalog through the existing CLI UX primitives and keep JSON output free of colors/prompts/prose.
|
|
28
|
+
|
|
29
|
+
## Suggested Steps
|
|
30
|
+
|
|
31
|
+
1. Add command routing.
|
|
32
|
+
2. Add provider filter validation.
|
|
33
|
+
3. Add human renderer.
|
|
34
|
+
4. Add JSON renderer.
|
|
35
|
+
5. Add tests for output and help contract.
|
|
36
|
+
|
|
37
|
+
## Restrictions
|
|
38
|
+
|
|
39
|
+
- Do not call provider CLIs.
|
|
40
|
+
- Do not implement remote catalog lookup.
|
|
41
|
+
- Do not call models available without validation.
|
|
42
|
+
|
|
43
|
+
## Risks
|
|
44
|
+
|
|
45
|
+
- Human output can become too noisy if metadata is excessive.
|
|
46
|
+
|
|
47
|
+
## Completion Checklist
|
|
48
|
+
|
|
49
|
+
- [ ] Human output implemented.
|
|
50
|
+
- [ ] JSON output implemented.
|
|
51
|
+
- [ ] Provider filtering tested.
|
|
52
|
+
- [ ] Help contract updated.
|
package/specs/quiver-v31-ai-model-catalog-agent-selection/slices/slice-05-ai-models-list/slice.json
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
{
|
|
2
|
+
"slice_id": "slice-05-ai-models-list",
|
|
3
|
+
"ticket": "QUIVER-31-05",
|
|
4
|
+
"type": "feature",
|
|
5
|
+
"title": "AI models list command",
|
|
6
|
+
"objective": "Expose Quiver's known model catalog through human and JSON CLI output.",
|
|
7
|
+
"description": "Adds `ai models list` with provider filtering, role metadata, catalog version, last updated date, and clean machine output.",
|
|
8
|
+
"git": {
|
|
9
|
+
"branch_type": "feature",
|
|
10
|
+
"base_branch": "main",
|
|
11
|
+
"branch_slug": "v31-ai-models-list",
|
|
12
|
+
"branch_name": "feature/QUIVER-31-05-v31-ai-models-list"
|
|
13
|
+
},
|
|
14
|
+
"files": [
|
|
15
|
+
"src/create-quiver/commands/ai.js",
|
|
16
|
+
"src/create-quiver/lib/ai/model-catalog.js",
|
|
17
|
+
"tests/commands/ai-models.test.js",
|
|
18
|
+
"tests/commands/cli-contract.test.js"
|
|
19
|
+
],
|
|
20
|
+
"expected_read_paths": [
|
|
21
|
+
"SPEC.md",
|
|
22
|
+
"src/create-quiver/commands/ai.js",
|
|
23
|
+
"src/create-quiver/lib/ai/model-catalog.js",
|
|
24
|
+
"src/create-quiver/lib/cli/ux.js"
|
|
25
|
+
],
|
|
26
|
+
"allowed_write_paths": [
|
|
27
|
+
"src/create-quiver/commands/ai.js",
|
|
28
|
+
"src/create-quiver/lib/ai/model-catalog.js",
|
|
29
|
+
"tests/commands/ai-models.test.js",
|
|
30
|
+
"tests/commands/cli-contract.test.js",
|
|
31
|
+
"specs/quiver-v31-ai-model-catalog-agent-selection/**"
|
|
32
|
+
],
|
|
33
|
+
"depends_on": [
|
|
34
|
+
"slice-01-model-catalog-alias-normalization"
|
|
35
|
+
],
|
|
36
|
+
"parallel_safe": "yes",
|
|
37
|
+
"parallel_safe_reason": "Can run after catalog and mostly touches list output/tests.",
|
|
38
|
+
"must": [
|
|
39
|
+
"Add `ai models list` command.",
|
|
40
|
+
"Support `--provider <id>` filtering.",
|
|
41
|
+
"Support `--json` clean output.",
|
|
42
|
+
"Human output must group by provider and show recommended roles.",
|
|
43
|
+
"JSON output must include catalogVersion and lastUpdated.",
|
|
44
|
+
"Use wording `known by Quiver`, not `available`.",
|
|
45
|
+
"Update CLI help/contract tests."
|
|
46
|
+
],
|
|
47
|
+
"not_included": [
|
|
48
|
+
"Remote model catalog API.",
|
|
49
|
+
"Live model availability checks.",
|
|
50
|
+
"Interactive profile setup."
|
|
51
|
+
],
|
|
52
|
+
"acceptance": [
|
|
53
|
+
"`ai models list` groups models by provider.",
|
|
54
|
+
"`ai models list --provider codex` only shows Codex models.",
|
|
55
|
+
"`ai models list --json` outputs valid JSON without colors/prose.",
|
|
56
|
+
"Unknown provider filter fails with supported provider guidance.",
|
|
57
|
+
"Help output includes the new command."
|
|
58
|
+
],
|
|
59
|
+
"tests": [
|
|
60
|
+
"node --test tests/commands/ai-models.test.js tests/commands/cli-contract.test.js",
|
|
61
|
+
"git diff --check"
|
|
62
|
+
],
|
|
63
|
+
"validation_hints": [
|
|
64
|
+
"Validate JSON parsing in tests.",
|
|
65
|
+
"Validate human output does not say available."
|
|
66
|
+
],
|
|
67
|
+
"estimated_hours": 4,
|
|
68
|
+
"status": "completed",
|
|
69
|
+
"blocked_reason": null,
|
|
70
|
+
"actual_hours": 3,
|
|
71
|
+
"completed_at": "2026-05-27"
|
|
72
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# CLOSURE_BRIEF - slice-06 Documentation and generated template alignment
|
|
2
|
+
|
|
3
|
+
## Summary
|
|
4
|
+
|
|
5
|
+
Updated public docs, source-of-truth AI guidance, command reference, CLI UX guide, generated templates, roadmap, and v31 status to describe the new model catalog and agent profile setup contract.
|
|
6
|
+
|
|
7
|
+
## Validation Against Acceptance Criteria
|
|
8
|
+
|
|
9
|
+
- [x] Docs explain `model` vs `displayName`.
|
|
10
|
+
- [x] Docs explain catalog limitations: models are known by Quiver, not guaranteed available in the user's provider account.
|
|
11
|
+
- [x] Commands are documented: `ai models list`, `ai agent doctor`, and `ai agent repair --dry-run`.
|
|
12
|
+
- [x] Generated templates are aligned with current setup, no-TTY/script setup, and legacy-profile repair guidance.
|
|
13
|
+
|
|
14
|
+
## Relevant Changes
|
|
15
|
+
|
|
16
|
+
- Updated `README.md` with concise agent setup commands and profile data guidance.
|
|
17
|
+
- Updated `docs/reference/commands.md` with model listing, interactive agent setup, profile doctor, and repair dry-run commands.
|
|
18
|
+
- Updated `docs/CLI_UX_GUIDE.md` with the canonical profile data contract and UX matrix rows.
|
|
19
|
+
- Updated generated templates `docs/COMMANDS.md.template`, `docs/AI_ONBOARDING_PROMPT.md.template`, and `docs/AI_CONTEXT.md.template`.
|
|
20
|
+
- Updated `README_FOR_AI.md`, `ROADMAP.md`, and this spec status to reflect completed docs/templates alignment without claiming package publication.
|
|
21
|
+
|
|
22
|
+
## Pending
|
|
23
|
+
|
|
24
|
+
Final release-readiness validation remains in `slice-07-tests-smokes-release-readiness`.
|
|
25
|
+
|
|
26
|
+
## Remaining Risks
|
|
27
|
+
|
|
28
|
+
- The local model catalog can become stale until Quiver has a remote or update mechanism.
|
|
29
|
+
- Account-level model access still depends on the provider CLI/account and can only be proven by live execution.
|
|
30
|
+
|
|
31
|
+
## Future Recommendations
|
|
32
|
+
|
|
33
|
+
Keep model catalog docs close to command references so users do not treat catalog entries as guaranteed access.
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
# EXECUTION_BRIEF - slice-06 Documentation and generated template alignment
|
|
2
|
+
|
|
3
|
+
## Context
|
|
4
|
+
|
|
5
|
+
The new model catalog and agent setup behavior must be discoverable in the public README, AI source of truth, command reference, CLI UX guide, and generated project docs.
|
|
6
|
+
|
|
7
|
+
## Objective
|
|
8
|
+
|
|
9
|
+
Document the finalized v31 behavior without duplicating long procedural content in the root README.
|
|
10
|
+
|
|
11
|
+
## Scope
|
|
12
|
+
|
|
13
|
+
- `README.md`
|
|
14
|
+
- `README_FOR_AI.md`
|
|
15
|
+
- `ROADMAP.md`
|
|
16
|
+
- `docs/CLI_UX_GUIDE.md`
|
|
17
|
+
- `docs/reference/commands.md`
|
|
18
|
+
- `docs/COMMANDS.md.template`
|
|
19
|
+
- generated onboarding/context templates where relevant
|
|
20
|
+
|
|
21
|
+
## Acceptance Criteria
|
|
22
|
+
|
|
23
|
+
- Docs explain `model` vs `displayName`.
|
|
24
|
+
- Docs explain known catalog vs account availability.
|
|
25
|
+
- Docs include interactive and no-TTY setup.
|
|
26
|
+
- Docs include `ai models list`, `ai agent doctor`, and `ai agent repair --dry-run`.
|
|
27
|
+
- Generated templates include current guidance where appropriate.
|
|
28
|
+
- Source-of-truth docs are synchronized.
|
|
29
|
+
|
|
30
|
+
## Technical Plan Summary
|
|
31
|
+
|
|
32
|
+
Update the canonical docs after command contracts settle. Keep README concise and put details in references/templates.
|
|
33
|
+
|
|
34
|
+
## Suggested Steps
|
|
35
|
+
|
|
36
|
+
1. Update command reference.
|
|
37
|
+
2. Update CLI UX guide.
|
|
38
|
+
3. Update generated command/onboarding templates.
|
|
39
|
+
4. Update README_FOR_AI and ROADMAP.
|
|
40
|
+
5. Add concise README mention only if useful.
|
|
41
|
+
6. Run docs validation and spec validation.
|
|
42
|
+
|
|
43
|
+
## Restrictions
|
|
44
|
+
|
|
45
|
+
- Do not claim npm publication.
|
|
46
|
+
- Do not add implementation code.
|
|
47
|
+
- Do not duplicate full procedure in root README.
|
|
48
|
+
|
|
49
|
+
## Risks
|
|
50
|
+
|
|
51
|
+
- Generated templates can drift from root docs.
|
|
52
|
+
|
|
53
|
+
## Completion Checklist
|
|
54
|
+
|
|
55
|
+
- [ ] Repo docs updated.
|
|
56
|
+
- [ ] Generated templates updated.
|
|
57
|
+
- [ ] README_FOR_AI synchronized.
|
|
58
|
+
- [ ] Spec validation passes.
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
{
|
|
2
|
+
"slice_id": "slice-06-docs-templates-alignment",
|
|
3
|
+
"ticket": "QUIVER-31-06",
|
|
4
|
+
"type": "documentation",
|
|
5
|
+
"title": "Documentation and generated template alignment",
|
|
6
|
+
"objective": "Document the new agent model setup contract in repo docs and generated project guidance.",
|
|
7
|
+
"description": "Explains model ids vs display names, known catalog limitations, interactive setup, script setup, model listing, doctor, repair, and legacy-profile repair guidance.",
|
|
8
|
+
"git": {
|
|
9
|
+
"branch_type": "feature",
|
|
10
|
+
"base_branch": "main",
|
|
11
|
+
"branch_slug": "v31-docs-templates-alignment",
|
|
12
|
+
"branch_name": "feature/QUIVER-31-06-v31-docs-templates-alignment"
|
|
13
|
+
},
|
|
14
|
+
"files": [
|
|
15
|
+
"README.md",
|
|
16
|
+
"README_FOR_AI.md",
|
|
17
|
+
"ROADMAP.md",
|
|
18
|
+
"docs/CLI_UX_GUIDE.md",
|
|
19
|
+
"docs/reference/commands.md",
|
|
20
|
+
"docs/COMMANDS.md.template",
|
|
21
|
+
"docs/AI_ONBOARDING_PROMPT.md.template",
|
|
22
|
+
"docs/AI_CONTEXT.md.template"
|
|
23
|
+
],
|
|
24
|
+
"expected_read_paths": [
|
|
25
|
+
"SPEC.md",
|
|
26
|
+
"README_FOR_AI.md",
|
|
27
|
+
"README.md",
|
|
28
|
+
"docs/CLI_UX_GUIDE.md",
|
|
29
|
+
"docs/reference/commands.md",
|
|
30
|
+
"docs/COMMANDS.md.template"
|
|
31
|
+
],
|
|
32
|
+
"allowed_write_paths": [
|
|
33
|
+
"README.md",
|
|
34
|
+
"README_FOR_AI.md",
|
|
35
|
+
"ROADMAP.md",
|
|
36
|
+
"docs/CLI_UX_GUIDE.md",
|
|
37
|
+
"docs/reference/commands.md",
|
|
38
|
+
"docs/COMMANDS.md.template",
|
|
39
|
+
"docs/AI_ONBOARDING_PROMPT.md.template",
|
|
40
|
+
"docs/AI_CONTEXT.md.template",
|
|
41
|
+
"specs/quiver-v31-ai-model-catalog-agent-selection/**"
|
|
42
|
+
],
|
|
43
|
+
"depends_on": [
|
|
44
|
+
"slice-04-shared-preflight-provider-errors",
|
|
45
|
+
"slice-05-ai-models-list"
|
|
46
|
+
],
|
|
47
|
+
"parallel_safe": "no",
|
|
48
|
+
"parallel_safe_reason": "Docs should be written after final command contracts settle.",
|
|
49
|
+
"must": [
|
|
50
|
+
"Update README only with concise public-facing guidance if needed.",
|
|
51
|
+
"Update README_FOR_AI as source of truth.",
|
|
52
|
+
"Update command reference and CLI UX guide.",
|
|
53
|
+
"Update generated command templates.",
|
|
54
|
+
"Document known catalog vs available account model.",
|
|
55
|
+
"Document no-TTY/script-safe setup.",
|
|
56
|
+
"Document legacy repair flow for projects with bad profile models."
|
|
57
|
+
],
|
|
58
|
+
"not_included": [
|
|
59
|
+
"Implementation code.",
|
|
60
|
+
"Long duplicated step-by-step content in root README.",
|
|
61
|
+
"Claiming npm publication."
|
|
62
|
+
],
|
|
63
|
+
"acceptance": [
|
|
64
|
+
"Docs explain `model` vs `displayName`.",
|
|
65
|
+
"Docs explain catalog entries are known by Quiver, not guaranteed available.",
|
|
66
|
+
"Docs include `ai models list`, `ai agent doctor`, and `ai agent repair --dry-run`.",
|
|
67
|
+
"Generated project guidance includes current setup flow where appropriate.",
|
|
68
|
+
"README_FOR_AI stays synchronized with implemented behavior."
|
|
69
|
+
],
|
|
70
|
+
"tests": [
|
|
71
|
+
"git diff --check",
|
|
72
|
+
"node bin/create-quiver.js --help",
|
|
73
|
+
"node bin/create-quiver.js spec validate specs/quiver-v31-ai-model-catalog-agent-selection"
|
|
74
|
+
],
|
|
75
|
+
"validation_hints": [
|
|
76
|
+
"Keep root README concise.",
|
|
77
|
+
"Do not say v31 is shipped until release publication is complete."
|
|
78
|
+
],
|
|
79
|
+
"estimated_hours": 5,
|
|
80
|
+
"status": "completed",
|
|
81
|
+
"blocked_reason": null,
|
|
82
|
+
"actual_hours": 3,
|
|
83
|
+
"completed_at": "2026-05-27"
|
|
84
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# CLOSURE_BRIEF - slice-07 Tests, smokes, package dry-run, and release readiness
|
|
2
|
+
|
|
3
|
+
## Summary
|
|
4
|
+
|
|
5
|
+
Completed v31 release-readiness validation, updated package smoke coverage for the new model/profile help contract, and recorded final evidence.
|
|
6
|
+
|
|
7
|
+
## Validation Against Acceptance Criteria
|
|
8
|
+
|
|
9
|
+
- [x] Full test suite passed.
|
|
10
|
+
- [x] Smoke suites passed.
|
|
11
|
+
- [x] Package smoke passed.
|
|
12
|
+
- [x] npm pack dry-run passed.
|
|
13
|
+
- [x] Evidence report completed.
|
|
14
|
+
|
|
15
|
+
## Relevant Changes
|
|
16
|
+
|
|
17
|
+
- Corrected CLI help and flow guidance so `--model` is documented as a technical model id.
|
|
18
|
+
- Updated tests and smoke script expectations to assert current `ai agent doctor`, `ai agent repair`, `ai models list`, and `--model <model-id>` help output.
|
|
19
|
+
- Updated `CHANGELOG.md`, `README_FOR_AI.md`, `ROADMAP.md`, `STATUS.md`, `EVIDENCE_REPORT.md`, and `pr.md` for v31 release readiness.
|
|
20
|
+
|
|
21
|
+
## Pending
|
|
22
|
+
|
|
23
|
+
PR creation and npm publication require explicit human approval.
|
|
24
|
+
|
|
25
|
+
## Remaining Risks
|
|
26
|
+
|
|
27
|
+
- Catalog entries are known by Quiver and can become stale.
|
|
28
|
+
- Account-level model availability still depends on provider CLI/account access and should be validated live only when the user opts in.
|
|
29
|
+
|
|
30
|
+
## Future Recommendations
|
|
31
|
+
|
|
32
|
+
Publish only after the human confirms release intent and npm authentication is ready.
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# EXECUTION_BRIEF - slice-07 Tests, smokes, package dry-run, and release readiness
|
|
2
|
+
|
|
3
|
+
## Context
|
|
4
|
+
|
|
5
|
+
The v31 changes touch core AI command behavior and agent profile setup. Release readiness must prove backward compatibility, no-TTY safety, JSON cleanliness, and package safety.
|
|
6
|
+
|
|
7
|
+
## Objective
|
|
8
|
+
|
|
9
|
+
Close v31 with full validation, evidence, and release readiness without publishing npm.
|
|
10
|
+
|
|
11
|
+
## Scope
|
|
12
|
+
|
|
13
|
+
- tests and smoke suites
|
|
14
|
+
- final docs/evidence updates
|
|
15
|
+
- `CHANGELOG.md`
|
|
16
|
+
- `README_FOR_AI.md`
|
|
17
|
+
- `ROADMAP.md`
|
|
18
|
+
- v31 spec closure files
|
|
19
|
+
|
|
20
|
+
## Acceptance Criteria
|
|
21
|
+
|
|
22
|
+
- Full test suite passes.
|
|
23
|
+
- Smoke suites pass.
|
|
24
|
+
- Package smoke and npm pack dry-run pass.
|
|
25
|
+
- Spec validation passes.
|
|
26
|
+
- Final evidence is recorded.
|
|
27
|
+
- Known remaining risks are documented.
|
|
28
|
+
|
|
29
|
+
## Technical Plan Summary
|
|
30
|
+
|
|
31
|
+
Run final validation after every implementation and docs slice, then update status/evidence/PR body/closure briefs.
|
|
32
|
+
|
|
33
|
+
## Suggested Steps
|
|
34
|
+
|
|
35
|
+
1. Run focused tests from prior slices if needed.
|
|
36
|
+
2. Run full suite.
|
|
37
|
+
3. Run smoke suites.
|
|
38
|
+
4. Run package safety and npm pack dry-run.
|
|
39
|
+
5. Validate spec.
|
|
40
|
+
6. Update final evidence and status.
|
|
41
|
+
|
|
42
|
+
## Restrictions
|
|
43
|
+
|
|
44
|
+
- Do not publish npm.
|
|
45
|
+
- Do not skip failed tests.
|
|
46
|
+
- Do not add new product scope.
|
|
47
|
+
|
|
48
|
+
## Risks
|
|
49
|
+
|
|
50
|
+
- Live provider validation depends on local provider auth and should be documented separately.
|
|
51
|
+
- Catalog staleness remains a known operational risk.
|
|
52
|
+
|
|
53
|
+
## Completion Checklist
|
|
54
|
+
|
|
55
|
+
- [ ] Full tests pass.
|
|
56
|
+
- [ ] Smokes pass.
|
|
57
|
+
- [ ] Package dry-run passes.
|
|
58
|
+
- [ ] Evidence report completed.
|
|
59
|
+
- [ ] PR body updated.
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
{
|
|
2
|
+
"slice_id": "slice-07-tests-smokes-release-readiness",
|
|
3
|
+
"ticket": "QUIVER-31-07",
|
|
4
|
+
"type": "release",
|
|
5
|
+
"title": "Tests, smokes, package dry-run, and release readiness",
|
|
6
|
+
"objective": "Close the v31 spec with comprehensive validation, evidence, and package readiness.",
|
|
7
|
+
"description": "Runs full tests, smoke suites, package safety, npm pack dry-run, spec validation, and final docs/evidence closure.",
|
|
8
|
+
"git": {
|
|
9
|
+
"branch_type": "feature",
|
|
10
|
+
"base_branch": "main",
|
|
11
|
+
"branch_slug": "v31-tests-smokes-release-readiness",
|
|
12
|
+
"branch_name": "feature/QUIVER-31-07-v31-tests-smokes-release-readiness"
|
|
13
|
+
},
|
|
14
|
+
"files": [
|
|
15
|
+
"CHANGELOG.md",
|
|
16
|
+
"README_FOR_AI.md",
|
|
17
|
+
"ROADMAP.md",
|
|
18
|
+
"src/create-quiver/index.js",
|
|
19
|
+
"src/create-quiver/commands/ai.js",
|
|
20
|
+
"src/create-quiver/commands/flow.js",
|
|
21
|
+
"tests/**",
|
|
22
|
+
"scripts/ci/**",
|
|
23
|
+
"specs/quiver-v31-ai-model-catalog-agent-selection/**"
|
|
24
|
+
],
|
|
25
|
+
"expected_read_paths": [
|
|
26
|
+
"SPEC.md",
|
|
27
|
+
"README_FOR_AI.md",
|
|
28
|
+
"CHANGELOG.md",
|
|
29
|
+
"ROADMAP.md",
|
|
30
|
+
"scripts/release-quiver.sh",
|
|
31
|
+
"scripts/package-quiver.sh",
|
|
32
|
+
"tests/**"
|
|
33
|
+
],
|
|
34
|
+
"allowed_write_paths": [
|
|
35
|
+
"CHANGELOG.md",
|
|
36
|
+
"README_FOR_AI.md",
|
|
37
|
+
"ROADMAP.md",
|
|
38
|
+
"src/create-quiver/index.js",
|
|
39
|
+
"src/create-quiver/commands/ai.js",
|
|
40
|
+
"src/create-quiver/commands/flow.js",
|
|
41
|
+
"tests/**",
|
|
42
|
+
"scripts/ci/**",
|
|
43
|
+
"specs/quiver-v31-ai-model-catalog-agent-selection/**"
|
|
44
|
+
],
|
|
45
|
+
"depends_on": [
|
|
46
|
+
"slice-02-interactive-agent-set-selectors",
|
|
47
|
+
"slice-03-agent-doctor-repair",
|
|
48
|
+
"slice-04-shared-preflight-provider-errors",
|
|
49
|
+
"slice-05-ai-models-list",
|
|
50
|
+
"slice-06-docs-templates-alignment"
|
|
51
|
+
],
|
|
52
|
+
"parallel_safe": "no",
|
|
53
|
+
"parallel_safe_reason": "Final release validation depends on every implementation and docs slice.",
|
|
54
|
+
"must": [
|
|
55
|
+
"Run full test suite.",
|
|
56
|
+
"Run smoke suites.",
|
|
57
|
+
"Run package safety and npm pack dry-run.",
|
|
58
|
+
"Validate spec.",
|
|
59
|
+
"Update evidence report, status, closure briefs, and PR body.",
|
|
60
|
+
"Do not publish npm without explicit release approval."
|
|
61
|
+
],
|
|
62
|
+
"not_included": [
|
|
63
|
+
"Publishing npm.",
|
|
64
|
+
"Skipping failed tests.",
|
|
65
|
+
"Adding new product scope."
|
|
66
|
+
],
|
|
67
|
+
"acceptance": [
|
|
68
|
+
"Full suite passes.",
|
|
69
|
+
"Smoke suites pass.",
|
|
70
|
+
"Package smoke and npm pack dry-run pass.",
|
|
71
|
+
"Spec validation passes.",
|
|
72
|
+
"Final evidence is recorded.",
|
|
73
|
+
"Known remaining risks are documented."
|
|
74
|
+
],
|
|
75
|
+
"tests": [
|
|
76
|
+
"node --test tests/**/*.test.js",
|
|
77
|
+
"npm run smoke:create-quiver",
|
|
78
|
+
"npm run smoke:doctor-fixtures",
|
|
79
|
+
"npm run smoke:guided-workflow",
|
|
80
|
+
"npm run package:quiver",
|
|
81
|
+
"npm pack --dry-run",
|
|
82
|
+
"git diff --check",
|
|
83
|
+
"node bin/create-quiver.js spec validate specs/quiver-v31-ai-model-catalog-agent-selection"
|
|
84
|
+
],
|
|
85
|
+
"validation_hints": [
|
|
86
|
+
"Include legacy bad-profile fixture coverage.",
|
|
87
|
+
"Document any live provider smoke separately from automated tests."
|
|
88
|
+
],
|
|
89
|
+
"estimated_hours": 6,
|
|
90
|
+
"status": "completed",
|
|
91
|
+
"blocked_reason": null,
|
|
92
|
+
"actual_hours": 5,
|
|
93
|
+
"completed_at": "2026-05-27"
|
|
94
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Evidence Report - Quiver v32 npx Installation Guidance
|
|
2
|
+
|
|
3
|
+
## Summary
|
|
4
|
+
|
|
5
|
+
Documentation-only change. No product code was modified.
|
|
6
|
+
|
|
7
|
+
## Evidence
|
|
8
|
+
|
|
9
|
+
| Command | Status | Notes |
|
|
10
|
+
|---|---|---|
|
|
11
|
+
| `git diff --check` | Passed | No whitespace errors. |
|
|
12
|
+
| `node bin/create-quiver.js spec validate specs/quiver-v32-npx-installation-guidance` | Passed | Spec package validated with one completed slice. |
|
|
13
|
+
|
|
14
|
+
## Slice Evidence
|
|
15
|
+
|
|
16
|
+
| Slice | Status | Evidence |
|
|
17
|
+
|---|---|---|
|
|
18
|
+
| `slice-00-installation-docs` | Completed | README, installation guide, troubleshooting, templates, command reference, source-of-truth docs, and PR body updated. |
|
|
19
|
+
|
|
20
|
+
## Manual Review
|
|
21
|
+
|
|
22
|
+
- README now explains `npx` vs local installation.
|
|
23
|
+
- A dedicated installation guide explains when `node_modules` is expected.
|
|
24
|
+
- Troubleshooting includes the `node_modules` confusion case.
|
|
25
|
+
- Generated documentation templates include the same guidance.
|
|
26
|
+
- `README_FOR_AI.md` is synchronized.
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
# Quiver v32 - npx Installation Guidance
|
|
2
|
+
|
|
3
|
+
## Objective
|
|
4
|
+
|
|
5
|
+
Clarify the expected installation behavior of Quiver when users run it with `npx`, especially why it does not appear in project `node_modules` unless installed explicitly as a development dependency.
|
|
6
|
+
|
|
7
|
+
## Problem
|
|
8
|
+
|
|
9
|
+
Users can run:
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
npx --yes create-quiver@latest ...
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
and expect the package to appear in `node_modules`. That is not how `npx` works, but the repository documentation did not explain the distinction clearly enough.
|
|
16
|
+
|
|
17
|
+
## Scope
|
|
18
|
+
|
|
19
|
+
- Add concise public-facing guidance to `README.md`.
|
|
20
|
+
- Add a deeper installation guide under `docs/getting-started/`.
|
|
21
|
+
- Add troubleshooting guidance for the common `node_modules` confusion.
|
|
22
|
+
- Update generated-project troubleshooting and command templates.
|
|
23
|
+
- Keep `README_FOR_AI.md` synchronized as the AI source of truth.
|
|
24
|
+
|
|
25
|
+
## Non-Scope
|
|
26
|
+
|
|
27
|
+
- No product code changes.
|
|
28
|
+
- No npm publication.
|
|
29
|
+
- No changes to package installation behavior.
|
|
30
|
+
- No automatic local install changes.
|
|
31
|
+
|
|
32
|
+
## Acceptance Criteria
|
|
33
|
+
|
|
34
|
+
- Given a user runs Quiver with `npx --yes create-quiver@latest`, when they read the README, then they understand why Quiver may not appear in `node_modules`.
|
|
35
|
+
- Given a team wants a pinned Quiver version, when they read the installation guide, then they can install `create-quiver` as a `devDependency`.
|
|
36
|
+
- Given a user searches troubleshooting, when they see the `node_modules` entry, then they get the expected behavior, recovery path, and relevant links.
|
|
37
|
+
- Given generated project docs are created from templates, when troubleshooting and command docs are inspected, then the same `npx` vs local install contract is represented.
|
|
38
|
+
- Given an AI agent uses `README_FOR_AI.md`, when it explains installation, then it does not recommend global install and correctly distinguishes `npx` from local devDependency usage.
|
|
39
|
+
|
|
40
|
+
## Files
|
|
41
|
+
|
|
42
|
+
- `README.md`
|
|
43
|
+
- `README_FOR_AI.md`
|
|
44
|
+
- `docs/getting-started/installation.md`
|
|
45
|
+
- `docs/reference/commands.md`
|
|
46
|
+
- `docs/TROUBLESHOOTING.md`
|
|
47
|
+
- `docs/TROUBLESHOOTING.md.template`
|
|
48
|
+
- `docs/COMMANDS.md.template`
|
|
49
|
+
- `specs/quiver-v32-npx-installation-guidance/**`
|
|
50
|
+
|
|
51
|
+
## Validation
|
|
52
|
+
|
|
53
|
+
- `git diff --check`
|
|
54
|
+
- `node bin/create-quiver.js spec validate specs/quiver-v32-npx-installation-guidance`
|
|
55
|
+
- Documentation review for link consistency and scope.
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Status - Quiver v32 npx Installation Guidance
|
|
2
|
+
|
|
3
|
+
**Overall status:** Completed, pending PR
|
|
4
|
+
**Created:** 2026-05-27
|
|
5
|
+
**Current slice:** slice-00 completed
|
|
6
|
+
|
|
7
|
+
## Summary
|
|
8
|
+
|
|
9
|
+
This documentation-only spec clarifies that `npx --yes create-quiver@latest` runs Quiver from npm's execution cache and does not install it into project `node_modules`. It documents when teams should install `create-quiver` as a local `devDependency`.
|
|
10
|
+
|
|
11
|
+
## Slice Status
|
|
12
|
+
|
|
13
|
+
| Slice | Status | Notes |
|
|
14
|
+
|---|---|---|
|
|
15
|
+
| slice-00-installation-docs | Completed | README, installation guide, troubleshooting, templates, command reference, source-of-truth docs, and PR body updated. |
|
|
16
|
+
|
|
17
|
+
## Current Blockers
|
|
18
|
+
|
|
19
|
+
- None.
|
|
20
|
+
|
|
21
|
+
## Next Step
|
|
22
|
+
|
|
23
|
+
Open the documentation PR.
|