@quolu/lattice 0.12.26 → 0.12.28

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 CHANGED
@@ -3,6 +3,14 @@
3
3
  Latticeは、codebaseの境界を観測・変換し、multi-agent開発の並列TODO graphを生成する
4
4
  schedulability compilerです。
5
5
 
6
+ ## 開発工場での位置づけ
7
+
8
+ Latticeは[dotagents開発工場](https://github.com/kitepon-rgb/dotagents)が管理する
9
+ 自作コア10製品の一つです。本repoはplan/ToDo/run store、sensor、schema、migration、
10
+ release、diagnosticsを所有し、dotagentsは製品横断の工程利用・導入・host統合を所有します。
11
+ 廃止済みの前身sensorは独立製品として配線せず、Lattice sensorだけを現役面とします。
12
+ MarkItDownは別区分の第三者CLIです。
13
+
6
14
  現在の工程状態と完了証拠の正本は、このrepoのLattice storeです。文書の役割と現行導線は
7
15
  [docs/README.md](docs/README.md)、製品思想は[PLAN.md](PLAN.md)、公開contractは
8
16
  [docs/00_product-contract.md](docs/00_product-contract.md)を参照してください。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quolu/lattice",
3
- "version": "0.12.26",
3
+ "version": "0.12.28",
4
4
  "description": "Lattice — phase-aware TODO graph compiler and conflict-aware orchestration runtime",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -1494,7 +1494,9 @@ export async function appendImportedPlan(options = {}) {
1494
1494
 
1495
1495
  const descriptor = { plan_key: plan.plan_key, active_plan_version: plan.plan_version,
1496
1496
  plan_ref: planRef, journal_ref: journalRef, snapshot_ref: snapshotRef,
1497
- topology_digest: plan.topology_digest, journal_head_digest: events.at(-1).event_digest };
1497
+ topology_digest: plan.topology_digest, journal_head_digest: events.at(-1).event_digest,
1498
+ ...(currentManifest.schema === 'lattice.todo_manifest.v2'
1499
+ ? { active_revision_digest: plan.plan_digest } : {}) };
1498
1500
  currentManifest.members.push(descriptor);
1499
1501
  currentManifest.members.sort((left, right) => left.plan_key < right.plan_key ? -1 : left.plan_key > right.plan_key ? 1 : 0);
1500
1502
  currentManifest.manifest_digest = todoSelfDigest(currentManifest, 'manifest_digest');
@@ -3141,6 +3143,8 @@ export async function applyTodoRevision(options = {}) {
3141
3143
  journal_ref: journalRef, snapshot_ref: snapshotRef,
3142
3144
  topology_digest: revision.desired_plan.topology_digest,
3143
3145
  journal_head_digest: genesis.event_digest,
3146
+ ...(currentManifest.schema === 'lattice.todo_manifest.v2'
3147
+ ? { active_revision_digest: revision.revision_digest } : {}),
3144
3148
  });
3145
3149
  currentManifest.manifest_digest = todoSelfDigest(currentManifest, 'manifest_digest');
3146
3150
  await atomicWrite(path.resolve(repoRoot, MANIFEST_REF), canonicalLine(currentManifest));