loki-mode 11.131.0 → 11.132.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 (71) hide show
  1. package/SKILL.md +2 -2
  2. package/VERSION +1 -1
  3. package/autonomy/loki +1 -1
  4. package/bin/loki +0 -1
  5. package/dashboard/__init__.py +1 -1
  6. package/docs/CLI-INVENTORY.md +3 -3
  7. package/docs/CLI-REFERENCE.md +1 -1
  8. package/docs/INSTALLATION.md +1 -1
  9. package/docs/dev/architecture-reference.md +2 -0
  10. package/loki-ts/dist/loki.js +1509 -1493
  11. package/mcp/__init__.py +1 -1
  12. package/package.json +2 -2
  13. package/packages/control-plane/dist/server.js +2143 -1610
  14. package/plugins/loki-mode/.claude-plugin/plugin.json +1 -1
  15. package/web-app/dist/assets/{AdminPage-BmSwkPYp.js → AdminPage-B5182_hP.js} +1 -1
  16. package/web-app/dist/assets/{Avatar-DSj9J_jK.js → Avatar-Ch5ueQkM.js} +1 -1
  17. package/web-app/dist/assets/{Badge-DDx3dxG_.js → Badge-xX3v2KU3.js} +1 -1
  18. package/web-app/dist/assets/{Button-DE8nPKle.js → Button-D4tY85Oo.js} +1 -1
  19. package/web-app/dist/assets/{CockpitPage-DQaDkfMR.js → CockpitPage-BY-WSKJh.js} +1 -1
  20. package/web-app/dist/assets/{ComparePage-Brlmehsz.js → ComparePage-HLng9vMV.js} +1 -1
  21. package/web-app/dist/assets/{ErrorBoundary-nrnFjXOi.js → ErrorBoundary-D7YM5Wbu.js} +1 -1
  22. package/web-app/dist/assets/{EvidenceReceiptPanel-BDEIKtKd.js → EvidenceReceiptPanel-Dn2X2n2a.js} +1 -1
  23. package/web-app/dist/assets/{GitHubIssuesPanel-CHC1uKVl.js → GitHubIssuesPanel-DA2yQGX7.js} +1 -1
  24. package/web-app/dist/assets/{GitHubPRsPanel-da3trtfM.js → GitHubPRsPanel-752QnqgN.js} +1 -1
  25. package/web-app/dist/assets/{HomePage-CTpLhWbx.js → HomePage-Bal71RhR.js} +2 -2
  26. package/web-app/dist/assets/{LoginPage-CLOTZ_tB.js → LoginPage-CBLxYIMM.js} +1 -1
  27. package/web-app/dist/assets/{MagicPage-vR8S3Dz7.js → MagicPage-BM6qMt_0.js} +1 -1
  28. package/web-app/dist/assets/{MetricsPage-BEYano61.js → MetricsPage-DAtfoja6.js} +1 -1
  29. package/web-app/dist/assets/{NotFoundPage-99QjDZzD.js → NotFoundPage-DYwt8cO4.js} +1 -1
  30. package/web-app/dist/assets/{ProjectPage-lUeSwurf.js → ProjectPage-Ce_40rni.js} +3 -3
  31. package/web-app/dist/assets/{ProjectsPage-Dw1l6VIr.js → ProjectsPage-B5IgdddA.js} +1 -1
  32. package/web-app/dist/assets/{SettingsPage-BYk164Fz.js → SettingsPage-D7ccoOfg.js} +1 -1
  33. package/web-app/dist/assets/{ShowcasePage-DGvaMibo.js → ShowcasePage-JbJRBzTf.js} +1 -1
  34. package/web-app/dist/assets/{SystemSettingsPage-lJiWUKV0.js → SystemSettingsPage-CCwUIXq4.js} +1 -1
  35. package/web-app/dist/assets/{TeamsPage-IKX3tSgN.js → TeamsPage-xgi_EOcE.js} +1 -1
  36. package/web-app/dist/assets/{TemplatesPage-8VXw1b_n.js → TemplatesPage-DTaM-E2W.js} +1 -1
  37. package/web-app/dist/assets/{TerminalOutput-B-djUfqe.js → TerminalOutput-BvfMNbZm.js} +1 -1
  38. package/web-app/dist/assets/{activity-Bfv9Hpm_.js → activity-BOpjqZl5.js} +1 -1
  39. package/web-app/dist/assets/{bell-BOu4b1Bp.js → bell-DqprOi2z.js} +1 -1
  40. package/web-app/dist/assets/{bot-BGHw9PSy.js → bot-MEJJM87w.js} +1 -1
  41. package/web-app/dist/assets/{check-DiuJRL_6.js → check-liVsCOVN.js} +1 -1
  42. package/web-app/dist/assets/{chevron-left-DEwg1Whc.js → chevron-left-BGeISAyV.js} +1 -1
  43. package/web-app/dist/assets/{circle-alert-eXalp3AA.js → circle-alert-DLVT7PHR.js} +1 -1
  44. package/web-app/dist/assets/{clock-eKChspID.js → clock-DGV1yBho.js} +1 -1
  45. package/web-app/dist/assets/{cloud-CnuPF1nL.js → cloud-Csgjd953.js} +1 -1
  46. package/web-app/dist/assets/{code-xml-DucCYias.js → code-xml-B8vHasS_.js} +1 -1
  47. package/web-app/dist/assets/{database-CZN4m1Fp.js → database-Dr6qPevi.js} +1 -1
  48. package/web-app/dist/assets/{dollar-sign-CDm76aUf.js → dollar-sign-CmA0o5QM.js} +1 -1
  49. package/web-app/dist/assets/{file-code-corner-ehGUirIu.js → file-code-corner-fkWfqkn8.js} +1 -1
  50. package/web-app/dist/assets/{file-plus-CX2SC6PU.js → file-plus-Bdey3NSA.js} +1 -1
  51. package/web-app/dist/assets/{globe-EYqCDXU3.js → globe-DwzX8y6N.js} +1 -1
  52. package/web-app/dist/assets/{hammer-BVtrvawQ.js → hammer-D8iZ3BK-.js} +1 -1
  53. package/web-app/dist/assets/{index-DRMPDpV_.js → index-2zXLvkwB.js} +3 -3
  54. package/web-app/dist/assets/{layers-CQzr6cMc.js → layers-DWdiC-PL.js} +1 -1
  55. package/web-app/dist/assets/{loader-circle-DMd8qBD9.js → loader-circle-CVr0e60N.js} +1 -1
  56. package/web-app/dist/assets/{lock-CxXk9eFC.js → lock-B_Ck8Zxi.js} +1 -1
  57. package/web-app/dist/assets/{package-DE90NMqz.js → package-D2SK2O9H.js} +1 -1
  58. package/web-app/dist/assets/{plus-DXvcRdQO.js → plus-CA2qM68J.js} +1 -1
  59. package/web-app/dist/assets/{refresh-cw-BniiX2Mz.js → refresh-cw-CIFuXfQM.js} +1 -1
  60. package/web-app/dist/assets/{rotate-ccw-CGTR9eA3.js → rotate-ccw-CAvtkS7F.js} +1 -1
  61. package/web-app/dist/assets/{scroll-text-dVff0mB3.js → scroll-text-lV-o7WsP.js} +1 -1
  62. package/web-app/dist/assets/{server-Dk-qXGuf.js → server-BoA6gHRU.js} +1 -1
  63. package/web-app/dist/assets/{shield-alert-DnBZW_o9.js → shield-alert-B9XeNfV3.js} +1 -1
  64. package/web-app/dist/assets/{thumbs-up-78hEkPmI.js → thumbs-up-fiYDX7eb.js} +1 -1
  65. package/web-app/dist/assets/{trash-2-r6681wQr.js → trash-2-CJfV-OFP.js} +1 -1
  66. package/web-app/dist/assets/{trending-down-26GVy3oG.js → trending-down-DSG2BnLJ.js} +1 -1
  67. package/web-app/dist/assets/{trending-up-I8J3KeDy.js → trending-up-D9-4qYTN.js} +1 -1
  68. package/web-app/dist/assets/{upload-DVnmQtMD.js → upload-CMICph5h.js} +1 -1
  69. package/web-app/dist/assets/{usePolling-DyqS7I3h.js → usePolling-CkSuBC7n.js} +1 -1
  70. package/web-app/dist/assets/{user-BW405Jhs.js → user-Ka0H_HPL.js} +1 -1
  71. 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.131.0
