create-quiver 0.4.0 → 0.6.0

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 (38) hide show
  1. package/README.md +76 -22
  2. package/README_FOR_AI.md +30 -10
  3. package/docs/AI_CONTEXT.md.template +59 -0
  4. package/docs/AI_ONBOARDING_PROMPT.md.template +56 -0
  5. package/docs/CONTEXTO.md.template +1 -1
  6. package/docs/DOCUMENTATION_GUIDE.md.template +9 -7
  7. package/docs/INDEX.md.template +4 -0
  8. package/docs/WORKFLOW.md.template +7 -1
  9. package/package.json +2 -1
  10. package/package.template.json +2 -1
  11. package/scripts/init-docs.sh +209 -35
  12. package/scripts/package-quiver.sh +2 -0
  13. package/specs/quiver-v07-ai-context-pack/EVIDENCE_REPORT.md +24 -0
  14. package/specs/quiver-v07-ai-context-pack/SPEC.md +40 -0
  15. package/specs/quiver-v07-ai-context-pack/STATUS.md +24 -0
  16. package/specs/quiver-v07-ai-context-pack/slices/slice-01-ai-context-pack/slice.json +79 -0
  17. package/specs/quiver-v08-agent-onboarding-analysis/EVIDENCE_REPORT.md +49 -0
  18. package/specs/quiver-v08-agent-onboarding-analysis/SPEC.md +53 -0
  19. package/specs/quiver-v08-agent-onboarding-analysis/STATUS.md +26 -0
  20. package/specs/quiver-v08-agent-onboarding-analysis/slices/slice-01-project-scan-command/slice.json +73 -0
  21. package/specs/quiver-v08-agent-onboarding-analysis/slices/slice-02-ai-onboarding-prompt/slice.json +82 -0
  22. package/specs/quiver-v08-agent-onboarding-analysis/slices/slice-03-doctor-readme-adoption-flow/slice.json +76 -0
  23. package/specs/quiver-v09-onboarding-readme-flow/EVIDENCE_REPORT.md +33 -0
  24. package/specs/quiver-v09-onboarding-readme-flow/SPEC.md +44 -0
  25. package/specs/quiver-v09-onboarding-readme-flow/STATUS.md +25 -0
  26. package/specs/quiver-v09-onboarding-readme-flow/slices/slice-01-developer-readme-onboarding-flow/slice.json +69 -0
  27. package/specs/quiver-v09-onboarding-readme-flow/slices/slice-02-ai-handoff-doctor-guidance/slice.json +71 -0
  28. package/specs/quiver-v10-local-project-installation-guidance/EVIDENCE_REPORT.md +25 -0
  29. package/specs/quiver-v10-local-project-installation-guidance/SPEC.md +42 -0
  30. package/specs/quiver-v10-local-project-installation-guidance/STATUS.md +24 -0
  31. package/specs/quiver-v10-local-project-installation-guidance/slices/slice-01-local-project-installation-guidance/slice.json +75 -0
  32. package/specs/quiver-v11-existing-project-migration/EVIDENCE_REPORT.md +38 -0
  33. package/specs/quiver-v11-existing-project-migration/SPEC.md +59 -0
  34. package/specs/quiver-v11-existing-project-migration/STATUS.md +26 -0
  35. package/specs/quiver-v11-existing-project-migration/slices/slice-01-non-destructive-migrate-command/slice.json +73 -0
  36. package/specs/quiver-v11-existing-project-migration/slices/slice-02-version-metadata-doctor-upgrade-checks/slice.json +71 -0
  37. package/specs/quiver-v11-existing-project-migration/slices/slice-03-upgrade-docs-legacy-project-smokes/slice.json +78 -0
  38. package/src/create-quiver/index.js +757 -9
package/README.md CHANGED
@@ -4,56 +4,108 @@ Quiver is a CLI-first documentation workflow for projects that use specs, slices
4
4
 
5
5
  It gives a project a repeatable structure for planning work, starting focused implementation slices, validating readiness, and keeping human and AI contributors aligned.
6
6
 
7
- ## Quick Start
7
+ ## Developer Onboarding Flow
8
8
 
