memento-mori-jester 0.1.49 → 0.1.50

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,12 @@ All notable changes to Memento Mori Jester are tracked here.
4
4
 
5
5
  ## Unreleased
6
6
 
7
+ ## 0.1.50
8
+
9
+ - Added `SECURITY.md` with vulnerability reporting guidance, supported-version expectations, scope, and redacted diagnostic guidance.
10
+ - Added GitHub issue templates for bug reports, false-positive/noisy-rule reports, and feature requests.
11
+ - Expanded the production readiness guard so `SECURITY.md`, issue templates, and support-intake docs stay present in future releases.
12
+
7
13
  ## 0.1.49
8
14
 
9
15
  - Expanded `jester doctor` into a support-focused diagnostic report covering package version, Node, MCP server file, review engine, config loading, git hook status, and generated GitHub Action status.
package/README.md CHANGED
@@ -430,6 +430,7 @@ More setup examples:
430
430
  - [Preset Example Packs](examples/presets)
431
431
  - [Review Fixtures](examples/fixtures)
432
432
  - [Framework CI Examples](examples/ci)
433
+ - [Security Policy](SECURITY.md)
433
434
  - [Changelog](CHANGELOG.md)
434
435
  - [Roadmap](ROADMAP.md)
435
436
  - [Trusted npm Publishing](docs/TRUSTED_PUBLISHING.md)
@@ -491,6 +492,14 @@ Both scripts check Node 20+, run a smoke `doctor`, and print MCP config.
491
492
  - Final answers with "done/fixed/works" claims that do not mention evidence, or that admit tests were not run.
492
493
  - Project-specific commands, domains, and regex rules from `jester.config.json`.
493
494
 
495
+ ## Support
496
+
497
+ When filing a bug, include redacted `jester doctor --json` output. The GitHub issue templates ask for the command, workflow step, config, and observed output so support does not start with guesswork.
498
+
499
+ Use the false-positive template for noisy cautions or blocks. Include `jester summary` and `jester tune <rule-id> --json` output when possible so rule changes can be backed by evidence.
500
+
501
+ For vulnerabilities, private code exposure, or credential-handling concerns, follow [SECURITY.md](SECURITY.md) instead of opening a public issue with sensitive details.
502
+
494
503
  ## Publishing
495
504
 
496
505
  Release checklist:
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
+ - Security policy and GitHub issue templates in v0.1.50 for bug reports, false positives, feature requests, and vulnerability intake.
9
10
  - Support-focused `doctor --json` diagnostics in v0.1.49 for package, config, hook, MCP, and GitHub Action state.
10
11
  - Production readiness checklist and static guard in v0.1.48 for package, workflow, docs, release, and support drift.
11
12
  - README onboarding polish in v0.1.47 around the shortest path from `npx` to playground, agent setup, hooks, and CI.
@@ -38,7 +39,8 @@ Memento Mori Jester is usable today as a CLI, MCP server, GitHub Action, and git
38
39
 
39
40
  ## Product Ideas
40
41
 
41
- - Add `SECURITY.md` and issue templates so diagnostics and bug reports are easier to collect.
42
+ - Add more framework-specific false-positive examples from real reports so tuning guidance keeps getting sharper.
43
+ - Add a lightweight maintainer triage guide for turning noisy-rule reports into fixtures.
42
44
 
43
45
  ## Quality And Safety
44
46
 
