@open-agent-toolkit/cli 0.1.62 → 0.1.64
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/agents/oat-phase-implementer.md +9 -1
- package/assets/agents/oat-reviewer.md +8 -1
- package/assets/docs/cli-utilities/configuration.md +29 -0
- package/assets/docs/cli-utilities/tool-packs.md +29 -1
- package/assets/docs/contributing/skills.md +22 -0
- package/assets/docs/workflows/projects/artifacts.md +30 -0
- package/assets/docs/workflows/projects/autonomy.md +154 -0
- package/assets/docs/workflows/projects/cursor-cloud.md +151 -0
- package/assets/docs/workflows/projects/dispatch-ceiling.md +13 -0
- package/assets/docs/workflows/projects/index.md +6 -0
- package/assets/public-package-versions.json +4 -4
- package/assets/skills/oat-cursor-cloud-projects/SKILL.md +318 -0
- package/assets/skills/oat-cursor-cloud-projects/references/cursor-cloud-mechanics.md +173 -0
- package/assets/skills/oat-project-autonomous/SKILL.md +439 -0
- package/assets/skills/oat-project-autonomous/references/gate-inventory.md +294 -0
- package/assets/skills/oat-project-design/SKILL.md +79 -1
- package/assets/skills/oat-project-discover/SKILL.md +76 -1
- package/assets/skills/oat-project-document/SKILL.md +24 -1
- package/assets/skills/oat-project-document/references/docs/autonomy-contract.md +294 -0
- package/assets/skills/oat-project-implement/SKILL.md +18 -1
- package/assets/skills/oat-project-implement/references/completion-and-closeout.md +72 -7
- package/assets/skills/oat-project-implement/references/dispatch-and-dry-run.md +17 -9
- package/assets/skills/oat-project-implement/references/docs/autonomy-contract.md +294 -0
- package/assets/skills/oat-project-implement/references/plan-and-resume.md +56 -0
- package/assets/skills/oat-project-plan-writing/SKILL.md +48 -12
- package/assets/skills/oat-project-pr-final/SKILL.md +31 -4
- package/assets/skills/oat-project-pr-final/references/docs/autonomy-contract.md +294 -0
- package/assets/skills/oat-project-quick-start/SKILL.md +50 -2
- package/assets/skills/oat-project-quick-start/references/docs/autonomy-contract.md +294 -0
- package/assets/skills/oat-project-review-provide/SKILL.md +9 -1
- package/assets/skills/oat-project-review-receive/SKILL.md +9 -1
- package/assets/skills/oat-project-summary/SKILL.md +76 -14
- package/assets/templates/summary.md +24 -0
- package/dist/commands/gate/index.d.ts.map +1 -1
- package/dist/commands/gate/index.js +4 -1
- package/dist/commands/init/tools/index.d.ts.map +1 -1
- package/dist/commands/init/tools/index.js +67 -45
- package/dist/commands/init/tools/shared/skill-manifest.d.ts +1 -1
- package/dist/commands/init/tools/shared/skill-manifest.d.ts.map +1 -1
- package/dist/commands/init/tools/shared/skill-manifest.js +2 -0
- package/dist/commands/init/tools/workflows/index.d.ts +2 -1
- package/dist/commands/init/tools/workflows/index.d.ts.map +1 -1
- package/dist/commands/init/tools/workflows/index.js +13 -11
- package/dist/commands/init/tools/workflows/install-workflows.d.ts +2 -0
- package/dist/commands/init/tools/workflows/install-workflows.d.ts.map +1 -1
- package/dist/commands/init/tools/workflows/install-workflows.js +4 -0
- package/dist/commands/project/new/scaffold.d.ts +1 -0
- package/dist/commands/project/new/scaffold.d.ts.map +1 -1
- package/dist/commands/project/new/scaffold.js +23 -4
- package/dist/commands/tools/remove/index.js +2 -2
- package/dist/commands/tools/remove/remove-tools.d.ts.map +1 -1
- package/dist/commands/tools/remove/remove-tools.js +23 -0
- package/dist/commands/tools/update/index.d.ts.map +1 -1
- package/dist/commands/tools/update/index.js +7 -1
- package/dist/commands/tools/update/update-tools.d.ts +9 -0
- package/dist/commands/tools/update/update-tools.d.ts.map +1 -1
- package/dist/commands/tools/update/update-tools.js +25 -5
- package/dist/providers/identity/family.d.ts +1 -1
- package/dist/providers/identity/family.d.ts.map +1 -1
- package/dist/providers/identity/family.js +2 -0
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: oat-project-design
|
|
3
|
-
version: 2.
|
|
3
|
+
version: 2.2.0
|
|
4
4
|
description: Use when discovery is complete and implementation-ready decisions are needed. Runs a collaborative, selective collaborative, or draft-and-review design flow, confirms requirements and produces both `spec.md` and `design.md`, and commits artifacts before the user-review gate.
|
|
5
5
|
disable-model-invocation: true
|
|
6
6
|
user-invocable: true
|
|
@@ -688,6 +688,84 @@ Architecture:
|
|
|
688
688
|
Next: Create implementation plan with the oat-project-plan skill
|
|
689
689
|
```
|
|
690
690
|
|
|
691
|
+
### Gate Execution
|
|
692
|
+
|
|
693
|
+
Before reporting this skill as complete, run the configured gate as the final
|
|
694
|
+
step:
|
|
695
|
+
|
|
696
|
+
1. Resolve the gate for this skill:
|
|
697
|
+
|
|
698
|
+
```bash
|
|
699
|
+
oat gate resolve <this-skill> --json
|
|
700
|
+
```
|
|
701
|
+
|
|
702
|
+
If the command returns JSON `null`, no gate is configured; the skill is
|
|
703
|
+
complete.
|
|
704
|
+
|
|
705
|
+
2. Export the resolved project path into the command shell:
|
|
706
|
+
|
|
707
|
+
```bash
|
|
708
|
+
export PROJECT_PATH
|
|
709
|
+
```
|
|
710
|
+
|
|
711
|
+
If the resolved command invokes `oat gate review`, the configured review
|
|
712
|
+
command must already include `--project "$PROJECT_PATH"` and must not include
|
|
713
|
+
`--target <id>`. A valid reusable shape is
|
|
714
|
+
`oat gate review --project "$PROJECT_PATH" ...`. If the declaration is
|
|
715
|
+
missing, stop and migrate the stored gate command; do not inject or append
|
|
716
|
+
arguments at execution time.
|
|
717
|
+
|
|
718
|
+
3. Execute the resolved command exactly as configured. Capture stdout, stderr,
|
|
719
|
+
the exit code, and the structured JSON result. A zero exit code means the
|
|
720
|
+
review passed its threshold, but it does not by itself authorize artifact
|
|
721
|
+
receipt or complete the handoff.
|
|
722
|
+
|
|
723
|
+
4. Review-artifact handoff:
|
|
724
|
+
- Parse the structured gate result. An exit code or artifact path alone never
|
|
725
|
+
authorizes `oat-project-review-receive`.
|
|
726
|
+
- Invoke receive only when all three conditions hold: `status` is `ok` or
|
|
727
|
+
`blocked`, the envelope explicitly sets `receiveEligible: true`, and a
|
|
728
|
+
non-null `handoff` confirms the artifact was corroborated.
|
|
729
|
+
- `receiveEligible: false` is a hard stop even when `artifactPath` is present.
|
|
730
|
+
Never receive `targeting_correlation_failed`; correct the project/run
|
|
731
|
+
routing and run a new gate.
|
|
732
|
+
- Keep `artifact_validation_failed` outside receive until the artifact is
|
|
733
|
+
corrected and the gate successfully revalidates it. Treat `review_failed`,
|
|
734
|
+
unknown statuses, null handoffs, and contradictory eligibility fields as
|
|
735
|
+
operational failures.
|
|
736
|
+
- `blocked` exits nonzero but is receive-eligible; `ok` exits zero and still
|
|
737
|
+
requires durable receive disposition. Route by structured status and
|
|
738
|
+
eligibility, not by exit code.
|
|
739
|
+
|
|
740
|
+
5. If the command exits nonzero, use `description` to orient the next steps and
|
|
741
|
+
handle `onFailure`:
|
|
742
|
+
- `block`: read gate feedback, remediate, and re-run the gate up to
|
|
743
|
+
`maxAttempts` attempts (default `2`). If attempts are exhausted, escalate
|
|
744
|
+
to the human with accumulated feedback and append that feedback to
|
|
745
|
+
`implementation.md`. Treat a launch failure, missing CLI, or no eligible
|
|
746
|
+
runtime as escalation-biased and do not spend it as a remediation attempt.
|
|
747
|
+
- `prompt`: surface the gate failure and ask the human how to proceed.
|
|
748
|
+
- `warn`: record the gate failure and continue.
|
|
749
|
+
|
|
750
|
+
6. Runtime selection note (V1): the step runs the gate `command` as-is and reads
|
|
751
|
+
no OAT runtime env var. By default, `oat gate review` and
|
|
752
|
+
`oat gate cross-provider-exec` resolve the current host from built-in
|
|
753
|
+
`hostDetectionCommand`s and avoid the same runtime when no exact target is
|
|
754
|
+
supplied. Reusable lifecycle skill-gate commands must not include
|
|
755
|
+
`--target <id>` so independent review stays provider-neutral. Use explicit
|
|
756
|
+
targets only for manual/debug commands or deliberate local/user-specific
|
|
757
|
+
overrides; do not hardcode provider/model targets in bundled skill guidance
|
|
758
|
+
or shared lifecycle gate examples.
|
|
759
|
+
|
|
760
|
+
When `OAT_AUTONOMOUS=1`, perform eligible review receive immediately and apply
|
|
761
|
+
the autonomy contract's `onFailure` semantics without prompting: `warn`
|
|
762
|
+
continues with provenance, `block` stops after bounded attempts, and `prompt`
|
|
763
|
+
is a reported boundary. Unresolved Critical review findings always stop
|
|
764
|
+
autonomous design progression, regardless of a less restrictive gate failure
|
|
765
|
+
setting; record the blocker and leave the project resumable. Important findings
|
|
766
|
+
follow the configured gate policy. When autonomy is inactive, the interactive
|
|
767
|
+
behavior above is unchanged.
|
|
768
|
+
|
|
691
769
|
## Success Criteria
|
|
692
770
|
|
|
693
771
|
- Architecture aligns with existing patterns (from architecture.md)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: oat-project-discover
|
|
3
|
-
version: 2.0
|
|
3
|
+
version: 2.1.0
|
|
4
4
|
description: Use when the user explicitly asks to continue discovery for an active spec-driven OAT project — e.g. "continue discovery", "run discovery", or confirms a previously offered discovery step. Do NOT auto-invoke for new ideas or quick-mode projects. Gathers requirements and context before spec/design.
|
|
5
5
|
disable-model-invocation: false
|
|
6
6
|
user-invocable: true
|
|
@@ -479,3 +479,78 @@ requirements automatically and produce both spec.md and design.md).
|
|
|
479
479
|
If you'd rather formalize requirements without designing yet, run
|
|
480
480
|
`oat-project-spec` as a standalone step.
|
|
481
481
|
```
|
|
482
|
+
|
|
483
|
+
### Gate Execution
|
|
484
|
+
|
|
485
|
+
Before reporting this skill as complete, run the configured gate as the final
|
|
486
|
+
step:
|
|
487
|
+
|
|
488
|
+
1. Resolve the gate for this skill:
|
|
489
|
+
|
|
490
|
+
```bash
|
|
491
|
+
oat gate resolve <this-skill> --json
|
|
492
|
+
```
|
|
493
|
+
|
|
494
|
+
If the command returns JSON `null`, no gate is configured; the skill is
|
|
495
|
+
complete.
|
|
496
|
+
|
|
497
|
+
2. Export the resolved project path into the command shell:
|
|
498
|
+
|
|
499
|
+
```bash
|
|
500
|
+
export PROJECT_PATH
|
|
501
|
+
```
|
|
502
|
+
|
|
503
|
+
If the resolved command invokes `oat gate review`, the configured review
|
|
504
|
+
command must already include `--project "$PROJECT_PATH"` and must not include
|
|
505
|
+
`--target <id>`. A valid reusable shape is
|
|
506
|
+
`oat gate review --project "$PROJECT_PATH" ...`. If the declaration is
|
|
507
|
+
missing, stop and migrate the stored gate command; do not inject or append
|
|
508
|
+
arguments at execution time.
|
|
509
|
+
|
|
510
|
+
3. Execute the resolved command exactly as configured. Capture stdout, stderr,
|
|
511
|
+
the exit code, and the structured JSON result. A zero exit code means the
|
|
512
|
+
review passed its threshold, but it does not by itself authorize artifact
|
|
513
|
+
receipt or complete the handoff.
|
|
514
|
+
|
|
515
|
+
4. Review-artifact handoff:
|
|
516
|
+
- Parse the structured gate result. An exit code or artifact path alone never
|
|
517
|
+
authorizes `oat-project-review-receive`.
|
|
518
|
+
- Invoke receive only when all three conditions hold: `status` is `ok` or
|
|
519
|
+
`blocked`, the envelope explicitly sets `receiveEligible: true`, and a
|
|
520
|
+
non-null `handoff` confirms the artifact was corroborated.
|
|
521
|
+
- `receiveEligible: false` is a hard stop even when `artifactPath` is present.
|
|
522
|
+
Never receive `targeting_correlation_failed`; correct the project/run
|
|
523
|
+
routing and run a new gate.
|
|
524
|
+
- Keep `artifact_validation_failed` outside receive until the artifact is
|
|
525
|
+
corrected and the gate successfully revalidates it. Treat `review_failed`,
|
|
526
|
+
unknown statuses, null handoffs, and contradictory eligibility fields as
|
|
527
|
+
operational failures.
|
|
528
|
+
- `blocked` exits nonzero but is receive-eligible; `ok` exits zero and still
|
|
529
|
+
requires durable receive disposition. Route by structured status and
|
|
530
|
+
eligibility, not by exit code.
|
|
531
|
+
|
|
532
|
+
5. If the command exits nonzero, use `description` to orient the next steps and
|
|
533
|
+
handle `onFailure`:
|
|
534
|
+
- `block`: read gate feedback, remediate, and re-run the gate up to
|
|
535
|
+
`maxAttempts` attempts (default `2`). If attempts are exhausted, escalate
|
|
536
|
+
to the human with accumulated feedback and append that feedback to
|
|
537
|
+
`implementation.md`. Treat a launch failure, missing CLI, or no eligible
|
|
538
|
+
runtime as escalation-biased and do not spend it as a remediation attempt.
|
|
539
|
+
- `prompt`: surface the gate failure and ask the human how to proceed.
|
|
540
|
+
- `warn`: record the gate failure and continue.
|
|
541
|
+
|
|
542
|
+
6. Runtime selection note (V1): the step runs the gate `command` as-is and reads
|
|
543
|
+
no OAT runtime env var. By default, `oat gate review` and
|
|
544
|
+
`oat gate cross-provider-exec` resolve the current host from built-in
|
|
545
|
+
`hostDetectionCommand`s and avoid the same runtime when no exact target is
|
|
546
|
+
supplied. Reusable lifecycle skill-gate commands must not include
|
|
547
|
+
`--target <id>` so independent review stays provider-neutral. Use explicit
|
|
548
|
+
targets only for manual/debug commands or deliberate local/user-specific
|
|
549
|
+
overrides; do not hardcode provider/model targets in bundled skill guidance
|
|
550
|
+
or shared lifecycle gate examples.
|
|
551
|
+
|
|
552
|
+
When `OAT_AUTONOMOUS=1`, perform eligible review receive immediately and apply
|
|
553
|
+
the autonomy contract's `onFailure` semantics without prompting: `warn`
|
|
554
|
+
continues with provenance, `block` stops after bounded attempts, and `prompt`
|
|
555
|
+
is a reported boundary. When autonomy is inactive, the interactive behavior
|
|
556
|
+
above is unchanged.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: oat-project-document
|
|
3
|
-
version: 1.
|
|
3
|
+
version: 1.6.1
|
|
4
4
|
description: Use when the user requests or confirms documenting an active OAT project — e.g. "document the project", "update the docs", "run oat-project-document", or confirms a previously offered documentation run. Do NOT auto-invoke when implementation completes. Analyzes project artifacts, presents a documentation delta plan, and applies approved changes.
|
|
5
5
|
argument-hint: '[project-path] [--auto]'
|
|
6
6
|
disable-model-invocation: false
|
|
@@ -25,6 +25,11 @@ Read project artifacts and implementation code to identify documentation surface
|
|
|
25
25
|
|
|
26
26
|
**Purpose:** Analyze what a project built, identify documentation gaps, and apply approved documentation updates.
|
|
27
27
|
|
|
28
|
+
When `OAT_AUTONOMOUS=1`, read `references/docs/autonomy-contract.md` and execute
|
|
29
|
+
the existing `--auto` path for this run. Keep `OAT_NON_INTERACTIVE=1`
|
|
30
|
+
session-scoped and never persist either environment signal. This branch is inert
|
|
31
|
+
when autonomy is inactive.
|
|
32
|
+
|
|
28
33
|
## Progress Indicators (User-Facing)
|
|
29
34
|
|
|
30
35
|
- Print a phase banner once at start:
|
|
@@ -69,6 +74,13 @@ If you catch yourself:
|
|
|
69
74
|
2. Return to current step
|
|
70
75
|
3. Ask user for guidance
|
|
71
76
|
|
|
77
|
+
## Artifact Hygiene
|
|
78
|
+
|
|
79
|
+
Artifact hygiene contract: Before finishing or committing, format every file you created or edited. Use the concrete write/fix formatting command supplied by the governing plan, task, or brief. If none is usable, discover the repository's documented write/fix command from applicable `AGENTS.md`/`CLAUDE.md` instructions and relevant package manifests; do not infer or hardcode a formatter. Prefer a file-scoped invocation when supported, and avoid rewriting unrelated files. If no command is discoverable, warn once with `no format command discovered in repo instructions; skipping`, then continue.
|
|
80
|
+
|
|
81
|
+
After formatting, run only repository checks relevant to the files changed;
|
|
82
|
+
writing documentation does not imply unrelated full test suites.
|
|
83
|
+
|
|
72
84
|
## Argument Parsing
|
|
73
85
|
|
|
74
86
|
Parse `$ARGUMENTS` for:
|
|
@@ -82,6 +94,11 @@ Parse `$ARGUMENTS` for:
|
|
|
82
94
|
fi
|
|
83
95
|
```
|
|
84
96
|
|
|
97
|
+
If `OAT_AUTONOMOUS=1`, set `AUTO_MODE=true` after normal argument parsing
|
|
98
|
+
even when `--auto` was not passed. Record gate `DOCUMENT-02` and the applied
|
|
99
|
+
recommendation set in the documentation outcome. This is the existing
|
|
100
|
+
`--auto` behavior, not a new approval mode.
|
|
101
|
+
|
|
85
102
|
2. **`project-path`:** Any non-flag argument is treated as an explicit project path.
|
|
86
103
|
```
|
|
87
104
|
PROJECT_ARG=$(echo "$ARGUMENTS" | sed 's/--auto//g' | xargs)
|
|
@@ -413,6 +430,12 @@ Format and present the recommendations for user approval.
|
|
|
413
430
|
- If no recommendations found: report "No documentation updates identified for this project.", set `oat_docs_updated: complete` in state.md, and exit
|
|
414
431
|
- If only instruction recommendations (no docs): still present, but note the documentation-first priority
|
|
415
432
|
|
|
433
|
+
Under `OAT_AUTONOMOUS=1`, the auto path applies all non-destructive
|
|
434
|
+
recommendations without presenting Step 6c. A recommendation that deletes
|
|
435
|
+
documentation or broadly restructures existing documentation beyond the
|
|
436
|
+
approved project plan remains gate `DOCUMENT-03`: stop before applying it,
|
|
437
|
+
record the proposed change and evidence, and leave the project resumable.
|
|
438
|
+
|
|
416
439
|
**6c. Interactive approval:**
|
|
417
440
|
|
|
418
441
|
```
|