auditor-lambda 0.7.0 → 0.8.0

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 (38) hide show
  1. package/README.md +0 -21
  2. package/dist/cli/auditStep.js +7 -1
  3. package/dist/cli.d.ts +0 -1
  4. package/dist/cli.js +0 -2
  5. package/dist/extractors/graph.js +12 -2
  6. package/dist/io/artifacts.d.ts +3 -1
  7. package/dist/io/artifacts.js +18 -2
  8. package/dist/orchestrator/advance.js +2 -1
  9. package/dist/orchestrator/artifactFreshness.js +12 -2
  10. package/dist/orchestrator/autoFixExecutor.d.ts +1 -1
  11. package/dist/orchestrator/autoFixExecutor.js +10 -0
  12. package/dist/orchestrator/executorResult.d.ts +12 -0
  13. package/dist/orchestrator/executorResult.js +1 -0
  14. package/dist/orchestrator/fileIntegrity.d.ts +1 -0
  15. package/dist/orchestrator/fileIntegrity.js +12 -3
  16. package/dist/orchestrator/graphEnrichmentExecutor.d.ts +1 -1
  17. package/dist/orchestrator/graphEnrichmentExecutor.js +3 -1
  18. package/dist/orchestrator/internalExecutors.d.ts +1 -18
  19. package/dist/orchestrator/internalExecutors.js +1 -158
  20. package/dist/orchestrator/reviewPacketGraph.d.ts +31 -0
  21. package/dist/orchestrator/reviewPacketGraph.js +691 -0
  22. package/dist/orchestrator/reviewPackets.d.ts +2 -15
  23. package/dist/orchestrator/reviewPackets.js +3 -685
  24. package/dist/orchestrator/runtimeCommand.d.ts +11 -0
  25. package/dist/orchestrator/runtimeCommand.js +79 -0
  26. package/dist/orchestrator/scope.js +1 -1
  27. package/dist/orchestrator/syntaxResolutionExecutor.d.ts +1 -1
  28. package/dist/orchestrator/synthesisExecutors.d.ts +12 -0
  29. package/dist/orchestrator/synthesisExecutors.js +90 -0
  30. package/docs/development.md +35 -139
  31. package/docs/history.md +26 -0
  32. package/docs/product.md +41 -108
  33. package/package.json +1 -1
  34. package/schemas/audit_findings.schema.json +3 -2
  35. package/schemas/dispatch_quota.schema.json +2 -0
  36. package/schemas/external_analyzer_results.schema.json +2 -2
  37. package/schemas/repo_manifest.schema.json +1 -1
  38. package/docs/handoff.md +0 -204
@@ -1,16 +1,10 @@
1
1
  import type { AuditTask } from "../types.js";
2
2
  import type { AuditPlanMetrics, ReviewPacket } from "../types/reviewPlanning.js";
3
- import type { GraphBundle, GraphEdge } from "@audit-tools/shared";
3
+ import type { GraphBundle } from "@audit-tools/shared";
4
4
  import { normalizeGraphPath } from "../extractors/graphPathUtils.js";
5
- export { normalizeGraphPath };
6
5
  import { ESTIMATED_TOKENS_PER_LINE, ESTIMATED_PACKET_PROMPT_TOKENS, sizeIndexFromManifest, estimateTaskGroupTokens } from "./reviewPacketSizing.js";
6
+ export { normalizeGraphPath };
7
7
  export { ESTIMATED_TOKENS_PER_LINE, ESTIMATED_PACKET_PROMPT_TOKENS, sizeIndexFromManifest, estimateTaskGroupTokens, };
8
- /**
9
- * Fan-in / fan-out degree above which a node is treated as a hub. Exported so
10
- * the Phase 3 delta-scope expansion skips the same hubs that packet planning
11
- * skips, preventing scope blow-up through highly-connected modules.
12
- */
13
- export declare const HIGH_FAN_DEGREE_THRESHOLD = 12;
14
8
  export interface BuildReviewPacketOptions {
15
9
  graphBundle?: GraphBundle;
16
10
  lineIndex?: Record<string, number>;
@@ -30,13 +24,6 @@ export interface BuildReviewPacketOptions {
30
24
  */
31
25
  maxContextTokens?: number;
32
26
  }
33
- export declare function collectGraphEdges(graphBundle?: GraphBundle): GraphEdge[];
34
- export declare function graphEdgeConfidence(edge: GraphEdge): number;
35
- export interface GraphDegreeIndex {
36
- fanIn: Map<string, number>;
37
- fanOut: Map<string, number>;
38
- }
39
- export declare function buildGraphDegreeIndex(edges: GraphEdge[]): GraphDegreeIndex;
40
27
  export declare function buildReviewPackets(tasks: AuditTask[], options?: BuildReviewPacketOptions): ReviewPacket[];
41
28
  export declare function orderTasksForPacketReview(tasks: AuditTask[], options?: BuildReviewPacketOptions): AuditTask[];
42
29
  export declare function buildAuditPlanMetrics(tasks: AuditTask[], options?: BuildReviewPacketOptions & {