loki-mode 11.67.10 → 11.67.12

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/autonomy/loki +4 -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/FAILURE-CLASSES.md +12 -0
  8. package/loki-ts/dist/loki.js +1029 -1029
  9. package/mcp/__init__.py +1 -1
  10. package/package.json +2 -2
  11. package/plugins/loki-mode/.claude-plugin/plugin.json +1 -1
  12. package/web-app/dist/assets/{AdminPage-rQOCqECe.js → AdminPage-B-GUw3zg.js} +1 -1
  13. package/web-app/dist/assets/{Avatar-CPvZZlBH.js → Avatar-UWIDb5to.js} +1 -1
  14. package/web-app/dist/assets/{Badge-DblOfuul.js → Badge-Ht9RPMME.js} +1 -1
  15. package/web-app/dist/assets/{Button-vawek2gJ.js → Button-DJyRHTGA.js} +1 -1
  16. package/web-app/dist/assets/{CockpitPage-RJkRePZ_.js → CockpitPage-D9KrG2Gg.js} +1 -1
  17. package/web-app/dist/assets/{ComparePage-B-pvpGvv.js → ComparePage-Ov7fdO15.js} +1 -1
  18. package/web-app/dist/assets/{ErrorBoundary-BLHcl0SA.js → ErrorBoundary-SMRm35sE.js} +1 -1
  19. package/web-app/dist/assets/{EvidenceReceiptPanel-4RRPEKRu.js → EvidenceReceiptPanel-D1bBkhXx.js} +1 -1
  20. package/web-app/dist/assets/{GitHubIssuesPanel-CQgWIF0z.js → GitHubIssuesPanel-DnWp4Uzu.js} +1 -1
  21. package/web-app/dist/assets/{GitHubPRsPanel-qKyW-8Tc.js → GitHubPRsPanel-DO9UWyLR.js} +1 -1
  22. package/web-app/dist/assets/{HomePage-wU_EZAiY.js → HomePage-D-bgZJ7l.js} +2 -2
  23. package/web-app/dist/assets/{LoginPage-DT25pVrm.js → LoginPage-CtDSDnPs.js} +1 -1
  24. package/web-app/dist/assets/{MagicPage-Cg_cwuwW.js → MagicPage-DbbaPn_k.js} +1 -1
  25. package/web-app/dist/assets/{MetricsPage-BpCsafqJ.js → MetricsPage-ClBZyFMn.js} +1 -1
  26. package/web-app/dist/assets/{NotFoundPage-DV-8cN50.js → NotFoundPage-DXkDa6Dl.js} +1 -1
  27. package/web-app/dist/assets/{ProjectPage-z619ScSO.js → ProjectPage-BVnro49k.js} +3 -3
  28. package/web-app/dist/assets/{ProjectsPage-fSzjy6Cw.js → ProjectsPage-BfFzPvvl.js} +1 -1
  29. package/web-app/dist/assets/{SettingsPage-Bk0BWvnB.js → SettingsPage-DNSew8QC.js} +1 -1
  30. package/web-app/dist/assets/{ShowcasePage-DaDu0S99.js → ShowcasePage-BWlpPIQ5.js} +1 -1
  31. package/web-app/dist/assets/{SystemSettingsPage-BCwq_FwV.js → SystemSettingsPage-CkS7JNZY.js} +1 -1
  32. package/web-app/dist/assets/{TeamsPage-DLoo5OpC.js → TeamsPage-B6MjLa6k.js} +1 -1
  33. package/web-app/dist/assets/{TemplatesPage-CXVOEwdD.js → TemplatesPage-CqZYt8Yd.js} +1 -1
  34. package/web-app/dist/assets/{TerminalOutput-DalOMv4R.js → TerminalOutput-BqzbwLjg.js} +1 -1
  35. package/web-app/dist/assets/{activity-BjKn_Ohn.js → activity-CTgAzDgJ.js} +1 -1
  36. package/web-app/dist/assets/{bell-DMuOK2la.js → bell-DFJ6ojK6.js} +1 -1
  37. package/web-app/dist/assets/{bot-ZJTM5weL.js → bot-CtPQsq1Q.js} +1 -1
  38. package/web-app/dist/assets/{check-RpxKb1es.js → check-QZJBj4We.js} +1 -1
  39. package/web-app/dist/assets/{chevron-left-ByUA_VLg.js → chevron-left-DVZPMeyl.js} +1 -1
  40. package/web-app/dist/assets/{circle-alert-CsfCwjzQ.js → circle-alert-Dwktnpee.js} +1 -1
  41. package/web-app/dist/assets/{clock-Dlf0ZKnp.js → clock-Cj40RQLw.js} +1 -1
  42. package/web-app/dist/assets/{cloud-Dq8Og3g-.js → cloud-hCvc5nHJ.js} +1 -1
  43. package/web-app/dist/assets/{code-xml-Dyn9kocr.js → code-xml-CYTRdCCN.js} +1 -1
  44. package/web-app/dist/assets/{database-xqyncGQh.js → database-CPiwDten.js} +1 -1
  45. package/web-app/dist/assets/{dollar-sign-Cz4b9baa.js → dollar-sign-DIfYR1Sc.js} +1 -1
  46. package/web-app/dist/assets/{file-code-corner-C9m2lzpv.js → file-code-corner-BNQAjf2-.js} +1 -1
  47. package/web-app/dist/assets/{file-plus-Drm9Cjrh.js → file-plus-CeE_Zp3X.js} +1 -1
  48. package/web-app/dist/assets/{globe-Y0yoDW6w.js → globe-CE93gWiy.js} +1 -1
  49. package/web-app/dist/assets/{hammer-C-1mXhma.js → hammer-W8oxwUEh.js} +1 -1
  50. package/web-app/dist/assets/{index-DRN2hvn8.js → index-5TJ2CvQr.js} +3 -3
  51. package/web-app/dist/assets/{layers-IRlv41Gu.js → layers-DqD6e-PH.js} +1 -1
  52. package/web-app/dist/assets/{loader-circle-BCO8EsyJ.js → loader-circle-CGMPgWta.js} +1 -1
  53. package/web-app/dist/assets/{lock-Bl7rszJ7.js → lock-C46VQag_.js} +1 -1
  54. package/web-app/dist/assets/{package-BYhNFgrV.js → package-DBjqBhBE.js} +1 -1
  55. package/web-app/dist/assets/{plus-DsxIJdRo.js → plus-2louSkJc.js} +1 -1
  56. package/web-app/dist/assets/{refresh-cw-rQ-JfG3H.js → refresh-cw-D3yT3MSi.js} +1 -1
  57. package/web-app/dist/assets/{rotate-ccw-Cbpb4X92.js → rotate-ccw-B6KAmRrG.js} +1 -1
  58. package/web-app/dist/assets/{scroll-text-D73s36VL.js → scroll-text-BP9vqxdT.js} +1 -1
  59. package/web-app/dist/assets/{server-Diw7B0Yf.js → server-DGG7XUph.js} +1 -1
  60. package/web-app/dist/assets/{shield-alert-DihAaAp8.js → shield-alert-DD9J0l6r.js} +1 -1
  61. package/web-app/dist/assets/{thumbs-up-YEaWtS6V.js → thumbs-up-D-V0bMUN.js} +1 -1
  62. package/web-app/dist/assets/{trash-2-IQTQ8C6I.js → trash-2-DNAfkLPZ.js} +1 -1
  63. package/web-app/dist/assets/{trending-down-B9KYJObJ.js → trending-down-DkZn4ZHi.js} +1 -1
  64. package/web-app/dist/assets/{trending-up-CBHWXBEV.js → trending-up-DEhj4QZK.js} +1 -1
  65. package/web-app/dist/assets/{upload-Dsv9kHrn.js → upload-8nfwP_Cq.js} +1 -1
  66. package/web-app/dist/assets/{usePolling-CXmCGHgr.js → usePolling-j_NiLbZh.js} +1 -1
  67. package/web-app/dist/assets/{user-CkfYyd2M.js → user-Che4pMQ2.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.67.10
6
+ # Loki Mode v11.67.12
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.67.10 | [Autonomi](https://www.autonomi.dev/) flagship product | core skill**
479
+ **v11.67.12 | [Autonomi](https://www.autonomi.dev/) flagship product | core skill**
package/VERSION CHANGED
@@ -1 +1 @@
1
- 11.67.10
1
+ 11.67.12
package/autonomy/loki CHANGED
@@ -2614,10 +2614,11 @@ _loki_start_optval_consumes() { [[ -n "${1:-}" && "${1:-}" != --* ]]; }
2614
2614
  # Same message and exit code as the cmd_start parser's catch-all arm.
2615
2615
  _loki_start_unknown_flag() { echo -e "${RED}Unknown option: $1${NC}"; exit 64; }
2616
2616
 
2617
- # One exit-code mapping for an engine10 resume, shared by cmd_resume and
2618
- # `loki start --resume`. 0 and 4 (phase reported) -> 0, 5 (publish failed) -> 1.
2617
+ # Exit-code mapping for the engine10 resume REPORTER, used only by cmd_resume.
2618
+ # 0 and 4 (phase reported) -> 0, 5 (publish failed) -> 1. `loki start --resume`
2619
+ # runs the stage resume (engine10 --resume) and returns its code unchanged.
2619
2620
  # Sets _LOKI_E10_RC and returns 0 when handled; any other code returns 1 with
2620
- # _LOKI_E10_RC set to the raw code (cmd_resume falls through, start returns it).
2621
+ # _LOKI_E10_RC set to the raw code (cmd_resume falls through).
2621
2622
  _loki_e10_resume_map() {
2622
2623
  case "$1" in
2623
2624
  0 | 4) _LOKI_E10_RC=0 ;;
@@ -7,6 +7,6 @@ Modules:
7
7
  control: Session control helpers (status, atomic writes, origin check)
8
8
  """
9
9
 
10
- __version__ = "11.67.10"
10
+ __version__ = "11.67.12"
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.67.10. Do not edit by hand.
3
+ Generated from `loki-ts/src/cli/registry.ts` by `scripts/generate-stale-zero.sh` for v11.67.12. 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.67.10
5
+ **Version:** v11.67.12
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
 
@@ -1434,6 +1434,10 @@ L0 review rule (ENGINE-LAWS.md L0): a fix that adds an `if` or a regex about the
1434
1434
  - Sibling (engine10 cache): closed by #331, see FC-ENGINE10-CACHE-KEY-NOT-PRODUCER-BOUND.
1435
1435
  - Fixture: tests/mcp/test_phase1_tools.py test_stored_text_appears_only_inside_untrusted_content (red with loki_verify_fast trusted: leaks ['loki_verify_fast']; green after) and tests/test-fast-verify.sh CACHE BINDING block (planted repo-local and forged-MAC empty-list entries; red when the MAC check is replaced by `if False:`, green with it), plus the CACHE KEY and CACHE FILES blocks there: a test-path file moved to a product path must FAIL (red when the path is dropped from cache_key), a copy of fast_verify.py with disabled rules must not poison the real rules' cache (red when PRODUCER is a fixed string), the key and cache json are 0600 and the dir 0700 (red when the key is written 0666), and no verify cache file appears in a repo (red when cache_path points at root/.loki/cache/fast-verify.json). Tests that run fast_verify set LOKI_FAST_VERIFY_CACHE_DIR to a run tmp or pass --no-cache, never the real ~/.loki.
1436
1436
 
1437
+ - Recurrence 2026-10-23 (RQ-102, founder-reported): all 12 release runs from v11.66.1 to v11.67.9 failed publish-npm on the 8x15s settle loop of scripts/npm-dist-tags.sh ("dist-tags did not settle on the highest version after 8 tries", run 39938698648), and verify-npm-registry has `needs: publish-npm`, so a failed publish job SKIPPED the only converge step. At 12:58Z latest=11.67.8 next=11.67.9 (npm dist-tag ls and the uncached packument agree; packument modified 10:29:12Z, a late 11.67.8 latest write with no re-assert for 2.5 h). Cause: the settle window (about 2 min) is shorter than the measured registry lag (4 to 11 min), and the converge job was gated on the very step that fails. Same shape for publish-ts-sdk and verify-sdk-registry.
1438
+ - Mechanism (one owner, D86): publish-npm owns the upload and one best-effort tag write (LOKI_DISTTAG_TRIES=2, failure is a ::warning, an upload failure stays fatal). verify-npm-registry owns convergence and the red signal: `if: !cancelled() && needs.publish-npm.result != 'skipped'` (a cancelled run stops it; a skipped publish uploaded nothing), it first proves the registry serves the version, then converges with LOKI_DISTTAG_TRIES=50 and LOKI_DISTTAG_SLEEP=15 (at least 12.5 min). Red only if the tags never settle. The SDK pair has the same shape. npm-dist-tags.sh and its never-below-max logic are unchanged.
1439
+ - Fixture: tests/test-npm-dist-tags.sh structural cases on .github/workflows/release.yml (verify jobs gate on !cancelled() and not skipped, with always() absent; publish tag step is non-fatal; converge window at least 720 s and timeout at least 40). Mutation: each of these goes red alone: `needs`-only gating, always() gating, a fatal tag call, a dropped TRIES, a short timeout, on both the npm and SDK pairs.
1440
+
1437
1441
  ## FC-CATALOG-CAPABILITY-DRIFT-UNCHECKED A catalog entry whose capabilities drifted from the API failed only at request time
1438
1442
  - User-visible: a catalog entry whose thinking types or effort levels drifted from what the model accepts fails only at request time, as an API error mid-run. Raw: the catalog (providers/model_catalog.json) is static and never compared with models.retrieve.
1439
1443
  - Law broken: a capability the harness relies on is claimed without being checked against its source of truth.
@@ -1939,3 +1943,11 @@ L0 review rule (ENGINE-LAWS.md L0): a fix that adds an `if` or a regex about the
1939
1943
  - Mechanism: bench adapters register in SCOPED_OUT when added. The layout test copy set follows the compiler's declared dependencies (pd/303d, not this row).
1940
1944
  - Fixture: claude_flags.test.ts "P12-26b" goes red for any new unlisted benchmarks/ file carrying the flag.
1941
1945
  - Open: the dist-layout half (secret-paths.json copy) is owned by pd/303d 1be1e118d.
1946
+
1947
+ ## FC-VERIFY-PATH-REROOTED-UNDER-RUNS A `loki verify` argument that is a path to a missing receipt was treated as a run id, so the error named a path that never existed
1948
+ - User-visible vs raw: user-visible. `loki verify .loki/runs/e10-nope/receipt.json` printed `receipt not found: .loki/runs/.loki/runs/e10-nope/receipt.json/receipt.json`.
1949
+ - Law: a path the user typed is reported as given; the reporter never invents a location.
1950
+ - Cause (measured): engine10/verify_cmd.ts treated only an EXISTING file as a path, so a missing one fell through to `join(runsRoot, runId, "receipt.json")`.
1951
+ - Siblings swept: run id form (unchanged), absolute path, a receipt copied elsewhere, a non-receipt .json (diff verifier).
1952
+ - Mechanism: an argument containing a path separator or ending in .json is a path whether or not the file exists.
1953
+ - Fixture: tests/test-verify-receipt-route.sh "a missing receipt at a run path is UNCHECKED rc 2 with the path as given" (red before, green after).