loki-mode 11.154.0 → 11.155.0

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.
Files changed (68) hide show
  1. package/SKILL.md +2 -2
  2. package/VERSION +1 -1
  3. package/dashboard/__init__.py +1 -1
  4. package/docs/CLI-REFERENCE.md +1 -1
  5. package/docs/INSTALLATION.md +1 -1
  6. package/docs/dev/architecture-reference.md +1 -1
  7. package/loki-ts/dist/loki.js +1903 -1901
  8. package/mcp/__init__.py +1 -1
  9. package/package.json +2 -2
  10. package/packages/control-plane/dist/server.js +796 -343
  11. package/plugins/loki-mode/.claude-plugin/plugin.json +1 -1
  12. package/web-app/dist/assets/{AdminPage-DiYv9QX3.js → AdminPage-Boa67lzh.js} +1 -1
  13. package/web-app/dist/assets/{Avatar-D8xgDhXi.js → Avatar-C3DI3EEn.js} +1 -1
  14. package/web-app/dist/assets/{Badge-B9uBTN7K.js → Badge-BnGLw1fJ.js} +1 -1
  15. package/web-app/dist/assets/{Button-BJkNLiWh.js → Button-ZMnLNI7o.js} +1 -1
  16. package/web-app/dist/assets/{CockpitPage-DG23RV4T.js → CockpitPage-DIIqR58D.js} +1 -1
  17. package/web-app/dist/assets/{ComparePage-CY9mcXyY.js → ComparePage-CDsN66rY.js} +1 -1
  18. package/web-app/dist/assets/{ErrorBoundary-COHsdbJf.js → ErrorBoundary-DrZ3fY1U.js} +1 -1
  19. package/web-app/dist/assets/{EvidenceReceiptPanel-B4PseFey.js → EvidenceReceiptPanel-CZcqcDS3.js} +1 -1
  20. package/web-app/dist/assets/{GitHubIssuesPanel-D0KfNlW2.js → GitHubIssuesPanel-COUvczPk.js} +1 -1
  21. package/web-app/dist/assets/{GitHubPRsPanel-CDPAE9fn.js → GitHubPRsPanel-DbooMfZ0.js} +1 -1
  22. package/web-app/dist/assets/{HomePage-aKEHtjps.js → HomePage-DGuRFkHe.js} +2 -2
  23. package/web-app/dist/assets/{LoginPage-Dz3tkjNe.js → LoginPage--OEMrZWJ.js} +1 -1
  24. package/web-app/dist/assets/{MagicPage-CwX7Qveh.js → MagicPage-DcY1ZUQz.js} +1 -1
  25. package/web-app/dist/assets/{MetricsPage-BPn1kGrY.js → MetricsPage-Zck3H8PY.js} +1 -1
  26. package/web-app/dist/assets/{NotFoundPage-yN4E_E9L.js → NotFoundPage-q-O5Dgw8.js} +1 -1
  27. package/web-app/dist/assets/{ProjectPage-DGozzUjl.js → ProjectPage-DKEhIWSM.js} +3 -3
  28. package/web-app/dist/assets/{ProjectsPage-CKfZ9HqL.js → ProjectsPage-4qJqGKCc.js} +1 -1
  29. package/web-app/dist/assets/{SettingsPage-CZwkXq9s.js → SettingsPage-Dhwccm2t.js} +1 -1
  30. package/web-app/dist/assets/{ShowcasePage-DMT87b7c.js → ShowcasePage-r2OE0IpC.js} +1 -1
  31. package/web-app/dist/assets/{SystemSettingsPage-DXQECr0D.js → SystemSettingsPage-C6DmgimV.js} +1 -1
  32. package/web-app/dist/assets/{TeamsPage-BToX86gg.js → TeamsPage-Bs9BwK8e.js} +1 -1
  33. package/web-app/dist/assets/{TemplatesPage-BOsPainh.js → TemplatesPage-GmpwmgEh.js} +1 -1
  34. package/web-app/dist/assets/{TerminalOutput-BpUH2T2I.js → TerminalOutput-CaofkqFm.js} +1 -1
  35. package/web-app/dist/assets/{activity-3fblzNUj.js → activity-D-14EqSb.js} +1 -1
  36. package/web-app/dist/assets/{bell-mA0pgtzl.js → bell-C1c4rghW.js} +1 -1
  37. package/web-app/dist/assets/{bot-vQONIYoS.js → bot-BqSfqVvF.js} +1 -1
  38. package/web-app/dist/assets/{check-BrEJZqtS.js → check-CahavLb3.js} +1 -1
  39. package/web-app/dist/assets/{chevron-left-50IJvv4C.js → chevron-left-DUt0IVom.js} +1 -1
  40. package/web-app/dist/assets/{circle-alert-D9syjc3B.js → circle-alert-geBwxian.js} +1 -1
  41. package/web-app/dist/assets/{clock-BboMPS77.js → clock-BsJao1Wl.js} +1 -1
  42. package/web-app/dist/assets/{cloud-DDEp4yUM.js → cloud-PePBuFR2.js} +1 -1
  43. package/web-app/dist/assets/{code-xml-CAtMXik8.js → code-xml-B30O5Rvg.js} +1 -1
  44. package/web-app/dist/assets/{database-CAOqYM1E.js → database-BdxKkqEA.js} +1 -1
  45. package/web-app/dist/assets/{dollar-sign-DOdmdqOB.js → dollar-sign-Byx9c05P.js} +1 -1
  46. package/web-app/dist/assets/{file-code-corner-BPAksle-.js → file-code-corner-BxPRoPfK.js} +1 -1
  47. package/web-app/dist/assets/{file-plus-CBmhCe_9.js → file-plus-CK_Y36Mo.js} +1 -1
  48. package/web-app/dist/assets/{globe-ZsWZvCkr.js → globe-Bakqsa6G.js} +1 -1
  49. package/web-app/dist/assets/{hammer-SbKfTPb3.js → hammer-2bumN232.js} +1 -1
  50. package/web-app/dist/assets/{index-C74Su7jP.js → index-hm-yRBoI.js} +3 -3
  51. package/web-app/dist/assets/{layers-Cv_FErq-.js → layers-Ba8SyI41.js} +1 -1
  52. package/web-app/dist/assets/{loader-circle-dIPyEfsE.js → loader-circle-BB-t0hUZ.js} +1 -1
  53. package/web-app/dist/assets/{lock-CGAxTxO5.js → lock-geLwsvEJ.js} +1 -1
  54. package/web-app/dist/assets/{package-CgvIF1Ku.js → package-CilxqDqb.js} +1 -1
  55. package/web-app/dist/assets/{plus-_3FKv0NS.js → plus-eS9shrSX.js} +1 -1
  56. package/web-app/dist/assets/{refresh-cw-Bnb0_V6n.js → refresh-cw-sd9kWzxP.js} +1 -1
  57. package/web-app/dist/assets/{rotate-ccw-ZLvlePsk.js → rotate-ccw-fpPuQpml.js} +1 -1
  58. package/web-app/dist/assets/{scroll-text-BPFgZCbN.js → scroll-text-BwAKCqKY.js} +1 -1
  59. package/web-app/dist/assets/{server-H0O63Cgk.js → server-BD2uVpGr.js} +1 -1
  60. package/web-app/dist/assets/{shield-alert-DZ91-CiS.js → shield-alert-Dru2kiyn.js} +1 -1
  61. package/web-app/dist/assets/{thumbs-up-DPoDpxQt.js → thumbs-up-Bvz7N-Kv.js} +1 -1
  62. package/web-app/dist/assets/{trash-2-Da4bSFuC.js → trash-2-u0TXHYJE.js} +1 -1
  63. package/web-app/dist/assets/{trending-down-CcnmOjB2.js → trending-down-CnhmwKMr.js} +1 -1
  64. package/web-app/dist/assets/{trending-up-NzCUunlQ.js → trending-up-DyzE_6em.js} +1 -1
  65. package/web-app/dist/assets/{upload-Cy_koNIe.js → upload-CsyUlDw7.js} +1 -1
  66. package/web-app/dist/assets/{usePolling-CgA0f7-y.js → usePolling-2de8HDwC.js} +1 -1
  67. package/web-app/dist/assets/{user-DkwhGZ5j.js → user--P3saPpx.js} +1 -1
  68. package/web-app/dist/index.html +1 -1
