projscan 2.2.0 → 2.8.0

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 (78) hide show
  1. package/README.md +51 -21
  2. package/dist/cli/commands/agentBrief.d.ts +1 -0
  3. package/dist/cli/commands/agentBrief.js +68 -0
  4. package/dist/cli/commands/agentBrief.js.map +1 -0
  5. package/dist/cli/commands/bugHunt.d.ts +1 -0
  6. package/dist/cli/commands/bugHunt.js +59 -0
  7. package/dist/cli/commands/bugHunt.js.map +1 -0
  8. package/dist/cli/commands/evidencePack.d.ts +1 -0
  9. package/dist/cli/commands/evidencePack.js +70 -0
  10. package/dist/cli/commands/evidencePack.js.map +1 -0
  11. package/dist/cli/commands/qualityScorecard.d.ts +1 -0
  12. package/dist/cli/commands/qualityScorecard.js +61 -0
  13. package/dist/cli/commands/qualityScorecard.js.map +1 -0
  14. package/dist/cli/commands/regressionPlan.d.ts +1 -0
  15. package/dist/cli/commands/regressionPlan.js +77 -0
  16. package/dist/cli/commands/regressionPlan.js.map +1 -0
  17. package/dist/cli/commands/releaseTrain.d.ts +1 -0
  18. package/dist/cli/commands/releaseTrain.js +58 -0
  19. package/dist/cli/commands/releaseTrain.js.map +1 -0
  20. package/dist/cli/commands/workplan.d.ts +1 -0
  21. package/dist/cli/commands/workplan.js +136 -0
  22. package/dist/cli/commands/workplan.js.map +1 -0
  23. package/dist/cli/index.js +14 -0
  24. package/dist/cli/index.js.map +1 -1
  25. package/dist/core/agentBrief.d.ts +6 -0
  26. package/dist/core/agentBrief.js +192 -0
  27. package/dist/core/agentBrief.js.map +1 -0
  28. package/dist/core/bugHunt.d.ts +6 -0
  29. package/dist/core/bugHunt.js +278 -0
  30. package/dist/core/bugHunt.js.map +1 -0
  31. package/dist/core/qualityScorecard.d.ts +6 -0
  32. package/dist/core/qualityScorecard.js +220 -0
  33. package/dist/core/qualityScorecard.js.map +1 -0
  34. package/dist/core/regressionPlan.d.ts +7 -0
  35. package/dist/core/regressionPlan.js +226 -0
  36. package/dist/core/regressionPlan.js.map +1 -0
  37. package/dist/core/releaseEvidence.d.ts +7 -0
  38. package/dist/core/releaseEvidence.js +174 -0
  39. package/dist/core/releaseEvidence.js.map +1 -0
  40. package/dist/core/releaseTrain.d.ts +5 -0
  41. package/dist/core/releaseTrain.js +348 -0
  42. package/dist/core/releaseTrain.js.map +1 -0
  43. package/dist/core/workplan.d.ts +12 -0
  44. package/dist/core/workplan.js +440 -0
  45. package/dist/core/workplan.js.map +1 -0
  46. package/dist/index.d.ts +8 -1
  47. package/dist/index.js +7 -0
  48. package/dist/index.js.map +1 -1
  49. package/dist/mcp/tools/agentBrief.d.ts +2 -0
  50. package/dist/mcp/tools/agentBrief.js +39 -0
  51. package/dist/mcp/tools/agentBrief.js.map +1 -0
  52. package/dist/mcp/tools/bugHunt.d.ts +2 -0
  53. package/dist/mcp/tools/bugHunt.js +31 -0
  54. package/dist/mcp/tools/bugHunt.js.map +1 -0
  55. package/dist/mcp/tools/evidencePack.d.ts +2 -0
  56. package/dist/mcp/tools/evidencePack.js +39 -0
  57. package/dist/mcp/tools/evidencePack.js.map +1 -0
  58. package/dist/mcp/tools/qualityScorecard.d.ts +2 -0
  59. package/dist/mcp/tools/qualityScorecard.js +26 -0
  60. package/dist/mcp/tools/qualityScorecard.js.map +1 -0
  61. package/dist/mcp/tools/regressionPlan.d.ts +2 -0
  62. package/dist/mcp/tools/regressionPlan.js +47 -0
  63. package/dist/mcp/tools/regressionPlan.js.map +1 -0
  64. package/dist/mcp/tools/releaseTrain.d.ts +2 -0
  65. package/dist/mcp/tools/releaseTrain.js +27 -0
  66. package/dist/mcp/tools/releaseTrain.js.map +1 -0
  67. package/dist/mcp/tools/workplan.d.ts +2 -0
  68. package/dist/mcp/tools/workplan.js +70 -0
  69. package/dist/mcp/tools/workplan.js.map +1 -0
  70. package/dist/mcp/tools.js +14 -0
  71. package/dist/mcp/tools.js.map +1 -1
  72. package/dist/projscan-sbom.cdx.json +6 -6
  73. package/dist/tool-manifest.json +196 -3
  74. package/dist/types.d.ts +240 -0
  75. package/dist/utils/formatSupport.d.ts +8 -0
  76. package/dist/utils/formatSupport.js +8 -0
  77. package/dist/utils/formatSupport.js.map +1 -1
  78. package/package.json +4 -4
package/README.md CHANGED
@@ -9,9 +9,9 @@
9
9
 
10
10
  **Agent-first code intelligence.** An MCP server that lets AI coding agents (Claude Code, Codex, Cursor, Gemini, Windsurf, Cline, Continue, Zed — any MCP-aware client) query your codebase — with a CLI for humans and a local plugin layer for team-specific policy and reporting.
11
11
 
