lawspec 0.17.5 → 0.19.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
@@ -1,5 +1,173 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.19.0
4
+
5
+ ### Stateful models
6
+
7
+ - A `model` pairs a system's commands with a reference: a model state and a
8
+ checked definition per command. LawSpec generates runs of commands from the
9
+ model, runs them against the adapters, and checks every result, abstracted
10
+ state and invariant. See [models](docs/reference/language/models.md).
11
+ - **Linear** models thread a flow-typed state, and each command's typestate
12
+ comes from its flow signature, so runs never take a step the types forbid.
13
+ **Shared** models share one handle; `when` preconditions come from the
14
+ model state.
15
+ - Generation and shrinking are portable: a SplitMix64 generator over type
16
+ descriptors gives the same runs and the same shrinks on every target for
17
+ the same seed. A failing run is shrunk by dropping commands and shrinking
18
+ arguments.
19
+ - Shared models also run in parallel: a short prefix, then a branch per
20
+ thread, run at the same time with random yields, repeated, and each history
21
+ must be linearizable. Sets and maps are checked key by key.
22
+ - `consistency sequential`, `causal` or `eventual` relaxes what a shared
23
+ model's histories must satisfy, for replicated systems.
24
+ - `behaves like Queue a` (and `Stack`, `Deque`, `Set`, `KeyVal`) checks a
25
+ model against a built-in collection, with no reference definitions to write.
26
+ - `handle Name` declares a type only adapters create. With native bindings,
27
+ a handle can be a target's own class, such as a concurrent queue, and
28
+ commands can call its methods and constructors directly.
29
+
30
+ ### Protocols, scenarios and typed channels
31
+
32
+ - A `protocol` lists what one end of a channel sends and receives. A
33
+ `scenario` runs a shared model's commands from processes (`par ... with ...
34
+ end`) that talk over channels (`send`, `receive`, `expect`). LawSpec proves
35
+ each scenario deadlock-free (its channels form a tree) and race-free (every
36
+ channel end has one owner; sending it gives it up), then runs it on many
37
+ schedules. See [scenarios](docs/reference/language/scenarios.md).
38
+ - Every protocol becomes typed channel ends on every target, for
39
+ implementation code: a type per step, so an out-of-order send does not
40
+ compile. A used end fails if used again (in Rust, it does not compile).
41
+ `spawn` and `par` run processes on the target's own concurrency.
42
+
43
+ ### Actors and supervision
44
+
45
+ - An `actor` owns a state and handles one message at a time. Handlers are
46
+ plain functions from the state to a reply and the next state. Actors are
47
+ checked like shared models, with injected crashes, and generated as typed
48
+ actor classes on every target. See
49
+ [actors](docs/reference/language/actors.md).
50
+ - A failing handler crashes the actor. `restart from f by g` says how it
51
+ restarts. A `supervisor` restarts its children one for one, one for all or
52
+ rest for one. Children are permanent, transient or temporary, within a
53
+ restart limit that escalates to the parent supervisor. Actors also have
54
+ links and monitors.
55
+ - Failures are affine in scenarios: a receive from a failed process fails,
56
+ or runs its `or else`, instead of blocking. One run in three crashes a
57
+ process. Typed channel ends raise `PeerFailed` when the other end gives up.
58
+
59
+ ### Mailboxes
60
+
61
+ - `mailbox jobs of Job` declares a typed queue with many senders and one
62
+ receiver. Every target generates `JobsMailbox`, which can also be served on
63
+ a node and sent to from others.
64
+ - In scenarios, `mailbox m of T` sits beside `channel`. One process receives,
65
+ every message sent must be received, and senders join the receiver in the
66
+ deadlock-freedom tree. A receive whose senders have all failed fails, or
67
+ runs its `or else`.
68
+
69
+ ### Distribution
70
+
71
+ - Nodes talk over a transport: in memory (with loss, duplication, delay and
72
+ partitions, for testing), TCP or HTTP. Actors can be served and called
73
+ across nodes, protocols can listen and dial, and checked definitions can be
74
+ evaluated on another node by content hash. See
75
+ [distribution](docs/reference/language/distribution.md).
76
+ - Values cross the network in one canonical encoding, the same bytes on every
77
+ target, checked against shared vectors.
78
+ - Calls and mailbox sends across nodes are resent until answered and run once.
79
+ Channels number, acknowledge and resend their messages, so loss,
80
+ duplication and reordering are repaired.
81
+ - A channel end sent to another node keeps working there: the sending node
82
+ relays the conversation. Every protocol can `listen` and `dial`.
83
+ - One scenario run in three sends every channel over a faulty network.
84
+
85
+ ### Generation
86
+
87
+ - A refinement's constant integer bounds narrow generation on every target,
88
+ so `(amount :: Int32 where amount >= 1 && amount <= 1000)` is drawn from
89
+ `1..1000` instead of being filtered out of every `Int32`.
90
+ - Generated Python property tests no longer have a per-example deadline, since
91
+ adapters may wait on networks or timers.
92
+
93
+ ### Evidence
94
+
95
+ - `lawspec evidence` lists models, consistency, restarts and supervision as
96
+ property-tested, and each scenario as proved deadlock-free and race-free.
97
+
98
+ ## 0.18.0
99
+
100
+ ### Railway combinators
101
+
102
+ - `>>=`, `<$>`, `<!>`, `<|>`, `??`, `>=>`, `|>` and `<*>`, and the prelude
103
+ names `bind`, `then`, `map`, `mapError`, `orElse`, `fallback`, `fromEither`,
104
+ `andThen`, `pipe`, `both`, `ensure`, `isLeft` and `isRight`, sequence, map
105
+ and recover `Either` values in laws and checked definitions on every target.
106
+ See [expressions](docs/reference/language/expressions-and-arithmetic.md).
107
+ - `Pair` joins the built-in collections unit, and `prelude.select` chooses
108
+ between two values.
109
+
110
+ ### Generated workflows
111
+
112
+ - LawSpec now generates each `workflow` on every target from its stages:
113
+ steps, `then`, `map`, `mapError`, `tap`, `ensure`, `orElse`, `fallback`, and
114
+ `all` groups whose results `combine` joins. With `accumulate`, an `all`
115
+ group reports every failing step's error. See
116
+ [workflows](docs/reference/language/workflows.md).
117
+ - Steps may fail with different error types. A declared error type takes them
118
+ through `mapError`; with `Either _ T`, LawSpec generates an error type named
119
+ after the workflow, with a constructor per failing step
120
+ (`PlaceOrderValidateOrderFailed`).
121
+ - Generated laws check that each workflow composes its stages, succeeds when
122
+ every stage does, stops when a step fails, and recovers with each handler.
123
+ - **Migration:** hand-written workflow adapters are no longer called. Remove
124
+ them, and move any behaviour they had into the steps.
125
+
126
+ ### Policies
127
+
128
+ - A step can run under `retry` (immediate, fixed, linear, exponential,
129
+ fibonacci or custom, with optional jitter and a `when` predicate),
130
+ `timeout`, `rateLimit` (token bucket, leaky bucket, fixed or sliding
131
+ window; wait or reject), `circuitBreaker`, `bulkhead`, `cache`,
132
+ `compensate` and `hedge`. A policy failure becomes a constructor of a
133
+ generated error type, or the value a declared error type names with `else`.
134
+ - Workflows run under a workflow runtime: a real or virtual clock, a SplitMix64
135
+ random source identical on every target, a trace, and the state of
136
+ limiters, breakers, bulkheads and caches. Callers create one to give a
137
+ workflow its own state or a virtual clock; otherwise a shared runtime is used.
138
+ - The rate limits, breaker and bulkhead are written once, as checked
139
+ definitions of a built-in unit, `lawspec.resilience`, so they behave the same
140
+ on every target. A new resilience acceptance suite checks each target's
141
+ runtime against them.
142
+ - Generated tests run workflows on a virtual clock with stateful policies,
143
+ timeouts and hedges off; retries still apply.
144
+
145
+ ### Durations
146
+
147
+ - `Duration` is a whole number of microseconds, exact on every target, with
148
+ literals (`250ms`, `2s`, `5min`), arithmetic, comparisons and native types
149
+ (`timedelta`, `time.Duration`, `java.time.Duration`,
150
+ `kotlin.time.Duration`, `std::time::Duration`). See
151
+ [durations](docs/reference/language/durations.md).
152
+ - The totality audit proves more: products and quotients are atoms, quotients
153
+ are bounded, calls satisfy their definitions' postconditions, and unwrapped
154
+ wrapper values satisfy their constraints.
155
+
156
+ ### Other changes
157
+
158
+ - A definition or adapter named with a target keyword is emitted with a
159
+ leading underscore on that target (`class` is `_class` in Python); such names
160
+ were rejected or broke the build before.
161
+ - On JavaScript and TypeScript, a checked definition that calls an `async`
162
+ adapter, directly or through another definition, is itself `async`.
163
+ - Kotlin workflows can call `suspend` adapters. The Kotlin scaffold depends on
164
+ `kotlinx-coroutines-core`, and `lawspec doctor` reports it missing.
165
+ - Python: a synchronous definition called from inside a running event loop
166
+ (from an `async` adapter) awaits its asynchronous steps on a thread of its
167
+ own instead of failing.
168
+ - Python property tests have no per-example deadline, since adapters may do
169
+ real work.
170
+
3
171
  ## 0.17.5
4
172
 
5
173
  ### `lawspec test` confirms that each law's tests ran
package/README.md CHANGED
@@ -30,7 +30,7 @@ Node 22+ and the selected target's build tools are required. No Haskell
30
30
  toolchain is needed. The reference platforms are macOS and Linux.
31
31
 
32
32
  ```sh