9
- Create or update a project with the installer:
9
+ Use this flow when adopting Quiver in an existing project or starting a new one.
10
+
11
+ ### 1. Install Quiver
12
+
13
+ Run Quiver from the project where the workflow will live:
10
14
 
11
15
  ```bash
12
- npx create-quiver --name "Project Name" --dir ./target-repo
16
+ cd /path/to/your-project
17
+ npx create-quiver --name "Project Name"
13
18
  ```
14
19
 
15
- To install into the current directory, omit `--dir`:
20
+ Do not install Quiver globally. Running it with `npx` from the project root keeps the generated docs, specs, and scripts in the right repository.
21
+
22
+ If your team wants to pin the Quiver version in the project, install it as a devDependency:
16
23
 
17
24
  ```bash
25
+ npm install --save-dev create-quiver
18
26
  npx create-quiver --name "Project Name"
19
27
  ```
20
28
 
21
- ## Requirements
22
-
23
- - Node.js and npm for the installer
24
- - Git for slice branches, worktrees, and PR workflow checks
25
- - macOS or Linux as the primary supported shell environment
29
+ To initialize a different directory from outside the project, pass `--dir` explicitly. Quote paths that contain spaces:
26
30
 
27
- See the generated `docs/SUPPORT_MATRIX.md` for the detailed support contract.
31
+ ```bash
32
+ npx create-quiver --name "Project Name" --dir "/Users/me/My Project"
33
+ ```
28
34
 
29
- ## Validate
35
+ ### 2. Analyze And Validate
30
36
 
31
- After installation, run the doctor:
37
+ Run the local analyzer and then validate the generated contract:
32
38
 
33
39
  ```bash
40
+ npx create-quiver analyze --dir ./target-repo
34
41
  npx create-quiver doctor --dir ./target-repo
35
42
  ```
36
43
 
37
- The doctor checks the generated project contract and prints the next workflow steps.
44
+ If you are working in the current directory, use `--dir .`.
45
+
46
+ The analyzer creates `docs/PROJECT_SCAN.json` and `docs/PROJECT_MAP.md`. These files give the AI agent a deterministic project map before it edits context docs.
47
+
48
+ The doctor checks the generated project contract and prints the next workflow steps. If the scan artifacts are missing, it recommends `npx create-quiver analyze --dir .` first.
49
+
50
+ ### 3. Upgrade Existing Projects
51
+
52
+ If the project already had Quiver from an older version, upgrade it from the project root:
53
+
54
+ ```bash
55
+ cd /path/to/your-project
56
+ npx create-quiver migrate --dir .
57
+ npx create-quiver analyze --dir .
58
+ npx create-quiver doctor --dir .
59
+ ```
60
+
61
+ If your team prefers a pinned local dependency, update the package first and then run the same flow:
62
+
63
+ ```bash
64
+ npm install --save-dev create-quiver@latest
65
+ npx create-quiver migrate --dir .
66
+ npx create-quiver analyze --dir .
67
+ npx create-quiver doctor --dir .
68
+ ```
69
+
70
+ ### 4. Ask The AI To Prepare Context
71
+
72
+ Open your AI agent in the target project and run this short handoff:
73
+
74
+ ```text
75
+ Read docs/AI_ONBOARDING_PROMPT.md and execute it.
76
+ Do not modify product code unless I explicitly authorize it.
77
+ Prepare the project context docs and report assumptions, risks, and files changed.
78
+ ```
79
+
80
+ The AI should use the scan artifacts to prepare `docs/AI_CONTEXT.md`, `docs/CONTEXTO.md`, `docs/STATUS.md`, and the initial project spec. The developer should review those documentation changes before implementation work starts.
38
81
 
39
- ## First Slice Workflow
82
+ ### 5. Start The First Slice
40
83
 
41
- After the scaffold is valid:
84
+ After the context docs are reviewed:
42
85
 
