@praneeth_54/agentdoctor 2.0.0 → 2.0.1
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 +73 -4
- package/README.md +283 -158
- package/dist/architecture/contract.d.ts +64 -0
- package/dist/architecture/contract.js +373 -0
- package/dist/assurance/change.d.ts +211 -0
- package/dist/assurance/change.js +624 -0
- package/dist/assurance/proof.d.ts +136 -0
- package/dist/assurance/proof.js +338 -0
- package/dist/auth/index.d.ts +81 -0
- package/dist/auth/index.js +130 -0
- package/dist/auth/rbac.d.ts +9 -0
- package/dist/auth/rbac.js +26 -0
- package/dist/cli/commands/architecture.d.ts +6 -0
- package/dist/cli/commands/architecture.js +109 -0
- package/dist/cli/commands/assurance.d.ts +67 -0
- package/dist/cli/commands/assurance.js +210 -0
- package/dist/cli/commands/complete.js +2 -2
- package/dist/cli/commands/platform.d.ts +2 -0
- package/dist/cli/commands/platform.js +5 -1
- package/dist/cli/commands/policy-graph-run.d.ts +40 -0
- package/dist/cli/commands/policy-graph-run.js +200 -0
- package/dist/cli/commands/workspace.d.ts +9 -0
- package/dist/cli/commands/workspace.js +82 -0
- package/dist/cli/program.js +535 -17
- package/dist/constants.d.ts +1 -1
- package/dist/constants.js +1 -1
- package/dist/contracts/index.d.ts +1 -1
- package/dist/contracts/index.js +2 -2
- package/dist/core/brain-product/init.js +5 -2
- package/dist/core/secrets/scan.d.ts +7 -1
- package/dist/core/secrets/scan.js +9 -9
- package/dist/coverage/cobertura.d.ts +6 -0
- package/dist/coverage/cobertura.js +52 -0
- package/dist/coverage/istanbul.d.ts +7 -0
- package/dist/coverage/istanbul.js +134 -0
- package/dist/coverage/lcov.d.ts +7 -0
- package/dist/coverage/lcov.js +59 -0
- package/dist/coverage/load.d.ts +9 -0
- package/dist/coverage/load.js +39 -0
- package/dist/coverage/types.d.ts +23 -0
- package/dist/coverage/types.js +5 -0
- package/dist/dashboard/server.d.ts +1 -1
- package/dist/dashboard/server.js +21 -5
- package/dist/enforcement/runner.d.ts +47 -3
- package/dist/enforcement/runner.js +420 -16
- package/dist/index.d.ts +23 -2
- package/dist/index.js +15 -2
- package/dist/intelligence/graph/build.d.ts +2 -0
- package/dist/intelligence/graph/build.js +49 -5
- package/dist/intelligence/graph/incremental.d.ts +68 -0
- package/dist/intelligence/graph/incremental.js +234 -0
- package/dist/intelligence/resolve/imports.d.ts +36 -0
- package/dist/intelligence/resolve/imports.js +245 -0
- package/dist/languages/go.d.ts +9 -0
- package/dist/languages/go.js +45 -0
- package/dist/languages/index.d.ts +11 -0
- package/dist/languages/index.js +76 -0
- package/dist/languages/php.d.ts +7 -0
- package/dist/languages/php.js +193 -0
- package/dist/languages/python.d.ts +7 -0
- package/dist/languages/python.js +150 -0
- package/dist/languages/types.d.ts +42 -0
- package/dist/languages/types.js +26 -0
- package/dist/languages/typescript.d.ts +3 -0
- package/dist/languages/typescript.js +95 -0
- package/dist/mcp/intelligence/handlers.d.ts +5 -0
- package/dist/mcp/intelligence/handlers.js +229 -40
- package/dist/mcp/intelligence/path-safety.d.ts +2 -4
- package/dist/mcp/intelligence/path-safety.js +25 -44
- package/dist/mcp/intelligence/registry.d.ts +1 -1
- package/dist/mcp/intelligence/registry.js +69 -1
- package/dist/platform/firewall/evaluate.d.ts +6 -3
- package/dist/platform/firewall/evaluate.js +66 -15
- package/dist/platform/graph/build.js +19 -23
- package/dist/platform/health/analyze.js +23 -17
- package/dist/platform/index.js +2 -0
- package/dist/platform/test-impact/analyze.d.ts +21 -3
- package/dist/platform/test-impact/analyze.js +214 -28
- package/dist/platform/tokens/plan.js +39 -20
- package/dist/platform/types.d.ts +9 -0
- package/dist/policy/compose.d.ts +34 -0
- package/dist/policy/compose.js +118 -0
- package/dist/policy/packs.js +33 -1
- package/dist/security/paths.d.ts +21 -0
- package/dist/security/paths.js +105 -0
- package/dist/storage/postgres.d.ts +26 -0
- package/dist/storage/postgres.js +90 -0
- package/dist/storage/provider.d.ts +2 -7
- package/dist/storage/provider.js +22 -16
- package/dist/storage/sqlite.d.ts +33 -0
- package/dist/storage/sqlite.js +77 -0
- package/dist/team/auth.js +1 -1
- package/dist/workspace/index.d.ts +69 -0
- package/dist/workspace/index.js +220 -0
- package/package.json +9 -3
package/CHANGELOG.md
CHANGED
|
@@ -7,10 +7,78 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
## [2.0.1] — 2026-09-23
|
|
11
|
+
|
|
12
|
+
Hardening and change-assurance cut on top of 2.0.0, plus a deepening pass that
|
|
13
|
+
closes controllable PARTIALs with honest EXTERNAL/EXPERIMENTAL gates. Canonical
|
|
14
|
+
docs: [docs/2.0.1/](docs/2.0.1/README.md). Completion map:
|
|
15
|
+
[docs/2.0.1/FINAL_COMPLETION_AUDIT.md](docs/2.0.1/FINAL_COMPLETION_AUDIT.md).
|
|
16
|
+
|
|
17
|
+
### Added
|
|
18
|
+
|
|
19
|
+
- Change assurance CLI: `agentdoctor change analyze|verify|explain|diff|status`
|
|
20
|
+
assemble repository signals into a structured `ChangeAssessment`.
|
|
21
|
+
- Evidence bundles under `.agentdoctor/evidence/<change-id>/` with versioned
|
|
22
|
+
`manifest.json` and SHA-256 file hashes; `evidence inspect|verify`.
|
|
23
|
+
- Change Proof CLI: `proof build|inspect|explain|verify|export` (integrity +
|
|
24
|
+
optional engineering checks; `correctnessStatus` always
|
|
25
|
+
`ENGINEERING_CORRECTNESS_NOT_CLAIMED`).
|
|
26
|
+
- Architecture contract: `architecture init|analyze|check|explain`.
|
|
27
|
+
- Optional coverage-backed test impact (`--coverage`) with explicit
|
|
28
|
+
`testAttribution` labels (`coverage-map` / `hybrid-heuristic` / `none`).
|
|
29
|
+
- Controlled runner: `run` / `run explain` and `policy check|explain|enforce`
|
|
30
|
+
(execute only when explicitly allowed).
|
|
31
|
+
- Policy composition (builtin pack + `.agentdoctor/policy.json`).
|
|
32
|
+
- Incremental graph surfaces: `graph build|update|rebuild|status`.
|
|
33
|
+
- Workspace isolation CLI: `workspace create|add|list|status|remove`.
|
|
34
|
+
- Language adapters: Python/PHP toolchain bridges; Go honest unsupported stub;
|
|
35
|
+
Java/Kotlin/Rust/Dart unsupported stubs.
|
|
36
|
+
- Storage: SQLite (`node:sqlite`) and Postgres (`tryCreatePostgresStorage`) with
|
|
37
|
+
env/runtime gates.
|
|
38
|
+
- Auth library path: OIDC JWT/JWKS validation + RBAC helpers (browser OAuth
|
|
39
|
+
redirect remains experimental).
|
|
40
|
+
- Combined MCP tools: `change_analyze`, `architecture_check`, `proof_inspect`,
|
|
41
|
+
`evidence_inspect`, `graph_query`.
|
|
42
|
+
- Docs: `docs/2.0.1/` including FINAL_COMPLETION_AUDIT and updated limitations.
|
|
43
|
+
|
|
44
|
+
### Changed
|
|
45
|
+
|
|
46
|
+
- Package positioning: engineering assurance for AI coding agents; description
|
|
47
|
+
and keywords updated (`change-assurance`, `evidence`, `engineering-assurance`).
|
|
48
|
+
- Action default `version` input and CI published-package pins → **2.0.1**.
|
|
49
|
+
- `npm run verify` builds before tests so STDIO MCP suites use fresh `dist/`.
|
|
50
|
+
- Firewall load path seeds DEFAULT_POLICY when no repo policy exists; force-push
|
|
51
|
+
is `require-approval` (not hard-block via baseline pack alone).
|
|
52
|
+
- README / CONTRIBUTING / ROADMAP aligned to honest status labels.
|
|
53
|
+
|
|
54
|
+
### Fixed
|
|
55
|
+
|
|
56
|
+
- CodeQL high alerts: crypto usage, ReDoS hardening, temp-file handling, and
|
|
57
|
+
TOCTOU fixes across secrets scan, graph/health/tokens, team auth, and related
|
|
58
|
+
tests.
|
|
59
|
+
- CI Typecheck / Lint / Test / Build: track plugin fixtures previously ignored
|
|
60
|
+
under `.agentdoctor/`, and normalize TypeScript AST source paths so Windows
|
|
61
|
+
runners match discovered files.
|
|
62
|
+
- Language adapter barrel exports (`pythonAvailable` / `phpAvailable` /
|
|
63
|
+
`goAvailable`) kept consistent.
|
|
64
|
+
|
|
65
|
+
### Security
|
|
66
|
+
|
|
67
|
+
- CodeQL-driven hardening on path/temp and regex surfaces (see Fixed).
|
|
68
|
+
- Central path safety helpers; secret severity≠confidence fields.
|
|
69
|
+
- Change assurance / policy path remains evaluate-only by default
|
|
70
|
+
(`executionResult: "not-executed"`); no fake full browser SSO.
|
|
71
|
+
|
|
72
|
+
### Known limitations (at release)
|
|
11
73
|
|
|
12
|
-
-
|
|
13
|
-
|
|
74
|
+
- Test impact is heuristic without coverage; hybrid when coverage lacks a test
|
|
75
|
+
map.
|
|
76
|
+
- Architecture C4 impact remains **inferred**; contract is repo-local only.
|
|
77
|
+
- Proof `verified` / hash integrity ≠ engineering correctness or compliance.
|
|
78
|
+
- Browser OAuth incomplete (EXPERIMENTAL); Postgres needs live URL (EXTERNAL);
|
|
79
|
+
Java/Kotlin/Rust/Dart/Go AST extractors EXTERNAL; IDE interception EXTERNAL.
|
|
80
|
+
- Published npm Action pins require a human `npm publish` of 2.0.1 before remote
|
|
81
|
+
CI against `version: 2.0.1` succeeds.
|
|
14
82
|
|
|
15
83
|
## [2.0.0] — 2026-09-21
|
|
16
84
|
|
|
@@ -385,7 +453,8 @@ First public beta.
|
|
|
385
453
|
- Not a complete secret scanner
|
|
386
454
|
- Git “tracked secret” detection deferred
|
|
387
455
|
|
|
388
|
-
[Unreleased]: https://github.com/pranee54/AgentDoctor/compare/v2.0.
|
|
456
|
+
[Unreleased]: https://github.com/pranee54/AgentDoctor/compare/v2.0.1...HEAD
|
|
457
|
+
[2.0.1]: https://github.com/pranee54/AgentDoctor/compare/v2.0.0...v2.0.1
|
|
389
458
|
[2.0.0]: https://github.com/pranee54/AgentDoctor/compare/v1.1.1...v2.0.0
|
|
390
459
|
[1.1.1]: https://github.com/pranee54/AgentDoctor/releases/tag/v1.1.1
|
|
391
460
|
[1.1.0]: https://github.com/pranee54/AgentDoctor/releases/tag/v1.1.0
|