@mjasnikovs/pi-task 0.17.16 → 0.17.17
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/dist/task/verify-work.js +13 -0
- package/package.json +1 -1
package/dist/task/verify-work.js
CHANGED
|
@@ -188,6 +188,19 @@ export function buildVerifyPrompt(spec, probeFindings) {
|
|
|
188
188
|
' shipped artifact directly (the real app / module / entry point). If the real artifact',
|
|
189
189
|
' fails where the tests pass, report FAIL and name the bypass.',
|
|
190
190
|
'',
|
|
191
|
+
'3c. TEST-AUTHORED REPAIR: rule 2 applies INSIDE the shipped test suite too. Before',
|
|
192
|
+
' trusting a green suite, READ its setup/bootstrap (beforeAll / fixtures / helpers /',
|
|
193
|
+
' conftest). Seeding ordinary test DATA is fine — but if the setup changes the',
|
|
194
|
+
" product's STRUCTURE or wiring to make the code runnable (ALTER TABLE / adding",
|
|
195
|
+
" columns, tables, or config that the project's own migrations and setup files never",
|
|
196
|
+
' create; monkey-patching or stubbing shipped code), the suite is repairing the',
|
|
197
|
+
' product in order to pass: its green result proves the repaired copy, NOT the',
|
|
198
|
+
" shipped artifact. Cross-check against the project's own provisioning: apply ONLY",
|
|
199
|
+
" the project's own setup commands (its migrations / seed scripts) to a scratch",
|
|
200
|
+
' database and check whether the tested behaviors are possible on what THEY produce.',
|
|
201
|
+
' If the tests patched a gap, report FAIL and name the missing production-side',
|
|
202
|
+
' change (e.g. the column no migration creates).',
|
|
203
|
+
'',
|
|
191
204
|
'4. Treat the ACCEPTANCE criteria as the bar. If a command fails, or its real output',
|
|
192
205
|
' contradicts an ACCEPTANCE criterion, the work has NOT verified.',
|
|
193
206
|
'',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mjasnikovs/pi-task",
|
|
3
|
-
"version": "0.17.
|
|
3
|
+
"version": "0.17.17",
|
|
4
4
|
"description": "Deterministic spec-orchestration for local models, with a bundled real-time remote web view and web/docs/fetch/worker subagent tools.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|