package/SECURITY.md ADDED
@@ -0,0 +1,48 @@
1
+ # Security Policy
2
+
3
+ Memento Mori Jester is a local CLI, MCP server, GitHub Action, and git-hook helper. It is designed to review text you provide locally; it should not send project code to a hosted service.
4
+
5
+ ## Supported Versions
6
+
7
+ Security fixes target the latest npm release and the `main` branch.
8
+
9
+ If you are using an older version, first confirm the issue still appears on the latest package:
10
+
11
+ ```powershell
12
+ npx -y memento-mori-jester@latest doctor
13
+ ```
14
+
15
+ ## Reporting A Vulnerability
16
+
17
+ Please do not put secrets, exploit details, private repository content, or live credentials in a public issue.
18
+
19
+ Use GitHub's private vulnerability report flow when available:
20
+
21
+ <https://github.com/Martin123132/Memento-Mori/security/advisories/new>
22
+
23
+ If that flow is unavailable, open a minimal public issue asking for a private security contact, but do not include sensitive details.
24
+
25
+ Helpful report details:
26
+
27
+ - affected package version and install method,
28
+ - operating system and Node version,
29
+ - the command, GitHub Action, MCP setup, hook, or installer path involved,
30
+ - the expected behavior and the observed behavior,
31
+ - whether credentials, private code, generated SARIF, or CI logs are involved,
32
+ - redacted `jester doctor --json` output.
33
+
34
+ ## Scope
35
+
36
+ Useful security reports include:
37
+
38
+ - command execution or shell-injection risks in CLI, hooks, installers, or GitHub Action paths,
39
+ - unexpected network access or code disclosure,
40
+ - unsafe handling of config, SARIF, fixture, or diagnostic output,
41
+ - supply-chain or package-publishing concerns,
42
+ - MCP server behavior that could expose more data than the caller provided.
43
+
44
+ Reports about noisy rules or false positives are welcome too, but use the false-positive issue template unless there is a concrete vulnerability.
45
+
46
+ ## Handling Notes
47
+
48
+ This is a small project, so response times are best effort. Security reports get priority over normal bugs, and fixes should preserve the project's local-first, deterministic behavior wherever possible.
package/docs/CLI.md CHANGED
@@ -51,6 +51,8 @@ jester doctor --json
51
51
 
52
52
  Use `jester doctor --json` when filing an issue or debugging automation. It includes stable keys for package version, Node version, MCP server path, review-engine health, config mode/path, hook status, and generated workflow status.
53
53
 
54
+ The bug-report issue template asks for this redacted JSON so maintainers can separate install, config, hook, MCP, and GitHub Action problems quickly.
55
+
54
56
  ## Playground
55
57
 
56
58
  Start a local-only paste-in playground:
@@ -154,6 +156,8 @@ Use `jester rule <id>` before muting a rule. It explains why the rule exists, co
154
156
 
155
157
  Use `jester tune <id>` when the question is practical: should this noisy rule be muted here, and what exact commands do I run? It is read-only and prints a before-muting checklist, a recommendation, and `disable-rule` / `enable-rule` commands.
156
158
 
159
+ When filing a false-positive issue, include redacted `jester summary` output and `jester tune <rule-id> --json` output when possible.
160
+
157
161
  Use `jester tune coverage` when maintaining the rule set. It ranks every rule by fixture support and confidence, shows expected vs unexpected fixture weight, and suggests the next maintenance action for each rule.
158
162
 
159
163
  `jester tune` now also includes fixture evidence:
@@ -108,4 +108,14 @@ Then tell them to open `MEMENTO_MORI.md`.
108
108
 
109
109
  For copy-paste agent and hook examples, see [examples](../examples). For stack-specific config examples, see [preset example packs](../examples/presets) for Next.js, Vite React, Express API, FastAPI, Terraform/Kubernetes, and AI MCP repos. For copy-paste CI workflows, see [framework CI examples](../examples/ci). For concrete pass, caution, and block cases, see [review fixtures](../examples/fixtures).
110
110
 
111
+ ## Need Help?
112
+
113
+ Run this before opening a bug report:
114
+
115
+ ```powershell
116
+ npx -y memento-mori-jester@latest doctor --json
117
+ ```
118
+
119
+ Use the GitHub false-positive template for noisy rules and include `jester tune <rule-id> --json` when possible. For vulnerabilities, private code exposure, or credential-handling concerns, follow [SECURITY.md](../SECURITY.md) instead of posting sensitive details publicly.
120
+
111
121
  For where this is going next, see [ROADMAP.md](../ROADMAP.md).
@@ -15,6 +15,7 @@ This checklist defines what "production grade" means for Memento Mori Jester rig
15
15
  - `package.json` includes repository, homepage, bugs, binaries, exports, public package files, and public publish access.
16
16
  - `package-lock.json` version matches `package.json`.
17
17
  - `npm run pack:dry` confirms the package includes `dist`, `docs`, `examples`, `scripts`, `README.md`, `CHANGELOG.md`, `ROADMAP.md`, and `LICENSE`.
18
+ - `SECURITY.md` ships with the package so vulnerability reporting guidance is visible from the repository and npm tarball.
18
19
  - `prepublishOnly` runs tests and a package dry run for local publish attempts.
