audit-tools 0.28.10 → 0.28.11
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/remediate/steps/dispatch.d.ts +12 -0
- package/dist/remediate/steps/dispatch.d.ts.map +1 -1
- package/dist/remediate/steps/dispatch.js +27 -3
- package/dist/remediate/steps/dispatch.js.map +1 -1
- package/dist/remediate/steps/nextStep.d.ts.map +1 -1
- package/dist/remediate/steps/nextStep.js +14 -6
- package/dist/remediate/steps/nextStep.js.map +1 -1
- package/dist/remediate/steps/prompts.d.ts.map +1 -1
- package/dist/remediate/steps/prompts.js +14 -9
- package/dist/remediate/steps/prompts.js.map +1 -1
- package/docs/audit-pkg/development.md +4 -5
- package/docs/audit-pkg/operator-guide.md +2 -2
- package/docs/audit-pkg/product.md +1 -1
- package/package.json +1 -1
- package/docs/audit-pkg/history.md +0 -66
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
# History
|
|
2
|
-
|
|
3
|
-
This page keeps short archival context that used to live in several
|
|
4
|
-
phase-specific documents. It is not the current roadmap or release gate.
|
|
5
|
-
|
|
6
|
-
## Field-trial lessons
|
|
7
|
-
|
|
8
|
-
Earlier real-repository runs surfaced issues around:
|
|
9
|
-
|
|
10
|
-
- completion detection
|
|
11
|
-
- worker launch failures
|
|
12
|
-
- result ingestion validation
|
|
13
|
-
- command hangs without progress
|
|
14
|
-
- requeue task explosion
|
|
15
|
-
- evidence schema ambiguity
|
|
16
|
-
- noisy runtime placeholders
|
|
17
|
-
- weak root-cause clustering
|
|
18
|
-
- missing work-block presentation
|
|
19
|
-
- unenforceable reviewed ranges
|
|
20
|
-
|
|
21
|
-
Most of those findings have dedicated regression coverage now. The durable
|
|
22
|
-
lesson is that failure states should be explicit, schema validation should be
|
|
23
|
-
field-level, and packetization should optimize for coherent review context
|
|
24
|
-
rather than raw worker-count reduction alone.
|
|
25
|
-
|
|
26
|
-
## Remediation baseline
|
|
27
|
-
|
|
28
|
-
The old remediation baseline recorded fixes across:
|
|
29
|
-
|
|
30
|
-
- CI and release smoke coverage
|
|
31
|
-
- extractor path handling
|
|
32
|
-
- schema-contract validation
|
|
33
|
-
- orchestration state handling
|
|
34
|
-
- provider and supervisor behavior
|
|
35
|
-
- CLI and IO robustness
|
|
36
|
-
- reporting and synthesis behavior
|
|
37
|
-
- generated install payload parity
|
|
38
|
-
|
|
39
|
-
Current readiness is tracked in `docs/product.md`, `docs/operator-guide.md`,
|
|
40
|
-
`docs/contracts.md`, `docs/release.md`, and `docs/development.md`.
|
|
41
|
-
|
|
42
|
-
## Monorepo migration & drift reconciliation (2026-05 → 2026-06)
|
|
43
|
-
|
|
44
|
-
The auditor and remediator began as standalone repos (`auditor-lambda`,
|
|
45
|
-
`remediator-lambda`) and were merged into this npm-workspaces monorepo on a
|
|
46
|
-
shared `@audit-tools/shared` foundation. `providers/` and `quota/` had been
|
|
47
|
-
copy-pasted into both tools and forked in place; the ten resulting drift bugs
|
|
48
|
-
were all fixed by centralizing the forked logic into `shared` (one source of
|
|
49
|
-
truth). Durable decisions from that work:
|
|
50
|
-
|
|
51
|
-
- **Access scoping is JSON, not MCP.** `AccessDeclaration` rides on the step
|
|
52
|
-
contract, so it works with any host; the MCP servers stay compatibility
|
|
53
|
-
adapters over the same contract.
|
|
54
|
-
- **`--dangerously-skip-permissions` defaults ON for the remediator, OFF for the
|
|
55
|
-
auditor.** The remediator applies changes unattended and cannot pause; the
|
|
56
|
-
auditor is read-only. The asymmetry is intentional and the flag is overrideable.
|
|
57
|
-
- **The remediator's machine input is `audit-findings.json`, not the Markdown
|
|
58
|
-
report.** `audit-report.md` is human-facing; a Markdown file handed to the
|
|
59
|
-
remediator flows through the free-form LLM extractor, not a deterministic parse.
|
|
60
|
-
- **Prompts use one strict path** — no "or / unless / if-available" fallbacks.
|
|
61
|
-
|
|
62
|
-
Large files were then broken up as behaviour-preserving pure moves (`cli.ts` from
|
|
63
|
-
4072 lines to a thin dispatcher plus `src/cli/*` handlers; `graph.ts`,
|
|
64
|
-
`reviewPackets.ts`, `internalExecutors.ts`, and the generated language table all
|
|
65
|
-
split out). The sprint-by-sprint handoff docs that tracked this work were removed
|
|
66
|
-
once shipped; this section is their durable residue.
|