@mc-and-his-agents/loom-installer 0.1.20 → 0.1.22
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/payload/manifest.json +62 -62
- package/payload/plugin/loom/skills/shared/scripts/loom_check.py +24 -2
- package/payload/plugin/loom/skills/shared/scripts/loom_init.py +53 -40
- package/payload/plugin/loom/skills/shared/scripts/runtime_state.py +19 -2
- package/payload/skills/loom-adopt/.loom-runtime/shared/scripts/loom_check.py +24 -2
- package/payload/skills/loom-adopt/.loom-runtime/shared/scripts/loom_init.py +53 -40
- package/payload/skills/loom-adopt/.loom-runtime/shared/scripts/runtime_state.py +19 -2
- package/payload/skills/loom-handoff/.loom-runtime/shared/scripts/loom_check.py +24 -2
- package/payload/skills/loom-handoff/.loom-runtime/shared/scripts/loom_init.py +53 -40
- package/payload/skills/loom-handoff/.loom-runtime/shared/scripts/runtime_state.py +19 -2
- package/payload/skills/loom-init/.loom-runtime/shared/scripts/loom_check.py +24 -2
- package/payload/skills/loom-init/.loom-runtime/shared/scripts/loom_init.py +53 -40
- package/payload/skills/loom-init/.loom-runtime/shared/scripts/runtime_state.py +19 -2
- package/payload/skills/loom-merge-ready/.loom-runtime/shared/scripts/loom_check.py +24 -2
- package/payload/skills/loom-merge-ready/.loom-runtime/shared/scripts/loom_init.py +53 -40
- package/payload/skills/loom-merge-ready/.loom-runtime/shared/scripts/runtime_state.py +19 -2
- package/payload/skills/loom-pre-review/.loom-runtime/shared/scripts/loom_check.py +24 -2
- package/payload/skills/loom-pre-review/.loom-runtime/shared/scripts/loom_init.py +53 -40
- package/payload/skills/loom-pre-review/.loom-runtime/shared/scripts/runtime_state.py +19 -2
- package/payload/skills/loom-resume/.loom-runtime/shared/scripts/loom_check.py +24 -2
- package/payload/skills/loom-resume/.loom-runtime/shared/scripts/loom_init.py +53 -40
- package/payload/skills/loom-resume/.loom-runtime/shared/scripts/runtime_state.py +19 -2
- package/payload/skills/loom-retire/.loom-runtime/shared/scripts/loom_check.py +24 -2
- package/payload/skills/loom-retire/.loom-runtime/shared/scripts/loom_init.py +53 -40
- package/payload/skills/loom-retire/.loom-runtime/shared/scripts/runtime_state.py +19 -2
- package/payload/skills/loom-review/.loom-runtime/shared/scripts/loom_check.py +24 -2
- package/payload/skills/loom-review/.loom-runtime/shared/scripts/loom_init.py +53 -40
- package/payload/skills/loom-review/.loom-runtime/shared/scripts/runtime_state.py +19 -2
- package/payload/skills/loom-spec-review/.loom-runtime/shared/scripts/loom_check.py +24 -2
- package/payload/skills/loom-spec-review/.loom-runtime/shared/scripts/loom_init.py +53 -40
- package/payload/skills/loom-spec-review/.loom-runtime/shared/scripts/runtime_state.py +19 -2
package/package.json
CHANGED
package/payload/manifest.json
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
"schema_version": "loom-installer-payload/v1",
|
|
3
3
|
"loom_version": "0.4.0",
|
|
4
4
|
"source_repository": "https://github.com/MC-and-his-Agents/Loom",
|
|
5
|
-
"source_commit": "
|
|
5
|
+
"source_commit": "c47ffde0d9c0adf3c91e9171f6c0ce3c2a8ef2bc",
|
|
6
6
|
"source_ref": "main",
|
|
7
|
-
"built_at": "2026-04-
|
|
7
|
+
"built_at": "2026-04-26T22:56:41+08:00",
|
|
8
8
|
"runtime": {
|
|
9
9
|
"python_minimum": "3.10",
|
|
10
10
|
"python_recommended": "3.11+"
|
|
@@ -628,8 +628,8 @@
|
|
|
628
628
|
},
|
|
629
629
|
{
|
|
630
630
|
"path": "plugin/loom/skills/shared/scripts/loom_check.py",
|
|
631
|
-
"bytes":
|
|
632
|
-
"sha256": "
|
|
631
|
+
"bytes": 275385,
|
|
632
|
+
"sha256": "6cf4df1afa7dd6772a18f45fdc10c14917ad457dc3fd2f5a48980081d4883daa"
|
|
633
633
|
},
|
|
634
634
|
{
|
|
635
635
|
"path": "plugin/loom/skills/shared/scripts/loom_flow.py",
|
|
@@ -638,8 +638,8 @@
|
|
|
638
638
|
},
|
|
639
639
|
{
|
|
640
640
|
"path": "plugin/loom/skills/shared/scripts/loom_init.py",
|
|
641
|
-
"bytes":
|
|
642
|
-
"sha256": "
|
|
641
|
+
"bytes": 85228,
|
|
642
|
+
"sha256": "f7748a8971611a3c23e5e0bcbb3d49cf0854db12469961c074756f9887bd25a8"
|
|
643
643
|
},
|
|
644
644
|
{
|
|
645
645
|
"path": "plugin/loom/skills/shared/scripts/loom_status.py",
|
|
@@ -653,8 +653,8 @@
|
|
|
653
653
|
},
|
|
654
654
|
{
|
|
655
655
|
"path": "plugin/loom/skills/shared/scripts/runtime_state.py",
|
|
656
|
-
"bytes":
|
|
657
|
-
"sha256": "
|
|
656
|
+
"bytes": 19697,
|
|
657
|
+
"sha256": "5c5e096dbea072ab8e4f305ac06ee5d983e0bade519f6bea7fd119a92de52f09"
|
|
658
658
|
},
|
|
659
659
|
{
|
|
660
660
|
"path": "plugin/loom/skills/upgrade-contract.json",
|
|
@@ -1213,8 +1213,8 @@
|
|
|
1213
1213
|
},
|
|
1214
1214
|
{
|
|
1215
1215
|
"path": "skills/loom-adopt/.loom-runtime/shared/scripts/loom_check.py",
|
|
1216
|
-
"bytes":
|
|
1217
|
-
"sha256": "
|
|
1216
|
+
"bytes": 275385,
|
|
1217
|
+
"sha256": "6cf4df1afa7dd6772a18f45fdc10c14917ad457dc3fd2f5a48980081d4883daa"
|
|
1218
1218
|
},
|
|
1219
1219
|
{
|
|
1220
1220
|
"path": "skills/loom-adopt/.loom-runtime/shared/scripts/loom_flow.py",
|
|
@@ -1223,8 +1223,8 @@
|
|
|
1223
1223
|
},
|
|
1224
1224
|
{
|
|
1225
1225
|
"path": "skills/loom-adopt/.loom-runtime/shared/scripts/loom_init.py",
|
|
1226
|
-
"bytes":
|
|
1227
|
-
"sha256": "
|
|
1226
|
+
"bytes": 85228,
|
|
1227
|
+
"sha256": "f7748a8971611a3c23e5e0bcbb3d49cf0854db12469961c074756f9887bd25a8"
|
|
1228
1228
|
},
|
|
1229
1229
|
{
|
|
1230
1230
|
"path": "skills/loom-adopt/.loom-runtime/shared/scripts/loom_status.py",
|
|
@@ -1238,8 +1238,8 @@
|
|
|
1238
1238
|
},
|
|
1239
1239
|
{
|
|
1240
1240
|
"path": "skills/loom-adopt/.loom-runtime/shared/scripts/runtime_state.py",
|
|
1241
|
-
"bytes":
|
|
1242
|
-
"sha256": "
|
|
1241
|
+
"bytes": 19697,
|
|
1242
|
+
"sha256": "5c5e096dbea072ab8e4f305ac06ee5d983e0bade519f6bea7fd119a92de52f09"
|
|
1243
1243
|
},
|
|
1244
1244
|
{
|
|
1245
1245
|
"path": "skills/loom-adopt/.loom-runtime/upgrade-contract.json",
|
|
@@ -1828,8 +1828,8 @@
|
|
|
1828
1828
|
},
|
|
1829
1829
|
{
|
|
1830
1830
|
"path": "skills/loom-handoff/.loom-runtime/shared/scripts/loom_check.py",
|
|
1831
|
-
"bytes":
|
|
1832
|
-
"sha256": "
|
|
1831
|
+
"bytes": 275385,
|
|
1832
|
+
"sha256": "6cf4df1afa7dd6772a18f45fdc10c14917ad457dc3fd2f5a48980081d4883daa"
|
|
1833
1833
|
},
|
|
1834
1834
|
{
|
|
1835
1835
|
"path": "skills/loom-handoff/.loom-runtime/shared/scripts/loom_flow.py",
|
|
@@ -1838,8 +1838,8 @@
|
|
|
1838
1838
|
},
|
|
1839
1839
|
{
|
|
1840
1840
|
"path": "skills/loom-handoff/.loom-runtime/shared/scripts/loom_init.py",
|
|
1841
|
-
"bytes":
|
|
1842
|
-
"sha256": "
|
|
1841
|
+
"bytes": 85228,
|
|
1842
|
+
"sha256": "f7748a8971611a3c23e5e0bcbb3d49cf0854db12469961c074756f9887bd25a8"
|
|
1843
1843
|
},
|
|
1844
1844
|
{
|
|
1845
1845
|
"path": "skills/loom-handoff/.loom-runtime/shared/scripts/loom_status.py",
|
|
@@ -1853,8 +1853,8 @@
|
|
|
1853
1853
|
},
|
|
1854
1854
|
{
|
|
1855
1855
|
"path": "skills/loom-handoff/.loom-runtime/shared/scripts/runtime_state.py",
|
|
1856
|
-
"bytes":
|
|
1857
|
-
"sha256": "
|
|
1856
|
+
"bytes": 19697,
|
|
1857
|
+
"sha256": "5c5e096dbea072ab8e4f305ac06ee5d983e0bade519f6bea7fd119a92de52f09"
|
|
1858
1858
|
},
|
|
1859
1859
|
{
|
|
1860
1860
|
"path": "skills/loom-handoff/.loom-runtime/upgrade-contract.json",
|
|
@@ -2443,8 +2443,8 @@
|
|
|
2443
2443
|
},
|
|
2444
2444
|
{
|
|
2445
2445
|
"path": "skills/loom-init/.loom-runtime/shared/scripts/loom_check.py",
|
|
2446
|
-
"bytes":
|
|
2447
|
-
"sha256": "
|
|
2446
|
+
"bytes": 275385,
|
|
2447
|
+
"sha256": "6cf4df1afa7dd6772a18f45fdc10c14917ad457dc3fd2f5a48980081d4883daa"
|
|
2448
2448
|
},
|
|
2449
2449
|
{
|
|
2450
2450
|
"path": "skills/loom-init/.loom-runtime/shared/scripts/loom_flow.py",
|
|
@@ -2453,8 +2453,8 @@
|
|
|
2453
2453
|
},
|
|
2454
2454
|
{
|
|
2455
2455
|
"path": "skills/loom-init/.loom-runtime/shared/scripts/loom_init.py",
|
|
2456
|
-
"bytes":
|
|
2457
|
-
"sha256": "
|
|
2456
|
+
"bytes": 85228,
|
|
2457
|
+
"sha256": "f7748a8971611a3c23e5e0bcbb3d49cf0854db12469961c074756f9887bd25a8"
|
|
2458
2458
|
},
|
|
2459
2459
|
{
|
|
2460
2460
|
"path": "skills/loom-init/.loom-runtime/shared/scripts/loom_status.py",
|
|
@@ -2468,8 +2468,8 @@
|
|
|
2468
2468
|
},
|
|
2469
2469
|
{
|
|
2470
2470
|
"path": "skills/loom-init/.loom-runtime/shared/scripts/runtime_state.py",
|
|
2471
|
-
"bytes":
|
|
2472
|
-
"sha256": "
|
|
2471
|
+
"bytes": 19697,
|
|
2472
|
+
"sha256": "5c5e096dbea072ab8e4f305ac06ee5d983e0bade519f6bea7fd119a92de52f09"
|
|
2473
2473
|
},
|
|
2474
2474
|
{
|
|
2475
2475
|
"path": "skills/loom-init/.loom-runtime/upgrade-contract.json",
|
|
@@ -3063,8 +3063,8 @@
|
|
|
3063
3063
|
},
|
|
3064
3064
|
{
|
|
3065
3065
|
"path": "skills/loom-merge-ready/.loom-runtime/shared/scripts/loom_check.py",
|
|
3066
|
-
"bytes":
|
|
3067
|
-
"sha256": "
|
|
3066
|
+
"bytes": 275385,
|
|
3067
|
+
"sha256": "6cf4df1afa7dd6772a18f45fdc10c14917ad457dc3fd2f5a48980081d4883daa"
|
|
3068
3068
|
},
|
|
3069
3069
|
{
|
|
3070
3070
|
"path": "skills/loom-merge-ready/.loom-runtime/shared/scripts/loom_flow.py",
|
|
@@ -3073,8 +3073,8 @@
|
|
|
3073
3073
|
},
|
|
3074
3074
|
{
|
|
3075
3075
|
"path": "skills/loom-merge-ready/.loom-runtime/shared/scripts/loom_init.py",
|
|
3076
|
-
"bytes":
|
|
3077
|
-
"sha256": "
|
|
3076
|
+
"bytes": 85228,
|
|
3077
|
+
"sha256": "f7748a8971611a3c23e5e0bcbb3d49cf0854db12469961c074756f9887bd25a8"
|
|
3078
3078
|
},
|
|
3079
3079
|
{
|
|
3080
3080
|
"path": "skills/loom-merge-ready/.loom-runtime/shared/scripts/loom_status.py",
|
|
@@ -3088,8 +3088,8 @@
|
|
|
3088
3088
|
},
|
|
3089
3089
|
{
|
|
3090
3090
|
"path": "skills/loom-merge-ready/.loom-runtime/shared/scripts/runtime_state.py",
|
|
3091
|
-
"bytes":
|
|
3092
|
-
"sha256": "
|
|
3091
|
+
"bytes": 19697,
|
|
3092
|
+
"sha256": "5c5e096dbea072ab8e4f305ac06ee5d983e0bade519f6bea7fd119a92de52f09"
|
|
3093
3093
|
},
|
|
3094
3094
|
{
|
|
3095
3095
|
"path": "skills/loom-merge-ready/.loom-runtime/upgrade-contract.json",
|
|
@@ -3678,8 +3678,8 @@
|
|
|
3678
3678
|
},
|
|
3679
3679
|
{
|
|
3680
3680
|
"path": "skills/loom-pre-review/.loom-runtime/shared/scripts/loom_check.py",
|
|
3681
|
-
"bytes":
|
|
3682
|
-
"sha256": "
|
|
3681
|
+
"bytes": 275385,
|
|
3682
|
+
"sha256": "6cf4df1afa7dd6772a18f45fdc10c14917ad457dc3fd2f5a48980081d4883daa"
|
|
3683
3683
|
},
|
|
3684
3684
|
{
|
|
3685
3685
|
"path": "skills/loom-pre-review/.loom-runtime/shared/scripts/loom_flow.py",
|
|
@@ -3688,8 +3688,8 @@
|
|
|
3688
3688
|
},
|
|
3689
3689
|
{
|
|
3690
3690
|
"path": "skills/loom-pre-review/.loom-runtime/shared/scripts/loom_init.py",
|
|
3691
|
-
"bytes":
|
|
3692
|
-
"sha256": "
|
|
3691
|
+
"bytes": 85228,
|
|
3692
|
+
"sha256": "f7748a8971611a3c23e5e0bcbb3d49cf0854db12469961c074756f9887bd25a8"
|
|
3693
3693
|
},
|
|
3694
3694
|
{
|
|
3695
3695
|
"path": "skills/loom-pre-review/.loom-runtime/shared/scripts/loom_status.py",
|
|
@@ -3703,8 +3703,8 @@
|
|
|
3703
3703
|
},
|
|
3704
3704
|
{
|
|
3705
3705
|
"path": "skills/loom-pre-review/.loom-runtime/shared/scripts/runtime_state.py",
|
|
3706
|
-
"bytes":
|
|
3707
|
-
"sha256": "
|
|
3706
|
+
"bytes": 19697,
|
|
3707
|
+
"sha256": "5c5e096dbea072ab8e4f305ac06ee5d983e0bade519f6bea7fd119a92de52f09"
|
|
3708
3708
|
},
|
|
3709
3709
|
{
|
|
3710
3710
|
"path": "skills/loom-pre-review/.loom-runtime/upgrade-contract.json",
|
|
@@ -4293,8 +4293,8 @@
|
|
|
4293
4293
|
},
|
|
4294
4294
|
{
|
|
4295
4295
|
"path": "skills/loom-resume/.loom-runtime/shared/scripts/loom_check.py",
|
|
4296
|
-
"bytes":
|
|
4297
|
-
"sha256": "
|
|
4296
|
+
"bytes": 275385,
|
|
4297
|
+
"sha256": "6cf4df1afa7dd6772a18f45fdc10c14917ad457dc3fd2f5a48980081d4883daa"
|
|
4298
4298
|
},
|
|
4299
4299
|
{
|
|
4300
4300
|
"path": "skills/loom-resume/.loom-runtime/shared/scripts/loom_flow.py",
|
|
@@ -4303,8 +4303,8 @@
|
|
|
4303
4303
|
},
|
|
4304
4304
|
{
|
|
4305
4305
|
"path": "skills/loom-resume/.loom-runtime/shared/scripts/loom_init.py",
|
|
4306
|
-
"bytes":
|
|
4307
|
-
"sha256": "
|
|
4306
|
+
"bytes": 85228,
|
|
4307
|
+
"sha256": "f7748a8971611a3c23e5e0bcbb3d49cf0854db12469961c074756f9887bd25a8"
|
|
4308
4308
|
},
|
|
4309
4309
|
{
|
|
4310
4310
|
"path": "skills/loom-resume/.loom-runtime/shared/scripts/loom_status.py",
|
|
@@ -4318,8 +4318,8 @@
|
|
|
4318
4318
|
},
|
|
4319
4319
|
{
|
|
4320
4320
|
"path": "skills/loom-resume/.loom-runtime/shared/scripts/runtime_state.py",
|
|
4321
|
-
"bytes":
|
|
4322
|
-
"sha256": "
|
|
4321
|
+
"bytes": 19697,
|
|
4322
|
+
"sha256": "5c5e096dbea072ab8e4f305ac06ee5d983e0bade519f6bea7fd119a92de52f09"
|
|
4323
4323
|
},
|
|
4324
4324
|
{
|
|
4325
4325
|
"path": "skills/loom-resume/.loom-runtime/upgrade-contract.json",
|
|
@@ -4908,8 +4908,8 @@
|
|
|
4908
4908
|
},
|
|
4909
4909
|
{
|
|
4910
4910
|
"path": "skills/loom-retire/.loom-runtime/shared/scripts/loom_check.py",
|
|
4911
|
-
"bytes":
|
|
4912
|
-
"sha256": "
|
|
4911
|
+
"bytes": 275385,
|
|
4912
|
+
"sha256": "6cf4df1afa7dd6772a18f45fdc10c14917ad457dc3fd2f5a48980081d4883daa"
|
|
4913
4913
|
},
|
|
4914
4914
|
{
|
|
4915
4915
|
"path": "skills/loom-retire/.loom-runtime/shared/scripts/loom_flow.py",
|
|
@@ -4918,8 +4918,8 @@
|
|
|
4918
4918
|
},
|
|
4919
4919
|
{
|
|
4920
4920
|
"path": "skills/loom-retire/.loom-runtime/shared/scripts/loom_init.py",
|
|
4921
|
-
"bytes":
|
|
4922
|
-
"sha256": "
|
|
4921
|
+
"bytes": 85228,
|
|
4922
|
+
"sha256": "f7748a8971611a3c23e5e0bcbb3d49cf0854db12469961c074756f9887bd25a8"
|
|
4923
4923
|
},
|
|
4924
4924
|
{
|
|
4925
4925
|
"path": "skills/loom-retire/.loom-runtime/shared/scripts/loom_status.py",
|
|
@@ -4933,8 +4933,8 @@
|
|
|
4933
4933
|
},
|
|
4934
4934
|
{
|
|
4935
4935
|
"path": "skills/loom-retire/.loom-runtime/shared/scripts/runtime_state.py",
|
|
4936
|
-
"bytes":
|
|
4937
|
-
"sha256": "
|
|
4936
|
+
"bytes": 19697,
|
|
4937
|
+
"sha256": "5c5e096dbea072ab8e4f305ac06ee5d983e0bade519f6bea7fd119a92de52f09"
|
|
4938
4938
|
},
|
|
4939
4939
|
{
|
|
4940
4940
|
"path": "skills/loom-retire/.loom-runtime/upgrade-contract.json",
|
|
@@ -5523,8 +5523,8 @@
|
|
|
5523
5523
|
},
|
|
5524
5524
|
{
|
|
5525
5525
|
"path": "skills/loom-review/.loom-runtime/shared/scripts/loom_check.py",
|
|
5526
|
-
"bytes":
|
|
5527
|
-
"sha256": "
|
|
5526
|
+
"bytes": 275385,
|
|
5527
|
+
"sha256": "6cf4df1afa7dd6772a18f45fdc10c14917ad457dc3fd2f5a48980081d4883daa"
|
|
5528
5528
|
},
|
|
5529
5529
|
{
|
|
5530
5530
|
"path": "skills/loom-review/.loom-runtime/shared/scripts/loom_flow.py",
|
|
@@ -5533,8 +5533,8 @@
|
|
|
5533
5533
|
},
|
|
5534
5534
|
{
|
|
5535
5535
|
"path": "skills/loom-review/.loom-runtime/shared/scripts/loom_init.py",
|
|
5536
|
-
"bytes":
|
|
5537
|
-
"sha256": "
|
|
5536
|
+
"bytes": 85228,
|
|
5537
|
+
"sha256": "f7748a8971611a3c23e5e0bcbb3d49cf0854db12469961c074756f9887bd25a8"
|
|
5538
5538
|
},
|
|
5539
5539
|
{
|
|
5540
5540
|
"path": "skills/loom-review/.loom-runtime/shared/scripts/loom_status.py",
|
|
@@ -5548,8 +5548,8 @@
|
|
|
5548
5548
|
},
|
|
5549
5549
|
{
|
|
5550
5550
|
"path": "skills/loom-review/.loom-runtime/shared/scripts/runtime_state.py",
|
|
5551
|
-
"bytes":
|
|
5552
|
-
"sha256": "
|
|
5551
|
+
"bytes": 19697,
|
|
5552
|
+
"sha256": "5c5e096dbea072ab8e4f305ac06ee5d983e0bade519f6bea7fd119a92de52f09"
|
|
5553
5553
|
},
|
|
5554
5554
|
{
|
|
5555
5555
|
"path": "skills/loom-review/.loom-runtime/upgrade-contract.json",
|
|
@@ -6138,8 +6138,8 @@
|
|
|
6138
6138
|
},
|
|
6139
6139
|
{
|
|
6140
6140
|
"path": "skills/loom-spec-review/.loom-runtime/shared/scripts/loom_check.py",
|
|
6141
|
-
"bytes":
|
|
6142
|
-
"sha256": "
|
|
6141
|
+
"bytes": 275385,
|
|
6142
|
+
"sha256": "6cf4df1afa7dd6772a18f45fdc10c14917ad457dc3fd2f5a48980081d4883daa"
|
|
6143
6143
|
},
|
|
6144
6144
|
{
|
|
6145
6145
|
"path": "skills/loom-spec-review/.loom-runtime/shared/scripts/loom_flow.py",
|
|
@@ -6148,8 +6148,8 @@
|
|
|
6148
6148
|
},
|
|
6149
6149
|
{
|
|
6150
6150
|
"path": "skills/loom-spec-review/.loom-runtime/shared/scripts/loom_init.py",
|
|
6151
|
-
"bytes":
|
|
6152
|
-
"sha256": "
|
|
6151
|
+
"bytes": 85228,
|
|
6152
|
+
"sha256": "f7748a8971611a3c23e5e0bcbb3d49cf0854db12469961c074756f9887bd25a8"
|
|
6153
6153
|
},
|
|
6154
6154
|
{
|
|
6155
6155
|
"path": "skills/loom-spec-review/.loom-runtime/shared/scripts/loom_status.py",
|
|
@@ -6163,8 +6163,8 @@
|
|
|
6163
6163
|
},
|
|
6164
6164
|
{
|
|
6165
6165
|
"path": "skills/loom-spec-review/.loom-runtime/shared/scripts/runtime_state.py",
|
|
6166
|
-
"bytes":
|
|
6167
|
-
"sha256": "
|
|
6166
|
+
"bytes": 19697,
|
|
6167
|
+
"sha256": "5c5e096dbea072ab8e4f305ac06ee5d983e0bade519f6bea7fd119a92de52f09"
|
|
6168
6168
|
},
|
|
6169
6169
|
{
|
|
6170
6170
|
"path": "skills/loom-spec-review/.loom-runtime/upgrade-contract.json",
|
|
@@ -3675,14 +3675,15 @@ def check_daily_execution_cli(root: Path) -> list[Failure]:
|
|
|
3675
3675
|
root,
|
|
3676
3676
|
["python3", ".loom/bin/loom_init.py", "runtime-state", "--target", "."],
|
|
3677
3677
|
cwd=bootstrap_target,
|
|
3678
|
+
env={"LOOM_SOURCE_REPO_ROOT": "/tmp/not-loom"},
|
|
3678
3679
|
)
|
|
3679
3680
|
if error:
|
|
3680
|
-
failures.append(Failure("daily-execution-cli", f"`bootstrapped loom-init runtime-state` failed: {error}"))
|
|
3681
|
+
failures.append(Failure("daily-execution-cli", f"`bootstrapped loom-init runtime-state with unrelated source env` failed: {error}"))
|
|
3681
3682
|
else:
|
|
3682
3683
|
require_runtime_state_payload(
|
|
3683
3684
|
failures,
|
|
3684
3685
|
category="daily-execution-cli",
|
|
3685
|
-
context="`bootstrapped loom-init runtime-state`",
|
|
3686
|
+
context="`bootstrapped loom-init runtime-state with unrelated source env`",
|
|
3686
3687
|
payload=payload.get("runtime_state"),
|
|
3687
3688
|
expected_scene="installed-runtime",
|
|
3688
3689
|
expected_carrier="bootstrapped-target-runtime",
|
|
@@ -3710,6 +3711,27 @@ def check_daily_execution_cli(root: Path) -> list[Failure]:
|
|
|
3710
3711
|
elif payload.get("result") != "block":
|
|
3711
3712
|
failures.append(Failure("daily-execution-cli", "`bootstrapped runtime-state` must block when the bootstrap manifest drifts"))
|
|
3712
3713
|
|
|
3714
|
+
hash_drift_bootstrap = tmp_root / "hash-drift-bootstrapped-target"
|
|
3715
|
+
shutil.copytree(example_target, hash_drift_bootstrap)
|
|
3716
|
+
manifest_path = hash_drift_bootstrap / ".loom" / "bootstrap" / "manifest.json"
|
|
3717
|
+
manifest = load_json_file(manifest_path)
|
|
3718
|
+
if isinstance(manifest, dict):
|
|
3719
|
+
artifacts = manifest.get("artifacts")
|
|
3720
|
+
if isinstance(artifacts, list):
|
|
3721
|
+
for artifact in artifacts:
|
|
3722
|
+
if isinstance(artifact, dict) and artifact.get("path") == ".loom/bin/runtime_state.py":
|
|
3723
|
+
artifact["sha256"] = "0" * 64
|
|
3724
|
+
manifest_path.write_text(json.dumps(manifest, ensure_ascii=False, indent=2) + "\n", encoding="utf-8")
|
|
3725
|
+
payload, error = load_command_json(
|
|
3726
|
+
root,
|
|
3727
|
+
["python3", ".loom/bin/loom_init.py", "runtime-state", "--target", "."],
|
|
3728
|
+
cwd=hash_drift_bootstrap,
|
|
3729
|
+
)
|
|
3730
|
+
if error:
|
|
3731
|
+
failures.append(Failure("daily-execution-cli", f"`bootstrapped runtime-state` provenance hash drift failed unexpectedly: {error}"))
|
|
3732
|
+
elif payload.get("result") != "block":
|
|
3733
|
+
failures.append(Failure("daily-execution-cli", "`bootstrapped runtime-state` must block when runtime provenance hashes drift"))
|
|
3734
|
+
|
|
3713
3735
|
if shutil.which("git") is not None:
|
|
3714
3736
|
with tempfile.TemporaryDirectory(prefix="loom-check-installed-pre-merge-") as tmp:
|
|
3715
3737
|
tmp_root = Path(tmp)
|
|
@@ -4,7 +4,9 @@
|
|
|
4
4
|
from __future__ import annotations
|
|
5
5
|
|
|
6
6
|
import argparse
|
|
7
|
+
import hashlib
|
|
7
8
|
import json
|
|
9
|
+
import os
|
|
8
10
|
import re
|
|
9
11
|
import subprocess
|
|
10
12
|
import sys
|
|
@@ -26,6 +28,17 @@ TOOL_VERSION = "1.3.0"
|
|
|
26
28
|
CONTRACT_VERSION = "1.3.0"
|
|
27
29
|
WORK_ITEM_ID = "INIT-0001"
|
|
28
30
|
|
|
31
|
+
RUNTIME_ARTIFACT_SOURCES = {
|
|
32
|
+
".loom/bin/loom_init.py": RUNTIME_SOURCE,
|
|
33
|
+
".loom/bin/fact_chain_support.py": FACT_CHAIN_RUNTIME_SOURCE,
|
|
34
|
+
".loom/bin/governance_surface.py": GOVERNANCE_RUNTIME_SOURCE,
|
|
35
|
+
".loom/bin/loom_flow.py": FLOW_RUNTIME_SOURCE,
|
|
36
|
+
".loom/bin/loom_status.py": STATUS_RUNTIME_SOURCE,
|
|
37
|
+
".loom/bin/runtime_paths.py": "skills/shared/scripts/runtime_paths.py",
|
|
38
|
+
".loom/bin/runtime_state.py": "skills/shared/scripts/runtime_state.py",
|
|
39
|
+
".loom/bin/loom_check.py": CHECK_RUNTIME_SOURCE,
|
|
40
|
+
}
|
|
41
|
+
|
|
29
42
|
ROOT_BOUNDARY_FILES = (
|
|
30
43
|
"AGENTS.md",
|
|
31
44
|
"WORKFLOW.md",
|
|
@@ -815,46 +828,14 @@ def initial_artifacts(target_root: Path, install_pr_template: bool, adoption_pat
|
|
|
815
828
|
"kind": "capability-map",
|
|
816
829
|
"source": "generated",
|
|
817
830
|
},
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
"source": FACT_CHAIN_RUNTIME_SOURCE,
|
|
827
|
-
},
|
|
828
|
-
{
|
|
829
|
-
"path": ".loom/bin/governance_surface.py",
|
|
830
|
-
"kind": "loom-tool-support",
|
|
831
|
-
"source": GOVERNANCE_RUNTIME_SOURCE,
|
|
832
|
-
},
|
|
833
|
-
{
|
|
834
|
-
"path": ".loom/bin/loom_flow.py",
|
|
835
|
-
"kind": "loom-tool",
|
|
836
|
-
"source": FLOW_RUNTIME_SOURCE,
|
|
837
|
-
},
|
|
838
|
-
{
|
|
839
|
-
"path": ".loom/bin/loom_status.py",
|
|
840
|
-
"kind": "loom-tool",
|
|
841
|
-
"source": STATUS_RUNTIME_SOURCE,
|
|
842
|
-
},
|
|
843
|
-
{
|
|
844
|
-
"path": ".loom/bin/runtime_paths.py",
|
|
845
|
-
"kind": "loom-tool-support",
|
|
846
|
-
"source": "skills/shared/scripts/runtime_paths.py",
|
|
847
|
-
},
|
|
848
|
-
{
|
|
849
|
-
"path": ".loom/bin/runtime_state.py",
|
|
850
|
-
"kind": "loom-tool-support",
|
|
851
|
-
"source": "skills/shared/scripts/runtime_state.py",
|
|
852
|
-
},
|
|
853
|
-
{
|
|
854
|
-
"path": ".loom/bin/loom_check.py",
|
|
855
|
-
"kind": "loom-tool",
|
|
856
|
-
"source": CHECK_RUNTIME_SOURCE,
|
|
857
|
-
},
|
|
831
|
+
runtime_artifact(".loom/bin/loom_init.py", "loom-tool", RUNTIME_SOURCE),
|
|
832
|
+
runtime_artifact(".loom/bin/fact_chain_support.py", "loom-tool-support", FACT_CHAIN_RUNTIME_SOURCE),
|
|
833
|
+
runtime_artifact(".loom/bin/governance_surface.py", "loom-tool-support", GOVERNANCE_RUNTIME_SOURCE),
|
|
834
|
+
runtime_artifact(".loom/bin/loom_flow.py", "loom-tool", FLOW_RUNTIME_SOURCE),
|
|
835
|
+
runtime_artifact(".loom/bin/loom_status.py", "loom-tool", STATUS_RUNTIME_SOURCE),
|
|
836
|
+
runtime_artifact(".loom/bin/runtime_paths.py", "loom-tool-support", "skills/shared/scripts/runtime_paths.py"),
|
|
837
|
+
runtime_artifact(".loom/bin/runtime_state.py", "loom-tool-support", "skills/shared/scripts/runtime_state.py"),
|
|
838
|
+
runtime_artifact(".loom/bin/loom_check.py", "loom-tool", CHECK_RUNTIME_SOURCE),
|
|
858
839
|
]
|
|
859
840
|
if uses_attach_only_path(adoption_path):
|
|
860
841
|
artifacts.extend(
|
|
@@ -1361,6 +1342,34 @@ def copy_file(source: Path, target: Path, force: bool) -> bool:
|
|
|
1361
1342
|
return write_text(target, content, force=force)
|
|
1362
1343
|
|
|
1363
1344
|
|
|
1345
|
+
def sha256_file(path: Path) -> str:
|
|
1346
|
+
digest = hashlib.sha256()
|
|
1347
|
+
with path.open("rb") as handle:
|
|
1348
|
+
for chunk in iter(lambda: handle.read(1024 * 1024), b""):
|
|
1349
|
+
digest.update(chunk)
|
|
1350
|
+
return digest.hexdigest()
|
|
1351
|
+
|
|
1352
|
+
|
|
1353
|
+
def runtime_artifact(path: str, kind: str, source: str) -> dict[str, str]:
|
|
1354
|
+
runtime_sources = {
|
|
1355
|
+
".loom/bin/loom_init.py": Path(__file__),
|
|
1356
|
+
".loom/bin/fact_chain_support.py": Path(__file__).with_name("fact_chain_support.py"),
|
|
1357
|
+
".loom/bin/governance_surface.py": Path(__file__).with_name("governance_surface.py"),
|
|
1358
|
+
".loom/bin/loom_flow.py": Path(__file__).with_name("loom_flow.py"),
|
|
1359
|
+
".loom/bin/loom_status.py": Path(__file__).with_name("loom_status.py"),
|
|
1360
|
+
".loom/bin/runtime_paths.py": Path(__file__).with_name("runtime_paths.py"),
|
|
1361
|
+
".loom/bin/runtime_state.py": Path(__file__).with_name("runtime_state.py"),
|
|
1362
|
+
".loom/bin/loom_check.py": Path(__file__).with_name("loom_check.py"),
|
|
1363
|
+
}
|
|
1364
|
+
source_path = runtime_sources[path]
|
|
1365
|
+
return {
|
|
1366
|
+
"path": path,
|
|
1367
|
+
"kind": kind,
|
|
1368
|
+
"source": source,
|
|
1369
|
+
"sha256": sha256_file(source_path),
|
|
1370
|
+
}
|
|
1371
|
+
|
|
1372
|
+
|
|
1364
1373
|
def manifest_payload(result: dict[str, object]) -> dict[str, object]:
|
|
1365
1374
|
return {
|
|
1366
1375
|
"schema_version": "loom-bootstrap-manifest/v1",
|
|
@@ -1745,12 +1754,16 @@ def verify_target(target_root: Path, output_path: Path) -> list[str]:
|
|
|
1745
1754
|
)
|
|
1746
1755
|
|
|
1747
1756
|
for label, command, allowed in commands:
|
|
1757
|
+
command_env = os.environ.copy()
|
|
1758
|
+
for key in ("LOOM_SOURCE_REPO_ROOT", "LOOM_INSTALLED_SKILLS_ROOT", "LOOM_RUNTIME_SCENE"):
|
|
1759
|
+
command_env.pop(key, None)
|
|
1748
1760
|
result = subprocess.run(
|
|
1749
1761
|
command,
|
|
1750
1762
|
cwd=target_root,
|
|
1751
1763
|
check=False,
|
|
1752
1764
|
capture_output=True,
|
|
1753
1765
|
text=True,
|
|
1766
|
+
env=command_env,
|
|
1754
1767
|
)
|
|
1755
1768
|
output = result.stdout.strip()
|
|
1756
1769
|
if not output:
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
from __future__ import annotations
|
|
5
5
|
|
|
6
6
|
import json
|
|
7
|
+
import hashlib
|
|
7
8
|
import os
|
|
8
9
|
from pathlib import Path
|
|
9
10
|
from typing import Any
|
|
@@ -76,15 +77,23 @@ def _check(status: str, summary: str, *, evidence: object | None = None) -> dict
|
|
|
76
77
|
|
|
77
78
|
|
|
78
79
|
def detect_carrier(caller_file: str) -> str | None:
|
|
79
|
-
if source_repo_root() is not None:
|
|
80
|
-
return "repo-local-wrapper"
|
|
81
80
|
if bootstrap_runtime_root(caller_file) is not None:
|
|
82
81
|
return "bootstrapped-target-runtime"
|
|
82
|
+
if source_repo_root() is not None:
|
|
83
|
+
return "repo-local-wrapper"
|
|
83
84
|
if installed_skills_root(caller_file) is not None:
|
|
84
85
|
return "installed-skills-root"
|
|
85
86
|
return None
|
|
86
87
|
|
|
87
88
|
|
|
89
|
+
def sha256_file(path: Path) -> str:
|
|
90
|
+
digest = hashlib.sha256()
|
|
91
|
+
with path.open("rb") as handle:
|
|
92
|
+
for chunk in iter(lambda: handle.read(1024 * 1024), b""):
|
|
93
|
+
digest.update(chunk)
|
|
94
|
+
return digest.hexdigest()
|
|
95
|
+
|
|
96
|
+
|
|
88
97
|
def _default_scene_for_carrier(carrier: str) -> str:
|
|
89
98
|
if carrier == "repo-local-wrapper":
|
|
90
99
|
return "repo-local-demo"
|
|
@@ -284,6 +293,14 @@ def _validate_bootstrapped_runtime(caller_file: str) -> tuple[dict[str, Any], li
|
|
|
284
293
|
runtime_file = runtime_root / Path(relative).name
|
|
285
294
|
if not runtime_file.exists():
|
|
286
295
|
errors.append(f"bootstrapped runtime file is missing: `{relative}`")
|
|
296
|
+
continue
|
|
297
|
+
expected_hash = artifact.get("sha256")
|
|
298
|
+
if not isinstance(expected_hash, str) or not expected_hash.strip():
|
|
299
|
+
errors.append(f"bootstrap runtime artifact `{relative}` must declare sha256 provenance")
|
|
300
|
+
continue
|
|
301
|
+
actual_hash = sha256_file(runtime_file)
|
|
302
|
+
if actual_hash != expected_hash:
|
|
303
|
+
errors.append(f"bootstrap runtime artifact `{relative}` sha256 drifted")
|
|
287
304
|
|
|
288
305
|
status = "pass" if not errors else "block"
|
|
289
306
|
summary = (
|
|
@@ -3675,14 +3675,15 @@ def check_daily_execution_cli(root: Path) -> list[Failure]:
|
|
|
3675
3675
|
root,
|
|
3676
3676
|
["python3", ".loom/bin/loom_init.py", "runtime-state", "--target", "."],
|
|
3677
3677
|
cwd=bootstrap_target,
|
|
3678
|
+
env={"LOOM_SOURCE_REPO_ROOT": "/tmp/not-loom"},
|
|
3678
3679
|
)
|
|
3679
3680
|
if error:
|
|
3680
|
-
failures.append(Failure("daily-execution-cli", f"`bootstrapped loom-init runtime-state` failed: {error}"))
|
|
3681
|
+
failures.append(Failure("daily-execution-cli", f"`bootstrapped loom-init runtime-state with unrelated source env` failed: {error}"))
|
|
3681
3682
|
else:
|
|
3682
3683
|
require_runtime_state_payload(
|
|
3683
3684
|
failures,
|
|
3684
3685
|
category="daily-execution-cli",
|
|
3685
|
-
context="`bootstrapped loom-init runtime-state`",
|
|
3686
|
+
context="`bootstrapped loom-init runtime-state with unrelated source env`",
|
|
3686
3687
|
payload=payload.get("runtime_state"),
|
|
3687
3688
|
expected_scene="installed-runtime",
|
|
3688
3689
|
expected_carrier="bootstrapped-target-runtime",
|
|
@@ -3710,6 +3711,27 @@ def check_daily_execution_cli(root: Path) -> list[Failure]:
|
|
|
3710
3711
|
elif payload.get("result") != "block":
|
|
3711
3712
|
failures.append(Failure("daily-execution-cli", "`bootstrapped runtime-state` must block when the bootstrap manifest drifts"))
|
|
3712
3713
|
|
|
3714
|
+
hash_drift_bootstrap = tmp_root / "hash-drift-bootstrapped-target"
|
|
3715
|
+
shutil.copytree(example_target, hash_drift_bootstrap)
|
|
3716
|
+
manifest_path = hash_drift_bootstrap / ".loom" / "bootstrap" / "manifest.json"
|
|
3717
|
+
manifest = load_json_file(manifest_path)
|
|
3718
|
+
if isinstance(manifest, dict):
|
|
3719
|
+
artifacts = manifest.get("artifacts")
|
|
3720
|
+
if isinstance(artifacts, list):
|
|
3721
|
+
for artifact in artifacts:
|
|
3722
|
+
if isinstance(artifact, dict) and artifact.get("path") == ".loom/bin/runtime_state.py":
|
|
3723
|
+
artifact["sha256"] = "0" * 64
|
|
3724
|
+
manifest_path.write_text(json.dumps(manifest, ensure_ascii=False, indent=2) + "\n", encoding="utf-8")
|
|
3725
|
+
payload, error = load_command_json(
|
|
3726
|
+
root,
|
|
3727
|
+
["python3", ".loom/bin/loom_init.py", "runtime-state", "--target", "."],
|
|
3728
|
+
cwd=hash_drift_bootstrap,
|
|
3729
|
+
)
|
|
3730
|
+
if error:
|
|
3731
|
+
failures.append(Failure("daily-execution-cli", f"`bootstrapped runtime-state` provenance hash drift failed unexpectedly: {error}"))
|
|
3732
|
+
elif payload.get("result") != "block":
|
|
3733
|
+
failures.append(Failure("daily-execution-cli", "`bootstrapped runtime-state` must block when runtime provenance hashes drift"))
|
|
3734
|
+
|
|
3713
3735
|
if shutil.which("git") is not None:
|
|
3714
3736
|
with tempfile.TemporaryDirectory(prefix="loom-check-installed-pre-merge-") as tmp:
|
|
3715
3737
|
tmp_root = Path(tmp)
|