aimship 0.1.0-preview.11 → 0.1.0-preview.13
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/CONTRIBUTING.md +3 -3
- package/README.md +6 -10
- package/README.zh-CN.md +6 -10
- package/docs/cli.md +23 -25
- package/docs/guide.md +314 -148
- package/docs/guide.zh-CN.md +314 -148
- package/lib/approvals.mjs +77 -13
- package/lib/cli.mjs +27 -21
- package/lib/delivery.mjs +15 -12
- package/lib/discovery.mjs +25 -0
- package/lib/documents.mjs +159 -65
- package/lib/install.mjs +1 -1
- package/lib/language.mjs +41 -0
- package/lib/location.mjs +65 -0
- package/lib/state.mjs +54 -87
- package/lib/view.mjs +36 -34
- package/package.json +1 -1
- package/skills/aimship/SKILL.md +3 -3
- package/skills/aimship/references/artifact-map.json +165 -9
- package/skills/aimship/references/core.md +17 -13
- package/skills/aimship/references/document-patterns.md +17 -11
- package/skills/aimship/references/document-review.md +1 -3
- package/skills/aimship/references/hosts.md +11 -9
- package/skills/aimship/references/recovery.md +9 -13
- package/skills/aimship/references/sources-and-changes.md +11 -4
- package/skills/aimship/references/stages/diagnose.md +1 -1
- package/skills/aimship/references/stages/frame.md +1 -1
- package/skills/aimship/references/stages/handoff.md +1 -1
- package/skills/aimship/references/stages/implement.md +2 -2
- package/skills/aimship/references/stages/plan.md +1 -1
- package/skills/aimship/references/stages/requirements.md +1 -1
- package/skills/aimship/references/stages/review.md +1 -1
- package/skills/aimship/references/stages/scope.md +1 -1
- package/skills/aimship/references/stages/tech-design.md +1 -1
- package/skills/aimship/references/stages/test-design.md +1 -1
- package/skills/aimship/references/stages/verify.md +2 -2
- package/skills/aimship/references/templates/change-log.md +0 -2
- package/skills/aimship/references/templates/diagnosis.md +0 -7
- package/skills/aimship/references/templates/handoff.md +0 -6
- package/skills/aimship/references/templates/plan.md +2 -8
- package/skills/aimship/references/templates/prd.md +0 -7
- package/skills/aimship/references/templates/review.md +0 -3
- package/skills/aimship/references/templates/scope.md +0 -7
- package/skills/aimship/references/templates/tech-design.md +0 -7
- package/skills/aimship/references/templates/testing.md +2 -8
- package/lib/migrate.mjs +0 -77
package/docs/guide.md
CHANGED
|
@@ -2,242 +2,408 @@
|
|
|
2
2
|
|
|
3
3
|
[中文](guide.zh-CN.md) · [README](../README.md)
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
[Delivery directory](#delivery-structure) · [1. Usage example](#start) · [2. Sessions and continuation](#guide-sessions) · [3. Requirements inputs and changes](#guide-inputs) · [4. Code and multiple deliveries](#guide-projects) · [5. Troubleshooting and maintenance](#troubleshoot)
|
|
6
6
|
|
|
7
|
-
<a id="
|
|
8
|
-
|
|
7
|
+
<a id="24-check-current-work"></a>
|
|
8
|
+
<a id="44-delivery-structure-and-documents"></a>
|
|
9
|
+
<a id="results"></a>
|
|
10
|
+
<a id="3-inspect-progress-and-results"></a>
|
|
11
|
+
<a id="4-inspect-progress-and-results"></a>
|
|
12
|
+
<a id="4-inspect-progress-and-accept-results"></a>
|
|
13
|
+
<a id="check-current-work"></a>
|
|
14
|
+
<a id="artifacts"></a>
|
|
15
|
+
<a id="keep-only-useful-artifacts"></a>
|
|
16
|
+
<a id="related-references"></a>
|
|
17
|
+
<a id="appendix-sql-and-engineering-versions"></a>
|
|
18
|
+
<a id="document-details"></a>
|
|
19
|
+
<a id="sql-changes-and-progress"></a>
|
|
20
|
+
<a id="sql-and-engineering-versions"></a>
|
|
21
|
+
<a id="delivery-structure"></a>
|
|
22
|
+
<a id="stage-outputs-and-content"></a>
|
|
23
|
+
<a id="delivery-structure-and-documents"></a>
|
|
24
|
+
<a id="fixed-outlines-and-traceable-identifiers"></a>
|
|
25
|
+
<a id="guide-directory"></a>
|
|
9
26
|
|
|
10
|
-
|
|
27
|
+
## Delivery directory at a glance
|
|
11
28
|
|
|
12
|
-
|
|
13
|
-
<a id="1-select-aimship-in-your-host"></a>
|
|
14
|
-
<a id="1-select-aimship-in-your-ai-development-tool"></a>
|
|
15
|
-
## 1. Select Aimship in your AI tool
|
|
29
|
+
The default materials root is `~/Aimship/` under your home directory, unless installation configured another location. **Each delivery has its own directory under that root; use the actual path in the AI’s receipt.** Explicitly state a different save location if needed.
|
|
16
30
|
|
|
17
|
-
|
|
31
|
+
Carry out the delivery in your AI tool workspace, with access to both existing materials and the Aimship delivery directory:
|
|
18
32
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
33
|
+
```text
|
|
34
|
+
AI tool workspace
|
|
35
|
+
├── Existing user project materials (supply as applicable; keep in place)
|
|
36
|
+
│ ├── Prototypes, PRDs and other reference documents (if available)
|
|
37
|
+
│ └── Project code (if available)
|
|
38
|
+
└── This request’s delivery directory, created by Aimship initialization
|
|
39
|
+
└── Add original directory → ~/Aimship/20261027-login-signup/
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
[Activate Aimship and state the request](#guide-setup) below. Once initialization reports the actual path, add that delivery folder (`20261027-login-signup` in this example) to the current AI tool workspace, or grant access to it, then continue the delivery in this workspace. Provide access to existing project materials as needed; Aimship initialization does not create them. The directory name is only an example: do not create it manually in advance, copy the whole delivery, or create another set in the workspace.
|
|
24
43
|
|
|
25
|
-
|
|
44
|
+
The delivery directory contains these materials:
|
|
45
|
+
|
|
46
|
+
```text
|
|
47
|
+
~/Aimship/ # Materials root
|
|
48
|
+
└── 20261027-login-signup/ # Example delivery directory
|
|
49
|
+
├── status.md # Current work, pending reviews, next action
|
|
50
|
+
├── source/request.md # Original request
|
|
51
|
+
├── prd.md # Requirements and acceptance criteria
|
|
52
|
+
├── prototype/index.html # Page interaction prototype
|
|
53
|
+
├── tech-design.md # Technical design
|
|
54
|
+
├── openapi.yaml # HTTP interface contract
|
|
55
|
+
├── database.sql # This example's single-database changes
|
|
56
|
+
├── testing.md # Cases and later execution results
|
|
57
|
+
├── plan.md # Implementation tasks and progress
|
|
58
|
+
├── review.md # Batch and overall reviews
|
|
59
|
+
└── handoff.md # Results and handoff instructions
|
|
60
|
+
```
|
|
26
61
|
|
|
27
|
-
|
|
62
|
+
Materials develop gradually and are kept as needed. Search readable REQ, AC and TC numbers across documents; corresponding numbers stay consistent without requiring anchor links. `scope.md` adopts authoritative external requirements, `change-log.md` records important changes, and `diagnosis.md` is for standalone investigations. Open `status.md` for progress; tell the AI directly about requirement changes or acceptance decisions.
|
|
28
63
|
|
|
64
|
+
<a id="1-start-and-proceed"></a>
|
|
29
65
|
<a id="start"></a>
|
|
30
66
|
<a id="choose-the-requirement-authority"></a>
|
|
31
67
|
<a id="describe-the-work-and-its-endpoint"></a>
|
|
32
|
-
|
|
68
|
+
<a id="2-start-in-different-scenarios"></a>
|
|
69
|
+
<a id="1-first-use"></a>
|
|
70
|
+
<a id="guide-example"></a>
|
|
71
|
+
<a id="1-sign-up-and-login-a-delivery-example"></a>
|
|
72
|
+
|
|
73
|
+
<a id="1-aimship-delivery-walkthrough"></a>
|
|
74
|
+
|
|
75
|
+
## 1. Aimship usage example
|
|
76
|
+
|
|
77
|
+
Follow sign-up and login from requirements to acceptance. **This is fictional practice; wording and business choices need not be copied.** The example later supplies a project and isolated test database, with prototype review after requirements and before technical design. Actual prototype placement follows the delivery's needs.
|
|
78
|
+
|
|
79
|
+
Use one Aimship entry within a session, then continue after approval as arranged; no invocation is needed at every stage. When your review is required, the AI presents one item at a time and waits for a clear decision. Revisions return for review.
|
|
80
|
+
|
|
81
|
+
<a id="11-prepare-a-workspace"></a>
|
|
82
|
+
<a id="12-activate-aimship-and-describe-the-request"></a>
|
|
83
|
+
<a id="13-check-the-saved-result-and-answer-necessary-questions"></a>
|
|
84
|
+
<a id="prepare-a-workspace"></a>
|
|
85
|
+
<a id="hosts"></a>
|
|
86
|
+
<a id="1-select-aimship-in-your-host"></a>
|
|
87
|
+
<a id="1-select-aimship-in-your-ai-development-tool"></a>
|
|
88
|
+
<a id="1-select-aimship-in-your-ai-tool"></a>
|
|
89
|
+
<a id="activate-aimship-and-describe-the-request"></a>
|
|
90
|
+
<a id="check-the-saved-result-and-answer-necessary-questions"></a>
|
|
91
|
+
<a id="install"></a>
|
|
92
|
+
<a id="starting-without-a-requirements-document"></a>
|
|
93
|
+
<a id="guide-setup"></a>
|
|
33
94
|
|
|
34
|
-
|
|
95
|
+
### 1.1 Activate Aimship and state the request
|
|
35
96
|
|
|
36
|
-
|
|
97
|
+
**User actions:** Explicitly request Aimship and state the goal. For example:
|
|
37
98
|
|
|
38
|
-
|
|
99
|
+
> Use Aimship for username/password sign-up, login, logout and a home page requiring login. Complete development and local verification, without deployment; I will supply code later.
|
|
39
100
|
|
|
40
|
-
|
|
101
|
+
For existing prototypes, PRDs or other documents, supply their original locations; originals stay in place and you need not copy them manually. Following the source rules, the AI retains copies of the formally adopted versions and necessary dependencies under this delivery's `source/` and records the adoption basis. Materials consulted only as background need not be copied in full. Before later revisions, identify the editable artifact; new versions do not overwrite earlier evidence.
|
|
41
102
|
|
|
42
|
-
|
|
103
|
+
**AI processing:** Determines the delivery directory and checks access, preserves the request, creates or resumes the delivery, and reports the actual saved directory, current work and next action. If access is unavailable, it asks you to add that directory or grant access; it does not relocate the delivery into the workspace.
|
|
43
104
|
|
|
44
|
-
|
|
105
|
+
**Outputs:** `source/request.md` preserves your words; `status.md` shows progress. For a new delivery, the AI saves your preferred language, or otherwise the language of the current conversation. Status and new documents use that language; filenames, IDs, original sources and existing documents remain unchanged.
|
|
45
106
|
|
|
46
|
-
|
|
107
|
+
<a id="14-read-the-document-and-give-a-decision"></a>
|
|
108
|
+
<a id="15-continue-after-approval"></a>
|
|
109
|
+
<a id="review"></a>
|
|
110
|
+
<a id="review-documents-and-continue"></a>
|
|
111
|
+
<a id="3-proceed-and-review"></a>
|
|
112
|
+
<a id="2-review-and-proceed"></a>
|
|
113
|
+
<a id="read-the-document-and-give-a-decision"></a>
|
|
114
|
+
<a id="continue-after-approval"></a>
|
|
115
|
+
<a id="guide-requirements"></a>
|
|
116
|
+
<a id="guide-prototype"></a>
|
|
117
|
+
<a id="12-review-requirements-and-acceptance-criteria"></a>
|
|
118
|
+
<a id="13-review-pages-and-interaction"></a>
|
|
47
119
|
|
|
48
|
-
|
|
120
|
+
### 1.2 Confirm requirements
|
|
49
121
|
|
|
50
|
-
|
|
122
|
+
**User actions:** Supply the input you have.
|
|
51
123
|
|
|
52
|
-
|
|
124
|
+
- No PRD/prototype: describe features and expected behavior, such as “Usernames must be unique; after logout, the home page must require login again.”
|
|
125
|
+
- Existing materials: provide the PRD/prototype location, version and adopted scope. Say what is available even if it is incomplete.
|
|
53
126
|
|
|
54
|
-
|
|
127
|
+
Open the presented requirements document and applicable prototype separately. Check scope, acceptance criteria and page behavior; approve the current item or identify what needs changing.
|
|
55
128
|
|
|
56
|
-
|
|
129
|
+
**AI processing:** Clarifies gaps, preserves authoritative external originals and reuses sufficient prototype coverage. Without materials, it writes requirements first, then creates the needed prototype after approval in this example's arrangement. No interaction change means no new prototype. It self-checks, submits, records approval and continues one item at a time.
|
|
57
130
|
|
|
58
|
-
|
|
131
|
+
**Outputs:** `prd.md` states requirements and acceptance criteria, or `scope.md` records the adopted scope. This example creates `prototype/index.html` for pages and feedback states. A prototype is not implemented authentication; interaction checks not performed remain unverified.
|
|
59
132
|
|
|
60
|
-
|
|
133
|
+
<a id="guide-session-example"></a>
|
|
61
134
|
|
|
62
|
-
|
|
135
|
+
**New-session example:** After this example's requirements and prototype are approved and saved, stop writing in the old session and explicitly activate Aimship in a new one:
|
|
63
136
|
|
|
64
|
-
|
|
137
|
+
> Use Aimship to continue the sign-up and login delivery at “actual delivery directory.” First read its state, approved materials and pending reviews.
|
|
65
138
|
|
|
66
|
-
|
|
67
|
-
<a id="review-documents-and-continue"></a>
|
|
68
|
-
## 3. Proceed and review
|
|
139
|
+
The AI rechecks access to the same delivery directory, reads its state and confirms technical design as next. If reviews remain pending, it stops there, without reinitializing or asking you to repeat all background. Staying in the original session is also fine.
|
|
69
140
|
|
|
70
|
-
|
|
141
|
+
<a id="guide-design"></a>
|
|
142
|
+
<a id="14-review-the-technical-design"></a>
|
|
71
143
|
|
|
72
|
-
|
|
144
|
+
### 1.3 Review the technical design
|
|
73
145
|
|
|
74
|
-
|
|
146
|
+
**User actions:** Supply the project location and known test conditions. Open the design, check password protection, login state, access control and data changes, then approve or give feedback.
|
|
75
147
|
|
|
76
|
-
|
|
148
|
+
**AI processing:** Reads the project, checks technical conditions and designs the implementation and risk handling. It resolves missing essential facts and prepares interfaces/SQL after design approval.
|
|
77
149
|
|
|
78
|
-
|
|
150
|
+
**Outputs:** `tech-design.md` explains the implementation and tradeoffs. It plans later SQL; finished SQL is not required at this point.
|
|
79
151
|
|
|
80
|
-
<a id="
|
|
81
|
-
<a id="
|
|
82
|
-
## 4. Inspect progress and results
|
|
152
|
+
<a id="guide-contracts"></a>
|
|
153
|
+
<a id="15-review-interface-and-sql-documents-individually"></a>
|
|
83
154
|
|
|
84
|
-
|
|
155
|
+
### 1.4 Review interface and SQL documents individually
|
|
85
156
|
|
|
86
|
-
|
|
87
|
-
<a id="stage-outputs-and-content"></a>
|
|
88
|
-
### Delivery structure and documents
|
|
157
|
+
**User actions:** For the interface review, check requests, responses, errors and authentication. For SQL, check the target database, structure, change order and execution conditions. Approve or request changes separately.
|
|
89
158
|
|
|
90
|
-
|
|
159
|
+
**AI processing:** Prepares applicable documents from the approved design, self-checks each and waits for review. Test design follows their approval. Existing authoritative contracts are reused; no relevant change means no file, and multiple databases have separate SQL.
|
|
91
160
|
|
|
92
|
-
|
|
161
|
+
**Outputs:** This example's `openapi.yaml` defines HTTP interfaces; `database.sql` describes single-database changes. **Document approval does not authorize SQL execution or changes to migration mechanisms.**
|
|
93
162
|
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
├── 20261023-order-export/ # One request, one delivery folder
|
|
97
|
-
│ ├── status.md # Generated overview and reading entry
|
|
98
|
-
│ ├── prd.md # Authored requirements, scope and acceptance
|
|
99
|
-
│ ├── scope.md # Used instead of PRD when adopting authoritative inputs
|
|
100
|
-
│ ├── tech-design.md # Architecture, changes, data, risks and requirement coverage
|
|
101
|
-
│ ├── plan.md # Implementation batches, tasks and actual execution
|
|
102
|
-
│ ├── testing.md # Test cases, coverage, runs and retest results
|
|
103
|
-
│ ├── review.md # Batch/overall reviews, findings and follow-up
|
|
104
|
-
│ ├── handoff.md # Delivered result, usage, validation and remaining work
|
|
105
|
-
│ ├── diagnosis.md # Only for an independent investigation
|
|
106
|
-
│ ├── change-log.md # Meaningful changes, decisions and affected work
|
|
107
|
-
│ ├── openapi.yaml # New HTTP contract; reuse an existing authority when available
|
|
108
|
-
│ ├── database.sql # SQL for one database; multiple targets use database-<id>.sql
|
|
109
|
-
│ ├── prototype/ # Newly authored prototypes when required
|
|
110
|
-
│ │ └── index.html # Entry for an HTML prototype; its assets stay here
|
|
111
|
-
│ ├── source/ # Preserved original request and adopted input versions
|
|
112
|
-
│ │ ├── request.md # Original commission or source entry
|
|
113
|
-
│ │ └── … # External PRD, prototype, screenshots and other inputs
|
|
114
|
-
│ └── .aimship/ # Managed state and supporting evidence
|
|
115
|
-
│ ├── state.json # Stages, references, versions and repository/worktree links
|
|
116
|
-
│ ├── state.previous.json # Previous state for recovery after writes
|
|
117
|
-
│ ├── view.json # Metadata for the generated status view
|
|
118
|
-
│ └── evidence/ # Evidence retained when needed
|
|
119
|
-
└── 20261024-another-request/ # Independent request and progress
|
|
120
|
-
```
|
|
163
|
+
<a id="guide-cases"></a>
|
|
164
|
+
<a id="16-review-test-cases"></a>
|
|
121
165
|
|
|
122
|
-
|
|
166
|
+
### 1.5 Review test cases
|
|
123
167
|
|
|
124
|
-
|
|
125
|
-
The agent maintains links between requirements, acceptance criteria, implementation tasks, reviews and test results for traceability.
|
|
168
|
+
**User actions:** Open the cases and check expected outcomes for normal sign-up/login, duplicate usernames, incorrect passwords, unauthenticated access and access after logout. Approve or identify gaps.
|
|
126
169
|
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
170
|
+
**AI processing:** Turns acceptance criteria into checkable cases, with environment and coverage details. It prepares the implementation plan after case approval.
|
|
171
|
+
|
|
172
|
+
**Outputs:** The cases section of `testing.md`. Test execution results do not exist yet.
|
|
173
|
+
|
|
174
|
+
<a id="guide-plan"></a>
|
|
175
|
+
<a id="17-review-the-implementation-plan"></a>
|
|
176
|
+
|
|
177
|
+
### 1.6 Review the implementation plan
|
|
178
|
+
|
|
179
|
+
**User actions:** Open the plan, check scope, dependencies, batches and verification arrangements, then approve or give feedback.
|
|
180
|
+
|
|
181
|
+
**AI processing:** Splits tasks by engineering dependencies, such as authentication/session work before pages and access control, including test code and reviews. Implementation waits for the plan and required document approvals; even one batch needs a plan.
|
|
182
|
+
|
|
183
|
+
**Outputs:** `plan.md` explains each batch's work, dependencies and checks.
|
|
184
|
+
|
|
185
|
+
<a id="guide-implement"></a>
|
|
186
|
+
<a id="18-implement-batches-and-review-each-batch"></a>
|
|
187
|
+
|
|
188
|
+
### 1.7 Implement batches and review each batch
|
|
131
189
|
|
|
132
|
-
|
|
190
|
+
**User actions:** Inspect changes and progress; point out deviations, such as “The post-sign-up redirect differs from the prototype.” No line-by-line approval of execution logs is needed.
|
|
133
191
|
|
|
134
|
-
|
|
192
|
+
**AI processing:** Implements the plan, reviews each batch and resolves blocking issues before the next. After all batches, it performs the overall review before verification. Requirement changes return to the relevant review.
|
|
135
193
|
|
|
136
|
-
|
|
194
|
+
**Outputs:** Project code, execution progress appended to `plan.md`, and batch findings and repairs in `review.md`.
|
|
137
195
|
|
|
138
|
-
|
|
196
|
+
<a id="guide-overall"></a>
|
|
197
|
+
<a id="19-review-the-complete-change"></a>
|
|
139
198
|
|
|
199
|
+
### 1.8 Review the complete change
|
|
200
|
+
|
|
201
|
+
**User actions:** Read the overall findings and remaining issues, pointing out omissions if needed. Each review entry does not need a separate document approval.
|
|
202
|
+
|
|
203
|
+
**AI processing:** Checks all actual changes and connections across sign-up, login, logout and home-page access. It resolves issues blocking independent verification. A single-batch review can explicitly cover both batch and overall scope.
|
|
204
|
+
|
|
205
|
+
**Outputs:** Overall conclusions appended to `review.md`. Code review does not replace running tests.
|
|
206
|
+
|
|
207
|
+
<a id="guide-verify"></a>
|
|
208
|
+
<a id="110-run-verification-and-handle-failures"></a>
|
|
209
|
+
|
|
210
|
+
### 1.9 Run verification and handle failures
|
|
211
|
+
|
|
212
|
+
**User actions:** Provide the agreed isolated test environment, read execution results and supply reproduction details or missing conditions. Separately authorized operations need an explicit target and action.
|
|
213
|
+
|
|
214
|
+
**AI processing:** Runs cases against reviewed code, distinguishing passed, failed and unexecuted checks. It reviews fixes and retests while retaining failure history; requirement/design issues return to the relevant materials.
|
|
215
|
+
|
|
216
|
+
**Outputs:** Actual code, environment, results and evidence appended to the same `testing.md`. Missing necessary verification is reported, not marked passed.
|
|
217
|
+
|
|
218
|
+
<a id="25-accept-the-delivered-result"></a>
|
|
219
|
+
<a id="completion"></a>
|
|
220
|
+
<a id="decide-when-work-is-done"></a>
|
|
221
|
+
<a id="7-complete-a-delivery"></a>
|
|
222
|
+
<a id="8-complete-a-delivery"></a>
|
|
223
|
+
<a id="accept-the-delivered-result"></a>
|
|
224
|
+
<a id="guide-handoff"></a>
|
|
225
|
+
<a id="111-inspect-and-accept-the-result"></a>
|
|
226
|
+
|
|
227
|
+
### 1.10 Inspect and accept the result
|
|
228
|
+
|
|
229
|
+
**User actions:** Follow the handoff instructions to inspect the feature. Explicitly accept it when it meets the goal, or describe actual versus expected behavior.
|
|
230
|
+
|
|
231
|
+
**AI processing:** Summarizes results and remaining work, and records your actual acceptance decision. Complete delivery needs evidence of required document approvals, batch/overall review, independent verification and final acceptance.
|
|
232
|
+
|
|
233
|
+
**Outputs:** `handoff.md` provides result locations, usage, verification conclusions and merge/deployment status. Earlier document approvals do not replace acceptance, and completed development does not mean deployed.
|
|
234
|
+
|
|
235
|
+
<a id="guide-sessions"></a>
|
|
236
|
+
|
|
237
|
+
## 2. Sessions and continuation
|
|
238
|
+
|
|
239
|
+
<a id="2-sessions-progress-and-acceptance"></a>
|
|
240
|
+
<a id="21-resume-in-a-new-session"></a>
|
|
241
|
+
<a id="23-session-grouping-suggestions"></a>
|
|
140
242
|
<a id="continue"></a>
|
|
141
243
|
<a id="continue-in-another-conversation"></a>
|
|
142
244
|
<a id="5-resume-after-a-pause-or-in-another-session"></a>
|
|
143
245
|
<a id="6-resume-after-a-pause-or-in-another-session"></a>
|
|
144
|
-
|
|
246
|
+
<a id="6-session-arrangements-and-continuing-work"></a>
|
|
247
|
+
<a id="continuing-an-existing-delivery-or-switching-sessions"></a>
|
|
248
|
+
<a id="3-continue-next-time"></a>
|
|
249
|
+
<a id="arrange-the-next-session-and-hand-off"></a>
|
|
250
|
+
<a id="resume-in-a-new-session"></a>
|
|
251
|
+
<a id="session-grouping-suggestions"></a>
|
|
252
|
+
<a id="guide-continue"></a>
|
|
253
|
+
<a id="21-switch-sessions-and-resume"></a>
|
|
145
254
|
|
|
146
|
-
###
|
|
255
|
+
### 2.1 When to switch sessions
|
|
147
256
|
|
|
148
|
-
|
|
257
|
+
Follow suggestions in `status.md` between requirements, technical design/applicable contracts, cases, plan, implementation batches, overall review and verification batches, or stay in the same session. Grouping does not change individual document reviews.
|
|
149
258
|
|
|
150
|
-
|
|
151
|
-
| --- | --- |
|
|
152
|
-
| Requirements / Scope | One session |
|
|
153
|
-
| Technical design, SQL and interface documents | One shared session |
|
|
154
|
-
| Test-case design | One session |
|
|
155
|
-
| Implementation plan | One session |
|
|
156
|
-
| Implementation | One session per implementation batch, including that batch's agent review |
|
|
157
|
-
| Overall review | One session |
|
|
158
|
-
| Test execution | One session per test batch |
|
|
259
|
+
See the [new-session example](#guide-session-example). Keep one writing session per delivery. Trusted records can locate it directly; missing or ambiguous matches prompt clarification. The saved delivery language carries over. If switching before the first save, carry the unsaved request, intended location and pending operations.
|
|
159
260
|
|
|
160
|
-
|
|
261
|
+
<a id="22-continue-after-work-stops-unexpectedly"></a>
|
|
262
|
+
<a id="continue-after-work-stops-unexpectedly"></a>
|
|
263
|
+
<a id="guide-recovery"></a>
|
|
264
|
+
<a id="32-interruptions-repeated-activation-or-inconsistent-progress"></a>
|
|
161
265
|
|
|
162
|
-
|
|
266
|
+
### 2.2 Recover after an interruption
|
|
163
267
|
|
|
164
|
-
|
|
268
|
+
Provide the original delivery directory, interrupted action and error. The AI checks saved state, files and unfinished operations while preserving identity and materials. If state saved but the progress page failed, it repairs only the missing view. Repeated activation does not reinitialize.
|
|
165
269
|
|
|
166
|
-
|
|
270
|
+
Manual progress-page edits are preserved first; conflicts need coordination. Do not approve work by editing that page. If code moves, provide its new location so the AI can check identity before updating the association.
|
|
167
271
|
|
|
168
|
-
|
|
272
|
+
<a id="3-other-starting-points-and-work-arrangements"></a>
|
|
273
|
+
<a id="scenarios"></a>
|
|
274
|
+
<a id="5-other-starting-points-and-work-arrangements"></a>
|
|
275
|
+
<a id="guide-other"></a>
|
|
276
|
+
<a id="2-other-usage-notes"></a>
|
|
277
|
+
<a id="guide-inputs"></a>
|
|
169
278
|
|
|
170
|
-
|
|
279
|
+
## 3. Requirements inputs and changes
|
|
171
280
|
|
|
172
|
-
|
|
281
|
+
<a id="31-working-from-an-existing-prd-prototype-or-other-materials"></a>
|
|
282
|
+
<a id="working-from-an-existing-prd-prototype-or-other-materials"></a>
|
|
283
|
+
<a id="guide-adoption"></a>
|
|
284
|
+
<a id="23-start-with-an-existing-prd-prototype-or-other-materials"></a>
|
|
285
|
+
<a id="33-turning-the-current-discussion-into-a-delivery"></a>
|
|
286
|
+
<a id="turning-the-current-discussion-into-a-delivery"></a>
|
|
287
|
+
<a id="guide-discussion"></a>
|
|
288
|
+
<a id="25-carry-over-an-existing-discussion"></a>
|
|
173
289
|
|
|
174
|
-
|
|
290
|
+
### 3.1 Existing materials or discussion
|
|
291
|
+
|
|
292
|
+
Provide the PRD, prototype or screenshot locations, versions and scope to use. The AI checks them as described in [Confirm requirements](#guide-requirements). Explicitly request direct maintenance of an existing PRD if needed; the AI checks the goal and endpoint before submitting it for review. An existing file is not an approval.
|
|
293
|
+
|
|
294
|
+
For prior discussion, say “Use Aimship to continue the requirements we just discussed.” The AI organizes visible requests, decisions and open questions. Supply history it cannot see; suggestions are not approvals.
|
|
295
|
+
|
|
296
|
+
<a id="16-changing-approved-requirements"></a>
|
|
297
|
+
<a id="5-requirements-change-during-delivery"></a>
|
|
298
|
+
<a id="changes"></a>
|
|
299
|
+
<a id="review-verify-and-change"></a>
|
|
300
|
+
<a id="4-requirements-change-during-delivery"></a>
|
|
301
|
+
<a id="changing-approved-requirements"></a>
|
|
302
|
+
<a id="guide-changes"></a>
|
|
303
|
+
<a id="22-change-approved-content"></a>
|
|
175
304
|
|
|
176
|
-
###
|
|
305
|
+
### 3.2 Change approved content
|
|
177
306
|
|
|
178
|
-
|
|
307
|
+
Explain what changes, why, and what stays the same; identify any documents you edited yourself. The AI records important changes in `change-log.md`, resubmits affected documents and holds dependent work until confirmed. Unaffected work, earlier approvals and test history remain.
|
|
179
308
|
|
|
180
|
-
|
|
309
|
+
Record new requests in requirements and the change log, without overwriting `source/request.md`. Restore accidental edits from a reliable original; if none exists, pause to resolve the gap. Typos and formatting need no full re-review. Small fixes can continue the same delivery; a new goal or major redesign gets a separate delivery linked to the original.
|
|
181
310
|
|
|
182
|
-
|
|
311
|
+
<a id="guide-limits"></a>
|
|
312
|
+
<a id="27-stop-at-a-limited-goal"></a>
|
|
183
313
|
|
|
184
|
-
|
|
314
|
+
### 3.3 Complete only part of the goal
|
|
185
315
|
|
|
316
|
+
State if you only need requirements or design, or explicitly exclude testing. The AI records the endpoint and omissions, labels the handoff as partial and never marks untested work passed. Asking to “see a preview first” does not change the goal.
|
|
317
|
+
|
|
318
|
+
Only standalone investigation uses `diagnosis.md`; ordinary debugging adds no investigation stage.
|
|
319
|
+
|
|
320
|
+
<a id="guide-projects"></a>
|
|
321
|
+
|
|
322
|
+
## 4. Code and multiple deliveries
|
|
323
|
+
|
|
324
|
+
<a id="32-changing-a-feature-fixing-a-defect-or-refactoring"></a>
|
|
325
|
+
<a id="34-associating-code-after-requirements-have-started"></a>
|
|
326
|
+
<a id="changing-a-feature-fixing-a-defect-or-refactoring"></a>
|
|
327
|
+
<a id="associating-code-after-requirements-have-started"></a>
|
|
328
|
+
<a id="guide-code"></a>
|
|
329
|
+
<a id="24-change-existing-code-or-associate-it-later"></a>
|
|
330
|
+
|
|
331
|
+
### 4.1 Associate code, fix defects or refactor
|
|
332
|
+
|
|
333
|
+
Provide the code directory, for example: “The code is at ‘project directory’; continue the current delivery.” The AI keeps the delivery directory and review records. It may read existing behavior early; edits still follow the agreed scope. Findings affecting approved content return for review. A remote address does not trigger automatic cloning or relocation.
|
|
334
|
+
|
|
335
|
+
For defects, provide expected behavior, the problem and reproduction steps or logs. For refactoring, state the improvement goal and behaviors to preserve.
|
|
336
|
+
|
|
337
|
+
<a id="35-progress-several-deliveries-at-once"></a>
|
|
338
|
+
<a id="7-progress-several-deliveries-at-once"></a>
|
|
186
339
|
<a id="parallel"></a>
|
|
187
340
|
<a id="work-on-two-requests-at-once"></a>
|
|
188
341
|
<a id="6-progress-several-deliveries-at-once"></a>
|
|
189
|
-
|
|
342
|
+
<a id="progress-several-deliveries-at-once"></a>
|
|
343
|
+
<a id="guide-parallel"></a>
|
|
344
|
+
<a id="26-work-on-several-requests"></a>
|
|
190
345
|
|
|
191
|
-
|
|
346
|
+
### 4.2 Work on several requests
|
|
192
347
|
|
|
193
|
-
|
|
348
|
+
Keep each delivery separate and identify shared code, interfaces, databases or environments. Analysis can run concurrently; sequence edits to the same code, or use separate working directories and plan the merge.
|
|
194
349
|
|
|
195
|
-
|
|
350
|
+
The AI checks only known, accessible deliveries; it does not lock or schedule other sessions. Describe other ongoing changes and check the merged result afterward.
|
|
196
351
|
|
|
197
|
-
<a id="
|
|
198
|
-
<a id="
|
|
199
|
-
<a id="
|
|
200
|
-
|
|
352
|
+
<a id="4-problems-and-references"></a>
|
|
353
|
+
<a id="troubleshoot"></a>
|
|
354
|
+
<a id="8-problems-during-use"></a>
|
|
355
|
+
<a id="9-problems-during-use"></a>
|
|
356
|
+
<a id="6-problems-and-references"></a>
|
|
357
|
+
<a id="guide-troubleshoot"></a>
|
|
358
|
+
<a id="3-access-recovery-and-versions"></a>
|
|
359
|
+
<a id="guide-maintenance"></a>
|
|
201
360
|
|
|
202
|
-
|
|
361
|
+
## 5. Troubleshooting and maintenance
|
|
203
362
|
|
|
204
|
-
|
|
363
|
+
<a id="41-common-problems"></a>
|
|
364
|
+
<a id="guide-access"></a>
|
|
365
|
+
<a id="31-workspace-and-access"></a>
|
|
205
366
|
|
|
206
|
-
|
|
367
|
+
### 5.1 A directory is inaccessible
|
|
207
368
|
|
|
208
|
-
|
|
369
|
+
Use the actual path reported by the AI to add the original delivery directory or grant the needed permissions in your AI tool. If the directory has not been created, use the tool’s supported controls to authorize the necessary parent directory, then continue initialization. Do not copy the delivery or create another one elsewhere.
|
|
209
370
|
|
|
210
|
-
|
|
211
|
-
<a id="8-problems-during-use"></a>
|
|
212
|
-
## 9. Problems during use
|
|
371
|
+
Reading a file does not prove it can be saved; the AI should report success from actual read/write results. Aimship does not operate permission controls for you. Keep unsaved requests in the current conversation; once access is restored, inspect existing files before continuing. Installation does not automatically create delivery directories or grant access.
|
|
213
372
|
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
| Aimship is missing, or installation/version problems occur | See [installation and upgrade problems](../README.md#installation-troubleshooting) in the README |
|
|
373
|
+
<a id="43-ai-tool-integration-notes"></a>
|
|
374
|
+
<a id="ai-tool-integration-notes"></a>
|
|
375
|
+
<a id="guide-hosts-notes"></a>
|
|
376
|
+
<a id="34-missing-entries-and-host-differences"></a>
|
|
377
|
+
<a id="34-missing-entries-and-ai-tool-differences"></a>
|
|
378
|
+
<a id="guide-tools"></a>
|
|
221
379
|
|
|
222
|
-
|
|
380
|
+
### 5.2 The Aimship entry is missing
|
|
223
381
|
|
|
224
|
-
|
|
382
|
+
Check installation status through the README, then try a new session or refresh your AI tool’s Skill list and explicitly select Aimship. The available entry depends on the tool’s version and supported controls; a healthy installation does not prove the Skill is loaded.
|
|
225
383
|
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
384
|
+
For duplicate entries, check their sources and versions while preserving custom content. Codex and Cursor share an installed entry, so do not simply delete duplicates. Real discovery, permissions and cross-tool continuation are not fully verified. See [Cursor documentation](https://cursor.com/docs/skills) and [Codex Skill locations](https://learn.chatgpt.com/docs/build-skills).
|
|
385
|
+
|
|
386
|
+
<a id="42-continue-an-existing-delivery-after-upgrading-aimship"></a>
|
|
387
|
+
<a id="continue-an-existing-delivery-after-upgrading-aimship"></a>
|
|
388
|
+
<a id="guide-upgrade"></a>
|
|
389
|
+
<a id="33-continue-after-upgrading"></a>
|
|
229
390
|
|
|
391
|
+
### 5.3 Continue after upgrading
|
|
392
|
+
|
|
393
|
+
Save current work before [upgrading through the README](../README.md#update). Activate Aimship again afterward and check the actual bound version and delivery state; installation itself does not update delivery records.
|
|
394
|
+
|
|
395
|
+
Use ordinary Markdown and searchable numbers to record delivery. Check the impact of rule changes and preserve actual approvals and test records without inventing results.
|
|
396
|
+
|
|
397
|
+
<a id="45-installation-and-maintenance-references"></a>
|
|
398
|
+
<a id="installation-and-maintenance-references"></a>
|
|
230
399
|
<a id="update"></a>
|
|
231
400
|
<a id="update-or-stop-using-aimship"></a>
|
|
232
|
-
For software upgrades, adding tools, version queries and installation health checks, see the [README](../README.md#update).
|
|
233
|
-
|
|
234
401
|
<a id="uninstall"></a>
|
|
235
|
-
|
|
402
|
+
<a id="guide-references"></a>
|
|
403
|
+
<a id="35-installation-maintenance-and-feedback"></a>
|
|
236
404
|
|
|
237
|
-
|
|
238
|
-
<a id="sql-changes-and-progress"></a>
|
|
239
|
-
## Appendix: SQL and engineering versions
|
|
405
|
+
### 5.4 Maintenance and feedback
|
|
240
406
|
|
|
241
|
-
|
|
407
|
+
See the [README](../README.md#update) for installation, upgrades, adding AI tools, version and health checks, or [uninstallation](../README.md#uninstall) for removal. Health checks inspect installation files and configuration; they do not repair delivery documents. For an interrupted installation or missing files, follow the corresponding README instructions rather than reinstalling blindly.
|
|
242
408
|
|
|
243
|
-
|
|
409
|
+
For feedback, provide versions, actions, expected and actual results, and minimal reproduction steps. Redact credentials, personal paths and business data before filing an [Issue](https://github.com/clsx/aimship/issues). See [Contributing](../CONTRIBUTING.md) for development and the [CLI document](cli.md) for tool protocols.
|