6
+ # Loki Mode v11.132.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.131.0 | [Autonomi](https://www.autonomi.dev/) flagship product | core skill**
464
+ **v11.132.0 | [Autonomi](https://www.autonomi.dev/) flagship product | core skill**
package/VERSION CHANGED
@@ -1 +1 @@
1
- 11.131.0
1
+ 11.132.0
package/autonomy/loki CHANGED
@@ -1852,7 +1852,7 @@ show_help_all() {
1852
1852
  echo "Integration and maintenance (hidden from the front page; they keep working):"
1853
1853
  echo " stats memory backup restore kpis report crash contract slack engine10 review mcp acp github"
1854
1854
  echo " ci modernize self-update secrets sandbox docker web syslog test bench compliance enterprise"
1855
- echo " audit metrics magic workspace agents trigger merge heal"
1855
+ echo " audit metrics magic workspace agents trigger merge heal outcomes"
1856
1856
  echo ""
1857
1857
  echo "Renamed (the old name keeps working unchanged; some targets arrive in later releases,"
1858
1858
  echo "and until each one lands the old name is the way to do it):"
package/bin/loki CHANGED
@@ -638,7 +638,6 @@ _loki_removed_suffix() {
638
638
  cleanup) printf '%s' 'It drove the removed legacy loop; use: loki start "<goal>"' ;;
639
639
  reset) printf '%s' 'It drove the removed legacy loop; use: loki start "<goal>"' ;;
640
640
  dogfood) printf '%s' 'It drove the removed legacy loop; use: loki start "<goal>"' ;;
