@codyswann/lisa 8.6.0 → 8.6.1
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/all/copy-overwrite/scripts/lib/completion-authorization.mjs +3 -3
- package/all/copy-overwrite/scripts/lib/completion-proof-publisher.mjs +2 -1
- package/all/copy-overwrite/scripts/lib/completion-proof-shape.mjs +21 -1
- package/all/copy-overwrite/scripts/npm-updater-helper-graph.json +3 -3
- package/dist/core/lisa-owned-hash-ledger.json +14 -0
- package/dist/core/nightly-e2e-guard-behavior-certificate.js +2 -2
- package/dist/core/upstream-evidence-manifest.json +30 -6
- package/package.json +4 -4
- package/plugins/lisa/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa/.codex-plugin/scripts/human-gate-act.mjs +50 -21
- package/plugins/lisa/.codex-plugin/skills/lisa-usage-accounting/references/estimate.md +5 -5
- package/plugins/lisa/scripts/human-gate-act.mjs +50 -21
- package/plugins/lisa/skills/lisa-usage-accounting/references/estimate.md +5 -5
- package/plugins/lisa-agy/plugin.json +1 -1
- package/plugins/lisa-agy/scripts/human-gate-act.mjs +50 -21
- package/plugins/lisa-agy/skills/lisa-usage-accounting/references/estimate.md +5 -5
- package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-agy/plugin.json +1 -1
- package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-copilot/scripts/human-gate-act.mjs +50 -21
- package/plugins/lisa-copilot/skills/lisa-usage-accounting/references/estimate.md +5 -5
- package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cursor/scripts/human-gate-act.mjs +50 -21
- package/plugins/lisa-cursor/skills/lisa-usage-accounting/references/estimate.md +5 -5
- package/plugins/lisa-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-devin/scripts/human-gate-act.mjs +50 -21
- package/plugins/lisa-devin/skills/lisa-usage-accounting/references/estimate.md +5 -5
- package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-agy/plugin.json +1 -1
- package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-agy/plugin.json +1 -1
- package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-agy/plugin.json +1 -1
- package/plugins/lisa-phaser-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-agy/plugin.json +1 -1
- package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-agy/plugin.json +1 -1
- package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-agy/plugin.json +1 -1
- package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/src/base/scripts/human-gate-act.mjs +50 -21
- package/plugins/src/base/skills/lisa-usage-accounting/references/estimate.md +5 -5
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
declaredScope,
|
|
10
10
|
sha256,
|
|
11
11
|
requireProof,
|
|
12
|
-
|
|
12
|
+
matchesPrimarySpecDigest,
|
|
13
13
|
isDigest,
|
|
14
14
|
isId,
|
|
15
15
|
isTime,
|
|
@@ -137,7 +137,7 @@ export function evaluateAcceptedRecord(chosen, context, subject, transport) {
|
|
|
137
137
|
requireProof(
|
|
138
138
|
record.environment === context.environment &&
|
|
139
139
|
record.branch === context.branch &&
|
|
140
|
-
|
|
140
|
+
matchesPrimarySpecDigest(subject.body, record.spec_sha256),
|
|
141
141
|
"The accepted proof does not match the current full primary specification or target environment."
|
|
142
142
|
);
|
|
143
143
|
const scope = declaredScope(subject.body, context.environment);
|
|
@@ -258,7 +258,7 @@ export function authorizeCompletion(context) {
|
|
|
258
258
|
PENDING_PROOF
|
|
259
259
|
);
|
|
260
260
|
requireProof(
|
|
261
|
-
|
|
261
|
+
matchesPrimarySpecDigest(fresh.body, chosen.record.spec_sha256),
|
|
262
262
|
"Work-item requirements changed before the terminal write; fresh verification proof is pending.",
|
|
263
263
|
PENDING_PROOF
|
|
264
264
|
);
|
|
@@ -12,6 +12,7 @@ import {
|
|
|
12
12
|
MAX_RECORD_BYTES,
|
|
13
13
|
sha256,
|
|
14
14
|
primarySpecProjection,
|
|
15
|
+
matchesPrimarySpecDigest,
|
|
15
16
|
requireProof,
|
|
16
17
|
validateRecordShape,
|
|
17
18
|
parseLocator,
|
|
@@ -365,7 +366,7 @@ function locateRecord(context, transport, published) {
|
|
|
365
366
|
comments: context.readComments(),
|
|
366
367
|
};
|
|
367
368
|
requireProof(
|
|
368
|
-
|
|
369
|
+
matchesPrimarySpecDigest(fresh.body, record.spec_sha256),
|
|
369
370
|
"Requirements changed during proof publication; no locator was written.",
|
|
370
371
|
"pending-proof"
|
|
371
372
|
);
|
|
@@ -98,7 +98,7 @@ function withoutEstimateMetadata(body) {
|
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
/** Remove only exact canonical machine-owned sections, retaining unknown prose. */
|
|
101
|
-
|
|
101
|
+
function projectPrimarySpec(body) {
|
|
102
102
|
requireProof(
|
|
103
103
|
typeof body === "string",
|
|
104
104
|
"The primary work-item description is unreadable."
|
|
@@ -144,6 +144,26 @@ export function primarySpecProjection(body) {
|
|
|
144
144
|
return result;
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
+
/**
|
|
148
|
+
* The estimate writer trims the body before appending its managed section.
|
|
149
|
+
* Ignore the same trailing whitespace so that first write preserves the digest.
|
|
150
|
+
*/
|
|
151
|
+
export function primarySpecProjection(body) {
|
|
152
|
+
return projectPrimarySpec(body).trimEnd();
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
/** Accept legacy digests before and after the first managed estimate append. */
|
|
156
|
+
export function matchesPrimarySpecDigest(body, digest) {
|
|
157
|
+
const projection = projectPrimarySpec(body);
|
|
158
|
+
const canonical = projection.trimEnd();
|
|
159
|
+
return (
|
|
160
|
+
digest === sha256(canonical) ||
|
|
161
|
+
(canonical !== projection && digest === sha256(projection)) ||
|
|
162
|
+
// The first append replaced a single final newline with this separator.
|
|
163
|
+
(projection === `${canonical}\n\n` && digest === sha256(`${canonical}\n`))
|
|
164
|
+
);
|
|
165
|
+
}
|
|
166
|
+
|
|
147
167
|
/** Read the maximal code-fence run without letting its suffix repartition it. */
|
|
148
168
|
function claimingFence(line) {
|
|
149
169
|
let start = 0;
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
"children": []
|
|
109
109
|
},
|
|
110
110
|
"lib/completion-authorization.mjs": {
|
|
111
|
-
"sha256": "
|
|
111
|
+
"sha256": "a9c3fa0ee9c3de9c610e009c6775088237c1e8ebd69ff4d9fd829de2db1c206a",
|
|
112
112
|
"staticImports": [
|
|
113
113
|
"lib/completion-proof-conformance.mjs",
|
|
114
114
|
"lib/completion-proof-content.mjs",
|
|
@@ -192,7 +192,7 @@
|
|
|
192
192
|
"children": []
|
|
193
193
|
},
|
|
194
194
|
"lib/completion-proof-publisher.mjs": {
|
|
195
|
-
"sha256": "
|
|
195
|
+
"sha256": "d004d53dc80b5b45bdea46b4c6c8168bf57a9f4d41abcda453ce3b20c1ab0954",
|
|
196
196
|
"staticImports": [
|
|
197
197
|
"lib/completion-authorization.mjs",
|
|
198
198
|
"lib/completion-proof-github.mjs",
|
|
@@ -215,7 +215,7 @@
|
|
|
215
215
|
"children": []
|
|
216
216
|
},
|
|
217
217
|
"lib/completion-proof-shape.mjs": {
|
|
218
|
-
"sha256": "
|
|
218
|
+
"sha256": "0e9c70b59a53610a9fadc27cbb08af542ad673f9c26b963cdd7373a99218246e",
|
|
219
219
|
"staticImports": [
|
|
220
220
|
"lib/completion-proof-errors.mjs",
|
|
221
221
|
"lib/completion-proof-markdown.mjs",
|
|
@@ -592,6 +592,7 @@
|
|
|
592
592
|
],
|
|
593
593
|
"scripts/lib/completion-authorization.mjs": [
|
|
594
594
|
"7b5f81ae58eae89367ebda480a508c3c37a6924b4bd6a8b1dd64fff24c465e1e",
|
|
595
|
+
"a9c3fa0ee9c3de9c610e009c6775088237c1e8ebd69ff4d9fd829de2db1c206a",
|
|
595
596
|
"c3b55b7fc815f546e2f16e86617097dabaa846739450d6dd302be8ab31af8caf",
|
|
596
597
|
"f93221c4b8ddca27c7a78b6e6b7eceb4555ec1e2d5cd8fd128c1380cd310c81f"
|
|
597
598
|
],
|
|
@@ -678,6 +679,7 @@
|
|
|
678
679
|
"b2ddd92180f6cbfc6083e1146bcd1be2a61711f29de8aa1484c88168b9926aa7",
|
|
679
680
|
"c04045f9f8000572c43d0a9d066779380b3bdfb7ac664d4b780b3cfb640906a0",
|
|
680
681
|
"cf37b6b1e09b22eeeab8d64086409a4345489f17cf11eb8ddc3e4c31d6772009",
|
|
682
|
+
"d004d53dc80b5b45bdea46b4c6c8168bf57a9f4d41abcda453ce3b20c1ab0954",
|
|
681
683
|
"d09103e3a1b2689dd3da6dc63f20a4b4a611a783b0a3614b5a161078f273206f"
|
|
682
684
|
],
|
|
683
685
|
"scripts/lib/completion-proof-reader.mjs": [
|
|
@@ -686,6 +688,7 @@
|
|
|
686
688
|
],
|
|
687
689
|
"scripts/lib/completion-proof-shape.mjs": [
|
|
688
690
|
"0479d60260ba930095cfcd4f3c4cd3c4654b914ec51e6c090c16e13cc066c794",
|
|
691
|
+
"0e9c70b59a53610a9fadc27cbb08af542ad673f9c26b963cdd7373a99218246e",
|
|
689
692
|
"1eecc25fa223736f327f201177d6f54638470ce90f731c745b40b9ea8cee8ef6",
|
|
690
693
|
"20f6f01fcb3495c979f7f7c0fe4991372b797e77831c4883631d4f196da5c0f4",
|
|
691
694
|
"2b7f18d07226a8acd09348cb535701a08c3b567b50e12a52225379893c91afed",
|
|
@@ -697,6 +700,7 @@
|
|
|
697
700
|
"7787346e1a59612730332ee1ac797bce076c29855f6cad7e26329fc394d1f698",
|
|
698
701
|
"83c3e4aa7f1386dc6e50c6fbb007d6505e83205a319cc60331e070dcffd95ef2",
|
|
699
702
|
"8f18374764896a09f4fac99f0a4dff0f54905d6e00dcfc7218f0286f6c2c4927",
|
|
703
|
+
"909e407a90f967c2dd601149c2027914e5607ff0ed5b1bde965408853a130c8a",
|
|
700
704
|
"a6faf8d3c44c4eb3192c11a76d5866f6028d476c86e7dc88aefe88060b38ee1d",
|
|
701
705
|
"b0ac2109d1e17cdc83d42b842ccbd43ca10f3d34d1b2d03067c434e05b19b9e3",
|
|
702
706
|
"d3ce2a98706083bb95652000b30566b7356abceb2437f6eec1240e5bf533d9d0",
|
|
@@ -2916,6 +2920,7 @@
|
|
|
2916
2920
|
"585ba8988ebc13363c86e054c80aab713f288e159d33e795305f52f851090431",
|
|
2917
2921
|
"58a038333dd6b90786d61b65d5782392bd2f0b056cba02f8eef5f9a5bea29d7e",
|
|
2918
2922
|
"5a4410c41b89aad08144dce26611d0d841923f0a8f4ca141703e6297be7423d4",
|
|
2923
|
+
"5b6b2808bdae9b5735ebc7348a9e373ed73002a49b29a5ca2dd53b5646362985",
|
|
2919
2924
|
"5c262922f3c0f5a4a04ae7765c3d4781cfb3aa3f974d6a14ff2efa260e56c7ce",
|
|
2920
2925
|
"5c74faeb50ba7a04db3015852c7ca1513bddfa37f7a252226b4d750c94578531",
|
|
2921
2926
|
"5cc2c4952c03dde8501372996435d38d3363b30f99cc2b50649af7f15545ec54",
|
|
@@ -3018,8 +3023,10 @@
|
|
|
3018
3023
|
"ab1e4e2810b47e1c14db8386cf1175bf5b58f42000f784f440cb06b4ad4bab01",
|
|
3019
3024
|
"ac4084c6d1dc5d8e3a28623049e3832fecc321008ee2f95334a764f8fee2970b",
|
|
3020
3025
|
"ac4a3f9ec89759f7525bc3e4f05f79be7c630da43089ad62ee81112848b014a7",
|
|
3026
|
+
"aeb97ef1ff5509b8855b160a7e9e4b08d81af15c29dc86d953e0e1d6134ebd15",
|
|
3021
3027
|
"b0cd8785b161f5a7d53da9320d186e5981c496b5028b7b7001a20abb6e6dcf62",
|
|
3022
3028
|
"b19c9073ac69315cffb122af22b82c1c5a59ab0838a464cb54150101cec3ef30",
|
|
3029
|
+
"b206a2880f155a3ad008c5e907cecbaf6ea5dffc00c2a4bcdf7ee23ca72cccd8",
|
|
3023
3030
|
"b24b4dd50b7f9b987b689578798585639993dcf7210b8f38c7b1ba82c851a0d4",
|
|
3024
3031
|
"b2f392ac7eb9f645583dfbe357d608ab266c19177230b9b4420baa8975573b2c",
|
|
3025
3032
|
"b45d7b88eeadaf859ac312398aa49fc7e1f1882d1b5afcf58676178ea0695b58",
|
|
@@ -3757,6 +3764,7 @@
|
|
|
3757
3764
|
],
|
|
3758
3765
|
"scripts/lib/completion-authorization.mjs": [
|
|
3759
3766
|
"7b5f81ae58eae89367ebda480a508c3c37a6924b4bd6a8b1dd64fff24c465e1e",
|
|
3767
|
+
"a9c3fa0ee9c3de9c610e009c6775088237c1e8ebd69ff4d9fd829de2db1c206a",
|
|
3760
3768
|
"c3b55b7fc815f546e2f16e86617097dabaa846739450d6dd302be8ab31af8caf",
|
|
3761
3769
|
"f93221c4b8ddca27c7a78b6e6b7eceb4555ec1e2d5cd8fd128c1380cd310c81f"
|
|
3762
3770
|
],
|
|
@@ -3843,6 +3851,7 @@
|
|
|
3843
3851
|
"b2ddd92180f6cbfc6083e1146bcd1be2a61711f29de8aa1484c88168b9926aa7",
|
|
3844
3852
|
"c04045f9f8000572c43d0a9d066779380b3bdfb7ac664d4b780b3cfb640906a0",
|
|
3845
3853
|
"cf37b6b1e09b22eeeab8d64086409a4345489f17cf11eb8ddc3e4c31d6772009",
|
|
3854
|
+
"d004d53dc80b5b45bdea46b4c6c8168bf57a9f4d41abcda453ce3b20c1ab0954",
|
|
3846
3855
|
"d09103e3a1b2689dd3da6dc63f20a4b4a611a783b0a3614b5a161078f273206f"
|
|
3847
3856
|
],
|
|
3848
3857
|
"scripts/lib/completion-proof-reader.mjs": [
|
|
@@ -3851,6 +3860,7 @@
|
|
|
3851
3860
|
],
|
|
3852
3861
|
"scripts/lib/completion-proof-shape.mjs": [
|
|
3853
3862
|
"0479d60260ba930095cfcd4f3c4cd3c4654b914ec51e6c090c16e13cc066c794",
|
|
3863
|
+
"0e9c70b59a53610a9fadc27cbb08af542ad673f9c26b963cdd7373a99218246e",
|
|
3854
3864
|
"1eecc25fa223736f327f201177d6f54638470ce90f731c745b40b9ea8cee8ef6",
|
|
3855
3865
|
"20f6f01fcb3495c979f7f7c0fe4991372b797e77831c4883631d4f196da5c0f4",
|
|
3856
3866
|
"2b7f18d07226a8acd09348cb535701a08c3b567b50e12a52225379893c91afed",
|
|
@@ -3862,6 +3872,7 @@
|
|
|
3862
3872
|
"7787346e1a59612730332ee1ac797bce076c29855f6cad7e26329fc394d1f698",
|
|
3863
3873
|
"83c3e4aa7f1386dc6e50c6fbb007d6505e83205a319cc60331e070dcffd95ef2",
|
|
3864
3874
|
"8f18374764896a09f4fac99f0a4dff0f54905d6e00dcfc7218f0286f6c2c4927",
|
|
3875
|
+
"909e407a90f967c2dd601149c2027914e5607ff0ed5b1bde965408853a130c8a",
|
|
3865
3876
|
"a6faf8d3c44c4eb3192c11a76d5866f6028d476c86e7dc88aefe88060b38ee1d",
|
|
3866
3877
|
"b0ac2109d1e17cdc83d42b842ccbd43ca10f3d34d1b2d03067c434e05b19b9e3",
|
|
3867
3878
|
"d3ce2a98706083bb95652000b30566b7356abceb2437f6eec1240e5bf533d9d0",
|
|
@@ -6010,6 +6021,7 @@
|
|
|
6010
6021
|
"585ba8988ebc13363c86e054c80aab713f288e159d33e795305f52f851090431",
|
|
6011
6022
|
"58a038333dd6b90786d61b65d5782392bd2f0b056cba02f8eef5f9a5bea29d7e",
|
|
6012
6023
|
"5a4410c41b89aad08144dce26611d0d841923f0a8f4ca141703e6297be7423d4",
|
|
6024
|
+
"5b6b2808bdae9b5735ebc7348a9e373ed73002a49b29a5ca2dd53b5646362985",
|
|
6013
6025
|
"5c262922f3c0f5a4a04ae7765c3d4781cfb3aa3f974d6a14ff2efa260e56c7ce",
|
|
6014
6026
|
"5c74faeb50ba7a04db3015852c7ca1513bddfa37f7a252226b4d750c94578531",
|
|
6015
6027
|
"5cc2c4952c03dde8501372996435d38d3363b30f99cc2b50649af7f15545ec54",
|
|
@@ -6112,8 +6124,10 @@
|
|
|
6112
6124
|
"ab1e4e2810b47e1c14db8386cf1175bf5b58f42000f784f440cb06b4ad4bab01",
|
|
6113
6125
|
"ac4084c6d1dc5d8e3a28623049e3832fecc321008ee2f95334a764f8fee2970b",
|
|
6114
6126
|
"ac4a3f9ec89759f7525bc3e4f05f79be7c630da43089ad62ee81112848b014a7",
|
|
6127
|
+
"aeb97ef1ff5509b8855b160a7e9e4b08d81af15c29dc86d953e0e1d6134ebd15",
|
|
6115
6128
|
"b0cd8785b161f5a7d53da9320d186e5981c496b5028b7b7001a20abb6e6dcf62",
|
|
6116
6129
|
"b19c9073ac69315cffb122af22b82c1c5a59ab0838a464cb54150101cec3ef30",
|
|
6130
|
+
"b206a2880f155a3ad008c5e907cecbaf6ea5dffc00c2a4bcdf7ee23ca72cccd8",
|
|
6117
6131
|
"b24b4dd50b7f9b987b689578798585639993dcf7210b8f38c7b1ba82c851a0d4",
|
|
6118
6132
|
"b2f392ac7eb9f645583dfbe357d608ab266c19177230b9b4420baa8975573b2c",
|
|
6119
6133
|
"b45d7b88eeadaf859ac312398aa49fc7e1f1882d1b5afcf58676178ea0695b58",
|
|
@@ -48,9 +48,9 @@ export const NIGHTLY_E2E_GUARD_BEHAVIOR_CERTIFICATES = Object.freeze({
|
|
|
48
48
|
}),
|
|
49
49
|
df39aa29b19817f67726107fec45078ce639f14a682cf6d5587ba37617f31ac9: Object.freeze({
|
|
50
50
|
contractVersion: "1.9.0",
|
|
51
|
-
packageVersions: Object.freeze(["8.6.
|
|
51
|
+
packageVersions: Object.freeze(["8.6.1"]),
|
|
52
52
|
provenances: Object.freeze([
|
|
53
|
-
"workspace package @codyswann/lisa@8.6.
|
|
53
|
+
"workspace package @codyswann/lisa@8.6.1 (typescript/copy-overwrite/scripts/check-nightly-e2e-health.mjs)",
|
|
54
54
|
]),
|
|
55
55
|
}),
|
|
56
56
|
dfd2fef680de5ef03e63075e8a61c62ca4d95cdfdff6201939b79c748d3397f6: Object.freeze({
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"all/copy-overwrite/scripts/lib/bounded-spawn.mjs": "72e277ada531914d7bc51c3cb8dc67b8881aa817d96fa2f9f4d81668a3d3bbc1",
|
|
22
22
|
"all/copy-overwrite/scripts/lib/build-marker.mjs": "505519d9632ab86572cfdeca917d93599256cf8e798987ad593a82296a7d8175",
|
|
23
23
|
"all/copy-overwrite/scripts/lib/changed-paths.mjs": "bcf755d8c1905cddd84622c9a520f7bcc16b19379b9f933a8b5657bb6df9f391",
|
|
24
|
-
"all/copy-overwrite/scripts/lib/completion-authorization.mjs": "
|
|
24
|
+
"all/copy-overwrite/scripts/lib/completion-authorization.mjs": "a9c3fa0ee9c3de9c610e009c6775088237c1e8ebd69ff4d9fd829de2db1c206a",
|
|
25
25
|
"all/copy-overwrite/scripts/lib/completion-proof-adapters.mjs": "10e812829458c9b02f6cb012dc1714ad8b03388ced71a103130517150036f832",
|
|
26
26
|
"all/copy-overwrite/scripts/lib/completion-proof-codepipeline.d.mts": "9d951f9a095264b33f527dd65eb41c8d6617b3b1c572d13c22332773ac99dca5",
|
|
27
27
|
"all/copy-overwrite/scripts/lib/completion-proof-codepipeline.mjs": "3ea69c6f03aeba8acbab13a026fc470c075540a3bfa2921a27407cecf424a45d",
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
"all/copy-overwrite/scripts/lib/completion-proof-github.mjs": "5b11a58ac677a2f165678a5255060aa998cda6d7081b64e7c2114195eee997d0",
|
|
32
32
|
"all/copy-overwrite/scripts/lib/completion-proof-markdown.mjs": "8ff9efc772463c3fccf5d6e5a42c73df324babd2e02e66228f2d9a0b1896cbf4",
|
|
33
33
|
"all/copy-overwrite/scripts/lib/completion-proof-projection.mjs": "88389681f5a19cf90d4edcdeda48ce0f60a8845fb71c37c9e34edaa9e1a777a0",
|
|
34
|
-
"all/copy-overwrite/scripts/lib/completion-proof-publisher.mjs": "
|
|
34
|
+
"all/copy-overwrite/scripts/lib/completion-proof-publisher.mjs": "d004d53dc80b5b45bdea46b4c6c8168bf57a9f4d41abcda453ce3b20c1ab0954",
|
|
35
35
|
"all/copy-overwrite/scripts/lib/completion-proof-reader.mjs": "f134b65158605510bf188429d6aa5e713ed75a4d78877efc6211b440b3a805f7",
|
|
36
|
-
"all/copy-overwrite/scripts/lib/completion-proof-shape.mjs": "
|
|
36
|
+
"all/copy-overwrite/scripts/lib/completion-proof-shape.mjs": "0e9c70b59a53610a9fadc27cbb08af542ad673f9c26b963cdd7373a99218246e",
|
|
37
37
|
"all/copy-overwrite/scripts/lib/completion-proof-source.mjs": "7aa9673c7de21fa64e572043e7e76774e7cb57210a54f4603a72e88be97510a3",
|
|
38
38
|
"all/copy-overwrite/scripts/lib/evidence-prune-apply.mjs": "6d0c63b446fa8ee27b56bd7ae9bd6cd8f066ae2e45bf66db829bf8822c839b7f",
|
|
39
39
|
"all/copy-overwrite/scripts/lib/evidence-prune-config.mjs": "a4257b7e7336fbae7b802f6c652f867d14056d60ecd29867de2c6c4952859a32",
|
|
@@ -212,7 +212,7 @@
|
|
|
212
212
|
"all/copy-overwrite/scripts/npm-updater-gate-runtime.json": "5c2af03360bfd59df26934ea0a2e47baa3999cbaa0ad3a9a03dd74575589218d",
|
|
213
213
|
"all/copy-overwrite/scripts/npm-updater-gate-supervisor.c": "e7d6ed62ce27a466a097c879372b8c2ec18731371e682d04542de4d83f3daa00",
|
|
214
214
|
"all/copy-overwrite/scripts/npm-updater-gate.Dockerfile": "850a4ee809d49e3d9da6bdd674cb43e4f5a6dcfa0aa73116b1a43caeed42748c",
|
|
215
|
-
"all/copy-overwrite/scripts/npm-updater-helper-graph.json": "
|
|
215
|
+
"all/copy-overwrite/scripts/npm-updater-helper-graph.json": "b206a2880f155a3ad008c5e907cecbaf6ea5dffc00c2a4bcdf7ee23ca72cccd8",
|
|
216
216
|
"all/copy-overwrite/scripts/review-evidence-event.mjs": "61720cafcbab2d0193cb5fb377264008a765f338e12415b7adf30322342f634c",
|
|
217
217
|
"all/copy-overwrite/scripts/schemas/lisa-command-envelope.v1.schema.json": "d153b7c2953a30f180e38f09e98240c63327f5196eeba9bdf545e5a1f125a879",
|
|
218
218
|
"all/copy-overwrite/scripts/schemas/lisa-state-contract.v1.schema.json": "6b7afe4ffeba8aaa53871d8855172f7eacde05953b1321145218ec638ff5c1c4",
|
|
@@ -699,7 +699,7 @@
|
|
|
699
699
|
"plugins/src/base/scripts/design-source-gate.mjs": "5ad28c231f84c0b8ce08dfa955760adefd4ee12908f5e1b8c0e2c1c837b2eaf1",
|
|
700
700
|
"plugins/src/base/scripts/design-variable-ids.mjs": "c04250c38cd1b27f1e26240889d7a741df3a0e4fb4b1882788475b7b7d806910",
|
|
701
701
|
"plugins/src/base/scripts/doctor-report.mjs": "f183e62848ac539da56a525fe2105fc6251a49e555a01dd1bba10d9227b1a6bf",
|
|
702
|
-
"plugins/src/base/scripts/human-gate-act.mjs": "
|
|
702
|
+
"plugins/src/base/scripts/human-gate-act.mjs": "1fb772b3cc921541e538ba9f0f5faac38776b9aa051d545adeddbe1e910b7de9",
|
|
703
703
|
"plugins/src/base/scripts/human-gate-lift.mjs": "21424773e02a479bff83246b781eef64fdaa310e985916d4fbef15812c9c3880",
|
|
704
704
|
"plugins/src/base/scripts/install-remote-agent-aws.mjs": "a3b530e0053774f62aa768377e672388b586b1456fa59f33bc3553babf1a576d",
|
|
705
705
|
"plugins/src/base/scripts/intake-blocker-reprobe.mjs": "5253887792167a642270849601ad553c1f7c8f7cf958e1ee3a71a1c52ebbd26c",
|
|
@@ -1007,7 +1007,7 @@
|
|
|
1007
1007
|
"plugins/src/base/skills/lisa-tracker-write/SKILL.md": "ec546503c322ebf4b6283f3a265a61cff8c1b0f895aed73f75474bf4b2397abe",
|
|
1008
1008
|
"plugins/src/base/skills/lisa-usage-accounting/SKILL.md": "6bb2df57757e3c2c5a48a8bea6ca593adeba84a9d12581e917b9b0331e9619df",
|
|
1009
1009
|
"plugins/src/base/skills/lisa-usage-accounting/references/effectiveness.md": "d34e7b4951bc26caf15625e081e8273a11ee8ca1bde6137750f4b687fca7e8bf",
|
|
1010
|
-
"plugins/src/base/skills/lisa-usage-accounting/references/estimate.md": "
|
|
1010
|
+
"plugins/src/base/skills/lisa-usage-accounting/references/estimate.md": "42f8872d84ae874124a80f6cd48a7322a6423a6cce940e6eb90dfb96d54de8a8",
|
|
1011
1011
|
"plugins/src/base/skills/lisa-use-the-product/SKILL.md": "9605cce9b30a5a4db04ce936b5dddcaaf05368ddcd91ce4067956071a481db63",
|
|
1012
1012
|
"plugins/src/base/skills/lisa-validate-tracker-mapping/SKILL.md": "ed149aa62f645d11bc9997634110f8045863bd98e391dc30aaa16d7cf198359b",
|
|
1013
1013
|
"plugins/src/base/skills/lisa-verification-lifecycle/SKILL.md": "6ec939b558866daaca409f5c076b8d2e410d39dab931e1506f874bc40443ed3b",
|
|
@@ -1743,6 +1743,7 @@
|
|
|
1743
1743
|
".github/workflows/environment-prepare.yml": true,
|
|
1744
1744
|
".github/workflows/gates.yml": true,
|
|
1745
1745
|
".github/workflows/history-secrets.yml": true,
|
|
1746
|
+
".github/workflows/k6-installation-regression.yml": true,
|
|
1746
1747
|
".github/workflows/lifecycle-drift-sweep.yml": true,
|
|
1747
1748
|
".github/workflows/lifecycle-terminal-transition.yml": true,
|
|
1748
1749
|
".github/workflows/lighthouse.yml": true,
|
|
@@ -10526,6 +10527,24 @@
|
|
|
10526
10527
|
"tests/fixtures/harness-parity-council/probe-command-missing.json": true,
|
|
10527
10528
|
"tests/fixtures/harness-parity-council/probe-success.json": true,
|
|
10528
10529
|
"tests/fixtures/intake-prework-denominator/linear-team-lanes.json": true,
|
|
10530
|
+
"tests/fixtures/k6-installation/baseline-oracles.json": true,
|
|
10531
|
+
"tests/fixtures/k6-installation/binary-identity.sh": true,
|
|
10532
|
+
"tests/fixtures/k6-installation/classify-baseline.mjs": true,
|
|
10533
|
+
"tests/fixtures/k6-installation/execution.py": true,
|
|
10534
|
+
"tests/fixtures/k6-installation/extract.mjs": true,
|
|
10535
|
+
"tests/fixtures/k6-installation/fail-curl.sh": true,
|
|
10536
|
+
"tests/fixtures/k6-installation/finish.mjs": true,
|
|
10537
|
+
"tests/fixtures/k6-installation/inspect-after.sh": true,
|
|
10538
|
+
"tests/fixtures/k6-installation/inspect-before.sh": true,
|
|
10539
|
+
"tests/fixtures/k6-installation/keyring.py": true,
|
|
10540
|
+
"tests/fixtures/k6-installation/loopback.js": true,
|
|
10541
|
+
"tests/fixtures/k6-installation/metrics.mjs": true,
|
|
10542
|
+
"tests/fixtures/k6-installation/prepare.mjs": true,
|
|
10543
|
+
"tests/fixtures/k6-installation/prerequisites.sh": true,
|
|
10544
|
+
"tests/fixtures/k6-installation/qualification-oracles.json": true,
|
|
10545
|
+
"tests/fixtures/k6-installation/qualify.py": true,
|
|
10546
|
+
"tests/fixtures/k6-installation/test-keyring.py": true,
|
|
10547
|
+
"tests/fixtures/k6-installation/test-umask.py": true,
|
|
10529
10548
|
"tests/fixtures/mutation-performance/jest/app.json": true,
|
|
10530
10549
|
"tests/fixtures/mutation-performance/jest/jest.config.ts": true,
|
|
10531
10550
|
"tests/fixtures/mutation-performance/jest/package.json": true,
|
|
@@ -12498,6 +12517,7 @@
|
|
|
12498
12517
|
"tests/unit/scripts/jira-evidence-release.test.ts": true,
|
|
12499
12518
|
"tests/unit/scripts/jira-evidence-upload-names.test.ts": true,
|
|
12500
12519
|
"tests/unit/scripts/jira-server-origin.test.ts": true,
|
|
12520
|
+
"tests/unit/scripts/k6-installation.test.ts": true,
|
|
12501
12521
|
"tests/unit/scripts/kill-marks.test.ts": true,
|
|
12502
12522
|
"tests/unit/scripts/learnings-projection.test.ts": true,
|
|
12503
12523
|
"tests/unit/scripts/lint-staged-preflight.test.ts": true,
|
|
@@ -13198,6 +13218,7 @@
|
|
|
13198
13218
|
"tests/unit/strategies/human-gate-lift-battery.test.ts": true,
|
|
13199
13219
|
"tests/unit/strategies/human-gate-lift-mode.test.ts": true,
|
|
13200
13220
|
"tests/unit/strategies/human-gate-lift.test.ts": true,
|
|
13221
|
+
"tests/unit/strategies/human-gate-malformed-block.test.ts": true,
|
|
13201
13222
|
"tests/unit/strategies/human-gate-markdown-escaping.test.ts": true,
|
|
13202
13223
|
"tests/unit/strategies/human-gate-release-authorization.test.ts": true,
|
|
13203
13224
|
"tests/unit/strategies/human-gate-release-helpers.ts": true,
|
|
@@ -18809,6 +18830,7 @@
|
|
|
18809
18830
|
"4c80ded73bd1c669b9c0469ed1af8b79c7a12d04": true,
|
|
18810
18831
|
"4c823926065b141d7ad8d1083410879193931987": true,
|
|
18811
18832
|
"4c8305f60e0ef35ac601eae58a73998f3bdd95b2": true,
|
|
18833
|
+
"4c88656feced4fccc662405c4166cd769089d35a": true,
|
|
18812
18834
|
"4c88fa46fe2309cef1c65452dc3c9b0b0074dc25": true,
|
|
18813
18835
|
"4c8a6997cc7ecceb87fdb338709b7bb7566647fb": true,
|
|
18814
18836
|
"4c8cdaa60abbe85dd40d869f4fd88711c6c286fc": true,
|
|
@@ -30117,6 +30139,7 @@
|
|
|
30117
30139
|
"f5d860edb00786d702951f6db9dab83603a99363": true,
|
|
30118
30140
|
"f5dcc0dd48c23172df43a20a24a7ca815d051c49": true,
|
|
30119
30141
|
"f5de5bb9687a4a9c12e309f42d0f769d0c0177e3": true,
|
|
30142
|
+
"f5dff691961365a7bb182fff362bec9fb56d5ee3": true,
|
|
30120
30143
|
"f5e707cad504771feb941faf01d6ea7b8714bd2a": true,
|
|
30121
30144
|
"f5ec88b1fdda5a242b02a42e90c40ad0577fedfb": true,
|
|
30122
30145
|
"f5ed967d77f120ea9fc8f972f06059c915b11cf8": true,
|
|
@@ -30204,6 +30227,7 @@
|
|
|
30204
30227
|
"f719e859eea86b7fda41c317f7c2eda3c254d771": true,
|
|
30205
30228
|
"f71b0d7984de03fe2c5bd31e07d552d5cf36c3bf": true,
|
|
30206
30229
|
"f71d23f752e0a89b53867f985acec801fcbb9ac0": true,
|
|
30230
|
+
"f71e4fe6b2cc361761d37b39a146d3efde97365e": true,
|
|
30207
30231
|
"f720bfb5ffd45e144506f576c2554026711bab15": true,
|
|
30208
30232
|
"f725a48fd62bd3d955936c34b27487da19b6defb": true,
|
|
30209
30233
|
"f72640d2f75e1d2d7dbef2a3a6e63f6e6caf3f7f": true,
|
package/package.json
CHANGED
|
@@ -199,7 +199,7 @@
|
|
|
199
199
|
"zod": "^4.6.7"
|
|
200
200
|
},
|
|
201
201
|
"name": "@codyswann/lisa",
|
|
202
|
-
"version": "8.6.
|
|
202
|
+
"version": "8.6.1",
|
|
203
203
|
"description": "Governance-as-code for AI coding agents: turns a repository into agent-operated software factories with guardrails, guidance and automated enforcement for Claude Code, Codex, Cursor, OpenCode, Antigravity, Copilot and Devin",
|
|
204
204
|
"main": "dist/index.js",
|
|
205
205
|
"exports": {
|
|
@@ -370,7 +370,7 @@
|
|
|
370
370
|
"optional": true
|
|
371
371
|
}
|
|
372
372
|
},
|
|
373
|
-
"lisaReleaseCommit": "
|
|
374
|
-
"gitHead": "
|
|
375
|
-
"lisaReleaseTag": "v8.6.
|
|
373
|
+
"lisaReleaseCommit": "121e6a7fc52df09e247ef9d8eb9c0ddcdcf5fa1f",
|
|
374
|
+
"gitHead": "121e6a7fc52df09e247ef9d8eb9c0ddcdcf5fa1f",
|
|
375
|
+
"lisaReleaseTag": "v8.6.1"
|
|
376
376
|
}
|
|
@@ -116,6 +116,24 @@ function readConfig(file) {
|
|
|
116
116
|
}
|
|
117
117
|
}
|
|
118
118
|
|
|
119
|
+
/**
|
|
120
|
+
* Whether parsed JSON is an object that can hold configuration keys.
|
|
121
|
+
* @param {unknown} value - Parsed configuration value
|
|
122
|
+
* @returns {boolean} Whether the value is a config object
|
|
123
|
+
*/
|
|
124
|
+
function isConfigObject(value) {
|
|
125
|
+
return value !== null && typeof value === "object" && !Array.isArray(value);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* Read the raw block, preserving invalid declarations for the mode resolver.
|
|
130
|
+
* @param {unknown} config - Parsed config file
|
|
131
|
+
* @returns {unknown} Raw human-gate block
|
|
132
|
+
*/
|
|
133
|
+
function humanGateBlock(config) {
|
|
134
|
+
return isConfigObject(config) ? config.humanGate : undefined;
|
|
135
|
+
}
|
|
136
|
+
|
|
119
137
|
/**
|
|
120
138
|
* The effective human-only classes: local override replaces global when set.
|
|
121
139
|
* @param {unknown} local - Parsed local config
|
|
@@ -123,10 +141,10 @@ function readConfig(file) {
|
|
|
123
141
|
* @returns {unknown[]} Declared classes
|
|
124
142
|
*/
|
|
125
143
|
export function resolveHumanOnly(local, global) {
|
|
126
|
-
const pick = config =>
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
144
|
+
const pick = config => {
|
|
145
|
+
const block = humanGateBlock(config);
|
|
146
|
+
return isConfigObject(block) ? block.humanOnly : undefined;
|
|
147
|
+
};
|
|
130
148
|
const value = pick(local) ?? pick(global);
|
|
131
149
|
return Array.isArray(value) ? value : [];
|
|
132
150
|
}
|
|
@@ -142,27 +160,37 @@ export function resolveHumanOnly(local, global) {
|
|
|
142
160
|
* as `rejected` (its JSON spelling) so the caller can report it.
|
|
143
161
|
* @param {unknown} local - Parsed local config
|
|
144
162
|
* @param {unknown} global - Parsed global config
|
|
145
|
-
* @returns {{ mode: string, rejected?: string }} The mode in force
|
|
163
|
+
* @returns {{ mode: string, rejected?: string, rejectedBlock?: true }} The mode in force
|
|
146
164
|
*/
|
|
147
165
|
export function resolveHumanGateMode(local, global) {
|
|
148
|
-
const pick = config =>
|
|
149
|
-
|
|
166
|
+
const pick = config => {
|
|
167
|
+
const block = humanGateBlock(config);
|
|
168
|
+
if (!isConfigObject(block))
|
|
169
|
+
return { value: block, mode: undefined, malformed: true };
|
|
170
|
+
return {
|
|
171
|
+
value: block.mode,
|
|
172
|
+
mode: normalizeHumanGateMode(block.mode),
|
|
173
|
+
malformed: false,
|
|
174
|
+
};
|
|
175
|
+
};
|
|
150
176
|
// Every declaration is judged, so a typo in the committed file is reported
|
|
151
177
|
// even while a valid local value is in force.
|
|
152
178
|
const declared = [pick(local), pick(global)].filter(
|
|
153
|
-
|
|
179
|
+
entry => entry.value !== undefined
|
|
154
180
|
);
|
|
155
|
-
const valid = declared
|
|
156
|
-
.map(normalizeHumanGateMode)
|
|
157
|
-
.find(mode => HUMAN_GATE_MODES.includes(mode));
|
|
181
|
+
const valid = declared.find(entry => HUMAN_GATE_MODES.includes(entry.mode));
|
|
158
182
|
const invalid = declared.find(
|
|
159
|
-
|
|
183
|
+
entry => !HUMAN_GATE_MODES.includes(entry.mode)
|
|
160
184
|
);
|
|
161
185
|
const mode =
|
|
162
|
-
valid ?? (invalid === undefined ? DEFAULT_HUMAN_GATE_MODE : "strict");
|
|
186
|
+
valid?.mode ?? (invalid === undefined ? DEFAULT_HUMAN_GATE_MODE : "strict");
|
|
163
187
|
return invalid === undefined
|
|
164
188
|
? { mode }
|
|
165
|
-
: {
|
|
189
|
+
: {
|
|
190
|
+
mode,
|
|
191
|
+
rejected: JSON.stringify(invalid.value),
|
|
192
|
+
...(invalid.malformed ? { rejectedBlock: true } : {}),
|
|
193
|
+
};
|
|
166
194
|
}
|
|
167
195
|
|
|
168
196
|
/**
|
|
@@ -170,23 +198,24 @@ export function resolveHumanGateMode(local, global) {
|
|
|
170
198
|
* human-only classes, each resolved local-then-global.
|
|
171
199
|
* @param {unknown} local - Parsed local config
|
|
172
200
|
* @param {unknown} global - Parsed global config
|
|
173
|
-
* @returns {{ mode: string, humanOnly: unknown[], rejected?: string }} Policy
|
|
201
|
+
* @returns {{ mode: string, humanOnly: unknown[], rejected?: string, rejectedBlock?: true }} Policy
|
|
174
202
|
*/
|
|
175
203
|
export function resolveHumanGatePolicy(local, global) {
|
|
176
|
-
const { mode, rejected } = resolveHumanGateMode(local, global);
|
|
177
204
|
return {
|
|
178
|
-
|
|
205
|
+
...resolveHumanGateMode(local, global),
|
|
179
206
|
humanOnly: resolveHumanOnly(local, global),
|
|
180
|
-
...(rejected === undefined ? {} : { rejected }),
|
|
181
207
|
};
|
|
182
208
|
}
|
|
183
209
|
|
|
184
210
|
/**
|
|
185
211
|
* The stderr line for an invalid `humanGate.mode`.
|
|
186
212
|
* @param {string} rejected - JSON spelling of the declared value
|
|
213
|
+
* @param {boolean} rejectedBlock - Whether the whole block was invalid
|
|
187
214
|
* @returns {string} One warning line
|
|
188
215
|
*/
|
|
189
|
-
function invalidModeWarning(rejected) {
|
|
216
|
+
function invalidModeWarning(rejected, rejectedBlock) {
|
|
217
|
+
if (rejectedBlock)
|
|
218
|
+
return `Invalid humanGate: ${rejected} is not an object.\n`;
|
|
190
219
|
const accepted = HUMAN_GATE_MODES.map(value => `"${value}"`).join(" | ");
|
|
191
220
|
return `Invalid humanGate.mode: ${rejected} is not one of ${accepted}; ignored.\n`;
|
|
192
221
|
}
|
|
@@ -250,12 +279,12 @@ export function main(argv, io = {}) {
|
|
|
250
279
|
error(`${failed.error}\n`);
|
|
251
280
|
return 2;
|
|
252
281
|
}
|
|
253
|
-
const { rejected, ...policy } = resolveHumanGatePolicy(
|
|
282
|
+
const { rejected, rejectedBlock, ...policy } = resolveHumanGatePolicy(
|
|
254
283
|
local.value,
|
|
255
284
|
global.value
|
|
256
285
|
);
|
|
257
286
|
if (rejected !== undefined) {
|
|
258
|
-
error(invalidModeWarning(rejected));
|
|
287
|
+
error(invalidModeWarning(rejected, rejectedBlock === true));
|
|
259
288
|
error(`humanGate.mode in force: "${policy.mode}".\n`);
|
|
260
289
|
}
|
|
261
290
|
if (command === "policy") {
|
|
@@ -130,11 +130,11 @@ reached done with no estimate shows `none recorded` in the estimate row rather t
|
|
|
130
130
|
range.
|
|
131
131
|
|
|
132
132
|
`lisa-work-item complete` enforces it: when `required` is true, it refuses (as `pending-proof`) an
|
|
133
|
-
item with no usage entry, with no tally, or with a tally that no longer matches the ledger.
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
133
|
+
item with no usage entry, with no tally, or with a tally that no longer matches the ledger.
|
|
134
|
+
The specification digest stays the same when Lisa first adds the estimate section or refreshes
|
|
135
|
+
its tally. The digest includes prose a person adds inside that section, including lines starting
|
|
136
|
+
with `Actual:` or `Basis:`. Existing proofs can still match the digest that Lisa calculated for
|
|
137
|
+
their unchanged specification.
|
|
138
138
|
|
|
139
139
|
## When the config is off
|
|
140
140
|
|