@quolu/lattice 0.67.0 → 0.67.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/package.json +1 -1
- package/src/cli-help.mjs +2 -1
- package/src/todo-cli.mjs +10 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quolu/lattice",
|
|
3
|
-
"version": "0.67.
|
|
3
|
+
"version": "0.67.2",
|
|
4
4
|
"description": "Schedulability compiler for multi-agent development: observe real code boundaries, refactor the conflicting seam, recompile the plan for parallel execution",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Quo / クオ at kitepon.dev",
|
package/src/cli-help.mjs
CHANGED
|
@@ -88,6 +88,7 @@ Read commands:
|
|
|
88
88
|
Write commands:
|
|
89
89
|
repair-eol --json # Git checkoutでCRLF化された既存storeをcanonical LFへ戻し、EOL保護を追加する
|
|
90
90
|
dashboard adopt --json # 衝突したproject_idの配信元rootを現在repoへ明示的に移す
|
|
91
|
+
dashboard ensure --json # daemon生存保証の冪等入口(launchd等の周期実行向け)
|
|
91
92
|
dashboard remove <project_id> --json # 登録簿から1件外す(対象repoの外からも叩ける)
|
|
92
93
|
note --plan <key> [--task <id>] (--message <text>|--input <file>)
|
|
93
94
|
# ToDoへ作業継続に必要な方針・調査結果・注意をappend-onlyで追記する
|
|
@@ -258,7 +259,7 @@ const SUBCOMMAND_USAGE = Object.freeze({
|
|
|
258
259
|
'todo snapshot': 'todo snapshot --rebuild --plan <key>',
|
|
259
260
|
'todo gantt': 'todo gantt serve --port <port> [--scope live|all] # 動的表示のみ。静的HTML生成は廃止',
|
|
260
261
|
'todo gantt serve': 'todo gantt serve --port <0..65535> [--scope live|all] # loopback動的viewer',
|
|
261
|
-
'todo dashboard': 'todo dashboard adopt --json | remove <project_id> --json'
|
|
262
|
+
'todo dashboard': 'todo dashboard adopt --json | ensure --json | remove <project_id> --json'
|
|
262
263
|
+ ' # 配信元rootの衝突を明示的に解消/登録簿から1件外す',
|
|
263
264
|
'todo dashboard adopt': 'todo dashboard adopt --json # 現在repoをproject_idの配信元として明示採用',
|
|
264
265
|
'todo dashboard remove': 'todo dashboard remove <project_id> --json # 登録簿から1件外す(対象repo不在でも可)',
|
package/src/todo-cli.mjs
CHANGED
|
@@ -3695,6 +3695,16 @@ export async function runTodoCli({ argv, cwd, stdout, stderr, env = process.env
|
|
|
3695
3695
|
} else if (argv.length === 3 && argv[0] === 'dashboard'
|
|
3696
3696
|
&& argv[1] === 'adopt' && argv[2] === '--json') {
|
|
3697
3697
|
action = (repoRoot) => adoptDashboardRoot({ repoRoot, env });
|
|
3698
|
+
} else if (argv.length === 3 && argv[0] === 'dashboard'
|
|
3699
|
+
&& argv[1] === 'ensure' && argv[2] === '--json') {
|
|
3700
|
+
// 生存保証の独立入口(2026-08-29 オーナー裁定「死んだら自動で起こせ」)。従来は書込み
|
|
3701
|
+
// コマンドの副作用でしか daemon を ensure できず、OS再起動後に誰も書込まなければ
|
|
3702
|
+
// 公開工程図が503のまま沈黙した。launchd等の周期実行から叩く冪等な入口。
|
|
3703
|
+
action = async (repoRoot) => {
|
|
3704
|
+
const ensured = await ensureActiveProjectDashboard({ repoRoot, env });
|
|
3705
|
+
return { schema: 'lattice.todo_dashboard_ensure_result.v1',
|
|
3706
|
+
ensured: ensured !== null, activity: ensured };
|
|
3707
|
+
};
|
|
3698
3708
|
} else if (argv.length === 6 && argv[0] === 'show'
|
|
3699
3709
|
&& argv[1] === '--plan' && isTodoIdentifier(argv[2])
|
|
3700
3710
|
&& argv[3] === '--task' && isTodoIdentifier(argv[4]) && argv[5] === '--json') {
|