@quikit/quikpilot-runner 9.3.0-rc.28 → 9.3.0-rc.29

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,8 @@ 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.29 — what the AI sees, and how it finds the right files (QUIKTR-1577, S2b).** Runner only; nothing the AI is asked changes, and a project with no tsconfig, no test report and clean files behaves as before. (1) The path aliases a project declares in its own `tsconfig.json` / `jsconfig.json` (`paths`, with `extends` followed) are followed for the files a changed file imports, so `@/lib/x` now finds the file; an alias that leaves the workspace folder (`@quikit/ui`) is counted (`outsideImports`) and not read. (2) A file's existing tests are found by who imports it, wherever they sit (up to 3 per file, about 24 KB), after the beside-the-file pairs. (3) A file in a bare `test/` or `tests/` folder is a test only if the project's test report lists it or its name says so (`.test.`, `.spec.`, `test_*.py`, `_test.go`, `FooTest.java`); with no report the folder still decides. `__tests__/` folders and `.test.`/`.spec.` names never depend on it. The list of existing tests sent to the AI Runtime (still capped at 300) is ordered: tests already shown, test targets, the nearest tests, then the rest. (4) Lock files of other ecosystems (`uv.lock`, `Gemfile.lock`, `composer.lock`, ...) are never read or written; `.npmrc`, `*.pem`, `*.key`, `*.tfvars`, `*credentials*.json` and `docker-compose*` are never read, listed, searched or shown (the edit gates keep the project's own list); `edit_file` refuses a file whose first five lines say `@generated` or `DO NOT EDIT` (`generated_file`); a binary file is never shown as context. (5) A search no longer stops early in a large folder: media files are not opened and binary files no longer count against its 20 MB budget (`apps/quikprojects`: all 2,171 text files, 1.5 s). (6) Credentials are hidden from the AI on every phase, not only the early look: private keys, cloud keys, passwords in web addresses, the usual credential shapes and the run's own tokens, in every file, search excerpt, diff and test message it is shown. The rule that hides any quoted value under a name like `password` stays in the early look only, because in code it also hides ordinary test data. The AI's own writes and the files on disk are never changed. An `NAME=value` line is now also found behind the line number `read_file` prints.
154
+
153
155
  **9.3.0-rc.28 — safety for a big monorepo (QUIKTR-1577, S2a).** Runner only; nothing the AI is asked changes, and a project with no workspace folder set behaves exactly as before. (1) The folder QuikPilot may change is now enforced: `write_file`, `edit_file`, `revert_file`, `show_changes` and a kept change refuse a path outside the packet's `workspaceRoot` (`outside_workspace`), the finished result is checked again before anything is written, a planned target outside it is refused, and the commit stages only that folder, so a file a setup, format or lint command changed elsewhere is left out of the pull request and counted (`scope.left_out`). A `workspaceRoot` that cannot be understood (`..`, absolute, backslash, pattern characters) stops the run instead of being read as the whole repository. (2) The invented-import check judges only the imports a change adds, and a package another file under the folder already imports is accepted (proof it resolves here); an invented name is still blocked. (3) Where the project has no test command, or its test command writes no per-test report, tests-first is skipped with a note (`two_phase.off`) instead of failing the run. (4) The file list is read with `-z` and a 64 MiB buffer (accented names are exact; a 17,000-file repository no longer sits at 91% of the limit). (5) The whole-repository scan for unsupplied inputs is skipped when the change holds no plain JavaScript file it could judge. (6) `call_function` is not offered when the change targets TypeScript or another language it cannot load (`call_function.off`).
154
156
 
155
157
  **9.3.0-rc.27 — "no test shows the bug" asks every case (QUIKTR-1608, live runs QUIKSPL-241 and QUIKSPL-246).** rc.26's rule counted only the cases held to the red check (those not labelled Regression). On gemini-3.8-flash the spec labelled two bugs' cases so that the only case held was one that must keep working, while tests of other cases did fail on the old code; both runs failed twice for nothing. Whether any test shows the bug is now asked of every case of the run, whatever its label; the "None of your tests fails" send-back is used only when that is true too. Runner only.