loki-mode 11.141.1 → 11.141.2
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 +3 -0
- package/loki-ts/dist/loki.js +1745 -1732
- package/mcp/__init__.py +1 -1
- package/package.json +2 -2
- package/packages/control-plane/dist/server.js +802 -528
- package/plugins/loki-mode/.claude-plugin/plugin.json +1 -1
- package/web-app/dist/assets/{AdminPage-CyrZ0lVQ.js → AdminPage-DSbRbe0v.js} +1 -1
- package/web-app/dist/assets/{Avatar-HVsqbJDy.js → Avatar-C8BD5DjM.js} +1 -1
- package/web-app/dist/assets/{Badge-Cl4d3UiW.js → Badge-ybZgUI7G.js} +1 -1
- package/web-app/dist/assets/{Button-DK96_8fz.js → Button-BxnJjf8y.js} +1 -1
- package/web-app/dist/assets/{CockpitPage-trGqUQG8.js → CockpitPage-BvFUPj_0.js} +1 -1
- package/web-app/dist/assets/{ComparePage-DAH2WKoS.js → ComparePage-DFwXFM-Q.js} +1 -1
- package/web-app/dist/assets/{ErrorBoundary-YLMvxCBX.js → ErrorBoundary-BwP9fkOB.js} +1 -1
- package/web-app/dist/assets/{EvidenceReceiptPanel-ChbaWlfG.js → EvidenceReceiptPanel-UtZITPZE.js} +1 -1
- package/web-app/dist/assets/{GitHubIssuesPanel-Cy-a21mI.js → GitHubIssuesPanel-DxODDLHg.js} +1 -1
- package/web-app/dist/assets/{GitHubPRsPanel-DZxyuRJn.js → GitHubPRsPanel-Cusw3eTc.js} +1 -1
- package/web-app/dist/assets/{HomePage-CitCe7Hp.js → HomePage-B6v2AlNd.js} +2 -2
- package/web-app/dist/assets/{LoginPage-D77qV6GG.js → LoginPage-D1mdogAE.js} +1 -1
- package/web-app/dist/assets/{MagicPage-ls3_mi0r.js → MagicPage-DdvQeS91.js} +1 -1
- package/web-app/dist/assets/{MetricsPage-BRiWJxwM.js → MetricsPage-BKd3XFIG.js} +1 -1
- package/web-app/dist/assets/{NotFoundPage-zg2L2XVX.js → NotFoundPage-kERfZ3m9.js} +1 -1
- package/web-app/dist/assets/{ProjectPage-CZzWE-4p.js → ProjectPage-DmyBN_Bx.js} +3 -3
- package/web-app/dist/assets/{ProjectsPage-VUcvC0NC.js → ProjectsPage-Do8fG_P4.js} +1 -1
- package/web-app/dist/assets/{SettingsPage-CHVQJ19x.js → SettingsPage-sH_31XYz.js} +1 -1
- package/web-app/dist/assets/{ShowcasePage-Bg6grTXX.js → ShowcasePage-CMYgZaKq.js} +1 -1
- package/web-app/dist/assets/{SystemSettingsPage-DsRZ0-xE.js → SystemSettingsPage-ByVNwqn_.js} +1 -1
- package/web-app/dist/assets/{TeamsPage-CaTemCxx.js → TeamsPage-C0FGS8r8.js} +1 -1
- package/web-app/dist/assets/{TemplatesPage-BhaJA7pC.js → TemplatesPage-BRcX6l3n.js} +1 -1
- package/web-app/dist/assets/{TerminalOutput-BfOkrKSl.js → TerminalOutput-Ce6QWrJf.js} +1 -1
- package/web-app/dist/assets/{activity-DbQIWo1H.js → activity-Ce1SB-cf.js} +1 -1
- package/web-app/dist/assets/{bell-BIxiZZLC.js → bell-DADtISI_.js} +1 -1
- package/web-app/dist/assets/{bot-B29JFAKe.js → bot-BvDEf7yA.js} +1 -1
- package/web-app/dist/assets/{check-eFrYlRX2.js → check-CLVUAlWY.js} +1 -1
- package/web-app/dist/assets/{chevron-left-B8Y6dg5E.js → chevron-left-2ROPERNV.js} +1 -1
- package/web-app/dist/assets/{circle-alert-DBBzGsvI.js → circle-alert-RkWs-ah6.js} +1 -1
- package/web-app/dist/assets/{clock-Dq4VdmRL.js → clock-B6TJX470.js} +1 -1
- package/web-app/dist/assets/{cloud-By5Dz28l.js → cloud-D-BwCi5S.js} +1 -1
- package/web-app/dist/assets/{code-xml-BuxW3PKD.js → code-xml-DDqISZ2a.js} +1 -1
- package/web-app/dist/assets/{database-8yPYngba.js → database-BqxJRAWO.js} +1 -1
- package/web-app/dist/assets/{dollar-sign-CnMURBiL.js → dollar-sign-DVG1lkwH.js} +1 -1
- package/web-app/dist/assets/{file-code-corner-DvauxYVA.js → file-code-corner-DeAq0OFO.js} +1 -1
- package/web-app/dist/assets/{file-plus-BRtK7xDy.js → file-plus-BkdnoJN-.js} +1 -1
- package/web-app/dist/assets/{globe-DSzvEwzA.js → globe-BGOT-GKH.js} +1 -1
- package/web-app/dist/assets/{hammer-C-0bgkhm.js → hammer-Cb-LNfqJ.js} +1 -1
- package/web-app/dist/assets/{index-XQ-bFGQE.js → index-DkpuEwul.js} +3 -3
- package/web-app/dist/assets/{layers-CHtZrk_M.js → layers-DhpEAhRT.js} +1 -1
- package/web-app/dist/assets/{loader-circle-DDIRImbs.js → loader-circle-CCV48bQT.js} +1 -1
- package/web-app/dist/assets/{lock-DMYEb6iD.js → lock-Cn6FyKkM.js} +1 -1
- package/web-app/dist/assets/{package-Vh6ODRFi.js → package-IeC5AvCW.js} +1 -1
- package/web-app/dist/assets/{plus-DdbM86Sk.js → plus-Dd3wYQ1s.js} +1 -1
- package/web-app/dist/assets/{refresh-cw-DN7fyy51.js → refresh-cw-Cfs25NI1.js} +1 -1
- package/web-app/dist/assets/{rotate-ccw-_LiXn4f3.js → rotate-ccw-CJKx2Gmj.js} +1 -1
- package/web-app/dist/assets/{scroll-text-iOYkzHRL.js → scroll-text-DO0KqepF.js} +1 -1
- package/web-app/dist/assets/{server-C4fDFqum.js → server-DFEgI3PJ.js} +1 -1
- package/web-app/dist/assets/{shield-alert-BrlFKF10.js → shield-alert-Ck3diB6S.js} +1 -1
- package/web-app/dist/assets/{thumbs-up-CELA6jYM.js → thumbs-up-ChkPDQWP.js} +1 -1
- package/web-app/dist/assets/{trash-2-BFh0_4hy.js → trash-2-Bfe0D1gc.js} +1 -1
- package/web-app/dist/assets/{trending-down-BuhHSUh0.js → trending-down-DEZOctZO.js} +1 -1
- package/web-app/dist/assets/{trending-up-DdM35X0R.js → trending-up-CmwiS2AA.js} +1 -1
- package/web-app/dist/assets/{upload-CylWmA1t.js → upload-DLn73BbB.js} +1 -1
- package/web-app/dist/assets/{usePolling-BS-LpZFV.js → usePolling--_JycqXa.js} +1 -1
- package/web-app/dist/assets/{user-BqgsBztl.js → user-Diby1Rt7.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.141.
|
|
6
|
+
# Loki Mode v11.141.2
|
|
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.141.
|
|
464
|
+
**v11.141.2 | [Autonomi](https://www.autonomi.dev/) flagship product | core skill**
|
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
11.141.
|
|
1
|
+
11.141.2
|
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.141.
|
|
3
|
+
Generated from `loki-ts/src/cli/registry.ts` by `scripts/generate-stale-zero.sh` for v11.141.2. 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.141.
|
|
5
|
+
**Version:** v11.141.2
|
|
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
|
|
|
@@ -210,6 +210,9 @@ These knobs together implement the RARV-C (closure) loop: findings -> override c
|
|
|
210
210
|
- `LOKI_E10_FORMAT_RESOLVE` -- on by default, `0` opts out (J1; `loki-ts/src/runner/repo_profile.ts` detectFormatters / runFormattersRecord, called by the commit stage through `e10ext/commit_filter.ts` formatChangedRecord). The repo's own formatter is resolved the way verify resolves its linter: ruff through `util/check_result.ts` resolveTool (the project `.venv` or `venv`, then `uv run`, then PATH); prettier and biome stay repo-local binaries only. Only files the run added or modified and kept are formatted, and a modified file whose BASE text is not formatter-clean (the formatter's stdin mode prints something else, or fails) is left alone, so the run never reformats lines it did not write. The commit stage records `format: [{tool, cmd, formatted, skipped, error}]`, so a missing binary is visible. On the tuning bench the bare `ruff` argv found no binary (the repo's ruff is `.venv/bin/ruff`), nothing was formatted, and 11 judge fails were formatting. `=0` restores the bare argv with no base check.
|
|
211
211
|
- `LOKI_E10_FORMAT_FALLBACK` -- on by default, `0` opts out (FF; `pickRunnable` in `loki-ts/src/runner/repo_profile.ts`, fallbacks from `toolFallbacks` in `loki-ts/src/util/check_result.ts`, which verify's `lintFallbacks` now also uses). The commit-stage ruff formatter resolves exactly like verify's linter: the J1 resolution first (project venv, `uv run` with a uv.lock, PATH), and when that command cannot start (a spawn error, or a non-zero exit on the base text, such as `uv run -- ruff` with no ruff in the task venv), `uvx ruff`, then the repo venv's `python -m ruff`, unpinned exactly as the linter runs them. The first variant whose stdin form runs on one file's base text is used for every file; the J1 base-clean rule is unchanged (a file whose base text the chosen formatter would change is never formatted), and the format record carries `fallback` naming both commands. The failure: lint passed through `uvx ruff` while the formatter had no fallback, skipped every file ("exited 2 on the base text", "not runnable (ENOENT)"), and the judge failed style.
|
|
212
212
|
- `LOKI_E10_RANKED_REMEDY` -- on by default, `0` opts out (`loki-ts/src/features/spec_ambiguity.ts` rankedRemedy, `loki-ts/src/util/conflict_resume.ts` resumeForRemedy). Intake extracts the issue's first-ranked remedy deterministically: a numbered list of at least two items under a "Possible / Suggested / Proposed fix or solution" heading or intro, or after "in order of preference" / "preferred"; the item marked preferred (and not a fallback) wins over item 1. It is stored as `intake.ranked_remedy`, never in `assumptions`. The implement brief names it after the task block (per-task text, outside the cache-stable prefix; `COVERAGE_FOLD` is unchanged) as the first site of the coverage check. After a clean LOKI_DONE with a non-empty diff, one tool-less Haiku check (`LOKI_E10_RANKED_REMEDY_MODEL`, default claude-haiku-5-5; the diff capped at 12,000 chars, at most 50 output tokens, thinking off) answers IMPLEMENTED or MISSING; only a parsed MISSING starts one targeted resume (`-rr`), and only a clean LOKI_DONE reply replaces the first result. The implement stage records `ranked_remedy: {check, usd, resumed}`. It fires only when a ranked list exists: on the 20 tuning tasks that was one task, where the runs had implemented the second-ranked remedy instead of the first.
|
|
213
|
+
- `LOKI_AWE_DIFF_EARLY` -- on by default, `0` opts out (presentation only; `loki-ts/src/e10ext/liveline.ts` CandidateView, fed by the quiet LiveLine and the `--verbose` event tail in `engine10/supervisor.ts`). The moment implement's `stage.completed` arrives, `loki start` prints the candidate diff (intake `base_sha` against a temp-index snapshot of the tree, limited to implement's `diff_stat` paths, at most 40 lines, control characters stripped and secrets redacted) under the header "Candidate diff (candidate, not yet checked)". Each verify `test.result` then ticks in under it with the same label, and the status line keeps the label, until a verify stage completes ("Candidate checked by verify: N passed, M failed"). A verify that stops or is skipped prints that the candidate is still not checked. No stage moves and no model is called.
|
|
214
|
+
- `LOKI_AWE_PROOF_CARD` -- on by default, `0` opts out (`loki-ts/src/util/receipt_surface.ts` proofCardOf / renderAweProofLine / renderAweProofCard, printed by `engine10/supervisor.ts`: the default output carries it as one line, "Proof: yes, <test> fails on your code and passes after the change" or "Proof: no / not run (<why>)", inside the D48 8-line cap (its own line while it fits, else folded into the last line by `util/run_summary.ts` withFoldLine); the full card prints after the summary only under `--verbose`; never in `--json` or `--quiet`; the PR body's "The proof" section in `e10ext/reviewer_body.ts` proofSection). The full card reads from receipt.json only: "Before: <test> fails on your code with: <lines>. After: passes", where the lines are the base run's own output (`mutation_before`, captured by `RealBaseTestRunner` through `util/check_result.ts` proofExcerpt in `util/mutation_proof.ts`; redacted, local paths cut to file names, "output line not recorded" when none matched), then the receipt's NOT PROVEN list. The card is green only for `mutation_outcome` "yes" with every proving file passing in verify; "no", inconclusive, an absent proof (every non-VERIFIED run) and a tampered run read "not shown" or "not run".
|
|
215
|
+
- `LOKI_AWE_LIVE_COST` -- on by default, `0` opts out (`loki-ts/src/e10ext/liveline.ts` LiveLine.text; `e10ext/reviewer_body.ts` conventionsSection / costSection, fed the sealed receipt by `stages/pr.ts`). The quiet status line adds the run's elapsed time and its spend so far (the same `spendSoFar` the stage lines use, recomputed on each `cost` event; nothing priced yet reads "spend not measured yet"). The PR body adds "Conventions followed" (receipt `conventions`: the repo's formatter on the files it rewrote, the release note added) and "Cost" (receipt `cost.usd`; null reads "not measured", a partly priced run reads partial, an unmetered CLI zero is never $0.00). It shows this run's own cost only, never a comparison with another model.
|
|
213
216
|
- `LOKI_E10_PACK_DIET` -- the implement context keeps only the code the task names plus its direct callers and callees (no fill up to the budget). `=0` restores the full pack. Code: `packDietEnabled` in `loki-ts/src/util/context_pack.ts`.
|
|
214
217
|
- `LOKI_E10_PRECEDENT` -- sibling-implementation precedent is added to open either/or choices in the task. `=0` (or `off`/`false`) removes it. Code: `resolveChoices` in `loki-ts/src/features/spec_ambiguity.ts`.
|
|
215
218
|
- `LOKI_E10_DEFECT_PIN` -- existing assertions that pin the wrong value the issue reports are listed in the implement brief, and a pure value replacement of exactly such an assertion is not counted as a weakened test (it never counts as fail-then-pass proof, and the receipt always lists the rewrite). `=0` turns both off. Code: `findDefectPins` in `loki-ts/src/e10ext/context.ts`, `pinLift` in `loki-ts/src/engine10/stages/seal.ts`.
|