create-quiver 0.15.0 → 0.15.1

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.
Files changed (58) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/README.md +31 -0
  3. package/README_FOR_AI.md +8 -3
  4. package/ROADMAP.md +5 -0
  5. package/docs/AI_CONTEXT.md.template +4 -0
  6. package/docs/AI_ONBOARDING_PROMPT.md.template +8 -0
  7. package/docs/CLI_UX_GUIDE.md +16 -1
  8. package/docs/COMMANDS.md.template +14 -4
  9. package/docs/TROUBLESHOOTING.md +70 -0
  10. package/docs/TROUBLESHOOTING.md.template +20 -0
  11. package/docs/getting-started/installation.md +86 -0
  12. package/docs/reference/commands.md +29 -1
  13. package/package.json +1 -1
  14. package/specs/quiver-v31-ai-model-catalog-agent-selection/EVIDENCE_REPORT.md +185 -0
  15. package/specs/quiver-v31-ai-model-catalog-agent-selection/EXECUTION_PLAN.md +85 -0
  16. package/specs/quiver-v31-ai-model-catalog-agent-selection/SPEC.md +337 -0
  17. package/specs/quiver-v31-ai-model-catalog-agent-selection/STATUS.md +30 -0
  18. package/specs/quiver-v31-ai-model-catalog-agent-selection/pr.md +98 -0
  19. package/specs/quiver-v31-ai-model-catalog-agent-selection/slices/slice-00-spec-foundation/CLOSURE_BRIEF.md +30 -0
  20. package/specs/quiver-v31-ai-model-catalog-agent-selection/slices/slice-00-spec-foundation/EXECUTION_BRIEF.md +51 -0
  21. package/specs/quiver-v31-ai-model-catalog-agent-selection/slices/slice-00-spec-foundation/slice.json +62 -0
  22. package/specs/quiver-v31-ai-model-catalog-agent-selection/slices/slice-01-model-catalog-alias-normalization/CLOSURE_BRIEF.md +32 -0
  23. package/specs/quiver-v31-ai-model-catalog-agent-selection/slices/slice-01-model-catalog-alias-normalization/EXECUTION_BRIEF.md +53 -0
  24. package/specs/quiver-v31-ai-model-catalog-agent-selection/slices/slice-01-model-catalog-alias-normalization/slice.json +72 -0
  25. package/specs/quiver-v31-ai-model-catalog-agent-selection/slices/slice-02-interactive-agent-set-selectors/CLOSURE_BRIEF.md +36 -0
  26. package/specs/quiver-v31-ai-model-catalog-agent-selection/slices/slice-02-interactive-agent-set-selectors/EXECUTION_BRIEF.md +56 -0
  27. package/specs/quiver-v31-ai-model-catalog-agent-selection/slices/slice-02-interactive-agent-set-selectors/slice.json +78 -0
  28. package/specs/quiver-v31-ai-model-catalog-agent-selection/slices/slice-03-agent-doctor-repair/CLOSURE_BRIEF.md +36 -0
  29. package/specs/quiver-v31-ai-model-catalog-agent-selection/slices/slice-03-agent-doctor-repair/EXECUTION_BRIEF.md +57 -0
  30. package/specs/quiver-v31-ai-model-catalog-agent-selection/slices/slice-03-agent-doctor-repair/slice.json +77 -0
  31. package/specs/quiver-v31-ai-model-catalog-agent-selection/slices/slice-04-shared-preflight-provider-errors/CLOSURE_BRIEF.md +35 -0
  32. package/specs/quiver-v31-ai-model-catalog-agent-selection/slices/slice-04-shared-preflight-provider-errors/EXECUTION_BRIEF.md +55 -0
  33. package/specs/quiver-v31-ai-model-catalog-agent-selection/slices/slice-04-shared-preflight-provider-errors/slice.json +84 -0
  34. package/specs/quiver-v31-ai-model-catalog-agent-selection/slices/slice-05-ai-models-list/CLOSURE_BRIEF.md +32 -0
  35. package/specs/quiver-v31-ai-model-catalog-agent-selection/slices/slice-05-ai-models-list/EXECUTION_BRIEF.md +52 -0
  36. package/specs/quiver-v31-ai-model-catalog-agent-selection/slices/slice-05-ai-models-list/slice.json +72 -0
  37. package/specs/quiver-v31-ai-model-catalog-agent-selection/slices/slice-06-docs-templates-alignment/CLOSURE_BRIEF.md +33 -0
  38. package/specs/quiver-v31-ai-model-catalog-agent-selection/slices/slice-06-docs-templates-alignment/EXECUTION_BRIEF.md +58 -0
  39. package/specs/quiver-v31-ai-model-catalog-agent-selection/slices/slice-06-docs-templates-alignment/slice.json +84 -0
  40. package/specs/quiver-v31-ai-model-catalog-agent-selection/slices/slice-07-tests-smokes-release-readiness/CLOSURE_BRIEF.md +32 -0
  41. package/specs/quiver-v31-ai-model-catalog-agent-selection/slices/slice-07-tests-smokes-release-readiness/EXECUTION_BRIEF.md +59 -0
  42. package/specs/quiver-v31-ai-model-catalog-agent-selection/slices/slice-07-tests-smokes-release-readiness/slice.json +94 -0
  43. package/specs/quiver-v32-npx-installation-guidance/EVIDENCE_REPORT.md +26 -0
  44. package/specs/quiver-v32-npx-installation-guidance/SPEC.md +55 -0
  45. package/specs/quiver-v32-npx-installation-guidance/STATUS.md +23 -0
  46. package/specs/quiver-v32-npx-installation-guidance/pr.md +72 -0
  47. package/specs/quiver-v32-npx-installation-guidance/slices/slice-00-installation-docs/CLOSURE_BRIEF.md +31 -0
  48. package/specs/quiver-v32-npx-installation-guidance/slices/slice-00-installation-docs/EXECUTION_BRIEF.md +56 -0
  49. package/specs/quiver-v32-npx-installation-guidance/slices/slice-00-installation-docs/slice.json +75 -0
  50. package/src/create-quiver/commands/ai.js +449 -34
  51. package/src/create-quiver/commands/flow.js +2 -2
  52. package/src/create-quiver/index.js +26 -10
  53. package/src/create-quiver/lib/agent-profiles.js +332 -4
  54. package/src/create-quiver/lib/ai/execution-plan.js +7 -2
  55. package/src/create-quiver/lib/ai/executor.js +9 -2
  56. package/src/create-quiver/lib/ai/model-catalog.js +333 -0
  57. package/src/create-quiver/lib/ai/providers.js +143 -4
  58. package/src/create-quiver/lib/cli/selectors.js +53 -0