43
- 1. Fill in `docs/CONTEXTO.md` and `docs/STATUS.md`.
44
- 2. Define the project spec in `specs/<project-slug>/SPEC.md`.
45
- 3. Create the first slice from `specs/<project-slug>/slices/slice-template/slice.json`.
46
- 4. Start work with `tools/scripts/start-slice.sh <slice.json>`.
47
- 5. Make one commit per slice.
48
- 6. Open one PR per spec.
86
+ 1. Define or refine `specs/<project-slug>/SPEC.md`.
87
+ 2. Create the first slice from `specs/<project-slug>/slices/slice-template/slice.json`.
88
+ 3. Start work with `tools/scripts/start-slice.sh <slice.json>`.
89
+ 4. Make one commit per slice.
90
+ 5. Open one PR per spec.
49
91
 
50
92
  Slice numbering is local to each spec: every new spec starts at `slice-01`.
51
93
 
94
+ ## Requirements
95
+
96
+ - Node.js and npm for the installer
97
+ - Git for slice branches, worktrees, and PR workflow checks
98
+ - macOS or Linux as the primary supported shell environment
99
+
100
+ See the generated `docs/SUPPORT_MATRIX.md` for the detailed support contract.
101
+
52
102
  ## What Gets Generated
53
103
 
54
104
  Quiver generates a project-local workflow under:
55
105
 
56
106
  - `docs/` for project context, workflow, support, troubleshooting, and AI guidance
107
+ - `docs/PROJECT_SCAN.json` and `docs/PROJECT_MAP.md` after `create-quiver analyze`
108
+ - `docs/AI_ONBOARDING_PROMPT.md` as the generated handoff prompt for the AI agent
57
109
  - `specs/<project-slug>/` for the project spec, status, evidence, and slice contracts
58
110
  - `tools/scripts/` for slice lifecycle and readiness gates
59
111
  - `.github/` for default PR, issue, and CI templates
@@ -70,10 +122,11 @@ Use the manual flow only when developing Quiver locally or testing a template ch
70
122
  ```
71
123
 
72
124
  The CLI path is the supported adoption path for users.
125
+ For analyzed projects, the agent handoff prompt lives at `docs/AI_ONBOARDING_PROMPT.md` in the generated project.
73
126
 
74
127
  ## For AI Agents
75
128
 
76
- Read `README_FOR_AI.md` before working in this repository or in a generated project. It explains the generic template boundary, the generated project boundary, and the slice workflow rules.
129
+ Read `README_FOR_AI.md` before working in this repository or in a generated project. In generated projects, `docs/AI_CONTEXT.md` is the first agent context file to read, followed by `docs/AI_ONBOARDING_PROMPT.md`, `docs/CONTEXTO.md`, and `docs/WORKFLOW.md`.
77
130
 
78
131
  ## For Maintainers
79
132
 
@@ -108,6 +161,7 @@ For a first release, prefer `--publish-current` so the published package stays a
108
161
  ## References
109
162
 
110
163
  - [AI guide](./README_FOR_AI.md)
164
+ - [AI context template](./docs/AI_CONTEXT.md.template)
111
165
  - [Support matrix template](./docs/SUPPORT_MATRIX.md.template)
112
166
  - [Troubleshooting template](./docs/TROUBLESHOOTING.md.template)
113
167
  - [Changelog](./CHANGELOG.md)
package/README_FOR_AI.md CHANGED
@@ -2,10 +2,16 @@
2
2
 
3
3
  Use this guide when initializing a new project from the template or when explaining the workflow to another agent.
4
4
 
5
+ The first AI job in a generated project is context preparation, not product implementation.
6
+
5
7
  Important: slice numbering resets inside each spec. `slice-01` is the first slice of that spec, not a global repo counter.
6
- The canonical installer entrypoint is `npx create-quiver`.
8
+ The canonical installer entrypoint is `npx create-quiver` run from the target project root.
9
+ Do not recommend global installation; use `npx` or a project-local devDependency when the team needs a pinned version.
7
10
  The post-init contract is validated with `npx create-quiver doctor --dir <project>`.
11
+ If the project already exists from an older Quiver version, run `npx create-quiver migrate --dir <project>` before `analyze`.
8
12
  Maintain release notes and package publishing with `scripts/release-quiver.sh`.
13
+ The primary generated project context for agents is `docs/AI_CONTEXT.md`.
14
+ If a generated project has been analyzed, the exact agent handoff prompt is `docs/AI_ONBOARDING_PROMPT.md`.
9
15
 
10
16
  ## Core Rules
11
17
 
@@ -13,6 +19,9 @@ Maintain release notes and package publishing with `scripts/release-quiver.sh`.
13
19
  - Always use `init-docs.sh` instead of copying files by hand.
14
20
  - Treat `docs-template/` as generic and `docs/` as generated project-specific output.
15
21
  - Not every project needs every optional file.
22
+ - The AI context pack lives in `docs/AI_CONTEXT.md`; `docs/CONTEXTO.md` is the broader project overview.
23
+ - The onboarding prompt lives in `docs/AI_ONBOARDING_PROMPT.md` and should reference the analyzer outputs.
24
+ - Initial onboarding should complete context docs and report assumptions before any feature work starts.
16
25
  - The support contract lives in `docs/SUPPORT_MATRIX.md` and `docs/TROUBLESHOOTING.md`.
17
26
 
18
27
  ## Initialization Flow
@@ -25,6 +34,8 @@ Maintain release notes and package publishing with `scripts/release-quiver.sh`.
25
34
  ```
