@quikit/quikpilot-runner 9.3.0-rc.82 → 9.3.0-rc.84

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
@@ -194,6 +194,10 @@ wrong (a field that arrives from a database row or a request), so it only warns
194
194
 
195
195
  **9.3.0-rc.81 (also) - pytest and go test reports place their tests on files (QUIKTR-2465 item 3).** The Python and Go trial repositories' reports placed no test on a file, so the test-file list was empty and the AI Runtime's early check was off. pytest tests are placed by the longest dotted prefix that is a `.py` file of the listing; Go tests by go.mod's module and the one `_test.go` file of the package's folder that declares the function. Real reports: sqlparse 454 tests on 9 files, decimal 145 tests on 3 files, 0 unmapped each. A report that places none of its tests says so in the run's notes. JavaScript reports are unchanged.
196
196
 
197
+ **9.3.0-rc.84 - targeting is told where a screen's data is loaded from (QUIKTR-2508).** In F7 (QTRIA-61, 10 Nov 2026) targeting never opened `board-column.tsx`, the file the board's cards are loaded from, and planned the data in a route only another screen uses; rc.80 catches that after the code is written, this tells targeting while it looks. Two additions, both off or silent by default. (1) Log only: after targeting answers, in a feature run with design parts, the data-path check of rc.80 is asked of the planned files and one line is logged, `targeting.data_path` with `outcome` `gap`, `ok` or `silent` and the counts `files`, `calls`, `ms`. Nothing uses it. (2) With `QUIKPILOT_SCREEN_TRACE=on`, and only where the loop already has the version-2 look tools (a large repository or map mode), the first `read_file` of a screen file (tsx, jsx, vue, svelte or html; never a test or a denied file) carries one extra key, `shownBy`: the files that show it (two hops, found as the data-path check does) and the server routes they call, for example `[{file: board-column.tsx, loads: [{call: /api/issues, route: app/api/issues/route.ts}]}]`. File names and addresses only, at most 4 files, 2 routes each and 600 characters; the route file is one the AI can list; a file that calls nothing is left out; no result means no key. It costs no tool call and needs no AI Runtime change (the runtime checks that a look answer is an object under its size cap). The scan gives up after 3 seconds. The log line `targeting.screen_trace` carries the outcome, the number of entries and `ms`. Switch off or no version-2 tools: every answer, request and log line is what it was. Not built, on purpose: tags in the file listing (the listing is compared letter for letter by the runner and the AI Runtime) and a new lookup tool (a new contract version with the AI Runtime). New tests in `screenTrace.test.ts`, `screenTrace.loop.test.ts` and `dataPathTargeting.test.ts`, written first; four mutations turn tests red (skip the render-site step, return the wrong route, count test files, drop the size cap).
198
+
199
+ **9.3.0-rc.83 - a `find` that matches nowhere in a test-conflict report says which line differs and how (QUIKTR-2630, second part).** The two G4 runs on rc.82 (11 Nov 2026, QTGO-23 and QTGO-24) followed the new rc.82 advice for an ambiguous `find` and added the following lines, but the retry was rejected `no_match` and the second contradicting test row stayed unreported. A replay on the real test file shows the rows the advice points to match when copied with their tabs, and fail with spaces or a different number of tabs. The reply to `no_match` now finds the place in the file where the most lines of `find` agree once spaces and tabs at the start and end of each line are ignored (of equal places, the one inside the named test) and says: when only whitespace differs, the lines it matches and the first line that differs, with how its start differs (for example `Line 1 of find starts with 8 space(s); line 3597 of the file starts with 2 tab(s)`), or that it differs only after the indent (spaces at the end, line endings); when a line differs for real, the first line of `find` that does not agree and the file line it was compared with; when no line equals the first line, that. Only line numbers, counts and kinds of whitespace are in the reply, never the file's text or the AI's own. A `find` that matches, the `ambiguous` reply of rc.82 and every other rejection word are unchanged; a test helper file (feature mode) keeps the plain sentence. New tests in `testConflict.nomatch.test.ts`, written first (five of seven were red): spaces for tabs, one tab too few, trailing space, a line that really differs, no first line, no echo of text, an exact find still recorded, and the copy inside the named test preferred.
200
+
197
201
  **9.3.0-rc.82 - an ambiguous `find` in a test-conflict report says where the copies are and how to make it unique (QUIKTR-2630).** The bench bug G4 (decimal, `ExpHullAbrham`) failed every time, in the rc.79 round and in both rc.81 runs, for one reason: the AI fixed the code, but could not report the second existing test row that asserts the bug (`{"-26.1", 2, "0"}`). That row stands in two tests (`TestDecimal_ExpHullAbrham` and `TestDecimal_ExpTaylor`) with the same rows around it, `find` must match once in the whole file, and the reply to "ambiguous" only said to make it longer. The AI tried one-row spans, then guessed, got `no_match`, and ran out of attempts; the frozen row then blocked the change. Now the reply to an ambiguous `report_test_conflict` lists the lines of every copy, names the copy that is in the named test, and says how many of the next lines (or, when those do not tell the copies apart, the lines before it) of that test make the text unique, for example: copies at lines 3597 and 3664, add the next 2 lines after it (up to line 3599). On the real G4 test file this is exactly the span that matches once. Only line numbers and counts are in the reply, never the file's text or the AI's own. A `find` that matches once, or nowhere, and every other rejection word, are unchanged; a test helper file (feature mode) keeps the plain sentence. Not built: an optional line argument to pick a copy by line (the argument list is the AI Runtime's). New tests in `testConflict.ambiguous.test.ts`, written first (the F8-style duplicated rows in miniature: advice after, advice before, two copies inside one test, no echo of text, unchanged unique and not-found).
198
202
 
199
203
  **9.3.0-rc.80 - a feature's new data must reach the screen that shows it (QUIKTR-2458).** In the live F7 rerun of 10 Nov 2026 (QTRIA-61, "Show the number of comments on each task card on the board", rc.79) the card was changed and the count was added to `GET /api/projects/[id]/grouped-board`, a route only the grouped-kanban screen loads. The board's cards come from `GET /api/issues` (`board-column.tsx`), so on the main board the count never showed, while the parts check said all three parts were built (since rc.73 a part is built when any file planned for it changed, and it cannot tell a right file from a plausible wrong one). New `dataPathCheck.ts`, run only where the parts check already runs (a feature with a design that lists parts, `QUIKPILOT_PARTS_CHECK=on`): it takes the screen files the change touched (a `screen` part's planned files, tsx, jsx, vue, svelte or html), the files that import them (found with `git grep` for a line that imports the module, confirmed by the file's import specifiers; a module named `index`, `page`, `layout`, `route` and the like is not searched for), the files that import those, and what all of these import (up to 60 files, never a test file, a denied path or a file outside the read listing), reads the server addresses they call (the first string address on or just after a client-call line, and any `/api/...` string), and takes the server routes the change touched for the `data` part, by the address their file layout gives (Next.js app and pages routes). If the screen's loading calls go to addresses none of those routes answers (segment by segment, `*` for one segment, `**` for anything below, a call written relative to a base path counts), that is a gap. At a code-phase finish the AI is sent back once (its own counter, `done_rule`, one sentence naming the screen, the file that loads its data and the address it calls, and the route that was changed instead; log `codegen.data_path` `sent`, then `kept`); at the last gate before the commit a gap that is still there adds one run note through the existing `warnings` (log `parts_check.data_path` `warned`) and never stops the run: the check reads the layout and the calls, it cannot be certain. The log lines carry the numbers of the scan (`files`, `calls`, `ms`), never text. The scan gives up after 8 seconds and works with what it has. Checked on the real F7 pull request (quikit1926 `QTRIA-61`): flagged in about one second, naming `board-column.tsx` and `/api/issues` against the grouped-board route; silent when `GET /api/issues` is the route that was changed, and silent when both were. Silent when it cannot tell: no calls found, no changed data route with a known address, a language other than JavaScript or TypeScript, a screen shown only by a server component, git not running. Switched off, a bug run, a design with no parts and one-phase paths: every request, log line and callback is what it was. No site, AI Runtime or callback change. New tests in `dataPathCheck.test.ts` (the F7 repository in miniature on a real git checkout), `codegenLoopDataPath.test.ts` and `run.parts.test.ts`; thirty mutations turn tests red (one more only changes how long the scan takes).