@synapsor/runner 0.1.16 → 1.0.0

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 CHANGED
@@ -2,6 +2,29 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 1.0.0
6
+
7
+ ### Production Approval Loop
8
+
9
+ - Adds `apply --all-approved --yes` with per-proposal results, conflict
10
+ isolation, idempotent reruns, and `--capability`, `--tenant`, and `--max`
11
+ filters.
12
+ - Adds canonical aggregate auto-approval limits in `@synapsor/spec`, DSL
13
+ `LIMIT` clauses, reviewer-visible limit trip events, and doctor/tool preview
14
+ surfacing.
15
+ - Adds signed operator identity checks for approve/reject/apply while keeping
16
+ dev env identity available for local experiments.
17
+ - Adds structured operational logs, per-tenant/capability counters, supervised
18
+ writeback worker retries/dead letters, and continued owner-only local store
19
+ permission tests.
20
+ - Adds Postgres shared ledger support, runtime-store mode, per-session
21
+ HTTP-claims trusted context, managed secret hydration, token rotation hooks,
22
+ and Streamable HTTP mTLS.
23
+ - Declares the first semver contract for the documented CLI, schema, contract,
24
+ MCP result, writeback, approval, metrics, and replay surfaces.
25
+ - Stages `@synapsor/spec@1.0.0`, `@synapsor/dsl@1.0.0`, and
26
+ `@synapsor/runner@1.0.0`.
27
+
5
28
  ## 0.1.16
6
29
 
7
30
  ### Fleet-Lab Runner Hardening
package/README.md CHANGED
@@ -146,6 +146,22 @@ least-privilege database access, host security, or application authorization.
146
146
  See [Security Boundary](docs/security-boundary.md) and
147
147
  [Current Limitations](docs/limitations.md).
148
148
 
149
+ ## Operate The Approval Loop
150
+
151
+ Reviewed policies can combine a per-proposal threshold with daily count and
152
+ total ceilings. Exceeding a ceiling routes that proposal to human review; it
153
+ never auto-applies. Operators can apply the bounded approved queue independently
154
+ with `apply --all-approved --yes`, inspect Prometheus counters with `metrics
155
+ show`, and consume safe newline-delimited JSON outcome logs from stderr. Signed
156
+ operator keys can enforce contract reviewer roles and separate apply roles.
157
+ Shared Postgres ledger mirror mode is available for bounded operator handoffs,
158
+ and `storage.shared_postgres.mode = "runtime_store"` lets MCP serving use
159
+ Postgres as the primary proposal/evidence/replay store with bounded CLI
160
+ approval/apply/worker commands bridged through the same ledger. Local SQLite
161
+ remains the default. See
162
+ [Production](docs/production.md) and the
163
+ [Runner Config Reference](docs/runner-config-reference.md).
164
+
149
165
  ## Packages
150
166
 
151
167
  | Package | Purpose |
@@ -169,8 +185,9 @@ owner-only permissions, inspection commands, and retention.
169
185
  ## OSS And Cloud
170
186
 
171
187
  Synapsor Runner works by itself for local and single-node deployments: your
172
- database remains the source of truth and the local SQLite ledger stores review
173
- artifacts. Synapsor Cloud adds a shared contract registry, immutable versions,
188
+ database remains the source of truth and Runner stores review artifacts in the
189
+ default local SQLite ledger or an opt-in shared Postgres runtime store.
190
+ Synapsor Cloud adds a shared contract registry, immutable versions,
174
191
  downloadable Runner bundles, and team activity, evidence, and approval
175
192
  surfaces. See [OSS Runner vs Synapsor Cloud](docs/oss-vs-cloud.md) for the
176
193
  detailed boundary.
package/dist/cli.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";AAYA,OAAO,EAAoP,KAAK,WAAW,EAA2F,MAAM,6BAA6B,CAAC;AAoB1Y,OAAO,EAA6G,KAAK,YAAY,EAAwB,MAAM,2BAA2B,CAAC;AAE/L,OAAO,EAOL,KAAK,gBAAgB,EAEtB,MAAM,mCAAmC,CAAC;AAgV3C,wBAAsB,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC,CAyD1D;AAqED,KAAK,SAAS,GAAG,CAAC,QAAQ,EAAE,MAAM,EAAE,YAAY,CAAC,EAAE,MAAM,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC;AAE9E,wBAAsB,aAAa,CACjC,IAAI,EAAE,MAAM,EAAE,EACd,OAAO,GAAE;IACP,GAAG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