auditor-lambda 0.2.6 → 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.
Files changed (58) hide show
  1. package/README.md +23 -7
  2. package/audit-code-wrapper-lib.mjs +1605 -330
  3. package/dist/cli.js +78 -16
  4. package/dist/coverage.d.ts +2 -2
  5. package/dist/coverage.js +5 -5
  6. package/dist/extractors/disposition.js +10 -1
  7. package/dist/extractors/flows.js +7 -1
  8. package/dist/extractors/pathPatterns.d.ts +3 -0
  9. package/dist/extractors/pathPatterns.js +15 -0
  10. package/dist/extractors/risk.js +7 -1
  11. package/dist/io/artifacts.d.ts +6 -6
  12. package/dist/io/artifacts.js +14 -17
  13. package/dist/io/json.d.ts +2 -0
  14. package/dist/io/json.js +15 -0
  15. package/dist/io/runArtifacts.d.ts +1 -0
  16. package/dist/io/runArtifacts.js +18 -4
  17. package/dist/mcp/server.d.ts +1 -0
  18. package/dist/mcp/server.js +579 -0
  19. package/dist/orchestrator/advance.js +9 -2
  20. package/dist/orchestrator/dependencyMap.js +9 -13
  21. package/dist/orchestrator/executors.js +7 -2
  22. package/dist/orchestrator/flowRequeue.js +1 -1
  23. package/dist/orchestrator/internalExecutors.d.ts +2 -1
  24. package/dist/orchestrator/internalExecutors.js +120 -63
  25. package/dist/orchestrator/requeue.js +9 -4
  26. package/dist/orchestrator/resultIngestion.js +5 -6
  27. package/dist/orchestrator/runtimeValidation.d.ts +7 -2
  28. package/dist/orchestrator/runtimeValidation.js +61 -49
  29. package/dist/orchestrator/runtimeValidationUpdate.js +2 -4
  30. package/dist/orchestrator/state.js +18 -13
  31. package/dist/orchestrator/trivialAudit.js +8 -5
  32. package/dist/prompts/renderWorkerPrompt.js +3 -2
  33. package/dist/reporting/mergeFindings.js +0 -11
  34. package/dist/reporting/synthesis.d.ts +25 -22
  35. package/dist/reporting/synthesis.js +92 -59
  36. package/dist/reporting/workBlocks.d.ts +12 -3
  37. package/dist/reporting/workBlocks.js +124 -70
  38. package/dist/types/flows.d.ts +2 -0
  39. package/dist/types/runtimeValidation.d.ts +2 -1
  40. package/dist/types.d.ts +4 -7
  41. package/dist/validation/auditResults.js +64 -99
  42. package/docs/agent-integrations.md +38 -29
  43. package/docs/artifacts.md +16 -56
  44. package/docs/bootstrap-install.md +60 -30
  45. package/docs/contract.md +22 -205
  46. package/docs/next-steps.md +59 -44
  47. package/docs/packaging.md +13 -3
  48. package/docs/production-launch-bar.md +2 -2
  49. package/docs/production-readiness.md +9 -5
  50. package/docs/releasing.md +81 -0
  51. package/package.json +4 -1
  52. package/schemas/audit_result.schema.json +4 -6
  53. package/schemas/runtime_validation_report.schema.json +1 -1
  54. package/skills/audit-code/SKILL.md +11 -2
  55. package/skills/audit-code/audit-code.prompt.md +5 -8
  56. package/schemas/merged_findings.schema.json +0 -19
  57. package/schemas/root_cause_clusters.schema.json +0 -28
  58. package/schemas/synthesis_report.schema.json +0 -61
package/README.md CHANGED
@@ -29,10 +29,17 @@ audit-code install
29
29
 
30
30
  That bootstraps repo-local `/audit-code` surfaces for the hosts we can automate today, including:
31
31
 
32
- - VS Code / GitHub Copilot prompt files
33
- - OpenCode custom commands
34
- - Claude Code custom slash commands
35
- - compatibility instruction files such as `AGENTS.md` and `CLAUDE.md`
32
+ - Codex skill bundle, `AGENTS.md` guidance, and MCP setup notes
33
+ - Claude Desktop local MCP bundle artifacts and project template guidance
34
+ - OpenCode command, skill, and `opencode.json` surfaces
35
+ - VS Code prompt, custom agent, Copilot instructions, and `.vscode/mcp.json`
36
+ - Antigravity planning-mode guidance plus the shared repo-local MCP launcher
37
+
38
+ After bootstrap, you can smoke-test the generated host assets and launcher from the repository root:
39
+
40
+ ```bash
41
+ audit-code verify-install
42
+ ```
36
43
 
37
44
  After that, open a supported conversation surface in the repository and invoke `/audit-code`.
38
45
 
@@ -42,7 +49,7 @@ If a host still needs manual prompt import after bootstrap, open:
42
49
  .audit-code/install/GETTING-STARTED.md
43
50
  ```
44
51
 
45
- That repo-local guide now includes dedicated quick-start sections for VS Code, OpenCode, Claude Code, Claude Desktop, and Antigravity, plus the installed canonical prompt asset path for manual-import hosts.
52
+ That repo-local guide now includes dedicated quick-start sections for Codex, Claude Desktop, OpenCode, VS Code, and Antigravity, plus the installed canonical prompt asset path for prompt-import fallback flows.
46
53
 
47
54
  For narrower compatibility, `audit-code install-host --host copilot` still exists.
48
55
 
@@ -114,6 +121,12 @@ For task-to-coverage inspection without reverse-engineering multiple artifacts:
114
121
  audit-code explain-task <task_id>
115
122
  ```
116
123
 
124
+ For a local stdio MCP server entrypoint:
125
+
126
+ ```bash
127
+ audit-code mcp
128
+ ```
129
+
117
130
  The backend wrapper response schema is `schemas/audit-code-v1alpha1.schema.json`.
118
131
 
119
132
  ## Backend Provider Modes
@@ -156,8 +169,8 @@ The next implementation work is tracked in:
156
169
 
157
170
  The short version is:
158
171
 
159
- - reduce prompt-import friction in the conversation setup flow
160
- - make the conversation route feel more native in the first target hosts
172
+ - prove the generated Codex, Claude Desktop, OpenCode, VS Code, and Antigravity guidance in real host flows
173
+ - tighten the repo-local MCP-first bootstrap where host smoke tests expose friction
161
174
  - polish provider-assisted continuation and failure guidance
162
175
  - finish publish and release hardening for packaged installs
163
176
 
@@ -168,9 +181,12 @@ npm install
168
181
  npm run verify:release
169
182
  ```
170
183
 
184
+ For GitHub Actions publication and npm Trusted Publishing setup, see `docs/releasing.md`.
185
+
171
186
  ## Key Docs
172
187
 
173
188
  - `docs/product-direction.md`
189
+ - `docs/releasing.md`
174
190
  - `docs/production-readiness.md`
175
191
  - `docs/production-launch-bar.md`
176
192
  - `docs/next-steps.md`