projscan 4.4.0 → 4.5.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 (56) hide show
  1. package/README.md +35 -12
  2. package/dist/cli/commands/analyze.js +12 -2
  3. package/dist/cli/commands/analyze.js.map +1 -1
  4. package/dist/cli/commands/ci.js +11 -0
  5. package/dist/cli/commands/ci.js.map +1 -1
  6. package/dist/cli/commands/doctor.js +11 -0
  7. package/dist/cli/commands/doctor.js.map +1 -1
  8. package/dist/cli/commands/upgrade.js +1 -1
  9. package/dist/cli/commands/upgrade.js.map +1 -1
  10. package/dist/core/ast.d.ts +5 -0
  11. package/dist/core/ast.js +8 -1
  12. package/dist/core/ast.js.map +1 -1
  13. package/dist/core/dataflow.js +2 -1
  14. package/dist/core/dataflow.js.map +1 -1
  15. package/dist/core/frameworkSources.d.ts +1 -1
  16. package/dist/core/frameworkSources.js +92 -2
  17. package/dist/core/frameworkSources.js.map +1 -1
  18. package/dist/core/indexCache.js +2 -1
  19. package/dist/core/indexCache.js.map +1 -1
  20. package/dist/core/languages/pythonManifests.d.ts +11 -0
  21. package/dist/core/languages/pythonManifests.js +34 -19
  22. package/dist/core/languages/pythonManifests.js.map +1 -1
  23. package/dist/core/reportScope.d.ts +17 -0
  24. package/dist/core/reportScope.js +143 -0
  25. package/dist/core/reportScope.js.map +1 -0
  26. package/dist/core/roadmapCatalog.d.ts +1 -0
  27. package/dist/core/roadmapCatalog.js +227 -7
  28. package/dist/core/roadmapCatalog.js.map +1 -1
  29. package/dist/core/start.js +10 -15
  30. package/dist/core/start.js.map +1 -1
  31. package/dist/core/startNextActions.d.ts +13 -0
  32. package/dist/core/startNextActions.js +19 -0
  33. package/dist/core/startNextActions.js.map +1 -0
  34. package/dist/core/taint.js +10 -9
  35. package/dist/core/taint.js.map +1 -1
  36. package/dist/core/upgradePreview.js +72 -0
  37. package/dist/core/upgradePreview.js.map +1 -1
  38. package/dist/mcp/tools/upgrade.d.ts +1 -1
  39. package/dist/mcp/tools/upgrade.js +2 -16
  40. package/dist/mcp/tools/upgrade.js.map +1 -1
  41. package/dist/projscan-sbom.cdx.json +6 -6
  42. package/dist/reporters/consoleUpgradeReporter.js +24 -2
  43. package/dist/reporters/consoleUpgradeReporter.js.map +1 -1
  44. package/dist/reporters/markdownUpgradeReporter.js +19 -4
  45. package/dist/reporters/markdownUpgradeReporter.js.map +1 -1
  46. package/dist/tool-manifest.json +3 -3
  47. package/dist/types/config.d.ts +10 -0
  48. package/dist/types/dependencyHealth.d.ts +12 -0
  49. package/dist/types.d.ts +1 -1
  50. package/dist/utils/config.js +32 -0
  51. package/dist/utils/config.js.map +1 -1
  52. package/docs/GUIDE.md +25 -1
  53. package/docs/ROADMAP.md +54 -21
  54. package/docs/examples/adoption-workflows.md +128 -0
  55. package/docs/examples/swarm-coordination.md +109 -0
  56. package/package.json +3 -1
package/docs/ROADMAP.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # ProjScan Roadmap
2
2
 
3
- Last reviewed 2026-06-05.
3
+ Last reviewed 2026-06-16.
4
4
 
5
5
  ---
6
6
 
@@ -44,7 +44,8 @@ Four plays, in order:
44
44
  2. **Lean into multi-agent** — make projscan the _shared substrate_ for agent swarms. This is where the market is moving and where our context-budget design pays off. ✅ Largely shipped (1.4 Session, 1.5 Budgeted by default + Project Memory).
45
45
  3. **Become the operator, not the advisor** — stop suggesting and start acting (cross-repo, apply, security gate). ✅ Shipped in the 1.6 arc.
46
46
  4. **Expand the moat** — depth where it matters (CFG / dataflow on hot paths, more languages, sub-file embeddings, cost analytics, live PR review, plugin extensibility). Not everywhere; we're not trying to be Cody. ✅ The 1.7 → 2.0 arc turns this into a platform contract.
47
- 5. **Coordinate the swarm** — the Swarm Coordination arc. Plays 1–4 made projscan the best _single-agent_ code-intelligence server; the market has moved to multi-agent orchestration, where the unsolved pain is concurrent-change arbitration across parallel agents. Turn the graph + impact + session primitives into a local-first coordination layer (collision detection, claims/leases, merge-risk preflight, intent router, one-call coordinate). Shipped additively in 3.6.0. The remaining piece consolidating the tool surface agents pay for is breaking, so it's reserved for **4.0**.
47
+ 5. **Coordinate the swarm** — collision detection, claims/leases, merge-risk preflight, intent routing, one-call coordination, and live coordinate watch shipped across the 3.6 through 3.7 arc, with the 4.0 tool-surface consolidation now complete. The next work is evidence: prove which commands agents reach for in real multi-worktree sessions, then deepen only the paths that prevent integration failures.
48
+ 6. **Make agent proof release-ready** — 4.1 through 4.5 turned Mission Control into a goal → mission → proof → review harness and packaged the post-4.4 implementation train: current planning surfaces, adoption examples, precise framework dataflow, scoped/redacted evidence exports, Python upgrade previews, and hotspot maintainability cleanup.
48
49
 
49
50
  We are _not_ trying to be:
50
51
 
@@ -55,29 +56,61 @@ We are _not_ trying to be:
55
56
 
56
57
  ## Now / Next / Later
57
58
 
58
- ### Now — Validate the Swarm Coordination arc; prepare the 4.0 surface break
59
+ ### Now — Post-4.5 Validation
59
60
 
60
- The **Swarm Coordination arc shipped in 3.6.0** (see Recently Completed). It was additive — five new tools, nothing removed — so it shipped as a minor release, not a major one. ("4.x" was an earlier label for the _theme_; the version is 3.6.0. The name **4.0** is reserved strictly for the one _breaking_ change below.)
61
+ 4.5.0 "Review-Ready Intelligence Train" packages the post-4.4 implementation train. The next work is validation and selective hardening from real use, not another broad feature push.
61
62
 
62
- What's now:
63
+ The active validation lines are:
63
64
 
64
- - **Validate it in real swarm usage.** The arc is built on an unvalidated bet that concurrent-change arbitration is the pain. Before deepening it, find out which of `collision` / `claim` / `merge-risk` / `coordinate` agents actually reach for, and harden from there (transitive collision recall, live `--watch` coordination, integration into `preflight` / `agent_brief`).
65
- - **`4.0` tool-surface consolidation (the first breaking release since 1.0).** In progress on the `next` branch (publish held for a real deprecation window). 4.0 removes the two tools deprecated in 3.8.0 — `projscan_explain` (use `projscan_file`) and `projscan_graph` (use `projscan_semantic_graph`, which gains a targeted `query` mode that subsumes it) — taking the surface from 47 → 45. Both have drop-in replacements (see [MIGRATION-4.0.md](MIGRATION-4.0.md)). The _broader_ consolidation (routing the long tail behind `projscan_route`) is deliberately deferred until real usage signal justifies which tools to fold — same deprecate-before-remove discipline.
65
+ - **Swarm coordination evidence.** Validate how real agents use `collisions`, `claim`, `merge-risk`, `coordinate`, and `coordinate --watch`; deepen only the coordination paths that prevent integration failures.
66
+ - **Evidence export adoption.** Prove scoped/redacted report controls work for partner, security, and release-review handoffs without leaking unnecessary repo structure.
67
+ - **Python upgrade coverage.** Extend lockfile support only after Poetry and pinned-requirement evidence prove useful in real repos.
68
+ - **Framework dataflow precision.** Add more framework patterns only when each has a narrow request source, sink, and false-positive fixture.
69
+ - **Hotspot maintainability.** Continue extracting and covering high-churn start/review/type surfaces when they show concrete review or defect risk.
66
70
 
67
- Strictly **local-first** throughout: same-repo / same-machine swarms via the shared store, never a daemon, cloud, or cross-machine server (that would be a SaaS non-goal).
71
+ Strictly **local-first** throughout: same-repo / same-machine evidence, no daemon, no cloud, no hidden network calls, no new telemetry, and no secret-value reads.
68
72
 
69
- Success signals: collisions prevented pre-merge, integration-failure-rate reduction, tokens saved per turn via the router, first external swarm adopter.
73
+ Success signals: teams copy the adoption examples into real reviews, scoped/redacted artifacts are accepted by reviewers, Python upgrade previews identify useful local evidence, dataflow additions stay quiet on lookalikes, and release bug-hunts remain free of concrete defects.
70
74
 
71
- ### Recently Completed — 3.6.0 (2026)
75
+ ### Recently Completed — 4.5.0 (2026)
72
76
 
73
- **3.6.0 "Swarm Coordination"** turned projscan into the local-first coordination substrate for parallel agents working one repo across git worktrees:
77
+ **4.5.0 "Review-Ready Intelligence Train"** shipped the post-4.4 implementation train:
74
78
 
75
- - `projscan collisions` / `projscan_collision` — same-file and dependency overlaps across in-flight worktrees, surfaced before the branches merge (reuses the import graph for blast radius).
76
- - `projscan claim` / `projscan_claim` — advisory claims/leases over files, dirs, or symbols, shared across worktrees, with `--ttl` expiry (so a crashed agent's claim auto-expires), contention warnings, and `prune`.
77
- - `projscan merge-risk` / `projscan_merge_risk` safe integration order (merge the least-entangled branch first) plus conflict hotspots.
78
- - `projscan route` / `projscan_route` map a stated goal to the right tool (additive discovery entry over the surface; deterministic, no LLM).
79
- - `projscan coordinate` / `projscan_coordinate` one-call read folding it all into a `clear` / `caution` / `conflicted` readiness verdict.
80
- - Also: semantic search degrades to BM25 when the embedding model can't load instead of crashing. 41 → 47 MCP tools.
79
+ - Roadmap and release-train planning now default to the current post-4.4 product lines instead of stale shipped work.
80
+ - Adoption examples cover agent orchestration, package ownership, custom policy plugins, swarm coordination, and scoped evidence exports.
81
+ - `analyze`, `doctor`, and `ci` can scope and redact shareable evidence with direct flags or named `reportPolicies` presets.
82
+ - `projscan upgrade` and MCP `projscan_upgrade` support offline Python previews from manifests, Poetry lockfiles, pinned requirements, and Python importers.
83
+ - Dataflow detects narrow Fastify and Koa request-source patterns while suppressing lookalike helpers and Koa response-body writes.
84
+ - Start next-action assembly and taint function identity were tightened during release readiness cleanup.
85
+
86
+ ### Recently Completed — 4.4.0 (2026)
87
+
88
+ **4.4.0 "Agent Release Harness"** turned Mission Control into a release-ready agent harness:
89
+
90
+ - Repo-local AgentLoopKit and AgentFlight harness commands are surfaced as proof hints when harness files exist.
91
+ - Product-planning intents route to verifiable bug-hunt/action planning instead of generic orientation.
92
+ - Bug-hunt, release-train, evidence-pack, and review wording distinguish concrete fix targets from manual release sign-off actions.
93
+ - Public type contracts are split into focused modules with a dedicated `typecheck:public-types` gate.
94
+ - Same-SHA dirty-worktree review and directory-only verification guidance were fixed.
95
+ - The dev dependency chain cleared the release audit gate without adding runtime dependencies.
96
+
97
+ ### Recently Completed — 4.0.0 through 4.3.1 (2026)
98
+
99
+ - **4.0.0 "Surface Consolidation"** removed the deprecated MCP tools `projscan_explain` and `projscan_graph` after a documented deprecation cycle. CLI commands were not removed. `projscan_file` and `projscan_semantic_graph` query mode are the replacements.
100
+ - **4.1.0 through 4.2.0 "Mission Control Handoffs"** added execution plans, cursors, runbooks, task cards, review gates, shortcut commands, and saved mission bundles.
101
+ - **4.3.0 "Mission Outcome Loop"** added `projscan start --mission <dir>` and Mission Proof outcome summaries.
102
+ - **4.3.1 "Mission Proof Polish"** added Markdown proof reports, saved proof output, newest/all-bundle selection, attention filters, one-line CI summaries, and reproducible demo media.
103
+
104
+ ### Recently Completed — 3.6.0 and 3.7.x Coordination (2026)
105
+
106
+ The **Swarm Coordination arc** turned projscan into the local-first coordination substrate for parallel agents working one repo across git worktrees:
107
+
108
+ - `projscan collisions` / `projscan_collision` — same-file and dependency overlaps across in-flight worktrees, surfaced before branches merge.
109
+ - `projscan claim` / `projscan_claim` — advisory claims/leases over files, dirs, or symbols, shared across worktrees, with `--ttl` expiry, contention warnings, and `prune`.
110
+ - `projscan merge-risk` / `projscan_merge_risk` — safe integration order plus conflict hotspots.
111
+ - `projscan route` / `projscan_route` — deterministic goal-to-tool routing.
112
+ - `projscan coordinate` / `projscan_coordinate` — one-call readiness verdict over collisions, claims, and merge risk.
113
+ - `projscan coordinate --watch` / `projscan_coordinate_watch` — local polling with MCP coordination-change notifications.
81
114
 
82
115
  ### Recently Completed — 3.5.0 (2026)
83
116
 
@@ -133,11 +166,11 @@ Success signals: collisions prevented pre-merge, integration-failure-rate reduct
133
166
 
134
167
  ### Later
135
168
 
136
- Later work should expand the moat after 3.4.0 repo-understanding output is verified in real engineering workflows:
169
+ Later work should deepen proven surfaces rather than add broad categories:
137
170
 
138
- - Broaden framework dataflow precision from narrow, tested source patterns rather than broad source-name matching.
139
- - Add adoption examples from real agent orchestration, package ownership, and custom policy plugin workflows.
140
- - Explore stronger report-export controls for teams that want path redaction or scoped evidence artifacts.
171
+ - Add stronger sub-file and symbol-level coordination once real swarm examples show which conflicts matter.
172
+ - Extend Python upgrade intelligence toward broader lockfile formats after Poetry and pinned-requirement evidence are proven useful.
173
+ - Add more framework dataflow patterns only when each has a clear request source, sink, and false-positive fixture.
141
174
 
142
175
  ## Non-goals
143
176
 
@@ -0,0 +1,128 @@
1
+ # Adoption Workflows
2
+
3
+ These examples turn projscan from a one-off scanner into a repeatable team
4
+ habit. They are written around the personas in `docs/PERSONAS.md`: skeptical
5
+ senior reviewer, platform lead, product engineer, release owner, and security
6
+ reviewer.
7
+
8
+ ## 1. Agent Orchestration
9
+
10
+ Use this when a team is standardizing how agents start work, prove changes, and
11
+ hand off safely.
12
+
13
+ ```bash
14
+ projscan privacy-check --offline
15
+ projscan start --intent "add billing webhook support" --format json
16
+ projscan preflight --mode before_edit --format json
17
+ projscan workplan --mode before_edit --format json
18
+ projscan agent-brief --intent "handoff billing webhook work" --format json
19
+ ```
20
+
21
+ Decision loop:
22
+
23
+ | Persona | Reads | Decision |
24
+ | --- | --- | --- |
25
+ | Product engineer | `start.missionControl.readyActions` | What can I run now? |
26
+ | Platform lead | `preflight.verdict`, coordination hints | Is parallel work safe? |
27
+ | Senior reviewer | proof commands and done criteria | Is the handoff reviewable? |
28
+
29
+ If the repo uses AgentLoopKit or AgentFlight, `projscan start` surfaces the
30
+ local harness proof commands when their config files exist. Run those commands
31
+ as part of the handoff proof:
32
+
33
+ ```bash
34
+ npm exec agentloop -- status
35
+ npm exec agentflight -- verify
36
+ ```
37
+
38
+ ## 2. Package Ownership
39
+
40
+ Use this when a monorepo or platform team needs to know who owns a dependency,
41
+ route review, or plan an upgrade.
42
+
43
+ ```bash
44
+ projscan dependencies --format json
45
+ projscan semantic-graph --query package_importers --symbol fastapi --format json
46
+ projscan upgrade fastapi --format json
47
+ projscan agent-brief --intent "handoff package ownership for fastapi" --format json
48
+ ```
49
+
50
+ For Node packages, `upgrade` reads local `package.json`, `node_modules`, local
51
+ CHANGELOG files, and importer evidence. For Python packages, it reads
52
+ `pyproject.toml`, `setup.cfg`, `setup.py`, root `requirements*.txt` files,
53
+ Poetry lockfiles, and pinned root requirements, then returns declared scope,
54
+ current-version source, drift, and Python importers.
55
+
56
+ Decision loop:
57
+
58
+ | Persona | Reads | Decision |
59
+ | --- | --- | --- |
60
+ | Package owner | importer list | Which app or package needs review? |
61
+ | Release owner | drift and importer count | Is this safe for the current train? |
62
+ | Security reviewer | audit/dependencies plus importer evidence | Is a forced update justified? |
63
+
64
+ ## 3. Custom Policy Plugin
65
+
66
+ Use this when team-specific rules matter more than generic static analysis,
67
+ such as service ownership, route policy, or security-sensitive directories.
68
+
69
+ ```bash
70
+ projscan plugin init --kind analyzer --name team-policy
71
+ projscan plugin validate .projscan-plugins/team-policy.projscan-plugin.json
72
+ projscan plugin test .projscan-plugins/team-policy.projscan-plugin.json
73
+ PROJSCAN_PLUGINS_PREVIEW=1 projscan doctor --format json
74
+ ```
75
+
76
+ Start from packaged examples:
77
+
78
+ - `docs/examples/plugins/policy.projscan-plugin.json`
79
+ - `docs/examples/plugins/api-route-ownership.projscan-plugin.json`
80
+ - `docs/examples/plugins/security-sensitive-files.projscan-plugin.json`
81
+ - `docs/examples/plugins/team-radar.projscan-plugin.json`
82
+
83
+ Decision loop:
84
+
85
+ | Persona | Reads | Decision |
86
+ | --- | --- | --- |
87
+ | Platform lead | plugin diagnostics | Is the rule trusted enough for CI? |
88
+ | Security reviewer | emitted issues | Does the policy catch the right risky paths? |
89
+ | Product engineer | suggested action | Can this be fixed without tribal context? |
90
+
91
+ ## 4. Shareable Evidence With Path Controls
92
+
93
+ Use this when a team wants to share a health or CI artifact without exposing
94
+ repo layout or sensitive paths.
95
+
96
+ ```bash
97
+ projscan analyze --report-scope src/api --redact-paths --format json > reports/api-analysis.json
98
+ projscan doctor --report-scope src/api --redact-paths --format markdown > reports/api-health.md
99
+ projscan ci --report-scope src/api --redact-paths --format sarif > reports/api.sarif
100
+ ```
101
+
102
+ `--report-scope` keeps only issues and files under the listed repo-relative
103
+ paths. `--redact-paths` replaces file paths with stable labels such as
104
+ `redacted-path-1`, so reviewers can correlate evidence without seeing the
105
+ original repo structure.
106
+
107
+ When the same evidence shape is reused by a partner review, security check, or
108
+ release train, put it in config and select it by name:
109
+
110
+ ```json
111
+ {
112
+ "reportPolicies": {
113
+ "apiEvidence": {
114
+ "reportScope": ["src/api"],
115
+ "redactPaths": true
116
+ }
117
+ }
118
+ }
119
+ ```
120
+
121
+ ```bash
122
+ projscan analyze --report-policy apiEvidence --format json > reports/api-analysis.json
123
+ projscan doctor --report-policy apiEvidence --format markdown > reports/api-health.md
124
+ projscan ci --report-policy apiEvidence --format sarif > reports/api.sarif
125
+ ```
126
+
127
+ Use direct `--report-scope` or `--redact-paths` flags with `--report-policy` for
128
+ one-off overrides without changing the shared config preset.
@@ -0,0 +1,109 @@
1
+ # Swarm Coordination Workflow
2
+
3
+ Use this recipe when two or more agents, worktrees, or developers are changing
4
+ the same repo. The goal is not to prevent parallel work; it is to make overlap,
5
+ claim contention, and merge order visible before code lands.
6
+
7
+ ## Personas
8
+
9
+ - Platform lead: wants low merge conflict rate and clear ownership when several
10
+ agents are active.
11
+ - Product engineer: wants to keep moving without reading every sibling branch.
12
+ - Release owner: wants a merge order and proof that high-risk overlaps were
13
+ reviewed before sign-off.
14
+
15
+ ## Start of Work
16
+
17
+ Run this before the first edit in each worktree:
18
+
19
+ ```bash
20
+ projscan start --intent "show coordination status for parallel agents" --format json
21
+ projscan coordinate --format json
22
+ projscan claim list --format json
23
+ ```
24
+
25
+ If the work has a known file, claim it with a short lease:
26
+
27
+ ```bash
28
+ projscan claim add src/core/start.ts --agent api-agent --ttl 2700 --format json
29
+ ```
30
+
31
+ Treat a claim conflict as a routing signal. Either choose another task, split
32
+ the file, or ask the owner to release the claim.
33
+
34
+ ## During Work
35
+
36
+ Use the dedicated coordination tools for specific questions:
37
+
38
+ ```bash
39
+ projscan collisions --format json
40
+ projscan merge-risk --format json
41
+ projscan coordinate --format json
42
+ ```
43
+
44
+ Read the outputs this way:
45
+
46
+ | Tool | Question answered | Action |
47
+ | --- | --- | --- |
48
+ | `collisions` | Which worktrees touch the same files or dependent files? | Move one branch first, split work, or ask for review. |
49
+ | `claim list` | Who says they own a file, directory, or symbol right now? | Avoid edits under active leases unless agreed. |
50
+ | `merge-risk` | Which branch should merge first? | Integrate the least-entangled branch before larger branches. |
51
+ | `coordinate` | Is the current swarm clear, cautious, or conflicted? | Use this as the one-line status in handoffs. |
52
+ | `agent-brief` | What should the next agent know? | Include coordination hints in the next-agent packet. |
53
+
54
+ For MCP clients that support long-running notifications, use the watch tool:
55
+
56
+ ```text
57
+ projscan_coordinate_watch { "action": "start" }
58
+ projscan_coordinate_watch { "action": "list" }
59
+ projscan_coordinate_watch { "action": "stop" }
60
+ ```
61
+
62
+ For CLI users, `coordinate` also supports polling:
63
+
64
+ ```bash
65
+ projscan coordinate --watch --interval 5 --format json
66
+ ```
67
+
68
+ The watch loop should be treated as advisory evidence. A changed notification
69
+ or emitted watch row means rerun `projscan coordinate` before editing or merging.
70
+
71
+ ## Before Handoff
72
+
73
+ Capture a compact handoff with coordination evidence:
74
+
75
+ ```bash
76
+ projscan agent-brief --intent "handoff current parallel-agent work" --format json
77
+ projscan preflight --mode before_commit --format json
78
+ projscan coordinate --format json
79
+ ```
80
+
81
+ Handoff text should include:
82
+
83
+ - active claims you hold
84
+ - collision count and readiness verdict
85
+ - merge-risk order when multiple worktrees exist
86
+ - exact proof commands already run
87
+ - claim release command if the next agent owns the follow-up
88
+
89
+ ## Before Merge
90
+
91
+ ```bash
92
+ projscan preflight --mode before_merge --format json
93
+ projscan merge-risk --format json
94
+ projscan coordinate --format json
95
+ ```
96
+
97
+ Merge only when the coordination verdict is `clear` or when the release owner
98
+ has reviewed the listed conflicts. If the verdict is `conflicted`, resolve or
99
+ split the overlap before merging.
100
+
101
+ ## Evidence Gaps To Track
102
+
103
+ These are the next hardening targets for real swarm usage:
104
+
105
+ - transitive collision recall: prove dependent-file conflicts are caught, not
106
+ only same-file conflicts
107
+ - live watch adoption: prove agents notice and act on coordination changes
108
+ - preflight and agent-brief integration: prove the same coordination facts show
109
+ up where agents already look before editing or handing off
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "projscan",
3
3
  "mcpName": "io.github.abhiyoheswaran1/projscan",
4
- "version": "4.4.0",
4
+ "version": "4.5.0",
5
5
  "description": "Agent-first code intelligence. MCP server (2025-03-26) with 11 AST adapters covering 12 named languages: JavaScript, TypeScript, Python, Go, Java, Ruby, Rust, PHP, C#, Kotlin, Swift, and C++; repo understanding maps (projscan_understand), stable v3 semantic graph (projscan_semantic_graph), dataflow risk engine with bridge-helper detection (projscan_dataflow), code graph, file + per-function AST cyclomatic complexity, per-function fan-in + fan-out, coupling + cycle detection, structural PR diff with HTML reporter, coverage report with HTML reporter, intent-grounded one-call PR review (projscan_review with optional `intent` arg, new taint flows, contract changes, and newDataflowRisks) and long-running PR-watch mode with structured per-bucket deltas (projscan_review_watch), first-60-seconds workflow orientation (projscan_start), agent workplans (projscan_workplan), bug-hunt queues (projscan_bug_hunt), product-line planning (projscan_release_train), evidence packs (projscan_evidence_pack), regression planning (projscan_regression_plan), agent briefs (projscan_agent_brief), quality scorecards (projscan_quality_scorecard), and preflight with supply-chain IOC evidence, rule-driven fix suggestions + mechanical apply layer with rollback (projscan_apply_fix, projscan_fix_suggest, projscan_explain_issue), source-to-sink taint analysis (projscan_taint) with truncation reporting, transitive blast-radius analysis with cross-repo mode (projscan_impact for files and symbols), cross-repo workspace registration + intelligence (projscan_workspace_graph), per-function semantic search chunks (sub-file embeddings), per-rule confidence + severity drift + cost-summary analytics with live streaming (projscan_cost_summary), stable local analyzer + reporter plugin API (projscan_plugin, CLI --reporter, opt-in via PROJSCAN_PLUGINS_PREVIEW=1), monorepo workspace awareness with cross-package import policy + per-package dependencies / outdated / audit, BM25 + optional semantic search, cursor pagination, progress notifications, context-budgeted output, and a stable-surface CI guard. CLI on the side.",
6
6
  "type": "module",
7
7
  "main": "./dist/index.js",
@@ -21,6 +21,8 @@
21
21
  "docs/demos/projscan-mission-control.tape",
22
22
  "docs/demos/projscan-mission-proof.tape",
23
23
  "docs/plugin.schema.json",
24
+ "docs/examples/adoption-workflows.md",
25
+ "docs/examples/swarm-coordination.md",
24
26
  "docs/projscan-mission-control.png",
25
27
  "docs/projscan-mission-control.gif",
26
28
  "docs/projscan-proof-router.png",