loki-mode 11.160.0 → 11.161.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 (68) hide show
  1. package/SKILL.md +2 -2
  2. package/VERSION +1 -1
  3. package/dashboard/__init__.py +1 -1
  4. package/docs/CLI-REFERENCE.md +1 -1
  5. package/docs/INSTALLATION.md +1 -1
  6. package/docs/dev/architecture-reference.md +1 -0
  7. package/loki-ts/dist/loki.js +1627 -1627
  8. package/mcp/__init__.py +1 -1
  9. package/package.json +2 -2
  10. package/packages/control-plane/dist/server.js +29 -3
  11. package/plugins/loki-mode/.claude-plugin/plugin.json +1 -1
  12. package/web-app/dist/assets/{AdminPage-XVfc9E68.js → AdminPage-CuV3jwO8.js} +1 -1
  13. package/web-app/dist/assets/{Avatar-DYIRdfZh.js → Avatar-fwxJYmU0.js} +1 -1
  14. package/web-app/dist/assets/{Badge-BEYYWbvq.js → Badge-C-16U-fv.js} +1 -1
  15. package/web-app/dist/assets/{Button-BUi3aY0U.js → Button-DFjWZzwM.js} +1 -1
  16. package/web-app/dist/assets/{CockpitPage-C_1E3jZ5.js → CockpitPage-BMe0TFba.js} +1 -1
  17. package/web-app/dist/assets/{ComparePage-MYMEbP07.js → ComparePage-BGNs7d0W.js} +1 -1
  18. package/web-app/dist/assets/{ErrorBoundary-DaCWI8FC.js → ErrorBoundary-Dg4jYVbI.js} +1 -1
  19. package/web-app/dist/assets/{EvidenceReceiptPanel-CGR9ewAi.js → EvidenceReceiptPanel-BPiK4shg.js} +1 -1
  20. package/web-app/dist/assets/{GitHubIssuesPanel-K0ziGIRp.js → GitHubIssuesPanel-Bj73V3QA.js} +1 -1
  21. package/web-app/dist/assets/{GitHubPRsPanel-C9nv4Q_J.js → GitHubPRsPanel-BbmTPafH.js} +1 -1
  22. package/web-app/dist/assets/{HomePage-Ck476hIi.js → HomePage-_kzSwCXX.js} +2 -2
  23. package/web-app/dist/assets/{LoginPage-Bx4O1YKP.js → LoginPage-D3guOsi2.js} +1 -1
  24. package/web-app/dist/assets/{MagicPage-DH5fpeaV.js → MagicPage-SWoVP7OY.js} +1 -1
  25. package/web-app/dist/assets/{MetricsPage-CnHRQsn9.js → MetricsPage-BogKy2pu.js} +1 -1
  26. package/web-app/dist/assets/{NotFoundPage-DobNxl56.js → NotFoundPage-CQiT_FXs.js} +1 -1
  27. package/web-app/dist/assets/{ProjectPage-CSk3qqaf.js → ProjectPage-CZ_hFP38.js} +3 -3
  28. package/web-app/dist/assets/{ProjectsPage-BZfuDoK_.js → ProjectsPage-Bq-oT_Pe.js} +1 -1
  29. package/web-app/dist/assets/{SettingsPage-Cfq_mRfU.js → SettingsPage-DSr6lHmq.js} +1 -1
  30. package/web-app/dist/assets/{ShowcasePage-CrpvhY-A.js → ShowcasePage-Dqjj3rgJ.js} +1 -1
  31. package/web-app/dist/assets/{SystemSettingsPage-CKlkpN-S.js → SystemSettingsPage-scRs0fQ3.js} +1 -1
  32. package/web-app/dist/assets/{TeamsPage-ClAAl_bd.js → TeamsPage-BhLTiTJf.js} +1 -1
  33. package/web-app/dist/assets/{TemplatesPage-Du2TTX-a.js → TemplatesPage-CfLqFEwD.js} +1 -1
  34. package/web-app/dist/assets/{TerminalOutput-PLulRxeW.js → TerminalOutput-LEdtHTdQ.js} +1 -1
  35. package/web-app/dist/assets/{activity-CmMkxWE0.js → activity-CIE6E4sw.js} +1 -1
  36. package/web-app/dist/assets/{bell-CCijQmaD.js → bell-CbXNt0VT.js} +1 -1
  37. package/web-app/dist/assets/{bot-0aiNI-HQ.js → bot-DBilu5by.js} +1 -1
  38. package/web-app/dist/assets/{check-TxK204Bv.js → check-ByCaYntD.js} +1 -1
  39. package/web-app/dist/assets/{chevron-left-BCn6DCzL.js → chevron-left-lmByeTlW.js} +1 -1
  40. package/web-app/dist/assets/{circle-alert-Ny1cJ03g.js → circle-alert-DKEPsx9y.js} +1 -1
  41. package/web-app/dist/assets/{clock-B-LaguI3.js → clock-t4QPQ9P1.js} +1 -1
  42. package/web-app/dist/assets/{cloud-liMdegt7.js → cloud-YfbBdG9Y.js} +1 -1
  43. package/web-app/dist/assets/{code-xml-ByRnJIvk.js → code-xml-DUdvGh42.js} +1 -1
  44. package/web-app/dist/assets/{database-ClcZ6wLT.js → database-DMsUwuu7.js} +1 -1
  45. package/web-app/dist/assets/{dollar-sign-DfgXbdpQ.js → dollar-sign-CQj8ulH4.js} +1 -1
  46. package/web-app/dist/assets/{file-code-corner-CAyrV9M0.js → file-code-corner-Dcun8Ito.js} +1 -1
  47. package/web-app/dist/assets/{file-plus-DHhwC8-A.js → file-plus-BipK8vSI.js} +1 -1
  48. package/web-app/dist/assets/{globe-CyXHmxwh.js → globe-0GE20vx4.js} +1 -1
  49. package/web-app/dist/assets/{hammer-CxS_s2S3.js → hammer-BSCC-aCx.js} +1 -1
  50. package/web-app/dist/assets/{index-fdvm9I8I.js → index-uBPpPPl7.js} +3 -3
  51. package/web-app/dist/assets/{layers-Cd8o6Eod.js → layers-BT6Akh8A.js} +1 -1
  52. package/web-app/dist/assets/{loader-circle-DXBy2ULW.js → loader-circle-BSF5o6lv.js} +1 -1
  53. package/web-app/dist/assets/{lock-CWIeUgVg.js → lock-DhvY9ErS.js} +1 -1
  54. package/web-app/dist/assets/{package-Ca7FiIPU.js → package-BMUewVpu.js} +1 -1
  55. package/web-app/dist/assets/{plus-BRR6gcxr.js → plus-JcYGK4QC.js} +1 -1
  56. package/web-app/dist/assets/{refresh-cw-CC1P1Lc3.js → refresh-cw-BSMX6sVQ.js} +1 -1
  57. package/web-app/dist/assets/{rotate-ccw-CZvApwDY.js → rotate-ccw-I5qSLfsL.js} +1 -1
  58. package/web-app/dist/assets/{scroll-text-vVQYFO4E.js → scroll-text-DQ8wk3hX.js} +1 -1
  59. package/web-app/dist/assets/{server-lV-ihiMe.js → server-P6nlJ6_y.js} +1 -1
  60. package/web-app/dist/assets/{shield-alert-BXWMu0jK.js → shield-alert-DJXz2Y6G.js} +1 -1
  61. package/web-app/dist/assets/{thumbs-up-BU_cNvEJ.js → thumbs-up-BlLS0TcM.js} +1 -1
  62. package/web-app/dist/assets/{trash-2-SbwY94BU.js → trash-2-2-LU0vyX.js} +1 -1
  63. package/web-app/dist/assets/{trending-down-C8qx7dTy.js → trending-down-DBVjyJy7.js} +1 -1
  64. package/web-app/dist/assets/{trending-up-DJid9hgH.js → trending-up-Dbz8-n-y.js} +1 -1
  65. package/web-app/dist/assets/{upload-BA-zPx6I.js → upload-CbP9Qhau.js} +1 -1
  66. package/web-app/dist/assets/{usePolling-aylKd7tb.js → usePolling-Br1am1Wv.js} +1 -1
  67. package/web-app/dist/assets/{user-C_1dZoLN.js → user-B43gT1q9.js} +1 -1
  68. 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.160.0
