@quikit/quikpilot-runner 9.2.0-rc.6 → 9.2.0-rc.8

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
@@ -43,6 +43,32 @@ gains `targeting.loop_start`, `targeting.loop_turn`, `targeting.loop_refused`, `
43
43
  and counts only, never content). Without the variable nothing changes. The workflow file is unchanged; the `env:` line
44
44
  is the only edit, and it is optional.
45
45
 
46
+ **9.2.0 (release candidates) — the code-writing loop tells the AI when a change breaks a JavaScript file (loop mode only).**
47
+ After every `edit_file` or `write_file` on a `.js`, `.mjs` or `.cjs` file, the runner parses the result in memory (no disk write, no test run,
48
+ a few milliseconds) and adds a plain warning to that tool result when the change introduced one of: a file that no longer parses (a name
49
+ declared twice, an `import` that is not at the top of the file, an unterminated string or a stray brace), a name that is not defined or
50
+ imported, or a `const`, `let` or class used higher up in the same function than the line that declares it. The change still applies, so the
51
+ AI can read the file at the reported line and fix it; the warning is a closed phrase and a line number, never file text. If the AI still
52
+ ends with such a file, the loop is thrown away and the files are written one at a time, as for any other ordinary failure (`syntax_error`
53
+ in the run record). Only what a change *introduces* is reported: a file that already had the problem, or that did not parse before (JSX,
54
+ Flow or decorators in a `.js` file), and TypeScript, JSX and every other language, are left alone; a new file is judged only once the
55
+ project's own files are known to parse, and a name the project's other files already use without defining (a global the build supplies) is
56
+ not reported. It does not find a wrong value, a wrong import path or any wrong behaviour; tests do. The log gains `syntaxWarnings` in the
57
+ loop record and a `codegen.loop_refused` line with `reason: "syntax_error"`. The parser and the scope analysis are bundled into the one file,
58
+ so the package still installs nothing. Off unless `QUIKPILOT_CODEGEN_MODE: loop` is set.
59
+
60
+ **9.2.0 (release candidates) — repository commands no longer see the runner's credentials (always on).** Your setup,
61
+ lint, format and test commands, and the baseline checks, run code nobody has reviewed yet (new tests, a dependency's install
62
+ script). They used to inherit the runner's whole environment, which includes the variables GitHub gives a job that has
63
+ `id-token: write` and the addresses the runner reports to. They now run with an allow-listed environment: the search path,
64
+ home and locale, proxy and certificate settings, the toolchain locations the `setup-*` actions export (`JAVA_HOME`, `GOROOT`,
65
+ `CARGO_HOME`, `pythonLocation`, `PNPM_HOME`, ...), and the non-secret `GITHUB_*` and `RUNNER_*` context such as
66
+ `GITHUB_WORKSPACE`. Withheld: `ACTIONS_*`, `GITHUB_TOKEN`, the files that steer later steps of the job (`GITHUB_ENV`,
67
+ `GITHUB_PATH`, `GITHUB_OUTPUT`, `GITHUB_STATE`, `GITHUB_STEP_SUMMARY`), anything whose name reads like a credential, and the
68
+ runner's own inputs (`TOKEN_URL`, `RUN_ID`, ...). The job log says once, by name only, how many variables were withheld. A
69
+ command that needs a variable outside the list will no longer find it. The workflow file is unchanged. This is the second layer
70
+ of QUIKTR-1502; the first is that QuikTrack accepts one token exchange per start of a run.
71
+
46
72
  **9.2.0 (release candidates) — the AI can look at the code and edit as it writes it (off by default).** Set
47
73
  `QUIKPILOT_CODEGEN_MODE: loop` in the runner step's `env:` and the code-writing step stops making one blind call per file:
48
74
  over several short turns the AI may use five tools, the three read-only ones above plus `edit_file` (replace one piece of