@sreetej510/pi-shipd-checks 0.4.5 → 0.5.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.
- package/README.md +16 -11
- package/dist/fargate-worker.mjs +212 -212
- package/dist/index.js +149 -48
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -25,20 +25,22 @@ 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
|
|
29
|
-
filtering unfair assertions, prompt ambiguity,
|
|
28
|
+
- `mode: "test-audit"` runs an Auditor followed by an independent validator over implemented tests,
|
|
29
|
+
filtering unfair assertions, prompt ambiguity, and broken fixtures.
|
|
30
|
+
- `mode: "solution-audit"` runs the same Auditor/validator workflow over the implementation,
|
|
31
|
+
using the `# Solution implementation` rules from `rules.md`.
|
|
30
32
|
|
|
31
|
-
|
|
33
|
+
All modes are read-only. Invoke the tool only when the user asks, never in parallel, and run
|
|
32
34
|
repeated requests sequentially after applying each result.
|
|
33
35
|
|
|
34
36
|
## Commands
|
|
35
37
|
|
|
36
|
-
`--config` must be used alone; solver-gap-finder is the only `/checks` run mode.
|
|
38
|
+
`--config` must be used alone; solver-gap-finder is the only `/checks` run mode. Test and solution audits run through `analyze_task_tests`.
|
|
37
39
|
|
|
38
40
|
| Command | Effect |
|
|
39
41
|
|---|---|
|
|
40
42
|
| `/checks` | Open a menu with config and solver-gap-finder options |
|
|
41
|
-
| `/checks --config` | Configure reviewer, solver, gap-
|
|
43
|
+
| `/checks --config` | Configure reviewer, solver, gap-analysis, and Auditor models |
|
|
42
44
|
| `/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
45
|
| `/analyze:on` | Enable the agent-callable test-analysis tool for the current project |
|
|
44
46
|
| `/analyze:off` | Disable the agent-callable test-analysis tool for the current project |
|
|
@@ -51,9 +53,11 @@ repeated requests sequentially after applying each result.
|
|
|
51
53
|
|
|
52
54
|
- **Solver**: reviewer model and thinking level for the final solver-result reviewer, plus the
|
|
53
55
|
solver model, thinking level, timeout, parallel solver count, and artifact-saving setting.
|
|
54
|
-
- **Analyze Tool**: separate models + thinking levels for the agent-callable gap-analysis
|
|
55
|
-
|
|
56
|
-
|
|
56
|
+
- **Analyze Tool**: timeout plus separate models + thinking levels for the agent-callable gap-analysis
|
|
57
|
+
and Auditor modes. The Auditor settings apply to both test-audit and solution-audit. The timeout
|
|
58
|
+
applies to each read-only agent phase. The Auditor model defaults to the gap-analysis model until
|
|
59
|
+
explicitly changed. These are stored under `analyzeGap.timeoutMinutes`,
|
|
60
|
+
`analyzeGap.testAuditProvider`, `analyzeGap.testAuditModelId`, and
|
|
57
61
|
`analyzeGap.testAuditThinkingLevel`. Fargate resources are selected automatically and are not
|
|
58
62
|
configured in this menu.
|
|
59
63
|
|
|
@@ -137,9 +141,10 @@ On-Demand fallback. Spot interruptions are retried according to `fargate.maxRetr
|
|
|
137
141
|
Use `/analyze:on` and `/analyze:off` to control the tool per project, like HPC. The enabled project
|
|
138
142
|
list is stored alongside the other settings in `~/.pi/agent/checks-config.json`.
|
|
139
143
|
|
|
140
|
-
The agent-callable tool accepts `mode: "gaps"` (default)
|
|
141
|
-
user asks, never in parallel, and run repeated
|
|
142
|
-
|
|
144
|
+
The agent-callable tool accepts `mode: "gaps"` (default), `mode: "test-audit"`, or
|
|
145
|
+
`mode: "solution-audit"`. Invoke it only when the user asks, never in parallel, and run repeated
|
|
146
|
+
requests sequentially after applying each result. Audits are read-only and return repair
|
|
147
|
+
recommendations; the caller changes the tests, prompt, or solution.
|
|
143
148
|
|
|
144
149
|
|
|
145
150
|
```json
|