26
35
 
27
36
  3. Tell the user to edit:
37
+ - `docs/AI_CONTEXT.md`
38
+ - `docs/AI_ONBOARDING_PROMPT.md`
28
39
  - `docs/CONTEXTO.md`
29
40
  - `docs/STATUS.md`
30
41
  - `docs/SUPPORT_MATRIX.md`
@@ -35,6 +46,8 @@ Maintain release notes and package publishing with `scripts/release-quiver.sh`.
35
46
 
36
47
  - `docs/`
37
48
  - `docs/ai/`
49
+ - `docs/AI_CONTEXT.md`
50
+ - `docs/AI_ONBOARDING_PROMPT.md`
38
51
  - `specs/{{PROJECT_SLUG}}/`
39
52
  - `tools/scripts/`
40
53
  - `docs/SEARCH.md`
@@ -59,15 +72,21 @@ Maintain release notes and package publishing with `scripts/release-quiver.sh`.
59
72
 
60
73
  After initialization, the user should:
61
74
 
62
- 1. Fill in `docs/CONTEXTO.md`
63
- 2. Fill in `docs/STATUS.md`
64
- 3. Open and merge the documentation PR that establishes the workflow files
65
- 4. Create the first slice in `specs/{{PROJECT_SLUG}}/slices/[slice-id]/`
66
- 5. Add `ticket` and `git.*`
67
- 6. Run `tools/scripts/start-slice.sh [--allow-draft] <slice.json>`
68
- 7. Make one commit per slice
69
- 8. Open one PR per spec
70
- 9. Validate the slice and the final PR with the workflow gates
75
+ 1. Fill in `docs/AI_CONTEXT.md`
76
+ 2. Fill in `docs/AI_ONBOARDING_PROMPT.md`
77
+ 3. Fill in `docs/CONTEXTO.md`
78
+ 4. Fill in `docs/STATUS.md`
79
+ 5. Run `npx create-quiver analyze --dir <project>` if scan artifacts are missing
80
+ 6. If the project already exists from an older Quiver version, run `npx create-quiver migrate --dir <project>`
81
+ 7. Ask the AI agent to execute `docs/AI_ONBOARDING_PROMPT.md`
82
+ 8. Review context docs before creating the first implementation slice
83
+ 9. Open and merge the documentation PR that establishes the workflow files
84
+ 10. Create the first slice in `specs/{{PROJECT_SLUG}}/slices/[slice-id]/`
85
+ 11. Add `ticket` and `git.*`
86
+ 12. Run `tools/scripts/start-slice.sh [--allow-draft] <slice.json>`
87
+ 13. Make one commit per slice
88
+ 14. Open one PR per spec
89
+ 15. Validate the slice and the final PR with the workflow gates
71
90
 
72
91
  Bootstrap note: `start-slice.sh` should resolve paths canonically, prefer a local `develop` or `main` base branch before reaching for `origin`, and reject `draft` slices unless `--allow-draft` is passed intentionally.
73
92
 
@@ -78,6 +97,7 @@ Bootstrap note: `start-slice.sh` should resolve paths canonically, prefer a loca
78
97
  - `docs/GITFLOW_PR_GUIDE.md` if the team wants a stricter branch workflow
