auditor-lambda 0.9.1 → 0.10.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 (43) hide show
  1. package/README.md +2 -9
  2. package/audit-code-wrapper-lib.mjs +19 -915
  3. package/dispatch/merge-results.mjs +1 -1
  4. package/dist/cli/auditStep.d.ts +1 -33
  5. package/dist/cli/dispatch.d.ts +47 -0
  6. package/dist/cli/dispatch.js +116 -1
  7. package/dist/cli/mergeAndIngestCommand.js +55 -8
  8. package/dist/cli/nextStepCommand.js +43 -15
  9. package/dist/cli/prompts.d.ts +2 -0
  10. package/dist/cli/prompts.js +9 -0
  11. package/dist/cli/reviewRun.js +1 -1
  12. package/dist/cli/runToCompletion.js +21 -8
  13. package/dist/cli/semanticReviewStep.js +12 -1
  14. package/dist/cli/steps.d.ts +15 -0
  15. package/dist/cli.js +1 -8
  16. package/dist/io/artifacts.d.ts +9 -1
  17. package/dist/io/artifacts.js +7 -0
  18. package/dist/io/runArtifacts.d.ts +14 -0
  19. package/dist/io/runArtifacts.js +23 -0
  20. package/dist/orchestrator/designReviewPrompt.d.ts +4 -1
  21. package/dist/orchestrator/designReviewPrompt.js +43 -2
  22. package/dist/orchestrator/executorResult.d.ts +25 -0
  23. package/dist/orchestrator/intakeExecutors.d.ts +19 -1
  24. package/dist/orchestrator/intakeExecutors.js +89 -3
  25. package/dist/orchestrator/nextStep.d.ts +1 -0
  26. package/dist/orchestrator/nextStep.js +1 -1
  27. package/dist/orchestrator/state.js +8 -1
  28. package/dist/providers/constants.d.ts +1 -1
  29. package/dist/providers/constants.js +1 -1
  30. package/dist/reporting/synthesis.d.ts +8 -0
  31. package/dist/reporting/synthesis.js +16 -1
  32. package/dist/supervisor/operatorHandoff.js +8 -1
  33. package/dist/types/auditScope.d.ts +16 -2
  34. package/dist/validation/sessionConfig.js +35 -0
  35. package/docs/contracts.md +0 -16
  36. package/docs/operator-guide.md +6 -8
  37. package/package.json +1 -1
  38. package/schemas/audit_findings.schema.json +1 -0
  39. package/scripts/postinstall.mjs +0 -174
  40. package/skills/audit-code/SKILL.md +17 -1
  41. package/skills/audit-code/audit-code.prompt.md +25 -0
  42. package/dist/mcp/server.d.ts +0 -72
  43. package/dist/mcp/server.js +0 -765
package/README.md CHANGED
@@ -55,7 +55,7 @@ That bootstraps repo-local supporting surfaces for the hosts we can automate tod
55
55
 
56
56
  - Codex `AGENTS.md` fallback guidance for the global skill surface
57
57
  - Claude Desktop local MCP bundle artifacts and project template guidance
58
- - OpenCode `opencode.json` with auditor MCP server and permission wiring; the `/audit-code` command stays in the global npm-installed OpenCode config
58
+ - OpenCode `opencode.json` with auditor agent and permission wiring; the `/audit-code` command stays in the global npm-installed OpenCode config
59
59
  - VS Code prompt, custom agent, Copilot instructions, and `.vscode/mcp.json`
60
60
  - Antigravity planning-mode guidance plus the shared repo-local MCP launcher
61
61
 
@@ -138,8 +138,7 @@ audit-code next-step
138
138
 
139
139
  This writes `.audit-artifacts/steps/current-step.json` and
140
140
  `.audit-artifacts/steps/current-prompt.md`; hosts should follow only the
141
- returned step prompt. MCP tools are compatibility adapters over this same
142
- `next-step` contract rather than a separate orchestration path.
141
+ returned step prompt.
143
142
 
144
143
  For an operator-side artifact consistency check:
145
144
 
@@ -173,12 +172,6 @@ audit-code cleanup --force # delete even if state is unknown
173
172
  Refuses to delete if the audit state is `active` or `blocked` (resumable).
174
173
  Pass `--force` when `audit_state.json` is missing (crashed run).
175
174
 
176
- For a local stdio MCP server entrypoint:
177
-
178
- ```bash
179
- audit-code mcp
180
- ```
181
-
182
175
  The backend wrapper response schema is `schemas/audit-code-v1alpha1.schema.json`.
183
176
 
184
177
  ## Backend Provider Modes