loki-mode 11.28.0 → 11.30.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 (69) hide show
  1. package/SKILL.md +2 -2
  2. package/VERSION +1 -1
  3. package/autonomy/run.sh +11 -3
  4. package/dashboard/__init__.py +1 -1
  5. package/docs/CLI-REFERENCE.md +1 -1
  6. package/docs/INSTALLATION.md +1 -1
  7. package/docs/v10/roadmap-10/02-cost.md +0 -1
  8. package/loki-ts/dist/loki.js +891 -891
  9. package/mcp/__init__.py +1 -1
  10. package/package.json +2 -2
  11. package/packages/control-plane/dist/server.js +2 -2
  12. package/plugins/loki-mode/.claude-plugin/plugin.json +1 -1
  13. package/web-app/dist/assets/{AdminPage-p_FOSChj.js → AdminPage-DkjhNZud.js} +1 -1
  14. package/web-app/dist/assets/{Avatar-kPbnVSnp.js → Avatar-B9GitSBT.js} +1 -1
  15. package/web-app/dist/assets/{Badge-7HOAlSmD.js → Badge-BIflgmFX.js} +1 -1
  16. package/web-app/dist/assets/{Button-nEzfOd6t.js → Button-ByPrmgPF.js} +1 -1
  17. package/web-app/dist/assets/{CockpitPage-CLGpDqzU.js → CockpitPage-WTNUEnlf.js} +1 -1
  18. package/web-app/dist/assets/{ComparePage-VSc8jdPZ.js → ComparePage-COUEf3V3.js} +1 -1
  19. package/web-app/dist/assets/{ErrorBoundary-8V3xFR2w.js → ErrorBoundary-DSgfSYky.js} +1 -1
  20. package/web-app/dist/assets/{EvidenceReceiptPanel-DLsB5yeP.js → EvidenceReceiptPanel-B7_H7q0F.js} +1 -1
  21. package/web-app/dist/assets/{GitHubIssuesPanel-DoHVuVGQ.js → GitHubIssuesPanel-B_GPTfc_.js} +1 -1
  22. package/web-app/dist/assets/{GitHubPRsPanel-Dro5U2e0.js → GitHubPRsPanel-QRDcJwjF.js} +1 -1
  23. package/web-app/dist/assets/{HomePage-DtQDYN79.js → HomePage-CEm5hPnR.js} +2 -2
  24. package/web-app/dist/assets/{LoginPage-Djj8-v0e.js → LoginPage-DP8H8rkt.js} +1 -1
  25. package/web-app/dist/assets/{MagicPage-z-2e0Bq0.js → MagicPage-efNAaa82.js} +1 -1
  26. package/web-app/dist/assets/{MetricsPage-zzq1gPiQ.js → MetricsPage-XtuIVnUs.js} +1 -1
  27. package/web-app/dist/assets/{NotFoundPage-BBvHqqIK.js → NotFoundPage-3AOnA--f.js} +1 -1
  28. package/web-app/dist/assets/{ProjectPage-Ba9RoN5L.js → ProjectPage-DyiVcIPt.js} +3 -3
  29. package/web-app/dist/assets/{ProjectsPage-DtGSLSXP.js → ProjectsPage-DrXvPa6n.js} +1 -1
  30. package/web-app/dist/assets/{SettingsPage-C7XFiz3W.js → SettingsPage-DWlwKjnp.js} +1 -1
  31. package/web-app/dist/assets/{ShowcasePage-B0KMTAOH.js → ShowcasePage-DwsoC-kR.js} +1 -1
  32. package/web-app/dist/assets/{SystemSettingsPage-fQtr58PY.js → SystemSettingsPage-Cgj3SGnd.js} +1 -1
  33. package/web-app/dist/assets/{TeamsPage-BmXmccj8.js → TeamsPage-fWdlStjN.js} +1 -1
  34. package/web-app/dist/assets/{TemplatesPage-CxFXcDZ8.js → TemplatesPage-CpBSHndi.js} +1 -1
  35. package/web-app/dist/assets/{TerminalOutput-363AdYGr.js → TerminalOutput-Bx5DtPW6.js} +1 -1
  36. package/web-app/dist/assets/{activity-BbZPtMKl.js → activity-M2vDaU2c.js} +1 -1
  37. package/web-app/dist/assets/{bell-jmyGaHmO.js → bell-D27DfMAn.js} +1 -1
  38. package/web-app/dist/assets/{bot-bmi00zF9.js → bot-DyXQhHKj.js} +1 -1
  39. package/web-app/dist/assets/{check-F6TGhF0l.js → check-5NaoM9LM.js} +1 -1
  40. package/web-app/dist/assets/{chevron-left-DC7nj1gA.js → chevron-left-Plh1egal.js} +1 -1
  41. package/web-app/dist/assets/{circle-alert-DZdGE7RI.js → circle-alert-COH43aTY.js} +1 -1
  42. package/web-app/dist/assets/{clock-BiLV-iIz.js → clock-DfAoV_j6.js} +1 -1
  43. package/web-app/dist/assets/{cloud-i4GHwMKq.js → cloud-Cn2fZDWb.js} +1 -1
  44. package/web-app/dist/assets/{code-xml-DGjDltcy.js → code-xml-Cdznvs_y.js} +1 -1
  45. package/web-app/dist/assets/{database-C1oPBQbC.js → database-D2I1Vhse.js} +1 -1
  46. package/web-app/dist/assets/{dollar-sign-Bo6ogEg0.js → dollar-sign-B5ASHoOt.js} +1 -1
  47. package/web-app/dist/assets/{file-code-corner-BXWvy1PL.js → file-code-corner-atPLjzeg.js} +1 -1
  48. package/web-app/dist/assets/{file-plus-BPZjvwuX.js → file-plus-B6w7uZjX.js} +1 -1
  49. package/web-app/dist/assets/{globe-CE7HSioU.js → globe-Ccz_MzGh.js} +1 -1
  50. package/web-app/dist/assets/{hammer-BSQDbiRc.js → hammer-DA3qk5fm.js} +1 -1
  51. package/web-app/dist/assets/{index-B27CfIIa.js → index-Cazh0k6S.js} +3 -3
  52. package/web-app/dist/assets/{layers-DXJ5Vjyi.js → layers-C6b4URLJ.js} +1 -1
  53. package/web-app/dist/assets/{loader-circle-DTSNnWLq.js → loader-circle-CBXQRHiC.js} +1 -1
  54. package/web-app/dist/assets/{lock-C7lLcZ6j.js → lock-D6HxStzh.js} +1 -1
  55. package/web-app/dist/assets/{package-DpFcoupo.js → package-DpP-ZbbL.js} +1 -1
  56. package/web-app/dist/assets/{plus-BJT4qY9K.js → plus-DAqy-ciP.js} +1 -1
  57. package/web-app/dist/assets/{refresh-cw-PjsWKUvQ.js → refresh-cw-DQs0euqW.js} +1 -1
  58. package/web-app/dist/assets/{rotate-ccw-G-ua6Bov.js → rotate-ccw-_IpE01JH.js} +1 -1
  59. package/web-app/dist/assets/{scroll-text-DvL1Q5tm.js → scroll-text-iYinPmc6.js} +1 -1
  60. package/web-app/dist/assets/{server-DwI_aWBl.js → server-mQDra7IX.js} +1 -1
  61. package/web-app/dist/assets/{shield-alert-C4mHcU2s.js → shield-alert-5jXbIN6u.js} +1 -1
  62. package/web-app/dist/assets/{thumbs-up-D69RdLvh.js → thumbs-up-B-WIk8Z5.js} +1 -1
  63. package/web-app/dist/assets/{trash-2-uhvcTP-h.js → trash-2-BAZy8zPw.js} +1 -1
  64. package/web-app/dist/assets/{trending-down-UbfJmB_J.js → trending-down-BIkFXx2r.js} +1 -1
  65. package/web-app/dist/assets/{trending-up-CMpSCveh.js → trending-up-BIHa9Qrr.js} +1 -1
  66. package/web-app/dist/assets/{upload-C9F7HMWm.js → upload-CyG8hhM2.js} +1 -1
  67. package/web-app/dist/assets/{usePolling-CPFCUNTE.js → usePolling-CVQ99jCz.js} +1 -1
  68. package/web-app/dist/assets/{user-iQBrHMXw.js → user-DDaPMfiY.js} +1 -1
  69. package/web-app/dist/index.html +1 -1