package/SKILL.md CHANGED
@@ -3,7 +3,7 @@ name: loki-mode
3
3
  description: Runs an autonomous software factory that knows what it is supposed to deliver and proves it did, with a signed receipt. Use when the user says Loki Mode or asks to build, fix or verify software autonomously.
4
4
  ---
5
5
 
6
- # Loki Mode v11.154.0
6
+ # Loki Mode v11.155.0
7
7
 
8
8
  **Current entry points (Loki 10 engine):** `loki "<task>"`, `loki owner/repo#N` and `loki quick "<task>"` run the Loki 10 engine and end with a signed receipt (`loki verify`). `loki backlog owner/repo --all` runs many issues in parallel. Guide: `docs/v10/GUIDE.md`. The skill instructions below, and `loki start`, describe the previous bash loop. PRD-file starts (`loki start ./prd.md`) and the opencode provider still run on it until FC38-SWEEP ports them; the legacy-engine command and the LOKI_ENGINE switch remain removed. Prefer `loki owner/repo#N` for issues.
9
9
 
@@ -461,4 +461,4 @@ Implemented, planned and deprecated items, with the version each landed in: `CHA
461
461
 
462
462
  ---
463
463
 
464
- **v11.154.0 | [Autonomi](https://www.autonomi.dev/) flagship product | core skill**
464
+ **v11.155.0 | [Autonomi](https://www.autonomi.dev/) flagship product | core skill**
package/VERSION CHANGED
@@ -1 +1 @@
1
- 11.154.0
1
+ 11.155.0
@@ -7,6 +7,6 @@ Modules:
7
7
  control: Session control helpers (status, atomic writes, origin check)
8
8
  """
9
9
 
10
- __version__ = "11.154.0"
10
+ __version__ = "11.155.0"
11
11
 
12
12
  __all__ = ["__version__"]
@@ -1,6 +1,6 @@
1
1
  # CLI reference
2
2
 
3
- Generated from `loki-ts/src/cli/registry.ts` by `scripts/generate-stale-zero.sh` for v11.154.0. Do not edit by hand.
3
+ Generated from `loki-ts/src/cli/registry.ts` by `scripts/generate-stale-zero.sh` for v11.155.0. Do not edit by hand.
4
4
  Hidden and legacy-only commands are omitted; see `docs/CLI-INVENTORY.md` for the full inventory.
5
5
 
6
6
  | Command | Description |
@@ -2,7 +2,7 @@
2
2
 
3
3
  Loki Mode, by [Autonomi](https://www.autonomi.dev/), turns a spec or an issue into a verified pull request with a receipt you can check. This page covers installing it, a first run, and the options around it.
4
4
 
5
- **Version:** v11.154.0
5
+ **Version:** v11.155.0
6
6
 
7
7
  **Engine note:** `loki start` is the primary command. `loki start`, `loki "<task>"`, `loki owner/repo#N` and `loki quick` all run the Loki 10 engine, whatever the flag order or input form (PRD file, issue ref, task or one-word brief). The previous loop runs only on `--engine legacy`, `LOKI_ENGINE=legacy`, or for one call when a flag Loki 10 cannot honor is present. See the [user guide](v10/GUIDE.md) and the [5-minute quickstart](QUICKSTART.md).