33
- npm install --save-dev lawspec@0.17.5
33
+ npm install --save-dev lawspec@0.19.0
34
34
  npx lawspec --version
35
35
  ```
36
36
 
@@ -40,8 +40,8 @@ LawSpec can create `package.json` and its test script:
40
40
  ```sh
41
41
  mkdir lawspec-example
42
42
  cd lawspec-example
43
- npm exec --package=lawspec@0.17.5 -- lawspec init --target javascript
44
- npm install --save-dev lawspec@0.17.5
43
+ npm exec --package=lawspec@0.19.0 -- lawspec init --target javascript
44
+ npm install --save-dev lawspec@0.19.0
45
45
  npx lawspec check
46
46
  npx lawspec explain 'example.atoi_codec::itoa and then atoi yields a'
47
47
  npx lawspec doctor
package/bin/lawspec.mjs CHANGED
@@ -17,7 +17,7 @@ import {
17
17
  atomicWrite,
18
18
  safePath,
19
19
  } from "../files.mjs";
20
- const VERSION = "0.17.5";
20
+ const VERSION = "0.19.0";
21
21
  const args = process.argv.slice(2);
22
22
  const verb = args.shift();
23
23
  const options = {};
package/build.json CHANGED
@@ -16,6 +16,7 @@
16
16
  "runtime/LawSpecSchema.hs",
17
17
  "runtime/LawSpecSchema.java",
18
18
  "runtime/LawSpecStrategies.kt",
19
+ "runtime/LawSpecTransports.hs",
19
20
  "runtime/lawspec_codecs.go",
20
21
  "runtime/lawspec_data_strategies.go",
21
22
  "runtime/lawspec_data_strategies.mjs",
@@ -30,8 +31,17 @@
30
31
  "runtime/lawspec_strategies.rs",
31
32
  "runtime/rust/Cargo.lock",
32
33
  "runtime/rust/Cargo.toml",
34
+ "src/LawSpec/Actors.hs",
35
+ "src/LawSpec/Actors/Go.hs",
36
+ "src/LawSpec/Actors/Haskell.hs",
37
+ "src/LawSpec/Actors/Jvm.hs",
38
+ "src/LawSpec/Actors/Python.hs",
39
+ "src/LawSpec/Actors/Rust.hs",
40
+ "src/LawSpec/Actors/Types.hs",
41
+ "src/LawSpec/Actors/Web.hs",
33
42
  "src/LawSpec/Api.hs",
34
43
  "src/LawSpec/Backend.hs",
44
+ "src/LawSpec/Bounds.hs",
35
45
  "src/LawSpec/Capabilities.hs",
36
46
  "src/LawSpec/Code/Doc.hs",
37
47
  "src/LawSpec/Code/JavaScript.hs",
@@ -44,11 +54,15 @@
44
54
  "src/LawSpec/Core/Eval.hs",
45
55
  "src/LawSpec/Core/Evidence.hs",
46
56
  "src/LawSpec/Core/Expression.hs",
57
+ "src/LawSpec/Core/Machine.hs",
47
58
  "src/LawSpec/Core/Payload.hs",
48
59
  "src/LawSpec/Core/PayloadPlan.hs",
60
+ "src/LawSpec/Core/Policy.hs",
61
+ "src/LawSpec/Core/Program.hs",
49
62
  "src/LawSpec/Core/RefinementProof.hs",
50
63
  "src/LawSpec/Core/Schema.hs",
51
64
  "src/LawSpec/Core/Semantics.hs",
65
+ "src/LawSpec/Core/Stages.hs",
52
66
  "src/LawSpec/Core/Total.hs",
53
67
  "src/LawSpec/Core/Totality.hs",
54
68
  "src/LawSpec/Core/Types.hs",
@@ -101,8 +115,11 @@
101
115
  "src/LawSpec/KotlinNativeBinding.hs",
102
116
  "src/LawSpec/KotlinProperties.hs",
103
117
  "src/LawSpec/KotlinTestHelpers.hs",
118
+ "src/LawSpec/MachineSpec.hs",
119
+ "src/LawSpec/Mailboxes.hs",
104
120
  "src/LawSpec/Memo.hs",
105
121
  "src/LawSpec/Model.hs",
122
+ "src/LawSpec/ModelTests.hs",
106
123
  "src/LawSpec/NativeBinding.hs",
107
124
  "src/LawSpec/NativeRequest.hs",
108
125
  "src/LawSpec/Packages.hs",
@@ -117,7 +134,10 @@
117
134
  "src/LawSpec/PythonExpr.hs",
118
135
  "src/LawSpec/PythonNativeBinding.hs",
119
136
  "src/LawSpec/PythonTypes.hs",
137
+ "src/LawSpec/Railway.hs",
120
138
  "src/LawSpec/Refinement.hs",
139
+ "src/LawSpec/Remote.hs",
140
+ "src/LawSpec/Resilience.hs",
121
141
  "src/LawSpec/RuntimeSources.hs",
122
142
  "src/LawSpec/RustData.hs",
123
143
  "src/LawSpec/RustDefinitions.hs",
@@ -127,9 +147,20 @@
127
147
  "src/LawSpec/RustNativeGenerators.hs",
128
148
  "src/LawSpec/Scaffold.hs",
129
149
  "src/LawSpec/Scalar.hs",
150
+ "src/LawSpec/Scenario.hs",
151
+ "src/LawSpec/Sessions.hs",
152
+ "src/LawSpec/Sessions/Go.hs",
153
+ "src/LawSpec/Sessions/Haskell.hs",
154
+ "src/LawSpec/Sessions/Jvm.hs",
155
+ "src/LawSpec/Sessions/Python.hs",
156
+ "src/LawSpec/Sessions/Rust.hs",
157
+ "src/LawSpec/Sessions/Web.hs",
130
158
  "src/LawSpec/SpecializeDefinitions.hs",
159
+ "src/LawSpec/StatefulModel.hs",
160
+ "src/LawSpec/TargetNames.hs",
131
161
  "src/LawSpec/TestManifest.hs",
132
162
  "src/LawSpec/Testing.hs",
163
+ "src/LawSpec/Time.hs",
133
164
  "src/LawSpec/WebData.hs",
134
165
  "src/LawSpec/WebDefinitions.hs",
135
166
  "src/LawSpec/WebExpr.hs",
@@ -144,148 +175,179 @@
144
175
  "wasm/lawspec-wasm.cabal"
145
176
  ],
