@open-agent-toolkit/cli 0.1.63 → 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/contributing/skills.md +22 -0
- package/assets/docs/workflows/projects/artifacts.md +30 -0
- package/assets/docs/workflows/projects/dispatch-ceiling.md +13 -0
- package/assets/public-package-versions.json +4 -4
- package/assets/skills/oat-project-autonomous/references/gate-inventory.md +165 -165
- package/assets/skills/oat-project-document/SKILL.md +8 -1
- package/assets/skills/oat-project-document/references/docs/autonomy-contract.md +165 -165
- package/assets/skills/oat-project-implement/references/docs/autonomy-contract.md +165 -165
- package/assets/skills/oat-project-plan-writing/SKILL.md +48 -12
- package/assets/skills/oat-project-pr-final/SKILL.md +9 -1
- package/assets/skills/oat-project-pr-final/references/docs/autonomy-contract.md +165 -165
- package/assets/skills/oat-project-quick-start/SKILL.md +8 -1
- package/assets/skills/oat-project-quick-start/references/docs/autonomy-contract.md +165 -165
- 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 +8 -1
- package/dist/commands/gate/index.d.ts.map +1 -1
- package/dist/commands/gate/index.js +4 -1
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: oat-project-plan-writing
|
|
3
|
-
version: 1.2.
|
|
3
|
+
version: 1.2.13
|
|
4
4
|
description: Use when authoring or mutating plan.md in any OAT workflow. Defines canonical format invariants — stable task IDs, required sections, review table rules, and resume guardrails.
|
|
5
5
|
disable-model-invocation: true
|
|
6
6
|
user-invocable: false
|
|
@@ -38,6 +38,26 @@ reference from `.agents/skills/oat-dispatch-subagents/references/`
|
|
|
38
38
|
(`provider-cursor.md`, `provider-codex.md`, or `provider-claude.md`). Do not
|
|
39
39
|
merge provider mechanics.
|
|
40
40
|
|
|
41
|
+
## Planning-Time Artifact Formatting Contract
|
|
42
|
+
|
|
43
|
+
Resolve artifact formatting once while authoring the plan. Read the applicable
|
|
44
|
+
repository instructions (`AGENTS.md`/`CLAUDE.md`) and relevant package
|
|
45
|
+
manifests, then select the repository's documented write/fix formatting
|
|
46
|
+
command. Distinguish write/fix commands from check-only commands, prefer the
|
|
47
|
+
write/fix command, and never infer or hardcode a formatter executable. When the
|
|
48
|
+
documented command supports paths, use a file-scoped invocation covering only
|
|
49
|
+
the files that the task will create or edit.
|
|
50
|
+
|
|
51
|
+
Bake the concrete repository command into the `Format` step of every task that
|
|
52
|
+
creates or edits artifacts. Downstream agents execute that supplied command
|
|
53
|
+
without repeating discovery. Runtime discovery is fallback-only when the
|
|
54
|
+
supplied command is absent or unusable.
|
|
55
|
+
|
|
56
|
+
If no documented write/fix command can be discovered, put this exact
|
|
57
|
+
warn-once/no-op instruction into every artifact-writing task:
|
|
58
|
+
Warn once with `no format command discovered in repo instructions; skipping`,
|
|
59
|
+
then continue without formatting.
|
|
60
|
+
|
|
41
61
|
## Managed Dispatch Readiness and Review Contract
|
|
42
62
|
|
|
43
63
|
All plan-producing workflows and their artifact reviews use this contract:
|
|
@@ -54,9 +74,18 @@ before each artifact review dispatch.
|
|
|
54
74
|
|
|
55
75
|
### Complete Dispatch Ladder Adoption Contract
|
|
56
76
|
|
|
57
|
-
Before any plan becomes implementation-ready,
|
|
58
|
-
|
|
59
|
-
|
|
77
|
+
Before any plan becomes implementation-ready, query the merged effective
|
|
78
|
+
configuration exactly once:
|
|
79
|
+
|
|
80
|
+
```bash
|
|
81
|
+
oat config list --json
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
Treat that output as the effective-config boundary across shared repository,
|
|
85
|
+
repo-local, user, and bundled-default precedence. Do not inspect or merge raw
|
|
86
|
+
config surfaces. Validate the resolved
|
|
87
|
+
`workflow.dispatchCeiling.providers` provider/tier cells and compare their
|
|
88
|
+
ordered candidate ladders with the bundled
|
|
60
89
|
`packages/cli/config/dispatch-matrix-recommendation.json` source (or the
|
|
61
90
|
installed bundle's `config/dispatch-matrix-recommendation.json` asset). A
|
|
62
91
|
complete custom ladder is allowed, but every supported provider must have valid
|
|
@@ -64,8 +93,15 @@ ordered `candidates` cells through the named project ceiling. A legacy scalar,
|
|
|
64
93
|
single fallback route, missing tier, empty candidates array, or malformed
|
|
65
94
|
ordering is not a complete ladder.
|
|
66
95
|
|
|
67
|
-
|
|
68
|
-
|
|
96
|
+
Keep effective ladder completeness separate from project-ceiling resolution.
|
|
97
|
+
When `dispatch-ceiling resolve` returns `matrix: null`, that can mean only that
|
|
98
|
+
the project policy or named ceiling is unresolved; it is not evidence that the
|
|
99
|
+
effective candidate ladders are absent. When every effective provider/tier cell
|
|
100
|
+
is complete, skip adoption and proceed directly to the separate project-ceiling
|
|
101
|
+
choice.
|
|
102
|
+
|
|
103
|
+
Only when effective provider/tier cells are missing or incomplete, show the
|
|
104
|
+
complete bundled recommendation before asking to write anything:
|
|
69
105
|
|
|
70
106
|
| Provider | Economy | Balanced | High | Frontier |
|
|
71
107
|
| --------------- | -------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------- | -------------------------------------- |
|
|
@@ -89,12 +125,12 @@ project's named ceiling is a separate project-state constraint. A
|
|
|
89
125
|
project-specific active policy or ceiling must not be written to user
|
|
90
126
|
`~/.oat/config.json`.
|
|
91
127
|
|
|
92
|
-
Adoption preserves explicit cells.
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
scope.
|
|
128
|
+
Adoption preserves explicit cells. After adoption, repeat the merged
|
|
129
|
+
effective-config query and re-check the full ladder before you re-run the
|
|
130
|
+
resolver. If preserved legacy or partial cells still leave effective cells
|
|
131
|
+
incomplete or missing, identify those cells and block; do not overwrite, infer,
|
|
132
|
+
or mark the plan implementation-ready. In non-interactive mode, incomplete or
|
|
133
|
+
missing effective cells block readiness without choosing an ownership scope.
|
|
98
134
|
|
|
99
135
|
### Reviewer Ceiling Contract
|
|
100
136
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: oat-project-pr-final
|
|
3
|
-
version: 1.5.
|
|
3
|
+
version: 1.5.1
|
|
4
4
|
description: Use when the user requests or confirms opening the final PR for an active OAT project — e.g. "open the final PR", "ship it", "run oat-project-pr-final", or confirms a previously offered final-PR step. Do NOT auto-invoke when phases are marked complete. Generates the final lifecycle PR description from artifacts and creates the PR.
|
|
5
5
|
disable-model-invocation: false
|
|
6
6
|
user-invocable: true
|
|
@@ -92,6 +92,14 @@ Run the `oat-project-pr-final` skill and it will ask for:
|
|
|
92
92
|
- otherwise default: `{type}: {project description}` using conventional-commit style (for example `feat: add review loop` or `docs: reorganize documentation for discoverability`)
|
|
93
93
|
- base branch (resolved from: explicit `base=` arg → `git.defaultBranch` in `.oat/config.json` → `git rev-parse --abbrev-ref origin/HEAD` → fallback `main`)
|
|
94
94
|
|
|
95
|
+
## Artifact Hygiene
|
|
96
|
+
|
|
97
|
+
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.
|
|
98
|
+
|
|
99
|
+
After formatting, run only repository checks relevant to the files changed;
|
|
100
|
+
writing a PR description or project-state prose does not imply unrelated full
|
|
101
|
+
test suites.
|
|
102
|
+
|
|
95
103
|
## Process
|
|
96
104
|
|
|
97
105
|
### Step 0: Resolve Active Project
|