8
8
 
@@ -215,7 +215,7 @@ These knobs together implement the RARV-C (closure) loop: findings -> override c
215
215
  - `LOKI_E10_PROVE_REPAIR` -- on by default, `0` opts out (Q1 prove repair; `engine10/stages/prove.ts`). After the head pass, asks that are not proved (not those skipped by the endpoint check, nor "not run here") go back to the implement session through `util/conflict_resume.ts` resumeForProve (resumeWith, suffix `-pv<round>`, the last implement iteration and the saved implement brief, gated on RESUME_MIN_LEFT_S of implement time and 90 s of stage time) with `repairBrief` (each ask, its command and its reason); the sealed Wall files are restored after each resume and the same scripts rerun. At most two rounds; each is a `rounds` entry with its iteration id and a prove.ask per ask. The base pass runs after the last round.
216
216
  - F3 reviewer UNMET cap (no knob; Q1 F3; `loki-ts/src/engine10/stages/xreview.ts` isUnmetNote and parseReview, `stages/seal.ts` openNotes). A cross-review reason that says an asked-for line is unmet (`UNMET: ...`, the form util/intent_card.ts asks for) becomes an open note at seal, which caps VERIFIED at PARTIAL. parseReview sorts UNMET reasons ahead of the others before its 5-reason cap, so one written sixth is kept. The review levels, when the review runs and its prompt are unchanged; a run with no review is unchanged.
