@open-agent-toolkit/cli 0.2.28 → 0.2.30
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/assets/bundle-metadata.json +4 -0
- package/assets/docs/cli-utilities/configuration.md +11 -1
- package/assets/docs/workflows/projects/artifacts.md +5 -0
- package/assets/docs/workflows/projects/autonomy.md +25 -0
- package/assets/docs/workflows/projects/index.md +1 -0
- package/assets/docs/workflows/projects/lifecycle.md +23 -0
- package/assets/docs/workflows/projects/retro.md +261 -0
- package/assets/docs/workflows/skills/index.md +6 -0
- package/assets/public-package-versions.json +4 -4
- package/assets/skills/oat-project-autonomous/SKILL.md +17 -1
- package/assets/skills/oat-project-autonomous/references/gate-inventory.md +41 -41
- package/assets/skills/oat-project-complete/SKILL.md +42 -6
- package/assets/skills/oat-project-document/references/docs/autonomy-contract.md +41 -41
- package/assets/skills/oat-project-implement/SKILL.md +1 -1
- package/assets/skills/oat-project-implement/references/completion-and-closeout.md +20 -6
- package/assets/skills/oat-project-implement/references/docs/autonomy-contract.md +41 -41
- package/assets/skills/oat-project-import-plan/SKILL.md +7 -3
- package/assets/skills/oat-project-plan/SKILL.md +6 -3
- package/assets/skills/oat-project-plan-writing/SKILL.md +32 -5
- package/assets/skills/oat-project-pr-final/references/docs/autonomy-contract.md +41 -41
- package/assets/skills/oat-project-quick-start/SKILL.md +7 -3
- package/assets/skills/oat-project-quick-start/references/docs/autonomy-contract.md +41 -41
- package/assets/skills/oat-project-retro/SKILL.md +310 -0
- package/assets/skills/oat-project-retro/references/apply-procedure.md +212 -0
- package/assets/skills/oat-project-retro/references/evidence-and-lanes.md +91 -0
- package/assets/skills/oat-project-retro/references/retro-quality-bar.md +100 -0
- package/assets/skills/oat-project-retro-file/SKILL.md +387 -0
- package/assets/templates/project-retro.md +236 -0
- package/dist/commands/config/index.d.ts.map +1 -1
- package/dist/commands/config/index.js +81 -0
- package/dist/commands/init/tools/shared/skill-manifest.d.ts +2 -2
- package/dist/commands/init/tools/shared/skill-manifest.d.ts.map +1 -1
- package/dist/commands/init/tools/shared/skill-manifest.js +3 -0
- package/dist/config/oat-config.d.ts +12 -1
- package/dist/config/oat-config.d.ts.map +1 -1
- package/dist/config/oat-config.js +38 -2
- package/dist/config/resolve.d.ts.map +1 -1
- package/dist/config/resolve.js +8 -0
- package/dist/fs/assets.d.ts +1 -0
- package/dist/fs/assets.d.ts.map +1 -1
- package/dist/fs/assets.js +36 -1
- package/dist/release/public-package-contract.d.ts.map +1 -1
- package/dist/release/public-package-contract.js +1 -0
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: oat-project-complete
|
|
3
|
-
version: 1.6.
|
|
3
|
+
version: 1.6.1
|
|
4
4
|
description: Use when all implementation work is finished and the project is ready to close. Marks the OAT project lifecycle as complete.
|
|
5
5
|
disable-model-invocation: true
|
|
6
6
|
user-invocable: true
|
|
@@ -123,6 +123,22 @@ Also preflight summary status using the same freshness rules as `oat-project-sum
|
|
|
123
123
|
- `summary.md` is `stale` when the tracking frontmatter fields `oat_summary_last_task`, `oat_summary_revision_count`, or `oat_summary_includes_revisions` no longer match `current_last_task`, `current_rev_count`, or `current_rev_list` as defined in `oat-project-summary` Step 3
|
|
124
124
|
- `summary.md` is `current` when those tracking fields still match the `oat-project-summary` Step 3 comparison inputs
|
|
125
125
|
|
|
126
|
+
Preflight `{PROJECT_PATH}/references/project-retro.md` alongside the summary.
|
|
127
|
+
The safety-net offer is governed by how this completion run executes, not by how
|
|
128
|
+
implementation ran:
|
|
129
|
+
|
|
130
|
+
- Treat the run as non-interactive when `OAT_AUTONOMOUS=1` or
|
|
131
|
+
`OAT_NON_INTERACTIVE=1`; otherwise treat it as interactive.
|
|
132
|
+
- When the retro is missing and this completion run is interactive, add exactly
|
|
133
|
+
one question to the batched prompt: "No project retro exists. Generate one
|
|
134
|
+
before completing?"
|
|
135
|
+
- When the retro is missing and this completion run is non-interactive, skip the
|
|
136
|
+
offer. Explicitly configured `retro` in the post-implementation sequence is
|
|
137
|
+
the consented non-interactive path.
|
|
138
|
+
- When the retro exists, never offer regeneration. If either
|
|
139
|
+
`oat_retro_promotions` or `oat_retro_filing` is `proposed` or `partial`, emit
|
|
140
|
+
at most one line noting that the existing retro has unsettled register items.
|
|
141
|
+
|
|
126
142
|
**Questions to ask (in a single prompt):**
|
|
127
143
|
|
|
128
144
|
1. **Confirm completion:** "Ready to mark **{PROJECT_NAME}** as complete?"
|
|
@@ -130,8 +146,9 @@ Also preflight summary status using the same freshness rules as `oat-project-sum
|
|
|
130
146
|
3. **Generate or refresh summary** (only if summary status is `missing` or `stale`): present the status explicitly:
|
|
131
147
|
- Missing example: "A summary has not been generated yet. Would you like me to generate it now as part of completion?"
|
|
132
148
|
- Stale example: "The project summary is out of date. Would you like me to refresh it now as part of completion?"
|
|
133
|
-
4. **Generate
|
|
134
|
-
5. **
|
|
149
|
+
4. **Generate project retro** (only when the retro is missing and this completion run is interactive): "No project retro exists. Generate one before completing?"
|
|
150
|
+
5. **Generate final project recap** (only when recap intent resolution returned `needsPrompt: true`): "Generate a final project recap as part of completion?"
|
|
151
|
+
6. **Open PR:** "Open a PR in GitHub after generating the PR description?" — ask this only when no tracked open PR already exists.
|
|
135
152
|
|
|
136
153
|
If `oat_pr_status` is `open`, do not ask the Open PR question. Set `SHOULD_OPEN_PR="false"` and treat the existing PR as already tracked.
|
|
137
154
|
|
|
@@ -142,13 +159,19 @@ Ready to complete project **{PROJECT_NAME}**?
|
|
|
142
159
|
|
|
143
160
|
1. Archive the project after completion? (yes/no)
|
|
144
161
|
2. A summary has not been generated yet. Generate it now as part of completion? (yes/no)
|
|
145
|
-
3.
|
|
146
|
-
4.
|
|
162
|
+
3. No project retro exists. Generate one before completing? (yes/no)
|
|
163
|
+
4. Generate a final project recap as part of completion? (yes/no)
|
|
164
|
+
5. Open a PR in GitHub? (yes/no)
|
|
147
165
|
```
|
|
148
166
|
|
|
149
167
|
If the user declines the completion confirmation, exit gracefully.
|
|
150
168
|
|
|
151
|
-
After the user accepts the completion confirmation, store the answers as
|
|
169
|
+
After the user accepts the completion confirmation, store the answers as
|
|
170
|
+
`SHOULD_ARCHIVE`, `SHOULD_GENERATE_SUMMARY`, `SHOULD_GENERATE_RETRO`,
|
|
171
|
+
`SHOULD_GENERATE_RECAP`, and `SHOULD_OPEN_PR` for use in later steps. Set
|
|
172
|
+
`SHOULD_GENERATE_RETRO="false"` when the retro already exists or this completion
|
|
173
|
+
run is non-interactive. Persist a prompted recap answer only after that
|
|
174
|
+
confirmation is accepted.
|
|
152
175
|
|
|
153
176
|
If the summary status is `current`, set `SHOULD_GENERATE_SUMMARY="false"` and note that a current summary is already available.
|
|
154
177
|
|
|
@@ -273,6 +296,19 @@ Check if `{PROJECT_PATH}/summary.md` exists and whether it is current against th
|
|
|
273
296
|
- Used as source for the PR description (in Step 7)
|
|
274
297
|
- Preserved in the archived project directory (in Step 8)
|
|
275
298
|
|
|
299
|
+
### Step 3.5.5: Retro Safety-Net
|
|
300
|
+
|
|
301
|
+
When `SHOULD_GENERATE_RETRO="true"`, dispatch `oat-project-retro` in generate
|
|
302
|
+
mode before any lifecycle mutation. Apply and filing behavior remains
|
|
303
|
+
config-gated inside that skill.
|
|
304
|
+
|
|
305
|
+
Use the host's skill-to-skill invocation when available. Do not assume
|
|
306
|
+
`oat-project-retro` is a shell command on `PATH`. If dispatch is unavailable or
|
|
307
|
+
generation fails, warn with the reason and continue completion; this offer is a
|
|
308
|
+
safety net, not a completion gate. Never leave a partial retro artifact.
|
|
309
|
+
|
|
310
|
+
When `SHOULD_GENERATE_RETRO="false"`, do not dispatch the skill.
|
|
311
|
+
|
|
276
312
|
### Step 3.6: Select Final Project Recap
|
|
277
313
|
|
|
278
314
|
Run this gate after the optional summary refresh and before any lifecycle
|