audit-tools 0.32.18 → 0.32.20

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 (81) hide show
  1. package/dist/audit/cli/auditStep.d.ts +1 -0
  2. package/dist/audit/cli/auditStep.d.ts.map +1 -1
  3. package/dist/audit/cli/auditStep.js +5 -1
  4. package/dist/audit/cli/auditStep.js.map +1 -1
  5. package/dist/audit/cli/charterExtractionPrompt.d.ts +17 -0
  6. package/dist/audit/cli/charterExtractionPrompt.d.ts.map +1 -0
  7. package/dist/audit/cli/charterExtractionPrompt.js +94 -0
  8. package/dist/audit/cli/charterExtractionPrompt.js.map +1 -0
  9. package/dist/audit/cli/nextStepCommand.d.ts.map +1 -1
  10. package/dist/audit/cli/nextStepCommand.js +35 -0
  11. package/dist/audit/cli/nextStepCommand.js.map +1 -1
  12. package/dist/audit/cli/nextStepHelpers.d.ts +28 -0
  13. package/dist/audit/cli/nextStepHelpers.d.ts.map +1 -1
  14. package/dist/audit/cli/nextStepHelpers.js +49 -0
  15. package/dist/audit/cli/nextStepHelpers.js.map +1 -1
  16. package/dist/audit/cli/steps.d.ts +4 -4
  17. package/dist/audit/cli/steps.d.ts.map +1 -1
  18. package/dist/audit/cli/steps.js +1 -0
  19. package/dist/audit/cli/steps.js.map +1 -1
  20. package/dist/audit/contracts/workerSchemas.d.ts +28 -28
  21. package/dist/audit/io/artifacts.d.ts +3 -0
  22. package/dist/audit/io/artifacts.d.ts.map +1 -1
  23. package/dist/audit/io/artifacts.js +1 -0
  24. package/dist/audit/io/artifacts.js.map +1 -1
  25. package/dist/audit/orchestrator/advanceTypes.d.ts +3 -1
  26. package/dist/audit/orchestrator/advanceTypes.d.ts.map +1 -1
  27. package/dist/audit/orchestrator/charterExtractionExecutor.d.ts +27 -0
  28. package/dist/audit/orchestrator/charterExtractionExecutor.d.ts.map +1 -0
  29. package/dist/audit/orchestrator/charterExtractionExecutor.js +95 -0
  30. package/dist/audit/orchestrator/charterExtractionExecutor.js.map +1 -0
  31. package/dist/audit/orchestrator/dependencyMap.d.ts +1 -0
  32. package/dist/audit/orchestrator/dependencyMap.d.ts.map +1 -1
  33. package/dist/audit/orchestrator/dependencyMap.js +12 -0
  34. package/dist/audit/orchestrator/dependencyMap.js.map +1 -1
  35. package/dist/audit/orchestrator/executorRunners.d.ts.map +1 -1
  36. package/dist/audit/orchestrator/executorRunners.js +2 -0
  37. package/dist/audit/orchestrator/executorRunners.js.map +1 -1
  38. package/dist/audit/orchestrator/executors.d.ts.map +1 -1
  39. package/dist/audit/orchestrator/executors.js +9 -0
  40. package/dist/audit/orchestrator/executors.js.map +1 -1
  41. package/dist/audit/orchestrator/nextStep.d.ts.map +1 -1
  42. package/dist/audit/orchestrator/nextStep.js +1 -0
  43. package/dist/audit/orchestrator/nextStep.js.map +1 -1
  44. package/dist/audit/orchestrator/state.d.ts.map +1 -1
  45. package/dist/audit/orchestrator/state.js +7 -0
  46. package/dist/audit/orchestrator/state.js.map +1 -1
  47. package/dist/audit/orchestrator/synthesisExecutors.d.ts.map +1 -1
  48. package/dist/audit/orchestrator/synthesisExecutors.js +1 -0
  49. package/dist/audit/orchestrator/synthesisExecutors.js.map +1 -1
  50. package/dist/audit/reporting/mergeFindings.d.ts +2 -1
  51. package/dist/audit/reporting/mergeFindings.d.ts.map +1 -1
  52. package/dist/audit/reporting/mergeFindings.js +3 -1
  53. package/dist/audit/reporting/mergeFindings.js.map +1 -1
  54. package/dist/audit/reporting/synthesis.d.ts +2 -0
  55. package/dist/audit/reporting/synthesis.d.ts.map +1 -1
  56. package/dist/audit/reporting/synthesis.js +1 -1
  57. package/dist/audit/reporting/synthesis.js.map +1 -1
  58. package/dist/audit/types/charterRegister.d.ts +42 -0
  59. package/dist/audit/types/charterRegister.d.ts.map +1 -0
  60. package/dist/audit/types/charterRegister.js +2 -0
  61. package/dist/audit/types/charterRegister.js.map +1 -0
  62. package/dist/remediate/phases/triage.d.ts.map +1 -1
  63. package/dist/remediate/phases/triage.js +16 -1
  64. package/dist/remediate/phases/triage.js.map +1 -1
  65. package/dist/remediate/steps/dispatch.d.ts +8 -0
  66. package/dist/remediate/steps/dispatch.d.ts.map +1 -1
  67. package/dist/remediate/steps/dispatch.js +10 -0
  68. package/dist/remediate/steps/dispatch.js.map +1 -1
  69. package/dist/shared/decompose/charterExtraction.d.ts +236 -0
  70. package/dist/shared/decompose/charterExtraction.d.ts.map +1 -0
  71. package/dist/shared/decompose/charterExtraction.js +209 -0
  72. package/dist/shared/decompose/charterExtraction.js.map +1 -0
  73. package/dist/shared/index.d.ts +2 -0
  74. package/dist/shared/index.d.ts.map +1 -1
  75. package/dist/shared/index.js +1 -0
  76. package/dist/shared/index.js.map +1 -1
  77. package/docs/audit-pkg/contracts.md +1 -1
  78. package/docs/audit-pkg/development.md +8 -7
  79. package/docs/audit-pkg/product.md +7 -4
  80. package/docs/audit-pkg/release.md +4 -2
  81. package/package.json +1 -1
