loki-mode 11.137.2 → 11.137.3

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 (70) 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 +10 -1
  7. package/loki-ts/dist/loki.js +1994 -1990
  8. package/loki-ts/package.json +2 -2
  9. package/mcp/__init__.py +1 -1
  10. package/mcp/requirements.txt +1 -1
  11. package/package.json +3 -3
  12. package/packages/control-plane/dist/server.js +28883 -26801
  13. package/plugins/loki-mode/.claude-plugin/plugin.json +1 -1
  14. package/web-app/dist/assets/{AdminPage-CU65Sb0t.js → AdminPage-ir8G2Jgp.js} +1 -1
  15. package/web-app/dist/assets/{Avatar-HIyC7HMX.js → Avatar-DRwYV91P.js} +1 -1
  16. package/web-app/dist/assets/{Badge-DOsx9bo0.js → Badge-BEQADYOm.js} +1 -1
  17. package/web-app/dist/assets/{Button-BxUQtv5n.js → Button-CxCmfEL5.js} +1 -1
  18. package/web-app/dist/assets/{CockpitPage-C6CD7s5Q.js → CockpitPage-D2-ensaI.js} +1 -1
  19. package/web-app/dist/assets/{ComparePage-BQurKCEE.js → ComparePage-DhdLzAAR.js} +1 -1
  20. package/web-app/dist/assets/{ErrorBoundary-Dz51Pml4.js → ErrorBoundary-D_VSkXQ_.js} +1 -1
  21. package/web-app/dist/assets/{EvidenceReceiptPanel-CykvpKxV.js → EvidenceReceiptPanel-D9DpQ5Vh.js} +1 -1
  22. package/web-app/dist/assets/{GitHubIssuesPanel-BUp6USsa.js → GitHubIssuesPanel-BSiKnxah.js} +1 -1
  23. package/web-app/dist/assets/{GitHubPRsPanel-S3kC0B2l.js → GitHubPRsPanel-Cj4lb9q3.js} +1 -1
  24. package/web-app/dist/assets/{HomePage-BPk7_DJW.js → HomePage-Bv4osXxk.js} +2 -2
  25. package/web-app/dist/assets/{LoginPage-CjNa_LHu.js → LoginPage-Bkffh5X7.js} +1 -1
  26. package/web-app/dist/assets/{MagicPage-wJ3IO9cF.js → MagicPage-CcQJQ-wP.js} +1 -1
  27. package/web-app/dist/assets/{MetricsPage-BVC19ezj.js → MetricsPage-UId2iwQB.js} +1 -1
  28. package/web-app/dist/assets/{NotFoundPage-CS6tT0Af.js → NotFoundPage-Dv67saI-.js} +1 -1
  29. package/web-app/dist/assets/{ProjectPage-Cqek-G3r.js → ProjectPage-hcoJETsW.js} +3 -3
  30. package/web-app/dist/assets/{ProjectsPage-CinlECdF.js → ProjectsPage-DGJtOTTw.js} +1 -1
  31. package/web-app/dist/assets/{SettingsPage-DBJ2Do4v.js → SettingsPage-CXChMFlA.js} +1 -1
  32. package/web-app/dist/assets/{ShowcasePage-Dcki-Bc5.js → ShowcasePage-BNV6TTk1.js} +1 -1
  33. package/web-app/dist/assets/{SystemSettingsPage--NhvwmaN.js → SystemSettingsPage-Tx1bnImR.js} +1 -1
  34. package/web-app/dist/assets/{TeamsPage-CLQR7PsE.js → TeamsPage-BaFIkC7z.js} +1 -1
  35. package/web-app/dist/assets/{TemplatesPage-B8AG6WCj.js → TemplatesPage-p0jgyQ4I.js} +1 -1
  36. package/web-app/dist/assets/{TerminalOutput-HC2ojXj_.js → TerminalOutput-DMCkOsUl.js} +1 -1
  37. package/web-app/dist/assets/{activity-Cnkose4Q.js → activity-BK-BoYRU.js} +1 -1
  38. package/web-app/dist/assets/{bell-CBDZhL7O.js → bell-B4dv6-Cy.js} +1 -1
  39. package/web-app/dist/assets/{bot-DDCNEM-J.js → bot-Bq_Gtwmw.js} +1 -1
  40. package/web-app/dist/assets/{check-D1qIrOQs.js → check-0nIm7utT.js} +1 -1
  41. package/web-app/dist/assets/{chevron-left-dP2eCudr.js → chevron-left-awTrzFnF.js} +1 -1
  42. package/web-app/dist/assets/{circle-alert-BhqMU4XU.js → circle-alert-DietejQ_.js} +1 -1
  43. package/web-app/dist/assets/{clock-B3sGx0CC.js → clock-CclDMpUb.js} +1 -1
  44. package/web-app/dist/assets/{cloud-CFswD3X1.js → cloud-BHoUU5gN.js} +1 -1
  45. package/web-app/dist/assets/{code-xml-BmbV3qOZ.js → code-xml-DOcwK0ZR.js} +1 -1
  46. package/web-app/dist/assets/{database-BkIkNTBq.js → database-BO5Ivofe.js} +1 -1
  47. package/web-app/dist/assets/{dollar-sign-C6A25I3T.js → dollar-sign-CjzrFXQq.js} +1 -1
  48. package/web-app/dist/assets/{file-code-corner-DibSfM-s.js → file-code-corner-CpkRyyac.js} +1 -1
  49. package/web-app/dist/assets/{file-plus-CoBzP3Nf.js → file-plus-DdKFaNaJ.js} +1 -1
  50. package/web-app/dist/assets/{globe-DdI8jmBf.js → globe-mskOjucw.js} +1 -1
  51. package/web-app/dist/assets/{hammer-DK3tnNkU.js → hammer-AILECKU2.js} +1 -1
  52. package/web-app/dist/assets/{index-Bof3-_68.js → index-BNlpVmD1.js} +3 -3
  53. package/web-app/dist/assets/{layers-D9qUaFUb.js → layers-2T0wiFN0.js} +1 -1
  54. package/web-app/dist/assets/{loader-circle-DqmrMD2y.js → loader-circle-C2r4iz9B.js} +1 -1
  55. package/web-app/dist/assets/{lock-DAIMLqQl.js → lock-5KJjinpb.js} +1 -1
  56. package/web-app/dist/assets/{package-ZmQnH6BC.js → package-C5BUKnF2.js} +1 -1
  57. package/web-app/dist/assets/{plus-8OGlItzn.js → plus-C3ave9RV.js} +1 -1
  58. package/web-app/dist/assets/{refresh-cw-CfZ0NrKz.js → refresh-cw-BZChf-Hj.js} +1 -1
  59. package/web-app/dist/assets/{rotate-ccw-BvxEood6.js → rotate-ccw-_4VRuyWy.js} +1 -1
  60. package/web-app/dist/assets/{scroll-text-BNwohxjk.js → scroll-text-JOzWfhmb.js} +1 -1
  61. package/web-app/dist/assets/{server-BqtYPaUL.js → server-Dhrutt3e.js} +1 -1
  62. package/web-app/dist/assets/{shield-alert-H3Z6GpeL.js → shield-alert-CDYxwugV.js} +1 -1
  63. package/web-app/dist/assets/{thumbs-up-4nZcaHTV.js → thumbs-up-C6y91iJR.js} +1 -1
  64. package/web-app/dist/assets/{trash-2-DLRI8X63.js → trash-2-C7Z35HtO.js} +1 -1
  65. package/web-app/dist/assets/{trending-down-VKVQVXQU.js → trending-down-DxXN2IaT.js} +1 -1
  66. package/web-app/dist/assets/{trending-up-BwyGhAc3.js → trending-up-B6oEe-YZ.js} +1 -1
  67. package/web-app/dist/assets/{upload-CZky_3--.js → upload-CYlfGHMp.js} +1 -1
  68. package/web-app/dist/assets/{usePolling-DBMddMG9.js → usePolling-Bt0lZDAT.js} +1 -1
  69. package/web-app/dist/assets/{user-B54w7sMr.js → user-Bg-fPd_8.js} +1 -1
  70. 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.137.2