217
217
  - `LOKI_RERUN_GUARD` -- on by default, `0` opts out (Q1 F4; `loki-ts/src/commands/issues_run.ts` openLokiPrGuard, called by `engine10/supervisor.ts` right after the issue fetch, before startIssueEpic and any session). It lists the open pull requests with the same `gh pr list` and coveredIssues rule `loki issues run` dedupes by, and stops (exit 2) when one whose head is a `loki/` branch owned by the origin's owner covers the issue. A list that cannot be read stops the run (fail closed). It is skipped with `--no-pr`, when gh is not ready (publish already falls back to no PR) and when the origin is not a GitHub remote: a local mirror publishes `local://` branches, so no GitHub pull request can be duplicated and the hermetic tests and local-mirror runs are unaffected. It never writes to the pull request.
218
- - `LOKI_E10_CONTINUE_MAX` (default 4, `0` turns the resume off, at most 10) and `LOKI_E10_CONTINUE_MAX_USD` (default 1.00) -- Q1 S1b, claude provider only (CLI and SDK routes; opencode is unchanged). `loki-ts/src/engine10/session.ts` finishLineOf sets `markers.finishLine` from the last non-empty line of a session's final text (a literal `LOKI_DONE`, `LOKI_ALREADY_DONE:` or `LOKI_SPEC_CONFLICT:` line; a finish line quoted earlier or any other `LOKI_` token is not one); `markers.done` and its readers are unchanged. An implement session without a finish line is resumed in the same session through resumeWith (`util/conflict_resume.ts` resumeToFinish, suffix `-k<n>`), before the follow-up gates and the `-rv` turn, while each resume changes the tree (anti_loop.ts treeFingerprint), RESUME_MIN_LEFT_S holds, the count is under LOKI_E10_CONTINUE_MAX and the run's measured spend is under LOKI_E10_CONTINUE_MAX_USD (unmeasured spend, as on the CLI invoker, leaves only the count). The brief says the summary request is over, quotes the reply's last lines, names plan-scope files not in the tree and ends with FINISH_LINE. Each resume emits `s1b.resumed` {resume, iteration_id, compactions, finish_line}. A session still unfinished gets implement exit `incomplete`: no follow-up gate runs on it, the diff and the PR are kept, and seal adds `implement ended without a finish line (<why> after <n> resumes): <outstanding>` to the open notes, which caps VERIFIED at PARTIAL. The implement record carries `finish` {continues, ended, outstanding, spent_usd, compactions} only when S1b fired; compactions come from the SDK stream's system/compact_boundary (sdk_stream_parser.ts) and are null on the CLI route. Each resume is a new query, so the Haiku session caps (effort_policy.ts: implement 45 turns, 160K new tokens) start from zero per resume.
218
+ - `LOKI_E10_CONTINUE_MAX` (default 4, `0` turns the resume off, at most 10) and `LOKI_E10_CONTINUE_MAX_USD` (default 5.00) -- Q1 S1b, claude provider only (CLI and SDK routes; opencode is unchanged). `loki-ts/src/engine10/session.ts` finishLineOf sets `markers.finishLine` from the last non-empty line of a session's final text (a literal `LOKI_DONE`, `LOKI_ALREADY_DONE:` or `LOKI_SPEC_CONFLICT:` line; a finish line quoted earlier or any other `LOKI_` token is not one); `markers.done` and its readers are unchanged. An implement session without a finish line is resumed in the same session through resumeWith (`util/conflict_resume.ts` resumeToFinish, suffix `-k<n>`), before the follow-up gates and the `-rv` turn, while each resume changes the tree (anti_loop.ts treeFingerprint; one resume that changes nothing is allowed, the second in a row ends the loop), RESUME_MIN_LEFT_S holds, the count is under LOKI_E10_CONTINUE_MAX and the run's measured spend is under LOKI_E10_CONTINUE_MAX_USD (unmeasured spend, as on the CLI invoker, leaves only the count). The brief says the summary request is over, quotes the reply's last lines, names plan-scope files not in the tree and ends with FINISH_LINE. Each resume emits `s1b.resumed` {resume, iteration_id, compactions, finish_line}. A session still unfinished gets implement exit `incomplete`: no follow-up gate runs on it, the diff and the PR are kept, and seal adds `implement ended without a finish line (<why> after <n> resumes): <outstanding>` to the open notes, which caps VERIFIED at PARTIAL. The implement record carries `finish` {continues, ended, outstanding, spent_usd, compactions} only when S1b fired; compactions come from the SDK stream's system/compact_boundary (sdk_stream_parser.ts) and are null on the CLI route. Each resume is a new query, so the Haiku session caps (effort_policy.ts: implement 45 turns, 160K new tokens) start from zero per resume.
219
219
  - `LOKI_ISSUE_WHOLE_FIRST` -- unset: on for Sonnet and stronger models, off for a run that implements on Haiku (`loki-ts/src/util/claude_model.ts` haikuRun; LOKI_ROUTER=1, whose plan may route implement to Haiku later, is not covered); `1` forces it on any model, `0` opts out (Q1 S1; `loki-ts/src/features/decompose.ts` issueWholeFirst, read by `engine10/supervisor.ts` before startIssueEpic and by `features/triage.ts`). An issue run from `loki start owner/repo#N` (so also every `loki backlog` and `loki issues run` child) never asks for the up-front MASS-2 split: the issue runs as one whole-issue run on the same path `LOKI_UNIT_ID=whole` took (sized as before, plan kept for a large issue, Wall off by default). `0` restores the split. The per-model rule lives in issueWholeFirst.
