loki-mode 11.17.75 → 11.17.76

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 +7 -0
  7. package/docs/v10/PROGRESS.md +3 -0
  8. package/loki-ts/dist/loki.js +1074 -1074
  9. package/mcp/__init__.py +1 -1
  10. package/package.json +2 -2
  11. package/packages/control-plane/dist/server.js +19 -12
  12. package/plugins/loki-mode/.claude-plugin/plugin.json +1 -1
  13. package/web-app/dist/assets/{AdminPage-ckrZehcf.js → AdminPage-C9CQBRCv.js} +1 -1
  14. package/web-app/dist/assets/{Avatar-B0cf3aVA.js → Avatar-BhmBNUPT.js} +1 -1
  15. package/web-app/dist/assets/{Badge-Ds_hvQoP.js → Badge-BvCq2-AU.js} +1 -1
  16. package/web-app/dist/assets/{Button-DTUAVmt5.js → Button-TBmtKOqA.js} +1 -1
  17. package/web-app/dist/assets/{CockpitPage-DF7RtcXW.js → CockpitPage-BO-zbB8z.js} +1 -1
  18. package/web-app/dist/assets/{ComparePage-BHAQBZK0.js → ComparePage-CKscZK_O.js} +1 -1
  19. package/web-app/dist/assets/{ErrorBoundary-Xg5ORKQJ.js → ErrorBoundary-BrkeH2Y3.js} +1 -1
  20. package/web-app/dist/assets/{EvidenceReceiptPanel-CdS9tMxc.js → EvidenceReceiptPanel-f9uCX3yS.js} +1 -1
  21. package/web-app/dist/assets/{GitHubIssuesPanel-hvk0yVL-.js → GitHubIssuesPanel-CAqtVRHw.js} +1 -1
  22. package/web-app/dist/assets/{GitHubPRsPanel-CfIFqgI3.js → GitHubPRsPanel-Jtx_ikWN.js} +1 -1
  23. package/web-app/dist/assets/{HomePage-CyijuFBr.js → HomePage-_mPIzGn9.js} +2 -2
  24. package/web-app/dist/assets/{LoginPage-B5S7e7ee.js → LoginPage-Cd92GhII.js} +1 -1
  25. package/web-app/dist/assets/{MagicPage-Bjc2F-ce.js → MagicPage-BmIqtGm5.js} +1 -1
  26. package/web-app/dist/assets/{MetricsPage-0jsT2phC.js → MetricsPage-3CfsaG_m.js} +1 -1
  27. package/web-app/dist/assets/{NotFoundPage-rQ2fotgB.js → NotFoundPage-Br-g9AbW.js} +1 -1
  28. package/web-app/dist/assets/{ProjectPage-BToxnl4V.js → ProjectPage-Dx2AA5Y7.js} +3 -3
  29. package/web-app/dist/assets/{ProjectsPage-CDZb1rLe.js → ProjectsPage-DLHDbZoy.js} +1 -1
  30. package/web-app/dist/assets/{SettingsPage-DZXRZ9gX.js → SettingsPage-D94kuRCH.js} +1 -1
  31. package/web-app/dist/assets/{ShowcasePage-Dx0RfAv3.js → ShowcasePage-CItGSA7Y.js} +1 -1
  32. package/web-app/dist/assets/{SystemSettingsPage-Bjh8M7PU.js → SystemSettingsPage-DecZOv_a.js} +1 -1
  33. package/web-app/dist/assets/{TeamsPage-D8VRFBhr.js → TeamsPage-e0AUkZug.js} +1 -1
  34. package/web-app/dist/assets/{TemplatesPage-M2fz0DZW.js → TemplatesPage-CRUokO5z.js} +1 -1
  35. package/web-app/dist/assets/{TerminalOutput-CFiTiJiH.js → TerminalOutput-BDmhduwO.js} +1 -1
  36. package/web-app/dist/assets/{activity-BpEti4MN.js → activity-D8ql1RlC.js} +1 -1
  37. package/web-app/dist/assets/{bell-DGSGGaVr.js → bell-orReNr4N.js} +1 -1
  38. package/web-app/dist/assets/{bot-BhbuP5Jx.js → bot-CHD-p3yx.js} +1 -1
  39. package/web-app/dist/assets/{check-XA1EKiOV.js → check-CoV5lgtT.js} +1 -1
  40. package/web-app/dist/assets/{chevron-left-BVn1BhDN.js → chevron-left-BNTcjUYJ.js} +1 -1
  41. package/web-app/dist/assets/{circle-alert-CuDH-xVA.js → circle-alert-Ctw93lag.js} +1 -1
  42. package/web-app/dist/assets/{clock-DOexYJz7.js → clock-ghwe17Mr.js} +1 -1
  43. package/web-app/dist/assets/{cloud-BzhyIUtk.js → cloud-CPdhMe5M.js} +1 -1
  44. package/web-app/dist/assets/{code-xml-8JwaEdd2.js → code-xml-D_ls460O.js} +1 -1
  45. package/web-app/dist/assets/{database-CHAlm7GD.js → database--txjFRm7.js} +1 -1
  46. package/web-app/dist/assets/{dollar-sign-DMn1Z2mk.js → dollar-sign-yBTfA9B-.js} +1 -1
  47. package/web-app/dist/assets/{file-code-corner-DXUwz0qn.js → file-code-corner-flbM-wFK.js} +1 -1
  48. package/web-app/dist/assets/{file-plus-9Avu5l_j.js → file-plus-ZqP1rdyQ.js} +1 -1
  49. package/web-app/dist/assets/{globe-CaI5OyzR.js → globe-BxvmypwQ.js} +1 -1
  50. package/web-app/dist/assets/{hammer-39YmcOpO.js → hammer-UCzYuJUR.js} +1 -1
  51. package/web-app/dist/assets/{index-Cud61p9W.js → index-CuPW6Ff_.js} +3 -3
  52. package/web-app/dist/assets/{layers-Cy4XzPLx.js → layers-DOUrmTFo.js} +1 -1
  53. package/web-app/dist/assets/{loader-circle-D-xd2rX_.js → loader-circle-XV4GqxO0.js} +1 -1
  54. package/web-app/dist/assets/{lock-BjX622xw.js → lock-Bp3KTqJq.js} +1 -1
  55. package/web-app/dist/assets/{package-DJM9D0vQ.js → package-BPNFJPhi.js} +1 -1
  56. package/web-app/dist/assets/{plus-NJgfTSYU.js → plus-D5AJ9CbB.js} +1 -1
  57. package/web-app/dist/assets/{refresh-cw-bk2f-EWd.js → refresh-cw-MiVr91M1.js} +1 -1
  58. package/web-app/dist/assets/{rotate-ccw-CAhHbrgP.js → rotate-ccw-Bc97bvIq.js} +1 -1
  59. package/web-app/dist/assets/{scroll-text-Hw2Dmd7B.js → scroll-text-DC1RvHx-.js} +1 -1
  60. package/web-app/dist/assets/{server-BQbvhpJk.js → server-CSA-j7xn.js} +1 -1
  61. package/web-app/dist/assets/{shield-alert-C2MGmd4Q.js → shield-alert-ubbkSf0j.js} +1 -1
  62. package/web-app/dist/assets/{thumbs-up-BAQFLfSO.js → thumbs-up-CxpcA4EK.js} +1 -1
  63. package/web-app/dist/assets/{trash-2-okuerJdv.js → trash-2-Bh1Pdz1Z.js} +1 -1
  64. package/web-app/dist/assets/{trending-down-dl0Y9tN6.js → trending-down-isclw9oO.js} +1 -1
  65. package/web-app/dist/assets/{trending-up-CzeGIsMl.js → trending-up-CHGt_Ghb.js} +1 -1
  66. package/web-app/dist/assets/{upload-tkq9_bgk.js → upload-DEdgXqPK.js} +1 -1
  67. package/web-app/dist/assets/{usePolling-BQeWmnOa.js → usePolling-6K1dXGbq.js} +1 -1
  68. package/web-app/dist/assets/{user-DOXirXaZ.js → user-BsWjcTD2.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.17.75
6
+ # Loki Mode v11.17.76
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
 
@@ -483,4 +483,4 @@ See `CHANGELOG.md` entries [7.5.7], [7.5.8], [7.5.13] for the per-fix list and r
483
483
 
484
484
  ---
485
485
 
486
- **v11.17.75 | [Autonomi](https://www.autonomi.dev/) flagship product | core skill**
486
+ **v11.17.76 | [Autonomi](https://www.autonomi.dev/) flagship product | core skill**
package/VERSION CHANGED
@@ -1 +1 @@
1
- 11.17.75
1
+ 11.17.76
@@ -7,6 +7,6 @@ Modules:
7
7
  control: Session control helpers (status, atomic writes, origin check)
8
8
  """
9
9
 
10
- __version__ = "11.17.75"
10
+ __version__ = "11.17.76"
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.17.75. Do not edit by hand.
3
+ Generated from `loki-ts/src/cli/registry.ts` by `scripts/generate-stale-zero.sh` for v11.17.76. 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.17.75
5
+ **Version:** v11.17.76
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
 
@@ -1215,3 +1215,10 @@ L0 review rule (ENGINE-LAWS.md L0): a fix that adds an `if` or a regex about the
1215
1215
  - Hardening 2 (HIGH re-review of 9a4267335, D99): a changed TEST file can also be reached through a workspace link (node_modules/shared/helper.test.js), so test-files-only is not enough. depsSeeHead (util/base_guard.ts) withholds the excusal whenever the dependency dirs the base rerun would link can see head sources: any top-level or @scope/* node_modules entry that is a symlink whose realpath is inside the repo, or a .venv holding a .pth, *.egg-link or direct_url.json that names the repo; an unreadable dependency dir counts as seeing head. This gate is in addition to the test-files-only gate. Fixture: verify_prered.test.ts "reviewer repro 2" (red before the guard).
1216
1216
  - Hardening 3 (round 3 HIGH review, D99): depsSeeHead now walks node_modules and .venv recursively without following symlinks (so node_modules/foo/node_modules/shared -> ../../../shared is seen), inspects every symlink target, and withholds when a target is inside the repo but outside the dependency dir it lives in (an npm .bin link or a pnpm store link stays self-contained). The repo is compared as given and as realpath (/var vs /private/var, a symlinked repo dir). Editable-install files (.pth, .egg-link, direct_url.json with its file:// URL decoded by fileURLToPath so %20 matches, and __editable___*_finder.py) are checked for the repo path, each named path also by realpath. The walk is bounded at 50000 entries; exceeding it or any read error other than a missing dir withholds. The helper logic lives in util/base_guard.ts (zeroOnBase, depsSeeHead), outside the engine core cap. A pnpm workspace package links to a path inside the repo but outside node_modules, so workspace pnpm repos are withheld; that is fail-safe, and the excusal is effectively inert wherever workspace links or editable installs exist.
1217
1217
  - Stated plainly: the motivating incident (FireLater#20, a run that edits source) stays NOT PROVEN by design. The excusal only fires for runs that changed test files alone with dependencies that cannot see head; Seal accuracy outranks delivered accuracy.
1218
+ ## FC-FULLSUITE-ANSI-IDS A repo whose full suite was already red on base ended FAILED because the head full-suite run parsed no failure ids from colored output (FULLSUITE-ANSI-IDS)
1219
+ - User-visible vs raw: user-visible. FireLater#20 on loki 11.17.74: a frontend vitest suite with 307 known failing ids in `.loki/state/repo-profile.json` ended FAILED "full suite: frontend failed". Raw: the head run's output was colored, `failIds` returned [] (stripped, the same output yields 296 ids, all inside the base set), and attributeFullSuite treats ids=[] as "introduced (blocking)". The fix brief also carried only the command, so the fixer saw no failure text.
1220
+ - Law: a parser reads what the tool said, not how it was painted (FC-69); a user's environment must not change a verdict; unknown never excuses, but the reason it is unknown must be named.
1221
+ - Cause (measured): src/project_model/package_suite.ts runPackageSuites and the legacy loop in engine10/stages/deep.ts runFullSuite ran the suite with plain process.env (no plainTestEnv) and passed raw output to failIds without stripAnsi. The baseline writer (runner/repo_profile.ts shellRunner) already used both, so base had ids and head had none. Unswept sibling of FC-69.
1222
+ - Siblings swept (every `failIds(` and test-output-parsing `run(` under loki-ts/src, all checked): package_suite.ts runPackageSuites (fixed), engine10/stages/deep.ts runFullSuite (fixed), runner/repo_profile.ts shellRunner (already plainTestEnv + stripAnsi), engine10/stages/verify.ts runOnce (plainTestEnv + stripAnsi, FC-69) and its base rerun failIds at subtractBase (consumes runOnce output), runner/load_owner.ts runOnBase (plainTestEnv + stripAnsi), engine10/stages/wall.ts (plainTestEnv + stripAnsi), runner/quality_gates.ts npm test run (summaryFailedCount strips ANSI itself; no ids parsed). The remaining `run(` sites (python, doctor, proof, status, provider, supply, speed) do not parse test output.
1223
+ - Mechanism: one `suiteEnv(path)` (plainTestEnv plus the caller's PATH override) for both full-suite runners; ANSI stripped at capture before harnessLoadReason, classifyCheck and failIds; `failIds` strips ANSI itself (idempotent) so no caller can regress; attributeFullSuite says "head failure ids unparseable" instead of "none of the failing checks match them" when a failing check has no parsed ids against an attributable baseline (still blocking, fail-closed); a full-suite failure carries a redacted bounded `failureExcerpt` into the existing verify `excerpts` map, so the fix brief shows failure text.
1224
+ - Fixture: loki-ts/tests/engine10/verify_prered.test.ts "FC-FULLSUITE-ANSI-IDS" (colored vitest transcript), loki-ts/tests/engine10/monorepo_cwd.test.ts (colored failing package run keeps ids and a redacted excerpt; child runs under FORCE_COLOR=0 NO_COLOR=1), loki-ts/tests/runner/harness_intelligence.test.ts (colored head excused against a plain superset baseline, colored new ids still block, unparseable ids named, excerpt in the brief). Red before the fix, green after.
@@ -2599,3 +2599,6 @@ v11.17.21 published (Release success on 462fbc40a; npm latest 11.17.21, next 11.
2599
2599
 
2600
2600
  ## 2026-10-19T03:20Z (CoS) v11.17.75
2601
2601
  - 11.17.75: FC-ZERO-ON-BASE. a849c264 commits 9a4267335..58bb86a73 cherry-picked as 2a52da847..13b0b64c6 plus unused-import drop. HIGH a6dc6f16: BLOCK x4 (workspace link, nested links, venv spellings, spelled-target exemption), APPROVE round 5: attack set 11/0, verify_prered+seal+verify+budget 209/0. On main after cherry-pick: same 4 suites 209 pass 0 fail, tsc no engine10/base_guard errors.
2602
+
2603
+ ## 2026-10-19T05:27Z (CoS) v11.17.76
2604
+ - 11.17.76: FC-FULLSUITE-ANSI-IDS. Diagnosed on FireLater#20 run e10-20261019T045437Z-7939 (base 156 fails, head 150, 0 new; failIds raw 0 vs stripped 296/307). Engineer b9767d997 red-then-green 5 tests; HIGH review APPROVE (190/0, mutation removing stripAnsi turns 2 tests red). Main after cherry-pick 9944bc030: 83/0 on 4 touched suites.