146
177
  "digests": {
147
- "dev/Gen/Embed.hs": "41cd18500c1a8c9bdb51011ab4c74817f8e04b655aa10d9894aa1b93a3fa858b",
148
- "lawspec.cabal": "7f6395dbb39d2baeff82eace1a6ef176f6b825297b772d21e6d3fe9b88db0ec2",
149
- "package.yaml": "9d6cee849b08b1df8161d36390876dc2dc6aa33c34844588d6a3cd9fb0e81699",
178
+ "dev/Gen/Embed.hs": "98a186594c3c38a65aad1203d5730ce352b309f92e1990ccc508e7a5e00f8f35",
179
+ "lawspec.cabal": "1b3f05b00e4c5a0bedeace6fc5a2d614242aaa36468c500cb608fc041cb4e37d",
180
+ "package.yaml": "70bee72ba3361996bb3cd1952126341f30db02874ba189f300bdef63121601de",
150
181
  "runtime/LawSpecCodecs.hs": "1b3f6b40ad49928cf5e9386e06bc2992c9f1271754351b9fa3075e50346ef03b",
151
182
  "runtime/LawSpecCollectionCodecs.hs": "74caa786801c5142ed040897c7ebb7373abf49ee49e02af53e466646fb624f47",
152
183
  "runtime/LawSpecDataStrategies.hs": "9cc5b98476364a6c255dc3eb40c53d65b4a9d4ab0c3961a806b3515a8d5e8f7f",
153
184
  "runtime/LawSpecDataStrategies.java": "d06c1eb6c67f3d07ab0c90dc8f8626b48358763b91585c6ea216a47e11886dd0",
154
185
  "runtime/LawSpecKotlin.kt": "0cf3b7de0406155225ccca33ee3dfdf8f0456c47d577f6be8f1265c13df838cb",
155
- "runtime/LawSpecKotlinCodecs.kt": "416610eb295f2fe0a77dd5a133fc10db081b69a04e1649b33abec60e69f32474",
186
+ "runtime/LawSpecKotlinCodecs.kt": "811accd1cac055d46f7ae0a2aff03602389fbbaaa2eaf778a9dcdd6899b12466",
156
187
  "runtime/LawSpecKotlinStrategies.kt": "8ee1edeec1c342f2bc70ca8bdad22ec5aabc38f6f61381fe905b717ffce0688e",
157
- "runtime/LawSpecRuntime.hs": "59eccad16a99a4118a1f9f51a7556ef133e4b875f2f4f678d394f53cdf03d776",
158
- "runtime/LawSpecRuntime.java": "8096d2cd35786f4e68991ceef8579337cd3c729f4871c60c261e40a0a4ccc43d",
159
- "runtime/LawSpecSchema.hs": "c19eedd197fc2359780c1576dd6a1d6e9bcdaf2ed037b5dbb37f3db766356bf9",
160
- "runtime/LawSpecSchema.java": "67f57d8e91fcf155a443724a5632ef52037a1d67ff12d20f3044cf22d6ca98b2",
188
+ "runtime/LawSpecRuntime.hs": "671895d4746c491f640fb3076a65f49386a6e8615b507f277d813fe1a66bc76a",
189
+ "runtime/LawSpecRuntime.java": "298f696cc3df5694a003e46fc9070748d00faa91e46dcc59d9e0f195fcd82e92",
190
+ "runtime/LawSpecSchema.hs": "1000ee60eb6910a9fd4fdced5940014eb1a0720afecd4e2b571f185aec6de5de",
191
+ "runtime/LawSpecSchema.java": "78b715e9ad3f20603c6a05c6f06a3736664a1821d9a6f4d73f3ff1dfed74473a",
161
192
  "runtime/LawSpecStrategies.kt": "569f7775c0ac44765d05567cbf62d026558ac193c080ca71681ec6ee49c21794",
162
- "runtime/lawspec_codecs.go": "e069dd6f4331b9bdcbd50dda8fe5faffca83cb9c7c8ea62ac631d2c9fa951bf4",
193
+ "runtime/LawSpecTransports.hs": "77d121016edc2792d456c9ba6297dd897beb46b609cec7611915888dad40ed0a",
194
+ "runtime/lawspec_codecs.go": "039c4014a78b267754de4ec1c6da6a94ef7d651b60422a120dec9d83ce31a28a",
163
195
  "runtime/lawspec_data_strategies.go": "65ca2a09012c516c17bb66d7381637e71f454740858f648a78b9e536f1c7c600",
164
196
  "runtime/lawspec_data_strategies.mjs": "5fe9327a6dda2e759558b77100aec96798f1aed4f517d4bc91f45a543b8d14b9",
165
197
  "runtime/lawspec_data_strategies.py": "0d06f0c5b9cdd5f6659f424a328884b670c94b1572ec0fa5d5408a05110d94dd",
166
- "runtime/lawspec_runtime.go": "870e611874d67f45d70c68e03d2094a37f3a12d8a42d9610d8437b8a8d5af30f",
167
- "runtime/lawspec_runtime.mjs": "bf51f4ebd2855d26d7958cb2ed4ca6f5e8ec6f8a9e31ee38d8324f6accd40b81",
168
- "runtime/lawspec_runtime.py": "44f69c30040bd9b7df8f66c18fc3487ca965d6eea4f27f811a5ec403a16f9942",
169
- "runtime/lawspec_runtime.rs": "49e9a13ab742ac5a192785585548c7ab8f8b8f03cb0046ea03acf4b97c2273ee",
170
- "runtime/lawspec_schema.go": "7e9361e9693c3885d98500026f3e3ef8e213eb72a489a58fc72669e8a9938103",
171
- "runtime/lawspec_schema.mjs": "d77abea1a9dcb03e4a6c6eef6509971d8599fac9acdefa9b9e4b89b8d0fc5226",
172
- "runtime/lawspec_schema.py": "daed20d27168970350ef0b63b9cb2e566bd00598922acb4071d863c076e787ba",
173
- "runtime/lawspec_strategies.rs": "5e991a45548811fef1728e1e9b9f12f76ee4cc7cb9c3339eab79bc4cf5f54f6b",
174
- "runtime/rust/Cargo.lock": "6a04cf0315ad2920129cdc61350098d8edc69d8ca17c9e8829c799560ec46db9",
175
- "runtime/rust/Cargo.toml": "d9dc489e41368122f5d13edd26383a6c27f33064d701c816fdc7c94878e7d8c5",
198
+ "runtime/lawspec_runtime.go": "25b342e07996db86c4b997aa2a7f48aefc39d6ebff6cfad58095f4756040ed61",
199
+ "runtime/lawspec_runtime.mjs": "755b90f13085b409302df1cb3b396dd6917fbdbaab66c9903a29f3981e5e936b",
200
+ "runtime/lawspec_runtime.py": "0949983cf2594cb2e9eef812f570a775a56ab50c598c4872a0bbad427b0372d3",
201
+ "runtime/lawspec_runtime.rs": "3221a2de8ed83fb5586ec1b0dd8dbdf4954ea5f71a0f5f23930fb8da4cb36581",
202
+ "runtime/lawspec_schema.go": "83c7ebf07c386fdfcf55562f4b1d6947ecb1d6a022f50aa0d49b4bce0eead746",
203
+ "runtime/lawspec_schema.mjs": "89b3b76ffd0ddd70c4bd49b73ca08a359d70aa3994745746978ed615676fde26",
204
+ "runtime/lawspec_schema.py": "4c8ea9895f2f93ff5d34c4df414305bc0c2a151edd4e192ebc8982b35fa7782d",
205
+ "runtime/lawspec_strategies.rs": "6c21050184ac20b2ad38e99f47b78fb013f1916389e85e522dd73209133af990",
206
+ "runtime/rust/Cargo.lock": "1625b198406975e7f4c8edcf2f041236492d0089521342d3c772ffcd241c7504",
207
+ "runtime/rust/Cargo.toml": "7f7a0af0c06a4dc1d02cf0dc2369f82f01859610a84a8e0ea8795a287fee740c",
208
+ "src/LawSpec/Actors.hs": "98677022a6d596bbdbb32c69a23bdc0ade9dd18bb60067bdfb2c280fc0c54089",
209
+ "src/LawSpec/Actors/Go.hs": "81f732637abd28e5d7ba1ba94dd0a8bf88722accf9c2583453f7dae176460429",
210
+ "src/LawSpec/Actors/Haskell.hs": "7fcc71ca1f7eb2e57aba631f0cf9334a1dd6ab644211126fa831535bbfce90a8",
211
+ "src/LawSpec/Actors/Jvm.hs": "134ef10ca7e86f0f47517e67a9fcf9a9f8fe646152ed9ceacf5099af9fc1671c",
212
+ "src/LawSpec/Actors/Python.hs": "f451178ee04bed1b9cead845582c523f475999621c4a2013373b43187b993833",
213
+ "src/LawSpec/Actors/Rust.hs": "e36b8e3fd7add15d12b7e92b71ef98d038e9d78343c89b58fcbbf6c57d6cada7",
214
+ "src/LawSpec/Actors/Types.hs": "6831a6aafa5486f2e8d1d454e6448a7908235f80fc00c91239f91258fc22952a",
215
+ "src/LawSpec/Actors/Web.hs": "6660ddc6ac535e926c222dd413934474a775c98ce18b4f709b30555a5e00aed8",
176
216
  "src/LawSpec/Api.hs": "c0cb09ea2754f79138697e6ee6b4817a43d8343cb410380389d6b321c2feb07b",
177
- "src/LawSpec/Backend.hs": "caf45afb73e7455dd801195b8b117ca7e4664ac4babc6ef0732e06faf9e64fcb",
217
+ "src/LawSpec/Backend.hs": "709581d869bbc3c3103d72b8d4b4d506b96eceefee03add45ca36acd5cedf41c",
218
+ "src/LawSpec/Bounds.hs": "00c4467bbd1d96cd31a1ac43b42226079126e70158bb87f365d6b9ea2757ff54",
178
219
  "src/LawSpec/Capabilities.hs": "ab457f3da440a237ee731d664b94d95a0cc1fa4d8be4d4d0403a61ebcf98e310",
179
220
  "src/LawSpec/Code/Doc.hs": "9e3b70f85deb1dcbce385af1d0cd4bea2dfa8a2d806d54745d4bb437406673e5",
180
221
  "src/LawSpec/Code/JavaScript.hs": "77bf27dcc210216e4739f68c4709f556f80130ab83b3b9387ac4a2421e790910",
181
- "src/LawSpec/Collections.hs": "f8cc2978b6690709deb421ee22df37985c80e5b06064f819a193d6b912328ee1",
222
+ "src/LawSpec/Collections.hs": "504af1d31c267287456fde20d2782c72c519abf4ce26b083e59a7aefa876a768",
182
223
  "src/LawSpec/Common.hs": "107612a8aaa787488413acf9c1a56622004d3bff251db89b99928343e6070883",
183
- "src/LawSpec/Compile.hs": "d46086c7fded4fa6f4edcf0f66723c3df44d5093a05511290d4f5e8d394741ed",
184
- "src/LawSpec/Core.hs": "ebf780f4552bc3ad304823b7eb7c2560b925cea3f2b2f9322467abae14c2947d",
224
+ "src/LawSpec/Compile.hs": "efca518b2f0a7dff48927dedc3d6752e10228520d1cae4567aabc2bfac3d94a1",
225
+ "src/LawSpec/Core.hs": "755018ff6eb70ff2adf6e75208c930ef04ba698b4e7f4ad10da3278f61c6f0df",
185
226
  "src/LawSpec/Core/DefinitionContracts.hs": "b7f60f038b231187ecf898e585ae1a8fb1fc113bb55bad6d1bb2660350fd969e",
186
- "src/LawSpec/Core/Definitions.hs": "8e0d1d7127f9d4872f2464b4af50b0f286823d5f0f203baf38fb3c316d766140",
187
- "src/LawSpec/Core/Eval.hs": "26c518cf3db1f395f69353cb373e1aacf7f1a0ce81d3e17b15878421e9625a8b",
188
- "src/LawSpec/Core/Evidence.hs": "48442ab98eafaa0f09d56c01493b73b724845347bbd27ae390c64366faec938d",
189
- "src/LawSpec/Core/Expression.hs": "8b8a55d6fb166012918f0dc83322776505a83a7024a76c49fc568f29137a3702",
227
+ "src/LawSpec/Core/Definitions.hs": "a57e30f6864a6bae7e60cd08ef968b1adc9bbd1c86d4b20c405276eccd604f8d",
228
+ "src/LawSpec/Core/Eval.hs": "7c55598054f76e5f3c332a53df46bc2090a4914e8e1460671896f50db0102a9d",
229
+ "src/LawSpec/Core/Evidence.hs": "e8870096ca2e3fe46325ceff13cbc93fd6d0b46c9aa9c56300e9269460c3d773",
230
+ "src/LawSpec/Core/Expression.hs": "850ff201b56553021404ed783e037f9a27a7d70658c62f5e22e89868bb06044a",
231
+ "src/LawSpec/Core/Machine.hs": "7ba46cdc4934af3ffd52f3766e56091a2d8e04a9301dde16be7ebeb3260fbd79",
190
232
  "src/LawSpec/Core/Payload.hs": "da2417fc99354338eab49a688c5f36cecde5ec1aacd8582c895428568b10a376",
191
233
  "src/LawSpec/Core/PayloadPlan.hs": "f2a7d2dc58c6a0f79707bdc24773bd3aad3a3b8eea2735a8284b2a9f3a4af4a8",
234
+ "src/LawSpec/Core/Policy.hs": "c0fdb7babe904bafa0fe97c2089f63ae393c3e8845a6d3110e12d8531e0656f0",
235
+ "src/LawSpec/Core/Program.hs": "36a4ed09b61e8fa2b8e69556105f7276a20e8384868cdd26e11714020c6e930c",
192
236
  "src/LawSpec/Core/RefinementProof.hs": "c19fc03e68488357a59897ec38ce3d2efd320c35b405b632af17425d6a18447a",
193
237
  "src/LawSpec/Core/Schema.hs": "ce06bd96b63d11f80be518e626b33526668ae1e2f3f7fc626bb1048e296efc21",
194
238
  "src/LawSpec/Core/Semantics.hs": "cdb8256e523f7808fa50fe7d80d709217a28de4c81c5ff5be8382f94900f3779",
195
- "src/LawSpec/Core/Total.hs": "308684d7ff78a5e4dc75aef30c4df17610a2cb107d48ddb75d14d8573b178e5b",
196
- "src/LawSpec/Core/Totality.hs": "5e76100466cf4a157b9eda36738806af836a5bda949f5d568d7bf5155fa8858a",
197
- "src/LawSpec/Core/Types.hs": "04d9c093fcc0d84e2864c8a3b69d5fe318a92c60b32844048198f1b12fe1b6fb",
239
+ "src/LawSpec/Core/Stages.hs": "b88b974e3510ca797bd4ad8a22c47d63cce28245fc4775999d666e8f2d8dac56",
240
+ "src/LawSpec/Core/Total.hs": "d706a145c3663b6bd3f0ecf390fee1fe4847564ec4f9ce70fa7583ead04a933a",
241
+ "src/LawSpec/Core/Totality.hs": "a9460bc11a91be583274bf4e87bbc85630a544736c4d532a61cf9038f1a3d42d",
242
+ "src/LawSpec/Core/Types.hs": "a684e003ed64924cb54717f0e4b166fea62a2ac0fe5c9f8851a865f4dcb9858e",
198
243
  "src/LawSpec/Core/Validate.hs": "74c2a51eb913f8414268064f22d2d5d97ebfb0e4797e146b229076c29ac38726",
199
244
  "src/LawSpec/Core/Value.hs": "52fedabbc07c8c65acc5be1efc7b4860bee47b58931ef76d26fcbfc8a280bf41",
200
- "src/LawSpec/CoreEmit.hs": "9d93013a5fef60011d9428d43f484cbc152a7bb7f8c999be2b4ef5828d843bc6",
201
- "src/LawSpec/CoreNativeScalarEmit.hs": "5a5d145a18f596682a3dc3dacb009268d48c384c2f2ca620b503268096a66940",
202
- "src/LawSpec/CorePersist.hs": "682776b07e041e01470e0e2f16e50ce0531eccef2d5f5cb483497c41b212b937",
203
- "src/LawSpec/CoreScalarEmit.hs": "59a90297b51c8073a6e4b229aab4bfb0eb970a0b513c7ecca973a29dd0f96f0a",
204
- "src/LawSpec/Data.hs": "f659f4e86f1009c4806334a45686970dde2efa2641585f997a7beba01d0e6f2d",
245
+ "src/LawSpec/CoreEmit.hs": "d27b3119ca11809a8a4ff70826e4b5a4853543a159e8078260614795946e87ed",
246
+ "src/LawSpec/CoreNativeScalarEmit.hs": "5182e898f247376d4846336e0aecd22685dd2f6d9a41897afb67b0b4e732b82e",
247
+ "src/LawSpec/CorePersist.hs": "d28fd82240b9926201cf3befe45e2190c57bbed899e3f7d861220aa9580ddaa5",
248
+ "src/LawSpec/CoreScalarEmit.hs": "163669ab934a1736976437394f3f4528ca7ae85dc14facebef6ec2fa576b92f0",
249
+ "src/LawSpec/Data.hs": "a7f2f6e27027452ce9f5a9cd87e102f39b4e5adba23e4a5f085e1ea186912c27",
205
250
  "src/LawSpec/DataNames.hs": "2eeb0d215131981a2271725a50c21dce44c7146a167025eb239a83922fdecaf6",
206
- "src/LawSpec/DefinitionTotality.hs": "adf00236e0e1b1cad4299793ced5f9047dbc2321d3c2f9ba040bac30d1a87c73",
207
- "src/LawSpec/Dependencies.hs": "918d55923c29c66a5a82dc346bad9c6f539965bc06212b2a54d03d65d9df599f",
251
+ "src/LawSpec/DefinitionTotality.hs": "af3aa9f7495344ea34c90cf87664f3ec2d9f95474ef273905fc6c9b17edd5d80",
252
+ "src/LawSpec/Dependencies.hs": "b748d2231f543a878e2ff3816f8a027285c610555821856383e8d1853e4c7151",
208
253
  "src/LawSpec/Digest.hs": "ba8128e36856d5fb0d2345779fd949b11042af688a0d8cee63e5ae8818cef7ca",
209
- "src/LawSpec/Discharge.hs": "e0c6760fa483e79782eb944c6208a815f2ff073428a5b90bbbb41aafca830bfe",
254
+ "src/LawSpec/Discharge.hs": "5369d37d511f5d7422bb03dab4b128430b1a3a3d561814fe7904729e02501afa",
210
255
  "src/LawSpec/Domain.hs": "222d15f0012ae630802238a6d7e1ee78d1e718b599f5ebb5a1ddc4e8d29d68c3",
211
- "src/LawSpec/DomainModel.hs": "835e6e31c9565bd624c1139ead71ad65c1065ee660457ae365522f7ed78f7939",
212
- "src/LawSpec/Elaboration.hs": "aade19ada1b9b944d1d5864b1ada61f89a57a675d7e8de9e2f3bc6b6f6d84b00",
256
+ "src/LawSpec/DomainModel.hs": "b2ac0eb9b63fae2860d9f53e6770d8fdf053d9df33773071b31de53cdf4e1562",
257
+ "src/LawSpec/Elaboration.hs": "b69b739a61fb431432424fc31815462c8e64737df66e8a59610f15bd9c98a30c",
213
258
  "src/LawSpec/Emit.hs": "9f34f5765915a2a12a66a6dca647ddaef9289372956802c6d99cf0cfec447c7a",
214
259
  "src/LawSpec/Eval.hs": "b87a786ed7a512c60e00a037a1a36738933518aafa255babaa8b1b42dbb8ff6d",
215
260
  "src/LawSpec/Flow.hs": "830b9d59b94f26a05687bd5baed06b4ecbf1f47c6a634766810d3dd2a44647cd",
216
261
  "src/LawSpec/Frontend.hs": "85d631cb6246efcb14814177d1620ffd5f67964de725a8af241a11f1f30f5da3",
217
- "src/LawSpec/GoData.hs": "ffd2f91688e4efdbd65033b88ad55032278f9b29d8027f6dc9e4b2c3eb9bfbc0",
218
- "src/LawSpec/GoDefinitions.hs": "907fb5ba9935391fa640c0cf6d037db78d270467a8b93e1190a9d511f03561ff",
262
+ "src/LawSpec/GoData.hs": "7532c2fbcce57a75013874e383225ad42b2a7d39b7f3420d56076d733e3d95cf",
263
+ "src/LawSpec/GoDefinitions.hs": "13ff50b7fec465b0750b57a09081e5cd7949e49105fa74da76836b3fcd014ae8",
219
264
  "src/LawSpec/GoExpr.hs": "67ef004e97074976e0fd137dfef8d417efe8de3f7d5c3c08293874d30d89e9d0",
220
- "src/LawSpec/GoNativeBinding.hs": "1ad8ea4cec6187c7e6005651c0edeec69e196eb329fb958c833da7751225aa1b",
221
- "src/LawSpec/GoProperties.hs": "a6ff4745bddd931506ae5d9da70f1af73b5d8c79a47c2e56246f82f98a5fff93",
222
- "src/LawSpec/GoTestHelpers.hs": "dee55ee8505370e932773b8c685f4a1f380129e6f43f8806bf1e82efb99451b1",
265
+ "src/LawSpec/GoNativeBinding.hs": "14825118889abfa737abed9c22c1e5a5e29b9f7433a35ca80fcbe00f1fbe632d",
266
+ "src/LawSpec/GoProperties.hs": "ef0cc192eb49c928c96bd9842618c5d59ff0b6442ed4f14423e061a9cf848888",
267
+ "src/LawSpec/GoTestHelpers.hs": "76241cf037208f5caac5e905acf4e05acfc26917adc74f11f92aca60aa1c352e",
223
268
  "src/LawSpec/GoTypeRefs.hs": "7f239f5ac3ac8bd21c8f76c328049f7715d8562ee1382befa0a58abd4f15f726",
224
- "src/LawSpec/HaskellData.hs": "8ca1f1a353972a28b3d044c3763243cd8a2abf3e2cdb3b15b6112d8a7edf9da2",
225
- "src/LawSpec/HaskellDefinitions.hs": "9481901b9f1753dbfe90dcc859275eaab474acdb2f41035cd14e9d03cce45440",
269
+ "src/LawSpec/HaskellData.hs": "6366fad5cec25eeffee4ddcfe8a01672d2b1ac9c96144088ccf80061ef690fb1",
270
+ "src/LawSpec/HaskellDefinitions.hs": "9e99c5ef7110e286b92acd08efd8890340b9c2d242053568804648789907479b",
226
271
  "src/LawSpec/HaskellExpr.hs": "f7ef064ac6700c027de4bd71bddeb3236853232cf7a39bed61de16153539b401",
227
- "src/LawSpec/HaskellNativeBinding.hs": "9f98aa0c8659b572bd6486a0e29c4692bc6432db8639fa74a09bbf1b771bbfa6",
228
- "src/LawSpec/HaskellProperties.hs": "1402eaff5984a1a012cd817b33ae9c7ebf634d29f35d4372e90d76ac56f2ff41",
229
- "src/LawSpec/HaskellTestHelpers.hs": "51e59b2abc9e85455e3c8e2c6baadb27e5d319081cb730d2ce56be5dc8053897",
272
+ "src/LawSpec/HaskellNativeBinding.hs": "b42a716c0c1bd744e2b051f2711ea4800f618d8642835ea2868705e48ef2f42c",
273
+ "src/LawSpec/HaskellProperties.hs": "24f0fc966e3c1f59761010ea1860bb4fffc2fd4fe57f2e3159371b021881a2f1",
274
+ "src/LawSpec/HaskellTestHelpers.hs": "a0d3bef096b9a8bddfbb213e554e00535a3a7691c4ef95cb6c61a4eb6cea5098",
230
275
  "src/LawSpec/HaskellTypeRefs.hs": "2225b2a5e2ab3662e7202d23b24f4d6db48353b35ae28df8acd2b92fd2b97574",
231
- "src/LawSpec/Imports.hs": "1182894623b69e777531706c013b5ecd9995c51dd8c8b969c1807a5a103bf2da",
276
+ "src/LawSpec/Imports.hs": "0f81acb1e85d23b0c5745aa8530b0b979d739f201fc1d3d8f2d901c16c820b4a",
232
277
  "src/LawSpec/IndexTerm.hs": "1c694f279b934e7b853c0028158c2754048928deb45fb7d65abc1d98da382bcb",
233
278
  "src/LawSpec/Indexed.hs": "1e7ed53653cabc097f75dcf350c81facf9feb30af73f3e21f9344665fc316387",
234
- "src/LawSpec/Inference.hs": "8d3a8853bd691329d6d1cf0cdde9e4e8f8c895f5be944f2e77e9df348d1aa0eb",
235
- "src/LawSpec/JavaData.hs": "8afc712aed51240921cd6830b5d21ab029f71cc5cb0de56ca522eadd94ccb600",
236
- "src/LawSpec/JavaDefinitions.hs": "ba771b59878d8780613d1d40094597e8dca0478ccde11188a39df77667a01dab",
279
+ "src/LawSpec/Inference.hs": "40693bcf11935f812bac171e981476acd978a16d126855c9ddf385a8b1cc23c3",
280
+ "src/LawSpec/JavaData.hs": "92a8f51ad656c9684c55ed999ce97bc476038cfac404bca20eaf6b0ada0790e2",
281
+ "src/LawSpec/JavaDefinitions.hs": "587b82efbe07823defdd2143469b4632bd86b21f0d9644a4929cf58d1d0a2342",
237
282
  "src/LawSpec/JavaExpr.hs": "fb1d3e64f3288e557720dead7738eb4f2a59d4563e5be4a742e1582829f19d3e",
238
- "src/LawSpec/JavaNativeBinding.hs": "9eb52b3be19badda078069bb3d6813d72cad4f0a9bfa708f7404e44201d3c352",
239
- "src/LawSpec/JavaProperties.hs": "5a28381de13d49001540e9e5c8a67268394b62dfba3561cac8c2da735e62e775",
240
- "src/LawSpec/JavaTestHelpers.hs": "e6f4b9bbb7e5f07ece6ab1845e12aa661e62e8b926680b11454223fc3ec1523d",
241
- "src/LawSpec/KotlinData.hs": "ca3bad4dca9fcd604cd39ec713ef8ed38966aaf24b1d6b33d88d405bfc80641d",
242
- "src/LawSpec/KotlinDefinitions.hs": "97d7d407d4bbdb4ce16035d607dbbcb8e3d6f5db513f2123a2c269e3dc6d2b38",
283
+ "src/LawSpec/JavaNativeBinding.hs": "2c2bb31c121f54ba1b43b201163398ac562a3b99e7b9190ecab1c43ac1a2abd0",
284
+ "src/LawSpec/JavaProperties.hs": "b57a30301ac295dfbd6d4d7ff0d94f2c788fc892c184fb7661b338aad6d89f7e",
285
+ "src/LawSpec/JavaTestHelpers.hs": "3eab1c7f55ddbf34c4ab53e4718d347f5fd9df22900dc4d34808b31590f4cac4",
286
+ "src/LawSpec/KotlinData.hs": "40ed6f62a6c55c69546f75f2c26a31bae51837e7064364d6bcac5cbe653bcee2",
287
+ "src/LawSpec/KotlinDefinitions.hs": "4d49a62a1f8ea31a31dc79a6f4aba318f2f71552c495a67499f3cec6dc17fa60",
243
288
  "src/LawSpec/KotlinExpr.hs": "20312f0774f1d0832a21a19b93c8103e2791ecd32a827d8e9c4f2b4830a996a0",
244
- "src/LawSpec/KotlinNativeBinding.hs": "1aec7854758f07a4d2288de13931fbb88ef32220f85d3c84fe8233ad67b6d095",
245
- "src/LawSpec/KotlinProperties.hs": "da48d7cfef557d8453c49a1f1a664edbf3668ccfc86541adc65799ac6302b9af",
246
- "src/LawSpec/KotlinTestHelpers.hs": "74810d65faafc6ed4d64b1fb0596cda4186e586b7144a7441641b798795bc324",
289
+ "src/LawSpec/KotlinNativeBinding.hs": "12a4f40de319b87a6f5a2e48ea2616010d620d00e2e3b67de063947e958f7da8",
290
+ "src/LawSpec/KotlinProperties.hs": "51b62307275e635f9d064b370df40e5bda6ec9251d78716e1b27110d8d1951f9",
291
+ "src/LawSpec/KotlinTestHelpers.hs": "6fc4fb258899f358156f1ad04a7709c2a2807f9dab54c1fc983cce9305ef6957",
292
+ "src/LawSpec/MachineSpec.hs": "3f687e2d0a60f9c5527f506661ec4e291d53fb061abbe10ced5db000ba52b7bb",
293
+ "src/LawSpec/Mailboxes.hs": "52945ebd898f203ec133882c9fc1a60d9e1ce28abc32cb16f97b6b38daed41f3",
247
294
  "src/LawSpec/Memo.hs": "1230a08b003cc6eee0db951b55a93f9ec573e5b6752c63d65d6c3487927b0b4e",
248
- "src/LawSpec/Model.hs": "7922e06bc600ea9400e6ec8c17ef4412e2ba8018b8d3a37a372e8bae4b6d8cb7",
249
- "src/LawSpec/NativeBinding.hs": "33959b0fd432ad4150f3b685f6438e284b801c2a59d9ef3132486a1cc7c8925a",
250
- "src/LawSpec/NativeRequest.hs": "f8200c36725859ea32374655951f7a45e2b3342b159f9f6c88b5f9a2a6331897",
295
+ "src/LawSpec/Model.hs": "c645aad0f37f175a099865f467864391cc0cb8e76e4f6b3e1297d7ac6c31260d",
296
+ "src/LawSpec/ModelTests.hs": "a5905c0c4a493129c19cc135fb606dacd12fc72d495df471d63e7d3cacdfe925",
297
+ "src/LawSpec/NativeBinding.hs": "3f43c2e636c2ffe50ed58f732e4c40027154d77ce9938c503a5db3365e49f37c",
298
+ "src/LawSpec/NativeRequest.hs": "1ab2b94f97fad341df78922ad06d4d90042ff87d5e94d85edb467b020acb3795",
251
299
  "src/LawSpec/Packages.hs": "161fc68a9959a80762ca4ece405240351e3180ea4dbb2bf148eaca6562fb7c30",
252
- "src/LawSpec/Parser.hs": "953e907c51e12724085a6ce0504c767a8d622acf7ad4479913ed2cb86017251e",
253
- "src/LawSpec/Persist.hs": "d7f63a1205782c2ac0d71b737ade3ef90041403f3876b0f3a38c2b29d60922f2",
254
- "src/LawSpec/PortableGenerator.hs": "69d457e39f539c77fc7a4c08205e75352bbecd9dfdff031a283a39bf44b22d49",
300
+ "src/LawSpec/Parser.hs": "a687fb2d2a12d37a7fad97eb92375c7b425fa823cd85133e2f660f78a62da2c3",
301
+ "src/LawSpec/Persist.hs": "f29c228ba12605f9ddd393f2535a306e4ff41aa38a2e256840ef547be54dacbe",
302
+ "src/LawSpec/PortableGenerator.hs": "7dcf856ea56f57103da6cdfc39b63724ac6be2c2912acb791999c8a952679264",
255
303
  "src/LawSpec/PortableTestHelpers.hs": "8d98184c92a34b431f2a820cef3ea735b0cec3a52504f519b3bb06cb5174017c",
256
- "src/LawSpec/Prelude.hs": "b1e155c12f58e7c346551a0c65c5d5af76d045b3f1625977ca2a5d1c97cb8c46",
304
+ "src/LawSpec/Prelude.hs": "515698dda42a8b950c8529b14b5f9d6fe25e590eb1a7a2593ccbcb2edf87ea57",
257
305
  "src/LawSpec/Public.hs": "7010357e250607a9f94d1ab8dc34fad4014fb7d9f15ba0d7c2fc94d0f48fcac4",
258
- "src/LawSpec/PythonData.hs": "bb6e947829aa7611f39fb74152e8ef013c192be717a3573f12d249973ca65e5d",
259
- "src/LawSpec/PythonDefinitions.hs": "387a3f7678a7968249805365602206ebc0bb8d5b56924534d35294a1a98b0e5f",
306
+ "src/LawSpec/PythonData.hs": "ca8fe8b2410c83fb0e49a5f95a538d3601172cc6ed1ca6fdb2245c71df36acf6",
307
+ "src/LawSpec/PythonDefinitions.hs": "90bd885196387cc9fdb61b6623b08afd2bbd3a052a8b4fa7c18a22a9db2472b9",
260
308
  "src/LawSpec/PythonExpr.hs": "23d7d24b5fb4efff9cb63d38c02a93d95744ec79b4565daf1412088fc7c4ba59",
261
- "src/LawSpec/PythonNativeBinding.hs": "4e35ff8781062d0f614e45ea45f98038c8d609ab78bd671cb0a239eaa9db1690",
262
- "src/LawSpec/PythonTypes.hs": "d465eef5fecef5d011fa422655d51cd1123800a39cfaf042545d41f2557bd98c",
263
- "src/LawSpec/Refinement.hs": "3bbdc090f9ebce60d99254dbe93dec6e11bd838df8537df828fd9c768c79d126",
264
- "src/LawSpec/RuntimeSources.hs": "b984cd8635be4109ea79fff5becb9accb1379f5322aaf6c50938264f01ba47b6",
265
- "src/LawSpec/RustData.hs": "b8bb35f2cc5835c811e01e8bbbe172f483ab2620e1e8e331cdfaf6342c23e7f1",
266
- "src/LawSpec/RustDefinitions.hs": "8211ad8c4db088ae658918b5172a666303aaf1bfe3f29bdd0b520a77015b2892",
267
- "src/LawSpec/RustEmit.hs": "bc1fd5c8ca25b23eb23f3e4fc54cdb9fc8ee53f6fc626732483694cc0ad9cc3f",
309
+ "src/LawSpec/PythonNativeBinding.hs": "106e2052d4023ae59628de310e26a6802de988a7732ff73a81d3df06fbe7b75a",
310
+ "src/LawSpec/PythonTypes.hs": "7193a0b8dad1661bb48189351e3dacdd938bf1ec40e3b716e2f7fb571bc6eb3a",
311
+ "src/LawSpec/Railway.hs": "7b13256dc9601e921096e0a957da66baa47ae9be7153c194a3ed805473c15f61",
312
+ "src/LawSpec/Refinement.hs": "f73b9d57a89a52934e0ae664c02984041faed09e8d478cb6416aafd25b5a2d94",
313
+ "src/LawSpec/Remote.hs": "3142e9dab22afb807f91bf528efd347d1271085bb85fc66c0505f3270bbc05ab",
314
+ "src/LawSpec/Resilience.hs": "97b4a498ee74b608120ca578c7b9c708d2025b77db23d83e5c4ad80d5ff8a465",
315
+ "src/LawSpec/RuntimeSources.hs": "b56aa873658c36acf202fdd75fae885a93bd67981c6ee68741b28cf4efb3905a",
316
+ "src/LawSpec/RustData.hs": "d4ac7ae37ebe55c3ca9c587c09895fa4ef0156a989412bf6f5f8bd56749fb4e7",
317
+ "src/LawSpec/RustDefinitions.hs": "77c00183d9af6973ec77d387203a24ab3094dec9a7485e836b286fb90ea9733a",
318
+ "src/LawSpec/RustEmit.hs": "4a786ffbd99cefcd3fd5c4f9e395132871c6a88a4c1bd8a40adce2e5d72d7d1d",
268
319
  "src/LawSpec/RustExpr.hs": "04b2ef81417b811c7b98a98acdadab4e588ca8757964a63ba8dc5936c36479e6",
269
- "src/LawSpec/RustNativeBinding.hs": "d50d1fb10591ee86129ae49b38a343148c084479e450eef3b320e1efdd55245d",
320
+ "src/LawSpec/RustNativeBinding.hs": "c7f098efece9ac5d7328c813c9afe31725d4a65e6745931f3cad20d27b9a235c",
270
321
  "src/LawSpec/RustNativeGenerators.hs": "a3b1484d9ff0008e4f961aa81d0aa51da57ec0cd7909124e80c98d56aacc8ce9",
271
- "src/LawSpec/Scaffold.hs": "217328445923b9e339428dd542ce9b910c26ed132c31d1ef083de73763b749f9",
322
+ "src/LawSpec/Scaffold.hs": "bc68ab7e19f12aa4da850e79219a4d601d884a160ba143d15892a7792f8fc02b",
272
323
  "src/LawSpec/Scalar.hs": "8ff178cbce4aa514f4b770e65efd471461cc12812e854d95f48b0dd54f0cc637",
324
+ "src/LawSpec/Scenario.hs": "143cf61314cc5e7e593512fbf27cb64ada62af6bdf05dfc5b3be6f8acf7c3f06",
325
+ "src/LawSpec/Sessions.hs": "741f5a8bffdaabf47d016d0069e7041dbb20e99313258ff923479aa1f0991b31",
326
+ "src/LawSpec/Sessions/Go.hs": "6a2bea954730e340eeea8469edfef7ece624fea358b453221c6f6837196e6c08",
327
+ "src/LawSpec/Sessions/Haskell.hs": "2b39ec5a99e5438504dd7d43d3a4debfba2a81b4d0ca015a378bd57eaab3e769",
328
+ "src/LawSpec/Sessions/Jvm.hs": "b1fc004fe558840caf1699de497459880d980f8651d928e336f925d84cc75cde",
329
+ "src/LawSpec/Sessions/Python.hs": "1f98eb9b3e51176247cb6bb9157ffa30daa64f21266aeb53e9dfd15756a6f186",
330
+ "src/LawSpec/Sessions/Rust.hs": "9ad3a48e5dd074ab8d4828ec3402556cdb2d32193139fa18d909ab431e58530d",
331
+ "src/LawSpec/Sessions/Web.hs": "9020ed23bdd4232ea51c4d5952e277c7480924408a10c251d1af5e2a4a3cb4d4",
273
332
  "src/LawSpec/SpecializeDefinitions.hs": "2bdd6d9b191941d869ef524659e02fed551499aaa2ea98c99323da03af113012",
333
+ "src/LawSpec/StatefulModel.hs": "ab2d5eb1c0443f6b527f8f2696a4d0b9ae14f0df91b8cef202c4f0c850e2115b",
334
+ "src/LawSpec/TargetNames.hs": "06410a1973d12bc241bfc399c8f5856d1692c6af792bb83b187bca894cfde4ca",
274
335
  "src/LawSpec/TestManifest.hs": "3c2018eea1528d047dff4c5fd2f353ee1ceb339cce7b1c32f0a2390df2d40ac8",
275
336
  "src/LawSpec/Testing.hs": "3bb83c3e74de6f0a09b12736115e47b4db2244e2f749d640e063cfc0500f174c",
276
- "src/LawSpec/WebData.hs": "bbcd7d734ce3941d83cc455a9a2147b642f6111ebb34db9ef99dcb7a58b8c4ae",
277
- "src/LawSpec/WebDefinitions.hs": "579309c76b9303a3c9e456e1252f2d0881795210aa0b09104a00efdfe10e3e13",
278
- "src/LawSpec/WebExpr.hs": "0389dcd5cf7479dd23ef034b1012de6ebd70bf1dc9e3d90981dfb0ba2702596f",
279
- "src/LawSpec/WebNativeBinding.hs": "f536c1b1454bc83f5a9e8c61a608390b9a6fa91537f34d3c245b90ee6e275b7d",
280
- "src/LawSpec/WebTypes.hs": "1d43194e4dafbdcbed6e607414a875e9030028f03579f17d189c14a6a9bd5e53",
337
+ "src/LawSpec/Time.hs": "9b05a784879a5791087492129bb9bd432d5e23082aa370e2a289552731bfb527",
338
+ "src/LawSpec/WebData.hs": "a8e907ce04768ec8bf6f88f96d4d0e3e1888451335350d210cf051160daf4e51",
339
+ "src/LawSpec/WebDefinitions.hs": "b20086e4d9090c5fdd7eecd1dbc489de3e60fddae8a12c0fd83902892eff2c0d",
340
+ "src/LawSpec/WebExpr.hs": "5bf5a2082f216646541bfa482f0f4eb492e32da9ab965e1e789256564d64332f",
341
+ "src/LawSpec/WebNativeBinding.hs": "1039b25ffe7ad1c033baf7d040de0f667ddc521fc771bdf1ca056e63c842680d",
342
+ "src/LawSpec/WebTypes.hs": "60237d8b119e3a18690aa5429e99c8613e0ddae4da76d697de7af8b31aeb1ab0",
281
343
  "src/LawSpec/Witness.hs": "9ae944c9307df964bc853205269c1e4cb69cc076070bb878fc957f4bdb02de85",
282
344
  "stack.yaml": "20ccf4d599e355e60b7aa4f814a7cd4299fe2048616cc2e6dbdc22a7bd8cec73",
283
345
  "stack.yaml.lock": "ae222b9c81af920c56e50fa4596fa57786e7fa5a7b461390362b2b2ff63818c7",
284
346
  "wasm/app/Exports.hs": "4ecbdac8faa2449e6fc61b93c82e6278fa14374154f29b4dacf0eef433f06a47",
285
347
  "wasm/cabal.project": "021e560afdc5eb4cb7169e7119ecb8f92c9ee170245af909c94b612941bff5cc",
286
348
  "wasm/cabal.project.freeze": "733dbed3d2ecccb26e874fd58f136296dad772184deb1658c196b5d54a0814dc",
287
- "wasm/lawspec-wasm.cabal": "21821a861d641b1156f824ea92313a59a8c32ac0812ae6ee728adc2cf3bb4b66",
288
- "npm/core.wasm": "96c0b431747c457fc292221493e8d3b8b113488f48a1e832e5a41ba049e87913",
349
+ "wasm/lawspec-wasm.cabal": "b4106f6f330381e0707ba83b4b0b4f00dc1cee1ef93962ecf79156aa19146165",
350
+ "npm/core.wasm": "7268bf6b82ef2e41e95a928d7da56f077939a99a383c783aa164583f2fb601b0",
289
351
  "npm/core_jsffi.js": "88d136efe92f7cff5758c8fec8d9b6bbc9707fe37741cebeeb415fe34ce3d72b",
290
352
  "npm/api.mjs": "19e1624f91258c1397f3212faf65b407c62671b0fc5b118520e6a91f7ad7c6ba",
291
353
  "npm/index.d.ts": "b6beef671c22633fdf369f584bfe9bc9bd0b281c54df06f1946970415e1e7793"
package/core.wasm CHANGED
Binary file
package/doctor.mjs CHANGED
@@ -241,6 +241,11 @@ export async function doctor(target, root, plannedArtifacts = []) {
241
241
  "hspec-discover",
242
242
  ])
