@open-agent-toolkit/cli 0.3.19 → 0.3.20
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/README.md +2 -1
- package/assets/agents/oat-phase-implementer.md +26 -3
- package/assets/agents/oat-reviewer.md +8 -3
- package/assets/bundle-metadata.json +1 -1
- package/assets/docs/reference/cli-reference.md +12 -7
- package/assets/docs/reference/oat-directory-structure.md +1 -0
- package/assets/docs/reference/project-artifacts.md +56 -1
- package/assets/docs/reference/project-state-machine.md +41 -7
- package/assets/docs/skills/brainstorm.md +3 -2
- package/assets/docs/skills/index.md +13 -10
- package/assets/docs/workflows/advanced/autonomy.md +3 -1
- package/assets/docs/workflows/advanced/dispatch-ceiling.md +2 -2
- package/assets/docs/workflows/advanced/workflow-gates.md +17 -4
- package/assets/docs/workflows/approvals-and-automation.md +21 -10
- package/assets/docs/workflows/choose-workflow.md +17 -9
- package/assets/docs/workflows/ideas/index.md +1 -1
- package/assets/docs/workflows/ideas/lifecycle.md +3 -2
- package/assets/docs/workflows/projects/closeout/closeout-skills.md +80 -7
- package/assets/docs/workflows/projects/closeout/pr-flow.md +7 -1
- package/assets/docs/workflows/projects/execution/execution-skills.md +16 -3
- package/assets/docs/workflows/projects/execution/implementation-execution.md +1 -1
- package/assets/docs/workflows/projects/execution/picking-up-projects.md +11 -1
- package/assets/docs/workflows/projects/lifecycle.md +108 -9
- package/assets/docs/workflows/projects/planning/hill-checkpoints.md +6 -6
- package/assets/docs/workflows/projects/planning/planning-skills.md +9 -7
- package/assets/docs/workflows/projects/planning/starting-projects.md +57 -11
- package/assets/docs/workflows/projects/reviews/index.md +22 -1
- package/assets/docs/workflows/projects/reviews/review-flavors.md +5 -3
- package/assets/public-package-versions.json +4 -4
- package/assets/skills/oat-brainstorm/SKILL.md +34 -9
- package/assets/skills/oat-brainstorm/references/destinations.md +6 -3
- package/assets/skills/oat-docs/SKILL.md +7 -3
- package/assets/skills/oat-pjm-review-backlog/SKILL.md +2 -2
- package/assets/skills/oat-project-autonomous/SKILL.md +9 -3
- package/assets/skills/oat-project-autonomous/references/gate-inventory.md +151 -132
- package/assets/skills/oat-project-brief/SKILL.md +1 -1
- package/assets/skills/oat-project-brief/references/brief-contract.md +458 -9
- package/assets/skills/oat-project-brief/references/docs/autonomy-contract.md +151 -132
- package/assets/skills/oat-project-brief/references/docs/gate-approval-record.md +9 -0
- package/assets/skills/oat-project-capture/SKILL.md +2 -2
- package/assets/skills/oat-project-complete/SKILL.md +14 -5
- package/assets/skills/oat-project-discover/SKILL.md +3 -2
- package/assets/skills/oat-project-document/SKILL.md +12 -6
- package/assets/skills/oat-project-document/references/docs/autonomy-contract.md +151 -132
- package/assets/skills/oat-project-goal/SKILL.md +697 -0
- package/assets/skills/oat-project-goal/references/docs/autonomy-contract.md +412 -0
- package/assets/skills/oat-project-goal/references/docs/gate-approval-record.md +93 -0
- package/assets/skills/oat-project-implement/SKILL.md +1 -1
- package/assets/skills/oat-project-implement/references/completion-and-closeout.md +67 -0
- package/assets/skills/oat-project-implement/references/docs/autonomy-contract.md +151 -132
- package/assets/skills/oat-project-implement/references/docs/gate-approval-record.md +9 -0
- package/assets/skills/oat-project-implement/references/phase-execution.md +10 -3
- package/assets/skills/oat-project-implement/references/plan-and-resume.md +28 -1
- package/assets/skills/oat-project-lite/SKILL.md +1 -1
- package/assets/skills/oat-project-lite/references/docs/autonomy-contract.md +151 -132
- package/assets/skills/oat-project-new/SKILL.md +3 -3
- package/assets/skills/oat-project-next/SKILL.md +45 -15
- package/assets/skills/oat-project-next/references/docs/gate-approval-record.md +9 -0
- package/assets/skills/oat-project-plan/SKILL.md +14 -3
- package/assets/skills/oat-project-plan-writing/SKILL.md +6 -4
- package/assets/skills/oat-project-pr-final/SKILL.md +51 -1
- package/assets/skills/oat-project-pr-final/references/docs/autonomy-contract.md +151 -132
- package/assets/skills/oat-project-pr-progress/SKILL.md +97 -3
- package/assets/skills/oat-project-progress/SKILL.md +38 -5
- package/assets/skills/oat-project-progress/references/docs/gate-approval-record.md +9 -0
- package/assets/skills/oat-project-quick-start/SKILL.md +14 -9
- package/assets/skills/oat-project-quick-start/references/docs/autonomy-contract.md +151 -132
- package/assets/skills/oat-project-quick-start/references/docs/gate-approval-record.md +9 -0
- package/assets/skills/oat-project-reconcile/SKILL.md +31 -2
- package/assets/skills/oat-project-review-provide/SKILL.md +79 -13
- package/assets/skills/oat-project-review-receive/SKILL.md +70 -1
- package/assets/skills/oat-project-revise/SKILL.md +25 -1
- package/assets/skills/oat-project-summary/SKILL.md +60 -5
- package/assets/skills/oat-wave-execute/SKILL.md +2 -2
- package/assets/templates/state.md +1 -1
- package/dist/commands/project/closeout-check/closeout-invariant.d.ts +119 -3
- package/dist/commands/project/closeout-check/closeout-invariant.d.ts.map +1 -1
- package/dist/commands/project/closeout-check/closeout-invariant.js +454 -2
- package/dist/commands/project/closeout-check/index.d.ts +21 -3
- package/dist/commands/project/closeout-check/index.d.ts.map +1 -1
- package/dist/commands/project/closeout-check/index.js +190 -4
- package/dist/commands/project/complete-state/index.d.ts +2 -1
- package/dist/commands/project/complete-state/index.d.ts.map +1 -1
- package/dist/commands/project/complete-state/index.js +7 -1
- package/dist/commands/project/delivery/check.d.ts +66 -0
- package/dist/commands/project/delivery/check.d.ts.map +1 -0
- package/dist/commands/project/delivery/check.js +232 -0
- package/dist/commands/project/delivery/evidence.d.ts +171 -0
- package/dist/commands/project/delivery/evidence.d.ts.map +1 -0
- package/dist/commands/project/delivery/evidence.js +902 -0
- package/dist/commands/project/delivery/index.d.ts +7 -0
- package/dist/commands/project/delivery/index.d.ts.map +1 -0
- package/dist/commands/project/delivery/index.js +13 -0
- package/dist/commands/project/delivery/refresh.d.ts +110 -0
- package/dist/commands/project/delivery/refresh.d.ts.map +1 -0
- package/dist/commands/project/delivery/refresh.js +441 -0
- package/dist/commands/project/index.d.ts.map +1 -1
- package/dist/commands/project/index.js +2 -0
- package/dist/commands/project/log/append.d.ts +6 -0
- package/dist/commands/project/log/append.d.ts.map +1 -1
- package/dist/commands/project/log/append.js +6 -1
- package/dist/commands/project/new/scaffold.d.ts.map +1 -1
- package/dist/commands/project/new/scaffold.js +47 -1
- package/dist/commands/project/promote/promote.d.ts +15 -1
- package/dist/commands/project/promote/promote.d.ts.map +1 -1
- package/dist/commands/project/promote/promote.js +99 -15
- package/dist/commands/project/validate-plan/index.d.ts.map +1 -1
- package/dist/commands/project/validate-plan/index.js +10 -0
- package/dist/commands/project/validate-plan/profiles.d.ts +19 -4
- package/dist/commands/project/validate-plan/profiles.d.ts.map +1 -1
- package/dist/commands/project/validate-plan/profiles.js +153 -2
- package/dist/commands/shared/frontmatter.d.ts +1 -1
- package/dist/commands/shared/frontmatter.d.ts.map +1 -1
- package/dist/commands/shared/frontmatter.js +1 -0
- package/dist/commands/state/generate.d.ts.map +1 -1
- package/dist/commands/state/generate.js +35 -4
- package/dist/commands/tools/shared/pack-manifest.d.ts.map +1 -1
- package/dist/commands/tools/shared/pack-manifest.js +1 -0
- package/package.json +2 -2
|
@@ -62,6 +62,15 @@ replaces the record.
|
|
|
62
62
|
core, written and read under the same rules as `oat_quick_start_gate`. It is
|
|
63
63
|
absent when no gate is configured, and nothing routes on it: it is provenance
|
|
64
64
|
only.
|
|
65
|
+
- **`oat_milestone_gates[mNN].plan` and `.exit`** (goal mode;
|
|
66
|
+
`oat-project-goal` writes `plan` after each milestone's approval, and
|
|
67
|
+
`oat-project-implement`'s milestone closeout writes `exit`) carry the core
|
|
68
|
+
plus `resolution` (`configured`, `no_gate`, or `project_disabled`), a
|
|
69
|
+
`subject` binding (`plan` or `code` and the milestone's ordered phase set),
|
|
70
|
+
and derived `freshness` with `freshness_reason`. `reviewed_head` is `null`
|
|
71
|
+
for `no_gate` and `project_disabled`, and `no_gate` is written rather than
|
|
72
|
+
omitted because routing reads these carriers. `oat-project-brief`'s
|
|
73
|
+
`references/brief-contract.md` section 12.4 is their contract.
|
|
65
74
|
|
|
66
75
|
## Reading a quick-start record
|
|
67
76
|
|
|
@@ -5,7 +5,7 @@ disable-model-invocation: true
|
|
|
5
5
|
user-invocable: true
|
|
6
6
|
allowed-tools: Read, Write, Bash, Glob, Grep, AskUserQuestion
|
|
7
7
|
metadata:
|
|
8
|
-
version: 1.0.
|
|
8
|
+
version: 1.0.6
|
|
9
9
|
---
|
|
10
10
|
|
|
11
11
|
# Capture Untracked Work
|
|
@@ -29,7 +29,7 @@ Use when:
|
|
|
29
29
|
Don't use when:
|
|
30
30
|
|
|
31
31
|
- A project already exists for the current branch — use `oat-project-reconcile` instead
|
|
32
|
-
- You haven't started any work yet — use `oat-project-lite` for single-sitting work, `oat-project-brief` for one delivery planned as a Project Brief, `oat-project-quick-start` for quick work, or `oat-project-new` for spec-driven work
|
|
32
|
+
- You haven't started any work yet — use `oat-project-lite` for single-sitting work, `oat-project-brief` for one delivery planned as a Project Brief, `oat-project-goal` for an outcome delivered over several milestones, `oat-project-quick-start` for quick work, or `oat-project-new` for spec-driven work
|
|
33
33
|
- You only need to map new commits to an existing plan — use `oat-project-reconcile`
|
|
34
34
|
|
|
35
35
|
## Prerequisites
|
|
@@ -5,7 +5,7 @@ disable-model-invocation: true
|
|
|
5
5
|
user-invocable: true
|
|
6
6
|
allowed-tools: Read, Write, Bash, AskUserQuestion
|
|
7
7
|
metadata:
|
|
8
|
-
version: 1.7.
|
|
8
|
+
version: 1.7.17
|
|
9
9
|
---
|
|
10
10
|
|
|
11
11
|
# Complete Project
|
|
@@ -228,6 +228,13 @@ configured, autonomous, or lite closeout cannot complete until its
|
|
|
228
228
|
`oat_post_implement_sequence` snapshot exists and every stored step and the
|
|
229
229
|
final sign-off are recorded. A project whose implementation finished before
|
|
230
230
|
closeout snapshots existed recovers the same way; there is no override.
|
|
231
|
+
|
|
232
|
+
For a goal project (`oat_workflow_mode: goal`) the boundary also requires a
|
|
233
|
+
valid declaration, an exhaustive outcome audit and delivery coverage
|
|
234
|
+
(`oat-project-brief/references/brief-contract.md` section 12.9); a refusal
|
|
235
|
+
routes to its `nextOwner.skill` (`oat-project-goal`, `oat-project-implement`,
|
|
236
|
+
a review owner, `oat-project-pr-progress`, or `oat-project-pr-final`) rather
|
|
237
|
+
than to implement alone.
|
|
231
238
|
`oat project complete-state` refuses the same state in Step 5.
|
|
232
239
|
|
|
233
240
|
The shared and synced archive resume branches above continue at Step 12 or
|
|
@@ -291,6 +298,7 @@ PROJECT_RECAP_CONFIG=$(oat config get workflow.explainers.projectRecap --json 2>
|
|
|
291
298
|
- **If `PR_ON_COMPLETE` is `false`:** Set `SHOULD_OPEN_PR="false"`. Skip the Open PR question. Print `PR on complete: disabled (from workflow.createPrOnComplete).`
|
|
292
299
|
- **If `PR_ON_COMPLETE` is unset:** Include the Open PR question in the batched prompt as normal (backward compatible).
|
|
293
300
|
- The existing tracked-PR skip still applies: if `oat_pr_status` is `open`, do not ask the Open PR question and do not honor `PR_ON_COMPLETE=true` — the PR already exists.
|
|
301
|
+
- **Goal mode (`oat_workflow_mode: goal`):** the completion decision consumes the validated goal coverage from Step 1.5. When the declaration and its exhaustive audit are valid, every terminal delivery is at its agreed endpoint (`status: at_endpoint`, or `endpoint_attainment` recorded), and the snapshot's `pr` step is satisfied by coverage (`satisfied_by: { pr: delivery-coverage }`), set `SHOULD_OPEN_PR="false"`, skip the Open PR question, call no `gh pr create` in Step 11, and print `PR on complete: satisfied by goal delivery coverage` — even when `PR_ON_COMPLETE` is `true`. Genuinely uncovered delivery work never reaches this step: Step 1.5 refuses it and routes to the goal registration owner (`oat-project-pr-final` for terminal registration, `oat-project-pr-progress` for a milestone delivery). A separately intended bookkeeping PR for the completion commits is not a goal delivery: open one only when the user explicitly asks for it in this run, never because of `PR_ON_COMPLETE`, and never register it in `oat_deliveries` or count it toward coverage. Every other mode is unchanged.
|
|
294
302
|
|
|
295
303
|
Select archive prompt participation before assembling the batched prompt:
|
|
296
304
|
|
|
@@ -391,10 +399,11 @@ Also preflight summary status using the same freshness rules as `oat-project-sum
|
|
|
391
399
|
- `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
|
|
392
400
|
- `summary.md` is `current` when those tracking fields still match the `oat-project-summary` Step 3 comparison inputs
|
|
393
401
|
- In brief modes staleness is decided by fingerprint instead: recompute the
|
|
394
|
-
phase fingerprint with the `oat-project-summary` Step 3 brief fragment
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
402
|
+
phase fingerprint with the `oat-project-summary` Step 3 brief fragment, and
|
|
403
|
+
in goal mode include the Step 3 goal fragment (the delivery IDs at
|
|
404
|
+
endpoint); `summary.md` is `stale` when its `oat_summary_phase_fingerprint`
|
|
405
|
+
is absent or differs from the recomputed value and `current` when they
|
|
406
|
+
match. `oat_summary_last_task` is not consulted for a brief or goal project.
|
|
398
407
|
|
|
399
408
|
Preflight `{PROJECT_PATH}/references/project-retro.md` alongside the summary.
|
|
400
409
|
The safety-net offer is governed by how this completion run executes, not by how
|
|
@@ -5,7 +5,7 @@ disable-model-invocation: false
|
|
|
5
5
|
user-invocable: true
|
|
6
6
|
allowed-tools: Read, Write, Bash(git:*), Bash(oat:*), Bash(pnpm:*), Glob, Grep, AskUserQuestion
|
|
7
7
|
metadata:
|
|
8
|
-
version: 2.2.
|
|
8
|
+
version: 2.2.11
|
|
9
9
|
---
|
|
10
10
|
|
|
11
11
|
# Discovery Phase
|
|
@@ -32,7 +32,7 @@ Before acting:
|
|
|
32
32
|
2. Confirm `{PROJECT_PATH}/state.md` exists.
|
|
33
33
|
3. Confirm `oat_workflow_mode` is `spec-driven` or absent only in a legacy spec-driven project.
|
|
34
34
|
|
|
35
|
-
If any check fails, decline this skill. Offer `oat-project-new` for a new spec-driven project, `oat-project-quick-start` for a quick project, `oat-project-lite` for single-sitting work, `oat-project-brief` for one delivery planned as a Project Brief, or `oat-project-open` for switching to an existing project. When the gate passes, summarize the active project and ask before continuing discovery.
|
|
35
|
+
If any check fails, decline this skill. Offer `oat-project-new` for a new spec-driven project, `oat-project-quick-start` for a quick project, `oat-project-lite` for single-sitting work, `oat-project-brief` for one delivery planned as a Project Brief, `oat-project-goal` for an outcome delivered over several milestones, or `oat-project-open` for switching to an existing project. When the gate passes, summarize the active project and ask before continuing discovery.
|
|
36
36
|
|
|
37
37
|
## Mode Assertion
|
|
38
38
|
|
|
@@ -108,6 +108,7 @@ PROJECTS_ROOT="${PROJECTS_ROOT%/}"
|
|
|
108
108
|
- quick project: continue with `oat-project-quick-start` / `oat-project-progress`
|
|
109
109
|
- lite project: continue with `oat-project-lite` / `oat-project-progress`
|
|
110
110
|
- brief project: continue with `oat-project-brief` / `oat-project-progress`
|
|
111
|
+
- goal project: continue with `oat-project-goal` / `oat-project-progress`
|
|
111
112
|
- import project: continue with `oat-project-import-plan` / `oat-project-progress`
|
|
112
113
|
- Ask user:
|
|
113
114
|
- **Continue** with active project, or
|
|
@@ -6,7 +6,7 @@ disable-model-invocation: false
|
|
|
6
6
|
user-invocable: true
|
|
7
7
|
allowed-tools: Read, Write, Edit, Bash(git:*), Bash(jq:*), Bash(oat pjm:*), Bash(oat project push:*), Bash(oat project scope:*), Bash(oat tools:*), Glob, Grep, AskUserQuestion, Skill
|
|
8
8
|
metadata:
|
|
9
|
-
version: 1.8.
|
|
9
|
+
version: 1.8.10
|
|
10
10
|
---
|
|
11
11
|
|
|
12
12
|
# Project Documentation Sync
|
|
@@ -217,15 +217,21 @@ shipped results. A lite project accepts `discovery.md`, `spec.md`, and
|
|
|
217
217
|
`design.md` as absent; do not read or require them. Build the documentation
|
|
218
218
|
delta from what actually shipped and continue with code verification.
|
|
219
219
|
|
|
220
|
-
For `oat_workflow_mode: brief`, use the brief artifact set instead
|
|
221
|
-
numbered list below. Read `plan.md` (the Project Brief: Goal, Outcomes,
|
|
220
|
+
For `oat_workflow_mode: brief` or `goal`, use the brief artifact set instead
|
|
221
|
+
of the numbered list below. Read `plan.md` (the Project Brief: Goal, Outcomes,
|
|
222
222
|
Approach and any `### Design` subsection, Constraints and Out of Scope,
|
|
223
223
|
Decisions, and the phases' Intent and Exit evidence), then `implementation.md`
|
|
224
224
|
phase sections, execution records, `Brief deltas`, and `Final Summary (for
|
|
225
225
|
PR/docs)` as the shipped results, plus `summary.md` and `references/research/`
|
|
226
|
-
when present. A
|
|
227
|
-
|
|
228
|
-
|
|
226
|
+
when present. A goal project adds two shipped-result sources from `state.md`:
|
|
227
|
+
the outcome audit (`oat_goal_outcome_audit`, the per-outcome disposition once
|
|
228
|
+
the goal is declared met) and the delivery registry (`oat_deliveries`, each
|
|
229
|
+
delivery's scope, pull requests and endpoint observation); document only what
|
|
230
|
+
those deliveries shipped, and name audited deferrals rather than documenting
|
|
231
|
+
them as delivered. A brief or goal project accepts `discovery.md`, `spec.md`,
|
|
232
|
+
and `design.md` as absent; do not read or require them. Build the
|
|
233
|
+
documentation delta from what actually shipped and continue with code
|
|
234
|
+
verification.
|
|
229
235
|
|
|
230
236
|
For every other workflow mode, read the numbered artifact list below.
|
|
231
237
|
|