19
20
 
20
21
  ## GitHub Action
@@ -48,6 +49,8 @@ This checklist defines what "production grade" means for Memento Mori Jester rig
48
49
  - Package metadata points bug reports at the GitHub issues page.
49
50
  - `jester doctor --json`, `jester config validate`, and `jester rules` are the first troubleshooting commands.
50
51
  - `jester tune`, `jester tune coverage`, and the fixture suite give maintainers a way to inspect noisy rules before changing defaults.
52
+ - GitHub issue templates collect bug reports, false-positive reports, and feature requests with the diagnostic context maintainers need.
53
+ - `SECURITY.md` routes vulnerability reports away from public issues and asks for redacted diagnostics.
51
54
  - npm publish has a manual workflow fallback, but the normal release path is tag-driven trusted publishing.
52
55
 
53
56
  ## Static Guard
@@ -58,11 +61,12 @@ This checklist defines what "production grade" means for Memento Mori Jester rig
58
61
  - package metadata and public package files are present,
59
62
  - CI, release, publish, and composite action workflows use the expected runtime and steps,
60
63
  - onboarding docs mention the important adoption paths,
61
- - production readiness documentation covers package, GitHub Action, MCP, git hooks, docs, and support.
64
+ - production readiness documentation covers package, GitHub Action, MCP, git hooks, docs, and support,
65
+ - `SECURITY.md` and GitHub issue templates exist and ask for the right diagnostics.
62
66
 
63
67
  `npm test` runs this check after the TypeScript build and unit tests.
64
68
 
65
69
  ## Known Next Gaps
66
70
 
67
- - Add `SECURITY.md` and issue templates for clearer support intake.
68
71
  - Continue expanding pass-case fixtures from real-world usage so false-positive tuning remains evidence-based.
72
+ - Add more framework-specific false-positive examples as people report real noisy cases.
package/docs/RELEASE.md CHANGED
@@ -17,7 +17,7 @@ Move the current changelog bullets into a matching version section and add `docs
17
17
  ## 2. Tag And Push
18
18
 
19
19
  ```powershell
20
- git add package.json package-lock.json CHANGELOG.md docs/RELEASE_NOTES_v0.1.x.md
20
+ git add package.json package-lock.json CHANGELOG.md docs/RELEASE_NOTES_v0.1.x.md docs/PRODUCTION_READINESS.md SECURITY.md .github/ISSUE_TEMPLATE
21
21
  git commit -m "Release v0.1.x"
22
22
  git tag -a v0.1.x -m "Memento Mori Jester v0.1.x"
23
23
  git push origin main
