loki-mode 11.62.1 → 11.63.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 (73) hide show
  1. package/SKILL.md +3 -3
  2. package/VERSION +1 -1
  3. package/autonomy/loki +5 -0
  4. package/bin/loki +1 -1
  5. package/completions/_loki +1 -0
  6. package/completions/loki.bash +1 -1
  7. package/dashboard/__init__.py +1 -1
  8. package/docs/CLI-REFERENCE.md +2 -1
  9. package/docs/INSTALLATION.md +1 -1
  10. package/docs/v10/CLI-MODERN.md +4 -3
  11. package/docs/v10/FAILURE-CLASSES.md +8 -0
  12. package/loki-ts/dist/loki.js +1061 -1053
  13. package/mcp/__init__.py +1 -1
  14. package/package.json +2 -2
  15. package/packages/control-plane/dist/server.js +1 -0
  16. package/plugins/loki-mode/.claude-plugin/plugin.json +1 -1
  17. package/web-app/dist/assets/{AdminPage-DDh_pGP7.js → AdminPage-DY8vRh7H.js} +1 -1
  18. package/web-app/dist/assets/{Avatar-CzgnBRj8.js → Avatar-BABvl2nY.js} +1 -1
  19. package/web-app/dist/assets/{Badge-CPKZ55hT.js → Badge-D8hyqr8l.js} +1 -1
  20. package/web-app/dist/assets/{Button-Emif_zXk.js → Button-ClCkmtln.js} +1 -1
  21. package/web-app/dist/assets/{CockpitPage-C2nxu9AF.js → CockpitPage-CQbbEPp9.js} +1 -1
  22. package/web-app/dist/assets/{ComparePage-Cq5B609L.js → ComparePage-DEuGQMJG.js} +1 -1
  23. package/web-app/dist/assets/{ErrorBoundary-x6IPrLwH.js → ErrorBoundary-GFvRBxkR.js} +1 -1
  24. package/web-app/dist/assets/{EvidenceReceiptPanel-C_ElBJD9.js → EvidenceReceiptPanel-Bf5dY-i5.js} +1 -1
  25. package/web-app/dist/assets/{GitHubIssuesPanel-DaCgsqXE.js → GitHubIssuesPanel-Ce6Xn5gd.js} +1 -1
  26. package/web-app/dist/assets/{GitHubPRsPanel-D78oXvDA.js → GitHubPRsPanel-DeHV2jOk.js} +1 -1
  27. package/web-app/dist/assets/{HomePage-BK_mj2Tu.js → HomePage-DfZasiVW.js} +2 -2
  28. package/web-app/dist/assets/{LoginPage-DAngrXPz.js → LoginPage-JyY2tn1f.js} +1 -1
  29. package/web-app/dist/assets/{MagicPage-CxvUdqj-.js → MagicPage-motiJnxt.js} +1 -1
  30. package/web-app/dist/assets/{MetricsPage-BuvTGdq6.js → MetricsPage-Co49t9aj.js} +1 -1
  31. package/web-app/dist/assets/{NotFoundPage-Bd7pDVfJ.js → NotFoundPage-Bbc-0Yjv.js} +1 -1
  32. package/web-app/dist/assets/{ProjectPage-B-Cm0sj8.js → ProjectPage-C4FFudSy.js} +3 -3
  33. package/web-app/dist/assets/{ProjectsPage-jzShZADG.js → ProjectsPage-KejZM41K.js} +1 -1
  34. package/web-app/dist/assets/{SettingsPage-DWPnKMZ1.js → SettingsPage-D5OjESCI.js} +1 -1
  35. package/web-app/dist/assets/{ShowcasePage-DaDWrrQm.js → ShowcasePage-0Yp1KB4u.js} +1 -1
  36. package/web-app/dist/assets/{SystemSettingsPage-Ix3H3Pto.js → SystemSettingsPage-D9VJQPcX.js} +1 -1
  37. package/web-app/dist/assets/{TeamsPage-MOKqmXYo.js → TeamsPage-OirLAobH.js} +1 -1
  38. package/web-app/dist/assets/{TemplatesPage-K0XsZa7Q.js → TemplatesPage-Br-f_lir.js} +1 -1
  39. package/web-app/dist/assets/{TerminalOutput-DGXU2MpF.js → TerminalOutput-BBqtQKix.js} +1 -1
  40. package/web-app/dist/assets/{activity-DD-aTiXQ.js → activity-nbBHNMTk.js} +1 -1
  41. package/web-app/dist/assets/{bell-7RQoJlxm.js → bell-CD7kS6D-.js} +1 -1
  42. package/web-app/dist/assets/{bot-IJ2dSfSP.js → bot-DuAkVycE.js} +1 -1
  43. package/web-app/dist/assets/{check-D6cD5sNN.js → check-DlWC0gLj.js} +1 -1
  44. package/web-app/dist/assets/{chevron-left-rkIoL0KY.js → chevron-left-CfWpX5KJ.js} +1 -1
  45. package/web-app/dist/assets/{circle-alert-sko5om80.js → circle-alert-BdrXoFeu.js} +1 -1
  46. package/web-app/dist/assets/{clock-Di8UQRTZ.js → clock-Cy6uAmZv.js} +1 -1
  47. package/web-app/dist/assets/{cloud-CERzvDQX.js → cloud-BDUaNLXo.js} +1 -1
  48. package/web-app/dist/assets/{code-xml-grSmTcq-.js → code-xml-CVXq954v.js} +1 -1
  49. package/web-app/dist/assets/{database-ZWMFwUQP.js → database-BLSZ3pzQ.js} +1 -1
  50. package/web-app/dist/assets/{dollar-sign-ClcEVggw.js → dollar-sign-B3Y0QCFG.js} +1 -1
  51. package/web-app/dist/assets/{file-code-corner-C9qcgeRr.js → file-code-corner-CEZ4zHSM.js} +1 -1
  52. package/web-app/dist/assets/{file-plus-E6htm8A3.js → file-plus-eOLy6fTe.js} +1 -1
  53. package/web-app/dist/assets/{globe-wSHU_8vK.js → globe-GKmFY8gN.js} +1 -1
  54. package/web-app/dist/assets/{hammer-C3_hu-L2.js → hammer-DQJXsyrl.js} +1 -1
  55. package/web-app/dist/assets/{index-11CtUeug.js → index-BSEGZzAR.js} +3 -3
  56. package/web-app/dist/assets/{layers-C5RCcxVk.js → layers-DGjRDi54.js} +1 -1
  57. package/web-app/dist/assets/{loader-circle-CvWQ7DL6.js → loader-circle-2ZPx0EJM.js} +1 -1
  58. package/web-app/dist/assets/{lock-BpXTFU00.js → lock-B-8P6qfu.js} +1 -1
  59. package/web-app/dist/assets/{package-CkerIf4S.js → package-CE6ZmcmH.js} +1 -1
  60. package/web-app/dist/assets/{plus-QalefcTd.js → plus-DpxsikCD.js} +1 -1
  61. package/web-app/dist/assets/{refresh-cw-RZzjmvM8.js → refresh-cw-XWvulrL5.js} +1 -1
  62. package/web-app/dist/assets/{rotate-ccw-TxXa2Ko8.js → rotate-ccw-DWYAVESX.js} +1 -1
  63. package/web-app/dist/assets/{scroll-text-52sX0JeT.js → scroll-text-CBAlW2Pf.js} +1 -1
  64. package/web-app/dist/assets/{server-zDSXQfeo.js → server-4EPqDbl8.js} +1 -1
  65. package/web-app/dist/assets/{shield-alert-BJGlC69s.js → shield-alert-DJ91tyyC.js} +1 -1
  66. package/web-app/dist/assets/{thumbs-up-gM62xzH_.js → thumbs-up--bd1zQE1.js} +1 -1
  67. package/web-app/dist/assets/{trash-2-DlXBtiA_.js → trash-2-Bc_B3znG.js} +1 -1
  68. package/web-app/dist/assets/{trending-down-DhCx5eTc.js → trending-down-DqULE5ul.js} +1 -1
  69. package/web-app/dist/assets/{trending-up-BO3onLWh.js → trending-up-Djv9pIts.js} +1 -1
  70. package/web-app/dist/assets/{upload-B1xpWtyR.js → upload-DKIWO91I.js} +1 -1
  71. package/web-app/dist/assets/{usePolling-CTCkag9z.js → usePolling-OQ5LTo1m.js} +1 -1
  72. package/web-app/dist/assets/{user-DvqrjFZB.js → user-BaBq77EK.js} +1 -1
  73. 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.62.1
