@nk070281sjv/cli 2.3.25 → 2.3.27

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.
Files changed (2) hide show
  1. package/dist/index.js +5 -6
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -30775,7 +30775,7 @@ ${hint}
30775
30775
  }
30776
30776
 
30777
30777
  // src/lib/version.ts
30778
- var CLI_VERSION = true ? "2.3.25" : createRequire(import.meta.url)("../../package.json").version;
30778
+ var CLI_VERSION = true ? "2.3.27" : createRequire(import.meta.url)("../../package.json").version;
30779
30779
 
30780
30780
  // src/lib/deps.ts
30781
30781
  init_src();
@@ -37435,7 +37435,7 @@ import { mkdir as mkdir2, readFile, writeFile as writeFile2 } from "node:fs/prom
37435
37435
  import { existsSync as existsSync21 } from "node:fs";
37436
37436
  import { dirname as dirname10, join as join25 } from "node:path";
37437
37437
  var GIT_SUMMARY_LIMIT = 2e4;
37438
- var REVIEW_SNAPSHOT_EXCLUDES = [".ocr", ".opencode"];
37438
+ var REVIEW_SNAPSHOT_EXCLUDES = [".ocr", ".opencode", ".claude", "CLAUDE.md"];
37439
37439
  async function prepareReviewContext(input) {
37440
37440
  const roundDir = join25(input.sessionDir, "rounds", `round-${input.round}`);
37441
37441
  await mkdir2(roundDir, { recursive: true });
@@ -37476,7 +37476,7 @@ async function prepareReviewContext(input) {
37476
37476
  "## Scope",
37477
37477
  "",
37478
37478
  gitSnapshot?.baseRef ? `Review branch changes against ${gitSnapshot.baseRef}, plus current working tree changes. Focus on changed files and the unchanged code needed to validate those changes.` : "Review the current working tree changes. Focus on changed files and the unchanged code needed to validate those changes.",
37479
- "Ignore local AI tooling/config churn under `.ocr/` and `.opencode/` unless the user explicitly asks to review OCR/OpenCode setup changes.",
37479
+ "Ignore local AI tooling/config churn under `.ocr/`, `.opencode/`, `.claude/`, and `CLAUDE.md` unless the user explicitly asks to review AI-tool setup changes.",
37480
37480
  "",
37481
37481
  ...gitSnapshot ? [
37482
37482
  "## Git Status",
@@ -38027,8 +38027,6 @@ async function reviewerPrompt(context, reviewer, promptPath, reviewPath, sharedP
38027
38027
  `Reviewer id: ${reviewer.persona}-${reviewer.instance_index}`,
38028
38028
  `Agent identity: ${reviewer.name}`,
38029
38029
  `Model alias and resolved model: ${reviewer.model}`,
38030
- `Persona source: ${personaPath}`,
38031
- `Relative persona source: ${relative3(context.roundDir, personaPath)}`,
38032
38030
  "",
38033
38031
  "## Reviewer Persona",
38034
38032
  "",
@@ -38037,6 +38035,7 @@ async function reviewerPrompt(context, reviewer, promptPath, reviewPath, sharedP
38037
38035
  "Review focus:",
38038
38036
  "- Apply the reviewer persona file as your primary review lens.",
38039
38037
  "- Use the review brief as the source of truth for changed files and scope.",
38038
+ "- Do not read `.ocr/`, `.opencode/`, `.claude/`, `CLAUDE.md`, or any persona/skill/command files; all reviewer instructions needed for this run are already embedded in this prompt.",
38040
38039
  "- Inspect surrounding source code only when needed to validate a finding.",
38041
38040
  "- Rank by concrete risk: data loss, wrong persisted state, broken public contract, security, production performance, then testability.",
38042
38041
  "- Persona focus areas are for detecting issues only; this output contract overrides any persona request to propose fixes or broad guidance.",
@@ -38099,7 +38098,7 @@ async function reviewerSharedPrefix(context) {
38099
38098
  "## Review Scope Rules",
38100
38099
  "",
38101
38100
  "- Review the changed application code described in the review brief.",
38102
- "- Ignore local AI tooling/config churn under `.ocr/` and `.opencode/` unless the user explicitly asks to review OCR/OpenCode setup changes.",
38101
+ "- Ignore local AI tooling/config churn under `.ocr/`, `.opencode/`, `.claude/`, and `CLAUDE.md` unless the user explicitly asks to review AI-tool setup changes.",
38103
38102
  "- Inspect surrounding source code only when needed to validate a finding.",
38104
38103
  "- Report only findings supported by code evidence and concrete file references.",
38105
38104
  "- Prefer targeted `git diff -- <path>` and file reads over broad repository scans.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nk070281sjv/cli",
3
- "version": "2.3.25",
3
+ "version": "2.3.27",
4
4
  "description": "CLI for Open Code Review - Multi-environment setup and progress tracking",
5
5
  "type": "module",
6
6
  "bin": {
@@ -37,7 +37,7 @@
37
37
  },
38
38
  "dependencies": {
39
39
  "@inquirer/prompts": "^7.2.0",
40
- "@nk070281sjv/agents": "2.3.25",
40
+ "@nk070281sjv/agents": "2.3.27",
41
41
  "chalk": "^5.4.1",
42
42
  "chokidar": "^4.0.3",
43
43
  "commander": "^13.0.0",