6
+ # Loki Mode v11.137.3
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.137.2 | [Autonomi](https://www.autonomi.dev/) flagship product | core skill**
464
+ **v11.137.3 | [Autonomi](https://www.autonomi.dev/) flagship product | core skill**
package/VERSION CHANGED
@@ -1 +1 @@
1
- 11.137.2
1
+ 11.137.3
@@ -7,6 +7,6 @@ Modules:
7
7
  control: Session control helpers (status, atomic writes, origin check)
8
8
  """
9
9
 
10
- __version__ = "11.137.2"
10
+ __version__ = "11.137.3"
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.137.2. Do not edit by hand.
3
+ Generated from `loki-ts/src/cli/registry.ts` by `scripts/generate-stale-zero.sh` for v11.137.3. 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.137.2
5
+ **Version:** v11.137.3
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
 
@@ -80,6 +80,15 @@ time-to-first-preview write-once (bash route only).
80
80
 
81
81
  Pins (exact, all sites): `@anthropic-ai/sdk` 0.124.0 -> 1.3.0 (loki-ts/package.json, loki-ts/bun.lock, docker/Dockerfile peer pin); `@anthropic-ai/claude-agent-sdk` 0.3.293 -> 0.3.314 (loki-ts/package.json, package.json, package-lock.json, bun.lock, docker/Dockerfile). Sources: sdk CHANGELOG 0.125.0..1.3.0, agent-sdk CHANGELOG 0.3.294..0.3.314.
82
82
 
83
+ Bump 2026-11-06: agent-sdk 0.3.316 -> 0.3.318 (bundled Claude Code 2.1.316 -> 2.1.318, `SDK_BUNDLED_CLAUDE_CODE`), sdk 1.3.0 -> 1.6.0, Python `anthropic` 2.3.0 -> 2.6.0, at every site above (the Dockerfile line had stayed at 0.3.314 / 1.3.0; tests/min/version-consistency.sh now holds it, both lockfiles and both package.json files to one version). Sources: agent-sdk CHANGELOG 0.3.317..0.3.318, sdk CHANGELOG 1.4.0..1.6.0, anthropic-sdk-python CHANGELOG 2.4.0..2.6.0. No breaking change reaches loki-ts/src (tsc clean): sdk 1.4.0-1.6.0 add Admin API methods and error classes (`err.name` is now the class name; runner/crash.ts reads it only as a label); agent-sdk 0.3.317 removes `file_unchanged` from `FileReadOutput` (no Loki reference).
84
+
85
+ | Change (0.3.317-0.3.318) | Status |
86
+ |---|---|
87
+ | agent-sdk 0.3.317 `onFailure: "block"` on hook matchers | WIRED: the host guard (Bash) and config fence (Edit/Write/MultiEdit) PreToolUse matchers on the SDK route (runner/providers.ts) block a call when the hook throws or returns invalid output; the SDK refuses such a session on a CLI that does not honor the option (tests/min/host-guard.sh, against the e2e stub) |
88
+ | agent-sdk 0.3.317 repeated Read returns full content (`file_unchanged` removed) | ACCEPTED: may raise tokens on Read-heavy loops; re-measure implement output tokens on the next bench |
89
+ | agent-sdk 0.2.89 `startup()`, 0.3.282 `prewarm()` / `SpareProcess.claim()` (alpha) | NOT ADOPTED, measured: a warm `prewarm()` of the bundled 2.1.318 initializes in 0.56-0.75 s (3 runs, 4.0 s cold first), so at a median 3 sessions a run saves about 1.5 s of a 197 s median wall (under 1%). Hooks, env, tools and the system prompt are fixed at prewarm and differ per stage, a claim cannot `resume` (implement resumes plan by default), and a parked spare holds 230-260 MB |
90
+ | agent-sdk 0.3.317 `session_writes_lost`, 0.3.318 `credential_expires_at` | NOT ADOPTED in this bump (upstream-parity row 17) |
91
+
83
92
  | Change | Status |
84
93
  |---|---|
85
94
  | sdk 1.0.0 BREAKING "new API version 2026-10-21" | WIRED at compile level only: loki-ts/src/runner/sdk_invoker.ts:19,311 (messages.create, output_config) compiles unchanged under tsc rc=0 and sdk_invoker tests pass. Live behavior at API version 2026-10-21 is NOT PROVEN (no API key, no paid run) |
@@ -152,7 +161,7 @@ extract_learnings_from_session (autonomy/run.sh) mirrors learnings and decisions
152
161
 
153
162
  - Wall publish (FC-VERIFIED-PR-WITHOUT-ITS-TEST): on a VERIFIED seal only, `publishWall` (`util/check_result.ts`, called from `stages/seal.ts`) makes ONE child commit (trailer `Loki-Wall-Publish: <runId>`) of the SEALED Wall bytes (`runDir/wall`, hash-checked against `wall.files[].sha256`) that verify ran and passed (`publishableWall`). Before writing, the realpath of each Wall file's parent directory must be inside the repo, and an existing file or symlink is removed first. The child commit runs with hooks and signing OFF (the default `git()` call, no `userHooks`), so a pre-commit hook cannot add files or rewrite the Wall bytes. Afterwards the commit must touch exactly the published paths and each committed blob must equal the blob hash of the sealed bytes (computed in process, never read from the worktree); on any mismatch the child is rolled back (`update-ref` HEAD to the product head plus `read-tree`), nothing is published and a NOT PROVEN note is added. The receipt binds the PRODUCT head (head_sha, tree, diff_sha256 are computed before the child commit). A re-seal binds `HEAD^` only when HEAD's message has the exact trailer line for this run, HEAD touches only paths of this run's `wall.files`, and every blob sha256 matches (`wallChild`); a forged trailer is not enough. `util/seal_drift.ts` accepts a moved HEAD after head_sha as benign only when every commit after it is such a Wall publish commit (linear, trailer line for the receipt's run_id, only `wall.files` paths, blob sha256 equal to the sealed one); any commit after head_sha that carries this run's trailer but fails that check is head drift (UNCHECKED). Later commits without the trailer stay under the TEN-GATES-16 sealed-path overlap rule. The PR body gains an "Acceptance tests" section. Commit stage and `backstopCommit` still drop Wall files. `LOKI_COMMIT_WALL=0` restores the old behavior (nothing published).
154
163
 
155
- ### Python anthropic SDK (RQ-105: pinned `anthropic==2.3.0`)
164
+ ### Python anthropic SDK (RQ-105: pinned `anthropic==2.6.0`)
156
165
 
157
166
  `mcp/requirements.txt` pins the Python SDK exactly (was `>=0.40,<1.0.0`; the resolver landed on 0.125.0). Requires Python >=3.10 (Ubuntu 24.04 image ships 3.12). The SDK runs on `httpx2`; no repo code passes `httpx` objects to it. v2.0.0 changes (API version 2026-10-21): `temperature`/`top_p`/`top_k` removed from Messages (no call site uses them), Admin API field renames (unused). Python-side call sites: `memory/managed_memory/client.py` (the only importer) and `providers/managed.py` (lazy import).
158
167