@praneeth_54/agentdoctor 2.1.0 → 3.0.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/CHANGELOG.md +57 -3
- package/README.md +489 -290
- package/dist/agent/chat/deterministic.d.ts +6 -0
- package/dist/agent/chat/deterministic.js +180 -0
- package/dist/agent/chat/service.js +8 -14
- package/dist/agent/index.d.ts +2 -0
- package/dist/agent/index.js +1 -0
- package/dist/agent/loop.d.ts +2 -0
- package/dist/agent/loop.js +31 -0
- package/dist/agent/roles.d.ts +12 -0
- package/dist/agent/roles.js +138 -0
- package/dist/agent/runtime.d.ts +21 -5
- package/dist/agent/runtime.js +141 -28
- package/dist/agent/tools/execute.d.ts +2 -0
- package/dist/agent/tools/execute.js +10 -0
- package/dist/ai/config.js +1 -0
- package/dist/ai/redact.d.ts +1 -0
- package/dist/ai/redact.js +47 -7
- package/dist/ai/types.d.ts +1 -1
- package/dist/cli/commands/agent.d.ts +2 -0
- package/dist/cli/commands/agent.js +19 -8
- package/dist/cli/commands/chat.js +2 -4
- package/dist/cli/commands/product.d.ts +19 -0
- package/dist/cli/commands/product.js +147 -0
- package/dist/cli/commands/start.d.ts +15 -0
- package/dist/cli/commands/start.js +80 -0
- package/dist/cli/program.js +141 -0
- package/dist/constants.d.ts +1 -1
- package/dist/constants.js +1 -1
- package/dist/dashboard/server.js +255 -53
- package/dist/index.d.ts +4 -0
- package/dist/index.js +2 -0
- package/dist/intelligence/graph/build.js +36 -8
- package/dist/intelligence/resolve/imports.js +1 -1
- package/dist/languages/dart.d.ts +10 -0
- package/dist/languages/dart.js +99 -0
- package/dist/languages/go.d.ts +13 -7
- package/dist/languages/go.js +84 -24
- package/dist/languages/index.d.ts +5 -1
- package/dist/languages/index.js +13 -36
- package/dist/languages/java.d.ts +10 -0
- package/dist/languages/java.js +80 -0
- package/dist/languages/kotlin.d.ts +10 -0
- package/dist/languages/kotlin.js +85 -0
- package/dist/languages/rust.d.ts +10 -0
- package/dist/languages/rust.js +93 -0
- package/dist/languages/types.d.ts +4 -3
- package/dist/mcp/agent/registry.d.ts +1 -1
- package/dist/mcp/agent/registry.js +109 -23
- package/dist/mcp/intelligence/handlers.d.ts +3 -0
- package/dist/mcp/intelligence/handlers.js +28 -0
- package/dist/mcp/intelligence/registry.d.ts +1 -1
- package/dist/mcp/intelligence/registry.js +30 -1
- package/dist/product/api/doctor.d.ts +14 -0
- package/dist/product/api/doctor.js +185 -0
- package/dist/product/api/openapi.d.ts +7 -0
- package/dist/product/api/openapi.js +122 -0
- package/dist/product/approval/model.d.ts +30 -0
- package/dist/product/approval/model.js +64 -0
- package/dist/product/approval/session.d.ts +49 -0
- package/dist/product/approval/session.js +134 -0
- package/dist/product/database/doctor.d.ts +30 -0
- package/dist/product/database/doctor.js +184 -0
- package/dist/product/decisions/ledger.d.ts +24 -0
- package/dist/product/decisions/ledger.js +110 -0
- package/dist/product/deps/analyze.d.ts +46 -0
- package/dist/product/deps/analyze.js +137 -0
- package/dist/product/deps/lockfiles.d.ts +25 -0
- package/dist/product/deps/lockfiles.js +200 -0
- package/dist/product/discovery/roots.d.ts +42 -0
- package/dist/product/discovery/roots.js +215 -0
- package/dist/product/dna/build.d.ts +50 -0
- package/dist/product/dna/build.js +255 -0
- package/dist/product/eval/lab.d.ts +17 -0
- package/dist/product/eval/lab.js +218 -0
- package/dist/product/events/doctor.d.ts +21 -0
- package/dist/product/events/doctor.js +147 -0
- package/dist/product/evidence-scan.d.ts +12 -0
- package/dist/product/evidence-scan.js +46 -0
- package/dist/product/evolution/timeline.d.ts +29 -0
- package/dist/product/evolution/timeline.js +123 -0
- package/dist/product/features/intelligence.d.ts +23 -0
- package/dist/product/features/intelligence.js +158 -0
- package/dist/product/forensic/mode.d.ts +25 -0
- package/dist/product/forensic/mode.js +70 -0
- package/dist/product/graph/enrich-languages.d.ts +20 -0
- package/dist/product/graph/enrich-languages.js +193 -0
- package/dist/product/health/code-health.d.ts +20 -0
- package/dist/product/health/code-health.js +149 -0
- package/dist/product/index.d.ts +69 -0
- package/dist/product/index.js +35 -0
- package/dist/product/ledger/change-ledger.d.ts +23 -0
- package/dist/product/ledger/change-ledger.js +64 -0
- package/dist/product/map/software-map.d.ts +17 -0
- package/dist/product/map/software-map.js +95 -0
- package/dist/product/memory/institutional.d.ts +16 -0
- package/dist/product/memory/institutional.js +87 -0
- package/dist/product/ops/incident.d.ts +20 -0
- package/dist/product/ops/incident.js +61 -0
- package/dist/product/ops/infra.d.ts +15 -0
- package/dist/product/ops/infra.js +112 -0
- package/dist/product/org/model.d.ts +34 -0
- package/dist/product/org/model.js +195 -0
- package/dist/product/privacy/doctor.d.ts +13 -0
- package/dist/product/privacy/doctor.js +90 -0
- package/dist/product/requirements/trace.d.ts +21 -0
- package/dist/product/requirements/trace.js +166 -0
- package/dist/product/search/index.d.ts +29 -0
- package/dist/product/search/index.js +116 -0
- package/dist/product/search/software-search.d.ts +19 -0
- package/dist/product/search/software-search.js +100 -0
- package/dist/product/security/doctor.d.ts +23 -0
- package/dist/product/security/doctor.js +124 -0
- package/dist/product/self/diagnose.d.ts +15 -0
- package/dist/product/self/diagnose.js +82 -0
- package/dist/product/techdebt/roadmap.d.ts +20 -0
- package/dist/product/techdebt/roadmap.js +118 -0
- package/dist/product/testbrain/analyze.d.ts +29 -0
- package/dist/product/testbrain/analyze.js +129 -0
- package/dist/product/truth.d.ts +12 -0
- package/dist/product/truth.js +30 -0
- package/dist/product/twin/digital-twin.d.ts +23 -0
- package/dist/product/twin/digital-twin.js +52 -0
- package/dist/product/twin/store.d.ts +21 -0
- package/dist/product/twin/store.js +70 -0
- package/dist/product/whatif/engine.d.ts +28 -0
- package/dist/product/whatif/engine.js +70 -0
- package/dist/utils/fs.js +10 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,11 +7,64 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [3.0.0] — 2026-09-26
|
|
11
|
+
|
|
12
|
+
Public release of the **AgentDoctor 3.0 local core**: project intelligence, doctors,
|
|
13
|
+
student/agent workflows, MCP, dashboard, evidence/proof, and honest EXTERNAL
|
|
14
|
+
boundaries. AI providers remain **opt-in**. Correctness is never claimed.
|
|
15
|
+
|
|
16
|
+
Limitations: [docs/LIMITATIONS.md](docs/LIMITATIONS.md).
|
|
17
|
+
Release prep: [docs/FINAL_PRE_RELEASE_CHECK.md](docs/FINAL_PRE_RELEASE_CHECK.md).
|
|
18
|
+
|
|
19
|
+
### Highlights
|
|
20
|
+
|
|
21
|
+
- **Project intelligence** — discovery, DNA, Brain, software map, hybrid search,
|
|
22
|
+
dependency/lockfile analysis, architecture contracts, git/change impact.
|
|
23
|
+
- **Project Chat** — deterministic `ask` / `chat` with truth labels
|
|
24
|
+
(`VERIFIED` | `INFERRED` | `UNKNOWN` | `EXTERNAL`); optional AI when configured.
|
|
25
|
+
- **Coding agent** — plan → human approval → path-safe tools → verify; no
|
|
26
|
+
unrestricted shell; `ENGINEERING_CORRECTNESS_NOT_CLAIMED` preserved.
|
|
27
|
+
- **Student workflows** — `learn`, viva, docs, Build With Me (explain → plan →
|
|
28
|
+
approve → apply → verify).
|
|
29
|
+
- **Security & approval** — Security Doctor (static), secret redaction, forensic
|
|
30
|
+
read-only mode, MCP approval tokens + planHash (bare `approved:true` rejected).
|
|
31
|
+
- **Evidence & verification** — change analysis, evidence bundles, change proof
|
|
32
|
+
(hash integrity; engineering correctness not claimed).
|
|
33
|
+
- **MCP** — combined server with **38** tools (project, intelligence, agent,
|
|
34
|
+
assurance); path/workspace escape blocked.
|
|
35
|
+
- **Dashboard** — embedded local UI + APIs (status, DNA, graph, search, security,
|
|
36
|
+
twin, what-if, forensic, chat).
|
|
37
|
+
- **Digital Twin / What-If** — local refreshable twin snapshot; graph-derived
|
|
38
|
+
impact with uncertainty (not certainty).
|
|
39
|
+
- **Doctors** — API, Database, Event, Security, Privacy, Incident, Deployment
|
|
40
|
+
(file/static evidence); live runtime / IdP / brokers remain **EXTERNAL**.
|
|
41
|
+
- **Evaluation Lab** — fixture-driven eval including prompt-injection detect-only.
|
|
42
|
+
- **Self-diagnosis** — product self-check surfaces.
|
|
43
|
+
|
|
44
|
+
### Providers (local)
|
|
45
|
+
|
|
46
|
+
- Implemented: `none` | `mock` | `openai-compatible` | `ollama`.
|
|
47
|
+
- Native Anthropic / Gemini SDKs: **not implemented** (fail closed via `none`).
|
|
48
|
+
|
|
49
|
+
### Limitations (not unfinished stubs)
|
|
50
|
+
|
|
51
|
+
- Live cloud/DB/K8s/APM runtime intelligence: **EXTERNAL**.
|
|
52
|
+
- Neural embeddings / enterprise IdP-SSO: **EXTERNAL**.
|
|
53
|
+
- Full compiler-grade AST/call binding for every language: not claimed.
|
|
54
|
+
- Not an OS sandbox / EDR; not a replacement for commercial SAST/SCA.
|
|
55
|
+
- Proof asserts hash integrity — not absolute engineering correctness.
|
|
56
|
+
|
|
57
|
+
### Docs / packaging
|
|
58
|
+
|
|
59
|
+
- Rebuilt public README; public docs under `docs/`; audits in `docs/internal/`.
|
|
60
|
+
- npm package contents: `dist`, `README.md`, `LICENSE`, `CHANGELOG.md`.
|
|
61
|
+
- GitHub Action default package pin: **3.0.0**.
|
|
62
|
+
|
|
10
63
|
## [2.1.0] — 2026-09-23
|
|
11
64
|
|
|
12
65
|
Optional Project AI Agent line on top of 2.0.1 assurance. AI remains **opt-in**.
|
|
13
|
-
|
|
14
|
-
Checklist: [docs/RELEASE_CHECKLIST_2_1_0.md](docs/RELEASE_CHECKLIST_2_1_0.md).
|
|
66
|
+
Historical notes: [docs/internal/RELEASE_2_1_0.md](docs/internal/RELEASE_2_1_0.md).
|
|
67
|
+
Checklist: [docs/internal/RELEASE_CHECKLIST_2_1_0.md](docs/internal/RELEASE_CHECKLIST_2_1_0.md).
|
|
15
68
|
|
|
16
69
|
#### Project Intelligence
|
|
17
70
|
|
|
@@ -520,7 +573,8 @@ First public beta.
|
|
|
520
573
|
- Not a complete secret scanner
|
|
521
574
|
- Git “tracked secret” detection deferred
|
|
522
575
|
|
|
523
|
-
[Unreleased]: https://github.com/pranee54/AgentDoctor/compare/
|
|
576
|
+
[Unreleased]: https://github.com/pranee54/AgentDoctor/compare/v3.0.0...HEAD
|
|
577
|
+
[3.0.0]: https://github.com/pranee54/AgentDoctor/compare/v2.1.0...v3.0.0
|
|
524
578
|
[2.1.0]: https://github.com/pranee54/AgentDoctor/compare/v2.0.1...v2.1.0
|
|
525
579
|
[2.0.1]: https://github.com/pranee54/AgentDoctor/compare/v2.0.0...v2.0.1
|
|
526
580
|
[2.0.0]: https://github.com/pranee54/AgentDoctor/compare/v1.1.1...v2.0.0
|