@mc-and-his-agents/loom-installer 0.1.21 → 0.1.23
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 +102 -102
- package/payload/plugin/loom/skills/shared/scripts/governance_surface.py +57 -14
- package/payload/plugin/loom/skills/shared/scripts/loom_check.py +87 -0
- package/payload/plugin/loom/skills/shared/scripts/loom_flow.py +9 -6
- package/payload/plugin/loom/skills/shared/scripts/loom_init.py +57 -50
- package/payload/plugin/loom/skills/shared/scripts/runtime_state.py +17 -0
- package/payload/skills/loom-adopt/.loom-runtime/shared/scripts/governance_surface.py +57 -14
- package/payload/skills/loom-adopt/.loom-runtime/shared/scripts/loom_check.py +87 -0
- package/payload/skills/loom-adopt/.loom-runtime/shared/scripts/loom_flow.py +9 -6
- package/payload/skills/loom-adopt/.loom-runtime/shared/scripts/loom_init.py +57 -50
- package/payload/skills/loom-adopt/.loom-runtime/shared/scripts/runtime_state.py +17 -0
- package/payload/skills/loom-handoff/.loom-runtime/shared/scripts/governance_surface.py +57 -14
- package/payload/skills/loom-handoff/.loom-runtime/shared/scripts/loom_check.py +87 -0
- package/payload/skills/loom-handoff/.loom-runtime/shared/scripts/loom_flow.py +9 -6
- package/payload/skills/loom-handoff/.loom-runtime/shared/scripts/loom_init.py +57 -50
- package/payload/skills/loom-handoff/.loom-runtime/shared/scripts/runtime_state.py +17 -0
- package/payload/skills/loom-init/.loom-runtime/shared/scripts/governance_surface.py +57 -14
- package/payload/skills/loom-init/.loom-runtime/shared/scripts/loom_check.py +87 -0
- package/payload/skills/loom-init/.loom-runtime/shared/scripts/loom_flow.py +9 -6
- package/payload/skills/loom-init/.loom-runtime/shared/scripts/loom_init.py +57 -50
- package/payload/skills/loom-init/.loom-runtime/shared/scripts/runtime_state.py +17 -0
- package/payload/skills/loom-merge-ready/.loom-runtime/shared/scripts/governance_surface.py +57 -14
- package/payload/skills/loom-merge-ready/.loom-runtime/shared/scripts/loom_check.py +87 -0
- package/payload/skills/loom-merge-ready/.loom-runtime/shared/scripts/loom_flow.py +9 -6
- package/payload/skills/loom-merge-ready/.loom-runtime/shared/scripts/loom_init.py +57 -50
- package/payload/skills/loom-merge-ready/.loom-runtime/shared/scripts/runtime_state.py +17 -0
- package/payload/skills/loom-pre-review/.loom-runtime/shared/scripts/governance_surface.py +57 -14
- package/payload/skills/loom-pre-review/.loom-runtime/shared/scripts/loom_check.py +87 -0
- package/payload/skills/loom-pre-review/.loom-runtime/shared/scripts/loom_flow.py +9 -6
- package/payload/skills/loom-pre-review/.loom-runtime/shared/scripts/loom_init.py +57 -50
- package/payload/skills/loom-pre-review/.loom-runtime/shared/scripts/runtime_state.py +17 -0
- package/payload/skills/loom-resume/.loom-runtime/shared/scripts/governance_surface.py +57 -14
- package/payload/skills/loom-resume/.loom-runtime/shared/scripts/loom_check.py +87 -0
- package/payload/skills/loom-resume/.loom-runtime/shared/scripts/loom_flow.py +9 -6
- package/payload/skills/loom-resume/.loom-runtime/shared/scripts/loom_init.py +57 -50
- package/payload/skills/loom-resume/.loom-runtime/shared/scripts/runtime_state.py +17 -0
- package/payload/skills/loom-retire/.loom-runtime/shared/scripts/governance_surface.py +57 -14
- package/payload/skills/loom-retire/.loom-runtime/shared/scripts/loom_check.py +87 -0
- package/payload/skills/loom-retire/.loom-runtime/shared/scripts/loom_flow.py +9 -6
- package/payload/skills/loom-retire/.loom-runtime/shared/scripts/loom_init.py +57 -50
- package/payload/skills/loom-retire/.loom-runtime/shared/scripts/runtime_state.py +17 -0
- package/payload/skills/loom-review/.loom-runtime/shared/scripts/governance_surface.py +57 -14
- package/payload/skills/loom-review/.loom-runtime/shared/scripts/loom_check.py +87 -0
- package/payload/skills/loom-review/.loom-runtime/shared/scripts/loom_flow.py +9 -6
- package/payload/skills/loom-review/.loom-runtime/shared/scripts/loom_init.py +57 -50
- package/payload/skills/loom-review/.loom-runtime/shared/scripts/runtime_state.py +17 -0
- package/payload/skills/loom-spec-review/.loom-runtime/shared/scripts/governance_surface.py +57 -14
- package/payload/skills/loom-spec-review/.loom-runtime/shared/scripts/loom_check.py +87 -0
- package/payload/skills/loom-spec-review/.loom-runtime/shared/scripts/loom_flow.py +9 -6
- package/payload/skills/loom-spec-review/.loom-runtime/shared/scripts/loom_init.py +57 -50
- package/payload/skills/loom-spec-review/.loom-runtime/shared/scripts/runtime_state.py +17 -0
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": "9ba44dcc76daf7e100edafd5943b99c4a69ba710",
|
|
6
6
|
"source_ref": "main",
|
|
7
|
-
"built_at": "2026-04-
|
|
7
|
+
"built_at": "2026-04-26T23:19:03+08:00",
|
|
8
8
|
"runtime": {
|
|
9
9
|
"python_minimum": "3.10",
|
|
10
10
|
"python_recommended": "3.11+"
|
|
@@ -623,23 +623,23 @@
|
|
|
623
623
|
},
|
|
624
624
|
{
|
|
625
625
|
"path": "plugin/loom/skills/shared/scripts/governance_surface.py",
|
|
626
|
-
"bytes":
|
|
627
|
-
"sha256": "
|
|
626
|
+
"bytes": 53833,
|
|
627
|
+
"sha256": "d12f21d009a5127a4b0aba70bc23e111a51a490017879ee59d51c22db65b5f0a"
|
|
628
628
|
},
|
|
629
629
|
{
|
|
630
630
|
"path": "plugin/loom/skills/shared/scripts/loom_check.py",
|
|
631
|
-
"bytes":
|
|
632
|
-
"sha256": "
|
|
631
|
+
"bytes": 278763,
|
|
632
|
+
"sha256": "3b2257fddc37fdb514953500a38e94ca241a5889a5c6343b975db5a1109bbff4"
|
|
633
633
|
},
|
|
634
634
|
{
|
|
635
635
|
"path": "plugin/loom/skills/shared/scripts/loom_flow.py",
|
|
636
|
-
"bytes":
|
|
637
|
-
"sha256": "
|
|
636
|
+
"bytes": 290661,
|
|
637
|
+
"sha256": "18c5dc39a4cd2982a40c729807b12c2b15efd41a2962719b5491b06dad83c028"
|
|
638
638
|
},
|
|
639
639
|
{
|
|
640
640
|
"path": "plugin/loom/skills/shared/scripts/loom_init.py",
|
|
641
|
-
"bytes":
|
|
642
|
-
"sha256": "
|
|
641
|
+
"bytes": 85225,
|
|
642
|
+
"sha256": "fc819d8172a1525c4fb86cbee680110c655101b6d6db7471a4d6c50d5c0bc1fc"
|
|
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",
|
|
@@ -1208,23 +1208,23 @@
|
|
|
1208
1208
|
},
|
|
1209
1209
|
{
|
|
1210
1210
|
"path": "skills/loom-adopt/.loom-runtime/shared/scripts/governance_surface.py",
|
|
1211
|
-
"bytes":
|
|
1212
|
-
"sha256": "
|
|
1211
|
+
"bytes": 53833,
|
|
1212
|
+
"sha256": "d12f21d009a5127a4b0aba70bc23e111a51a490017879ee59d51c22db65b5f0a"
|
|
1213
1213
|
},
|
|
1214
1214
|
{
|
|
1215
1215
|
"path": "skills/loom-adopt/.loom-runtime/shared/scripts/loom_check.py",
|
|
1216
|
-
"bytes":
|
|
1217
|
-
"sha256": "
|
|
1216
|
+
"bytes": 278763,
|
|
1217
|
+
"sha256": "3b2257fddc37fdb514953500a38e94ca241a5889a5c6343b975db5a1109bbff4"
|
|
1218
1218
|
},
|
|
1219
1219
|
{
|
|
1220
1220
|
"path": "skills/loom-adopt/.loom-runtime/shared/scripts/loom_flow.py",
|
|
1221
|
-
"bytes":
|
|
1222
|
-
"sha256": "
|
|
1221
|
+
"bytes": 290661,
|
|
1222
|
+
"sha256": "18c5dc39a4cd2982a40c729807b12c2b15efd41a2962719b5491b06dad83c028"
|
|
1223
1223
|
},
|
|
1224
1224
|
{
|
|
1225
1225
|
"path": "skills/loom-adopt/.loom-runtime/shared/scripts/loom_init.py",
|
|
1226
|
-
"bytes":
|
|
1227
|
-
"sha256": "
|
|
1226
|
+
"bytes": 85225,
|
|
1227
|
+
"sha256": "fc819d8172a1525c4fb86cbee680110c655101b6d6db7471a4d6c50d5c0bc1fc"
|
|
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",
|
|
@@ -1823,23 +1823,23 @@
|
|
|
1823
1823
|
},
|
|
1824
1824
|
{
|
|
1825
1825
|
"path": "skills/loom-handoff/.loom-runtime/shared/scripts/governance_surface.py",
|
|
1826
|
-
"bytes":
|
|
1827
|
-
"sha256": "
|
|
1826
|
+
"bytes": 53833,
|
|
1827
|
+
"sha256": "d12f21d009a5127a4b0aba70bc23e111a51a490017879ee59d51c22db65b5f0a"
|
|
1828
1828
|
},
|
|
1829
1829
|
{
|
|
1830
1830
|
"path": "skills/loom-handoff/.loom-runtime/shared/scripts/loom_check.py",
|
|
1831
|
-
"bytes":
|
|
1832
|
-
"sha256": "
|
|
1831
|
+
"bytes": 278763,
|
|
1832
|
+
"sha256": "3b2257fddc37fdb514953500a38e94ca241a5889a5c6343b975db5a1109bbff4"
|
|
1833
1833
|
},
|
|
1834
1834
|
{
|
|
1835
1835
|
"path": "skills/loom-handoff/.loom-runtime/shared/scripts/loom_flow.py",
|
|
1836
|
-
"bytes":
|
|
1837
|
-
"sha256": "
|
|
1836
|
+
"bytes": 290661,
|
|
1837
|
+
"sha256": "18c5dc39a4cd2982a40c729807b12c2b15efd41a2962719b5491b06dad83c028"
|
|
1838
1838
|
},
|
|
1839
1839
|
{
|
|
1840
1840
|
"path": "skills/loom-handoff/.loom-runtime/shared/scripts/loom_init.py",
|
|
1841
|
-
"bytes":
|
|
1842
|
-
"sha256": "
|
|
1841
|
+
"bytes": 85225,
|
|
1842
|
+
"sha256": "fc819d8172a1525c4fb86cbee680110c655101b6d6db7471a4d6c50d5c0bc1fc"
|
|
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",
|
|
@@ -2438,23 +2438,23 @@
|
|
|
2438
2438
|
},
|
|
2439
2439
|
{
|
|
2440
2440
|
"path": "skills/loom-init/.loom-runtime/shared/scripts/governance_surface.py",
|
|
2441
|
-
"bytes":
|
|
2442
|
-
"sha256": "
|
|
2441
|
+
"bytes": 53833,
|
|
2442
|
+
"sha256": "d12f21d009a5127a4b0aba70bc23e111a51a490017879ee59d51c22db65b5f0a"
|
|
2443
2443
|
},
|
|
2444
2444
|
{
|
|
2445
2445
|
"path": "skills/loom-init/.loom-runtime/shared/scripts/loom_check.py",
|
|
2446
|
-
"bytes":
|
|
2447
|
-
"sha256": "
|
|
2446
|
+
"bytes": 278763,
|
|
2447
|
+
"sha256": "3b2257fddc37fdb514953500a38e94ca241a5889a5c6343b975db5a1109bbff4"
|
|
2448
2448
|
},
|
|
2449
2449
|
{
|
|
2450
2450
|
"path": "skills/loom-init/.loom-runtime/shared/scripts/loom_flow.py",
|
|
2451
|
-
"bytes":
|
|
2452
|
-
"sha256": "
|
|
2451
|
+
"bytes": 290661,
|
|
2452
|
+
"sha256": "18c5dc39a4cd2982a40c729807b12c2b15efd41a2962719b5491b06dad83c028"
|
|
2453
2453
|
},
|
|
2454
2454
|
{
|
|
2455
2455
|
"path": "skills/loom-init/.loom-runtime/shared/scripts/loom_init.py",
|
|
2456
|
-
"bytes":
|
|
2457
|
-
"sha256": "
|
|
2456
|
+
"bytes": 85225,
|
|
2457
|
+
"sha256": "fc819d8172a1525c4fb86cbee680110c655101b6d6db7471a4d6c50d5c0bc1fc"
|
|
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",
|
|
@@ -3058,23 +3058,23 @@
|
|
|
3058
3058
|
},
|
|
3059
3059
|
{
|
|
3060
3060
|
"path": "skills/loom-merge-ready/.loom-runtime/shared/scripts/governance_surface.py",
|
|
3061
|
-
"bytes":
|
|
3062
|
-
"sha256": "
|
|
3061
|
+
"bytes": 53833,
|
|
3062
|
+
"sha256": "d12f21d009a5127a4b0aba70bc23e111a51a490017879ee59d51c22db65b5f0a"
|
|
3063
3063
|
},
|
|
3064
3064
|
{
|
|
3065
3065
|
"path": "skills/loom-merge-ready/.loom-runtime/shared/scripts/loom_check.py",
|
|
3066
|
-
"bytes":
|
|
3067
|
-
"sha256": "
|
|
3066
|
+
"bytes": 278763,
|
|
3067
|
+
"sha256": "3b2257fddc37fdb514953500a38e94ca241a5889a5c6343b975db5a1109bbff4"
|
|
3068
3068
|
},
|
|
3069
3069
|
{
|
|
3070
3070
|
"path": "skills/loom-merge-ready/.loom-runtime/shared/scripts/loom_flow.py",
|
|
3071
|
-
"bytes":
|
|
3072
|
-
"sha256": "
|
|
3071
|
+
"bytes": 290661,
|
|
3072
|
+
"sha256": "18c5dc39a4cd2982a40c729807b12c2b15efd41a2962719b5491b06dad83c028"
|
|
3073
3073
|
},
|
|
3074
3074
|
{
|
|
3075
3075
|
"path": "skills/loom-merge-ready/.loom-runtime/shared/scripts/loom_init.py",
|
|
3076
|
-
"bytes":
|
|
3077
|
-
"sha256": "
|
|
3076
|
+
"bytes": 85225,
|
|
3077
|
+
"sha256": "fc819d8172a1525c4fb86cbee680110c655101b6d6db7471a4d6c50d5c0bc1fc"
|
|
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",
|
|
@@ -3673,23 +3673,23 @@
|
|
|
3673
3673
|
},
|
|
3674
3674
|
{
|
|
3675
3675
|
"path": "skills/loom-pre-review/.loom-runtime/shared/scripts/governance_surface.py",
|
|
3676
|
-
"bytes":
|
|
3677
|
-
"sha256": "
|
|
3676
|
+
"bytes": 53833,
|
|
3677
|
+
"sha256": "d12f21d009a5127a4b0aba70bc23e111a51a490017879ee59d51c22db65b5f0a"
|
|
3678
3678
|
},
|
|
3679
3679
|
{
|
|
3680
3680
|
"path": "skills/loom-pre-review/.loom-runtime/shared/scripts/loom_check.py",
|
|
3681
|
-
"bytes":
|
|
3682
|
-
"sha256": "
|
|
3681
|
+
"bytes": 278763,
|
|
3682
|
+
"sha256": "3b2257fddc37fdb514953500a38e94ca241a5889a5c6343b975db5a1109bbff4"
|
|
3683
3683
|
},
|
|
3684
3684
|
{
|
|
3685
3685
|
"path": "skills/loom-pre-review/.loom-runtime/shared/scripts/loom_flow.py",
|
|
3686
|
-
"bytes":
|
|
3687
|
-
"sha256": "
|
|
3686
|
+
"bytes": 290661,
|
|
3687
|
+
"sha256": "18c5dc39a4cd2982a40c729807b12c2b15efd41a2962719b5491b06dad83c028"
|
|
3688
3688
|
},
|
|
3689
3689
|
{
|
|
3690
3690
|
"path": "skills/loom-pre-review/.loom-runtime/shared/scripts/loom_init.py",
|
|
3691
|
-
"bytes":
|
|
3692
|
-
"sha256": "
|
|
3691
|
+
"bytes": 85225,
|
|
3692
|
+
"sha256": "fc819d8172a1525c4fb86cbee680110c655101b6d6db7471a4d6c50d5c0bc1fc"
|
|
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",
|
|
@@ -4288,23 +4288,23 @@
|
|
|
4288
4288
|
},
|
|
4289
4289
|
{
|
|
4290
4290
|
"path": "skills/loom-resume/.loom-runtime/shared/scripts/governance_surface.py",
|
|
4291
|
-
"bytes":
|
|
4292
|
-
"sha256": "
|
|
4291
|
+
"bytes": 53833,
|
|
4292
|
+
"sha256": "d12f21d009a5127a4b0aba70bc23e111a51a490017879ee59d51c22db65b5f0a"
|
|
4293
4293
|
},
|
|
4294
4294
|
{
|
|
4295
4295
|
"path": "skills/loom-resume/.loom-runtime/shared/scripts/loom_check.py",
|
|
4296
|
-
"bytes":
|
|
4297
|
-
"sha256": "
|
|
4296
|
+
"bytes": 278763,
|
|
4297
|
+
"sha256": "3b2257fddc37fdb514953500a38e94ca241a5889a5c6343b975db5a1109bbff4"
|
|
4298
4298
|
},
|
|
4299
4299
|
{
|
|
4300
4300
|
"path": "skills/loom-resume/.loom-runtime/shared/scripts/loom_flow.py",
|
|
4301
|
-
"bytes":
|
|
4302
|
-
"sha256": "
|
|
4301
|
+
"bytes": 290661,
|
|
4302
|
+
"sha256": "18c5dc39a4cd2982a40c729807b12c2b15efd41a2962719b5491b06dad83c028"
|
|
4303
4303
|
},
|
|
4304
4304
|
{
|
|
4305
4305
|
"path": "skills/loom-resume/.loom-runtime/shared/scripts/loom_init.py",
|
|
4306
|
-
"bytes":
|
|
4307
|
-
"sha256": "
|
|
4306
|
+
"bytes": 85225,
|
|
4307
|
+
"sha256": "fc819d8172a1525c4fb86cbee680110c655101b6d6db7471a4d6c50d5c0bc1fc"
|
|
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",
|
|
@@ -4903,23 +4903,23 @@
|
|
|
4903
4903
|
},
|
|
4904
4904
|
{
|
|
4905
4905
|
"path": "skills/loom-retire/.loom-runtime/shared/scripts/governance_surface.py",
|
|
4906
|
-
"bytes":
|
|
4907
|
-
"sha256": "
|
|
4906
|
+
"bytes": 53833,
|
|
4907
|
+
"sha256": "d12f21d009a5127a4b0aba70bc23e111a51a490017879ee59d51c22db65b5f0a"
|
|
4908
4908
|
},
|
|
4909
4909
|
{
|
|
4910
4910
|
"path": "skills/loom-retire/.loom-runtime/shared/scripts/loom_check.py",
|
|
4911
|
-
"bytes":
|
|
4912
|
-
"sha256": "
|
|
4911
|
+
"bytes": 278763,
|
|
4912
|
+
"sha256": "3b2257fddc37fdb514953500a38e94ca241a5889a5c6343b975db5a1109bbff4"
|
|
4913
4913
|
},
|
|
4914
4914
|
{
|
|
4915
4915
|
"path": "skills/loom-retire/.loom-runtime/shared/scripts/loom_flow.py",
|
|
4916
|
-
"bytes":
|
|
4917
|
-
"sha256": "
|
|
4916
|
+
"bytes": 290661,
|
|
4917
|
+
"sha256": "18c5dc39a4cd2982a40c729807b12c2b15efd41a2962719b5491b06dad83c028"
|
|
4918
4918
|
},
|
|
4919
4919
|
{
|
|
4920
4920
|
"path": "skills/loom-retire/.loom-runtime/shared/scripts/loom_init.py",
|
|
4921
|
-
"bytes":
|
|
4922
|
-
"sha256": "
|
|
4921
|
+
"bytes": 85225,
|
|
4922
|
+
"sha256": "fc819d8172a1525c4fb86cbee680110c655101b6d6db7471a4d6c50d5c0bc1fc"
|
|
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",
|
|
@@ -5518,23 +5518,23 @@
|
|
|
5518
5518
|
},
|
|
5519
5519
|
{
|
|
5520
5520
|
"path": "skills/loom-review/.loom-runtime/shared/scripts/governance_surface.py",
|
|
5521
|
-
"bytes":
|
|
5522
|
-
"sha256": "
|
|
5521
|
+
"bytes": 53833,
|
|
5522
|
+
"sha256": "d12f21d009a5127a4b0aba70bc23e111a51a490017879ee59d51c22db65b5f0a"
|
|
5523
5523
|
},
|
|
5524
5524
|
{
|
|
5525
5525
|
"path": "skills/loom-review/.loom-runtime/shared/scripts/loom_check.py",
|
|
5526
|
-
"bytes":
|
|
5527
|
-
"sha256": "
|
|
5526
|
+
"bytes": 278763,
|
|
5527
|
+
"sha256": "3b2257fddc37fdb514953500a38e94ca241a5889a5c6343b975db5a1109bbff4"
|
|
5528
5528
|
},
|
|
5529
5529
|
{
|
|
5530
5530
|
"path": "skills/loom-review/.loom-runtime/shared/scripts/loom_flow.py",
|
|
5531
|
-
"bytes":
|
|
5532
|
-
"sha256": "
|
|
5531
|
+
"bytes": 290661,
|
|
5532
|
+
"sha256": "18c5dc39a4cd2982a40c729807b12c2b15efd41a2962719b5491b06dad83c028"
|
|
5533
5533
|
},
|
|
5534
5534
|
{
|
|
5535
5535
|
"path": "skills/loom-review/.loom-runtime/shared/scripts/loom_init.py",
|
|
5536
|
-
"bytes":
|
|
5537
|
-
"sha256": "
|
|
5536
|
+
"bytes": 85225,
|
|
5537
|
+
"sha256": "fc819d8172a1525c4fb86cbee680110c655101b6d6db7471a4d6c50d5c0bc1fc"
|
|
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",
|
|
@@ -6133,23 +6133,23 @@
|
|
|
6133
6133
|
},
|
|
6134
6134
|
{
|
|
6135
6135
|
"path": "skills/loom-spec-review/.loom-runtime/shared/scripts/governance_surface.py",
|
|
6136
|
-
"bytes":
|
|
6137
|
-
"sha256": "
|
|
6136
|
+
"bytes": 53833,
|
|
6137
|
+
"sha256": "d12f21d009a5127a4b0aba70bc23e111a51a490017879ee59d51c22db65b5f0a"
|
|
6138
6138
|
},
|
|
6139
6139
|
{
|
|
6140
6140
|
"path": "skills/loom-spec-review/.loom-runtime/shared/scripts/loom_check.py",
|
|
6141
|
-
"bytes":
|
|
6142
|
-
"sha256": "
|
|
6141
|
+
"bytes": 278763,
|
|
6142
|
+
"sha256": "3b2257fddc37fdb514953500a38e94ca241a5889a5c6343b975db5a1109bbff4"
|
|
6143
6143
|
},
|
|
6144
6144
|
{
|
|
6145
6145
|
"path": "skills/loom-spec-review/.loom-runtime/shared/scripts/loom_flow.py",
|
|
6146
|
-
"bytes":
|
|
6147
|
-
"sha256": "
|
|
6146
|
+
"bytes": 290661,
|
|
6147
|
+
"sha256": "18c5dc39a4cd2982a40c729807b12c2b15efd41a2962719b5491b06dad83c028"
|
|
6148
6148
|
},
|
|
6149
6149
|
{
|
|
6150
6150
|
"path": "skills/loom-spec-review/.loom-runtime/shared/scripts/loom_init.py",
|
|
6151
|
-
"bytes":
|
|
6152
|
-
"sha256": "
|
|
6151
|
+
"bytes": 85225,
|
|
6152
|
+
"sha256": "fc819d8172a1525c4fb86cbee680110c655101b6d6db7471a4d6c50d5c0bc1fc"
|
|
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",
|
|
@@ -893,18 +893,60 @@ def first_match(directory: Path, suffix: str, root: Path) -> str:
|
|
|
893
893
|
return ""
|
|
894
894
|
|
|
895
895
|
|
|
896
|
+
def existing_locator(root: Path, relative: str | None) -> str:
|
|
897
|
+
if not relative:
|
|
898
|
+
return ""
|
|
899
|
+
return relative if (root / relative).exists() else ""
|
|
900
|
+
|
|
901
|
+
|
|
902
|
+
def active_or_first(root: Path, relative: str | None, directory: Path, suffix: str) -> str:
|
|
903
|
+
return existing_locator(root, relative) or (first_match(directory, suffix, root) if directory.exists() else "")
|
|
904
|
+
|
|
905
|
+
|
|
906
|
+
def current_review_locator(root: Path, review_dir: Path, item_id: str) -> str:
|
|
907
|
+
review_path = review_dir / f"{item_id}.json"
|
|
908
|
+
if review_path.exists():
|
|
909
|
+
return relative_locator(review_path, root)
|
|
910
|
+
return first_match(review_dir, ".json", root) if review_dir.exists() else ""
|
|
911
|
+
|
|
912
|
+
|
|
913
|
+
def active_entry_points(root: Path) -> dict[str, str]:
|
|
914
|
+
init_result = root / ".loom/bootstrap/init-result.json"
|
|
915
|
+
try:
|
|
916
|
+
payload = json.loads(init_result.read_text(encoding="utf-8"))
|
|
917
|
+
except (OSError, json.JSONDecodeError):
|
|
918
|
+
return {}
|
|
919
|
+
if not isinstance(payload, dict):
|
|
920
|
+
return {}
|
|
921
|
+
fact_chain = payload.get("fact_chain")
|
|
922
|
+
if not isinstance(fact_chain, dict):
|
|
923
|
+
return {}
|
|
924
|
+
entry_points = fact_chain.get("entry_points")
|
|
925
|
+
if not isinstance(entry_points, dict):
|
|
926
|
+
return {}
|
|
927
|
+
active: dict[str, str] = {}
|
|
928
|
+
for key in ("current_item_id", "work_item", "recovery_entry", "status_surface"):
|
|
929
|
+
value = entry_points.get(key)
|
|
930
|
+
if isinstance(value, str) and value.strip():
|
|
931
|
+
active[key] = value.strip()
|
|
932
|
+
return active
|
|
933
|
+
|
|
934
|
+
|
|
896
935
|
def detect_carrier_summary(root: Path, *, repository_mode: str, planning_mode: bool) -> dict[str, dict[str, str]]:
|
|
936
|
+
active = active_entry_points(root)
|
|
937
|
+
active_item_id = active.get("current_item_id") or "INIT-0001"
|
|
897
938
|
item_dir = root / ".loom/work-items"
|
|
898
939
|
recovery_dir = root / ".loom/progress"
|
|
899
940
|
review_dir = root / ".loom/reviews"
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
941
|
+
status_locator = active.get("status_surface") or ".loom/status/current.md"
|
|
942
|
+
status_path = root / status_locator
|
|
943
|
+
spec_path = root / f".loom/specs/{active_item_id}/spec.md"
|
|
944
|
+
plan_path = root / f".loom/specs/{active_item_id}/plan.md"
|
|
903
945
|
|
|
904
946
|
present_locators = {
|
|
905
|
-
"work_item":
|
|
906
|
-
"recovery":
|
|
907
|
-
"review":
|
|
947
|
+
"work_item": active_or_first(root, active.get("work_item"), item_dir, ".md"),
|
|
948
|
+
"recovery": active_or_first(root, active.get("recovery_entry"), recovery_dir, ".md"),
|
|
949
|
+
"review": current_review_locator(root, review_dir, active_item_id),
|
|
908
950
|
"status_surface": relative_locator(status_path, root) if status_path.exists() else "",
|
|
909
951
|
"spec_path": relative_locator(spec_path, root) if spec_path.exists() else "",
|
|
910
952
|
"plan_path": relative_locator(plan_path, root) if plan_path.exists() else "",
|
|
@@ -922,11 +964,11 @@ def detect_carrier_summary(root: Path, *, repository_mode: str, planning_mode: b
|
|
|
922
964
|
return summary
|
|
923
965
|
|
|
924
966
|
|
|
925
|
-
def detect_execution_entry(root: Path, loom_state: str, *, bootstrap_mode: bool) -> str:
|
|
967
|
+
def detect_execution_entry(root: Path, loom_state: str, *, bootstrap_mode: bool, active_item_id: str = "INIT-0001") -> str:
|
|
926
968
|
if bootstrap_mode:
|
|
927
|
-
return "python3 .loom/bin/loom_flow.py flow resume --target . --item
|
|
969
|
+
return f"python3 .loom/bin/loom_flow.py flow resume --target . --item {active_item_id}"
|
|
928
970
|
if loom_state == "active":
|
|
929
|
-
return f"{command_prefix(root, 'loom_flow.py')} flow resume --target . --item
|
|
971
|
+
return f"{command_prefix(root, 'loom_flow.py')} flow resume --target . --item {active_item_id}"
|
|
930
972
|
if loom_state == "partial":
|
|
931
973
|
return f"{command_prefix(root, 'loom_init.py')} route --target <repo> --task \"请接手当前事项并恢复上下文后继续推进\""
|
|
932
974
|
return "unknown"
|
|
@@ -942,16 +984,16 @@ def detect_validation_entry(loom_state: str, *, bootstrap_mode: bool) -> str:
|
|
|
942
984
|
return "unknown"
|
|
943
985
|
|
|
944
986
|
|
|
945
|
-
def detect_review_merge_surface(root: Path, loom_state: str, *, bootstrap_mode: bool) -> dict[str, str]:
|
|
987
|
+
def detect_review_merge_surface(root: Path, loom_state: str, *, bootstrap_mode: bool, active_item_id: str = "INIT-0001") -> dict[str, str]:
|
|
946
988
|
pr_template = ".github/PULL_REQUEST_TEMPLATE.md" if file_exists(root, ".github/PULL_REQUEST_TEMPLATE.md") else "unknown"
|
|
947
989
|
validation_surface = ".loom/status/current.md" if file_exists(root, ".loom/status/current.md") else "unknown"
|
|
948
990
|
if bootstrap_mode and validation_surface == "unknown":
|
|
949
991
|
validation_surface = ".loom/status/current.md"
|
|
950
992
|
|
|
951
993
|
if bootstrap_mode:
|
|
952
|
-
merge_surface = "python3 .loom/bin/loom_flow.py checkpoint merge --target . --item
|
|
994
|
+
merge_surface = f"python3 .loom/bin/loom_flow.py checkpoint merge --target . --item {active_item_id}"
|
|
953
995
|
elif loom_state == "active":
|
|
954
|
-
merge_surface = f"{command_prefix(root, 'loom_flow.py')} checkpoint merge --target .
|
|
996
|
+
merge_surface = f"{command_prefix(root, 'loom_flow.py')} checkpoint merge --target . --item {active_item_id}"
|
|
955
997
|
else:
|
|
956
998
|
merge_surface = "unknown"
|
|
957
999
|
return {
|
|
@@ -1207,11 +1249,12 @@ def build_governance_surface(
|
|
|
1207
1249
|
loom_state = detect_loom_state(root)
|
|
1208
1250
|
repository_mode = detect_repository_mode(root, loom_state, scenario_override=scenario_override)
|
|
1209
1251
|
planning_mode = bootstrap_mode and repository_mode == "new" and loom_state != "active"
|
|
1252
|
+
active_item_id = active_entry_points(root).get("current_item_id", "INIT-0001")
|
|
1210
1253
|
carrier_summary = detect_carrier_summary(root, repository_mode=repository_mode, planning_mode=planning_mode)
|
|
1211
1254
|
github_control_plane, github_missing = detect_github_control_plane(root)
|
|
1212
|
-
execution_entry = detect_execution_entry(root, loom_state, bootstrap_mode=bootstrap_mode)
|
|
1255
|
+
execution_entry = detect_execution_entry(root, loom_state, bootstrap_mode=bootstrap_mode, active_item_id=active_item_id)
|
|
1213
1256
|
validation_entry = detect_validation_entry(loom_state, bootstrap_mode=bootstrap_mode)
|
|
1214
|
-
review_merge_surface = detect_review_merge_surface(root, loom_state, bootstrap_mode=bootstrap_mode)
|
|
1257
|
+
review_merge_surface = detect_review_merge_surface(root, loom_state, bootstrap_mode=bootstrap_mode, active_item_id=active_item_id)
|
|
1215
1258
|
repo_interface, repo_interface_missing = detect_repo_interface(root)
|
|
1216
1259
|
repo_interop, repo_interop_missing = detect_repo_interop(root)
|
|
1217
1260
|
host_binding = detect_host_binding_surface(
|