79
98
  - `docs/SUPPORT_MATRIX.md` and `docs/TROUBLESHOOTING.md` for first-run support
80
99
  - `docs/ai/LESSONS.md` after each slice
100
+ - `docs/AI_ONBOARDING_PROMPT.md` after analysis
81
101
 
82
102
  ## Good Defaults
83
103
 
@@ -0,0 +1,59 @@
1
+ # {{PROJECT_NAME}} AI Context Pack
2
+
3
+ **Date:** {{FECHA}}
4
+ **Status:** {{ESTADO}}
5
+
6
+ This file is the first stop for any AI agent working in this project. It compresses the working contract into one place and points to the canonical docs when deeper context is required.
7
+
8
+ ## What This Project Is
9
+
10
+ [Short project summary.]
11
+
12
+ ## Read First
13
+
14
+ 1. `docs/INDEX.md`
15
+ 2. `docs/AI_CONTEXT.md`
16
+ 3. `docs/CONTEXTO.md`
17
+ 4. `docs/WORKFLOW.md`
18
+ 5. `docs/SUPPORT_MATRIX.md`
19
+ 6. `docs/TROUBLESHOOTING.md`
20
+ 7. `specs/{{PROJECT_SLUG}}/SPEC.md`
21
+ 8. `specs/{{PROJECT_SLUG}}/slices/[slice-id]/slice.json`
22
+
23
+ ## Critical Rules
24
+
25
+ - One slice maps to one commit.
26
+ - One spec maps to one PR.
27
+ - Slice numbering resets inside each spec.
28
+ - Do not invent files that the bootstrap did not generate.
29
+ - Use canonical paths when a path matters.
30
+ - Never overwrite user-authored content without checking whether the file is meant to be preserved.
31
+ - If a command or path is ambiguous, prefer the local project root and the generated docs.
32
+
33
+ ## Common Commands
34
+
35
+ ```bash
36
+ cd /path/to/project
37
+ npx create-quiver --name "Project Name"
38
+ npx create-quiver migrate --dir .
39
+ npx create-quiver analyze --dir .
40
+ npx create-quiver doctor --dir .
41
+ bash tools/scripts/start-slice.sh <slice.json>
42
+ bash tools/scripts/check-slice-readiness.sh <slice.json>
43
+ bash tools/scripts/check-pr-readiness.sh <slice.json>
44
+ ```
45
+
46
+ ## What To Update After A Slice
47
+
48
+ - `specs/{{PROJECT_SLUG}}/STATUS.md`
49
+ - `specs/{{PROJECT_SLUG}}/EVIDENCE_REPORT.md`
50
+ - the slice JSON and optional slice PR note
51
+ - any docs whose behavior changed
52
+
53
+ ## If You Need More Context
54
+
55
+ Read `docs/CONTEXTO.md` for the human project overview and `docs/WORKFLOW.md` for the execution contract.
56
+
57
+ ## If The Environment Fails
58
+
59
+ Use `docs/TROUBLESHOOTING.md` before changing the workflow itself.
@@ -0,0 +1,56 @@
1
+ # {{PROJECT_NAME}} AI Onboarding Prompt
2
+
3
+ **Date:** {{FECHA}}
4
+ **Status:** {{ESTADO}}
5
+
6
+ You are the onboarding agent for this project. Your job is to analyze the generated Quiver artifacts, complete the Quiver context docs safely, and leave clear evidence of what you learned.
7
+
8
+ ## Read First
9
+
10
+ 1. `docs/AI_CONTEXT.md`
11
+ 2. `docs/PROJECT_SCAN.json`
12
+ 3. `docs/PROJECT_MAP.md`
13
+ 4. `docs/CONTEXTO.md`
14
+ 5. `docs/WORKFLOW.md`
15
+ 6. `specs/{{PROJECT_SLUG}}/SPEC.md`
16
+ 7. `specs/{{PROJECT_SLUG}}/STATUS.md`
17
+ 8. `specs/{{PROJECT_SLUG}}/EVIDENCE_REPORT.md`
18
+
19
+ ## Mission
20
+
21
+ - Use the analyzer outputs to understand the repository instead of guessing.
22
+ - Complete or refine Quiver context docs so future agents can work safely.
23
+ - Preserve Quiver workflow invariants: one slice = one commit, one spec = one PR.
24
+ - Ask for confirmation before making product-code changes.
25
+
26
+ ## Hard Constraints
27
+
28
+ - Do not read or expose secret values from `.env`, credential files, tokens, SSH keys, or private config.
29
+ - Skip files that look like secrets or generated build output.
30
+ - Do not modify product source code unless the user explicitly authorizes it.
31
+ - Do not invent missing facts. If something is unclear, record the uncertainty.
32
+ - Do not change the Quiver workflow rules unless the user explicitly asks for that work.
33
+
34
+ ## Tasks
35
+
36
+ 1. Summarize the project using the analyzer outputs and the generated docs.
37
+ 2. Update `docs/AI_CONTEXT.md` with the working contract for agents.
38
+ 3. Update `docs/CONTEXTO.md` with the human-readable project overview.
39
+ 4. Update `docs/STATUS.md` with the initial state and open questions.
40
+ 5. If needed, refine `specs/{{PROJECT_SLUG}}/SPEC.md` only to align the onboarding spec with observed reality.
41
+ 6. Record the files you inspected, the files you changed, and the assumptions you made.
42
+
43
+ ## Validation
44
+
45
+ - Cite the generated scan artifacts when making claims.
46
+ - Note any skipped paths or missing signals.
47
+ - Keep the response focused on documentation and onboarding context unless code changes were explicitly authorized.
48
+
49
+ ## Final Report
50
+
51
+ Return:
52
+
53
+ - Files changed
54
+ - Key assumptions
55
+ - Uncertainties or risks
56
+ - Validation performed
@@ -42,4 +42,4 @@ Backend:
42
42
 
