loki-mode 11.61.1 → 11.62.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 (71) hide show
  1. package/SKILL.md +2 -2
  2. package/VERSION +1 -1
  3. package/autonomy/loki +2 -1
  4. package/completions/_loki +1 -0
  5. package/completions/loki.bash +1 -1
  6. package/dashboard/__init__.py +1 -1
  7. package/docs/CLI-REFERENCE.md +1 -1
  8. package/docs/INSTALLATION.md +1 -1
  9. package/docs/v10/FAILURE-CLASSES.md +8 -0
  10. package/loki-ts/dist/loki.js +1148 -1142
  11. package/mcp/__init__.py +1 -1
  12. package/package.json +2 -2
  13. package/packages/control-plane/dist/server.js +1 -0
  14. package/plugins/loki-mode/.claude-plugin/plugin.json +1 -1
  15. package/web-app/dist/assets/{AdminPage-B9k1149z.js → AdminPage-Yhq-WJMt.js} +1 -1
  16. package/web-app/dist/assets/{Avatar-Bca4WH3r.js → Avatar-Ch6SDm-0.js} +1 -1
  17. package/web-app/dist/assets/{Badge-cKkWL1Gk.js → Badge-BjbRWCcn.js} +1 -1
  18. package/web-app/dist/assets/{Button-CXKozL9q.js → Button-CW-BvJea.js} +1 -1
  19. package/web-app/dist/assets/{CockpitPage-DnRed9t7.js → CockpitPage-BqmtiABk.js} +1 -1
  20. package/web-app/dist/assets/{ComparePage-GTwTfLzX.js → ComparePage-DJRTCEL2.js} +1 -1
  21. package/web-app/dist/assets/{ErrorBoundary-PTUuMvIK.js → ErrorBoundary-BhrH7s1y.js} +1 -1
  22. package/web-app/dist/assets/{EvidenceReceiptPanel-DFvwCm-g.js → EvidenceReceiptPanel-CgiH4kzJ.js} +1 -1
  23. package/web-app/dist/assets/{GitHubIssuesPanel-DhcFUYOi.js → GitHubIssuesPanel-B3j9y8Li.js} +1 -1
  24. package/web-app/dist/assets/{GitHubPRsPanel-pOv3RbJG.js → GitHubPRsPanel-Cd5wF5n7.js} +1 -1
  25. package/web-app/dist/assets/{HomePage-D9DD8owm.js → HomePage-BmSdqHVv.js} +2 -2
  26. package/web-app/dist/assets/{LoginPage-CsJcZ93G.js → LoginPage-Cf2mXLhm.js} +1 -1
  27. package/web-app/dist/assets/{MagicPage-y9PWmyvb.js → MagicPage-DpRCx7hi.js} +1 -1
  28. package/web-app/dist/assets/{MetricsPage-DomnN5Nz.js → MetricsPage-B7lgPoVM.js} +1 -1
  29. package/web-app/dist/assets/{NotFoundPage-DVfQj27e.js → NotFoundPage-Cf7UzRWS.js} +1 -1
  30. package/web-app/dist/assets/{ProjectPage-CLqy0HcB.js → ProjectPage-CUULSKw4.js} +3 -3
  31. package/web-app/dist/assets/{ProjectsPage-BCxcm0h8.js → ProjectsPage-D-p3qTX9.js} +1 -1
  32. package/web-app/dist/assets/{SettingsPage-DMdYSbys.js → SettingsPage-C6Zl0SO3.js} +1 -1
  33. package/web-app/dist/assets/{ShowcasePage-Cq_dkOX3.js → ShowcasePage-B80rE-0a.js} +1 -1
  34. package/web-app/dist/assets/{SystemSettingsPage-CTOPhtjs.js → SystemSettingsPage-P7jfbfk9.js} +1 -1
  35. package/web-app/dist/assets/{TeamsPage-CknTQNwH.js → TeamsPage-B2u1bEPJ.js} +1 -1
  36. package/web-app/dist/assets/{TemplatesPage-DxxEP9dK.js → TemplatesPage-BgicYf-M.js} +1 -1
  37. package/web-app/dist/assets/{TerminalOutput-Bba1-Qtu.js → TerminalOutput-CAAlb2Z4.js} +1 -1
  38. package/web-app/dist/assets/{activity-DBAVtkeh.js → activity-CS7Dx7bX.js} +1 -1
  39. package/web-app/dist/assets/{bell-BxM7M_Bv.js → bell-7IO_nKWL.js} +1 -1
  40. package/web-app/dist/assets/{bot--6DK1Hkt.js → bot-cT0JCnQm.js} +1 -1
  41. package/web-app/dist/assets/{check-BDx8PIGP.js → check-gueaQ5uS.js} +1 -1
  42. package/web-app/dist/assets/{chevron-left-zWSxOWUh.js → chevron-left-DSvEn44N.js} +1 -1
  43. package/web-app/dist/assets/{circle-alert-D6f-yJIw.js → circle-alert-CMPDepae.js} +1 -1
  44. package/web-app/dist/assets/{clock-BurK--Ef.js → clock-DOzta5Pb.js} +1 -1
  45. package/web-app/dist/assets/{cloud-DeBInDoz.js → cloud-CHH-AZnl.js} +1 -1
  46. package/web-app/dist/assets/{code-xml-D4eUSfwD.js → code-xml-0ovkqCN4.js} +1 -1
  47. package/web-app/dist/assets/{database-DU5BsBYw.js → database-4u_6rNUI.js} +1 -1
  48. package/web-app/dist/assets/{dollar-sign-BZaDODoi.js → dollar-sign-DXKwSyNB.js} +1 -1
  49. package/web-app/dist/assets/{file-code-corner-CPkTwMKI.js → file-code-corner-CszGkbu8.js} +1 -1
  50. package/web-app/dist/assets/{file-plus-D34S11y9.js → file-plus-CzSGK_MG.js} +1 -1
  51. package/web-app/dist/assets/{globe-BpSrmawd.js → globe-C58V0M6g.js} +1 -1
  52. package/web-app/dist/assets/{hammer-C-qExEY4.js → hammer-CyIEb8Q0.js} +1 -1
  53. package/web-app/dist/assets/{index-CPJlUxvQ.js → index-aFnwLB4n.js} +3 -3
  54. package/web-app/dist/assets/{layers-BVjFURrb.js → layers-BfxGlR5q.js} +1 -1
  55. package/web-app/dist/assets/{loader-circle-D1Ekl3ek.js → loader-circle-D4zRZ8dm.js} +1 -1
  56. package/web-app/dist/assets/{lock-BQdUlRJs.js → lock-CaJCjGT_.js} +1 -1
  57. package/web-app/dist/assets/{package-EZe79YgL.js → package-thkTYUyL.js} +1 -1
  58. package/web-app/dist/assets/{plus-RwJ1skAR.js → plus-VzKrhdA6.js} +1 -1
  59. package/web-app/dist/assets/{refresh-cw-nNUtvsuw.js → refresh-cw-CZSwtgH_.js} +1 -1
  60. package/web-app/dist/assets/{rotate-ccw-D6yRnvYC.js → rotate-ccw-kdh94Byf.js} +1 -1
  61. package/web-app/dist/assets/{scroll-text-C_BAeG-J.js → scroll-text-ou2s2lX-.js} +1 -1
  62. package/web-app/dist/assets/{server-BnFfDh83.js → server-DbhsdE1J.js} +1 -1
  63. package/web-app/dist/assets/{shield-alert-CTBX2BFJ.js → shield-alert-Lt-5Gauo.js} +1 -1
  64. package/web-app/dist/assets/{thumbs-up-nch4kCD-.js → thumbs-up-D4fUfIX6.js} +1 -1
  65. package/web-app/dist/assets/{trash-2-DwI1Asga.js → trash-2-DideIY1w.js} +1 -1
  66. package/web-app/dist/assets/{trending-down-D6fH___a.js → trending-down-DJMDetZ6.js} +1 -1
  67. package/web-app/dist/assets/{trending-up-BkhcguSE.js → trending-up-DuzyxEzq.js} +1 -1
  68. package/web-app/dist/assets/{upload-DsQ7aLVl.js → upload-BNFRS27L.js} +1 -1
  69. package/web-app/dist/assets/{usePolling-M79EhufR.js → usePolling-BJkx4lyh.js} +1 -1
  70. package/web-app/dist/assets/{user-5-thWDRn.js → user-CZVBOnuB.js} +1 -1
  71. 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.61.1
