loki-mode 11.17.66 → 11.17.68
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.
- package/SKILL.md +2 -2
- package/VERSION +1 -1
- package/dashboard/__init__.py +1 -1
- package/docs/CLI-REFERENCE.md +1 -1
- package/docs/INSTALLATION.md +1 -1
- package/docs/v10/FAILURE-CLASSES.md +24 -0
- package/docs/v10/PROGRESS.md +6 -0
- package/loki-ts/dist/loki.js +1125 -1123
- package/mcp/__init__.py +1 -1
- package/package.json +2 -2
- package/packages/control-plane/dist/server.js +390 -338
- package/plugins/loki-mode/.claude-plugin/plugin.json +1 -1
- package/web-app/dist/assets/{AdminPage-j94_a839.js → AdminPage-B15Qsswe.js} +1 -1
- package/web-app/dist/assets/{Avatar-Bi3W-JjR.js → Avatar-Tg0XGgMO.js} +1 -1
- package/web-app/dist/assets/{Badge-CrogsWsB.js → Badge-Ca60FBOF.js} +1 -1
- package/web-app/dist/assets/{Button-Bnd4DMFY.js → Button-JRbzwosm.js} +1 -1
- package/web-app/dist/assets/{CockpitPage-qDfV3sSb.js → CockpitPage-Q6PdXXXu.js} +1 -1
- package/web-app/dist/assets/{ComparePage-CywiBhMJ.js → ComparePage-DIZPqHgs.js} +1 -1
- package/web-app/dist/assets/{ErrorBoundary-COoOqROL.js → ErrorBoundary-DYwpjJYQ.js} +1 -1
- package/web-app/dist/assets/{EvidenceReceiptPanel-B67rnk1U.js → EvidenceReceiptPanel-A70AN7Jx.js} +1 -1
- package/web-app/dist/assets/{GitHubIssuesPanel-B0C0jV_p.js → GitHubIssuesPanel-DxC81nZf.js} +1 -1
- package/web-app/dist/assets/{GitHubPRsPanel-ZRcUNoHa.js → GitHubPRsPanel-CG-XS678.js} +1 -1
- package/web-app/dist/assets/{HomePage-y3focQBL.js → HomePage-g9GK0F4E.js} +2 -2
- package/web-app/dist/assets/{LoginPage-Djz7TuJt.js → LoginPage-C3SUeWJ_.js} +1 -1
- package/web-app/dist/assets/{MagicPage-Cf9vqiJi.js → MagicPage-C6uzZ_ZM.js} +1 -1
- package/web-app/dist/assets/{MetricsPage-B6IMaLcL.js → MetricsPage-gYF75wla.js} +1 -1
- package/web-app/dist/assets/{NotFoundPage-Ck2BGzzf.js → NotFoundPage-Dg3peDQg.js} +1 -1
- package/web-app/dist/assets/{ProjectPage-D6oy3OA4.js → ProjectPage-DgrTvsTT.js} +3 -3
- package/web-app/dist/assets/{ProjectsPage-BtB9qeoV.js → ProjectsPage-CS782pT9.js} +1 -1
- package/web-app/dist/assets/{SettingsPage-DWdmB_jK.js → SettingsPage-BufM6rki.js} +1 -1
- package/web-app/dist/assets/{ShowcasePage-BROE-Ryd.js → ShowcasePage-DUfcAQ3p.js} +1 -1
- package/web-app/dist/assets/{SystemSettingsPage-ljuWGjNX.js → SystemSettingsPage-GGa7ZEAu.js} +1 -1
- package/web-app/dist/assets/{TeamsPage-DcX-eI3G.js → TeamsPage-Duo-UX8d.js} +1 -1
- package/web-app/dist/assets/{TemplatesPage-BX7KjC_g.js → TemplatesPage-BiKp5wqf.js} +1 -1
- package/web-app/dist/assets/{TerminalOutput-BboNv5oD.js → TerminalOutput-BleBo8aa.js} +1 -1
- package/web-app/dist/assets/{activity-CDT1XVzO.js → activity-CzHPIm9R.js} +1 -1
- package/web-app/dist/assets/{bell-DAp3l7j7.js → bell-CX0W4Dl8.js} +1 -1
- package/web-app/dist/assets/{bot-BFvXwstB.js → bot-BVbxhF0V.js} +1 -1
- package/web-app/dist/assets/{check-BhqCsZHK.js → check-BrsmbSbu.js} +1 -1
- package/web-app/dist/assets/{chevron-left-VLNjsTwf.js → chevron-left-DSmawbvA.js} +1 -1
- package/web-app/dist/assets/{circle-alert-n6Tgkajt.js → circle-alert-CQdXcZiI.js} +1 -1
- package/web-app/dist/assets/{clock-FLBNwlN0.js → clock-DlZBar7-.js} +1 -1
- package/web-app/dist/assets/{cloud-B2BYCpPX.js → cloud-B1PSR57L.js} +1 -1
- package/web-app/dist/assets/{code-xml-98ieqGgs.js → code-xml-BoRrOQ2s.js} +1 -1
- package/web-app/dist/assets/{database-CJceoM7u.js → database-tR5zTmu6.js} +1 -1
- package/web-app/dist/assets/{dollar-sign-C1fh-vuC.js → dollar-sign-DNZJ02Ej.js} +1 -1
- package/web-app/dist/assets/{file-code-corner-DZijvZ1D.js → file-code-corner-CgsOh3Af.js} +1 -1
- package/web-app/dist/assets/{file-plus-AVSsuDM1.js → file-plus-B7gxwh23.js} +1 -1
- package/web-app/dist/assets/{globe-dJmkfRu2.js → globe-CIy0VK9i.js} +1 -1
- package/web-app/dist/assets/{hammer-BqX2-Kc1.js → hammer-Bks8T72X.js} +1 -1
- package/web-app/dist/assets/{index-Ca-8laie.js → index-DBWJ1wdp.js} +3 -3
- package/web-app/dist/assets/{layers-CXvkq4za.js → layers-D2NPSlUm.js} +1 -1
- package/web-app/dist/assets/{loader-circle-RCUyuzXV.js → loader-circle-jJZaJ1OS.js} +1 -1
- package/web-app/dist/assets/{lock-COrTq4_d.js → lock-DvtCAt-o.js} +1 -1
- package/web-app/dist/assets/{package-09BDghB6.js → package-Bi6Zqo8v.js} +1 -1
- package/web-app/dist/assets/{plus-C6vnaxsi.js → plus-Ctah3HPx.js} +1 -1
- package/web-app/dist/assets/{refresh-cw-CoC5Ww2x.js → refresh-cw-BPY6lhZ1.js} +1 -1
- package/web-app/dist/assets/{rotate-ccw-V-9LnC5Q.js → rotate-ccw-CQ9TURIT.js} +1 -1
- package/web-app/dist/assets/{scroll-text-C0Fzc5GN.js → scroll-text-BtMvvPvt.js} +1 -1
- package/web-app/dist/assets/{server-VWC6cU5I.js → server-BinZFvpC.js} +1 -1
- package/web-app/dist/assets/{shield-alert-ELxrHfXV.js → shield-alert-DDTgtEDV.js} +1 -1
- package/web-app/dist/assets/{thumbs-up-BRYdBpDx.js → thumbs-up-CqGJTWTZ.js} +1 -1
- package/web-app/dist/assets/{trash-2-WJdakEtW.js → trash-2-CCwsNari.js} +1 -1
- package/web-app/dist/assets/{trending-down-BirZ7NGk.js → trending-down-CUo25NgU.js} +1 -1
- package/web-app/dist/assets/{trending-up-C622NTSf.js → trending-up-OY9jb7Yb.js} +1 -1
- package/web-app/dist/assets/{upload-ZqooFC_k.js → upload-BjtCOD-s.js} +1 -1
- package/web-app/dist/assets/{usePolling-0JLKJxDe.js → usePolling-88InUUXn.js} +1 -1
- package/web-app/dist/assets/{user-BJzgh5AS.js → user-Bq6O7zYo.js} +1 -1
- 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.
|
|
6
|
+
# Loki Mode v11.17.68
|
|
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.
|
|
486
|
+
**v11.17.68 | [Autonomi](https://www.autonomi.dev/) flagship product | core skill**
|
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
11.17.
|
|
1
|
+
11.17.68
|
package/dashboard/__init__.py
CHANGED
package/docs/CLI-REFERENCE.md
CHANGED
|
@@ -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.
|
|
3
|
+
Generated from `loki-ts/src/cli/registry.ts` by `scripts/generate-stale-zero.sh` for v11.17.68. 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 |
|
package/docs/INSTALLATION.md
CHANGED
|
@@ -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.
|
|
5
|
+
**Version:** v11.17.68
|
|
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
|
|
|
@@ -1169,3 +1169,27 @@ L0 review rule (ENGINE-LAWS.md L0): a fix that adds an `if` or a regex about the
|
|
|
1169
1169
|
- Siblings swept (known follow-up: group runs, where the group baseRef stays HEAD while its units skip; the predicate never fires off a loki/e10-* run branch, so not on main after a fast-forward accept, not on loki/epic-*, loki/group-*, loki/unit-* branches, and not when LOKI_PR_BASE is set by a stacked slice of `loki issues run`): unmergedEvidence/lokiOwn (still reports the mixed Loki plus operator range); the supervisor start line (baseLine now calls the same predicate, so it agrees with intake); ctx.baseSha (set before intake from HEAD; intake now updates it, which the Wall base run, verify, seal and the PR stage read); base_sha, the tree cache key and the contract snapshot (all taken after the checkout).
|
|
1170
1170
|
- Mechanism: one predicate `stackedOnLokiRun` in loki-ts/src/util/base_guard.ts, used by intake.ts and baseLine. No new knob.
|
|
1171
1171
|
- Fixture: loki-ts/tests/engine10/intake.test.ts describe "FC-STACKED-ON-LOKI-RUN" (all-Loki range branches from origin/main with the old branch intact and the note recorded; an operator commit in the range keeps HEAD; an unresolved target keeps HEAD) plus the FC-15 case D updated to the skip.
|
|
1172
|
+
|
|
1173
|
+
## FC-LAZY-CONTROL-ENV Lazy-fetch control silenced by ambient git env or a racily clean index (GIT-ENV-LEAK, sibling of FC-25c-ci)
|
|
1174
|
+
- User-visible vs raw: Tests run 39174561642 (main 8cc81a1b8) failed shard 6/8 on tests/test-untracked-status-fsmonitor.sh with "control: plain git status did not run the lazy-fetch hook MARKER=no"; the same file passed an hour earlier and 5 of 5 locally.
|
|
1175
|
+
- Law broken: a test must be hermetic; a control that depends on inherited process env is not a control.
|
|
1176
|
+
- Cause (reproduced 2026-10-18, git 2.55.0): GIT_SSH_COMMAND (autonomy/run.sh:5868 exports GIT_SSH_COMMAND=false) or GIT_NO_LAZY_FETCH in the inherited env makes the plain `git status` skip core.sshCommand, so the hook marker is never written. `env GIT_SSH_COMMAND=false bash tests/test-untracked-status-fsmonitor.sh` and `env GIT_NO_LAZY_FETCH=1 ...` each fail the control exactly as in CI. A second cause remained in a clean env: 1 of 20 runs failed the control because `git status` re-hashes f.txt (and so lazy-fetches the attributes blob) only when the index entry is racily clean; otherwise stat matches and no fetch happens.
|
|
1177
|
+
- Siblings: both lazy-fetch fixtures in the file (run_lazy_case and the filter-case repo); any test asserting a repo-local ssh, fsmonitor or filter command runs.
|
|
1178
|
+
- Mechanism: both fixtures unset GIT_SSH, GIT_SSH_COMMAND, GIT_NO_LAZY_FETCH, GIT_CONFIG_COUNT, GIT_CONFIG_PARAMETERS, GIT_DIR, GIT_WORK_TREE and set GIT_CONFIG_NOSYSTEM=1 GIT_CONFIG_GLOBAL=/dev/null, and run_lazy_case sets f.txt mtime to 2030 (as run_eq_case already does) so status always re-hashes. The control runs first; a dead control is a FAIL that marks the real leg NOT PROVEN, never a skip or pass. The real assertion is unchanged.
|
|
1179
|
+
- Fixture: the same file passes 21/0 on 40 consecutive clean runs (was 19/1 once in 20) and with GIT_SSH_COMMAND=false GIT_NO_LAZY_FETCH=1 set.
|
|
1180
|
+
|
|
1181
|
+
## FC-BASELINE-PER-PACKAGE A full suite already red on base was blocked as a regression because the baseline ran a different command (BASELINE-PER-PACKAGE)
|
|
1182
|
+
- User-visible vs raw: user-visible. `loki start asklokesh/FireLater#20` (run e10-20261018T205157Z-678e) ended FAILED with "full suite: frontend failed" after $2.60: verify ran one full suite per Project Model package, `(cd frontend && npm test)`, while the intake baseline had run only the repo's first test command at the root, so attributeFullSuite found no baseline for that command and excused nothing; vitest's per-test cross line also carried its duration ("5ms"), so even a matching command would give different ids on base and head.
|
|
1183
|
+
- Law broken: a failure the change did not cause is never charged to the change; base and head are measured with the same command and the same id parser.
|
|
1184
|
+
- Siblings: the legacy per-runner full suite (FULL_SUITE_CMD, `npm test --silent` vs the profile's `npm test`), the multi-root package suites (runPackageSuites), every runner whose failure line carries a timing suffix (failIds), and the REPOMEM reuse path (a new HEAD drops the per-command entries, so they are re-recorded).
|
|
1185
|
+
- Mechanism: package_suite.ts fullSuiteSpecs is the one list of full-suite commands; verify runs it and intake's baselineSuites records a baseline per command in its own cwd (shared budget, a suite past it is recorded not run); attributeFullSuite matches each failing check to its own command's baseline and stays fail-closed (no baseline for a command, an unattributable one, or no known ids: nothing excused); failIds strips a trailing duration ("5ms", "1.2s") from FAIL and cross lines.
|
|
1186
|
+
- Fixture: loki-ts/tests/runner/harness_intelligence.test.ts "baselineSuites records one entry per full-suite command" and "attributeFullSuite matches each package check to its own suite baseline"; loki-ts/tests/engine10/verify_prered.test.ts FC-BASELINE-PER-PACKAGE vitest duration case.
|
|
1187
|
+
|
|
1188
|
+
## FC-DEPS-NOT-INSTALLED A fresh clone ran its tests with no dependencies installed, and the runner's "missing packages" error read as the code's failure (DEPS-NOT-INSTALLED)
|
|
1189
|
+
- User-visible vs raw: raw. In the same FireLater#20 run every package declared an install command (`npm ci`, citing its package-lock.json) but nothing was installed, so the Wall base run and the baseline ran against an empty dependency tree and npx printed "npm error npx canceled due to missing packages and no YES option"; that line matched no load pattern, so it was a test failure owned by the code and spent fix rounds.
|
|
1190
|
+
- Law broken: the harness prepares the environment the repo declares before it measures anything; an environment failure is the harness's, never a fix round.
|
|
1191
|
+
- Siblings: the FC-22b install library (prepareDeps) existed but was never wired; the runner load classifier (npm and npx missing packages, POSIX sh "N: tool: not found" next to the bash "command not found" already covered); every ecosystem whose install command the Project Model cites (decided by git, not by a list of dependency directory names).
|
|
1192
|
+
- Mechanism: install.ts absentDepRoots names a model package whose install command cites an existing manifest or lockfile in its root while git shows no untracked or ignored directory there (Loki's own .loki/ excluded); intakeDeps runs prepareDeps for those roots once per run, after the profile's first main baseline (measured on the bare clone) but before the Wall base run; after any successful install the main baseline and every per-command suite baseline are re-run, so none is left measured without dependencies; whatever the install created untracked (node_modules without a gitignore, lockfiles, .venv) is recorded in intake as install_created (a content hash per file, created directories) and never written to git config or exclude files, so an untouched install artifact stays out of verify changedFiles and the commit while an agent-edited lockfile still counts as a change; it emits deps.install per package, and a failed install becomes deps_not_proven, which verify carries into not_proven while the run goes on; the intake stage limit grows by the install and suite-baseline caps; runner_errors.ts LOAD_PATTERNS classify both missing-package forms as a harness-owned load error, anchored at the start of a line so test output quoting them stays a test failure.
|
|
1193
|
+
- Residual risk: source shipped inside an install-created directory (for example a new build/ or vendor/) is not committed, and a symlink to a directory is not recorded.
|
|
1194
|
+
- Fixture: loki-ts/tests/engine10/fc22_install.test.ts "absentDepRoots and intakeDeps (FC-DEPS-NOT-INSTALLED)"; loki-ts/tests/engine10/runner_errors.test.ts FC-DEPS-NOT-INSTALLED case.
|
|
1195
|
+
- Budget change: the intake stage limit is now STAGE_BUDGETS.intake.limitS + INSTALL_CAP_MS/1000 + SUITE_BASELINE_BUDGET_S (120s), so a repo that needs an install or a per-command baseline gets that extra time at intake; a repo with nothing absent and no suites spends none of it.
|
package/docs/v10/PROGRESS.md
CHANGED
|
@@ -2572,3 +2572,9 @@ v11.17.21 published (Release success on 462fbc40a; npm latest 11.17.21, next 11.
|
|
|
2572
2572
|
|
|
2573
2573
|
## 2026-10-18T22:58Z (CoS) v11.17.66
|
|
2574
2574
|
- FC-STACKED-ON-LOKI-RUN: #21527 rerun on 11.17.64 based its run on loki/e10-20261018T205304Z-fdfc. Fix 304566e37 (base_guard.stackedOnLokiRun + intake checkout from target tip). HIGH review BLOCK on e869305 (B1/B2), APPROVE on f810c19; merged content equals approved (diff only 3c09faeb5 released files). intake.test.ts 54 pass; engine10 subset 138 pass 0 fail rc=0. help-drift was red (no backticked loki invocation in newest 5 sections); this section restores it.
|
|
2575
|
+
|
|
2576
|
+
## 2026-10-19T00:10Z (CoS) v11.17.67
|
|
2577
|
+
- FC-LAZY-CONTROL-ENV: Tests 39174561642 shard 6 red on 8cc81a1b8. Causes reproduced: env GIT_SSH_COMMAND=false or GIT_NO_LAZY_FETCH=1 fails the control; clean env failed 1/20 (racy index). Fix 4735b5c14: env isolation + f.txt mtime 2030 + control-first fail. 40/40 clean runs 21/0; hostile env 21/0. TL APPROVE with mutation (drop GIT_NO_LAZY_FETCH in run.sh:10826 -> real leg FAIL 20/1, restored 21/0); select-tests 119/0.
|
|
2578
|
+
|
|
2579
|
+
## 2026-10-19T00:19Z (CoS) v11.17.68
|
|
2580
|
+
- FireLater#20 (FC-BASELINE-PER-PACKAGE, FC-DEPS-NOT-INSTALLED): 4 HIGH rounds. R1 BLOCK c3ea3ec1e (B1 untyped not-found keys, B2 install leak, B3 FAIL-line duration strip). R2 BLOCK f1db1bb88 (info/exclude dropped agent lockfile, persisted, shared across worktrees). R3 BLOCK 37bff6049 (load_owner changedSince unfiltered: Cannot find package zod -> code failure). R4 APPROVE b8418f695: real runCheck repro fail -> not_run/harness; positive control stays fail; 650 pass 0 fail across 19 files; tsc clean outside control-plane. Rebased onto 0d153a7e9 as 52bb0fb78, loki-ts src/tests diff vs reviewed = empty. drift 4/0, sigpipe rc 0, select-tests 119/0.
|