@quikit/quikpilot-runner 9.3.0-rc.14 → 9.3.0-rc.16

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
@@ -150,6 +150,10 @@ it, the callback carries it as `unsuppliedInputs` (at most 10 functions, 5 names
150
150
  noticed" as a check. This is the shape of a change whose new tests pass only because they hand the function the field themselves. It can be
151
151
  wrong (a field that arrives from a database row or a request), so it only warns and never blocks. TypeScript is not covered (QUIKTR-1547).
152
152
 
153
+ **9.3.0-rc.16 — changes no test depends on are named (QUIKTR-1569).** A green test run only proves what the tests check (QUIKSPL-138: the pagination fix also rewrote the neighbouring `hasMore` line, wrongly, and all 75 tests stayed green). In `loop-tests` mode, after a change has passed every check, each changed block of an existing code file that is not a test is put back as it was, ON ITS OWN, and the project's tests run once more (a block that looks unneeded is run a second time before it is flagged). A block with every test still passing is reported under "What QuikPilot noticed" as a file and line numbers only, never the code: it is a statement about the tests, not about the code, since a block can be right and untested. It warns and never blocks. A run that times out, leaves no report or a stale one counts as unknown and is never flagged; a block put back that makes tests vanish counts as needed; at most 8 blocks are checked, for at most 6 minutes and never in the last 2 minutes before the job's stop; a suite too slow to run again, or a project with no readable baseline, is skipped. Files the run created, tests, documents and configuration are not looked at. The checkout and the final test report are put back after every run; a checkout that does not come back ends the run, as for `run_tests`. Switch it off with `QUIKPILOT_HUNK_CHECK=off`. An older QuikProjects ignores the new field.
154
+
155
+ **9.3.0-rc.15 — QuikPilot fixes its own change when the project's final tests fail (QUIKTR-1527).** In `loop-tests` mode, when the final comparison of the project's tests finds tests that passed before and fail now (or new tests that fail), the run no longer ends Failed at once. It takes the checkout back, starts another attempt FROM the change it just wrote (kept in memory), tells the AI which tests failed (names, and for tests it wrote itself the first line of the error: exactly what `run_tests` shows it), and then runs EVERY check again from scratch (dependencies, scope, placement, format, lint, the project's tests, coverage). At most three attempts at writing the change per run in all (an ordinary retry counts as one); `maxHealIterations` (the project's "fix attempts" setting) can lower it, and 0 turns fixing off. A fix is made only for a failing test comparison (never for lint, scope, dependency, placement or coverage), never after the same tests fail the same way twice in a row, and only if the time left fits it (the job limit less seven minutes for pushing and reporting). Nothing is pushed unless the final code passes every check; an existing test is never edited to make code pass. A run that still fails ends Failed as before, with "; QuikPilot tried to fix it N times (stopped: …)" added to the reason, and the run's record gains the fix attempts and a stop word. Needs the AI service with contract 24.12d (otherwise the fix is refused and the run fails exactly as before). Other modes and a run whose tests pass are unchanged.
156
+
153
157
  **9.3.0-rc.14 — the early look's findings reach the targeting step (QUIKTR-1561).** When QuikProjects' work packet carries `findings` (only after a look COMPLETED), the runner filters them to this checkout (entries whose path is not in the listing or matches the protected list are dropped, and the look's free-text questions are never sent) and adds them as the last key of the targeting request, on every turn of the loop and on the single call. If the AI service does not know the key and refuses it (`CONTRACT_REJECTED`), the request is asked ONCE more without it and a warning says so; any other failure, a second refusal, and a refusal of a request that carried no findings fail exactly as before. A run without a completed look sends exactly the request it always did. Deploy the AI service and QuikProjects first.
154
158
 
155
159
  **9.3.0-rc.13 — a run that finds no file to change now fails (QUIKTR-1557).** When targeting answers "no file" for a run that has an approved