@@ -40,13 +40,14 @@ workflow semantics.
40
40
 
41
41
  The system separates deterministic extraction from bounded LLM judgment:
42
42
 
43
- 1. intake and file disposition
44
- 2. surface, flow, graph, unit, risk, and coverage artifacts
45
- 3. audit task planning
46
- 4. review packet construction
47
- 5. semantic review through the active conversation or fallback provider bridge
48
- 6. result ingestion, selective deepening, runtime validation, and synthesis
49
- 7. final `audit-report.md`
43
+ 1. a one-time provider-confirmation gate (discover, cost-order, and confirm the provider pool)
44
+ 2. intake and file disposition
45
+ 3. surface, flow, graph, unit, risk, and coverage artifacts
46
+ 4. audit task planning
47
+ 5. review packet construction
48
+ 6. semantic review through the active conversation or fallback provider bridge
49
+ 7. result ingestion, selective deepening, runtime validation, and synthesis
50
+ 8. final `audit-report.md`
50
51
 
51
52
  Portability rules:
52
53
 
@@ -38,12 +38,15 @@ The intended workflow is:
38
38
 
39
39
  1. The user invokes `/audit-code`.
40
40
  2. The prompt runs `audit-code ensure --quiet`.
41
- 3. Deterministic backend steps build or refresh artifacts.
42
- 4. The active conversation dispatches bounded review packets when semantic
41
+ 3. The conversation confirms (or accepts by default) the discovered provider
42
+ pool and cost ordering (`provider_confirmation`) the pipeline's first
43
+ gated step.
44
+ 4. Deterministic backend steps build or refresh artifacts.
45
+ 5. The active conversation dispatches bounded review packets when semantic
43
46
  judgment is required.
44
- 5. Packet workers submit validated `AuditResult` objects through backend-owned
47
+ 6. Packet workers submit validated `AuditResult` objects through backend-owned
45
48
  commands.
46
- 6. The backend ingests results, performs selective deepening and runtime
49
+ 7. The backend ingests results, performs selective deepening and runtime
47
50
  validation when needed, and writes the final `audit-report.md`.
48
51
 
49
52
  Semantic review belongs to the active host conversation by default. Backend
@@ -42,11 +42,13 @@ Workflow:
42
42
  .github/workflows/publish-package.yml
43
43
  ```
44
44
 
45
- The workflow:
45
+ The release gate is split into two parallel jobs — `gate` (`npm run verify:checks`) and `test` (the
46
+ vitest suite, sharded 4 ways) — so publish latency is bounded by the slowest gate job rather than their
47
+ sum. The `publish` job needs both, then:
46
48
 
47
49
  - requests `id-token: write` for npm OIDC exchange
48
50
  - pins the Node and npm versions declared in `.github/workflows/publish-package.yml`
49
- - runs `npm run verify:release`
51
+ - rebuilds `dist/` for packing (the `gate`/`test` jobs already ran the full verify chain)
50
52
  - previews the packed tarball with `npm pack --dry-run`
51
53
  - publishes with public access and provenance
52
54
  - defaults semver prerelease versions to the `next` dist-tag unless overridden
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "audit-tools",
3
- "version": "0.32.18",
3
+ "version": "0.32.20",
4
4
  "private": false,
5
5
  "license": "ISC",
6
6
  "description": "Portable hybrid code auditing + remediation orchestrators for arbitrary repositories.",