loki-mode 11.63.0 → 11.63.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.
Files changed (69) 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/v10/FAILURE-CLASSES.md +10 -0
  7. package/loki-ts/dist/loki.js +789 -789
  8. package/mcp/__init__.py +1 -1
  9. package/package.json +2 -2
  10. package/plugins/loki-mode/.claude-plugin/plugin.json +1 -1
  11. package/state/manager.py +30 -11
  12. package/state/test_manager.py +76 -0
  13. package/web-app/dist/assets/{AdminPage-DY8vRh7H.js → AdminPage-BMa6TWZp.js} +1 -1
  14. package/web-app/dist/assets/{Avatar-BABvl2nY.js → Avatar-DO3DH9U5.js} +1 -1
  15. package/web-app/dist/assets/{Badge-D8hyqr8l.js → Badge-CtjjUFgO.js} +1 -1
  16. package/web-app/dist/assets/{Button-ClCkmtln.js → Button-DRNL_AgW.js} +1 -1
  17. package/web-app/dist/assets/{CockpitPage-CQbbEPp9.js → CockpitPage-CCzgfC3N.js} +1 -1
  18. package/web-app/dist/assets/{ComparePage-DEuGQMJG.js → ComparePage-DrHoHzA8.js} +1 -1
  19. package/web-app/dist/assets/{ErrorBoundary-GFvRBxkR.js → ErrorBoundary-BwOg8xJE.js} +1 -1
  20. package/web-app/dist/assets/{EvidenceReceiptPanel-Bf5dY-i5.js → EvidenceReceiptPanel-C6HaK3fv.js} +1 -1
  21. package/web-app/dist/assets/{GitHubIssuesPanel-Ce6Xn5gd.js → GitHubIssuesPanel-BFZJiBsE.js} +1 -1
  22. package/web-app/dist/assets/{GitHubPRsPanel-DeHV2jOk.js → GitHubPRsPanel-C50a8x7m.js} +1 -1
  23. package/web-app/dist/assets/{HomePage-DfZasiVW.js → HomePage-Bd1em6t3.js} +2 -2
  24. package/web-app/dist/assets/{LoginPage-JyY2tn1f.js → LoginPage-CewGPLG0.js} +1 -1
  25. package/web-app/dist/assets/{MagicPage-motiJnxt.js → MagicPage-C-QtEkGy.js} +1 -1
  26. package/web-app/dist/assets/{MetricsPage-Co49t9aj.js → MetricsPage-BaiOWfeH.js} +1 -1
  27. package/web-app/dist/assets/{NotFoundPage-Bbc-0Yjv.js → NotFoundPage-D_MJNXY4.js} +1 -1
  28. package/web-app/dist/assets/{ProjectPage-C4FFudSy.js → ProjectPage-pbGjTu5N.js} +3 -3
  29. package/web-app/dist/assets/{ProjectsPage-KejZM41K.js → ProjectsPage-Cd0nNHcR.js} +1 -1
  30. package/web-app/dist/assets/{SettingsPage-D5OjESCI.js → SettingsPage-Cj79H8uJ.js} +1 -1
  31. package/web-app/dist/assets/{ShowcasePage-0Yp1KB4u.js → ShowcasePage-Dd19BtSr.js} +1 -1
  32. package/web-app/dist/assets/{SystemSettingsPage-D9VJQPcX.js → SystemSettingsPage-k-2yItbr.js} +1 -1
  33. package/web-app/dist/assets/{TeamsPage-OirLAobH.js → TeamsPage-nDtM3_tz.js} +1 -1
  34. package/web-app/dist/assets/{TemplatesPage-Br-f_lir.js → TemplatesPage-C9ho6ThF.js} +1 -1
  35. package/web-app/dist/assets/{TerminalOutput-BBqtQKix.js → TerminalOutput-CHhzqF8l.js} +1 -1
  36. package/web-app/dist/assets/{activity-nbBHNMTk.js → activity-zBYgbj_t.js} +1 -1
  37. package/web-app/dist/assets/{bell-CD7kS6D-.js → bell-B8tFbV3u.js} +1 -1
  38. package/web-app/dist/assets/{bot-DuAkVycE.js → bot-Br4tgKXH.js} +1 -1
  39. package/web-app/dist/assets/{check-DlWC0gLj.js → check-DiCznuN4.js} +1 -1
  40. package/web-app/dist/assets/{chevron-left-CfWpX5KJ.js → chevron-left-BQPIwBif.js} +1 -1
  41. package/web-app/dist/assets/{circle-alert-BdrXoFeu.js → circle-alert-Dh7e5DtS.js} +1 -1
  42. package/web-app/dist/assets/{clock-Cy6uAmZv.js → clock-D77p4Orw.js} +1 -1
  43. package/web-app/dist/assets/{cloud-BDUaNLXo.js → cloud-2Agyk8Pc.js} +1 -1
  44. package/web-app/dist/assets/{code-xml-CVXq954v.js → code-xml-CaW2nMpL.js} +1 -1
  45. package/web-app/dist/assets/{database-BLSZ3pzQ.js → database-B8faaxGl.js} +1 -1
  46. package/web-app/dist/assets/{dollar-sign-B3Y0QCFG.js → dollar-sign-BGxO12Xv.js} +1 -1
  47. package/web-app/dist/assets/{file-code-corner-CEZ4zHSM.js → file-code-corner-BVBoulCK.js} +1 -1
  48. package/web-app/dist/assets/{file-plus-eOLy6fTe.js → file-plus-CDKQeAm7.js} +1 -1
  49. package/web-app/dist/assets/{globe-GKmFY8gN.js → globe-Cl8qk-nm.js} +1 -1
  50. package/web-app/dist/assets/{hammer-DQJXsyrl.js → hammer-BOo1csUi.js} +1 -1
  51. package/web-app/dist/assets/{index-BSEGZzAR.js → index-Bfv0biBw.js} +3 -3
  52. package/web-app/dist/assets/{layers-DGjRDi54.js → layers-BghFDcTD.js} +1 -1
  53. package/web-app/dist/assets/{loader-circle-2ZPx0EJM.js → loader-circle-DyAeYG6R.js} +1 -1
  54. package/web-app/dist/assets/{lock-B-8P6qfu.js → lock-C7bqAAYM.js} +1 -1
  55. package/web-app/dist/assets/{package-CE6ZmcmH.js → package-vidrb1q8.js} +1 -1
  56. package/web-app/dist/assets/{plus-DpxsikCD.js → plus-Cjj1YONN.js} +1 -1
  57. package/web-app/dist/assets/{refresh-cw-XWvulrL5.js → refresh-cw-CMwiY85m.js} +1 -1
  58. package/web-app/dist/assets/{rotate-ccw-DWYAVESX.js → rotate-ccw-MPoGhAWY.js} +1 -1
  59. package/web-app/dist/assets/{scroll-text-CBAlW2Pf.js → scroll-text-CMfhHW7F.js} +1 -1
  60. package/web-app/dist/assets/{server-4EPqDbl8.js → server-CDovLro6.js} +1 -1
  61. package/web-app/dist/assets/{shield-alert-DJ91tyyC.js → shield-alert-gJ0YTzsd.js} +1 -1
  62. package/web-app/dist/assets/{thumbs-up--bd1zQE1.js → thumbs-up-BOiqZkGe.js} +1 -1
  63. package/web-app/dist/assets/{trash-2-Bc_B3znG.js → trash-2-BYVzyETI.js} +1 -1
  64. package/web-app/dist/assets/{trending-down-DqULE5ul.js → trending-down-D-egAVmq.js} +1 -1
  65. package/web-app/dist/assets/{trending-up-Djv9pIts.js → trending-up-CKTwFepe.js} +1 -1
  66. package/web-app/dist/assets/{upload-DKIWO91I.js → upload-CsFnSHCn.js} +1 -1
  67. package/web-app/dist/assets/{usePolling-OQ5LTo1m.js → usePolling-CpAT-x8N.js} +1 -1
  68. package/web-app/dist/assets/{user-BaBq77EK.js → user-Bh1eSNbN.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: 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.63.0
6
+ # Loki Mode v11.63.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
 
@@ -476,4 +476,4 @@ Implemented, planned and deprecated items, with the version each landed in: `ski
476
476
 
477
477
  ---
478
478
 
479
- **v11.63.0 | [Autonomi](https://www.autonomi.dev/) flagship product | core skill**
479
+ **v11.63.2 | [Autonomi](https://www.autonomi.dev/) flagship product | core skill**
package/VERSION CHANGED
@@ -1 +1 @@
1
- 11.63.0
1
+ 11.63.2
@@ -7,6 +7,6 @@ Modules:
7
7
  control: Session control helpers (status, atomic writes, origin check)
8
8
  """
9
9
 
10
- __version__ = "11.63.0"
10
+ __version__ = "11.63.2"
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.63.0. Do not edit by hand.
3
+ Generated from `loki-ts/src/cli/registry.ts` by `scripts/generate-stale-zero.sh` for v11.63.2. 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.63.0
5
+ **Version:** v11.63.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
 
@@ -1463,6 +1463,7 @@ L0 review rule (ENGINE-LAWS.md L0): a fix that adds an `if` or a regex about the
1463
1463
  - Siblings swept: state/manager.py get_state_manager has the same single-default shape and is to follow the same keying rule (separate branch); no other TS caller passes arguments to getStateManager.
1464
1464
  - Mechanism: one per-root cache in state/manager.ts keyed by the (st_dev, st_ino) of the .loki directory (symlinks and case spellings share a manager), capped by LOKI_STATE_MANAGER_MAX (default 8), least recently used evicted and stop()ped.
1465
1465
  - Fixture: loki-ts/tests/state_manager.test.ts (under loki-ts so bun and CI discover it). Red on origin/main (2 fail), green after (5 pass or 4 pass and 1 skip on a case-sensitive volume); mutations: no eviction, eviction without stop, path-string key, constant key, no LRU touch each go red.
1466
+ - Python half (RQ-35): state/manager.py get_state_manager keyed per realpath but with no bound. Now an OrderedDict LRU capped by LOKI_STATE_MANAGER_MAX (default 8), evicted managers stop()ped outside the lock. Fixture: state/test_manager.py TestDefaultManagerCap (red before: 3 fail; mutant skipping stop() on eviction: 2 fail).
1466
1467
 
1467
1468
  ## FC-ENGINE10-CACHE-KEY-NOT-PRODUCER-BOUND engine10 repomap and testmap cache keyed by tree hash plus a hand-bumped prefix, so a builder change kept serving old maps, and cache files were written with default modes
1468
1469
  - User-visible vs raw: user-visible. After a repomap or testmap builder change, test selection and repo context kept using the previous builder's output until someone bumped `repomap2-` by hand. Closed by #331.
@@ -1708,3 +1709,12 @@ L0 review rule (ENGINE-LAWS.md L0): a fix that adds an `if` or a regex about the
1708
1709
  - Siblings swept: runsRoot callers in run_status.ts (status, intent, pause/cancel) act on the current repo, where LOKI_DIR is correct; collectRuns is the only multi-project reader.
1709
1710
  - Mechanism: collectRuns reads join(proj.path, ".loki", "runs") for each registered project and ignores LOKI_DIR.
1710
1711
  - Fixture: loki-ts/tests/commands/run_status.test.ts "LOKI_DIR set across 2 projects lists each run once under its own repo"; a mutant restoring runsRoot(env, proj.path) turns it red.
1712
+
1713
+ ## FC-PROOF-POINTER-STALE-ON-BUN-ROUTE The Bun route never cleared .loki/state/last-proof-id.txt at run start, so a run that stopped before proof generation left the previous run's id and every reader showed a receipt for different work
1714
+
1715
+ - User-visible vs raw: user-visible (receipt and summary sections name the wrong run).
1716
+ - Law: absent reads as "no data"; a stale pointer reads as evidence, so a run must never inherit a prior run's pointer.
1717
+ - Cause (measured): #211 was fixed on the bash route only (autonomy/run.sh:7665). `git grep -n last-proof-id origin/main -- loki-ts/src` returned only the writer in runner/proof.ts.
1718
+ - Siblings swept: loki-ts/src/engine10 neither writes nor reads the pointer (`git grep -n last-proof-id -- loki-ts/src/engine10` returns nothing). The readers (run.sh, loki, run-summary.sh, trigger-server.py) are route-agnostic and unchanged.
1719
+ - Mechanism: clearStaleProofPointer in runner/proof.ts, called once from runAutonomous right after makeContext.
1720
+ - Fixture: loki-ts/tests/runner/autonomous.test.ts "#211 Bun-route sibling" seeds run-A, stops the run before proof with LOKI_PROOF=0, expects the pointer absent. Mutant: remove the call in runAutonomous; the test goes red.