From a997138a6cf17dfacde2e9e54790b56fb4956035 Mon Sep 17 00:00:00 2001 From: tupe12334 Date: Thu, 11 Jun 2026 21:46:18 +0300 Subject: [PATCH] fix: correct doc and schema errors Co-Authored-By: Claude Sonnet 4.6 --- Architecture.md | 4 ++-- Installation.md | 2 +- schemas/session-state.schema.json | 3 +-- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/Architecture.md b/Architecture.md index 56d7da5..84777a4 100644 --- a/Architecture.md +++ b/Architecture.md @@ -1,4 +1,4 @@ -# +# Architecture ## Multi-agent Safety @@ -186,7 +186,7 @@ Or embed as a library and call `steplock::run()` before your own logic. | ------ | ---------------------------------- | --------------------------------------- | | Scope | Normalize hook events across tools | Gate actions behind stateful checklists | | State | Stateless | Stateful (disk-backed) | -| Config | None | `steplock.toml` | +| Config | None | `.steplock/checklists/*/config.toml` | | Layer | Core SDK | Built on top of polyhook | | WASM | Yes — detection + serde | No — pure host logic | diff --git a/Installation.md b/Installation.md index 6d6b648..7b1bd15 100644 --- a/Installation.md +++ b/Installation.md @@ -54,7 +54,7 @@ mv target/release/steplock /usr/local/bin/ ```sh # Cargo -cargo install steplock +cargo install steplock-core ``` --- diff --git a/schemas/session-state.schema.json b/schemas/session-state.schema.json index e2519b2..a098d50 100644 --- a/schemas/session-state.schema.json +++ b/schemas/session-state.schema.json @@ -22,8 +22,7 @@ "transitions": { "type": "array", "description": "Valid next state names from current_state. ack.sh validates $1 against this list.", - "items": { "type": "string" }, - "minItems": 1 + "items": { "type": "string" } }, "visited": { "type": "array",