@@ -0,0 +1,77 @@
1
+ {
2
+ "slice_id": "slice-03-agent-doctor-repair",
3
+ "ticket": "QUIVER-31-03",
4
+ "type": "feature",
5
+ "title": "Agent profile doctor and repair dry-run",
6
+ "objective": "Diagnose existing agent profile issues and preview safe repairs without writing files.",
7
+ "description": "Adds `ai agent doctor` and `ai agent repair --dry-run` for missing data, unsupported providers, display aliases stored as model ids, custom unvalidated models, duplicate labels, and missing provider CLIs.",
8
+ "git": {
9
+ "branch_type": "feature",
10
+ "base_branch": "main",
11
+ "branch_slug": "v31-agent-doctor-repair",
12
+ "branch_name": "feature/QUIVER-31-03-v31-agent-doctor-repair"
13
+ },
14
+ "files": [
15
+ "src/create-quiver/commands/ai.js",
16
+ "src/create-quiver/lib/agent-profiles.js",
17
+ "src/create-quiver/lib/ai/model-catalog.js",
18
+ "tests/commands/ai-agent.test.js",
19
+ "tests/lib/agent-profiles.test.js"
20
+ ],
21
+ "expected_read_paths": [
22
+ "SPEC.md",
23
+ "src/create-quiver/lib/agent-profiles.js",
24
+ "src/create-quiver/lib/ai/model-catalog.js",
25
+ "src/create-quiver/lib/cli/ux.js",
26
+ "tests/commands/ai-agent.test.js"
27
+ ],
28
+ "allowed_write_paths": [
29
+ "src/create-quiver/commands/ai.js",
30
+ "src/create-quiver/lib/agent-profiles.js",
31
+ "src/create-quiver/lib/ai/model-catalog.js",
32
+ "tests/commands/ai-agent.test.js",
33
+ "tests/lib/agent-profiles.test.js",
34
+ "specs/quiver-v31-ai-model-catalog-agent-selection/**"
35
+ ],
36
+ "depends_on": [
37
+ "slice-01-model-catalog-alias-normalization",
38
+ "slice-02-interactive-agent-set-selectors"
39
+ ],
40
+ "parallel_safe": "no",
41
+ "parallel_safe_reason": "Doctor and repair depend on catalog issue classification and may share command wiring with selectors.",
42
+ "must": [
43
+ "Add human and JSON output for `ai agent doctor`.",
44
+ "Evaluate every profile, not only defaults.",
45
+ "Classify findings as error, warning, or info.",
46
+ "Set exit code 1 when errors exist.",
47
+ "Add `ai agent repair --dry-run` with before/after proposed changes.",
48
+ "Prevent repair writes without explicit confirmation or `--yes` if write mode is implemented.",
49
+ "Use v30 human output hierarchy with Checks and Suggested fixes."
50
+ ],
51
+ "not_included": [
52
+ "Remote validation against provider APIs.",
53
+ "Automatic destructive profile rewrites.",
54
+ "Installing provider CLIs."
55
+ ],
56
+ "acceptance": [
57
+ "Doctor reports unsupported providers as errors.",
58
+ "Doctor reports custom unvalidated models as warnings.",
59
+ "Doctor detects `model: \"GPT 5.5\"` and suggests repair.",
60
+ "Repair dry-run shows normalized `model: gpt-5.5` and `displayName: GPT 5.5` without writing.",
61
+ "`--json` outputs parseable JSON without human prose.",
62
+ "Human output uses Quiver Doctor-style sections."
63
+ ],
64
+ "tests": [
65
+ "node --test tests/commands/ai-agent.test.js tests/lib/agent-profiles.test.js",
66
+ "git diff --check"
67
+ ],
68
+ "validation_hints": [
69
+ "Include fixtures for multiple profiles and duplicate display names.",
70
+ "Include the real bug profile with `model: \"GPT 5.5\"`."
71
+ ],
72
+ "estimated_hours": 8,
73
+ "status": "completed",
74
+ "blocked_reason": null,
75
+ "actual_hours": 7,
76
+ "completed_at": "2026-05-27"
77
+ }
@@ -0,0 +1,35 @@
1
+ # CLOSURE_BRIEF - slice-04 Shared model preflight and provider error extraction
2
+
3
+ ## Summary
4
+
5
+ Implemented shared model alias resolution and provider error extraction across planner and executor runtime paths.
6
+
7
+ ## Validation Against Acceptance Criteria
8
+
9
+ - [x] Live commands preflight profile models before provider execution.
10
+ - [x] Legacy profile display aliases block before provider execution with a repair suggestion.
11
+ - [x] CLI `--model` display aliases normalize to technical ids in dry-runs.
12
+ - [x] Provider invalid-model errors are surfaced ahead of secondary MCP/tool noise.
13
+ - [x] Provider error text redacts common secret patterns.
14
+ - [x] Existing successful provider runs keep working.
15
+
16
+ ## Relevant Changes
17
+
18
+ - Added provider model alias normalization and blocking policy.
19
+ - Added provider error cause extraction for invalid model, auth, missing CLI, timeout, and generic failures.
20
+ - Added provider failure serialization for non-zero provider exits with stderr but no process error.
21
+ - Applied profile-alias blocking to planner, reviewer, repair-plan, execute-slice, and execute-plan flows.
22
+ - Added tests for CLI alias normalization, legacy profile blocking, invalid model extraction, and secret redaction.
23
+
24
+ ## Pending
25
+
26
+ - None for this slice.
27
+
28
+ ## Remaining Risks
29
+
30
+ - Provider stderr formats can change; new failures should be added as fixtures.
31
+ - Custom model ids still rely on provider-side validation because Quiver cannot know account entitlement locally.
32
+
33
+ ## Future Recommendations
34
+
35
+ Track provider stderr patterns as test fixtures when new provider failures are observed.
@@ -0,0 +1,55 @@
1
+ # EXECUTION_BRIEF - slice-04 Shared model preflight and provider error extraction
2
+
3
+ ## Context
4
+
5
+ The real dogfooding failure surfaced as `provider run failed` even though Codex emitted a useful invalid-model error. Live AI commands need shared preflight and better error extraction.
6
+
7
+ ## Objective
8
+
9
+ Apply model resolution before live provider execution and surface actionable provider errors.
10
+
11
+ ## Scope
12
+
13
+ - `src/create-quiver/lib/ai/providers.js`
14
+ - `src/create-quiver/lib/ai/executor.js`
15
+ - `src/create-quiver/lib/ai/execution-plan.js`
16
+ - `src/create-quiver/commands/ai.js`
17
+ - related tests
18
+
19
+ ## Acceptance Criteria
20
+
21
+ - Live commands block before provider execution for known bad display aliases.
22
+ - CLI `--model "GPT 5.5"` is normalized or blocked with guidance.
23
+ - Dry-runs show the real command and technical model id.
24
+ - Invalid model errors are prioritized over secondary MCP/tool noise.
25
+ - Secrets are redacted from provider errors.
26
+
27
+ ## Technical Plan Summary
28
+
29
+ Create one shared provider/model resolution path and one provider-error extraction path, then adopt them across planner, reviewer, executor, and execution-plan flows.
30
+
31
+ ## Suggested Steps
32
+
33
+ 1. Add shared model preflight helper.
34
+ 2. Add provider error extractor.
35
+ 3. Adopt helper in planner/reviewer commands.
36
+ 4. Adopt helper in executor/execution-plan flows.
37
+ 5. Add tests with fake provider output.
38
+
39
+ ## Restrictions
40
+
41
+ - Do not require real provider auth in tests.
42
+ - Do not change provider prompt content except for validation/preflight.
43
+ - Do not remove custom model support.
44
+
45
+ ## Risks
46
+
47
+ - Over-eager blocking can prevent legitimate custom models.
48
+ - Provider stderr formats can change.
49
+
50
+ ## Completion Checklist
51
+
52
+ - [ ] Shared preflight implemented.
53
+ - [ ] Provider error extraction implemented.
54
+ - [ ] Planner and executor paths adopted.
55
+ - [ ] Regression test covers `GPT 5.5`.
@@ -0,0 +1,84 @@
1
+ {
2
+ "slice_id": "slice-04-shared-preflight-provider-errors",
3
+ "ticket": "QUIVER-31-04",
4
+ "type": "feature",
5
+ "title": "Shared model preflight and provider error extraction",
6
+ "objective": "Apply model resolution and useful provider errors before every live AI command.",
7
+ "description": "Adds shared preflight for profile and CLI model overrides plus provider error extraction that prioritizes invalid model and auth causes over noisy secondary logs.",
8
+ "git": {
9
+ "branch_type": "feature",
10
+ "base_branch": "main",
11
+ "branch_slug": "v31-shared-preflight-provider-errors",
12
+ "branch_name": "feature/QUIVER-31-04-v31-shared-preflight-provider-errors"
13
+ },
14
+ "files": [
15
+ "src/create-quiver/lib/ai/providers.js",
16
+ "src/create-quiver/lib/ai/executor.js",
17
+ "src/create-quiver/lib/ai/execution-plan.js",
18
+ "src/create-quiver/commands/ai.js",
19
+ "tests/lib/ai-providers.test.js",
20
+ "tests/commands/ai-prepare-context-planner.test.js",
21
+ "tests/commands/ai-plan.test.js",
22
+ "tests/commands/ai-execute-slice.test.js"
23
+ ],
24
+ "expected_read_paths": [
25
+ "SPEC.md",
26
+ "src/create-quiver/lib/ai/providers.js",
27
+ "src/create-quiver/lib/ai/model-catalog.js",
28
+ "src/create-quiver/lib/ai/executor.js",
29
+ "src/create-quiver/commands/ai.js"
30
+ ],
31
+ "allowed_write_paths": [
32
+ "src/create-quiver/lib/ai/providers.js",
33
+ "src/create-quiver/lib/ai/executor.js",
34
+ "src/create-quiver/lib/ai/execution-plan.js",
35
+ "src/create-quiver/commands/ai.js",
36
+ "tests/lib/ai-providers.test.js",
37
+ "tests/commands/ai-prepare-context-planner.test.js",
38
+ "tests/commands/ai-plan.test.js",
39
+ "tests/commands/ai-review-plan.test.js",
40
+ "tests/commands/ai-execute-slice.test.js",
41
+ "tests/commands/ai-execute-plan.test.js",
42
+ "specs/quiver-v31-ai-model-catalog-agent-selection/**"
43
+ ],
44
+ "depends_on": [
45
+ "slice-01-model-catalog-alias-normalization",
46
+ "slice-03-agent-doctor-repair"
47
+ ],
48
+ "parallel_safe": "no",
49
+ "parallel_safe_reason": "Touches shared provider and AI command runtime behavior.",
50
+ "must": [
51
+ "Create shared provider/model selection resolution used by live AI commands.",
52
+ "Apply normalization or blocking to profile models and CLI `--model` overrides.",
53
+ "Block before provider execution for known display aliases that can be corrected.",
54
+ "Keep dry-run output truthful with the real command and model args.",
55
+ "Extract invalid model, auth, missing CLI, timeout, and secondary warning causes.",
56
+ "Redact secrets in surfaced provider errors.",
57
+ "Preserve JSON/no-TTY cleanliness."
58
+ ],
59
+ "not_included": [
60
+ "Changing provider CLI install process.",
61
+ "Guaranteeing account-level access without live validation.",
62
+ "Changing prompt content unrelated to model selection."
63
+ ],
64
+ "acceptance": [
65
+ "Live AI commands block before provider execution for `model: \"GPT 5.5\"` with Codex.",
66
+ "CLI override `--model \"GPT 5.5\"` is normalized or blocked with a concrete suggestion.",
67
+ "Dry-run shows the real command and technical model id.",
68
+ "Provider stderr with invalid model plus MCP noise reports invalid model as primary cause.",
69
+ "Existing successful provider runs keep working."
70
+ ],
71
+ "tests": [
72
+ "node --test tests/lib/ai-providers.test.js tests/commands/ai-prepare-context-planner.test.js tests/commands/ai-plan.test.js tests/commands/ai-review-plan.test.js tests/commands/ai-execute-slice.test.js tests/commands/ai-execute-plan.test.js",
73
+ "git diff --check"
74
+ ],
75
+ "validation_hints": [
76
+ "Use fake provider runners for failure cases.",
77
+ "Do not require real provider auth in automated tests."
78
+ ],
79
+ "estimated_hours": 10,
80
+ "status": "completed",
81
+ "blocked_reason": null,
82
+ "actual_hours": 8,
83
+ "completed_at": "2026-05-27"
84
+ }
@@ -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.
@@ -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.