641
- outcomes) printf '%s' 'It drove the removed legacy loop; use: loki start "<goal>"' ;;
642
641
  worktree) printf '%s' 'It drove the removed legacy loop; use: loki start "<goal>"' ;;
643
642
  wt) printf '%s' 'It drove the removed legacy loop; use: loki start "<goal>"' ;;
644
643
  trust-metrics) printf '%s' 'Use: loki status --json' ;;
@@ -7,6 +7,6 @@ Modules:
7
7
  control: Session control helpers (status, atomic writes, origin check)
8
8
  """
9
9
 
10
- __version__ = "11.131.0"
10
+ __version__ = "11.132.0"
11
11
 
12
12
  __all__ = ["__version__"]
@@ -7,9 +7,9 @@ Classes: KEEP (the 11 commands in `loki --help` and completions), HIDE (keeps wo
7
7
  ## Counts
8
8
 
9
9
  - KEEP: 12
10
- - HIDE: 41
10
+ - HIDE: 42
11
11
  - FOLD: 61
12
- - REMOVED: 30
12
+ - REMOVED: 29
13
13
  - Total rows: 144
14
14
  - Registry paths (commands and nested subcommands): 215
15
15
 
@@ -150,7 +150,7 @@ Classes: KEEP (the 11 commands in `loki --help` and completions), HIDE (keeps wo
150
150
  | migrate | autonomy/loki | FOLD | Superseded by modernize | loki "modernize <what> to <target>" |
151
151
  | dogfood | autonomy/loki | REMOVED | Legacy engine | It drove the removed legacy loop; use: loki start "<goal>" |
152
152
  | steer | autonomy/loki | FOLD | Session control | loki chat --attach |
153
- | outcomes | autonomy/loki | REMOVED | Legacy outcome store | It drove the removed legacy loop; use: loki start "<goal>" |
153
+ | outcomes | autonomy/loki | HIDE | Live: lib/outcome_ledger.py via cmd_outcomes; documented for self-hosted operators | |
154
154
  | worktree | autonomy/loki | REMOVED | Legacy parallel mode | It drove the removed legacy loop; use: loki start "<goal>" |
155
155
  | wt | autonomy/loki | REMOVED | Alias of worktree | |
156
156
  | checkpoint | autonomy/loki | FOLD | Legacy engine | loki undo |
@@ -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.131.0. Do not edit by hand.
3
+ Generated from `loki-ts/src/cli/registry.ts` by `scripts/generate-stale-zero.sh` for v11.132.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.131.0
5
+ **Version:** v11.132.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
 
@@ -121,6 +121,8 @@ These knobs together implement the RARV-C (closure) loop: findings -> override c
121
121
 
122
122
  - `LOKI_E10_SMALL_NO_RUNNER` -- default on: a missing test runner no longer disqualifies a task from "small". A small task skips the plan session (the implementer plans) and the skipped plan writes `plan-scope.json` from the files the task names. Set to `0` to make a missing runner force "normal".
123
123
  - `LOKI_E10_SMALL_MAX_CHARS` -- task text length above which a task is not small (positive number, default 600; an invalid value falls back to 600 with a stderr note).
124
+ - `LOKI_E10_ATTEMPTS` -- parallel attempts after a red first attempt (EXP-0010). When the first implement attempt ends with the repo's checks red (fix rounds included), k more independent attempts run in parallel on the same model, each in a detached worktree in its own temp directory with a different instruction (smallest change, test first, read the covering tests first). Each finished attempt is scored on the shared impacted-test set in the primary tree; the first that passes all of it stops the others; otherwise `e10ext/select.ts` ranks them (repo checks green, fail-then-pass proof, fewest files outside the task, smallest diff, the first attempt last). An attempt that loosens an existing test is disqualified. Core re-verifies the winner's tree. Opt-in: unset or `0` is off; `on`/`true`/`yes` is k=2; a whole number 1-5 sets k on any model; anything else is off. Fires only when a check the change introduced is failing (not a full-suite or pre-red failure alone). Shares the run's `--max-cost` cap and time cap; needs enough run time for one window (90 s) plus the re-verify. Journal event `attempts.selected`, receipt data `implement.attempts`. (Before EXP-0010, `LOKI_E10_ATTEMPTS=2` meant two upfront attempts on every task; it now means k=2 after a red first attempt.)
125
+ - `LOKI_E10_ATTEMPTS_EARLY` -- `1` (off by default): on Haiku, run the `LOKI_E10_ATTEMPTS` attempts (k=2 when that is unset) right after the first red verify, before any fix round, and skip the fix rounds when an attempt goes green; if none does, the fix rounds run on the best tree as usual. The switch also makes k=2 apply to the after-fix hook on Haiku when `LOKI_E10_ATTEMPTS` is unset.
124
126
 
125
127
  ## Worktree substrate (autonomy/lib/worktree_prep.py)
126
128