@@ -0,0 +1,28 @@
1
+ # v0.1.50 Release Notes
2
+
3
+ This release adds clearer public support intake so bug reports, false-positive reports, feature requests, and security reports arrive with the context maintainers need.
4
+
5
+ ## What Changed
6
+
7
+ - Added `SECURITY.md` with vulnerability reporting guidance, scope, and safe redaction expectations.
8
+ - Added GitHub issue templates for bug reports, false positives/noisy rules, and feature requests.
9
+ - Added GitHub issue-template contact links for security reports and getting-started docs.
10
+ - Updated README and production-readiness docs so `jester doctor --json` and issue templates are part of the support contract.
11
+ - Expanded `npm run production:check` so future releases keep the security policy and issue templates in place.
12
+
13
+ ## Behavior Notes
14
+
15
+ - No CLI, MCP, config, rule, playground, GitHub Action runtime, or release automation behavior changed.
16
+ - `SECURITY.md` is now included in the npm package file list.
17
+
18
+ ## Release Validation
19
+
20
+ ```powershell
21
+ npm.cmd test
22
+ npm.cmd run production:check
23
+ npm.cmd run demo:svg:check
24
+ npm.cmd run pack:dry
25
+ git diff --check
26
+ node .\dist\cli.js doctor --json
27
+ git diff | node .\dist\cli.js diff --fail-on block --subject "v0.1.50 support intake"
28
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "memento-mori-jester",
3
- "version": "0.1.49",
3
+ "version": "0.1.50",
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": {
@@ -32,6 +32,7 @@
32
32
  "scripts",
33
33
  "CHANGELOG.md",
34
34
  "LICENSE",
35
+ "SECURITY.md",
35
36
  "README.md",
36
37
  "ROADMAP.md"
37
38
  ],
@@ -50,11 +50,16 @@ for (const path of [
50
50
  "CHANGELOG.md",
51
51
  "ROADMAP.md",
52
52
  "LICENSE",
53
+ "SECURITY.md",
53
54
  "docs/RELEASE.md",
54
55
  "docs/TRUSTED_PUBLISHING.md",
55
56
  "docs/PRODUCTION_READINESS.md",
56
57
  `docs/RELEASE_NOTES_${tag}.md`,
57
58
  "action.yml",
59
+ ".github/ISSUE_TEMPLATE/bug_report.yml",
60
+ ".github/ISSUE_TEMPLATE/false_positive.yml",
61
+ ".github/ISSUE_TEMPLATE/feature_request.yml",
62
+ ".github/ISSUE_TEMPLATE/config.yml",
58
63
  ".github/workflows/ci.yml",
59
64
  ".github/workflows/npm-publish.yml",
60
65
  ".github/workflows/release.yml",
@@ -74,6 +79,8 @@ requireText("README.md", /doctor --json/, "doctor JSON support guidance");
74
79
  requireText("README.md", /config recommend/, "preset recommendation onboarding");
75
80
  requireText("README.md", /setup --agent codex/, "Codex setup onboarding");
76
81
  requireText("README.md", /github-action --write/, "GitHub Action onboarding");
82
+ requireText("README.md", /SECURITY\.md/, "security policy link");
83
+ requireText("README.md", /false-positive/i, "false-positive support guidance");
77
84
  requireText("README.md", /License: PolyForm Noncommercial/, "the noncommercial license badge");
78
85
  requireText("docs/PRODUCTION_READINESS.md", /npm package/i, "npm package readiness");
79
86
  requireText("docs/PRODUCTION_READINESS.md", /GitHub Action/i, "GitHub Action readiness");
@@ -81,9 +88,19 @@ requireText("docs/PRODUCTION_READINESS.md", /MCP/i, "MCP readiness");
81
88
  requireText("docs/PRODUCTION_READINESS.md", /git hooks/i, "git hook readiness");
82
89
  requireText("docs/PRODUCTION_READINESS.md", /support/i, "support readiness");
83
90
  requireText("docs/PRODUCTION_READINESS.md", /doctor --json/, "doctor JSON support diagnostics");
91
+ requireText("docs/PRODUCTION_READINESS.md", /SECURITY\.md/, "security policy readiness");
92
+ requireText("docs/PRODUCTION_READINESS.md", /issue templates/i, "issue template readiness");
84
93
  requireText("docs/CLI.md", /jester doctor --json/, "doctor JSON CLI docs");
85
-
86
- for (const publicFile of ["dist", "docs", "examples", "scripts", "CHANGELOG.md", "LICENSE", "README.md", "ROADMAP.md"]) {
94
+ requireText("SECURITY.md", /doctor --json/, "doctor JSON redaction guidance");
95
+ requireText("SECURITY.md", /security\/advisories\/new/, "private vulnerability report link");
96
+ requireText(".github/ISSUE_TEMPLATE/bug_report.yml", /doctor --json/, "doctor JSON support prompt");
97
+ requireText(".github/ISSUE_TEMPLATE/bug_report.yml", /SECURITY\.md|security policy/i, "security redirect");
98
+ requireText(".github/ISSUE_TEMPLATE/false_positive.yml", /jester tune <rule-id> --json/, "tune JSON prompt");
99
+ requireText(".github/ISSUE_TEMPLATE/false_positive.yml", /false-positive|noisy rule/i, "false-positive scope");
100
+ requireText(".github/ISSUE_TEMPLATE/feature_request.yml", /local-first and deterministic/, "project constraint prompt");
101
+ requireText(".github/ISSUE_TEMPLATE/config.yml", /security\/advisories\/new/, "security contact link");
102
+
103
+ for (const publicFile of ["dist", "docs", "examples", "scripts", "CHANGELOG.md", "LICENSE", "SECURITY.md", "README.md", "ROADMAP.md"]) {
87
104
  requirePackageFile(packageJson, publicFile);
88
105
  }
89
106