@sreetej510/pi-shipd-checks 0.4.6 → 0.5.1

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 CHANGED
@@ -25,20 +25,23 @@ For `/checks`:
25
25
  The agent-callable `analyze_task_tests` tool provides the separate test-analysis workflow:
26
26
 
27
27
  - `mode: "gaps"` (default) finds and validates sentence-by-sentence behavioral coverage gaps.
28
- - `mode: "audit"` runs an auditor followed by an independent validator over implemented tests,
29
- filtering unfair assertions, prompt ambiguity, weak assertions, and broken fixtures.
28
+ - `mode: "test-audit"` runs an Auditor followed by an independent validator over implemented tests,
29
+ filtering unfair assertions, prompt ambiguity, and broken fixtures. Auditors receive the in-memory
30
+ HEAD diff for changed code files so they can distinguish old and new behavior.
31
+ - `mode: "solution-audit"` runs the same Auditor/validator workflow over the implementation,
32
+ using the `# Solution implementation` rules from `rules.md` and the same in-memory changed-code diff.
30
33
 
31
- Both modes are read-only. Invoke the tool only when the user asks, never in parallel, and run
34
+ All modes are read-only. Invoke the tool only when the user asks, never in parallel, and run
32
35
  repeated requests sequentially after applying each result.
33
36
 
34
37
  ## Commands
35
38
 
36
- `--config` must be used alone; solver-gap-finder is the only `/checks` run mode.
39
+ `--config` must be used alone; solver-gap-finder is the only `/checks` run mode. Test and solution audits run through `analyze_task_tests`.
37
40
 
38
41
  | Command | Effect |
39
42
  |---|---|
40
43
  | `/checks` | Open a menu with config and solver-gap-finder options |
41
- | `/checks --config` | Configure reviewer, solver, gap-finder, and test-audit models |
44
+ | `/checks --config` | Configure reviewer, solver, gap-analysis, and Auditor models |
42
45
  | `/checks --solver-gap-finder` | Run several solver agents TDD-style against `agent_prompt.md` + `test.patch`, then compare their solutions to the real solution to find gaps |
43
46
  | `/analyze:on` | Enable the agent-callable test-analysis tool for the current project |
44
47
  | `/analyze:off` | Disable the agent-callable test-analysis tool for the current project |
@@ -52,9 +55,10 @@ repeated requests sequentially after applying each result.
52
55
  - **Solver**: reviewer model and thinking level for the final solver-result reviewer, plus the
53
56
  solver model, thinking level, timeout, parallel solver count, and artifact-saving setting.
54
57
  - **Analyze Tool**: timeout plus separate models + thinking levels for the agent-callable gap-analysis
55
- and Test Audit modes. The timeout applies to each read-only agent phase. The audit model defaults
56
- to the gap-analysis model until explicitly changed. These are stored under
57
- `analyzeGap.timeoutMinutes`, `analyzeGap.testAuditProvider`, `analyzeGap.testAuditModelId`, and
58
+ and Auditor modes. The Auditor settings apply to both test-audit and solution-audit. The timeout
59
+ applies to each read-only agent phase. The Auditor model defaults to the gap-analysis model until
60
+ explicitly changed. These are stored under `analyzeGap.timeoutMinutes`,
61
+ `analyzeGap.testAuditProvider`, `analyzeGap.testAuditModelId`, and
58
62
  `analyzeGap.testAuditThinkingLevel`. Fargate resources are selected automatically and are not
59
63
  configured in this menu.
60
64
 
@@ -138,9 +142,10 @@ On-Demand fallback. Spot interruptions are retried according to `fargate.maxRetr
138
142
  Use `/analyze:on` and `/analyze:off` to control the tool per project, like HPC. The enabled project
139
143
  list is stored alongside the other settings in `~/.pi/agent/checks-config.json`.
140
144
 
141
- The agent-callable tool accepts `mode: "gaps"` (default) or `mode: "audit"`. Invoke it only when the
142
- user asks, never in parallel, and run repeated requests sequentially after applying each result.
143
- The audit is read-only and returns repair recommendations; the caller changes the tests or prompt.
145
+ The agent-callable tool accepts `mode: "gaps"` (default), `mode: "test-audit"`, or
146
+ `mode: "solution-audit"`. Invoke it only when the user asks, never in parallel, and run repeated
147
+ requests sequentially after applying each result. Audits are read-only and return repair
148
+ recommendations; the caller changes the tests, prompt, or solution.
144
149
 
145
150
 
146
151
  ```json