@quolu/lattice 0.12.25 → 0.12.26

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.
Files changed (2) hide show
  1. package/README.md +24 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -52,7 +52,30 @@ lattice plan create --input .lattice/plan-create.json
52
52
  discoveryと初期transactionの不変条件は
53
53
  [ADR 0058](docs/adr/0058-project-discovery-and-initial-authoring.md)が正です。
54
54
 
55
- TODO工程storeの読取は`lattice todo status`、検証は`lattice todo verify`、表示生成は
55
+ ## 実行runを端から端まで動かす
56
+
57
+ compileしたrunを実際にdispatchするには、executor adapterを登録してからactivateします。
58
+ 参照実装の`lattice-scripted-adapter`を配布しているため、公開CLIと配布binだけで
59
+ 実write・receipt受理・closeまで到達できます。
60
+
61
+ ```bash
62
+ lattice run adapter register --schema --json # 登録入力のJSON Schema
63
+ lattice run adapter register --input adapter.json
64
+ lattice run adapter list --json
65
+ lattice run activate --run .lattice/runs/<id>
66
+ lattice run status --run .lattice/runs/<id> # accepted に子が入る
67
+ lattice event verify --run .lattice/runs/<id>
68
+ lattice run close --run .lattice/runs/<id>
69
+ ```
70
+
71
+ digestは手で計算しません。binary・config・capabilities・自己digestは登録時にCLIが導出します。
72
+
73
+ `plan compile`が`BOUNDARY_UNKNOWN`を返す場合は、まず`git status --short`が空かを確認してください。
74
+ 未追跡ファイルがあるとsensor statusが`stale`になり、witnessが未解決unknownへ落ちます。
75
+ 作業ツリーをcleanにすると同じrequestがそのまま通ります。
76
+
77
+ TODO工程storeの読取は`lattice todo status`、`compile_binding`付きTaskの投影は
78
+ `lattice todo bindings`、検証は`lattice todo verify`、表示生成は
56
79
  `lattice todo gantt`を使います。topology/source reconciliationは
57
80
  `lattice todo revise --plan <key> --input <canonical-revision.json>`、Phase付きplanは
58
81
  `lattice todo revise-phase --plan <key> --input <canonical-phase-revision.json>`でsuccessor発行します。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quolu/lattice",
3
- "version": "0.12.25",
3
+ "version": "0.12.26",
4
4
  "description": "Lattice — phase-aware TODO graph compiler and conflict-aware orchestration runtime",
5
5
  "type": "module",
6
6
  "license": "MIT",