12
- [AI Agent Quick Start](#ai-agent-integration-mcp) · [CLI Quick Start](#quick-start) · [Commands](#commands) · [Full Guide](https://github.com/abhiyoheswaran1/projscan/blob/v2.2.0/docs/GUIDE.md) · [Roadmap](https://github.com/abhiyoheswaran1/projscan/blob/v2.2.0/docs/ROADMAP.md)
12
+ [AI Agent Quick Start](#ai-agent-integration-mcp) · [CLI Quick Start](#quick-start) · [Commands](#commands) · [Full Guide](https://github.com/abhiyoheswaran1/projscan/blob/v2.8.0/docs/GUIDE.md) · [Roadmap](https://github.com/abhiyoheswaran1/projscan/blob/v2.8.0/docs/ROADMAP.md)
13
13
 
14
- <img src="https://raw.githubusercontent.com/abhiyoheswaran1/projscan/v2.2.0/docs/projscan-reporter-plugin.png" alt="projscan reporter plugin running in a macOS-style terminal window with a team health summary" width="700">
14
+ <img src="https://raw.githubusercontent.com/abhiyoheswaran1/projscan/v2.8.0/docs/projscan-reporter-plugin.png" alt="projscan reporter plugin running in a macOS-style terminal window with a team health summary" width="700">
15
15
 
16
16
  </div>
17
17
 
@@ -33,7 +33,7 @@ Humans get the same thing through the CLI.
33
33
  npx projscan
34
34
  ```
35
35
 
36
- <img src="https://raw.githubusercontent.com/abhiyoheswaran1/projscan/v2.2.0/docs/projscan-reporter-plugin.gif" alt="projscan doctor rendered through a local reporter plugin in a macOS-style terminal window" width="700">
36
+ <img src="https://raw.githubusercontent.com/abhiyoheswaran1/projscan/v2.8.0/docs/projscan-reporter-plugin.gif" alt="projscan doctor rendered through a local reporter plugin in a macOS-style terminal window" width="700">
37
37
 
38
38
  Run `projscan doctor` for a focused health check:
39
39
 
@@ -41,7 +41,7 @@ Run `projscan doctor` for a focused health check:
41
41
  npx projscan doctor
42
42
  ```
43
43
 
44
- <img src="https://raw.githubusercontent.com/abhiyoheswaran1/projscan/v2.2.0/docs/npx%20projscan%20doctor.gif" alt="npx projscan doctor" width="700">
44
+ <img src="https://raw.githubusercontent.com/abhiyoheswaran1/projscan/v2.8.0/docs/npx%20projscan%20doctor.gif" alt="npx projscan doctor" width="700">
45
45
 
46
46
  ## Install
47
47
 
@@ -61,6 +61,14 @@ Run inside any repository:
61
61
 
62
62
  ```bash
63
63
  projscan # Full project analysis
64
+ projscan workplan --mode bug_hunt # Prioritized agent execution plan
65
+ projscan bug-hunt --format json # Bug-hunt fix queue with verification commands
66
+ projscan agent-brief --intent bug_hunt # Compact next-agent context packet
67
+ projscan quality-scorecard --format json # Dimensioned quality view
68
+ projscan release-train --format json # Product readiness plan
69
+ projscan evidence-pack --website-prompt # Approval packet with product evidence
70
+ projscan regression-plan --level full # Risk-based verification matrix
71
+ projscan handoff # Concise next-agent handoff
64
72
  projscan preflight --format json # Agent safety gate with supply-chain evidence
65
73
  projscan doctor # Health check, including security and supply-chain risks
66
74
  projscan hotspots # Rank files by risk (churn × complexity × issues × ownership)
@@ -84,15 +92,23 @@ projscan plugin test .projscan-plugins/policy.projscan-plugin.json
84
92
  PROJSCAN_PLUGINS_PREVIEW=1 projscan doctor --reporter team-radar
85
93
  ```
86
94
 
87
- <img src="https://raw.githubusercontent.com/abhiyoheswaran1/projscan/v2.2.0/docs/npx%20projscan%20--help.gif" alt="npx projscan --help" width="700">
95
+ <img src="https://raw.githubusercontent.com/abhiyoheswaran1/projscan/v2.8.0/docs/npx%20projscan%20--help.gif" alt="npx projscan --help" width="700">
88
96
 
89
- For a comprehensive walkthrough, see the **[Full Guide](https://github.com/abhiyoheswaran1/projscan/blob/v2.2.0/docs/GUIDE.md)**.
97
+ For a comprehensive walkthrough, see the **[Full Guide](https://github.com/abhiyoheswaran1/projscan/blob/v2.8.0/docs/GUIDE.md)**.
90
98
 
91
99
  ## Commands
92
100
 
93
101
  | Command | Description |
94
102
  |---------|-------------|
95
103
  | `projscan analyze` | Full analysis - languages, frameworks, dependencies, issues |
104
+ | `projscan workplan` | Agent execution plan - prioritized tasks with evidence, tools, verification, and handoff text |
105
+ | `projscan bug-hunt` | Prioritized bug-hunt fix queue from doctor, preflight, hotspot, and session evidence |
106
+ | `projscan agent-brief` | Compact next-agent context packet with focus items, guardrails, repo context, and next actions |
107
+ | `projscan quality-scorecard` | Dimensioned quality view with health, security, tests, maintainability, coordination, and top risks |
108
+ | `projscan release-train` | Plan upcoming product lines with readiness evidence |
109
+ | `projscan evidence-pack` | Assemble approval evidence from planning, bug-hunt, workplan, and preflight signals |
110
+ | `projscan regression-plan` | Build a smoke, focused, or full regression matrix from product risk signals |
111
+ | `projscan handoff` | Concise next-agent handoff from the current workplan |
96
112
  | `projscan doctor` | Health check - missing tooling, architecture smells, security and supply-chain risks |
97
113
  | `projscan preflight` | Agent safety gate - `proceed`, `caution`, or `block` with health, change, plugin, and supply-chain evidence |
98
114
  | `projscan hotspots` | Rank files by risk - churn × complexity × issues × ownership |
@@ -129,31 +145,31 @@ projscan --help
129
145
  <details>
130
146
  <summary><strong>projscan structure</strong> - Directory tree with file counts</summary>
131
147
 
132
- <img src="https://raw.githubusercontent.com/abhiyoheswaran1/projscan/v2.2.0/docs/npx%20projscan%20structure.gif" alt="npx projscan structure" width="700">
148
+ <img src="https://raw.githubusercontent.com/abhiyoheswaran1/projscan/v2.8.0/docs/npx%20projscan%20structure.gif" alt="npx projscan structure" width="700">
133
149
  </details>
134
150
 
135
151
  <details>
136
152
  <summary><strong>projscan diagram</strong> - Architecture visualization</summary>
137
153
 
138
- <img src="https://raw.githubusercontent.com/abhiyoheswaran1/projscan/v2.2.0/docs/npx%20projscan%20diagram.gif" alt="npx projscan diagram" width="700">
154
+ <img src="https://raw.githubusercontent.com/abhiyoheswaran1/projscan/v2.8.0/docs/npx%20projscan%20diagram.gif" alt="npx projscan diagram" width="700">
139
155
  </details>
140
156
 
141
157
  <details>
142
158
  <summary><strong>projscan dependencies</strong> - Dependency analysis</summary>
143
159
 
144
- <img src="https://raw.githubusercontent.com/abhiyoheswaran1/projscan/v2.2.0/docs/npx%20projscan%20dependencies.gif" alt="npx projscan dependencies" width="700">
160
+ <img src="https://raw.githubusercontent.com/abhiyoheswaran1/projscan/v2.8.0/docs/npx%20projscan%20dependencies.gif" alt="npx projscan dependencies" width="700">
145
161
  </details>
146
162
 
147
163
  <details>
148
164
  <summary><strong>projscan explain</strong> - File explanation</summary>
149
165
 
150
- <img src="https://raw.githubusercontent.com/abhiyoheswaran1/projscan/v2.2.0/docs/npx%20projscan%20explain.gif" alt="npx projscan explain" width="700">
166
+ <img src="https://raw.githubusercontent.com/abhiyoheswaran1/projscan/v2.8.0/docs/npx%20projscan%20explain.gif" alt="npx projscan explain" width="700">
151
167
  </details>
152
168
 
153
169
  <details>
154
170
  <summary><strong>projscan badge</strong> - Health badge generation</summary>
155
171
 
156
- <img src="https://raw.githubusercontent.com/abhiyoheswaran1/projscan/v2.2.0/docs/npx%20projscan%20badge.gif" alt="npx projscan badge" width="700">
172
+ <img src="https://raw.githubusercontent.com/abhiyoheswaran1/projscan/v2.8.0/docs/npx%20projscan%20badge.gif" alt="npx projscan badge" width="700">
157
173
  </details>
158
174
 
159
175
  ### Output Formats
@@ -175,7 +191,7 @@ Run `projscan help` for the generated command-by-command support matrix.
175
191
 
176
192
  projscan can load local plugins from `.projscan-plugins/` when `PROJSCAN_PLUGINS_PREVIEW=1` is set. The environment flag is kept for explicit local-code opt-in. Analyzer plugins emit normal projscan issues; reporter plugins render supported CLI commands with team-specific output.
177
193
 
178
- **2.0 upgrade notes:** migrating from 1.x or authoring plugins? Start with the [2.0 Migration Guide](https://github.com/abhiyoheswaran1/projscan/blob/v2.2.0/docs/2.0-MIGRATION.md), then use [Plugin Authoring](https://github.com/abhiyoheswaran1/projscan/blob/v2.2.0/docs/PLUGIN-AUTHORING.md) and the [manifest schema](https://github.com/abhiyoheswaran1/projscan/blob/v2.2.0/docs/plugin.schema.json) as the stable contract.
194
+ **2.0 upgrade notes:** migrating from 1.x or authoring plugins? Start with the [2.0 Migration Guide](https://github.com/abhiyoheswaran1/projscan/blob/v2.8.0/docs/2.0-MIGRATION.md), then use [Plugin Authoring](https://github.com/abhiyoheswaran1/projscan/blob/v2.8.0/docs/PLUGIN-AUTHORING.md) and the [manifest schema](https://github.com/abhiyoheswaran1/projscan/blob/v2.8.0/docs/plugin.schema.json) as the stable contract.
179
195
 
180
196
  ```bash
181
197
  projscan plugin list
@@ -184,9 +200,9 @@ PROJSCAN_PLUGINS_PREVIEW=1 projscan doctor --reporter team-radar
184
200
  PROJSCAN_PLUGINS_PREVIEW=1 projscan ci --reporter team-radar --min-score 80
185
201
  ```
186
202
 
187
- <img src="https://raw.githubusercontent.com/abhiyoheswaran1/projscan/v2.2.0/docs/projscan-reporter-plugin.gif" alt="projscan local reporter plugin rendering a team health report" width="700">
203
+ <img src="https://raw.githubusercontent.com/abhiyoheswaran1/projscan/v2.8.0/docs/projscan-reporter-plugin.gif" alt="projscan local reporter plugin rendering a team health report" width="700">
188
204
 
189
- Reporter plugins are intentionally CLI-only. MCP tools keep returning structured JSON-compatible payloads so agents can reason over stable data, while humans can get a polished local report for their team. Custom presentation, team-branded summaries, and white-label reports belong in reporter plugins rather than new core HTML theming flags. See [Plugin Authoring](https://github.com/abhiyoheswaran1/projscan/blob/v2.2.0/docs/PLUGIN-AUTHORING.md) for manifest shape, `render(context)`, validation, and the trust model.
205
+ Reporter plugins are intentionally CLI-only. MCP tools keep returning structured JSON-compatible payloads so agents can reason over stable data, while humans can get a polished local report for their team. Custom presentation, team-branded summaries, and white-label reports belong in reporter plugins rather than new core HTML theming flags. See [Plugin Authoring](https://github.com/abhiyoheswaran1/projscan/blob/v2.8.0/docs/PLUGIN-AUTHORING.md) for manifest shape, `render(context)`, validation, and the trust model.
190
206
 
191
207
  ### Options
192
208
 
@@ -347,7 +363,7 @@ If you read projscan's [Socket report](https://socket.dev/npm/package/projscan),
347
363
  ### Audit it yourself
348
364
 
349
365
  - **Source is open** at [github.com/abhiyoheswaran1/projscan](https://github.com/abhiyoheswaran1/projscan). The npm tarball matches the `dist/` produced by `npm run build` at the matching tag.
350
- - **Public API surface is locked** by `scripts/check-stability.mjs`, which runs in CI on every PR and fails on any rename or removal of an MCP tool, CLI command, or exit code. See [`docs/STABILITY.md`](https://github.com/abhiyoheswaran1/projscan/blob/v2.2.0/docs/STABILITY.md).
366
+ - **Public API surface is locked** by `scripts/check-stability.mjs`, which runs in CI on every PR and fails on any rename or removal of an MCP tool, CLI command, or exit code. See [`docs/STABILITY.md`](https://github.com/abhiyoheswaran1/projscan/blob/v2.8.0/docs/STABILITY.md).
351
367
  - **Run it offline:** `npm install -g projscan` followed by anything except `audit` and `--mode semantic` works without network.
352
368
  - **Drop privilege further:** in CI, run projscan in a sandbox that disallows network egress; everything except `audit` will pass.
353
369
 
@@ -385,7 +401,7 @@ projscan ci --changed-only # Gate only on this PR's diff
385
401
  projscan ci --format sarif > projscan.sarif # SARIF for Code Scanning
386
402
  ```
387
403
 
388
- <img src="https://raw.githubusercontent.com/abhiyoheswaran1/projscan/v2.2.0/docs/npx%20projscan%20ci%20--min-score%2070.gif" alt="npx projscan ci --min-score 70" width="700">
404
+ <img src="https://raw.githubusercontent.com/abhiyoheswaran1/projscan/v2.8.0/docs/npx%20projscan%20ci%20--min-score%2070.gif" alt="npx projscan ci --min-score 70" width="700">
389
405
 
390
406
  ### GitHub Action (recommended)
391
407
 
@@ -454,7 +470,7 @@ Fields:
454
470
  - `hotspots.limit` / `hotspots.since` - defaults for the `hotspots` command
455
471
  - `monorepo.importPolicy` - cross-package import allow/deny rules in monorepos *(0.14+)*
456
472
 
457
- See [`docs/GUIDE.md` → Configuration](https://github.com/abhiyoheswaran1/projscan/blob/v2.2.0/docs/GUIDE.md#configuration-projscanrc) for the full reference (field types, validation behavior, embedding config in `package.json`, monorepo `importPolicy` semantics).
473
+ See [`docs/GUIDE.md` → Configuration](https://github.com/abhiyoheswaran1/projscan/blob/v2.8.0/docs/GUIDE.md#configuration-projscanrc) for the full reference (field types, validation behavior, embedding config in `package.json`, monorepo `importPolicy` semantics).
458
474
 
459
475
  ## Tracking Health Over Time
460
476
 
@@ -467,7 +483,7 @@ projscan diff # Compare against baseline
467
483
  projscan diff --format markdown # Markdown diff for PRs
468
484
  ```
469
485
 
470
- <img src="https://raw.githubusercontent.com/abhiyoheswaran1/projscan/v2.2.0/docs/npx%20projscan%20diff%20--save-baseline.gif" alt="npx projscan diff --save-baseline" width="700">
486
+ <img src="https://raw.githubusercontent.com/abhiyoheswaran1/projscan/v2.8.0/docs/npx%20projscan%20diff%20--save-baseline.gif" alt="npx projscan diff --save-baseline" width="700">
471
487
 
472
488
  ## Hotspots - Where to Fix First
473
489
 
@@ -556,7 +572,7 @@ Coverage is also automatically joined into `projscan hotspots` when one of those
556
572
 
557
573
  **This is the primary way to use projscan.** `projscan mcp` starts an [MCP](https://modelcontextprotocol.io) server over stdio so AI coding agents can query your codebase with real structural accuracy - not regex, not grep.
558
574
 
559
- <img src="https://raw.githubusercontent.com/abhiyoheswaran1/projscan/v2.2.0/docs/projscan-agent-demo.gif" alt="projscan answering two agent questions: what breaks if I rename buildCodeGraph (impact analysis with definitions, direct callers, transitive reach), and where should I fix first (ranked hotspots with cyclomatic complexity)" width="700">
575
+ <img src="https://raw.githubusercontent.com/abhiyoheswaran1/projscan/v2.8.0/docs/projscan-agent-demo.gif" alt="projscan answering two agent questions: what breaks if I rename buildCodeGraph (impact analysis with definitions, direct callers, transitive reach), and where should I fix first (ranked hotspots with cyclomatic complexity)" width="700">
560
576
 
561
577
  Two questions an agent asks; structural answers in milliseconds. *"What breaks if I rename `buildCodeGraph`?"* → 31 direct callers, 97 files reachable. *"Where should I fix first?"* → ranked hotspots with AST cyclomatic complexity, churn, and ownership signals.
562
578
 
@@ -689,8 +705,15 @@ Capability is advertised under `experimental.fileChanged` on `initialize` so cli
689
705
  - *"What are the scariest untested files?"* → `projscan_coverage`
690
706
  - *"What breaks if I bump chalk to 6?"* → `projscan_upgrade { package: "chalk" }`
691
707
  - *"Where should I refactor first?"* → `projscan_hotspots`
708
+ - *"What should my agent do next?"* → `projscan_workplan { mode: "bug_hunt" }`
709
+ - *"Give the next agent a compact brief."* → `projscan_agent_brief { intent: "bug_hunt" }`
710
+ - *"Show the product quality picture."* → `projscan_quality_scorecard`
711
+ - *"What should I fix before a big release?"* → `projscan_bug_hunt`
712
+ - *"What evidence do I need before approval?"* → `projscan_evidence_pack { website_prompt: true }`
713
+ - *"Which checks prove this bigger product update?"* → `projscan_regression_plan { level: "full" }`
714
+ - *"How do I plan the next six product lines?"* → `projscan_release_train`
692
715
 
693
- ### The 28 MCP tools
716
+ ### The 36 MCP tools
694
717
 
695
718
  **Structural (0.6.0 / 0.11 / 0.13 / 0.14 / 0.15 - agent-native):**
696
719
  - **`projscan_graph`** - query the AST-based code graph. Directions: `imports`, `exports`, `importers`, `symbol_defs`, `package_importers`. Millisecond responses on a warm cache.
@@ -698,6 +721,13 @@ Capability is advertised under `experimental.fileChanged` on `initialize` so cli
698
721
  - **`projscan_coupling`** *(0.11)* - per-file fan-in / fan-out / instability + circular-import cycles (Tarjan SCC). Filter by `direction: cycles_only | high_fan_in | high_fan_out`.
699
722
  - **`projscan_pr_diff`** *(0.11)* - structural diff between two git refs. Returns added/removed/modified files with explicit lists of exports, imports, and call sites that changed, plus ΔCC and Δfan-in.
700
723
  - **`projscan_review`** *(0.13)* - one-call PR review. Composes `pr_diff` + per-changed-file risk + new/expanded import cycles + risky function additions + dependency changes + a verdict (`ok` / `review` / `block`).
724
+ - **`projscan_workplan`** *(2.3)* - agent mission-control plan. Composes preflight, review, session, hotspot, plugin, and supply-chain evidence into prioritized tasks with verification commands and handoff text.
725
+ - **`projscan_bug_hunt`** *(2.3)* - ranked bug-hunt queue. Composes doctor issues, preflight, hotspots, and session coordination into fix targets with verification commands.
726
+ - **`projscan_release_train`** *(2.3)* - product-line readiness planner. Reads version, scope, readiness evidence, and next actions.
727
+ - **`projscan_evidence_pack`** *(2.3)* - approval packet. Composes planning, bug-hunt, workplan, preflight, changelog, and optional website prompt evidence.
728
+ - **`projscan_regression_plan`** *(2.3)* - smoke/focused/full regression matrix. Turns bug-hunt, preflight, and product risk into deduplicated verification commands.
729
+ - **`projscan_agent_brief`** *(2.3)* - compact next-agent context packet with focus items, repo context, guardrails, and suggested next actions.
730
+ - **`projscan_quality_scorecard`** *(2.3)* - dimensioned quality view across health, security, tests, maintainability, coordination, top risks, and verification commands.
701
731
  - **`projscan_fix_suggest`** *(0.14)* - structured action prompt for any open issue: headline, why it matters, where, one-paragraph instruction, optional suggested test. Closes the diagnose → fix loop.
702
732
  - **`projscan_explain_issue`** *(0.14)* - deep dive on one issue: code excerpt, related issues in the same file, similar past commits via `git log --grep`, plus the structured FixSuggestion.
703
733
  - **`projscan_impact`** *(0.15)* - transitive blast-radius for a file or symbol. BFS over reverse imports + symbol callsites. Use BEFORE renaming or deleting to see what breaks.
@@ -731,7 +761,7 @@ Capability is advertised under `experimental.fileChanged` on `initialize` so cli
731
761
  - **`projscan_apply_fix`** *(1.6)* - mechanically execute the safe fix templates. Default is dry-run; pass `confirm: true` to write. Atomic writes, per-apply rollback record at `.projscan-cache/rollbacks/<id>.json`. Reverse with `action: "rollback", rollback_id: ...`. Six templates supported at this release: `unused-dependency-*`, `missing-test-framework`, `missing-eslint`, `missing-prettier`, `missing-editorconfig`, `missing-readme`.
732
762
  - **`projscan_taint`** *(1.6)* - source-to-sink reachability over the per-function call graph. Built-in defaults cover common JS / Python sources (`process.env`, `req.body`, etc.) and sinks (`exec`, `eval`, `db.query`, etc.). Project-specific names go in `.projscanrc.json` `taint`. `projscan_review` automatically diffs taint flows between base and head and **blocks any PR that introduces a new flow**.
733
763
 
734
- For analyzer and reporter plugin authoring, manifest validation, `--reporter <name>`, and the trust model, see [Plugin Authoring](https://github.com/abhiyoheswaran1/projscan/blob/v2.2.0/docs/PLUGIN-AUTHORING.md).
764
+ For analyzer and reporter plugin authoring, manifest validation, `--reporter <name>`, and the trust model, see [Plugin Authoring](https://github.com/abhiyoheswaran1/projscan/blob/v2.8.0/docs/PLUGIN-AUTHORING.md).
735
765
 
736
766
  ### Context-window budgeting
737
767
 
@@ -0,0 +1 @@
1
+ export declare function registerAgentBrief(): void;
@@ -0,0 +1,68 @@
1
+ import chalk from 'chalk';
2
+ import { assertFormatSupported, getRootPath, maybeCompactBanner, program, setupLogLevel, } from '../_shared.js';
3
+ import { computeAgentBrief } from '../../core/agentBrief.js';
4
+ const INTENTS = ['next_agent', 'bug_hunt', 'release', 'refactor', 'hardening'];
5
+ export function registerAgentBrief() {
6
+ program
7
+ .command('agent-brief')
8
+ .description('Create a compact next-agent context packet with focus items and guardrails')
9
+ .option('--intent <intent>', 'next_agent, bug_hunt, release, refactor, or hardening', 'next_agent')
10
+ .option('--max-items <count>', 'maximum focus items to return', parsePositiveInt)
11
+ .action(async (cmdOpts) => {
12
+ setupLogLevel();
13
+ maybeCompactBanner();
14
+ const format = assertFormatSupported('agent-brief');
15
+ const intent = parseIntent(cmdOpts.intent);
16
+ try {
17
+ const report = await computeAgentBrief(getRootPath(), {
18
+ intent,
19
+ maxItems: cmdOpts.maxItems,
20
+ });
21
+ if (format === 'json') {
22
+ console.log(JSON.stringify(report, null, 2));
23
+ return;
24
+ }
25
+ printAgentBrief(report);
26
+ }
27
+ catch (err) {
28
+ console.error(chalk.red(err instanceof Error ? err.message : String(err)));
29
+ process.exit(1);
30
+ }
31
+ });
32
+ }
33
+ function printAgentBrief(report) {
34
+ console.log(chalk.bold(`Agent Brief: ${report.intent}`));
35
+ console.log(report.summary);
36
+ console.log('');
37
+ console.log(chalk.bold('Focus'));
38
+ for (const item of report.focus) {
39
+ printFocusItem(item);
40
+ }
41
+ console.log('');
42
+ console.log(chalk.bold('Guardrails'));
43
+ for (const guardrail of report.guardrails) {
44
+ console.log(`- ${guardrail.label}: ${guardrail.command}`);
45
+ }
46
+ }
47
+ function printFocusItem(item) {
48
+ const files = item.files.length > 0 ? ` (${item.files.join(', ')})` : '';
49
+ console.log(`- ${chalk.bold(`[${item.priority}] ${item.title}`)}${files}`);
50
+ console.log(` ${item.why}`);
51
+ console.log(` run: ${item.commands.join(' && ')}`);
52
+ }
53
+ function parseIntent(value) {
54
+ if (typeof value === 'string' && INTENTS.includes(value)) {
55
+ return value;
56
+ }
57
+ console.error(chalk.red(`Unsupported --intent ${String(value)}.`));
58
+ console.error(chalk.dim('Supported intents: next_agent, bug_hunt, release, refactor, hardening'));
59
+ process.exit(1);
60
+ }
61
+ function parsePositiveInt(value) {
62
+ const parsed = Number.parseInt(value, 10);
63
+ if (!Number.isFinite(parsed) || parsed <= 0) {
64
+ throw new Error('value must be a positive integer');
65
+ }
66
+ return parsed;
67
+ }
68
+ //# sourceMappingURL=agentBrief.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"agentBrief.js","sourceRoot":"","sources":["../../../src/cli/commands/agentBrief.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EACL,qBAAqB,EACrB,WAAW,EACX,kBAAkB,EAClB,OAAO,EACP,aAAa,GACd,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAG7D,MAAM,OAAO,GAAgC,CAAC,YAAY,EAAE,UAAU,EAAE,SAAS,EAAE,UAAU,EAAE,WAAW,CAAC,CAAC;AAE5G,MAAM,UAAU,kBAAkB;IAChC,OAAO;SACJ,OAAO,CAAC,aAAa,CAAC;SACtB,WAAW,CAAC,4EAA4E,CAAC;SACzF,MAAM,CAAC,mBAAmB,EAAE,uDAAuD,EAAE,YAAY,CAAC;S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KAAK,CAAC,GAAG,CAAC,CAAC,CAAC;IACnE,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,uEAAuE,CAAC,CAAC,CAAC;IAClG,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAClB,CAAC;AAED,SAAS,gBAAgB,CAAC,KAAa;IACrC,MAAM,MAAM,GAAG,MAAM,CAAC,QAAQ,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;IAC1C,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,IAAI,MAAM,IAAI,CAAC,EAAE,CAAC;QAC5C,MAAM,IAAI,KAAK,CAAC,kCAAkC,CAAC,CAAC;IACtD,CAAC;IACD,OAAO,MAAM,CAAC;AAChB,CAAC"}
@@ -0,0 +1 @@
1
+ export declare function registerBugHunt(): void;
@@ -0,0 +1,59 @@
1
+ import chalk from 'chalk';
2
+ import { assertFormatSupported, getRootPath, maybeCompactBanner, program, setupLogLevel, } from '../_shared.js';
3
+ import { computeBugHunt } from '../../core/bugHunt.js';
4
+ export function registerBugHunt() {
5
+ program
6
+ .command('bug-hunt')
7
+ .description('Prioritize a bug-hunt fix queue from repo health, hotspots, preflight, and session evidence')
8
+ .option('--max-findings <count>', 'maximum number of findings to return', parsePositiveInt)
9
+ .option('--since <when>', 'git history window for hotspot evidence')
10
+ .action(async (cmdOpts) => {
11
+ setupLogLevel();
12
+ maybeCompactBanner();
13
+ const format = assertFormatSupported('bug-hunt');
14
+ try {
15
+ const report = await computeBugHunt(getRootPath(), {
16
+ maxFindings: cmdOpts.maxFindings,
17
+ since: cmdOpts.since,
18
+ });
19
+ if (format === 'json') {
20
+ console.log(JSON.stringify(report, null, 2));
21
+ return;
22
+ }
23
+ printBugHunt(report);
24
+ }
25
+ catch (err) {
26
+ console.error(chalk.red(err instanceof Error ? err.message : String(err)));
27
+ process.exit(1);
28
+ }
29
+ });
30
+ }
31
+ function printBugHunt(report) {
32
+ const color = report.verdict === 'block' ? chalk.red : report.verdict === 'fix' ? chalk.yellow : chalk.green;
33
+ console.log(color(`Bug Hunt: ${report.verdict}`));
34
+ console.log(report.summary);
35
+ console.log('');
36
+ console.log(chalk.bold('Fix Queue'));
37
+ for (const finding of report.fixQueue) {
38
+ printFinding(finding);
39
+ }
40
+ console.log('');
41
+ console.log(chalk.bold('Verify'));
42
+ for (const entry of report.verificationMatrix) {
43
+ console.log(`- ${entry.command}`);
44
+ }
45
+ }
46
+ function printFinding(finding) {
47
+ const files = finding.files.length > 0 ? ` (${finding.files.join(', ')})` : '';
48
+ console.log(`- ${chalk.bold(`[${finding.priority}] ${finding.title}`)}${files}`);
49
+ console.log(` ${finding.why}`);
50
+ console.log(` verify: ${finding.verification.commands.join(' && ')}`);
51
+ }
52
+ function parsePositiveInt(value) {
53
+ const parsed = Number.parseInt(value, 10);
54
+ if (!Number.isFinite(parsed) || parsed <= 0) {
55
+ throw new Error('value must be a positive integer');
56
+ }
57
+ return parsed;
58
+ }
59
+ //# sourceMappingURL=bugHunt.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bugHunt.js","sourceRoot":"","sources":["../../../src/cli/commands/bugHunt.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EACL,qBAAqB,EACrB,WAAW,EACX,kBAAkB,EAClB,OAAO,EACP,aAAa,GACd,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAGvD,MAAM,UAAU,eAAe;IAC7B,OAAO;SACJ,OAAO,CAAC,UAAU,CAAC;SACnB,WAAW,CAAC,6FAA6F,CAAC;SAC1G,MAAM,CAAC,wBAAwB,EAAE,sCAAsC,EAAE,gBAAgB,CAAC;SAC1F,MAAM,CAAC,gBAAgB,EAAE,yCAAyC,CAAC;SACnE,MAAM,CAAC,KAAK,EAAE,OAAO,EAAE,EAAE;QACxB,aAAa,EAAE,CAAC;QAChB,kBAAkB,EAAE,CAAC;QAC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AAC;IACtD,CAAC;IACD,OAAO,MAAM,CAAC;AAChB,CAAC"}
@@ -0,0 +1 @@
1
+ export declare function registerEvidencePack(): void;
@@ -0,0 +1,70 @@
1
+ import chalk from 'chalk';
2
+ import { assertFormatSupported, getRootPath, maybeCompactBanner, program, setupLogLevel, } from '../_shared.js';
3
+ import { computeEvidencePack } from '../../core/releaseEvidence.js';
4
+ export function registerEvidencePack() {
5
+ program
6
+ .command('evidence-pack')
7
+ .description('Assemble approval evidence from product planning, bug-hunt, workplan, and preflight signals')
8
+ .option('--line <line>', 'product line to include, repeatable (default: next six minor lines)', collectLine, [])
9
+ .option('--website-prompt', 'include website-update prompt text')
10
+ .option('--max-findings <count>', 'maximum bug-hunt findings to include', parsePositiveInt)
11
+ .action(async (cmdOpts) => {
12
+ setupLogLevel();
13
+ maybeCompactBanner();
14
+ const format = assertFormatSupported('evidence-pack');
15
+ try {
16
+ const report = await computeEvidencePack(getRootPath(), {
17
+ lines: cmdOpts.line,
18
+ includeWebsitePrompt: cmdOpts.websitePrompt === true,
19
+ maxFindings: cmdOpts.maxFindings,
20
+ });
21
+ if (format === 'json') {
22
+ console.log(JSON.stringify(report, null, 2));
23
+ return;
24
+ }
25
+ printEvidencePack(report);
26
+ }
27
+ catch (err) {
28
+ console.error(chalk.red(err instanceof Error ? err.message : String(err)));
29
+ process.exit(1);
30
+ }
31
+ });
32
+ }
33
+ function collectLine(value, previous) {
34
+ return [...previous, value];
35
+ }
36
+ function printEvidencePack(report) {
37
+ const color = report.verdict === 'blocked'
38
+ ? chalk.red
39
+ : report.verdict === 'caution'
40
+ ? chalk.yellow
41
+ : chalk.green;
42
+ console.log(color(`Evidence Pack: ${report.verdict}`));
43
+ console.log(report.summary);
44
+ console.log(`Version: ${report.currentVersion ?? 'unknown'}`);
45
+ console.log(`Product lines: ${report.train.lines.join(', ')}`);
46
+ console.log('');
47
+ console.log(chalk.bold('Artifacts'));
48
+ for (const artifact of report.artifacts) {
49
+ printArtifact(artifact);
50
+ }
51
+ console.log('');
52
+ console.log(chalk.bold('Approval'));
53
+ console.log(`- ${report.approval.recommendation}`);
54
+ for (const reason of report.approval.blockingReasons.slice(0, 5)) {
55
+ console.log(`- blocker: ${reason}`);
56
+ }
57
+ }
58
+ function printArtifact(artifact) {
59
+ console.log(`- ${chalk.bold(`[${artifact.status}] ${artifact.title}`)}`);
60
+ console.log(` ${artifact.summary}`);
61
+ console.log(` verify: ${artifact.commands.join(' && ')}`);
62
+ }
63
+ function parsePositiveInt(value) {
64
+ const parsed = Number.parseInt(value, 10);
65
+ if (!Number.isFinite(parsed) || parsed <= 0) {
66
+ throw new Error('value must be a positive integer');
67
+ }
68
+ return parsed;
69
+ }
70
+ //# sourceMappingURL=evidencePack.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"evidencePack.js","sourceRoot":"","sources":["../../../src/cli/commands/evidencePack.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EACL,qBAAqB,EACrB,WAAW,EACX,kBAAkB,EAClB,OAAO,EACP,aAAa,GACd,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAGpE,MAAM,UAAU,oBAAoB;IAClC,OAAO;SACJ,OAAO,CAAC,eAAe,CAAC;SACxB,WAAW,CAAC,6FAA6F,CAAC;SAC1G,MAAM,CAAC,eAAe,EAAE,qEAAqE,EAAE,WAAW,EAAE,EAAE,CAAC;SAC/G,MAAM,CAAC,kBAAkB,EAAE,oCAAoC,CAAC;SAChE,MAAM,CAAC,wBAAwB,EAAE,sCAAsC,EAAE,gBAAgB,CAAC;SAC1F,MAAM,CAAC,KAAK,EAAE,OAAO,EAAE,EAAE;QACxB,aAAa,EAAE,CAAC;QAChB,kBAAkB,EAAE,CAAC;QACrB,MAAM,MAAM,GAAG,qBAAqB,CAAC,eAAe,CAAC,CAAC;QAEtD,IAAI,CAAC;YACH,MAAM,MAAM,GAAG,MAAM,mBA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AG,MAAM,CAAC,QAAQ,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;IAC1C,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,IAAI,MAAM,IAAI,CAAC,EAAE,CAAC;QAC5C,MAAM,IAAI,KAAK,CAAC,kCAAkC,CAAC,CAAC;IACtD,CAAC;IACD,OAAO,MAAM,CAAC;AAChB,CAAC"}
@@ -0,0 +1 @@
1
+ export declare function registerQualityScorecard(): void;
@@ -0,0 +1,61 @@
1
+ import chalk from 'chalk';
2
+ import { assertFormatSupported, getRootPath, maybeCompactBanner, program, setupLogLevel, } from '../_shared.js';
3
+ import { computeQualityScorecard } from '../../core/qualityScorecard.js';
4
+ export function registerQualityScorecard() {
5
+ program
6
+ .command('quality-scorecard')
7
+ .description('Summarize quality dimensions, top risks, and verification commands')
8
+ .option('--max-risks <count>', 'maximum top risks to return', parsePositiveInt)
9
+ .action(async (cmdOpts) => {
10
+ setupLogLevel();
11
+ maybeCompactBanner();
12
+ const format = assertFormatSupported('quality-scorecard');
13
+ try {
14
+ const report = await computeQualityScorecard(getRootPath(), {
15
+ maxRisks: cmdOpts.maxRisks,
16
+ });
17
+ if (format === 'json') {
18
+ console.log(JSON.stringify(report, null, 2));
19
+ return;
20
+ }
21
+ printQualityScorecard(report);
22
+ }
23
+ catch (err) {
24
+ console.error(chalk.red(err instanceof Error ? err.message : String(err)));
25
+ process.exit(1);
26
+ }
27
+ });
28
+ }
29
+ function printQualityScorecard(report) {
30
+ const color = report.verdict === 'blocked'
31
+ ? chalk.red
32
+ : report.verdict === 'needs_attention'
33
+ ? chalk.yellow
34
+ : chalk.green;
35
+ console.log(color(`Quality Scorecard: ${report.verdict}`));
36
+ console.log(report.summary);
37
+ console.log('');
38
+ console.log(chalk.bold('Dimensions'));
39
+ for (const dimension of report.dimensions) {
40
+ printDimension(dimension);
41
+ }
42
+ console.log('');
43
+ console.log(chalk.bold('Top Risks'));
44
+ for (const risk of report.topRisks) {
45
+ const files = risk.files.length > 0 ? ` (${risk.files.join(', ')})` : '';
46
+ console.log(`- [${risk.priority}] ${risk.title}${files}`);
47
+ }
48
+ }
49
+ function printDimension(dimension) {
50
+ console.log(`- ${chalk.bold(`[${dimension.status}] ${dimension.label}`)} ${dimension.score}/100`);
51
+ console.log(` ${dimension.summary}`);
52
+ console.log(` run: ${dimension.commands.join(' && ')}`);
53
+ }
54
+ function parsePositiveInt(value) {
55
+ const parsed = Number.parseInt(value, 10);
56
+ if (!Number.isFinite(parsed) || parsed <= 0) {
57
+ throw new Error('value must be a positive integer');
58
+ }
59
+ return parsed;
60
+ }
61
+ //# sourceMappingURL=qualityScorecard.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"qualityScorecard.js","sourceRoot":"","sources":["../../../src/cli/commands/qualityScorecard.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EACL,qBAAqB,EACrB,WAAW,EACX,kBAAkB,EAClB,OAAO,EACP,aAAa,GACd,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AAGzE,MAAM,UAAU,wBAAwB;IACtC,OAAO;SACJ,OAAO,CAAC,mBAAmB,CAAC;SAC5B,WAAW,CAAC,oEAAoE,CAAC;SACjF,MAAM,CAAC,qBAAqB,EAAE,6BAA6B,EAAE,gBAAgB,CAAC;SAC9E,MAAM,CAAC,KAAK,EAAE,OAAO,EAAE,EAAE;QACxB,aAAa,EAAE,CAAC;QAChB,kBAAkB,EAAE,CAAC;QACrB,MAAM,MAAM,GAAG,qBAAqB,CAAC,mBAAmB,CAAC,CAAC;QAE1D,IAAI,CAAC;YACH,MAAM,MAAM,GAAG,MAAM,uBAAuB,CAAC,WAAW,EAAE,EAAE;gBAC1D,QAAQ,EAAE,OAAO,CAAC,QAAQ;aAC3B,CAAC,CAAC;YAEH,IAAI,MAAM,KAAK,MAAM,EAAE,CAAC;gBACtB,OAAO,CAAC,GA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M,IAAI,IAAI,MAAM,CAAC,QAAQ,EAAE,CAAC;QACnC,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC;QACzE,OAAO,CAAC,GAAG,CAAC,MAAM,IAAI,CAAC,QAAQ,KAAK,IAAI,CAAC,KAAK,GAAG,KAAK,EAAE,CAAC,CAAC;IAC5D,CAAC;AACH,CAAC;AAED,SAAS,cAAc,CAAC,SAAoC;IAC1D,OAAO,CAAC,GAAG,CAAC,KAAK,KAAK,CAAC,IAAI,CAAC,IAAI,SAAS,CAAC,MAAM,KAAK,SAAS,CAAC,KAAK,EAAE,CAAC,IAAI,SAAS,CAAC,KAAK,MAAM,CAAC,CAAC;IAClG,OAAO,CAAC,GAAG,CAAC,KAAK,SAAS,CAAC,OAAO,EAAE,CAAC,CAAC;IACtC,OAAO,CAAC,GAAG,CAAC,UAAU,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;AAC3D,CAAC;AAED,SAAS,gBAAgB,CAAC,KAAa;IACrC,MAAM,MAAM,GAAG,MAAM,CAAC,QAAQ,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;IAC1C,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,IAAI,MAAM,IAAI,CAAC,EAAE,CAAC;QAC5C,MAAM,IAAI,KAAK,CAAC,kCAAkC,CAAC,CAAC;IACtD,CAAC;IACD,OAAO,MAAM,CAAC;AAChB,CAAC"}
@@ -0,0 +1 @@
1
+ export declare function registerRegressionPlan(): void;
@@ -0,0 +1,77 @@
1
+ import chalk from 'chalk';
2
+ import { assertFormatSupported, getRootPath, maybeCompactBanner, program, setupLogLevel, } from '../_shared.js';
3
+ import { computeRegressionPlan } from '../../core/regressionPlan.js';
4
+ export function registerRegressionPlan() {
5
+ program
6
+ .command('regression-plan')
7
+ .description('Build a smoke, focused, or full regression matrix from product risk signals')
8
+ .option('--level <level>', 'smoke, focused, or full', 'focused')
9
+ .option('--line <line>', 'product line to include, repeatable (default: next six minor lines)', collectLine, [])
10
+ .option('--max-targets <count>', 'maximum regression targets to include', parsePositiveInt)
11
+ .action(async (cmdOpts) => {
12
+ setupLogLevel();
13
+ maybeCompactBanner();
14
+ const format = assertFormatSupported('regression-plan');
15
+ const level = parseLevel(cmdOpts.level);
16
+ try {
17
+ const report = await computeRegressionPlan(getRootPath(), {
18
+ level,
19
+ lines: cmdOpts.line,
20
+ maxTargets: cmdOpts.maxTargets,
21
+ });
22
+ if (format === 'json') {
23
+ console.log(JSON.stringify(report, null, 2));
24
+ return;
25
+ }
26
+ printRegressionPlan(report);
27
+ }
28
+ catch (err) {
29
+ console.error(chalk.red(err instanceof Error ? err.message : String(err)));
30
+ process.exit(1);
31
+ }
32
+ });
33
+ }
34
+ function collectLine(value, previous) {
35
+ return [...previous, value];
36
+ }
37
+ function parseLevel(value) {
38
+ if (value === 'smoke' || value === 'focused' || value === 'full')
39
+ return value;
40
+ console.error(chalk.red(`Unsupported --level ${String(value)}.`));
41
+ console.error(chalk.dim('Supported levels: smoke, focused, full'));
42
+ process.exit(1);
43
+ }
44
+ function printRegressionPlan(report) {
45
+ const color = report.verdict === 'blocked'
46
+ ? chalk.red
47
+ : report.verdict === 'needs_tests'
48
+ ? chalk.yellow
49
+ : chalk.green;
50
+ console.log(color(`Regression Plan: ${report.verdict} (${report.level})`));
51
+ console.log(report.summary);
52
+ console.log(`Product lines: ${report.releaseLines.join(', ')}`);
53
+ console.log('');
54
+ console.log(chalk.bold('Targets'));
55
+ for (const target of report.targets) {
56
+ printTarget(target);
57
+ }
58
+ console.log('');
59
+ console.log(chalk.bold('Commands'));
60
+ for (const command of report.commands) {
61
+ console.log(`- ${command}`);
62
+ }
63
+ }
64
+ function printTarget(target) {
65
+ const files = target.files.length > 0 ? ` (${target.files.join(', ')})` : '';
66
+ console.log(`- ${chalk.bold(`[${target.priority}] ${target.title}`)}${files}`);
67
+ console.log(` ${target.why}`);
68
+ console.log(` verify: ${target.verification.commands.join(' && ')}`);
69
+ }
70
+ function parsePositiveInt(value) {
71
+ const parsed = Number.parseInt(value, 10);
72
+ if (!Number.isFinite(parsed) || parsed <= 0) {
73
+ throw new Error('value must be a positive integer');
74
+ }
75
+ return parsed;
76
+ }
77
+ //# sourceMappingURL=regressionPlan.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"regressionPlan.js","sourceRoot":"","sources":["../../../src/cli/commands/regressionPlan.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EACL,qBAAqB,EACrB,WAAW,EACX,kBAAkB,EAClB,OAAO,EACP,aAAa,GACd,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AAGrE,MAAM,UAAU,sBAAsB;IACpC,OAAO;SACJ,OAAO,CAAC,iBAAiB,CAAC;SAC1B,WAAW,CAAC,6EAA6E,CAAC;SAC1F,MAAM,CAAC,iBAAiB,EAAE,yBAAyB,EAAE,SAAS,CAAC;SAC/D,MAAM,CAAC,eAAe,EAAE,qEAAqE,EAAE,WAAW,EAAE,EAAE,CAAC;SAC/G,MAAM,CAAC,uBAAuB,EAAE,uCAAuC,EAAE,gBAAgB,CAAC;SAC1F,MAAM,CAAC,KAAK,EAAE,OAAO,EAAE,EAAE;QACxB,aAAa,EAAE,CAAC;QAChB,kBAAkB,EAAE,CAAC;QACrB,MAAM,MAAM,GAAG,qBAAqB,CAAC,iBAAiB,CAAC,CAAC;QACxD,MAAM,KAAK,GAAG,UAAU,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;QAExC,IAAI,CAAC;YACH,MAAM,MAAM,GAAG,MAAM,qBAAqB,CAAC,WAAW,EAAE,EAAE;gBACxD,KAAK;gBACL,KAAK,EAAE,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