6
+ # Loki Mode v11.63.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
 
@@ -228,7 +228,7 @@ Pick modules from this table, one hop from here. Each module over 100 lines open
228
228
  <!-- generated:commands -->
229
229
  Commands (generated from `loki-ts/src/cli/registry.ts`; full reference in `docs/CLI-REFERENCE.md`):
230
230
 
231
- `version`, `status`, `doctor`, `provider`, `memory`, `rollback`, `backup`, `restore`, `proof`, `wiki`, `control`, `intent`, `kpis`, `report`, `trust`, `crash`, `contract`, `start`, `slack`, `queue`, `issues`, `undo`, `verify-pr`, `answer`, `engine10`, `help`, `chat`, `edit`, `diff`, `models`, `setup`, `quick`, `quickstart`, `init`, `template`, `verify`, `keys`, `review`, `dashboard`, `config`, `mcp`, `acp`, `stop`, `pause`, `resume`, `cancel`, `why`, `next`, `logs`, `ship`, `deploy`, `import`, `github`, `issue`, `ci`, `modernize`, `share`, `assets`, `export`, `notify`, `tour`, `wow`, `factory`, `welcome`, `onboard`, `setup-skill`, `self-update`, `remote`, `cockpit`, `code`, `context`, `secrets`, `api`, `sandbox`, `docker`, `web`, `preview`, `telemetry`, `syslog`, `explain`, `docs`, `test`, `bench`, `voice`, `own`, `secure`, `compliance`, `enterprise`, `projects`, `audit`, `cost`, `metrics`, `sentrux`, `magic`, `steer`
231
+ `version`, `status`, `doctor`, `provider`, `memory`, `rollback`, `backup`, `restore`, `proof`, `wiki`, `control`, `runs`, `intent`, `kpis`, `report`, `trust`, `crash`, `contract`, `start`, `slack`, `queue`, `issues`, `undo`, `verify-pr`, `answer`, `engine10`, `help`, `chat`, `edit`, `diff`, `models`, `setup`, `quick`, `quickstart`, `init`, `template`, `verify`, `keys`, `review`, `dashboard`, `config`, `mcp`, `acp`, `stop`, `pause`, `resume`, `cancel`, `why`, `next`, `logs`, `ship`, `deploy`, `import`, `github`, `issue`, `ci`, `modernize`, `share`, `assets`, `export`, `notify`, `tour`, `wow`, `factory`, `welcome`, `onboard`, `setup-skill`, `self-update`, `remote`, `cockpit`, `code`, `context`, `secrets`, `api`, `sandbox`, `docker`, `web`, `preview`, `telemetry`, `syslog`, `explain`, `docs`, `test`, `bench`, `voice`, `own`, `secure`, `compliance`, `enterprise`, `projects`, `audit`, `cost`, `metrics`, `sentrux`, `magic`, `steer`
232
232
  <!-- /generated -->