220
220
  - `LOKI_E10_OWN_BY_PATH` -- on by default, `0` restores collateralTests' stem rule (acc-154; `loki-ts/src/engine10/stages/verify.ts` ownTests). Of the relevant tests (always selected, A-114), the task's own (never excused as red on base, and the ones that decide a quick verify, `keep`, `targets0`, `targetNames`) are only a test file the task names, or a test path-paired with a named non-test file the diff changed: the same covered stem, in that file's directory or its `__tests__`, `tests` or `test` subdirectory. A named file the diff did not edit is a reference, so its tests are collateral (base comparison, COLLATERAL_RED cap). Before it, a named `X/page.tsx`, or a reference "is not modified" or "following the pattern in", made every same-stem test in the repo the task's own (FireLater#24).
221
221
  - `LOKI_E10_TOUCHED_BASE_RED` -- on by default, `0` opts out (acc-154; `loki-ts/src/runner/repo_profile.ts` touchedRedOnBase, `stages/verify.ts` editedTestTitles). A test file the diff edited is excused (pre_red, never decisive, disclosed on the receipt's baseline line, never a cap) only when the environment is as intake left it (envChangedSince), every comparable failing id is red in the intake profile of this exact base commit with the same error lines, and no failing id is a case the diff added or whose body it edited (a changed line counts as editing the case above it only when it sits deeper than that case's title, so a top-level import edits none). A previously green id that now fails, a new error under an old id, or a failing added or edited case keeps it blocking. Before it, FireLater#24's one added assertion in a Sidebar.test.tsx with 19 base-red tests made the whole file the slice's failure.