43
43
  ## Next Step
44
44
 
45
- Read `INDEX.md` to navigate the rest of the documentation.
45
+ Read `AI_CONTEXT.md` first if you are an AI agent. Otherwise read `INDEX.md` to navigate the rest of the documentation.
@@ -6,13 +6,14 @@
6
6
  ## Reading Order
7
7
 
8
8
  1. `docs/INDEX.md`
9
- 2. `docs/CONTEXTO.md`
10
- 3. `docs/STATUS.md`
11
- 4. `docs/WORKFLOW.md`
12
- 5. `docs/SUPPORT_MATRIX.md`
13
- 6. `docs/TROUBLESHOOTING.md`
14
- 7. `specs/{{PROJECT_SLUG}}/SPEC.md`
15
- 8. `specs/{{PROJECT_SLUG}}/slices/[slice-id]/slice.json`
9
+ 2. `docs/AI_CONTEXT.md`
10
+ 3. `docs/CONTEXTO.md`
11
+ 4. `docs/STATUS.md`
12
+ 5. `docs/WORKFLOW.md`
13
+ 6. `docs/SUPPORT_MATRIX.md`
14
+ 7. `docs/TROUBLESHOOTING.md`
15
+ 8. `specs/{{PROJECT_SLUG}}/SPEC.md`
16
+ 9. `specs/{{PROJECT_SLUG}}/slices/[slice-id]/slice.json`
16
17
 
17
18
  ## Update Rules
18
19
 
@@ -23,6 +24,7 @@
23
24
  ## Where Things Go
24
25
 
25
26
  - Project overview: `docs/CONTEXTO.md`
27
+ - Agent context pack: `docs/AI_CONTEXT.md`
26
28
  - Progress: `docs/STATUS.md`
27
29
  - Implementation workflow: `docs/WORKFLOW.md`
28
30
  - Support contract: `docs/SUPPORT_MATRIX.md`
@@ -5,6 +5,8 @@
5
5
  ## Start Here
6
6
 
7
7
  - **Context** - `./CONTEXTO.md`
8
+ - **AI Context** - `./AI_CONTEXT.md`
9
+ - **AI Onboarding Prompt** - `./AI_ONBOARDING_PROMPT.md`
8
10
  - **Workflow** - `./WORKFLOW.md`
