audit-tools 0.35.6 → 0.35.7

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 (43) hide show
  1. package/dist/audit/cli/confirmIntentStep.d.ts.map +1 -1
  2. package/dist/audit/cli/confirmIntentStep.js +38 -0
  3. package/dist/audit/cli/confirmIntentStep.js.map +1 -1
  4. package/dist/audit/cli/nextStepHelpers.d.ts.map +1 -1
  5. package/dist/audit/cli/nextStepHelpers.js +1 -0
  6. package/dist/audit/cli/nextStepHelpers.js.map +1 -1
  7. package/dist/audit/extractors/docsDigest.d.ts +13 -0
  8. package/dist/audit/extractors/docsDigest.d.ts.map +1 -0
  9. package/dist/audit/extractors/docsDigest.js +112 -0
  10. package/dist/audit/extractors/docsDigest.js.map +1 -0
  11. package/dist/audit/io/artifacts.d.ts +3 -0
  12. package/dist/audit/io/artifacts.d.ts.map +1 -1
  13. package/dist/audit/io/artifacts.js +1 -0
  14. package/dist/audit/io/artifacts.js.map +1 -1
  15. package/dist/audit/orchestrator/dependencyMap.d.ts +1 -0
  16. package/dist/audit/orchestrator/dependencyMap.d.ts.map +1 -1
  17. package/dist/audit/orchestrator/dependencyMap.js +9 -0
  18. package/dist/audit/orchestrator/dependencyMap.js.map +1 -1
  19. package/dist/audit/orchestrator/executorRunners.d.ts.map +1 -1
  20. package/dist/audit/orchestrator/executorRunners.js +2 -1
  21. package/dist/audit/orchestrator/executorRunners.js.map +1 -1
  22. package/dist/audit/orchestrator/executors.d.ts.map +1 -1
  23. package/dist/audit/orchestrator/executors.js +5 -0
  24. package/dist/audit/orchestrator/executors.js.map +1 -1
  25. package/dist/audit/orchestrator/intentCheckpointExecutor.d.ts +8 -0
  26. package/dist/audit/orchestrator/intentCheckpointExecutor.d.ts.map +1 -1
  27. package/dist/audit/orchestrator/intentCheckpointExecutor.js +53 -6
  28. package/dist/audit/orchestrator/intentCheckpointExecutor.js.map +1 -1
  29. package/dist/audit/orchestrator/nextStep.d.ts.map +1 -1
  30. package/dist/audit/orchestrator/nextStep.js +5 -0
  31. package/dist/audit/orchestrator/nextStep.js.map +1 -1
  32. package/dist/audit/orchestrator/state.d.ts.map +1 -1
  33. package/dist/audit/orchestrator/state.js +4 -0
  34. package/dist/audit/orchestrator/state.js.map +1 -1
  35. package/dist/audit/orchestrator/structureExecutors.d.ts +7 -0
  36. package/dist/audit/orchestrator/structureExecutors.d.ts.map +1 -1
  37. package/dist/audit/orchestrator/structureExecutors.js +26 -0
  38. package/dist/audit/orchestrator/structureExecutors.js.map +1 -1
  39. package/dist/audit/types/docsDigest.d.ts +32 -0
  40. package/dist/audit/types/docsDigest.d.ts.map +1 -0
  41. package/dist/audit/types/docsDigest.js +2 -0
  42. package/dist/audit/types/docsDigest.js.map +1 -0
  43. package/package.json +1 -1
@@ -0,0 +1,32 @@
1
+ /**
2
+ * Deterministic docs digest (change 3, scope-confirmation context): a bounded
3
+ * telos extraction over the repo's prose docs, rendered into the confirm-intent
4
+ * prompt so the scope decider sees the repo's STATED purpose instead of
5
+ * inferring it from path heuristics. Pure extraction — no LLM pass; the digest
6
+ * is a leaf-consumer artifact (nothing downstream depends on it, and it must
7
+ * never gain an edge into `intent_checkpoint.json`, which is a durable
8
+ * host-input leaf whose revision mirrors the intent baseline).
9
+ */
10
+ export interface DocsDigestEntry {
11
+ /** Repo-relative posix path of the doc file. */
12
+ path: string;
13
+ /** First markdown ATX heading, or the file name when the doc has none. */
14
+ title: string;
15
+ /** Leading text of the doc, newline-normalized, capped (see extractor). */
16
+ excerpt: string;
17
+ }
18
+ export interface DocsDigest {
19
+ generated_at: string;
20
+ /**
21
+ * Digested docs, selection-ordered: shallowest path depth first, then
22
+ * path-sorted (locale collation) — so root-level docs lead deterministically.
23
+ */
24
+ docs: DocsDigestEntry[];
25
+ /**
26
+ * Doc-universe files beyond the selection cap (path-sorted). Present only
27
+ * when non-empty, so the render can say what was not digested rather than
28
+ * implying full coverage.
29
+ */
30
+ omitted_paths?: string[];
31
+ }
32
+ //# sourceMappingURL=docsDigest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"docsDigest.d.ts","sourceRoot":"","sources":["../../../src/audit/types/docsDigest.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,MAAM,WAAW,eAAe;IAC9B,gDAAgD;IAChD,IAAI,EAAE,MAAM,CAAC;IACb,0EAA0E;IAC1E,KAAK,EAAE,MAAM,CAAC;IACd,2EAA2E;IAC3E,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,UAAU;IACzB,YAAY,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,IAAI,EAAE,eAAe,EAAE,CAAC;IACxB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;CAC1B"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=docsDigest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"docsDigest.js","sourceRoot":"","sources":["../../../src/audit/types/docsDigest.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "audit-tools",
3
- "version": "0.35.6",
3
+ "version": "0.35.7",
4
4
  "private": false,
5
5
  "license": "ISC",
6
6
  "description": "Portable hybrid code auditing + remediation orchestrators for arbitrary repositories.",