@quikit/quikpilot-runner 9.3.0-rc.69 → 9.3.0-rc.70

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
@@ -172,6 +172,8 @@ wrong (a field that arrives from a database row or a request), so it only warns
172
172
 
173
173
  **9.3.0-rc.62 - an approved test that is reported again is refused with what to do (QUIKTR-1951).** When a person has approved a change to an existing test and the AI reports that test again before the final test run (a second row of a table test that still expects the old behaviour), the answer was only `already_decided`: "Do not report it again". It now also says what the AI can do: finish the code first, and if rows of that test still fail in the final test run, the fix step that follows may report the test once more (QUIKTR-1844). Nothing about WHEN a test can be reported changes, so a person is still asked only when there is evidence; a test a person judged right, or reported in another file, keeps the bare refusal exactly. A new log event `codegen.conflict_refused_approved` (phase only) counts how often it happens. No change to the contract with the AI service. The AI Runtime's QUIKTR-1952 (a hung OpenRouter call is cut at 150 s for QuikPilot calls, so the backup model answers inside the runner's turn limit) ships with this version and needs no runner setting.
174
174
 
175
+ **9.3.0-rc.70 - the scope check no longer fails a run for a route the design did declare when a comment puts a colon straight after the route (QUIKTR-2077).** Run QUIKSPL-354 (6 Nov 2026, a Task on the QuikSplit pilot repo) failed at the scope check with "adds POST /api/groups/:id/expenses/:expenseId/restore:, not declared in the design's API changes", although the design listed exactly that route. The route pattern lets `:` into every segment so that `:id` parameters match, and that also let a colon that only ended the route in a comment join the path, so `.../restore:` did not match the declared `.../restore`. Now a route read from the added code has trailing colons removed before it is compared (and before it is shown in the failure message). Nothing else changes: an undeclared route still fails, with or without a colon after it; comment lines are still read (the original QUIKTR-1081 incident was a documenting comment); parameter routes ending in `:name` are untouched. Four new tests in `scopeCheck.test.ts`; three mutations (no strip, strip a trailing `:name` too, skip comment lines) all turn tests red.
176
+
175
177
  **9.3.0-rc.69 - a GitHub server error on push is tried again, and a commit that could not be pushed is kept beside the files (QUIKTR-1963 follow-up, QTRIA-39).** Run QTRIA-39 (4 Nov 2026) wrote and checked its change, then lost it: `git push` got "remote: Internal Server Error" from GitHub during a GitHub incident, the run failed, and there was no branch and no pull request. Now a push answered with a server error (500, Bad Gateway, Service Unavailable, Gateway Timeout) is tried again after 5, 15, 30 and 60 seconds; before, only "Repository not found" was retried, and that retry is unchanged. A failed run's folder (`quikpilot-failure/`, uploaded as the `quikpilot-failed-run` artifact) also holds `quikpilot-change.bundle`: the run's last commit as a git bundle, and the manifest's `bundle` entry says how to restore it (`git fetch quikpilot-change.bundle HEAD:refs/heads/<branch>`). The bundle is written only when the run's branch is checked out and its commit changes a file. With a push that works, the run is the same as in rc.68.
176
178
 
177
179
  **9.3.0-rc.68 - the switch `QUIKPILOT_KEEP_WORKING_FILES=on` no longer gets a request refused, and a refusal says why in the log (QUIKTR-1963).** The first live run with the switch on (QuikIT bug 4, run QTRIA-37, 4 Nov 2026) was refused by the AI Runtime four times (`CONTRACT_REJECTED`), each time costing the run a contract version (`codegen.version_fallback`) and a restart of the phase. Cause, reproduced by reading requests this runner built with the AI Runtime's own shape check: under the switch a repeat's copy of an earlier answer (status `duplicate`, carrying the earlier text) was shrunk to the stub `{dropped: true, note}` by the three-turn rule and by the make-room drop, and the AI Runtime takes that stub only on an `ok` look result (`check_look_output_3`). Now a repeat's copy is shrunk by leaving its text out (a `duplicate` with no `output` is a shape the AI Runtime already takes), and its message says it was shrunk and to read it again if needed; every other answer is shrunk as before. The re-read report (`codegen.reread`) reads such a copy as `stubbed`. New log line `codegen.contract_rejected` `{turn, version, reason}` on any refused code-writing request, whatever the switch: `reason` is the AI Runtime's one fixed sentence (the job's secrets taken out, one line, at most 300 characters). With the switch off nothing the AI Runtime receives changes. Also in rc.68: everything in rc.67.
package/dist/index.js CHANGED
@@ -50146,7 +50146,7 @@ function detectMentions(text3) {
50146
50146
  const methodMatch = ROUTE_METHOD_RE.exec(line);
50147
50147
  const pathMatch = ROUTE_PATH_RE.exec(line);
50148
50148
  if (methodMatch && pathMatch) {
50149
- found.push({ method: methodMatch[1].toUpperCase(), path: pathMatch[0] });
50149
+ found.push({ method: methodMatch[1].toUpperCase(), path: pathMatch[0].replace(/:+$/, "") });
50150
50150
  }
50151
50151
  const exportMatch = ROUTE_EXPORT_RE.exec(line);
50152
50152
  if (exportMatch) {
@@ -51768,7 +51768,7 @@ var FAILURE_ARTIFACT_DIR = "quikpilot-failure";
51768
51768
  var REPORT_COPY = "final-test-report.xml";
51769
51769
  var MAX_REPORT_BYTES = 5 * 1024 * 1024;
51770
51770
  var MAX_FILES = 200;
51771
- var RUNNER_VERSION = true ? "9.3.0-rc.69" : "dev";
51771
+ var RUNNER_VERSION = true ? "9.3.0-rc.70" : "dev";
51772
51772
  function safeDestination(base, repoPath) {
51773
51773
  if (!repoPath || (0, import_node_path26.isAbsolute)(repoPath)) return null;
51774
51774
  const destination = (0, import_node_path26.resolve)(base, repoPath);