6
+ # Loki Mode v11.62.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
 
@@ -476,4 +476,4 @@ Implemented, planned and deprecated items, with the version each landed in: `ski
476
476
 
477
477
  ---
478
478
 
479
- **v11.61.1 | [Autonomi](https://www.autonomi.dev/) flagship product | core skill**
479
+ **v11.62.0 | [Autonomi](https://www.autonomi.dev/) flagship product | core skill**
package/VERSION CHANGED
@@ -1 +1 @@
1
- 11.61.1
1
+ 11.62.0
package/autonomy/loki CHANGED
@@ -26304,7 +26304,8 @@ except Exception as e:
26304
26304
  echo " clear [type] Clear learnings (all or specific type)"
26305
26305
  echo " compound [cmd] Compound-solutions knowledge store (was: loki compound)"
26306
26306
  echo " lessons [--json] PR review lessons with their uses and outcomes"
26307
- echo " learn <o/r#PR> Learn lessons from a merged PR's review comments"
26307
+ echo " learn <o/r#PR> Learn lessons from a merged PR's review comments and human commits"
26308
+ echo " promote <prl-id> Share one lesson with every repo's briefs (undo with forget)"
26308
26309
  echo " forget <prl-id> Delete one PR lesson and print its text"
26309
26310
  echo " brief [--task T] Print the lessons and learnings block injected into a run"
26310
26311
  echo ""
package/completions/_loki CHANGED
@@ -513,6 +513,7 @@ function _loki_memory {
513
513
  'vectors:Vector search'
514
514
  'lessons:List PR lessons (--json)'
515
515
  'learn:Learn from a merged PR'
516
+ 'promote:Share a PR lesson with every repo'
516
517
  'forget:Delete a PR lesson'
517
518
  'help:Memory help'
518
519
  )
@@ -58,7 +58,7 @@ _loki_completion() {
58
58
  ;;
59
59
 
60
60
  memory)
61
- local memory_cmds="list show search stats export clear dedupe index timeline consolidate economics retrieve lessons learn forget episode pattern skill vectors brief help"
61
+ local memory_cmds="list show search stats export clear dedupe index timeline consolidate economics retrieve lessons learn promote forget episode pattern skill vectors brief help"
62
62
  if [[ "$cur" == -* ]]; then
63
63
  COMPREPLY=( $(compgen -W "--task --recent --repo --help" -- "$cur") )
64
64
  return 0
@@ -7,6 +7,6 @@ Modules:
7
7
  control: Session control helpers (status, atomic writes, origin check)
8
8
  """
9
9
 
10
- __version__ = "11.61.1"
10
+ __version__ = "11.62.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.61.1. Do not edit by hand.
3
+ Generated from `loki-ts/src/cli/registry.ts` by `scripts/generate-stale-zero.sh` for v11.62.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.61.1
5
+ **Version:** v11.62.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
 
@@ -1579,6 +1579,14 @@ L0 review rule (ENGINE-LAWS.md L0): a fix that adds an `if` or a regex about the
1579
1579
  - Mechanism: four pre-registered tasks (benchmarks/bench/tasks/fd-1 to fd-4), each with a held-out overlay that checks only prompt-stated requirements. References and near-miss artifacts stay outside the repo and are hash-attested through run.sh oracles (private_probe.py). The task and overlay bytes are pinned, so a change after a paid trial needs a new task id.
1580
1580
  - Fixture: tests/test_bench_taskspec.py FalseDonePreRegisteredTasks (pins, task load, overlay red on the untouched fixture). Red when an overlay or task byte changes.
1581
1581
 
1582
+ ## FC-FALSE-DONE-OVERLAY-MISSES-A-STATED-RULE A pre-registered false-done overlay returned rc=0 for a solution that broke a rule its own prompt states, so the task could not tell done from false-done
1583
+
1584
+ - User-visible vs raw: user-visible. v11.58.0 shipped four overlays that graded "done" for solutions violating stated rules; a false-done rate measured on them would have credited the broken solutions as passes (fd-1: duplicate keys differing only by whitespace; fd-1 also needed keys differing only by case accepted).
1585
+ - Law broken: a held-out overlay is the claim's ground truth, so for every rule the prompt states, one near-miss solution that breaks only that rule must return rc=1. tl-324 reproduced two holes in fd-1; probing fd-2, fd-3 and fd-4 the same way (one near-miss per stated rule, overlay rc recorded) found rc=0 holes in all three: fd-2 shout()/bracket() edited ("do not change the existing functions"); fd-3 bad tax rate raised ValueError, or a negative quantity checked on the first item only ("raise the same errors for every input"); fd-4 files sorted or deduplicated, a total in place of a per-file word count, --min-words 0 rejected, a fractional N accepted, usage errors after output had started, a directory operand crashing.
1586
+ - Siblings swept: fd-1 through fd-4 (about 50 near-misses probed). The only remaining rc=0 near-miss is --min-words +5, which is not a violation (int("+5") is a valid non-negative integer); it is left unasserted.
1587
+ - Mechanism: pins forbid editing a graded overlay, so the defect is fixed by a new id (fd-1b to fd-4b) and the old id is retired in benchmarks/bench/retired_tasks.json. bench_schema.without_retired filters cost_claim and equivalence_report rows, and runner.run_task refuses a retired task, so a retired task never runs and never feeds a claim. An unreadable manifest raises instead of keeping every row.
1588
+ - Fixture: tests/test_bench_taskspec.py FalseDonePreRegisteredTasks: test_b_overlays_pass_the_reference_and_reject_every_near_miss (12 near-misses, red on the retired overlays per test_retired_overlays_still_accept_the_near_misses_that_retired_them), the retirement tests, and the b pins. Private positive and adversarial artifacts for each b id are hash-attested in private_attestation.json.
1589
+
1582
1590
  ## FC-CITATION-UNDER-SUBMODULE-ALWAYS-HIGH A fabricated blocking finding citing a path under a bumped submodule stayed HIGH, checked out or not, and said nothing
1583
1591
  - User-visible vs raw: user-visible. A council reviewer citing `vendor/lib/ghost.ts:2` for a file that exists nowhere kept a blocking HIGH finding and blocked the run, with no hint the citation could not be checked. Raw: loki-ts/src/council/finding_schema.ts citationVerdict returned "ok" for any path under a diff-listed gitlink, or whose directory component equalled a gitlink's final segment (#332, follow-up to #302).
1584
1592
  - Law: a downgrade needs positive evidence, and an unchecked citation must say it was unchecked; "ok" is never the silent answer to "could not look".