@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
|
|
|
@@ -17,8 +17,10 @@ responsible for file boundaries, verification, and task commits.
|
|
|
17
17
|
|
|
18
18
|
#### Brief-Mode Phase Execution
|
|
19
19
|
|
|
20
|
-
When `oat_workflow_mode` is `brief`, each phase is one phase-unit
|
|
21
|
-
and Exit evidence instead of planned tasks
|
|
20
|
+
When `oat_workflow_mode` is `brief` or `goal`, each phase is one phase-unit
|
|
21
|
+
with Intent and Exit evidence instead of planned tasks; goal also scopes every
|
|
22
|
+
run to a milestone, recovery or terminal phase set (`plan-and-resume.md`, Goal
|
|
23
|
+
Projects). Every rule in this route still
|
|
22
24
|
applies except where this subsection replaces it, and
|
|
23
25
|
`oat-project-brief/references/brief-contract.md` (sections 3, 6, 7, and 10) is
|
|
24
26
|
authoritative where the two differ. The subsection is inert for every other
|
|
@@ -200,7 +202,7 @@ Before each phase:
|
|
|
200
202
|
spec: {PROJECT_PATH}/spec.md
|
|
201
203
|
implementation: {PROJECT_PATH}/implementation.md
|
|
202
204
|
discovery: {PROJECT_PATH}/discovery.md
|
|
203
|
-
workflow_mode: {spec-driven|quick|import|lite|brief} # lite is always a single phase; brief phases carry Intent and Exit evidence, not tasks
|
|
205
|
+
workflow_mode: {spec-driven|quick|import|lite|brief|goal} # lite is always a single phase; brief and goal phases carry Intent and Exit evidence, not tasks
|
|
204
206
|
active_provider: {codex|claude|cursor|other}
|
|
205
207
|
phase_base_head: {PHASE_BASE_HEAD}
|
|
206
208
|
worktree: {assigned checkout}
|
|
@@ -1217,6 +1219,11 @@ summary, and design/plan deviations. `oat_plan_hill_phases` lists phases after
|
|
|
1217
1219
|
which execution pauses; an empty list means every phase.
|
|
1218
1220
|
In brief modes an empty list means none (`plan-and-resume.md` Step 2.5), and a
|
|
1219
1221
|
phase boundary is reached only when the phase-unit is accepted.
|
|
1222
|
+
In goal mode the last accepted phase of a milestone or recovery scope leads to
|
|
1223
|
+
Goal Milestone Closeout (`completion-and-closeout.md`), not to the final
|
|
1224
|
+
review: the milestone's integrated review is requested with its explicit
|
|
1225
|
+
`code mNN: <ordered phase ids>` scope after the exit carrier is allowed and
|
|
1226
|
+
fresh, and `code final` belongs to terminal closeout only.
|
|
1220
1227
|
|
|
1221
1228
|
Before a configured non-final HiLL pause, run auto-review when enabled. Scope
|
|
1222
1229
|
starts after the last passed whole-phase review and ends at the current phase.
|
|
@@ -24,6 +24,32 @@ logged brief edits Step 2.2 allows (adding, splitting, reordering, or making
|
|
|
24
24
|
phases concrete within the approved outcomes); those are part of brief
|
|
25
25
|
execution, not scope expansion.
|
|
26
26
|
|
|
27
|
+
### Goal Projects
|
|
28
|
+
|
|
29
|
+
When `state.md` records `oat_workflow_mode: goal`, every brief-family rule
|
|
30
|
+
above applies, and `oat-project-brief/references/brief-contract.md` section 12
|
|
31
|
+
wins where this route restates it. Goal adds a scope to each run:
|
|
32
|
+
|
|
33
|
+
- **Active scope.** Read the router's context (`oat project status --json`,
|
|
34
|
+
`recommendation.context`): `scope mNN: <ordered phase ids>` is the active
|
|
35
|
+
milestone's ordered phase set from the shared Milestones reader;
|
|
36
|
+
`scope mNN/dNN: …` or a pending `oat_goal_recovery` record is a recovery
|
|
37
|
+
scope (its `phase_ids`); `scope terminal: …` is the terminal execution scope
|
|
38
|
+
after a declaration, which excludes audited `deferred` and `retired`
|
|
39
|
+
phases; `closeout mNN: …` or `closeout mNN/dNN: …` runs the scoped milestone
|
|
40
|
+
closeout in `completion-and-closeout.md` (Goal Milestone Closeout) without
|
|
41
|
+
dispatching a phase. Never widen a scope to phases of another milestone.
|
|
42
|
+
- **Ownership.** Implement never writes `oat_milestone`, never activates a
|
|
43
|
+
milestone, never registers a delivery, and never writes `declared_met`: it
|
|
44
|
+
consumes the declaration. It writes only the milestone status and recovery
|
|
45
|
+
stage transitions that Goal Milestone Closeout names.
|
|
46
|
+
- **Recovery isolation.** Executing a recovery scope for an older delivery
|
|
47
|
+
leaves `oat_milestone`, `oat_milestone_status`, `oat_current_task_id`, and
|
|
48
|
+
`oat_current_task` unchanged; progress is recorded in the journal and the
|
|
49
|
+
recovery record.
|
|
50
|
+
- **Invalid membership.** A `Active milestone membership invalid` reason stops
|
|
51
|
+
before dispatch and routes to `oat-project-goal`.
|
|
52
|
+
|
|
27
53
|
### Step 1: Check Plan Complete
|
|
28
54
|
|
|
29
55
|
```bash
|
|
@@ -388,7 +414,8 @@ cat "$PROJECT_PATH/implementation.md" 2>/dev/null | head -20
|
|
|
388
414
|
record ID (brief contract section 8). Resolve a record ID to its phase and a
|
|
389
415
|
phase ID to itself; `null`, an unknown ID, or an accepted or extracted unit
|
|
390
416
|
resolves to the first incomplete phase-unit in document order within the
|
|
391
|
-
active scope, which is every phase in brief
|
|
417
|
+
active scope, which is every phase in brief and the Goal Projects scope in
|
|
418
|
+
goal. Phase-units come from the brief's
|
|
392
419
|
`## Phase` headings, never from task headings, and a provisional phase is
|
|
393
420
|
incomplete. Print `Resuming from {phase_id}.` and apply the Step 2.2
|
|
394
421
|
provisional rule before dispatching it. When every phase-unit in the active
|