loki-mode 11.134.0 → 11.136.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.
- 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/dev/architecture-reference.md +2 -0
- package/loki-ts/dist/loki.js +1744 -1636
- package/mcp/__init__.py +1 -1
- package/package.json +2 -2
- package/packages/control-plane/dist/server.js +83307 -61369
- package/plugins/loki-mode/.claude-plugin/plugin.json +1 -1
- package/web-app/dist/assets/{AdminPage-AOy5C9cy.js → AdminPage-C6adccvP.js} +1 -1
- package/web-app/dist/assets/{Avatar-BI4-JdsP.js → Avatar-Be4Wbli8.js} +1 -1
- package/web-app/dist/assets/{Badge-OmARjQPm.js → Badge-jwLMgq5k.js} +1 -1
- package/web-app/dist/assets/{Button-BeP26Cgj.js → Button-BssyRZUh.js} +1 -1
- package/web-app/dist/assets/{CockpitPage-DJwqo5Rm.js → CockpitPage-GqmXBBb-.js} +1 -1
- package/web-app/dist/assets/{ComparePage-BGZ2iYdF.js → ComparePage-Dtq-UgNR.js} +1 -1
- package/web-app/dist/assets/{ErrorBoundary-Dbs5r5K1.js → ErrorBoundary-D-e3T6yR.js} +1 -1
- package/web-app/dist/assets/{EvidenceReceiptPanel-pg3a2beR.js → EvidenceReceiptPanel-E9EkUoG2.js} +1 -1
- package/web-app/dist/assets/{GitHubIssuesPanel-D0RatxD6.js → GitHubIssuesPanel-Bte0NO0Y.js} +1 -1
- package/web-app/dist/assets/{GitHubPRsPanel-DfQ7MVSL.js → GitHubPRsPanel-B0HlQ_Zj.js} +1 -1
- package/web-app/dist/assets/{HomePage-BdaLImWO.js → HomePage-CNtlRzJB.js} +2 -2
- package/web-app/dist/assets/{LoginPage-BXdwXH82.js → LoginPage-Cqp66Vvo.js} +1 -1
- package/web-app/dist/assets/{MagicPage-Cuh52mv2.js → MagicPage-B3_rzTz2.js} +1 -1
- package/web-app/dist/assets/{MetricsPage-C24UT8XM.js → MetricsPage-tbeTZ-qh.js} +1 -1
- package/web-app/dist/assets/{NotFoundPage-C8yYGwfv.js → NotFoundPage-FO9ykBCI.js} +1 -1
- package/web-app/dist/assets/{ProjectPage-CORaFhKN.js → ProjectPage-CSkJl5gh.js} +3 -3
- package/web-app/dist/assets/{ProjectsPage-B5gwEo-5.js → ProjectsPage-CjyiFUCP.js} +1 -1
- package/web-app/dist/assets/{SettingsPage-Djfp-Skm.js → SettingsPage-C0yEKjaj.js} +1 -1
- package/web-app/dist/assets/{ShowcasePage-LCPNglfa.js → ShowcasePage-Ckay-Yvk.js} +1 -1
- package/web-app/dist/assets/{SystemSettingsPage-D8OIz-82.js → SystemSettingsPage-CR_Jvr2W.js} +1 -1
- package/web-app/dist/assets/{TeamsPage-BQN8-64t.js → TeamsPage-N1jz8FXS.js} +1 -1
- package/web-app/dist/assets/{TemplatesPage-g0ullN3m.js → TemplatesPage-ComK43Ff.js} +1 -1
- package/web-app/dist/assets/{TerminalOutput-CPtsq3Un.js → TerminalOutput-WBCIHbZz.js} +1 -1
- package/web-app/dist/assets/{activity-DgKQIzpX.js → activity-Cy90DoWb.js} +1 -1
- package/web-app/dist/assets/{bell-DBicslQ4.js → bell-tYHXaTuE.js} +1 -1
- package/web-app/dist/assets/{bot-CZga7Eav.js → bot-BLu-0LPF.js} +1 -1
- package/web-app/dist/assets/{check-DhOnABPW.js → check-BcweyzZ4.js} +1 -1
- package/web-app/dist/assets/{chevron-left-DEndbA-w.js → chevron-left-DUPUjMJd.js} +1 -1
- package/web-app/dist/assets/{circle-alert-lDro9_ZR.js → circle-alert-B_ojmfqM.js} +1 -1
- package/web-app/dist/assets/{clock-Nx9pQ2hc.js → clock-m32ZSLUs.js} +1 -1
- package/web-app/dist/assets/{cloud-DG7xrSvy.js → cloud-C1Byi5Z7.js} +1 -1
- package/web-app/dist/assets/{code-xml-KWAZa1zO.js → code-xml-BYb07UhQ.js} +1 -1
- package/web-app/dist/assets/{database-VSVYuLg7.js → database-D8MKfM6B.js} +1 -1
- package/web-app/dist/assets/{dollar-sign-D3R1Pbaj.js → dollar-sign-k6TU8Phc.js} +1 -1
- package/web-app/dist/assets/{file-code-corner-CnvDistd.js → file-code-corner-GsJkFOac.js} +1 -1
- package/web-app/dist/assets/{file-plus-Zic9cJ2G.js → file-plus-C3-ro2eH.js} +1 -1
- package/web-app/dist/assets/{globe-BTpfJk7w.js → globe-Z8_WYZGV.js} +1 -1
- package/web-app/dist/assets/{hammer-KcPxE-3u.js → hammer-RrstCcPR.js} +1 -1
- package/web-app/dist/assets/{index-BCMSPITU.js → index-BvtJzBXk.js} +3 -3
- package/web-app/dist/assets/{layers-Dv-_517U.js → layers-Bky8GsxX.js} +1 -1
- package/web-app/dist/assets/{loader-circle-CV8EcOCg.js → loader-circle-Y50KLMdA.js} +1 -1
- package/web-app/dist/assets/{lock-q12U5v6R.js → lock-CACc7iCW.js} +1 -1
- package/web-app/dist/assets/{package-DqP7yyRJ.js → package-B5uMlJo0.js} +1 -1
- package/web-app/dist/assets/{plus-DxQCg1pa.js → plus-LagskZhy.js} +1 -1
- package/web-app/dist/assets/{refresh-cw-Cbkgg1fh.js → refresh-cw-BEdg5SxA.js} +1 -1
- package/web-app/dist/assets/{rotate-ccw-q_7AWb75.js → rotate-ccw-CS8X1kBR.js} +1 -1
- package/web-app/dist/assets/{scroll-text-BzoNtRsy.js → scroll-text-Y31_O61e.js} +1 -1
- package/web-app/dist/assets/{server-BfQmg6Tn.js → server-CxrbfjsR.js} +1 -1
- package/web-app/dist/assets/{shield-alert-Bno7iL7E.js → shield-alert-CmpgKSrn.js} +1 -1
- package/web-app/dist/assets/{thumbs-up-Bgj4umeI.js → thumbs-up-DDfqDif3.js} +1 -1
- package/web-app/dist/assets/{trash-2-B688tVvg.js → trash-2-C5CLwrqT.js} +1 -1
- package/web-app/dist/assets/{trending-down-DyUWX8DH.js → trending-down-DCKyFq-D.js} +1 -1
- package/web-app/dist/assets/{trending-up-OSypvezX.js → trending-up-Bc5H5ddA.js} +1 -1
- package/web-app/dist/assets/{upload-6V09asJt.js → upload-kWUSyBn8.js} +1 -1
- package/web-app/dist/assets/{usePolling-qDyOZYIs.js → usePolling-CmzKQE3P.js} +1 -1
- package/web-app/dist/assets/{user-pxKBVF-F.js → user-D0pA6XBT.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.136.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.
|
|
464
|
+
**v11.136.0 | [Autonomi](https://www.autonomi.dev/) flagship product | core skill**
|
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
11.
|
|
1
|
+
11.136.0
|
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.136.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 |
|
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.136.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
|
|
|
@@ -123,6 +123,8 @@ These knobs together implement the RARV-C (closure) loop: findings -> override c
|
|
|
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
124
|
- `LOKI_E10_SCAFFOLD=1` -- release-note fragment writer (off by default). Right before the first verify, when the implement stage ended `done` and the repo keeps changesets (`.changeset/config.json`) or towncrier fragments, and the diff carries no fragment, Loki writes one with no model call: the package of each changed file (public workspace packages only, config `ignore` honored) or `<issue>.<type><ext>` named from the task number and the repo's own fragments, the body from the task title plus one sentence of the implement summary, quote style and trailing period from the newest real fragment. Nothing is written when the task says no changelog, the title is an internal change (chore, refactor, docs, ci, deps), only tests or docs changed, or the type or issue number is unclear; `changeset status` / `towncrier build --draft` remove a fragment they reject. Emits `scaffold.applied`. Code: `writeReleaseNoteFragment` in `loki-ts/src/project_model/conventions.ts`; tests in `tests/min/context-pack.sh`.
|
|
125
125
|
- `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.)
|
|
126
|
+
- `LOKI_E10_PATCH` -- the implement patch protocol (`loki-ts/src/features/patch_protocol.ts`, wired in `engine10/stages/implement.ts`). On by default; `0`/`off`/`false` turns it off. Lean path only (plan skipped, router off, no session to continue, claude provider, a named model). One tool-less call (`runner/sdk_invoker.ts` toolLessCall, thinking off; `claude -p --tools ""` under `LOKI_E10_INVOKER=cli`) gets a dossier: the context pack's code, the heads and test names of the tests covering it, and the check command. It answers with FILE/SEARCH/REPLACE edit blocks. Before anything is written the harness refuses edits to lockfiles the task does not ask to change, test-runner and compiler configs (`features/runner_config.ts` RUNNER_CONFIGS), Wall tests, `.git`, `.loki`, paths outside the repo or through any symlink (realpath check), and an edit that changes nothing; the rest applies all-or-nothing (an exact, unique SEARCH match). The harness runs the targeted tests with verify's runner. At most one repair call follows (a red check with a failure digest and the edited regions, a rejected or missed edit, a NEED read, or a green fix with no regression test, which gets a test-only turn that can never make the green tree worse). Green means a check ran and passed and at least one of the checks is a test that existed before the change (the model's own new test alone never counts); the agentic session is then skipped and verify and seal judge the tree as usual. Any other end, including an exception anywhere in the protocol, restores every file the protocol wrote and today's agentic session runs, so the outcome floor is unchanged. A failed patch's spend still lands in the receipt total. Cost lands in the child ledger under phase `implement-patch`; the stage data carries `implement.patch` (status, calls, applied, refused, restored, usd, check) and the run dir keeps `implement-patch-<n>.txt` (prompt and reply).
|
|
127
|
+
- `LOKI_E10_CLAIM_CHECK` -- on by default, `0` opts out (only with `LOKI_E10_COVERAGE_RESUME`; one extra session only when a claim is found absent): the coverage turn also asks for `SITE <path>:<line>: changed|unchanged` lines; a site claimed changed whose line is byte-identical to the base (claimed_change_absent) is re-asked once (`-c2`), recorded as `implement.claim_absent`. With `0`, the coverage turn is exactly as before.
|
|
126
128
|
- `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.
|
|
127
129
|
|
|
128
130
|
## Worktree substrate (autonomy/lib/worktree_prep.py)
|