@quikit/quikpilot-runner 9.3.0-rc.27 → 9.3.0-rc.28
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 +2 -0
- package/dist/index.js +10532 -10390
- package/dist/index.js.map +4 -4
- package/package.json +29 -29
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.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
|
+
|
|
153
155
|
**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.
|
|
154
156
|
|
|
155
157
|
**9.3.0-rc.26 — no pull request from tests that prove nothing, and no import of a name that does not exist (QUIKTR-1608, live runs QUIKSPL-220 and QUIKSPL-226).** On rc.24 and rc.25 two pull requests (#118, #123) went out with every test green and the bug not fixed: none of the AI's tests had failed on the code before the change, so they tested nothing. #123 also imported `scaleShares` from `./splits.js`, which does not export it: plain Node cannot load that module, but vitest gives the name as `undefined`. (1) In phase `tests`, when none of the tests for the cases held to the red check has been seen failing on the code before any change, the one send-back says so ("None of your tests fails on the code before any change ... At least one case describes the bug"), and if the next DONE is the same the attempt fails `no_test_shows_bug` (log `codegen.red_check` `no_test_shows_bug`); the second attempt writes the tests again, and if it ends the same way no pull request is opened. A phase 1 whose tests were never run on the change as it stands ends the same way. (2) At DONE outside phase `tests` (the code phase, a fix, the review fix), the runner parses each changed JavaScript file (`importCheck.ts`) and names any name imported, or re-exported, from a module of the repository that the module does not export. The first time the DONE is sent back naming the file and the name (log `codegen.import_check`); after that the attempt ends `syntax_error`. ES modules only, relative imports only, and nothing is reported when it cannot be told for sure (`export *` from elsewhere, a destructured export, CommonJS, a module that cannot be found). Phase `tests` is not checked: a test may import what phase 2 is to write. Runner only.
|