loki-mode 11.109.0 → 11.111.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 (78) hide show
  1. package/README.md +1 -1
  2. package/SKILL.md +2 -2
  3. package/VERSION +1 -1
  4. package/dashboard/__init__.py +1 -1
  5. package/docs/CLI-REFERENCE.md +1 -1
  6. package/docs/INSTALLATION.md +1 -1
  7. package/docs/trackers.md +4 -0
  8. package/docs/v10/GUIDE.md +13 -3
  9. package/loki-ts/dist/loki.js +1474 -1459
  10. package/mcp/__init__.py +1 -1
  11. package/package.json +2 -2
  12. package/packages/control-plane/dist/ask-tools-server.js +138 -91
  13. package/packages/control-plane/dist/server.js +412 -267
  14. package/packages/control-plane/drizzle/0007_outcome_metrics.sql +7 -0
  15. package/packages/control-plane/drizzle/meta/0007_snapshot.json +846 -0
  16. package/packages/control-plane/drizzle/meta/_journal.json +7 -0
  17. package/packages/control-plane/src/db/schema.ts +6 -1
  18. package/packages/control-plane/src/server/routes/cost.ts +18 -17
  19. package/packages/control-plane/src/server/routes/stats.ts +172 -13
  20. package/packages/control-plane/src/server/runs.ts +24 -8
  21. package/plugins/loki-mode/.claude-plugin/plugin.json +1 -1
  22. package/web-app/dist/assets/{AdminPage-B6sjfLKR.js → AdminPage-CVhdjm4W.js} +1 -1
  23. package/web-app/dist/assets/{Avatar-DoNmo0_7.js → Avatar-BAKmd47w.js} +1 -1
  24. package/web-app/dist/assets/{Badge-Ct_pt2J_.js → Badge-DeSidjNE.js} +1 -1
  25. package/web-app/dist/assets/{Button-B_8UwSWE.js → Button-Bsq--imw.js} +1 -1
  26. package/web-app/dist/assets/{CockpitPage-bHjpV0-h.js → CockpitPage-C4OmZ7Zs.js} +1 -1
  27. package/web-app/dist/assets/{ComparePage-CYdev3xk.js → ComparePage-DxCOUyuK.js} +1 -1
  28. package/web-app/dist/assets/{ErrorBoundary-ninWIhC3.js → ErrorBoundary-C-eJidjw.js} +1 -1
  29. package/web-app/dist/assets/{EvidenceReceiptPanel-DNcLk_Ub.js → EvidenceReceiptPanel-CbB-uoq8.js} +1 -1
  30. package/web-app/dist/assets/{GitHubIssuesPanel-DxQCMMlP.js → GitHubIssuesPanel-Co8PJAFZ.js} +1 -1
  31. package/web-app/dist/assets/{GitHubPRsPanel-YENgPd2g.js → GitHubPRsPanel-BW2MHXtE.js} +1 -1
  32. package/web-app/dist/assets/{HomePage-xY2gaAq-.js → HomePage-DB-Wva5X.js} +2 -2
  33. package/web-app/dist/assets/{LoginPage-CrR7G_9f.js → LoginPage-Wjb8beuu.js} +1 -1
  34. package/web-app/dist/assets/{MagicPage-CKfqtzgr.js → MagicPage-BwcUZUxN.js} +1 -1
  35. package/web-app/dist/assets/{MetricsPage-BQzsoIHL.js → MetricsPage-H3cTQAvY.js} +1 -1
  36. package/web-app/dist/assets/{NotFoundPage-D3q_Zpqa.js → NotFoundPage-BNjC-8et.js} +1 -1
  37. package/web-app/dist/assets/{ProjectPage-XIJBGrhl.js → ProjectPage-Dq62Dui3.js} +3 -3
  38. package/web-app/dist/assets/{ProjectsPage-Dx5ATvLd.js → ProjectsPage-CDpxlwjA.js} +1 -1
  39. package/web-app/dist/assets/{SettingsPage-D6wXPubj.js → SettingsPage-nnJWzqjY.js} +1 -1
  40. package/web-app/dist/assets/{ShowcasePage-BYRBw9fs.js → ShowcasePage-CTUAcngH.js} +1 -1
  41. package/web-app/dist/assets/{SystemSettingsPage-DRBUsjDQ.js → SystemSettingsPage-DTO5IQ0Y.js} +1 -1
  42. package/web-app/dist/assets/{TeamsPage-DTUrqLfa.js → TeamsPage-B5TUplzs.js} +1 -1
  43. package/web-app/dist/assets/{TemplatesPage-CnXmu6bS.js → TemplatesPage-BMNxOv3x.js} +1 -1
  44. package/web-app/dist/assets/{TerminalOutput-D0Bot7tj.js → TerminalOutput-eqTWN6Av.js} +1 -1
  45. package/web-app/dist/assets/{activity-BM_k7xqd.js → activity-CIMlAuUK.js} +1 -1
  46. package/web-app/dist/assets/{bell-CHpBnXmZ.js → bell-CWtJHfAz.js} +1 -1
  47. package/web-app/dist/assets/{bot-D5Pbb2HN.js → bot-CrxNs6o2.js} +1 -1
  48. package/web-app/dist/assets/{check-CbTL1Y0C.js → check-0bXjNAw7.js} +1 -1
  49. package/web-app/dist/assets/{chevron-left-j1WDVhuq.js → chevron-left-B7-IUQne.js} +1 -1
  50. package/web-app/dist/assets/{circle-alert-f-0fHGNq.js → circle-alert-dx8_xe86.js} +1 -1
  51. package/web-app/dist/assets/{clock-BquqlMeP.js → clock-BSMlFAwd.js} +1 -1
  52. package/web-app/dist/assets/{cloud-9Ca3aWcZ.js → cloud-y26Fcv_n.js} +1 -1
  53. package/web-app/dist/assets/{code-xml-Bl_k6DrF.js → code-xml-BRBN2bH_.js} +1 -1
  54. package/web-app/dist/assets/{database-DCDIOLu-.js → database-kDCennrN.js} +1 -1
  55. package/web-app/dist/assets/{dollar-sign-Cg5nvgeK.js → dollar-sign-LiubOfVU.js} +1 -1
  56. package/web-app/dist/assets/{file-code-corner-CXYvO2D2.js → file-code-corner-CwZtgXkV.js} +1 -1
  57. package/web-app/dist/assets/{file-plus-MmttmlbT.js → file-plus-SKxkfS4a.js} +1 -1
  58. package/web-app/dist/assets/{globe-pEa5xzIs.js → globe-B7BRExHz.js} +1 -1
  59. package/web-app/dist/assets/{hammer-ZFLNr4FV.js → hammer-COp7qN6_.js} +1 -1
  60. package/web-app/dist/assets/{index-CG5gorJw.js → index-CgI_tsxE.js} +3 -3
  61. package/web-app/dist/assets/{layers-Bk3JF92s.js → layers-CgcOGlBN.js} +1 -1
  62. package/web-app/dist/assets/{loader-circle-Cdz8N-C8.js → loader-circle-CDl-iT1r.js} +1 -1
  63. package/web-app/dist/assets/{lock-lU7YeI3N.js → lock-CPXrrOS0.js} +1 -1
  64. package/web-app/dist/assets/{package-Di8GX8dX.js → package-B411mlKL.js} +1 -1
  65. package/web-app/dist/assets/{plus-BaMf5gKS.js → plus-C_roRS0B.js} +1 -1
  66. package/web-app/dist/assets/{refresh-cw-DkqSop6V.js → refresh-cw-CEtX5fuV.js} +1 -1
  67. package/web-app/dist/assets/{rotate-ccw-DMLCMNJc.js → rotate-ccw-ToeHrGzx.js} +1 -1
  68. package/web-app/dist/assets/{scroll-text-B9iDfF5Q.js → scroll-text-B5KRnTyG.js} +1 -1
  69. package/web-app/dist/assets/{server-CnkC2wYj.js → server-CzJmSSgp.js} +1 -1
  70. package/web-app/dist/assets/{shield-alert-Dzt3c_XB.js → shield-alert-HA5VCG0H.js} +1 -1
  71. package/web-app/dist/assets/{thumbs-up-CKP6qDnH.js → thumbs-up-5VTo5laU.js} +1 -1
  72. package/web-app/dist/assets/{trash-2-CEbOLHPe.js → trash-2-BK-8D9Bf.js} +1 -1
  73. package/web-app/dist/assets/{trending-down-lidUZ_Qf.js → trending-down-CKKI5Lp8.js} +1 -1
  74. package/web-app/dist/assets/{trending-up-C_xakGKL.js → trending-up-jCqitD_J.js} +1 -1
  75. package/web-app/dist/assets/{upload-DDSml_xI.js → upload-DWWoHUBE.js} +1 -1
  76. package/web-app/dist/assets/{usePolling-DC24UYSd.js → usePolling-C0ZWDmbJ.js} +1 -1
  77. package/web-app/dist/assets/{user-BSoRLrwA.js → user-oPFolEsb.js} +1 -1
  78. package/web-app/dist/index.html +1 -1