package/SKILL.md CHANGED
@@ -3,7 +3,7 @@ name: loki-mode
3
3
  description: An autonomous software factory that knows what it is supposed to deliver, and proves it did. Use when the user says Loki Mode or asks to build, fix or verify software autonomously.
4
4
  ---
5
5
 
6
- # Loki Mode v11.28.0
6
+ # Loki Mode v11.30.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
 
@@ -496,4 +496,4 @@ See `CHANGELOG.md` entries [7.5.7], [7.5.8], [7.5.13] for the per-fix list and r
496
496
 
497
497
  ---
498
498
 
499
- **v11.28.0 | [Autonomi](https://www.autonomi.dev/) flagship product | core skill**
499
+ **v11.30.0 | [Autonomi](https://www.autonomi.dev/) flagship product | core skill**
package/VERSION CHANGED
@@ -1 +1 @@
1
- 11.28.0
1
+ 11.30.0
package/autonomy/run.sh CHANGED
@@ -22788,6 +22788,13 @@ print("</previous_gate_failures>")
22788
22788
  PYEOF
22789
22789
  }
22790
22790
 
22791
+ # Single source of the parallel-tool-calls directive. Byte-mirrored with
22792
+ # PARALLEL_TOOL_CALLS_INSTRUCTION in loki-ts/src/runner/build_prompt.ts. Used by
22793
+ # the shared prefix (inside lsp_grounding_instruction) and the supervised profile.
22794
+ _loki_parallel_tool_calls_instruction() {
22795
+ printf '%s' "PARALLEL_TOOL_CALLS: When issuing independent read-only operations (reads, greps, file lookups, LSP checks) that do not depend on each other, issue them in a single message so they run in parallel; do not serialize independent lookups."
22796
+ }
22797
+
22791
22798
  _loki_build_supervised_simple_web_prompt() {
22792
22799
  local retry="${1:-0}"
22793
22800
  local prd_path="${2:-}"
@@ -22804,7 +22811,7 @@ _loki_build_supervised_simple_web_prompt() {
22804
22811
  You are the implementation agent for a time-bounded hosted web build. Work directly in the existing workspace and begin with tools, not narration.
22805
22812
 
22806
22813
  Required execution order:
22807
- 1. Inspect round: use one parallel read-only tool round to inspect only the harness-detected manifest, primary rendered source, and primary stylesheet listed below. Skip any item marked not-detected. Do not read the test yet. Do not inventory the repository, inspect harness metadata, read planning artifacts, browse the web, install dependencies, or create documentation.
22814
+ 1. Inspect round: inspect only the harness-detected manifest, primary rendered source, and primary stylesheet listed below. Skip any item marked not-detected. Do not read the test yet. Do not inventory the repository, inspect harness metadata, read planning artifacts, browse the web, install dependencies, or create documentation.
22808
22815
  2. Preview round: make the first visible mutation a bounded, working first viewport, not the complete page. When primary_stylesheet is detected, write no more than 4,000 characters of coherent responsive styles before replacing the rendered placeholder. Then write no more than 6,000 characters to the primary rendered source for a responsive navigation, prompt-specific hero, working primary controls, and a meaningful code-native focal visual. The visual must communicate the product through recognizable objects, labels, relationships, or user-supplied data. Empty translucent shapes, generic gradient blobs, and blank frames do not qualify. Do not implement below-fold sections, plans, or tests in this round. Remove the placeholder sentinel only after this viewport is coherent. Do not write a plan or design document first. If no primary source was detected, use one bounded lookup for the rendered entrypoint and edit it immediately.
22809
22816
  3. Completion round: immediately continue after the visible mutation. Implement every section and interaction explicitly named in the actionable user brief. Do not omit, merge away, replace with a static mock, or count planning text, comments, placeholders, or hidden elements as implementation. Wire every navigation link to a real target, give every visible button its stated effect, and make every form behavior truthful. If primary_test is detected, read it now, update it once so it renders the current primary source and checks prompt-specific visible behavior, and do this before any test command. If no primary test exists, add one using the existing runner. Reuse the existing stack and lockfile.
22810
22817
  4. Verification round: run the real automated test once and the production build once. Fix only observed failures, then request completion. Never start a watch-mode test process. Prefer an existing test:ci script or a runner's one-shot mode; if neither exists, use the platform's native one-shot test runner instead of adding a test framework. Do not launch a development server or browser because the harness owns those checks.
@@ -22813,8 +22820,9 @@ Required execution order:
22813
22820
  6. Do not use emoji characters, em dash characters, or en dash characters in source, copy, logs, or summaries.
22814
22821
 
22815
22822
  The harness owns planning, dependency preparation, review, browser checks, proof, and process cleanup. Your job is to mutate the product source quickly, finish the requested app, and run its local tests and build. Do not install or upgrade dependencies, create documentation, use Git, or run temporary verification scripts. After one successful test and build round, run `touch .loki/signals/COMPLETION_REQUESTED` and end the turn. Do not run a second verification pass. Do not commit or push.
22816
- </loki_system>
22817
22823
  SUPERVISED_PROMPT_EOF
22824
+ printf '%s\n' "$(_loki_parallel_tool_calls_instruction)"
22825
+ printf '</loki_system>\n'
22818
22826
  printf '<execution_context iteration="%s" retry="%s">\n' "$iteration" "$retry"
22819
22827
  printf '%s\n' "$source_hints"
22820
22828
  printf '</execution_context>\n'
@@ -22956,7 +22964,7 @@ build_prompt() {
22956
22964
  # writing any reference to a symbol the agent has not already read with
22957
22965
  # the Read tool, prefer mcp__loki-mode-lsp-proxy__lsp_check_exists. This
22958
22966
  # is the single most leveraged grounding primitive per OpenCode research.
22959
- local lsp_grounding_instruction="LSP_GROUNDING: When the loki-mode-lsp-proxy MCP server is available, prefer LSP tools for symbol verification BEFORE writing code that references those symbols. Workflow: (1) Need to call \`foo.bar()\` you have not already read? -> mcp__loki-mode-lsp-proxy__lsp_check_exists with symbol='bar' (sub-200ms when cached). If exists:false, do NOT write the call -- use mcp__loki-mode-lsp-proxy__lsp_workspace_symbols with the concept name to find the real symbol, or use Read to see the actual API. (2) Just edited a file? -> mcp__loki-mode-lsp-proxy__lsp_get_diagnostics on that file to see new errors before the next iteration. (3) Need to jump to a definition by name (no file:line known)? -> mcp__loki-mode-lsp-proxy__lsp_find_definition_by_name. Skip these tools silently when the server is not available -- check the tool list, do not retry on errors. Goal: eliminate hallucinated API calls before they ship. PARALLEL_TOOL_CALLS: When issuing independent read-only operations (reads, greps, file lookups, LSP checks) that do not depend on each other, issue them in a single message so they run in parallel; do not serialize independent lookups."
22967
+ local lsp_grounding_instruction="LSP_GROUNDING: When the loki-mode-lsp-proxy MCP server is available, prefer LSP tools for symbol verification BEFORE writing code that references those symbols. Workflow: (1) Need to call \`foo.bar()\` you have not already read? -> mcp__loki-mode-lsp-proxy__lsp_check_exists with symbol='bar' (sub-200ms when cached). If exists:false, do NOT write the call -- use mcp__loki-mode-lsp-proxy__lsp_workspace_symbols with the concept name to find the real symbol, or use Read to see the actual API. (2) Just edited a file? -> mcp__loki-mode-lsp-proxy__lsp_get_diagnostics on that file to see new errors before the next iteration. (3) Need to jump to a definition by name (no file:line known)? -> mcp__loki-mode-lsp-proxy__lsp_find_definition_by_name. Skip these tools silently when the server is not available -- check the tool list, do not retry on errors. Goal: eliminate hallucinated API calls before they ship. $(_loki_parallel_tool_calls_instruction)"
22960
22968
 
22961
22969
  # AGENTS.md instruction (agents.md standard: plain Markdown at repo root,
22962
22970
  # nearest-file-wins, read natively by Claude Code/Codex/etc.). Loki prefers
@@ -7,6 +7,6 @@ Modules:
7
7
  control: Session control helpers (status, atomic writes, origin check)
8
8
  """
9
9
 
10
- __version__ = "11.28.0"
10
+ __version__ = "11.30.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.28.0. Do not edit by hand.
3
+ Generated from `loki-ts/src/cli/registry.ts` by `scripts/generate-stale-zero.sh` for v11.30.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 |
@@ -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.28.0
5
+ **Version:** v11.30.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
 
@@ -46,7 +46,6 @@ Todo:
46
46
  | `--cost lean` / `LOKI_COST_PROFILE` | loki-lean arm CI upper bound <= 0.5 and acceptance >= floor |
47
47
  | `LOKI_IMPLEMENT_HAIKU_FIRST` | same arm plus escalation rate recorded |
48
48
  | `LOKI_E10_TRIM` | implement cache reads down >= 25% on medium, completion not lower |
49
- | `LOKI_JUDGE_BATCH` (API-key runs only) | judge spend down >= 40%, p95 judge latency <= 90s |
50
49
  | `LOKI_E10_ATTEMPTS=2` | medium completion >= 18/21, cost not red |
51
50
 
52
51
  Todo: