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.
- package/README.md +35 -12
- package/dist/cli/commands/analyze.js +12 -2
- package/dist/cli/commands/analyze.js.map +1 -1
- package/dist/cli/commands/ci.js +11 -0
- package/dist/cli/commands/ci.js.map +1 -1
- package/dist/cli/commands/doctor.js +11 -0
- package/dist/cli/commands/doctor.js.map +1 -1
- package/dist/cli/commands/upgrade.js +1 -1
- package/dist/cli/commands/upgrade.js.map +1 -1
- package/dist/core/ast.d.ts +5 -0
- package/dist/core/ast.js +8 -1
- package/dist/core/ast.js.map +1 -1
- package/dist/core/dataflow.js +2 -1
- package/dist/core/dataflow.js.map +1 -1
- package/dist/core/frameworkSources.d.ts +1 -1
- package/dist/core/frameworkSources.js +92 -2
- package/dist/core/frameworkSources.js.map +1 -1
- package/dist/core/indexCache.js +2 -1
- package/dist/core/indexCache.js.map +1 -1
- package/dist/core/languages/pythonManifests.d.ts +11 -0
- package/dist/core/languages/pythonManifests.js +34 -19
- package/dist/core/languages/pythonManifests.js.map +1 -1
- package/dist/core/reportScope.d.ts +17 -0
- package/dist/core/reportScope.js +143 -0
- package/dist/core/reportScope.js.map +1 -0
- package/dist/core/roadmapCatalog.d.ts +1 -0
- package/dist/core/roadmapCatalog.js +227 -7
- package/dist/core/roadmapCatalog.js.map +1 -1
- package/dist/core/start.js +10 -15
- package/dist/core/start.js.map +1 -1
- package/dist/core/startNextActions.d.ts +13 -0
- package/dist/core/startNextActions.js +19 -0
- package/dist/core/startNextActions.js.map +1 -0
- package/dist/core/taint.js +10 -9
- package/dist/core/taint.js.map +1 -1
- package/dist/core/upgradePreview.js +72 -0
- package/dist/core/upgradePreview.js.map +1 -1
- package/dist/mcp/tools/upgrade.d.ts +1 -1
- package/dist/mcp/tools/upgrade.js +2 -16
- package/dist/mcp/tools/upgrade.js.map +1 -1
- package/dist/projscan-sbom.cdx.json +6 -6
- package/dist/reporters/consoleUpgradeReporter.js +24 -2
- package/dist/reporters/consoleUpgradeReporter.js.map +1 -1
- package/dist/reporters/markdownUpgradeReporter.js +19 -4
- package/dist/reporters/markdownUpgradeReporter.js.map +1 -1
- package/dist/tool-manifest.json +3 -3
- package/dist/types/config.d.ts +10 -0
- package/dist/types/dependencyHealth.d.ts +12 -0
- package/dist/types.d.ts +1 -1
- package/dist/utils/config.js +32 -0
- package/dist/utils/config.js.map +1 -1
- package/docs/GUIDE.md +25 -1
- package/docs/ROADMAP.md +54 -21
- package/docs/examples/adoption-workflows.md +128 -0
- package/docs/examples/swarm-coordination.md +109 -0
- 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-
|
|
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** —
|
|
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 —
|
|
59
|
+
### Now — Post-4.5 Validation
|
|
59
60
|
|
|
60
|
-
|
|
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
|
-
|
|
63
|
+
The active validation lines are:
|
|
63
64
|
|
|
64
|
-
- **
|
|
65
|
-
-
|
|
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
|
|
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:
|
|
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 —
|
|
75
|
+
### Recently Completed — 4.5.0 (2026)
|
|
72
76
|
|
|
73
|
-
**
|
|
77
|
+
**4.5.0 "Review-Ready Intelligence Train"** shipped the post-4.4 implementation train:
|
|
74
78
|
|
|
75
|
-
-
|
|
76
|
-
-
|
|
77
|
-
- `
|
|
78
|
-
- `projscan
|
|
79
|
-
-
|
|
80
|
-
-
|
|
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
|
|
169
|
+
Later work should deepen proven surfaces rather than add broad categories:
|
|
137
170
|
|
|
138
|
-
-
|
|
139
|
-
-
|
|
140
|
-
-
|
|
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
|
+
"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",
|