@quikit/quikpilot-runner 9.3.0-rc.86 → 9.3.0-rc.87
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 +632 -606
- package/dist/index.js.map +3 -3
- package/package.json +30 -30
package/README.md
CHANGED
|
@@ -194,6 +194,8 @@ 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.87 - no repository git hook ever runs, and git never gets the runner's whole environment (QUIKTR-2704, RN-01).** Git runs a repository's own hooks (pre-commit, commit-msg, pre-push, post-checkout, reference-transaction ...) and hands each its whole environment; on push that environment held the token that can write to the customer's repository, and a hook is just a file in the repository (`npm install` installs husky's, and the AI could edit one). (1) Every git command the runner starts carries `-c core.hooksPath=<a folder that is never created>`, so git finds no hook: not on commit, push, checkout, nor on the ref update of a test-change proposal (`gitSafety.ts`). (2) Git gets `commandEnv`'s allow-list plus its own `GIT_*` settings, and the push alone adds its token header; the OIDC request token, the ambient job token and the runner's own addresses stay out. (3) `.husky/**`, `.githooks/**` and `lefthook*.yml` join the files the AI never sees, edits or commits (`genericDenies.ts` `HOOK_FILES`). A repository whose hooks format or lint on commit no longer runs them through QuikPilot; the runner runs the project's own format and lint commands itself. New tests in `gitHooksOff.test.ts` (real git: before the change all seven hooks ran, now none) and `gitSafety.test.ts`; 7 of 7 mutations turn tests red.
|
|
198
|
+
|
|
197
199
|
**9.3.0-rc.86 - the AI service's privacy filter never reaches a file, and `internal_error` names its cause (QUIKTR-2644).** In QTGO-28 (12 Nov 2026) the AI Runtime's answer filter turned the test value `0.04978706837` in a code answer into `0.[ACCOUNT_REDACTED]`, the runner wrote it into an approved test change, and the run failed although the AI was right; the code attempt after it ended `internal_error` and the log said nothing more. The AI Runtime now leaves the code steps' answers alone (its own half of the ticket); the runner adds its own net. (1) A placeholder of the filter (`[ACCOUNT_REDACTED]`, `[AADHAAR_REDACTED]`, `[CARD_REDACTED]`, `[PAN_REDACTED]`, `[PHONE_REDACTED]`) that the AI's text ADDS is never written: `edit_file` (`replace` against `find`) and `write_file` (against the AI's own earlier write of that new file) answer `refused` with reason `redacted_text` and one fixed sentence; `report_test_conflict` is rejected with the new closed word `redacted_text` (`replace` against `find`, `caseValueTo` against `caseValueFrom`); the single-file path refuses it like a truncated rewrite. A placeholder already in a file is kept and the file can still be edited. (2) When a loop ends `internal_error`, `codegen.phase_end`, `codegen.attempt_end`, `investigate.loop_failed`, `targeting.loop_fallback` and `targeting.map_failed` carry `cause` (the error's class name, shape-checked, else `other`; `none` when nothing was thrown) and, for a Node system error, `causeCode` (`ENOENT`); never the message. What QuikProjects records is unchanged. New tests in `redactionGuard2644.test.ts`; switching the guards and the cause off turns 5 of 12 red.
|
|
198
200
|
|
|
199
201
|
**9.3.0-rc.85 - the person's own request reaches targeting and the code loop (QUIKTR-2509).** A coding agent's ticket names files, routes and tests; capture, questions, spec and design read it, targeting and the code loop never did (F7: the ticket ruled out a route and targeting chose it). QuikProjects can now send two optional packet keys (its switch `QUIKPILOT_TICKET_HINTS`, off by default). `ticketHints`: the paths, server addresses, code names and test names the request names, pulled out with no AI. The runner keeps a path only if its checkout lists it and it is not protected, maps each address to the route files of the checkout that answer it (at most 3), passes names and test names with their caps, and sends `ticketHints` last of every targeting request (single call, loop and map mode) only when something is left; log `targeting.ticket_hints` with counts only. `criteriaWording`: the approved criteria with the person's own quote, last of the task on every code-loop request. An AI Runtime that does not know a key refuses it; the runner asks once more without it (targeting keeps the early look's findings; the code loop keeps its version) and says so in the run's notes. Without the keys every request is today's byte for byte. New tests in `ticketHints.test.ts` and `codegenStepConflicts.more.test.ts`.
|