9
11
  - **Support Matrix** - `./SUPPORT_MATRIX.md`
10
12
  - **Troubleshooting** - `./TROUBLESHOOTING.md`
@@ -28,6 +30,8 @@
28
30
  ```text
29
31
  docs/
30
32
  ├── INDEX.md
33
+ ├── AI_CONTEXT.md
34
+ ├── AI_ONBOARDING_PROMPT.md
31
35
  ├── CONTEXTO.md
32
36
  ├── STATUS.md
33
37
  ├── WORKFLOW.md
@@ -15,6 +15,7 @@ This document is the canonical implementation workflow for the project.
15
15
  - The documentation PR establishes the workflow files before the first slice executes.
16
16
  - The support matrix defines the supported OS, git, node, and remote modes.
17
17
  - The troubleshooting guide explains the first-run recovery paths for common bootstrap failures.
18
+ - The AI onboarding prompt generated after analysis is the handoff for agents that need project context before editing.
18
19
 
19
20
  ## Planning
20
21
 
@@ -23,7 +24,9 @@ This document is the canonical implementation workflow for the project.
23
24
  3. Split the work into slices.
24
25
  4. Mark each slice `ready` before execution.
25
26
  5. Open and merge the documentation PR before running the first slice bootstrap.
26
- 6. Read the support matrix and troubleshooting guide before the first slice if the environment is new or uncertain.
27
+ 6. Read the AI context pack, support matrix, and troubleshooting guide before the first slice if the environment is new or uncertain.
28
+ 7. If the project already existed before this Quiver version, run `migrate` before `analyze`.
29
+ 8. If the project was analyzed, read `AI_ONBOARDING_PROMPT.md` before making documentation updates.
27
30
 
28
31
  ## Execution
29
32
 
@@ -40,6 +43,7 @@ This document is the canonical implementation workflow for the project.
40
43
  ## Support Contract
41
44
 
42
45
  - Support Matrix (`SUPPORT_MATRIX.md`) documents what is supported.
46
+ - AI Context Pack (`AI_CONTEXT.md`) gives the agent-first project snapshot.
43
47
  - Troubleshooting (`TROUBLESHOOTING.md`) documents how to recover when the first run fails.
44
48
  - Keep both files linked from the root README and this workflow doc.
45
49
 
@@ -50,6 +54,8 @@ Use multiple agents only when the write sets do not overlap and the coordination
50
54
  ## References
51
55
 
52
56
  - `GITFLOW_PR_GUIDE.md`
57
+ - `AI_CONTEXT.md`
58
+ - `AI_ONBOARDING_PROMPT.md`
53
59
  - `SUPPORT_MATRIX.md`
54
60
  - `TROUBLESHOOTING.md`
55
61
  - `MULTI_AGENT_WORKFLOW.md`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-quiver",
3
- "version": "0.4.0",
3
+ "version": "0.6.0",
4
4
  "private": false,
5
5
  "description": "Quiver CLI for scaffolding projects from the packaged template",
6
6
  "license": "MIT",
@@ -12,6 +12,7 @@
12
12
  "check:pr": "bash tools/scripts/check-pr-readiness.sh",
13
13
  "start:slice": "bash tools/scripts/start-slice.sh",
14
14
  "cleanup:slice": "bash tools/scripts/cleanup-slice.sh",
15
+ "migrate": "bash tools/scripts/migrate-project.sh",
15
16
  "package:quiver": "bash scripts/package-quiver.sh",
16
17
  "smoke:create-quiver": "bash scripts/ci/smoke-create-quiver.sh",
17
18
  "release:quiver": "bash scripts/release-quiver.sh"
@@ -5,6 +5,7 @@
5
5
  "check:slice": "bash tools/scripts/check-slice-readiness.sh",
6
6
  "check:pr": "bash tools/scripts/check-pr-readiness.sh",
7
7
  "start:slice": "bash tools/scripts/start-slice.sh",
8
- "cleanup:slice": "bash tools/scripts/cleanup-slice.sh"
8
+ "cleanup:slice": "bash tools/scripts/cleanup-slice.sh",
9
+ "migrate": "bash tools/scripts/migrate-project.sh"
9
10
  }
10
11
  }