6
+ # Loki Mode v11.161.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.160.0 | [Autonomi](https://www.autonomi.dev/) flagship product | core skill**
464
+ **v11.161.0 | [Autonomi](https://www.autonomi.dev/) flagship product | core skill**
package/VERSION CHANGED
@@ -1 +1 @@
1
- 11.160.0
1
+ 11.161.0
@@ -7,6 +7,6 @@ Modules:
7
7
  control: Session control helpers (status, atomic writes, origin check)
8
8
  """
9
9
 
10
- __version__ = "11.160.0"
10
+ __version__ = "11.161.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.160.0. Do not edit by hand.
3
+ Generated from `loki-ts/src/cli/registry.ts` by `scripts/generate-stale-zero.sh` for v11.161.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 |
@@ -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.160.0
5
+ **Version:** v11.161.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
 
@@ -199,6 +199,7 @@ These knobs together implement the RARV-C (closure) loop: findings -> override c
199
199
  - `LOKI_E10_EVIDENCE_PER_PACKAGE` -- on by default, `0` opts out (acc-147; `loki-ts/src/engine10/testmap.ts` buildTestMap marks, `loki-ts/src/util/test_file_text.ts` scopeRunnersByPackage). Package scoping grants a runner to every package that owns a file proving it (go.mod, Cargo.toml, a test file), not only to the package of the first such file listed. Without it a multi-module repo whose nested module sorts first (go-chi/chi `_examples/rest/go.mod`) left the root module with no runner and 0 tests once the Project Model loaded. The 5 tuning repos' test maps are unchanged.
200
200
  - `LOKI_E10_PY_IMPORT_RESOLVE` -- on by default, `0` opts out (`loki-ts/src/engine10/testmap.ts` buildTestMap pyImports, impactedRefs). A changed .py file keeps a test matched through an import only when the test's imports (dotted modules from the repo root or the test's directory, `from pkg import mod`, dotted strings such as monkeypatch targets) resolve to that file, or when the import resolves to no repo module or is relative; a JavaScript or TypeScript test never maps to a .py file. The test_<stem>.py name floor is unchanged. hermes-agent issue 155462: hermes_cli/gateway.py matched 772 tests by the basename "gateway" and verify ran out of time.
201
201
  - `LOKI_E10_ENCLOSING_DECL` -- on by default, `0` opts out (acc-147; `loki-ts/src/util/check_result.ts` changedSymbols / enclosingDecl, read by `stages/seal.ts` and `stages/verify.ts`). When a hunk declares nothing and git's `@@` context names nothing (an edit inside an indented method: git's default funcname reads only unindented lines, and JS/TS has no built-in driver), the enclosing declaration is read from the head file. Hunks whose context already names a declaration are unchanged. Without it the lean gate and the fail-then-pass proof read "(no declared symbol)" and a run with a real fail-then-pass test stayed PARTIAL (commander.js).
202
+ - `LOKI_E10_JS_IMPORT_RESOLVE` -- on by default, `0` opts out (`loki-ts/src/engine10/testmap.ts` buildTestMap jsImports, impactedRefs). A changed JavaScript or TypeScript file keeps a test matched through an import only when the import resolves to that file (relative paths, the root tsconfig/jsconfig baseUrl and paths, index files, a .js spec for a .ts file), or when it resolves to no repo file (a package, an alias from a nested config); a test that is not JS/TS never maps to a JS/TS file. The <stem>.test.ts name floor is unchanged.
202
203
  - `LOKI_E10_ASSERT_JS` -- on by default, `0` opts out (acc-148; `loki-ts/src/util/check_result.ts` assertionFailure / jsAssertionFailure, read by the fail-then-pass proof in `stages/seal.ts`). node:test, jest and mocha failures on the base count as red by assertion when the output carries an assertion (ERR_ASSERTION, AssertionError, `expect(received).<matcher>`) and no missing-API or load failure (not a function or constructor, ReferenceError, SyntaxError, a missing module or export, a suite that failed to run). Before it, only pytest, vitest and go were read, so a real fail-then-pass on these runners never counted (commander.js).
203
204
  - `LOKI_E10_SPAWN_NOT_RUN` -- on by default, `0` opts out (acc-148; `loki-ts/src/util/check_result.ts` spawnFailedTool, read by `stages/verify.ts` runOnce). A check whose tool could not start (uv's "Failed to spawn", a shell exit 127 "command not found", node's "spawn X ENOENT") is not_run with the tool named, never a failure, when that is essentially the whole output (at most 6 non-empty lines). Before it, `uv run -- ruff check` without ruff installed read as a lint failure that fix rounds chased (marshmallow, Python-Markdown).
204
205
  - `LOKI_E10_PYTEST_FALLBACK` -- on by default, `0` opts out (acc-148; `loki-ts/src/engine10/testmap.ts` buildTestMap / pytestImportable). Python tests that only their `test_*.py` names marked as pytest (no pytest.ini, conftest.py, `[tool.pytest]`, `[tool:pytest]`, tox `[pytest]`, and no test file importing pytest) run under the stdlib unittest when the repo's own `.venv`/`venv` interpreter cannot import pytest. A system interpreter is never probed. Before it, a unittest repo without pytest installed ran every test as pytest and each check failed in under a second with no ids (Python-Markdown).