package/README.md CHANGED
@@ -90,7 +90,7 @@ A finished run prints a short summary (every run on both engines also ends with
90
90
  Outcome: VERIFIED
91
91
  PR: https://github.com/owner/repo/pull/1
92
92
  Receipt: sha256:2f9a41c7e0b3...
93
- NOT PROVEN: full suite, app boot, council, security scan
93
+ NOT PROVEN: full suite, app boot, security scan
94
94
  Cost: $0.42 (claude, 212k tokens)
95
95
  Time: 4m12s (intake 11s, plan 20s, implement 3m10s, verify 31s)
96
96
  ```
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.109.0
6
+ # Loki Mode v11.111.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
 
@@ -473,4 +473,4 @@ Implemented, planned and deprecated items, with the version each landed in: `CHA
473
473
 
474
474
  ---
475
475
 
476
- **v11.109.0 | [Autonomi](https://www.autonomi.dev/) flagship product | core skill**
476
+ **v11.111.0 | [Autonomi](https://www.autonomi.dev/) flagship product | core skill**
package/VERSION CHANGED
@@ -1 +1 @@
1
- 11.109.0
1
+ 11.111.0
@@ -7,6 +7,6 @@ Modules:
7
7
  control: Session control helpers (status, atomic writes, origin check)
8
8
  """
9
9
 
10
- __version__ = "11.109.0"
10
+ __version__ = "11.111.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.109.0. Do not edit by hand.
3
+ Generated from `loki-ts/src/cli/registry.ts` by `scripts/generate-stale-zero.sh` for v11.111.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.109.0
5
+ **Version:** v11.111.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
 
package/docs/trackers.md CHANGED
@@ -14,6 +14,10 @@ loki linear:ENG-42
14
14
 
15
15
  A missing variable stops the run with an error that names it. A Linear HTTP 401, or a GraphQL response with errors and no data, also names `LINEAR_API_KEY`.
16
16
 
17
+ ## Labels and comments
18
+
19
+ Intake adds the issue's labels (Jira and Linear) to the task text, in an "Issue tracker context" section after the description. Comments are added only from people on the lists the trigger server already trusts to steer a run: `LOKI_JIRA_STEER_ACTORS` (Jira accountIds) and `LOKI_LINEAR_STEER_ACTORS` (Linear user ids), comma-separated, exact match. A display name never counts, and Loki's own comments are left out. With the list unset or empty, no comment is added. Kept comments also go into `issue.json` as a `comments` array, capped at 16 KB with the newest kept; the rest are only counted.
20
+
17
21
  ## Writeback
18
22
 
19
23
  When the run starts from a `jira:` or `linear:` ref, `loki start` exports `LOKI_WRITEBACK_ISSUE` with the issue key, and the same credentials used for intake enable writeback. With no ref, writeback stays off unless the legacy `LOKI_JIRA_URL`, `LOKI_JIRA_TOKEN`, `LOKI_JIRA_EMAIL` or `LOKI_LINEAR_TOKEN` variables are set. With nothing configured, no network call is made.
package/docs/v10/GUIDE.md CHANGED
@@ -115,6 +115,15 @@ Only the extra already-done check (an issue's `state` and whether it was
115
115
  closed by a merged PR) is GitHub-only; a GitLab or Jira issue still runs,
116
116
  just without that extra signal.
117
117
 
118
+ The task the agent works from is the issue's title and description plus an
119
+ "Issue tracker context" section: the labels, and the comments of people the
120
+ repo trusts. On GitHub that is comments by an OWNER, MEMBER or COLLABORATOR
121
+ (the same rule `/loki` and comment steering use), never a bot, Loki's own
122
+ comments or a hidden comment. Other comments are counted in `issue.json`
123
+ (`comments_excluded`) and never quoted. Comments are capped at 16 KB, newest
124
+ kept. The whole task stays quoted as untrusted data in every brief. Jira and
125
+ Linear trust is set in `docs/trackers.md`.
126
+
118
127
  Flags, from the engine's own `--help`:
119
128
 
120
129
  - `--no-pr`: build and verify, but skip opening a pull request.
@@ -269,7 +278,7 @@ same:
269
278
  ```
270
279
  PR: https://github.com/owner/repo/pull/1
271
280
  Verdict: VERIFIED
272
- NOT PROVEN: full suite, app boot, council, security scan
281
+ NOT PROVEN: full suite, app boot, security scan
273
282
  Cost: $0.42 (claude, 212k tokens)
274
283
  Time: 4m12s (intake 11s, plan 20s, implement 3m10s, verify 31s)
275
284
  ```
@@ -360,9 +369,10 @@ NOT PROVEN lists what a run did not verify, so a passing run is never read
360
369
  as more thorough than it was. One entry is unconditional, written by Seal
361
370
  every time:
362
371
 
363
- - **The deep checks**: `full suite, app boot, council, security scan`.
372
+ - **The deep checks**: `full suite, app boot, security scan`.
364
373
  They are deferred to a separate deep-verify pass, so Seal always lists
365
- all four at seal time.
374
+ all three at seal time. The deep pass starts no model session: the one
375
+ review of a run is the cross-review before Seal.
366
376
 
367
377
  Seal also adds an entry whenever it applies, for example: `cost not
368
378
  measured (no iteration ids recorded)`, `kill blocking not enforced` for