periderm-cli 0.1.29 → 0.1.31

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/dist/index.js CHANGED
@@ -31,7 +31,7 @@ const program = new Command();
31
31
  program
32
32
  .name("periderm")
33
33
  .description("A pre-launch checklist.")
34
- .version("0.1.29");
34
+ .version("0.1.31");
35
35
  // Easter egg: `periderm bless` — hidden, undocumented
36
36
  program
37
37
  .command("bless", { hidden: true })
@@ -155,6 +155,8 @@ program
155
155
  await fs.writeFile(path.join(outDir, "last-report.md"), result.markdown, "utf8");
156
156
  await fs.writeFile(path.join(outDir, "last-report.json"), JSON.stringify(result, null, 2), "utf8");
157
157
  await fs.writeFile(path.join(outDir, "ai-instructions.md"), getAiInstructions(), "utf8");
158
+ // Ignore all files in the .periderm folder to prevent leaking vulnerabilities
159
+ await fs.writeFile(path.join(outDir, ".gitignore"), "*\n", "utf8");
158
160
  if (!opts.localOnly) {
159
161
  const cfg = readConfig();
160
162
  if (!cfg.token) {
@@ -106,6 +106,7 @@ export function renderMarkdown(r) {
106
106
  lines.push(`You are reviewing a Periderm CLI scan: Launch Confidence ${r.scores.confidence}/100, Reality ${r.scores.reality}/100, Perceived ${r.scores.perceived}/100 — verdict ${verdictLabel}.`);
107
107
  lines.push(`There are ${r.counts.critical} critical, ${r.counts.high} high, ${r.counts.medium} medium, ${r.counts.low} low findings.`);
108
108
  lines.push(`Fix them in priority order. For each finding, open the listed file, apply the Exact fix, and keep the change minimal.`);
109
+ lines.push(`IMPORTANT: Before you begin, read the instructions in \`.periderm/ai-instructions.md\` for the full iterative process on how to run the scanner, verify fixes, and handle any authentication requirements.`);
109
110
  lines.push("```");
110
111
  lines.push("");
111
112
  // Hidden watermark — only visible in raw .md source
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "periderm-cli",
3
- "version": "0.1.29",
3
+ "version": "0.1.31",
4
4
  "description": "A pre-launch checklist for your codebase. Scan JS, TS, JSX, and TSX projects before you ship.",
5
5
  "type": "module",
6
6
  "bin": {