233
233
 
234
234
  ---
@@ -476,4 +476,4 @@ Implemented, planned and deprecated items, with the version each landed in: `ski
476
476
 
477
477
  ---
478
478
 
479
- **v11.62.1 | [Autonomi](https://www.autonomi.dev/) flagship product | core skill**
479
+ **v11.63.0 | [Autonomi](https://www.autonomi.dev/) flagship product | core skill**
package/VERSION CHANGED
@@ -1 +1 @@
1
- 11.62.1
1
+ 11.63.0
package/autonomy/loki CHANGED
@@ -23124,6 +23124,11 @@ main() {
23124
23124
  mcp)
23125
23125
  cmd_mcp "$@"
23126
23126
  ;;
23127
+ runs)
23128
+ # R100-008: Bun-only; bin/loki routes here only when bun is absent.
23129
+ echo "loki runs needs the Bun runtime (install bun, then re-run: loki runs)" >&2
23130
+ exit 2
23131
+ ;;
23127
23132
  undo)
23128
23133
  # UNDO-1: Bun-only (verifies the receipt with the Bun verifier); bin/loki routes here only when bun is absent.
23129
23134
  echo "loki undo needs the Bun runtime (install bun, then re-run: loki undo <run-id> --plan)" >&2
package/bin/loki CHANGED
@@ -916,7 +916,7 @@ fi
916
916
  # Two-token routes (provider show/list, memory list/index) match on the first
917
917
  # token only; the Bun dispatcher handles subcommand routing internally.
918
918
  case "${1:-}" in
919
- version|--version|-v|status|stats|doctor|provider|memory|rollback|internal|kpis|estimate|trust|proof|receipt|wiki|crash|control|contract|slack|queue|issues|answer|undo|verify-pr|completion|__complete)
919
+ version|--version|-v|status|stats|doctor|provider|memory|rollback|internal|kpis|estimate|trust|proof|receipt|wiki|crash|control|contract|slack|queue|issues|answer|undo|runs|verify-pr|completion|__complete)
920
920
  # v7.5.2: rollback added (wires loki-ts/src/commands/rollback.ts).
921
921
  # v7.5.3: internal added for autonomy/run.sh phase1-hooks calls.
922
922
  # v7.5.28: kpis added (Phase K MVP: read-only KPI snapshot).
package/completions/_loki CHANGED
@@ -343,6 +343,7 @@ function _loki_commands {
343
343
  'verify-pr:Verify a PR against its linked issue in a sandbox'
344
344
  'queue:Overnight issue queue with a morning digest'
345
345
  'issues:Run every open issue in a repo and open PRs'
346
+ 'runs:List runs across the projects registered with loki projects add'
346
347
  'undo:Show what undoing a run would do (read-only plan; --dry-run adds the diffstat; --list shows recent runs)'
347
348
  'chat:Interactive chat session (run, attach)'
348
349
  'route:Print the engine, provider and model route without running'
@@ -5,7 +5,7 @@ _loki_completion() {
5
5
  _init_completion || return
6
6
 
7
7
  # Main subcommands (must match autonomy/loki main case statement)
8
- local main_commands="start backlog quick monitor demo tour wow factory welcome init stop pause resume cancel steer status next ship dashboard web serve api sandbox notify import github issue intent config provider reset memory compound checkpoint council dogfood projects enterprise secrets cockpit secure own handoff doctor watchdog audit metrics syslog onboard share proof receipt outcomes explain plan report cost estimate kpis stats test ci watch telemetry agent context ctx code run export review optimize heal modernize migrate cluster worktree wt trigger failover remote deploy docker mcp magic assets analyze compliance crash control workspace open otel preview quickstart rc rollback merge self-update sentrux setup-skill spec state template trust trust-metrics ultracode update verify voice why wiki bench cleanup logs grill docs cp version completions help keys answer queue issues undo acp verify-pr chat route edit setup models agents diff backup restore"
8
+ local main_commands="start backlog quick monitor demo tour wow factory welcome init stop pause resume cancel steer status next ship dashboard web serve api sandbox notify import github issue intent config provider reset memory compound checkpoint council dogfood projects enterprise secrets cockpit secure own handoff doctor watchdog audit metrics syslog onboard share proof receipt outcomes explain plan report cost estimate kpis stats test ci watch telemetry agent context ctx code run export review optimize heal modernize migrate cluster worktree wt trigger failover remote deploy docker mcp magic assets analyze compliance crash control workspace open otel preview quickstart rc rollback merge self-update sentrux setup-skill spec state template trust trust-metrics ultracode update verify voice why wiki bench cleanup logs grill docs cp version completions help keys answer queue issues undo runs acp verify-pr chat route edit setup models agents diff backup restore"
9
9
 
10
10
  # 1. If we are on the first argument (subcommand)
11
11
  if [[ $cword -eq 1 ]]; then
@@ -7,6 +7,6 @@ Modules:
7
7
  control: Session control helpers (status, atomic writes, origin check)
8
8
  """
9
9
 
10
- __version__ = "11.62.1"
10
+ __version__ = "11.63.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.62.1. Do not edit by hand.
3
+ Generated from `loki-ts/src/cli/registry.ts` by `scripts/generate-stale-zero.sh` for v11.63.0. Do not edit by hand.
4
4
  Hidden and legacy-only commands are omitted; see `docs/v10/CLI-MODERN.md` for the full inventory.
5
5
 
6
6
  | Command | Description |
@@ -51,6 +51,7 @@ Hidden and legacy-only commands are omitted; see `docs/v10/CLI-MODERN.md` for th
51
51
  | `loki control prune` | Delete matching runs |
52
52
  | `loki control stop` | Stop the running control plane |
53
53
  | `loki control status` | Show control plane reachability |
54
+ | `loki runs` | List runs across registered projects |
54
55
  | `loki intent` | Show a past run's intent card |
55
56
  | `loki intent show` | Print the intent card and answer |
56
57
  | `loki kpis` | KPI snapshot (alias of report kpis) |
@@ -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.62.1
5
+ **Version:** v11.63.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
 
@@ -6,12 +6,12 @@ Classes: KEEP-MODERN (v10-native or engine-neutral), UPDATE (live but needs mode
6
6
 
7
7
  ## Counts
8
8
 
9
- - KEEP-MODERN: 76
9
+ - KEEP-MODERN: 77
10
10
  - UPDATE: 22
11
11
  - DROP-LEGACY: 31
12
12
  - DELETE: 14
13
- - Total rows: 143
14
- - Registry paths (commands and nested subcommands): 211
13
+ - Total rows: 144
14
+ - Registry paths (commands and nested subcommands): 212
15
15
 
16
16
  ## Commands
17
17
 
@@ -30,6 +30,7 @@ Classes: KEEP-MODERN (v10-native or engine-neutral), UPDATE (live but needs mode
30
30
  | receipt | bun route, bash fallthrough | DELETE | Alias of proof; shown only under 'loki help aliases' |
31
31
  | wiki | bun route, bash fallthrough | KEEP-MODERN | Bun-native knowledge feature |
32
32
  | control | bun route, bash fallthrough | KEEP-MODERN | D56 control plane, on by default |
33
+ | runs | loki-ts/src/cli.ts | KEEP-MODERN | R100-008: one list over the loki projects registry |
33
34
  | intent | loki-ts/src/cli.ts | KEEP-MODERN | Read-only intent view |
34
35
  | kpis | loki-ts/src/cli.ts | KEEP-MODERN | Bun-native KPI report |
35
36
  | report | bun route, bash fallthrough | UPDATE | Mixed route; only kpis is Bun |
@@ -1700,3 +1700,11 @@ L0 review rule (ENGINE-LAWS.md L0): a fix that adds an `if` or a regex about the
1700
1700
  - Siblings swept: cli.ts:330 is the only dynamic import of safe_git outside loki-ts/src/util (git grep). Static named imports of safe_git were already accepted; the dynamic destructured form is the same shape.
1701
1701
  - Mechanism: in the P9 AST scan, a literal `await import("...safe_git...")` is accepted only as the initializer of an object destructuring whose every element is a plain identifier property (no rest, no computed key, no string key, no nested pattern) and none of whose names is an opt-in helper. Any other dynamic or require form still flags. A destructured safeGit with allowToken is still caught by the raw allowToken grep outside the two fetch callers.
1702
1702
  - Fixture: tests/moat/p9-rule-of-two.sh positive controls for a rest destructure, a computed-key destructure, a renamed opt-in helper and a destructured safeGit carrying allowToken (each must be flagged), and a negative control for the real `{ reviewerGitEnv }` form (must not flag). Mutant: accept any destructure shape; the rest and computed controls must go red.
1703
+
1704
+ ## FC-RUNS-ENV-LEAKS-ACROSS-PROJECTS `loki runs` applied the caller's LOKI_DIR to every registered project, so one run list was reported once per project (repo "a" and repo "b")
1705
+ - User-visible vs raw: user-visible. `loki runs --json` returned the same run twice under two repo labels.
1706
+ - Law broken: a row's repo label names the project whose runs directory it was read from; a per-process env knob that points at one directory cannot be applied to N projects.
1707
+ - Cause (measured, rev-b probe m309/p008/probe.ts): collectRuns called runsRoot(env, proj.path), and runsRoot honors LOKI_DIR (absolute or relative to the repo dir) for any repo dir it is given.
1708
+ - Siblings swept: runsRoot callers in run_status.ts (status, intent, pause/cancel) act on the current repo, where LOKI_DIR is correct; collectRuns is the only multi-project reader.
1709
+ - Mechanism: collectRuns reads join(proj.path, ".loki", "runs") for each registered project and ignores LOKI_DIR.
1710
+ - Fixture: loki-ts/tests/commands/run_status.test.ts "LOKI_DIR set across 2 projects lists each run once under its own repo"; a mutant restoring runsRoot(env, proj.path) turns it red.