auditor-lambda 0.2.5 → 0.2.8
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/README.md +35 -7
- package/audit-code-wrapper-lib.mjs +1612 -331
- package/dist/cli.js +397 -38
- package/dist/coverage.d.ts +2 -2
- package/dist/coverage.js +5 -5
- package/dist/extractors/disposition.js +10 -1
- package/dist/extractors/flows.js +7 -1
- package/dist/extractors/pathPatterns.d.ts +3 -0
- package/dist/extractors/pathPatterns.js +15 -0
- package/dist/extractors/risk.js +7 -1
- package/dist/io/artifacts.d.ts +6 -6
- package/dist/io/artifacts.js +14 -17
- package/dist/io/json.d.ts +2 -0
- package/dist/io/json.js +15 -0
- package/dist/io/runArtifacts.d.ts +3 -1
- package/dist/io/runArtifacts.js +20 -5
- package/dist/mcp/server.d.ts +1 -0
- package/dist/mcp/server.js +579 -0
- package/dist/orchestrator/advance.js +9 -2
- package/dist/orchestrator/dependencyMap.js +9 -13
- package/dist/orchestrator/executors.js +7 -2
- package/dist/orchestrator/flowRequeue.d.ts +2 -2
- package/dist/orchestrator/flowRequeue.js +16 -3
- package/dist/orchestrator/internalExecutors.d.ts +2 -1
- package/dist/orchestrator/internalExecutors.js +129 -48
- package/dist/orchestrator/requeue.js +10 -4
- package/dist/orchestrator/requeueCommand.js +15 -2
- package/dist/orchestrator/resultIngestion.d.ts +2 -1
- package/dist/orchestrator/resultIngestion.js +26 -6
- package/dist/orchestrator/runtimeValidation.d.ts +7 -2
- package/dist/orchestrator/runtimeValidation.js +61 -49
- package/dist/orchestrator/runtimeValidationUpdate.js +2 -4
- package/dist/orchestrator/state.js +28 -14
- package/dist/orchestrator/taskBuilder.js +4 -2
- package/dist/orchestrator/trivialAudit.d.ts +4 -0
- package/dist/orchestrator/trivialAudit.js +49 -0
- package/dist/prompts/renderWorkerPrompt.js +6 -2
- package/dist/providers/spawnLoggedCommand.js +17 -0
- package/dist/reporting/mergeFindings.js +3 -11
- package/dist/reporting/rootCause.js +92 -9
- package/dist/reporting/synthesis.d.ts +25 -22
- package/dist/reporting/synthesis.js +92 -59
- package/dist/reporting/workBlocks.d.ts +12 -3
- package/dist/reporting/workBlocks.js +124 -70
- package/dist/supervisor/sessionConfig.js +4 -2
- package/dist/types/flows.d.ts +2 -0
- package/dist/types/runtimeValidation.d.ts +2 -1
- package/dist/types.d.ts +8 -6
- package/dist/validation/auditResults.d.ts +5 -2
- package/dist/validation/auditResults.js +335 -43
- package/docs/agent-integrations.md +38 -29
- package/docs/artifacts.md +18 -51
- package/docs/bootstrap-install.md +60 -30
- package/docs/contract.md +25 -117
- package/docs/field-trial-bug-report.md +237 -0
- package/docs/next-steps.md +59 -44
- package/docs/packaging.md +13 -3
- package/docs/production-launch-bar.md +2 -2
- package/docs/production-readiness.md +9 -5
- package/docs/releasing.md +81 -0
- package/docs/session-config.md +20 -1
- package/docs/usage.md +22 -0
- package/package.json +4 -1
- package/schemas/audit_result.schema.json +4 -5
- package/schemas/audit_task.schema.json +10 -0
- package/schemas/runtime_validation_report.schema.json +1 -1
- package/skills/audit-code/SKILL.md +11 -2
- package/skills/audit-code/audit-code.prompt.md +11 -10
- package/schemas/merged_findings.schema.json +0 -19
- package/schemas/root_cause_clusters.schema.json +0 -28
- package/schemas/synthesis_report.schema.json +0 -61
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "root_cause_clusters.schema.json",
|
|
4
|
-
"title": "Root Cause Clusters",
|
|
5
|
-
"type": "object",
|
|
6
|
-
"required": ["clusters"],
|
|
7
|
-
"properties": {
|
|
8
|
-
"clusters": {
|
|
9
|
-
"type": "array",
|
|
10
|
-
"items": {
|
|
11
|
-
"type": "object",
|
|
12
|
-
"required": ["id", "title", "finding_ids"],
|
|
13
|
-
"properties": {
|
|
14
|
-
"id": { "type": "string" },
|
|
15
|
-
"title": { "type": "string" },
|
|
16
|
-
"summary": { "type": "string" },
|
|
17
|
-
"finding_ids": {
|
|
18
|
-
"type": "array",
|
|
19
|
-
"items": { "type": "string" },
|
|
20
|
-
"minItems": 1
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
"additionalProperties": true
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
"additionalProperties": true
|
|
28
|
-
}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "synthesis_report.schema.json",
|
|
4
|
-
"title": "Synthesis Report",
|
|
5
|
-
"type": "object",
|
|
6
|
-
"required": ["summary", "merged_findings", "root_cause_clusters"],
|
|
7
|
-
"properties": {
|
|
8
|
-
"summary": {
|
|
9
|
-
"type": "object",
|
|
10
|
-
"required": [
|
|
11
|
-
"finding_count",
|
|
12
|
-
"cluster_count",
|
|
13
|
-
"runtime_validation_status_breakdown"
|
|
14
|
-
],
|
|
15
|
-
"properties": {
|
|
16
|
-
"finding_count": { "type": "integer" },
|
|
17
|
-
"cluster_count": { "type": "integer" },
|
|
18
|
-
"runtime_validation_status_breakdown": {
|
|
19
|
-
"type": "object",
|
|
20
|
-
"additionalProperties": { "type": "integer" }
|
|
21
|
-
},
|
|
22
|
-
"notes": {
|
|
23
|
-
"type": "array",
|
|
24
|
-
"items": { "type": "string" }
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
"additionalProperties": true
|
|
28
|
-
},
|
|
29
|
-
"merged_findings": {
|
|
30
|
-
"type": "array",
|
|
31
|
-
"items": { "$ref": "finding.schema.json" }
|
|
32
|
-
},
|
|
33
|
-
"root_cause_clusters": {
|
|
34
|
-
"type": "array",
|
|
35
|
-
"items": {
|
|
36
|
-
"$ref": "#/$defs/cluster"
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
},
|
|
40
|
-
"$defs": {
|
|
41
|
-
"cluster": {
|
|
42
|
-
"type": "object",
|
|
43
|
-
"required": ["id", "title", "finding_ids"],
|
|
44
|
-
"properties": {
|
|
45
|
-
"id": { "type": "string" },
|
|
46
|
-
"title": { "type": "string" },
|
|
47
|
-
"summary": { "type": "string" },
|
|
48
|
-
"finding_ids": {
|
|
49
|
-
"type": "array",
|
|
50
|
-
"items": { "type": "string" }
|
|
51
|
-
},
|
|
52
|
-
"recommended_actions": {
|
|
53
|
-
"type": "array",
|
|
54
|
-
"items": { "type": "string" }
|
|
55
|
-
}
|
|
56
|
-
},
|
|
57
|
-
"additionalProperties": true
|
|
58
|
-
}
|
|
59
|
-
},
|
|
60
|
-
"additionalProperties": true
|
|
61
|
-
}
|