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.
- package/dist/audit/cli/auditStep.d.ts +1 -0
- package/dist/audit/cli/auditStep.d.ts.map +1 -1
- package/dist/audit/cli/auditStep.js +5 -1
- package/dist/audit/cli/auditStep.js.map +1 -1
- package/dist/audit/cli/charterExtractionPrompt.d.ts +17 -0
- package/dist/audit/cli/charterExtractionPrompt.d.ts.map +1 -0
- package/dist/audit/cli/charterExtractionPrompt.js +94 -0
- package/dist/audit/cli/charterExtractionPrompt.js.map +1 -0
- package/dist/audit/cli/nextStepCommand.d.ts.map +1 -1
- package/dist/audit/cli/nextStepCommand.js +35 -0
- package/dist/audit/cli/nextStepCommand.js.map +1 -1
- package/dist/audit/cli/nextStepHelpers.d.ts +28 -0
- package/dist/audit/cli/nextStepHelpers.d.ts.map +1 -1
- package/dist/audit/cli/nextStepHelpers.js +49 -0
- package/dist/audit/cli/nextStepHelpers.js.map +1 -1
- package/dist/audit/cli/steps.d.ts +4 -4
- package/dist/audit/cli/steps.d.ts.map +1 -1
- package/dist/audit/cli/steps.js +1 -0
- package/dist/audit/cli/steps.js.map +1 -1
- package/dist/audit/contracts/workerSchemas.d.ts +28 -28
- package/dist/audit/io/artifacts.d.ts +3 -0
- package/dist/audit/io/artifacts.d.ts.map +1 -1
- package/dist/audit/io/artifacts.js +1 -0
- package/dist/audit/io/artifacts.js.map +1 -1
- package/dist/audit/orchestrator/advanceTypes.d.ts +3 -1
- package/dist/audit/orchestrator/advanceTypes.d.ts.map +1 -1
- package/dist/audit/orchestrator/charterExtractionExecutor.d.ts +27 -0
- package/dist/audit/orchestrator/charterExtractionExecutor.d.ts.map +1 -0
- package/dist/audit/orchestrator/charterExtractionExecutor.js +95 -0
- package/dist/audit/orchestrator/charterExtractionExecutor.js.map +1 -0
- package/dist/audit/orchestrator/dependencyMap.d.ts +1 -0
- package/dist/audit/orchestrator/dependencyMap.d.ts.map +1 -1
- package/dist/audit/orchestrator/dependencyMap.js +12 -0
- package/dist/audit/orchestrator/dependencyMap.js.map +1 -1
- package/dist/audit/orchestrator/executorRunners.d.ts.map +1 -1
- package/dist/audit/orchestrator/executorRunners.js +2 -0
- package/dist/audit/orchestrator/executorRunners.js.map +1 -1
- package/dist/audit/orchestrator/executors.d.ts.map +1 -1
- package/dist/audit/orchestrator/executors.js +9 -0
- package/dist/audit/orchestrator/executors.js.map +1 -1
- package/dist/audit/orchestrator/nextStep.d.ts.map +1 -1
- package/dist/audit/orchestrator/nextStep.js +1 -0
- package/dist/audit/orchestrator/nextStep.js.map +1 -1
- package/dist/audit/orchestrator/state.d.ts.map +1 -1
- package/dist/audit/orchestrator/state.js +7 -0
- package/dist/audit/orchestrator/state.js.map +1 -1
- package/dist/audit/orchestrator/synthesisExecutors.d.ts.map +1 -1
- package/dist/audit/orchestrator/synthesisExecutors.js +1 -0
- package/dist/audit/orchestrator/synthesisExecutors.js.map +1 -1
- package/dist/audit/reporting/mergeFindings.d.ts +2 -1
- package/dist/audit/reporting/mergeFindings.d.ts.map +1 -1
- package/dist/audit/reporting/mergeFindings.js +3 -1
- package/dist/audit/reporting/mergeFindings.js.map +1 -1
- package/dist/audit/reporting/synthesis.d.ts +2 -0
- package/dist/audit/reporting/synthesis.d.ts.map +1 -1
- package/dist/audit/reporting/synthesis.js +1 -1
- package/dist/audit/reporting/synthesis.js.map +1 -1
- package/dist/audit/types/charterRegister.d.ts +42 -0
- package/dist/audit/types/charterRegister.d.ts.map +1 -0
- package/dist/audit/types/charterRegister.js +2 -0
- package/dist/audit/types/charterRegister.js.map +1 -0
- package/dist/remediate/phases/triage.d.ts.map +1 -1
- package/dist/remediate/phases/triage.js +16 -1
- package/dist/remediate/phases/triage.js.map +1 -1
- package/dist/remediate/steps/dispatch.d.ts +8 -0
- package/dist/remediate/steps/dispatch.d.ts.map +1 -1
- package/dist/remediate/steps/dispatch.js +10 -0
- package/dist/remediate/steps/dispatch.js.map +1 -1
- package/dist/shared/decompose/charterExtraction.d.ts +236 -0
- package/dist/shared/decompose/charterExtraction.d.ts.map +1 -0
- package/dist/shared/decompose/charterExtraction.js +209 -0
- package/dist/shared/decompose/charterExtraction.js.map +1 -0
- package/dist/shared/index.d.ts +2 -0
- package/dist/shared/index.d.ts.map +1 -1
- package/dist/shared/index.js +1 -0
- package/dist/shared/index.js.map +1 -1
- package/docs/audit-pkg/contracts.md +1 -1
- package/docs/audit-pkg/development.md +8 -7
- package/docs/audit-pkg/product.md +7 -4
- package/docs/audit-pkg/release.md +4 -2
- 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.
|
|
44
|
-
2.
|
|
45
|
-
3.
|
|
46
|
-
4.
|
|
47
|
-
5.
|
|
48
|
-
6.
|
|
49
|
-
7.
|
|
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.
|
|
42
|
-
|
|
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
|
-
|
|
47
|
+
6. Packet workers submit validated `AuditResult` objects through backend-owned
|
|
45
48
|
commands.
|
|
46
|
-
|
|
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
|
|
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
|
-
-
|
|
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
|