243
243
  requireThat(versions[dep], `Stack test plan is missing ${dep}`);
244
+ // Nodes reach each other over TCP and HTTP with the network package.
245
+ requireThat(
246
+ versions.network,
247
+ "Stack plan is missing network (a library dependency, for distribution)",
248
+ );
244
249
  requireThat(
245
250
  /^2\.11\./.test(versions.hspec) &&
246
251
  /^1\./.test(versions.hedgehog) &&
@@ -398,7 +403,7 @@ export async function doctor(target, root, plannedArtifacts = []) {
398
403
  const init = path.join(tmp, "inspect.gradle");
399
404
  await writeFile(
400
405
  init,
401
- `import groovy.json.JsonOutput\ngradle.projectsEvaluated {\n def p = gradle.rootProject\n p.tasks.register('lawspecEnvironmentReport') { doLast {\n def k = p.tasks.findByName('compileTestKotlin')\n def j = p.tasks.findByName('test')\n def plugin = p.plugins.findPlugin('org.jetbrains.kotlin.jvm')\n def kv = plugin.class.classLoader.loadClass('org.jetbrains.kotlin.gradle.plugin.KotlinPluginWrapperKt').getMethod('getKotlinPluginVersion', org.gradle.api.Project).invoke(null, p)\n def deps = p.configurations.testRuntimeClasspath.resolvedConfiguration.resolvedArtifacts.collect { [name: it.moduleVersion.id.group + ':' + it.name, version: it.moduleVersion.id.version] }\n new File(System.getenv('LAWSPEC_REPORT')).text = JsonOutput.toJson([kotlin: kv, gradle: gradle.gradleVersion, java: System.getProperty('java.version'), target: k?.compilerOptions?.jvmTarget?.get()?.target, testJava: j?.javaLauncher?.get()?.metadata?.languageVersion?.asInt(), runner: j?.options?.class?.name, enabled: j.enabled, includes: j.filter.includePatterns, excludes: j.filter.excludePatterns, sourceDirs: p.sourceSets.main.allSource.srcDirs.collect { it.canonicalPath }, testDirs: p.sourceSets.test.allSource.srcDirs.collect { it.canonicalPath }, dependencies: deps])\n } }\n}\n`,
406
+ `import groovy.json.JsonOutput\ngradle.projectsEvaluated {\n def p = gradle.rootProject\n p.tasks.register('lawspecEnvironmentReport') { doLast {\n def k = p.tasks.findByName('compileTestKotlin')\n def j = p.tasks.findByName('test')\n def plugin = p.plugins.findPlugin('org.jetbrains.kotlin.jvm')\n def kv = plugin.class.classLoader.loadClass('org.jetbrains.kotlin.gradle.plugin.KotlinPluginWrapperKt').getMethod('getKotlinPluginVersion', org.gradle.api.Project).invoke(null, p)\n def deps = p.configurations.testRuntimeClasspath.resolvedConfiguration.resolvedArtifacts.collect { [name: it.moduleVersion.id.group + ':' + it.name, version: it.moduleVersion.id.version] }\n def mainDeps = p.configurations.runtimeClasspath.resolvedConfiguration.resolvedArtifacts.collect { it.moduleVersion.id.group + ':' + it.name }\n new File(System.getenv('LAWSPEC_REPORT')).text = JsonOutput.toJson([kotlin: kv, gradle: gradle.gradleVersion, java: System.getProperty('java.version'), target: k?.compilerOptions?.jvmTarget?.get()?.target, testJava: j?.javaLauncher?.get()?.metadata?.languageVersion?.asInt(), runner: j?.options?.class?.name, enabled: j.enabled, includes: j.filter.includePatterns, excludes: j.filter.excludePatterns, sourceDirs: p.sourceSets.main.allSource.srcDirs.collect { it.canonicalPath }, testDirs: p.sourceSets.test.allSource.srcDirs.collect { it.canonicalPath }, dependencies: deps, mainDependencies: mainDeps])\n } }\n}\n`,
402
407
  );
403
408
  await run(
404
409
  command,
@@ -443,6 +448,11 @@ export async function doctor(target, root, plannedArtifacts = []) {
443
448
  ),
444
449
  `Missing ${dep}:5.9.1`,
445
450
  );
451
+ // Workflows block on asynchronous Kotlin steps with runBlocking.
452
+ requireThat(
453
+ (data.mainDependencies ?? []).includes("org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm"),
454
+ "Missing org.jetbrains.kotlinx:kotlinx-coroutines-core (an implementation dependency, for workflows)",
455
+ );
446
456
  Object.assign(versions, data);
447
457
  requireThat(
448
458
  data.kotlin,