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
Copy file name to clipboardExpand all lines: README.md
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -189,7 +189,7 @@ The production package dependency graph is checked for cycles and packages commu
189
189
190
190
`agent-execution` is the only production package allowed to start arbitrary processes. It talks to the bundled Rust `sigma-exec` broker over a framed protocol. On Windows, each sandboxed command uses an AppContainer identity with scoped filesystem ACLs, a kill-on-close Job Object, capability-gated networking, and ConPTY for interactive processes. Linux uses the native namespace sandbox and a watchdog for process-tree cleanup.
191
191
192
-
Configuration schema v4 defaults to `sandbox=required`, `read_scope=host`, `network=full`, and `process_handoff=allow`. These defaults expand only declared read and socket capabilities: working directories and every write remain workspace-contained, and required isolation never falls back to unsafe host execution. In `ask` mode, `filesystem.read.external`, `network`, and `process.handoff` require a fresh confirmation for each call; `auto` issues a fresh runtime-bound grant, while `deny` rejects them.
192
+
Configuration schema v5 defaults to `permission_mode=workspace-auto`, `sandbox=required`, `read_scope=workspace`, `network=none`, and the native sandbox backend. Workspace-scoped offline reads and declared writes run automatically; external reads, full network, and repository metadata writes remain separately authorized. Required isolation never falls back to host execution, and `container` mode fails with `container_unavailable` until a real OCI backend is installed.
193
193
194
194
Absolute external inputs are read through stable no-follow traversal and produce `input_access` evidence with path, digest, and size. Process calls mount only their declared stable read roots. A failed goal input remains an unresolved completion obligation until the same external path is read successfully; a run-created fixture cannot replace it.
195
195
@@ -202,7 +202,7 @@ Linux advertises `processHandoff` only when safe transfer is available. A `deliv
202
202
Runtime state is stored outside the agent-writable workspace under a workspace-derived user-state directory:
@@ -213,7 +213,7 @@ Event records have checksums and monotonic sequence numbers. Segments rotate at
213
213
214
214
### Completion is a protocol action
215
215
216
-
A provider `stop`with substantive text is treated as completion intent, and `complete_task` accepts only a summary plus optional warnings. The runtime—not the model—derives plan completion and evidence from the current mutation frontier. Failed, stale, or incomplete semantic validation keeps the run open with a structured repair diagnostic.
216
+
A provider `stop`is only `model_stopped`. The Completion Coordinator independently derives assurance and review requirements from the current mutation frontier and emits `run.completed` only when `model_stopped`, `assurance_satisfied`, and `review_satisfied` are all true. Failed, stale, weak, or incomplete semantic validation produces structured repair guidance or a typed blocker; the model has no completion tool that can bypass the gate.
217
217
218
218
All net changes require passed semantic validation on the current state. Sealed no-op checkpoints do not advance that frontier; mutating validation is rebound after its checkpoint seals. The standard profile runs independent review as advisory and records findings as warnings; the strict profile requires approval. Active non-detached children are joined before completion, and an unintegrated writer worktree keeps the parent open.
219
219
@@ -251,19 +251,19 @@ Stable process exit codes are `0` for `Completed`, `2` for `NeedsInput`, `130` f
251
251
Precedence is **CLI flags → environment → workspace `.agent/config.toml` → home `~/.sigma/config.toml` → defaults**. Unknown flags and TOML keys fail immediately. Workspace-authored MCP servers and executable hooks require an explicit digest-bound trust grant.
252
252
253
253
```toml
254
-
schema_version = 4
254
+
schema_version = 5
255
255
256
256
[model]
257
257
provider = "deepseek"
258
258
name = "auto"
259
259
260
260
[permissions]
261
-
mode = "ask"
261
+
mode = "workspace-auto"
262
262
263
263
[security]
264
264
sandbox = "required"
265
-
read_scope = "host"
266
-
network = "full"
265
+
read_scope = "workspace"
266
+
network = "none"
267
267
process_handoff = "allow"
268
268
269
269
[runtime]
@@ -284,19 +284,19 @@ output_format = "text"
284
284
fps = 30
285
285
```
286
286
287
-
To restore the strict pre-v4 capability posture, use:
287
+
To opt into broader per-call capabilities, use:
288
288
289
289
```toml
290
-
schema_version = 4
290
+
schema_version = 5
291
291
292
292
[security]
293
293
sandbox = "required"
294
-
read_scope = "workspace"
295
-
network = "none"
294
+
read_scope = "host"
295
+
network = "full"
296
296
process_handoff = "deny"
297
297
```
298
298
299
-
Existing schema v2/v3 files can be checked with `agent config migrate --workspace . --check` and atomically upgraded with `agent config migrate --workspace . --write`. Migration keeps the original as `.agent/config.toml.v2.bak` or `.v3.bak`. Workspace configuration may narrow these capabilities but cannot widen a stricter home policy. The equivalent one-run CLI overrides are `--read-scope workspace --network none --process-handoff deny`.
299
+
Older configuration files can be checked with `agent config migrate --workspace . --check` and atomically upgraded with `agent config migrate --workspace . --write`. Durable V5 sessions are written only to `stores/v5`; V5 never reads or falls back to a V4 session store.
300
300
301
301
DeepSeek uses `DEEPSEEK_API_KEY`. The runtime also recognizes `GLM_API_KEY`, `ZAI_API_KEY`, or `BIGMODEL_API_KEY` for the experimental GLM/Z.ai path, but formal Sigma evaluation remains DeepSeek-only.
0 commit comments