@williambeto/ai-workflow 2.8.0 → 2.8.2
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/CHANGELOG.md +41 -0
- package/bin/ai-workflow.js +193 -49
- package/bin/ai-workflow.js.map +1 -1
- package/{chunk-LI76KI7C.js → chunk-4FI5ODAM.js} +259 -296
- package/{chunk-Y4RLP6ZM.js → chunk-GLYX3HEY.js} +353 -39
- package/{chunk-XW747GIG.js → chunk-H7GIKXFO.js} +339 -14
- package/core/index.d.ts +20 -1
- package/core/index.js +2 -2
- package/dist-assets/agents/atlas.md +25 -6
- package/dist-assets/commands/atlas.md +7 -2
- package/dist-assets/docs/QUICKSTART.md +10 -1
- package/dist-assets/docs/compatibility/provider-usage.md +16 -1
- package/dist-assets/docs/compatibility/runtime-matrix.md +13 -2
- package/dist-assets/docs/policies/06-FINAL_EVIDENCE_CONTRACT.md +11 -1
- package/dist-assets/docs/policies/SKILLS_COMMON_GOVERNANCE.md +16 -0
- package/dist-assets/schemas/README.md +4 -0
- package/dist-assets/schemas/evidence.schema.json +60 -1
- package/package.json +1 -1
- package/{validate-IEHLAVZ6.js → validate-DDKN6ORS.js} +3 -3
|
@@ -9,13 +9,21 @@ npx @williambeto/ai-workflow doctor
|
|
|
9
9
|
|
|
10
10
|
Use `opencode.jsonc` and the generated OpenCode assets as the primary workflow interface.
|
|
11
11
|
|
|
12
|
+
For CLI-enforced branch, delivery, validation, and evidence gates, use:
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
npx @williambeto/ai-workflow execute "<natural-language request>"
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
Direct Atlas sessions depend on the selected provider model following the installed agent contract. GPT-5.6 Sol is the validated direct-session model for this release. GPT-5.3 Codex Spark in medium mode is experimental because observed sessions delegated correctly but did not consistently produce a runnable, validated workspace delivery. The finalizer still blocks false success, but it cannot make an incompatible model complete the implementation.
|
|
19
|
+
|
|
12
20
|
## Codex
|
|
13
21
|
|
|
14
22
|
```bash
|
|
15
23
|
npx @williambeto/ai-workflow init --yes --codex
|
|
16
24
|
```
|
|
17
25
|
|
|
18
|
-
Review generated `.
|
|
26
|
+
Review generated `AGENTS.md`, `CODEX.md`, `.codex/skills/`, `.codex/prompts/`, and `.codex/docs/policies/`. The root `AGENTS.md` provides the primary project-level instruction contract. The `ai-workflow doctor` command will automatically validate these assets.
|
|
19
27
|
|
|
20
28
|
## Claude Code
|
|
21
29
|
|
|
@@ -33,6 +41,13 @@ npx @williambeto/ai-workflow init --yes --antigravity
|
|
|
33
41
|
|
|
34
42
|
Review `ANTIGRAVITY.md` and `.agents/`. Antigravity is supported and acts as the primary reference ecosystem for configuring and executing specialized agents and skills.
|
|
35
43
|
|
|
44
|
+
### Activating the Personas in the Antigravity IDE
|
|
45
|
+
|
|
46
|
+
To ensure the assistant assumes a specific persona (like **Atlas** for workflow routing) instead of acting as a generic assistant:
|
|
47
|
+
|
|
48
|
+
* **IDE Agent Selector**: Click the Agent selector dropdown in the Antigravity IDE sidebar and select `Atlas` (configured via `.agents/agents/atlas/agent.json`).
|
|
49
|
+
* **Slash Command Prefix**: Alternatively, start your chat prompt with the `/atlas` prefix to automatically load the orchestrator context.
|
|
50
|
+
|
|
36
51
|
## Multiple adapters
|
|
37
52
|
|
|
38
53
|
Flags may be combined, but each generated runtime increases maintenance surface. Generate only the integrations the consumer project actually uses.
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
|
|
10
10
|
| Runtime | Level | Generated integration | Current evidence | Known limitations |
|
|
11
11
|
| --- | --- | --- | --- | --- |
|
|
12
|
-
| OpenCode | Primary | `opencode.jsonc`, OpenCode agents, commands, and skills | init, doctor, package smoke, generated-file checks |
|
|
13
|
-
| Codex | Supported
|
|
12
|
+
| OpenCode | Primary | `opencode.jsonc`, OpenCode agents, commands, and skills | init, doctor, package smoke, generated-file checks, real GPT-5.6 Sol delivery | Direct-agent behavior depends on a validated model; use `ai-workflow execute` for CLI-enforced gates |
|
|
13
|
+
| Codex | Supported | `AGENTS.md`, `CODEX.md`, `.codex/skills/`, `.codex/prompts/` | full `ai-workflow doctor` runtime validation, e2e smoke checks | `.codex/` output requires `--codex` flag |
|
|
14
14
|
| Claude Code | Supported with limitations | `CLAUDE.md`, `.claude/rules/` | adapter/unit/structural checks and generated asset inspection | Rule loading and tool permissions depend on Claude Code configuration |
|
|
15
15
|
| Antigravity | Supported | `ANTIGRAVITY.md`, `.agents/agents/`, `.agents/skills/`, `.agents/commands/` | unit tests, validation suite, and WSL/Desktop consumer validation | Agents are only listed under `/agents` when actively running (instantiated via `invoke_subagent`) |
|
|
16
16
|
|
|
@@ -18,6 +18,17 @@
|
|
|
18
18
|
|
|
19
19
|
Compatibility levels must be based on evidence available in the release. Adapter code or generated files alone are not proof of full behavioral parity.
|
|
20
20
|
|
|
21
|
+
## OpenCode model qualification
|
|
22
|
+
|
|
23
|
+
OpenCode runtime compatibility does not imply that every provider model follows agent instructions with the same reliability.
|
|
24
|
+
|
|
25
|
+
| Model and mode | Direct Atlas status | Observed behavior |
|
|
26
|
+
| --- | --- | --- |
|
|
27
|
+
| GPT-5.6 Sol | Supported | Completed branch gate, one Astra delegation, workspace implementation, proportional validation, browser inspection, and finalization |
|
|
28
|
+
| GPT-5.3 Codex Spark, medium | Experimental | Delegated to Astra, but produced an incomplete scaffold, failed required validation, and repeated source code in the handoff; the finalizer correctly blocked false success |
|
|
29
|
+
|
|
30
|
+
The canonical enforcement path is `ai-workflow execute`. Direct Atlas sessions are supported only for model configurations that pass the release smoke suite. Experimental models may inspect or generate partial work, but their direct-session behavior is not a supported delivery guarantee.
|
|
31
|
+
|
|
21
32
|
## Promotion requirements
|
|
22
33
|
|
|
23
34
|
A runtime may be promoted only after a clean consumer test records:
|
|
@@ -18,7 +18,12 @@ A report written by an agent is not proof that a command ran. Command results mu
|
|
|
18
18
|
|
|
19
19
|
## Required evidence policy work
|
|
20
20
|
|
|
21
|
-
Persisted evidence is appropriate when traceability has lasting value. The runtime may write a structured evidence file containing branch state, changed files, command exit codes, checks, limitations, and final status.
|
|
21
|
+
Persisted evidence is appropriate when traceability has lasting value. The runtime may write a structured evidence file containing branch state, all currently changed files, the files changed by the current delivery, mutation owner, capability roles, delivery mode, delivery outcome, test action and reason, command exit codes, checks, limitations, and final status.
|
|
22
|
+
|
|
23
|
+
`changedFiles` preserves the complete dirty-workspace view used by safety checks.
|
|
24
|
+
`deliveryChangedFiles` is the delta observed from the current execution baseline
|
|
25
|
+
and is the only file set used to attribute the delivery outcome and test action.
|
|
26
|
+
Pre-existing dirty work must never be claimed as the current delivery.
|
|
22
27
|
|
|
23
28
|
The model must not manually author successful command results.
|
|
24
29
|
|
|
@@ -29,3 +34,8 @@ The model must not manually author successful command results.
|
|
|
29
34
|
- `BLOCKED`
|
|
30
35
|
|
|
31
36
|
A failed required command, protected-branch violation, missing meaningful validation, or unresolved material finding cannot be promoted to success.
|
|
37
|
+
|
|
38
|
+
`COMPLETED` does not imply a diff by itself. `CHANGED` requires an observed
|
|
39
|
+
workspace change and proportional validation. `ALREADY_SATISFIED` requires
|
|
40
|
+
explicit verification without an artificial change. Read-only and preview
|
|
41
|
+
outcomes must not claim implementation.
|
|
@@ -4,6 +4,22 @@ This document defines the shared execution contracts, quality gates, and finaliz
|
|
|
4
4
|
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
+
## Ownership boundary
|
|
8
|
+
|
|
9
|
+
Skills and skill-backed specialist roles are capabilities, not autonomous
|
|
10
|
+
mutation owners. Atlas routes workspace implementation to Astra. Phoenix owns
|
|
11
|
+
only bounded remediation of observed findings. A specialist may provide analysis,
|
|
12
|
+
candidate content, or validation guidance to the active owner, but it must not:
|
|
13
|
+
|
|
14
|
+
- accept direct workspace-delivery ownership from Atlas;
|
|
15
|
+
- edit repository files unless Astra or Phoenix explicitly delegated that
|
|
16
|
+
bounded capability inside an authorized branch;
|
|
17
|
+
- replace a requested repository change with printed code;
|
|
18
|
+
- claim terminal workflow completion.
|
|
19
|
+
|
|
20
|
+
If the delegation does not identify the active mutation owner and delivery mode,
|
|
21
|
+
return the missing context instead of assuming ownership.
|
|
22
|
+
|
|
7
23
|
## Behavioral contract core
|
|
8
24
|
|
|
9
25
|
All executing agents and specialist roles must respect these rules:
|
|
@@ -39,6 +39,10 @@ For normal Markdown documents, use the schemas as a checklist. A document does n
|
|
|
39
39
|
| `pr-breakdown.schema.json` | Pull request breakdown shape |
|
|
40
40
|
| `handoff.schema.json` | Agent handoff shape |
|
|
41
41
|
| `validation-report.schema.json` | Validation report shape |
|
|
42
|
+
| `evidence.schema.json` | Observed delivery, validation, outcome, and test-action evidence |
|
|
43
|
+
|
|
44
|
+
In evidence artifacts, `changedFiles` is the full dirty-workspace view and
|
|
45
|
+
`deliveryChangedFiles` is the delta attributable to the current execution.
|
|
42
46
|
|
|
43
47
|
## Validation
|
|
44
48
|
|
|
@@ -35,6 +35,34 @@
|
|
|
35
35
|
"type": "string"
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
|
+
"deliveryChangedFiles": {
|
|
39
|
+
"type": "array",
|
|
40
|
+
"items": {
|
|
41
|
+
"type": "string"
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
"mutationOwner": {
|
|
45
|
+
"type": ["string", "null"],
|
|
46
|
+
"enum": ["Astra", "Phoenix", "ControlPlane", null]
|
|
47
|
+
},
|
|
48
|
+
"capabilitiesUsed": {
|
|
49
|
+
"type": "array",
|
|
50
|
+
"items": {
|
|
51
|
+
"type": "string"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"deliveryMode": {
|
|
55
|
+
"enum": ["workspace", "answer-only"]
|
|
56
|
+
},
|
|
57
|
+
"deliveryOutcome": {
|
|
58
|
+
"enum": ["CHANGED", "ALREADY_SATISFIED", "READ_ONLY_RESULT", "PREVIEW_ONLY", "NEEDS_CLARIFICATION", "NOT_DELIVERED"]
|
|
59
|
+
},
|
|
60
|
+
"testAction": {
|
|
61
|
+
"enum": ["reuse", "extend", "add", "none"]
|
|
62
|
+
},
|
|
63
|
+
"testReason": {
|
|
64
|
+
"type": "string"
|
|
65
|
+
},
|
|
38
66
|
"status": {
|
|
39
67
|
"enum": ["COMPLETED", "COMPLETED_WITH_NOTES", "BLOCKED"]
|
|
40
68
|
},
|
|
@@ -138,5 +166,36 @@
|
|
|
138
166
|
}
|
|
139
167
|
}
|
|
140
168
|
}
|
|
141
|
-
}
|
|
169
|
+
},
|
|
170
|
+
"allOf": [
|
|
171
|
+
{
|
|
172
|
+
"if": {
|
|
173
|
+
"properties": {
|
|
174
|
+
"deliveryMode": { "const": "workspace" },
|
|
175
|
+
"deliveryOutcome": { "const": "CHANGED" }
|
|
176
|
+
},
|
|
177
|
+
"required": ["deliveryMode", "deliveryOutcome"]
|
|
178
|
+
},
|
|
179
|
+
"then": {
|
|
180
|
+
"required": ["mutationOwner", "commands"],
|
|
181
|
+
"properties": {
|
|
182
|
+
"mutationOwner": {
|
|
183
|
+
"enum": ["Astra", "Phoenix"]
|
|
184
|
+
},
|
|
185
|
+
"commands": {
|
|
186
|
+
"type": "array",
|
|
187
|
+
"minItems": 1,
|
|
188
|
+
"contains": {
|
|
189
|
+
"type": "object",
|
|
190
|
+
"required": ["kind", "status"],
|
|
191
|
+
"properties": {
|
|
192
|
+
"kind": { "not": { "const": "other" } },
|
|
193
|
+
"status": { "enum": ["PASS", "PASS_WITH_NOTES"] }
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
]
|
|
142
201
|
}
|
package/package.json
CHANGED
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
QualityGuard,
|
|
4
4
|
ValidationPlanner,
|
|
5
5
|
VisualVerifier
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-GLYX3HEY.js";
|
|
7
|
+
import "./chunk-H7GIKXFO.js";
|
|
8
8
|
import "./chunk-5WRI5ZAA.js";
|
|
9
9
|
|
|
10
10
|
// src/cli/commands/validate.ts
|
|
@@ -86,4 +86,4 @@ async function runValidate({
|
|
|
86
86
|
export {
|
|
87
87
|
runValidate
|
|
88
88
|
};
|
|
89
|
-
//# sourceMappingURL=validate-
|
|
89
|
+
//# sourceMappingURL=validate-DDKN6ORS.js.map
|