You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-**`agentctl apply`** — persist plan (with TTY confirm or `--auto-approve` / `AGENTCTL_AUTO_APPROVE`)
44
+
-**`agentctl validate`** — load project, apply **project defaults** (`spec.defaults`), then **environment overlays** (`-e` / `--env`, `Environment` resources §7.6), then validate graph, schemas, and references
45
+
-**`agentctl plan`** — diff desired graph vs SQLite **deployment** state; risk hints; JSON/YAML output includes a **`deploymentBaseline`** digest for the store snapshot
46
+
-**`agentctl apply`** — persist plan (TTY confirm or `--auto-approve` / `AGENTCTL_AUTO_APPROVE`); **optimistic concurrency** — if the deployment store changed after the plan snapshot (e.g. another process applied the same `--state` file while this run waited at the prompt), apply fails with **exit code 3**; re-run **plan** then **apply**
47
47
-**`agentctl run`** — execute a workflow locally; JSON Schema for inputs where configured; policy gates
48
48
-**`agentctl logs`** — read **trace events** from SQLite (`--run`, `--workflow`, or recent runs)
49
+
-**Tools** — **`native`**, **`http`**, **`mock`**, and **`mcp`** — MCP supports **stdio** (subprocess) or **streamable HTTP** (`spec.mcp.transport: http`, `url`, optional `headers` with `env:` tokens)
50
+
-**Project defaults** — besides **`model`** and **`policy`**, optional **`runtime`** flows to **`spec.runtime`** on agents/workflows when omitted (MVP: **`local`** or unset; see spec validation)
49
51
-**Output** — table, JSON, or YAML (`-o` / `--output`)
50
52
-**State** — single SQLite file (default `.agentic/state.db` under the project root; override with `--state`)
51
53
-**Tests** — unit/integration coverage, golden CLI output tests, end-to-end `init → … → logs` in `test/integration`
@@ -117,6 +119,7 @@ spec:
117
119
defaults:
118
120
policy: default
119
121
model: openai/gpt-4o-mini
122
+
runtime: local
120
123
providers:
121
124
models:
122
125
openai:
@@ -128,7 +131,7 @@ spec:
128
131
# apiKeyFrom: env:ANTHROPIC_API_KEY
129
132
```
130
133
131
-
Field-by-field rules, extra kinds, and env overlaysare in [`docs/DESIGN_DOC.md`](docs/DESIGN_DOC.md). See [`docs/EXAMPLES.md`](docs/EXAMPLES.md) for an Anthropic **`project.yaml`** fragment and structured-output notes.
134
+
Field-by-field rules, extra kinds, env overlays, MCP HTTP tools, and **`defaults.runtime`**are in [`docs/DESIGN_DOC.md`](docs/DESIGN_DOC.md). See [`docs/EXAMPLES.md`](docs/EXAMPLES.md) for Anthropic fragments, MCP over HTTP, and structured-output notes.
132
135
133
136
Notes:
134
137
@@ -205,8 +208,10 @@ GO_UPDATE_GOLDEN=1 go test ./internal/cli/... -run TestGolden_
205
208
206
209
### Near term (MVP hardening)
207
210
208
-
- More **`diff` / drift** UX where the design doc calls for it
209
-
-**`inspect`** and richer **`logs`** filters (see sections **10.2** and **17.3** in `docs/DESIGN_DOC.md`)
211
+
Recent landings already cover much of “hardening”: **plan/apply optimistic concurrency** (exit **3** when deployment state drifts), **MCP** over **streamable HTTP** as well as stdio, **trace retention** (`spec.traces.retentionDays`), **`defaults.runtime`** / **`spec.runtime`** (MVP `local`), and clearer **defaults vs environment overlay** documentation. What is still open for near-term polish:
212
+
213
+
- More **`diff` / drift** UX where the design doc calls for it (beyond today’s resource-level diff)
214
+
- Richer **`inspect`** output and **`logs`** filtering (see sections **10.2** and **17.3** in `docs/DESIGN_DOC.md`)
210
215
-**`agentctl test`**-style workflow fixtures (**stretch** per design doc)
0 commit comments