memento-mori-jester 0.1.69 → 0.1.70
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 +6 -0
- package/ROADMAP.md +2 -1
- package/docs/DEMO.md +4 -4
- package/docs/RELEASE_NOTES_v0.1.70.md +36 -0
- package/examples/fixtures/README.md +1 -0
- package/examples/fixtures/preset-review-cases.json +82 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,12 @@ All notable changes to Memento Mori Jester are tracked here.
|
|
|
4
4
|
|
|
5
5
|
## Unreleased
|
|
6
6
|
|
|
7
|
+
## 0.1.70
|
|
8
|
+
|
|
9
|
+
- Added six infra quiet-pass fixtures, growing the corpus to 184 fixtures.
|
|
10
|
+
- Strengthened safe near-miss evidence for read-only Kubernetes inspection, Docker disk usage, Terraform linting, and disabling public IP assignment.
|
|
11
|
+
- Refreshed demo, roadmap, fixture docs, and release notes for the infra-focused curation batch.
|
|
12
|
+
|
|
7
13
|
## 0.1.69
|
|
8
14
|
|
|
9
15
|
- Added eight real-world quiet-pass fixtures across node, python, security, and web preset slices, growing the corpus to 178 fixtures.
|
package/ROADMAP.md
CHANGED
|
@@ -6,6 +6,7 @@ Memento Mori Jester is usable today as a CLI, MCP server, GitHub Action, and git
|
|
|
6
6
|
|
|
7
7
|
## Recently Shipped
|
|
8
8
|
|
|
9
|
+
- Infra preset fixture curation in v0.1.70, adding six quiet-pass operational examples for read-only Kubernetes, Docker, Terraform linting, and public-IP hardening changes.
|
|
9
10
|
- Node/python/security/web preset fixture curation in v0.1.69, adding eight quiet-pass real-world examples while keeping all fixture coverage gates clean.
|
|
10
11
|
- AI tool-dispatch fixture curation in v0.1.68, adding request-body and URL-parameter caution examples plus allowlist/schema quiet-pass boundaries.
|
|
11
12
|
- Security/web/node/python preset fixture curation in v0.1.67, adding real-world quiet-pass examples while keeping thin, quiet-pass, feasible pass-case, and preset-kind gaps at zero.
|
|
@@ -58,7 +59,7 @@ Memento Mori Jester is usable today as a CLI, MCP server, GitHub Action, and git
|
|
|
58
59
|
|
|
59
60
|
## Product Ideas
|
|
60
61
|
|
|
61
|
-
- Collect real-world reports for the next lowest-count preset slices:
|
|
62
|
+
- Collect real-world reports for the next lowest-count preset slices: node, python, security, then web.
|
|
62
63
|
- Add more framework-specific false-positive examples from real reports so tuning guidance keeps getting sharper.
|
|
63
64
|
- Add a Markdown export for fixture reports so maintainers can paste coverage snapshots into issues or release notes.
|
|
64
65
|
|
package/docs/DEMO.md
CHANGED
|
@@ -192,8 +192,8 @@ Project config: none loaded
|
|
|
192
192
|
Fixture tuning evidence:
|
|
193
193
|
Support: limited
|
|
194
194
|
Confidence: medium
|
|
195
|
-
Total fixtures checked:
|
|
196
|
-
Weighted fixtures checked:
|
|
195
|
+
Total fixtures checked: 184
|
|
196
|
+
Weighted fixtures checked: 353.9
|
|
197
197
|
Matching fixtures: 11
|
|
198
198
|
Weighted matches: 23
|
|
199
199
|
Expected-match weight: 18
|
|
@@ -202,7 +202,7 @@ Edge-case matches: 0
|
|
|
202
202
|
Quiet-pass fixtures: 5
|
|
203
203
|
Quiet-pass weight: 3.6
|
|
204
204
|
By kind: command 0, plan 5, diff 5, final 1
|
|
205
|
-
Fixture coverage: 11/
|
|
205
|
+
Fixture coverage: 11/184 (6.5% weighted)
|
|
206
206
|
By verdict: pass 0, caution 3, block 8
|
|
207
207
|
Matched fixture samples:
|
|
208
208
|
infra-public-ingress-block: Public ingress should block in low-risk-tolerance infra repos.
|
|
@@ -353,7 +353,7 @@ Preset packs:
|
|
|
353
353
|
|
|
354
354
|
## 13. Review Fixtures
|
|
355
355
|
|
|
356
|
-
The fixture suite in `examples/fixtures/preset-review-cases.json` captures small real-usage examples with expected `pass`, `caution`, or `block` verdicts. It also includes matched-pass examples for low-severity rules, quiet-pass `absentRuleIds` examples that prove noisy rules stay silent for safe near-misses, stack-specific coverage for every built-in preset, quiet-pass boundaries across built-in, structural, custom, and preset/config-derived rules, second firing examples for preset blocked-command rules, second examples for AI/API, framework custom, built-in, and configured sensitive-domain rules, AI tool-dispatch examples with safe allowlist/schema boundaries, and real-world low-count preset examples across node, python, web, infra, AI, and security slices. Recent quiet-pass examples cover typechecks, prebuild scripts, mypy, dataclass parsing, CodeQL, Dependabot limits, form validation, and
|
|
356
|
+
The fixture suite in `examples/fixtures/preset-review-cases.json` captures small real-usage examples with expected `pass`, `caution`, or `block` verdicts. It also includes matched-pass examples for low-severity rules, quiet-pass `absentRuleIds` examples that prove noisy rules stay silent for safe near-misses, stack-specific coverage for every built-in preset, quiet-pass boundaries across built-in, structural, custom, and preset/config-derived rules, second firing examples for preset blocked-command rules, second examples for AI/API, framework custom, built-in, and configured sensitive-domain rules, AI tool-dispatch examples with safe allowlist/schema boundaries, and real-world low-count preset examples across node, python, web, infra, AI, and security slices. Recent quiet-pass examples cover typechecks, prebuild scripts, mypy, dataclass parsing, CodeQL, Dependabot limits, form validation, accessibility copy, read-only Kubernetes inspection, Docker disk usage, Terraform linting, and public-IP hardening changes. These examples are run by `npm test`, so preset tuning changes stay visible.
|
|
357
357
|
|
|
358
358
|
Maintainers can run `npm run fixtures:report` to see coverage by verdict, kind, preset, rule family, and preset slice. The report also includes a `Curation next` section that points at the next useful fixture batch, such as thin rules, feasible pass-case evidence, rule-family gaps, or lower-count presets.
|
|
359
359
|
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# Memento Mori Jester v0.1.70
|
|
2
|
+
|
|
3
|
+
This release follows the fixture report's infra-first curation guidance. It adds practical quiet-pass infra examples only; review behavior is unchanged.
|
|
4
|
+
|
|
5
|
+
## What Changed
|
|
6
|
+
|
|
7
|
+
- Added 6 fixture cases, growing the corpus from 178 to 184 fixtures.
|
|
8
|
+
- Added infra quiet-pass examples for:
|
|
9
|
+
- `kubectl diff`.
|
|
10
|
+
- `kubectl logs`.
|
|
11
|
+
- `kubectl describe`.
|
|
12
|
+
- Docker disk-usage inspection.
|
|
13
|
+
- Terraform linting.
|
|
14
|
+
- Disabling automatic public IP assignment.
|
|
15
|
+
- Kept thin rule coverage, quiet-pass gaps, feasible pass-case gaps, and preset/kind gaps at zero.
|
|
16
|
+
|
|
17
|
+
## Public Interface
|
|
18
|
+
|
|
19
|
+
- No CLI command changes.
|
|
20
|
+
- No config schema changes.
|
|
21
|
+
- No rule matching, scoring, or verdict behavior changes.
|
|
22
|
+
- No MCP, playground, GitHub Action, or npm publishing changes.
|
|
23
|
+
|
|
24
|
+
## Release Validation
|
|
25
|
+
|
|
26
|
+
```powershell
|
|
27
|
+
npm.cmd test
|
|
28
|
+
npm.cmd run demo:svg:check
|
|
29
|
+
npm.cmd run fixtures:report
|
|
30
|
+
npm.cmd run fixtures:report -- --json
|
|
31
|
+
npm.cmd run pack:dry
|
|
32
|
+
git diff --check
|
|
33
|
+
node .\dist\cli.js tune coverage --no-config
|
|
34
|
+
node .\dist\cli.js tune risky-domain --json --no-config
|
|
35
|
+
git diff | node .\dist\cli.js diff --fail-on block --subject "v0.1.70 infra quiet-pass curation"
|
|
36
|
+
```
|
|
@@ -24,6 +24,7 @@ Maintainer triage guidance lives in [docs/MAINTAINER_TRIAGE.md](../../docs/MAINT
|
|
|
24
24
|
- Second firing examples for remaining built-in and configured sensitive-domain thin rules, leaving no thin coverage gaps.
|
|
25
25
|
- Real-world low-count preset examples for node, python, web, infra, AI, and security workflows.
|
|
26
26
|
- Quiet-pass examples for typechecking, prebuild scripts, mypy, dataclass parsing, CodeQL, Dependabot limits, form validation, and accessibility copy.
|
|
27
|
+
- Quiet-pass examples for read-only Kubernetes inspection, Docker disk usage, Terraform linting, and public-IP hardening changes.
|
|
27
28
|
- Fixture metadata like `weight` and `edgeCase` to support precision-weighted tuning evidence.
|
|
28
29
|
|
|
29
30
|
## Local Check
|
|
@@ -2313,5 +2313,87 @@
|
|
|
2313
2313
|
"custom-web-public-secret-name",
|
|
2314
2314
|
"custom-web-unsafe-html-injection"
|
|
2315
2315
|
]
|
|
2316
|
+
},
|
|
2317
|
+
{
|
|
2318
|
+
"id": "infra-kubectl-diff-command-pass",
|
|
2319
|
+
"preset": "infra",
|
|
2320
|
+
"kind": "command",
|
|
2321
|
+
"description": "Read-only Kubernetes diff commands should not trip delete or apply-style infra checks.",
|
|
2322
|
+
"content": "kubectl diff -f k8s/deployment.yaml",
|
|
2323
|
+
"expectedVerdict": "pass",
|
|
2324
|
+
"weight": 2,
|
|
2325
|
+
"expectedRuleIds": [],
|
|
2326
|
+
"absentRuleIds": [
|
|
2327
|
+
"blocked-command-kubectl-delete",
|
|
2328
|
+
"custom-infra-production-change"
|
|
2329
|
+
]
|
|
2330
|
+
},
|
|
2331
|
+
{
|
|
2332
|
+
"id": "infra-kubectl-logs-command-pass",
|
|
2333
|
+
"preset": "infra",
|
|
2334
|
+
"kind": "command",
|
|
2335
|
+
"description": "Kubernetes log inspection should stay quiet around destructive infra commands.",
|
|
2336
|
+
"content": "kubectl logs deployment/api --tail=100",
|
|
2337
|
+
"expectedVerdict": "pass",
|
|
2338
|
+
"weight": 2,
|
|
2339
|
+
"expectedRuleIds": [],
|
|
2340
|
+
"absentRuleIds": [
|
|
2341
|
+
"blocked-command-kubectl-delete",
|
|
2342
|
+
"custom-infra-production-change"
|
|
2343
|
+
]
|
|
2344
|
+
},
|
|
2345
|
+
{
|
|
2346
|
+
"id": "infra-docker-system-df-command-pass",
|
|
2347
|
+
"preset": "infra",
|
|
2348
|
+
"kind": "command",
|
|
2349
|
+
"description": "Docker disk-usage inspection should not trip destructive prune checks.",
|
|
2350
|
+
"content": "docker system df",
|
|
2351
|
+
"expectedVerdict": "pass",
|
|
2352
|
+
"weight": 2,
|
|
2353
|
+
"expectedRuleIds": [],
|
|
2354
|
+
"absentRuleIds": [
|
|
2355
|
+
"custom-infra-production-change"
|
|
2356
|
+
]
|
|
2357
|
+
},
|
|
2358
|
+
{
|
|
2359
|
+
"id": "infra-kubectl-describe-command-pass",
|
|
2360
|
+
"preset": "infra",
|
|
2361
|
+
"kind": "command",
|
|
2362
|
+
"description": "Kubernetes describe commands should stay quiet around delete checks.",
|
|
2363
|
+
"content": "kubectl describe deployment api",
|
|
2364
|
+
"expectedVerdict": "pass",
|
|
2365
|
+
"weight": 2,
|
|
2366
|
+
"expectedRuleIds": [],
|
|
2367
|
+
"absentRuleIds": [
|
|
2368
|
+
"blocked-command-kubectl-delete",
|
|
2369
|
+
"custom-infra-production-change"
|
|
2370
|
+
]
|
|
2371
|
+
},
|
|
2372
|
+
{
|
|
2373
|
+
"id": "infra-tflint-command-pass",
|
|
2374
|
+
"preset": "infra",
|
|
2375
|
+
"kind": "command",
|
|
2376
|
+
"description": "Terraform linting commands should not trip terraform destroy checks.",
|
|
2377
|
+
"content": "tflint --chdir=infra",
|
|
2378
|
+
"expectedVerdict": "pass",
|
|
2379
|
+
"weight": 2,
|
|
2380
|
+
"expectedRuleIds": [],
|
|
2381
|
+
"absentRuleIds": [
|
|
2382
|
+
"blocked-command-terraform-destroy",
|
|
2383
|
+
"custom-infra-production-change"
|
|
2384
|
+
]
|
|
2385
|
+
},
|
|
2386
|
+
{
|
|
2387
|
+
"id": "infra-public-ip-disabled-diff-pass",
|
|
2388
|
+
"preset": "infra",
|
|
2389
|
+
"kind": "diff",
|
|
2390
|
+
"description": "Disabling automatic public IP assignment should stay quiet around public exposure checks.",
|
|
2391
|
+
"content": "diff --git a/infra/network.tf b/infra/network.tf\n--- a/infra/network.tf\n+++ b/infra/network.tf\n@@ -1 +1,2 @@\n+map_public_ip_on_launch = false\n",
|
|
2392
|
+
"expectedVerdict": "pass",
|
|
2393
|
+
"weight": 2,
|
|
2394
|
+
"expectedRuleIds": [],
|
|
2395
|
+
"absentRuleIds": [
|
|
2396
|
+
"custom-infra-public-exposure"
|
|
2397
|
+
]
|
|
2316
2398
|
}
|
|
2317
2399
|
]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "memento-mori-jester",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.70",
|
|
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": {
|