memento-mori-jester 0.1.39 → 0.1.40
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/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,15 @@ All notable changes to Memento Mori Jester are tracked here.
|
|
|
4
4
|
|
|
5
5
|
## Unreleased
|
|
6
6
|
|
|
7
|
+
## 0.1.40
|
|
8
|
+
|
|
9
|
+
- Added more deterministic fixture examples for `jester tune` so sparse signals get stronger, more stable evidence:
|
|
10
|
+
- additional `ts-ignore` case
|
|
11
|
+
- additional `temporary-marker` case
|
|
12
|
+
- additional `package-install-script` case
|
|
13
|
+
- additional `wildcard-file-operation` case
|
|
14
|
+
- Updated demo fixture statistics in `docs/DEMO.md` to reflect the current fixture corpus.
|
|
15
|
+
|
|
7
16
|
## 0.1.39
|
|
8
17
|
|
|
9
18
|
- Added deterministic fixture support guidance to `jester tune` so each rule now gets a `support` signal:
|
package/docs/DEMO.md
CHANGED
|
@@ -180,16 +180,16 @@ Severity: S3
|
|
|
180
180
|
Fixture tuning evidence:
|
|
181
181
|
Support: thin
|
|
182
182
|
Confidence: low
|
|
183
|
-
Total fixtures checked:
|
|
184
|
-
Weighted fixtures checked:
|
|
183
|
+
Total fixtures checked: 40
|
|
184
|
+
Weighted fixtures checked: 76.95
|
|
185
185
|
Matching fixtures: 6
|
|
186
186
|
Weighted matches: 13
|
|
187
187
|
Expected-match weight: 2
|
|
188
188
|
Unexpected-match weight: 11
|
|
189
189
|
Edge-case matches: 0
|
|
190
|
-
Fixture coverage: 6/
|
|
191
|
-
By kind: command 0, plan
|
|
192
|
-
By verdict: pass 0, caution
|
|
190
|
+
Fixture coverage: 6/40 (16.9% weighted)
|
|
191
|
+
By kind: command 0, plan 2, diff 4, final 0
|
|
192
|
+
By verdict: pass 0, caution 5, block 1
|
|
193
193
|
Matched fixture samples:
|
|
194
194
|
web-token-localstorage-block: Token storage in localStorage should block.
|
|
195
195
|
infra-public-ingress-block: Public ingress should block in low-risk-tolerance infra repos.
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# v0.1.40 Release Notes
|
|
2
|
+
|
|
3
|
+
This release is a precision-tuning maintenance update for `jester tune`, adding a few deterministic fixture cases so sparse-rule guidance is less jumpy.
|
|
4
|
+
|
|
5
|
+
## Added
|
|
6
|
+
|
|
7
|
+
- Added additional `preset-review-cases.json` fixtures for tune evidence:
|
|
8
|
+
- `diff-ts-ignore-pass-2`
|
|
9
|
+
- `diff-temporary-marker-pass-2`
|
|
10
|
+
- `diff-package-install-script-pass-2`
|
|
11
|
+
- `command-wildcard-file-operation-pass-2`
|
|
12
|
+
- Updated `docs/DEMO.md` fixture counters to match the current fixture corpus.
|
|
13
|
+
|
|
14
|
+
## Release Validation
|
|
15
|
+
|
|
16
|
+
```powershell
|
|
17
|
+
npm.cmd test
|
|
18
|
+
npm.cmd run demo:svg:check
|
|
19
|
+
npm.cmd run pack:dry
|
|
20
|
+
git diff --check
|
|
21
|
+
node .\dist\cli.js tune risky-domain --json
|
|
22
|
+
node .\dist\cli.js tune risky-domain
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## Highlights
|
|
26
|
+
|
|
27
|
+
- No review behavior changes.
|
|
28
|
+
- No CLI command surface changes.
|
|
29
|
+
- No release/workflow behavior changes.
|
|
@@ -383,6 +383,18 @@
|
|
|
383
383
|
"ts-ignore"
|
|
384
384
|
]
|
|
385
385
|
},
|
|
386
|
+
{
|
|
387
|
+
"id": "diff-ts-ignore-pass-2",
|
|
388
|
+
"preset": "default",
|
|
389
|
+
"kind": "diff",
|
|
390
|
+
"description": "TypeScript ignore markers should stay visible in alternate formatting.",
|
|
391
|
+
"content": "diff --git a/src/bridge.ts b/src/bridge.ts\n--- a/src/bridge.ts\n+++ b/src/bridge.ts\n@@ -1 +1,2 @@\n+const value: string = 42 as any;\n+// @ts-ignore\n",
|
|
392
|
+
"expectedVerdict": "pass",
|
|
393
|
+
"weight": 1,
|
|
394
|
+
"expectedRuleIds": [
|
|
395
|
+
"ts-ignore"
|
|
396
|
+
]
|
|
397
|
+
},
|
|
386
398
|
{
|
|
387
399
|
"id": "diff-temporary-marker-pass",
|
|
388
400
|
"preset": "default",
|
|
@@ -395,6 +407,18 @@
|
|
|
395
407
|
"temporary-marker"
|
|
396
408
|
]
|
|
397
409
|
},
|
|
410
|
+
{
|
|
411
|
+
"id": "diff-temporary-marker-pass-2",
|
|
412
|
+
"preset": "default",
|
|
413
|
+
"kind": "diff",
|
|
414
|
+
"description": "Legacy migration markers should still trigger the temporary marker check.",
|
|
415
|
+
"content": "diff --git a/src/legacy.ts b/src/legacy.ts\n--- a/src/legacy.ts\n+++ b/src/legacy.ts\n@@ -1 +1,2 @@\n+// FIXME: remove this helper before shipping\n",
|
|
416
|
+
"expectedVerdict": "pass",
|
|
417
|
+
"weight": 1,
|
|
418
|
+
"expectedRuleIds": [
|
|
419
|
+
"temporary-marker"
|
|
420
|
+
]
|
|
421
|
+
},
|
|
398
422
|
{
|
|
399
423
|
"id": "diff-console-log-pass",
|
|
400
424
|
"preset": "default",
|
|
@@ -419,6 +443,18 @@
|
|
|
419
443
|
"package-install-script"
|
|
420
444
|
]
|
|
421
445
|
},
|
|
446
|
+
{
|
|
447
|
+
"id": "diff-package-install-script-pass-2",
|
|
448
|
+
"preset": "default",
|
|
449
|
+
"kind": "diff",
|
|
450
|
+
"description": "Postinstall script additions should share the same install-script caution.",
|
|
451
|
+
"content": "diff --git a/package.json b/package.json\n--- a/package.json\n+++ b/package.json\n@@ -3,6 +3,7 @@\n \"scripts\": {\n+ \"postinstall\": \"node scripts/verify.js\"\n }\n ",
|
|
452
|
+
"expectedVerdict": "caution",
|
|
453
|
+
"weight": 1,
|
|
454
|
+
"expectedRuleIds": [
|
|
455
|
+
"package-install-script"
|
|
456
|
+
]
|
|
457
|
+
},
|
|
422
458
|
{
|
|
423
459
|
"id": "diff-large-removal-pass",
|
|
424
460
|
"preset": "default",
|
|
@@ -442,5 +478,17 @@
|
|
|
442
478
|
"expectedRuleIds": [
|
|
443
479
|
"wildcard-file-operation"
|
|
444
480
|
]
|
|
481
|
+
},
|
|
482
|
+
{
|
|
483
|
+
"id": "command-wildcard-file-operation-pass-2",
|
|
484
|
+
"preset": "default",
|
|
485
|
+
"kind": "command",
|
|
486
|
+
"description": "Wildcard copies can also over-match files in command surfaces.",
|
|
487
|
+
"content": "cp *.md ./docs/",
|
|
488
|
+
"expectedVerdict": "pass",
|
|
489
|
+
"weight": 1,
|
|
490
|
+
"expectedRuleIds": [
|
|
491
|
+
"wildcard-file-operation"
|
|
492
|
+
]
|
|
445
493
|
}
|
|
446
494
|
]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "memento-mori-jester",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.40",
|
|
4
4
|
"description": "A local court-jester sidecar for AI coding agents: review plans, commands, diffs, and final claims before they get too pleased with themselves.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|