loki-mode 11.64.0 → 11.65.1
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.
- package/SKILL.md +2 -2
- package/VERSION +1 -1
- package/dashboard/__init__.py +1 -1
- package/docs/CLI-REFERENCE.md +1 -1
- package/docs/INSTALLATION.md +1 -1
- package/docs/v10/FAILURE-CLASSES.md +23 -0
- package/loki-ts/dist/loki.js +1062 -1061
- package/mcp/__init__.py +1 -1
- package/package.json +2 -2
- package/packages/control-plane/dist/server.js +3 -0
- package/plugins/loki-mode/.claude-plugin/plugin.json +1 -1
- package/web-app/dist/assets/{AdminPage-Di64fwiB.js → AdminPage-CzprXGah.js} +1 -1
- package/web-app/dist/assets/{Avatar-CJauyhWr.js → Avatar-CEmi3PNw.js} +1 -1
- package/web-app/dist/assets/{Badge-D5695bZ_.js → Badge-CUdJGMZY.js} +1 -1
- package/web-app/dist/assets/{Button-BC0Lk-3m.js → Button-DYBEbkAf.js} +1 -1
- package/web-app/dist/assets/{CockpitPage-6hzpxpB-.js → CockpitPage-BU-mqZuV.js} +1 -1
- package/web-app/dist/assets/{ComparePage-C-Pq5rYE.js → ComparePage-BPPTAMjB.js} +1 -1
- package/web-app/dist/assets/{ErrorBoundary-CGpLqBQe.js → ErrorBoundary-otG3Xz2s.js} +1 -1
- package/web-app/dist/assets/{EvidenceReceiptPanel-Bw1u42Dy.js → EvidenceReceiptPanel-yfjvSPyO.js} +1 -1
- package/web-app/dist/assets/{GitHubIssuesPanel-Bx3VhkEB.js → GitHubIssuesPanel-CMIzpleH.js} +1 -1
- package/web-app/dist/assets/{GitHubPRsPanel-BhWapWn8.js → GitHubPRsPanel-BIavV-d0.js} +1 -1
- package/web-app/dist/assets/{HomePage-MIgxaUT1.js → HomePage-QMjbCW9m.js} +2 -2
- package/web-app/dist/assets/{LoginPage-BDJMvrJm.js → LoginPage--OZUYCmw.js} +1 -1
- package/web-app/dist/assets/{MagicPage-BYNK-ZBI.js → MagicPage-Bq9TIPaP.js} +1 -1
- package/web-app/dist/assets/{MetricsPage-CCMZ9Ge8.js → MetricsPage-CI5ulY7F.js} +1 -1
- package/web-app/dist/assets/{NotFoundPage-TmXUPzDf.js → NotFoundPage-BUJHWyL9.js} +1 -1
- package/web-app/dist/assets/{ProjectPage-YpnSsvBh.js → ProjectPage-Bq5TcpyV.js} +3 -3
- package/web-app/dist/assets/{ProjectsPage-C-I86UWa.js → ProjectsPage-Bs_8rXQS.js} +1 -1
- package/web-app/dist/assets/{SettingsPage-YNMGF1Ax.js → SettingsPage-BdledfWJ.js} +1 -1
- package/web-app/dist/assets/{ShowcasePage-DrgPp_UN.js → ShowcasePage-CzemtvAh.js} +1 -1
- package/web-app/dist/assets/{SystemSettingsPage-8z5mrFlA.js → SystemSettingsPage-CNRXhoNq.js} +1 -1
- package/web-app/dist/assets/{TeamsPage-Jo6CSJQA.js → TeamsPage-MnABLc1N.js} +1 -1
- package/web-app/dist/assets/{TemplatesPage-D0igAalJ.js → TemplatesPage-Dyf8mlyB.js} +1 -1
- package/web-app/dist/assets/{TerminalOutput-BrIjkQL8.js → TerminalOutput-vn6vlv1d.js} +1 -1
- package/web-app/dist/assets/{activity-DuKo65Ev.js → activity-fEjfNRzh.js} +1 -1
- package/web-app/dist/assets/{bell-D1SRMft2.js → bell-C91slyJ4.js} +1 -1
- package/web-app/dist/assets/{bot-Jl99H8QK.js → bot-CBLiaBtU.js} +1 -1
- package/web-app/dist/assets/{check-OkhuVQxI.js → check-RWB4uhl_.js} +1 -1
- package/web-app/dist/assets/{chevron-left-CogYiN5K.js → chevron-left-CVe80F5k.js} +1 -1
- package/web-app/dist/assets/{circle-alert-DtHqfscj.js → circle-alert-CDEASY-Z.js} +1 -1
- package/web-app/dist/assets/{clock-Iv9z6lYM.js → clock-C1X-08pq.js} +1 -1
- package/web-app/dist/assets/{cloud-BG4UkSer.js → cloud-CP8lNvZ7.js} +1 -1
- package/web-app/dist/assets/{code-xml-9L_42qil.js → code-xml-C-8NZF7u.js} +1 -1
- package/web-app/dist/assets/{database-CX4ukDS9.js → database-BHi2bMmW.js} +1 -1
- package/web-app/dist/assets/{dollar-sign-BybCbDuV.js → dollar-sign-DJi13WSe.js} +1 -1
- package/web-app/dist/assets/{file-code-corner-CqB_hyLJ.js → file-code-corner-B-wNWZVG.js} +1 -1
- package/web-app/dist/assets/{file-plus-D66VN3ES.js → file-plus-OPlZ0a5h.js} +1 -1
- package/web-app/dist/assets/{globe-H3JrB4uW.js → globe-DvnnIiQ4.js} +1 -1
- package/web-app/dist/assets/{hammer-DoJF4avZ.js → hammer-D2SvbaNT.js} +1 -1
- package/web-app/dist/assets/{index-Cq5fgwE8.js → index-DDsL5LGJ.js} +3 -3
- package/web-app/dist/assets/{layers-BNTPOLqj.js → layers-hZQhmwQg.js} +1 -1
- package/web-app/dist/assets/{loader-circle-CkV1VhQG.js → loader-circle-BcLdLNfg.js} +1 -1
- package/web-app/dist/assets/{lock-DKG9cO6M.js → lock-Dx9sChI-.js} +1 -1
- package/web-app/dist/assets/{package-Dv5bsBdc.js → package-CXvBHipG.js} +1 -1
- package/web-app/dist/assets/{plus-BCsa5BqB.js → plus-BtjLtn8Z.js} +1 -1
- package/web-app/dist/assets/{refresh-cw-B8qnSstQ.js → refresh-cw-DMJ1zciL.js} +1 -1
- package/web-app/dist/assets/{rotate-ccw-Jd_e2Rt3.js → rotate-ccw-DsRSu4nx.js} +1 -1
- package/web-app/dist/assets/{scroll-text-Cq6K3jXh.js → scroll-text-MpXwN32k.js} +1 -1
- package/web-app/dist/assets/{server-B-txl3RW.js → server-BWErmjq-.js} +1 -1
- package/web-app/dist/assets/{shield-alert-BlpQ453p.js → shield-alert-DVISgc45.js} +1 -1
- package/web-app/dist/assets/{thumbs-up-B2xUkSit.js → thumbs-up-D_0x-xg9.js} +1 -1
- package/web-app/dist/assets/{trash-2-BiXChGeb.js → trash-2-4M7HUrqp.js} +1 -1
- package/web-app/dist/assets/{trending-down-CUaFAnO4.js → trending-down-Y8imtywA.js} +1 -1
- package/web-app/dist/assets/{trending-up-KqC1PcIL.js → trending-up-CVLiKcBq.js} +1 -1
- package/web-app/dist/assets/{upload-CIAk1uos.js → upload-CAuXoW8o.js} +1 -1
- package/web-app/dist/assets/{usePolling-Dw0B6dks.js → usePolling-CdudXBoN.js} +1 -1
- package/web-app/dist/assets/{user-DYcMwtZF.js → user-_lyKW5q2.js} +1 -1
- 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.
|
|
6
|
+
# Loki Mode v11.65.1
|
|
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
|
|
|
@@ -476,4 +476,4 @@ Implemented, planned and deprecated items, with the version each landed in: `ski
|
|
|
476
476
|
|
|
477
477
|
---
|
|
478
478
|
|
|
479
|
-
**v11.
|
|
479
|
+
**v11.65.1 | [Autonomi](https://www.autonomi.dev/) flagship product | core skill**
|
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
11.
|
|
1
|
+
11.65.1
|
package/dashboard/__init__.py
CHANGED
package/docs/CLI-REFERENCE.md
CHANGED
|
@@ -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.
|
|
3
|
+
Generated from `loki-ts/src/cli/registry.ts` by `scripts/generate-stale-zero.sh` for v11.65.1. 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 |
|
package/docs/INSTALLATION.md
CHANGED
|
@@ -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.
|
|
5
|
+
**Version:** v11.65.1
|
|
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
|
|
|
@@ -1556,6 +1556,13 @@ L0 review rule (ENGINE-LAWS.md L0): a fix that adds an `if` or a regex about the
|
|
|
1556
1556
|
- Mechanism: stop_restore.ts dropEmptyRunBranch, called once from the supervisor after the backstop commit, deletes the branch (update-ref -d with the expected tip) only when the tip equals intake's base_sha, after restoreBranch's plain no-force checkout; run_summary.ts prints `Nothing to accept` for 0 files.
|
|
1557
1557
|
- Fixture: tests/engine10/supervisor_signal.test.ts "supervisor: a run that committed nothing" (empty, committed positive control, user-switched, dirty, non-loki name) and tests/util/run_summary.test.ts (0-file Decide block).
|
|
1558
1558
|
|
|
1559
|
+
## FC-TEST-STAGE-CREATED-DIR-TURNS-NULL-GIT-INTO-SPAWNS The route matrix guard exceeded its 120s budget on clean main because its stages created the fake repo directory, so every safeGit call spawned real git instead of failing in 2ms
|
|
1560
|
+
- User-visible vs raw: raw (a guard test red or hung at a fixed budget; no user-visible symptom, but the L1 routing guard and its 34-case mutation proof could not finish, so the moat check was effectively off).
|
|
1561
|
+
- Law broken: a guard must finish in seconds and its cost must not depend on machine load.
|
|
1562
|
+
- Cause (measured): on clean origin/main 04dfb3074 the test timed out at 120000ms (load 21). Section timing showed the machine cases at about 0.5s each (64 per matrix, 4 more matrices in the override snapshots). Per stage: fix spent 64ms in currentDiff and 62-113ms in treeFingerprint. safeGit on a missing cwd measured 2.2ms per call and on an existing non-git directory 86ms per call. Stages create `<runDir>/repo/.loki`, which turned the missing directory into an existing one after the first stage.
|
|
1563
|
+
- Siblings swept: other makeCtx users in tests/engine10/route_matrix_lib.ts all go through the same helper; the mutation proof (route_matrix_mutation.test.ts) runs the same matrix once per mutation, so it had the same cost.
|
|
1564
|
+
- Mechanism: makeCtx removes `<runDir>/repo` at creation, on every stage.started emit and before each fake session, so git on the fake repo path fails fast with the same null result. The matrix judges models, not git.
|
|
1565
|
+
- Fixture: tests/engine10/route_matrix.test.ts (15s total at load 34 against more than 120s before).
|
|
1559
1566
|
## FC-GROUP-REFUSES-LOCAL-TASK-WITHOUT-ORIGIN A multi-part prompt in a repo with no owner/repo origin exits NOT PROVEN with no unit started, so a task that needs no remote cannot run at all
|
|
1560
1567
|
- User-visible vs raw: user-visible. `loki start` on a two-file prompt in a fresh local repo printed "NOT PROVEN: group run needs an origin remote of the form owner/repo; no unit was started" and exited 1 in 0.2 s. The bench (fd-2-two-module-untested, loki arm, 2026-10-23) scored it a failure although Loki never attempted the task.
|
|
1561
1568
|
- Law broken: a path that needs a remote only for its launcher must be chosen only when the remote exists; a local task never fails because of a capability it did not need (verified-unless-it-cannot-be).
|
|
@@ -1694,6 +1701,22 @@ L0 review rule (ENGINE-LAWS.md L0): a fix that adds an `if` or a regex about the
|
|
|
1694
1701
|
- Mechanism: the P12-07n test takes an explicit 60000ms bound; no assertion changed.
|
|
1695
1702
|
- Fixture: tests/engine10/fix_resume.test.ts P12-07n itself; it fails at 5000ms on origin/main debc7e843 under load and passes with the bound.
|
|
1696
1703
|
|
|
1704
|
+
## FC-STAGE-DIFFSTAT-CONCURRENT-WALL-NOT-MET The per-stage diff_stat is journaled for wall, implement and fix through runStage, but the concurrent wall (split) path journals none
|
|
1705
|
+
- User-visible vs raw: user-visible in the run replay scrubber (#422): the wall stage of a concurrent run shows its line counts as unmeasured. NOT MET, deliberately not fixed in pd/stage-diffstat.
|
|
1706
|
+
- Law: a value the journal cannot measure is absent, never a fabricated zero (the diff_stat key is omitted, not 0).
|
|
1707
|
+
- Cause: the split wall author runs beside implement and installs into a base copy, so a before/after tree window around it would report implement's changes as wall's.
|
|
1708
|
+
- Siblings swept: the other tree-writing stages (implement, fix, non-split wall) all go through runStage and are covered; plan, verify, commit, seal, pr and deep write no tracked files by design.
|
|
1709
|
+
- Mechanism (open): measure the install itself (the diff of the base copy before and after install) inside installWallJob.
|
|
1710
|
+
- Fixture: none yet; tests/engine10/machine.test.ts covers the covered stages only.
|
|
1711
|
+
|
|
1712
|
+
## FC-E2E-A130-DEFAULT-TIMEOUT-UNDER-LOAD Two e2e tests fail at bun's 5000ms default at load 30 and above, on origin/main as well
|
|
1713
|
+
- User-visible vs raw: raw. A red test blocks the gate it runs in.
|
|
1714
|
+
- Law: a test that spawns the engine carries a load-aware timeout, never bun's 5000ms default (sibling of FC-FIXRESUME-LOOP-TEST-DEFAULT-TIMEOUT).
|
|
1715
|
+
- Cause (measured): tests/engine10/e2e.test.ts "A-130 round 2: a tampered event log is TAMPERED..." and "A-130 quiet by default..." failed at 5.1 to 6.4s on a clean origin/main worktree (d7ee510e4) at load 29 to 43; the other 9 tests in the file pass.
|
|
1716
|
+
- Siblings swept: not yet; every test in tests/engine10 that spawns the CLI without an explicit timeout.
|
|
1717
|
+
- Open question: should these use setLoadAwareTimeout from tests/preload.ts instead of a fixed bound? Not fixed in this slice.
|
|
1718
|
+
- Fixture: bun test tests/engine10/e2e.test.ts at load 30 or higher.
|
|
1719
|
+
|
|
1697
1720
|
## FC-P9-DYNAMIC-IMPORT-FALSE-POSITIVE Moat case P9.allowtoken-only-fetch-callers went red on main for a dynamic import of reviewerGitEnv in cli.ts, which is not an allowToken caller
|
|
1698
1721
|
- User-visible vs raw: raw (a red moat case on main; no user-facing message).
|
|
1699
1722
|
- Law: allowToken reaches safeGit only from the two fetch callers (FC-25c); the guard must fail closed on anything that can hide a caller, and must not fail on code that provably cannot reach the opt-in.
|