@rulvar/store-conformance 1.3.0 → 1.3.2
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/README.md +29 -0
- package/dist/index.js +1 -1
- package/package.json +2 -2
package/README.md
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# @rulvar/store-conformance
|
|
2
|
+
|
|
3
|
+
The executable conformance kit for rulvar store adapters: append
|
|
4
|
+
atomicity, total per-run order, read-your-writes, payload opacity, lease
|
|
5
|
+
fencing, and golden fold-state fixtures. If you implement a custom
|
|
6
|
+
store, this suite is the contract your implementation must pass. Exports
|
|
7
|
+
`journalStoreConformance`, `leasableStoreConformance`, and
|
|
8
|
+
`registerConformance`.
|
|
9
|
+
|
|
10
|
+
Part of [rulvar](https://rulvar.com), an embeddable TypeScript engine
|
|
11
|
+
for durable, budget-bounded multi-agent LLM workflows, where a completed
|
|
12
|
+
LLM call is never paid for twice. Full documentation:
|
|
13
|
+
[docs.rulvar.com](https://docs.rulvar.com).
|
|
14
|
+
|
|
15
|
+
## Install
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
pnpm add -D @rulvar/store-conformance
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## Documentation
|
|
22
|
+
|
|
23
|
+
- [Store authors](https://docs.rulvar.com/guide/store-authors)
|
|
24
|
+
- [Stores](https://docs.rulvar.com/guide/stores)
|
|
25
|
+
- [API reference](https://docs.rulvar.com/api/%40rulvar/store-conformance/)
|
|
26
|
+
|
|
27
|
+
## License
|
|
28
|
+
|
|
29
|
+
[Apache-2.0](https://github.com/o-stepper/rulvar/blob/main/LICENSE)
|
package/dist/index.js
CHANGED
|
@@ -469,7 +469,7 @@ function journalStoreConformance(mk) {
|
|
|
469
469
|
const matched = replayed.match("", branchIdentity, "scoped");
|
|
470
470
|
ensure(matched.kind === "skip", "abandon-derived-skip", `the abandoned dispatch must derive skipped, got '${matched.kind}'`);
|
|
471
471
|
const ledger = replayed.ledger();
|
|
472
|
-
ensure(ledger.usage.inputTokens === 0 && ledger.usage.outputTokens === 0 && ledger.agentsSpawned === 0, "abandon-derived-skip", "derived-skipped entries must contribute a zero ledger increment
|
|
472
|
+
ensure(ledger.usage.inputTokens === 0 && ledger.usage.outputTokens === 0 && ledger.agentsSpawned === 0, "abandon-derived-skip", "derived-skipped entries must contribute a zero ledger increment");
|
|
473
473
|
ensure(replayed.resumeReport().orphaned.length === 0, "abandon-derived-skip", "covered entries must be reported skipped, never orphaned");
|
|
474
474
|
}
|
|
475
475
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rulvar/store-conformance",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.2",
|
|
4
4
|
"description": "rulvar executable store conformance kit (DEF-4).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"access": "public"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@rulvar/core": "1.3.
|
|
25
|
+
"@rulvar/core": "1.3.2"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@types/node": "^22.20.0",
|