loki-mode 11.129.0 → 11.131.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.
- package/SKILL.md +2 -2
- package/VERSION +1 -1
- package/autonomy/loki +32 -0
- package/bin/loki +62 -4
- package/dashboard/__init__.py +1 -1
- package/docs/CLI-INVENTORY.md +38 -38
- package/docs/CLI-REFERENCE.md +1 -1
- package/docs/INSTALLATION.md +1 -1
- package/docs/TESTING.md +1 -1
- package/docs/exit-codes.md +7 -0
- package/docs/v10/GUIDE.md +11 -0
- package/loki-ts/dist/loki.js +1607 -1606
- package/mcp/__init__.py +1 -1
- package/package.json +3 -3
- package/packages/control-plane/dist/server.js +412 -95
- package/plugins/loki-mode/.claude-plugin/plugin.json +1 -1
- package/web-app/dist/assets/{AdminPage-uxbsIyND.js → AdminPage-BmSwkPYp.js} +1 -1
- package/web-app/dist/assets/{Avatar-5GhUf4pP.js → Avatar-DSj9J_jK.js} +1 -1
- package/web-app/dist/assets/{Badge-93rdLyl8.js → Badge-DDx3dxG_.js} +1 -1
- package/web-app/dist/assets/{Button-C94f2_e6.js → Button-DE8nPKle.js} +1 -1
- package/web-app/dist/assets/{CockpitPage-C8cDx1mp.js → CockpitPage-DQaDkfMR.js} +1 -1
- package/web-app/dist/assets/{ComparePage-BU7VVcVf.js → ComparePage-Brlmehsz.js} +1 -1
- package/web-app/dist/assets/{ErrorBoundary-Bn81ZPkG.js → ErrorBoundary-nrnFjXOi.js} +1 -1
- package/web-app/dist/assets/{EvidenceReceiptPanel-CVqzhxXI.js → EvidenceReceiptPanel-BDEIKtKd.js} +1 -1
- package/web-app/dist/assets/{GitHubIssuesPanel-i1Yjc0mH.js → GitHubIssuesPanel-CHC1uKVl.js} +1 -1
- package/web-app/dist/assets/{GitHubPRsPanel-eoXw0hiw.js → GitHubPRsPanel-da3trtfM.js} +1 -1
- package/web-app/dist/assets/{HomePage-Cv_BXFF9.js → HomePage-CTpLhWbx.js} +2 -2
- package/web-app/dist/assets/{LoginPage-CWYdAQSQ.js → LoginPage-CLOTZ_tB.js} +1 -1
- package/web-app/dist/assets/{MagicPage-5r2ci7MS.js → MagicPage-vR8S3Dz7.js} +1 -1
- package/web-app/dist/assets/{MetricsPage-C37jE1uR.js → MetricsPage-BEYano61.js} +1 -1
- package/web-app/dist/assets/{NotFoundPage-CuBrziZd.js → NotFoundPage-99QjDZzD.js} +1 -1
- package/web-app/dist/assets/{ProjectPage-59GLzJlR.js → ProjectPage-lUeSwurf.js} +3 -3
- package/web-app/dist/assets/{ProjectsPage-DgDtFRNm.js → ProjectsPage-Dw1l6VIr.js} +1 -1
- package/web-app/dist/assets/{SettingsPage-DjMSy-kZ.js → SettingsPage-BYk164Fz.js} +1 -1
- package/web-app/dist/assets/{ShowcasePage-DESkYmrG.js → ShowcasePage-DGvaMibo.js} +1 -1
- package/web-app/dist/assets/{SystemSettingsPage-d5jFreyF.js → SystemSettingsPage-lJiWUKV0.js} +1 -1
- package/web-app/dist/assets/{TeamsPage-BEVAkxj3.js → TeamsPage-IKX3tSgN.js} +1 -1
- package/web-app/dist/assets/{TemplatesPage-DeK9wx22.js → TemplatesPage-8VXw1b_n.js} +1 -1
- package/web-app/dist/assets/{TerminalOutput-2vwck437.js → TerminalOutput-B-djUfqe.js} +1 -1
- package/web-app/dist/assets/{activity-XgL1xWCM.js → activity-Bfv9Hpm_.js} +1 -1
- package/web-app/dist/assets/{bell-EXDsjrzh.js → bell-BOu4b1Bp.js} +1 -1
- package/web-app/dist/assets/{bot-B9I58zKH.js → bot-BGHw9PSy.js} +1 -1
- package/web-app/dist/assets/{check-DgLUYM2x.js → check-DiuJRL_6.js} +1 -1
- package/web-app/dist/assets/{chevron-left-BhHLpt7K.js → chevron-left-DEwg1Whc.js} +1 -1
- package/web-app/dist/assets/{circle-alert-rgioMmC9.js → circle-alert-eXalp3AA.js} +1 -1
- package/web-app/dist/assets/{clock-BO__fq1n.js → clock-eKChspID.js} +1 -1
- package/web-app/dist/assets/{cloud-iLJ3RtJs.js → cloud-CnuPF1nL.js} +1 -1
- package/web-app/dist/assets/{code-xml-BFYU6YlU.js → code-xml-DucCYias.js} +1 -1
- package/web-app/dist/assets/{database-CXDLeUh_.js → database-CZN4m1Fp.js} +1 -1
- package/web-app/dist/assets/{dollar-sign-C9Jbgo-O.js → dollar-sign-CDm76aUf.js} +1 -1
- package/web-app/dist/assets/{file-code-corner-CNPi6dkK.js → file-code-corner-ehGUirIu.js} +1 -1
- package/web-app/dist/assets/{file-plus-DAc0Sd1J.js → file-plus-CX2SC6PU.js} +1 -1
- package/web-app/dist/assets/{globe-DN0njo3S.js → globe-EYqCDXU3.js} +1 -1
- package/web-app/dist/assets/{hammer-CnpZO-SH.js → hammer-BVtrvawQ.js} +1 -1
- package/web-app/dist/assets/{index-BHwx0KjF.js → index-DRMPDpV_.js} +3 -3
- package/web-app/dist/assets/{layers-_kP2XVgZ.js → layers-CQzr6cMc.js} +1 -1
- package/web-app/dist/assets/{loader-circle-CcupfVc5.js → loader-circle-DMd8qBD9.js} +1 -1
- package/web-app/dist/assets/{lock-D3I89F_A.js → lock-CxXk9eFC.js} +1 -1
- package/web-app/dist/assets/{package-BMz7_qR6.js → package-DE90NMqz.js} +1 -1
- package/web-app/dist/assets/{plus-3rKyjjc7.js → plus-DXvcRdQO.js} +1 -1
- package/web-app/dist/assets/{refresh-cw-DGI9P9uf.js → refresh-cw-BniiX2Mz.js} +1 -1
- package/web-app/dist/assets/{rotate-ccw-CEIZqe5z.js → rotate-ccw-CGTR9eA3.js} +1 -1
- package/web-app/dist/assets/{scroll-text-CBQ5ISFk.js → scroll-text-dVff0mB3.js} +1 -1
- package/web-app/dist/assets/{server-DOr9ns7A.js → server-Dk-qXGuf.js} +1 -1
- package/web-app/dist/assets/{shield-alert-pcQbbyMb.js → shield-alert-DnBZW_o9.js} +1 -1
- package/web-app/dist/assets/{thumbs-up-Q7fwPWa9.js → thumbs-up-78hEkPmI.js} +1 -1
- package/web-app/dist/assets/{trash-2-D81689SS.js → trash-2-r6681wQr.js} +1 -1
- package/web-app/dist/assets/{trending-down-8b0O5hb9.js → trending-down-26GVy3oG.js} +1 -1
- package/web-app/dist/assets/{trending-up-CD0tv_w5.js → trending-up-I8J3KeDy.js} +1 -1
- package/web-app/dist/assets/{upload-CphI5Pe_.js → upload-DVnmQtMD.js} +1 -1
- package/web-app/dist/assets/{usePolling-yhGOhxnY.js → usePolling-DyqS7I3h.js} +1 -1
- package/web-app/dist/assets/{user-CXM61B6o.js → user-BW405Jhs.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: 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.
|
|
6
|
+
# Loki Mode v11.131.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.
|
|
464
|
+
**v11.131.0 | [Autonomi](https://www.autonomi.dev/) flagship product | core skill**
|
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
11.
|
|
1
|
+
11.131.0
|
package/autonomy/loki
CHANGED
|
@@ -1858,30 +1858,62 @@ show_help_all() {
|
|
|
1858
1858
|
echo "and until each one lands the old name is the way to do it):"
|
|
1859
1859
|
echo " provider -> loki config set provider NAME"
|
|
1860
1860
|
echo " rollback -> loki undo <run>"
|
|
1861
|
+
echo " wiki -> loki chat"
|
|
1862
|
+
echo " runs -> loki status"
|
|
1863
|
+
echo " intent -> loki status <run>"
|
|
1861
1864
|
echo " trust -> loki status --json"
|
|
1862
1865
|
echo " queue -> loki start owner/repo#1 owner/repo#2"
|
|
1863
1866
|
echo " issues -> loki start owner/repo --label L --limit N --parallel K"
|
|
1864
1867
|
echo " verify-pr -> loki verify <PR url>"
|
|
1865
1868
|
echo " answer -> loki start --answer \"<text>\""
|
|
1866
1869
|
echo " edit -> loki \"<change>\" --no-pr"
|
|
1870
|
+
echo " diff -> loki status <run>"
|
|
1867
1871
|
echo " models -> loki config list"
|
|
1868
1872
|
echo " setup -> loki doctor --fix"
|
|
1869
1873
|
echo " quick -> loki \"<task>\" --no-pr"
|
|
1870
1874
|
echo " quickstart -> loki \"<idea>\" in an empty folder"
|
|
1871
1875
|
echo " keys -> loki receipt key"
|
|
1872
1876
|
echo " dashboard -> loki control serve"
|
|
1877
|
+
echo " pause -> loki stop --graceful"
|
|
1873
1878
|
echo " resume -> loki start"
|
|
1879
|
+
echo " cancel -> loki stop --graceful"
|
|
1874
1880
|
echo " why -> loki status"
|
|
1881
|
+
echo " next -> loki status"
|
|
1882
|
+
echo " logs -> loki status"
|
|
1883
|
+
echo " share -> loki receipt share"
|
|
1884
|
+
echo " export -> loki verify <run> --sarif"
|
|
1885
|
+
echo " notify -> loki status"
|
|
1875
1886
|
echo " tour -> loki start outside a repo"
|
|
1876
1887
|
echo " wow -> loki start outside a repo"
|
|
1877
1888
|
echo " factory -> loki start -v"
|
|
1889
|
+
echo " welcome -> loki doctor"
|
|
1890
|
+
echo " onboard -> loki chat"
|
|
1891
|
+
echo " setup-skill -> loki doctor --fix"
|
|
1892
|
+
echo " cockpit -> loki control serve"
|
|
1893
|
+
echo " api -> loki control serve"
|
|
1894
|
+
echo " preview -> loki deploy"
|
|
1895
|
+
echo " telemetry -> loki config set telemetry off"
|
|
1896
|
+
echo " explain -> loki chat"
|
|
1878
1897
|
echo " docs -> loki help"
|
|
1898
|
+
echo " own -> loki chat"
|
|
1899
|
+
echo " projects -> loki control serve"
|
|
1900
|
+
echo " cost -> loki start --dry-run"
|
|
1901
|
+
echo " sentrux -> loki start"
|
|
1879
1902
|
echo " estimate -> loki start <PRD> --dry-run"
|
|
1880
1903
|
echo " plan -> loki start <PRD> --dry-run"
|
|
1904
|
+
echo " grill -> loki start <PRD> --dry-run"
|
|
1905
|
+
echo " spec -> loki start <PRD> --dry-run"
|
|
1881
1906
|
echo " backlog -> loki start owner/repo --label L --parallel K"
|
|
1907
|
+
echo " state -> loki start \"<goal>\""
|
|
1908
|
+
echo " agent -> loki start \"<goal>\""
|
|
1909
|
+
echo " failover -> loki start \"<goal>\""
|
|
1910
|
+
echo " migrate -> loki \"modernize <what> to <target>\""
|
|
1882
1911
|
echo " steer -> loki chat --attach"
|
|
1912
|
+
echo " checkpoint -> loki undo"
|
|
1913
|
+
echo " analyze -> loki start \"<goal>\""
|
|
1883
1914
|
echo " demo -> loki start outside a repo"
|
|
1884
1915
|
echo " run -> loki start"
|
|
1916
|
+
echo " serve -> loki control serve"
|
|
1885
1917
|
echo ""
|
|
1886
1918
|
echo "Options for 'start':"
|
|
1887
1919
|
echo " --provider NAME AI provider: claude (default) or opencode"
|
package/bin/loki
CHANGED
|
@@ -101,8 +101,8 @@ fi
|
|
|
101
101
|
# 1. LOKI_TS_ENTRY=... -- explicit override (custom builds, tests)
|
|
102
102
|
# 2. BUN_FROM_SOURCE=1 -- prefer src/cli.ts (used by bench --compare-dist
|
|
103
103
|
# and during Phase 3 development before dist ships)
|
|
104
|
-
# 3. dist/loki.js exists -- production path (npm/Docker/Homebrew artifact)
|
|
105
|
-
# 4.
|
|
104
|
+
# 3. dist/loki.js exists -- production path (npm/Docker/Homebrew artifact; built at publish time)
|
|
105
|
+
# 4. src only (git clone) -- builds dist once when loki-ts/node_modules exists, else runs src
|
|
106
106
|
#
|
|
107
107
|
# v7.4.2 fix (BUG-1): BUN_FROM_SOURCE=1 used to hard-fail on npm/Docker/brew
|
|
108
108
|
# installs because src/ is excluded by .npmignore. Now we warn once and fall
|
|
@@ -135,8 +135,8 @@ elif [ "${BUN_FROM_SOURCE:-0}" = "1" ] || [ "${BUN_FROM_SOURCE:-}" = "true" ]; t
|
|
|
135
135
|
fi
|
|
136
136
|
elif [ -f "$REPO_ROOT/loki-ts/dist/loki.js" ]; then
|
|
137
137
|
BUN_CLI="$REPO_ROOT/loki-ts/dist/loki.js"
|
|
138
|
-
# Stale-dist freshness guard. dist/loki.js is gitignored
|
|
139
|
-
# and
|
|
138
|
+
# Stale-dist freshness guard. dist/loki.js is untracked (gitignored in loki-ts/.gitignore)
|
|
139
|
+
# and built by package.json's prepack, the release Docker build and the brew asset, so on
|
|
140
140
|
# released channels (npm/Docker/brew) src/cli.ts is absent and this guard is
|
|
141
141
|
# a no-op -- dist is always current there. On a DEV machine / worktree the
|
|
142
142
|
# gitignored dist can predate the current dispatcher: e.g. a new shim->Bun
|
|
@@ -153,7 +153,22 @@ elif [ -f "$REPO_ROOT/loki-ts/dist/loki.js" ]; then
|
|
|
153
153
|
BUN_CLI="$REPO_ROOT/loki-ts/src/cli.ts"
|
|
154
154
|
fi
|
|
155
155
|
elif [ -f "$REPO_ROOT/loki-ts/src/cli.ts" ]; then
|
|
156
|
+
# Git clone: loki-ts/dist is built, never committed. Build it once (autonomy/run.sh and the
|
|
157
|
+
# control plane call dist/loki.js directly), then run it. The build is atomic, so a failure
|
|
158
|
+
# leaves no dist and the run falls back to src as it always did.
|
|
156
159
|
BUN_CLI="$REPO_ROOT/loki-ts/src/cli.ts"
|
|
160
|
+
if command -v bun >/dev/null 2>&1; then
|
|
161
|
+
if [ -d "$REPO_ROOT/loki-ts/node_modules" ]; then
|
|
162
|
+
echo "loki: building loki-ts/dist (first run from a git clone, a few seconds)" >&2
|
|
163
|
+
if (cd "$REPO_ROOT/loki-ts" && bun run build >/dev/null 2>&1) && [ -f "$REPO_ROOT/loki-ts/dist/loki.js" ]; then
|
|
164
|
+
BUN_CLI="$REPO_ROOT/loki-ts/dist/loki.js"
|
|
165
|
+
else
|
|
166
|
+
echo "loki: build failed; running from source. To see why: cd loki-ts && bun run build" >&2
|
|
167
|
+
fi
|
|
168
|
+
else
|
|
169
|
+
echo "loki: loki-ts is not built. Run: cd loki-ts && bun install && bun run build" >&2
|
|
170
|
+
fi
|
|
171
|
+
fi
|
|
157
172
|
else
|
|
158
173
|
# Neither dist nor src available; fall through to bash silently.
|
|
159
174
|
_loki_bash_or_refuse "$@"
|
|
@@ -594,6 +609,49 @@ if [ "${1:-}" = "modernize" ]; then
|
|
|
594
609
|
unset _loki_mod_a
|
|
595
610
|
fi
|
|
596
611
|
|
|
612
|
+
# Removed commands (registry class REMOVED) exit 2 with a migration line before any engine, provider
|
|
613
|
+
# check or model call. tests/min/cli-entrypoints.sh compares this table to the registry.
|
|
614
|
+
_loki_removed_suffix() {
|
|
615
|
+
case "$1" in
|
|
616
|
+
init) printf '%s' 'Use: loki "<idea>" in an empty folder' ;;
|
|
617
|
+
template) printf '%s' 'Use: loki start "<one-line goal>"' ;;
|
|
618
|
+
ship) printf '%s' 'Use: loki deploy' ;;
|
|
619
|
+
import) printf '%s' 'Use: loki start <ref or file>' ;;
|
|
620
|
+
issue) printf '%s' 'Use: loki start owner/repo#N' ;;
|
|
621
|
+
assets) printf '%s' 'Use: loki chat' ;;
|
|
622
|
+
try) printf '%s' 'Use: loki start <repo url> --no-pr from a fresh clone' ;;
|
|
623
|
+
remote) printf '%s' 'Use: loki status' ;;
|
|
624
|
+
rc) printf '%s' 'Use: loki status' ;;
|
|
625
|
+
code) printf '%s' 'Use: loki chat' ;;
|
|
626
|
+
context) printf '%s' 'Use: loki chat' ;;
|
|
627
|
+
ctx) printf '%s' 'Use: loki chat' ;;
|
|
628
|
+
voice) printf '%s' 'Use: loki start' ;;
|
|
629
|
+
secure) printf '%s' 'Use: loki doctor' ;;
|
|
630
|
+
council) printf '%s' 'It drove the removed legacy loop; use: loki start "<goal>"' ;;
|
|
631
|
+
compound) printf '%s' 'It drove the removed legacy loop; use: loki start "<goal>"' ;;
|
|
632
|
+
cluster) printf '%s' 'It drove the removed legacy loop; use: loki start "<goal>"' ;;
|
|
633
|
+
optimize) printf '%s' 'It drove the removed legacy loop; use: loki start "<goal>"' ;;
|
|
634
|
+
ultracode) printf '%s' 'It drove the removed legacy loop; use: loki start "<goal>"' ;;
|
|
635
|
+
monitor) printf '%s' 'It drove the removed legacy loop; use: loki start "<goal>"' ;;
|
|
636
|
+
watch) printf '%s' 'Rerun with: loki start <PRD>' ;;
|
|
637
|
+
watchdog) printf '%s' 'It drove the removed legacy loop; use: loki start "<goal>"' ;;
|
|
638
|
+
cleanup) printf '%s' 'It drove the removed legacy loop; use: loki start "<goal>"' ;;
|
|
639
|
+
reset) printf '%s' 'It drove the removed legacy loop; use: loki start "<goal>"' ;;
|
|
640
|
+
dogfood) printf '%s' 'It drove the removed legacy loop; use: loki start "<goal>"' ;;
|
|
641
|
+
outcomes) printf '%s' 'It drove the removed legacy loop; use: loki start "<goal>"' ;;
|
|
642
|
+
worktree) printf '%s' 'It drove the removed legacy loop; use: loki start "<goal>"' ;;
|
|
643
|
+
wt) printf '%s' 'It drove the removed legacy loop; use: loki start "<goal>"' ;;
|
|
644
|
+
trust-metrics) printf '%s' 'Use: loki status --json' ;;
|
|
645
|
+
open) printf '%s' 'Use: loki control serve' ;;
|
|
646
|
+
*) return 1 ;;
|
|
647
|
+
esac
|
|
648
|
+
}
|
|
649
|
+
if _loki_rm_suffix="$(_loki_removed_suffix "${1:-}")"; then
|
|
650
|
+
echo "loki: 'loki $1' was removed in Loki Mode 11.130.0. ${_loki_rm_suffix}." >&2
|
|
651
|
+
exit 2
|
|
652
|
+
fi
|
|
653
|
+
unset _loki_rm_suffix
|
|
654
|
+
|
|
597
655
|
# `loki legacy` was removed in 11.0.0 (LEGACY-ZERO W1-01): there is one engine.
|
|
598
656
|
case "${1:-}" in
|
|
599
657
|
legacy)
|
package/dashboard/__init__.py
CHANGED
package/docs/CLI-INVENTORY.md
CHANGED
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
Generated from `loki-ts/src/cli/registry.ts` by `bun loki-ts/scripts/gen-cli-modern-doc.ts`. Do not edit by hand; the registry guard fails when this file is stale.
|
|
4
4
|
|
|
5
|
-
Classes: KEEP (the 11 commands in `loki --help` and completions), HIDE (keeps working, never shown: machine consumers, CI, dev and enterprise ops), FOLD (behavior moves into the command in the Replacement column; the old name stays a hidden alias that runs unchanged; the replacement may not exist yet), REMOVED (no dependent found;
|
|
5
|
+
Classes: KEEP (the 11 commands in `loki --help` and completions), HIDE (keeps working, never shown: machine consumers, CI, dev and enterprise ops), FOLD (behavior moves into the command in the Replacement column; the old name stays a hidden alias that runs unchanged; the replacement may not exist yet), REMOVED (no dependent found; bin/loki exits 2 with the replacement line).
|
|
6
6
|
|
|
7
7
|
## Counts
|
|
8
8
|
|
|
9
9
|
- KEEP: 12
|
|
10
10
|
- HIDE: 41
|
|
11
|
-
- FOLD:
|
|
12
|
-
- REMOVED:
|
|
11
|
+
- FOLD: 61
|
|
12
|
+
- REMOVED: 30
|
|
13
13
|
- Total rows: 144
|
|
14
14
|
- Registry paths (commands and nested subcommands): 215
|
|
15
15
|
|
|
@@ -28,10 +28,10 @@ Classes: KEEP (the 11 commands in `loki --help` and completions), HIDE (keeps wo
|
|
|
28
28
|
| restore | autonomy/loki | HIDE | Enterprise retention and backup (D99 item 7) | |
|
|
29
29
|
| receipt | bun route, bash fallthrough | KEEP | The Evidence Receipt | |
|
|
30
30
|
| proof | bun route, bash fallthrough | KEEP | Alias of receipt | |
|
|
31
|
-
| wiki | bun route, bash fallthrough |
|
|
31
|
+
| wiki | bun route, bash fallthrough | FOLD | Bun-native knowledge feature | loki chat |
|
|
32
32
|
| control | bun route, bash fallthrough | KEEP | D56 control plane, on by default | |
|
|
33
|
-
| runs | loki-ts/src/cli.ts |
|
|
34
|
-
| intent | loki-ts/src/cli.ts |
|
|
33
|
+
| runs | loki-ts/src/cli.ts | FOLD | R100-008: one list over the loki projects registry | loki status |
|
|
34
|
+
| intent | loki-ts/src/cli.ts | FOLD | Read-only intent view | loki status <run> |
|
|
35
35
|
| kpis | loki-ts/src/cli.ts | HIDE | Bun-native KPI report | |
|
|
36
36
|
| report | bun route, bash fallthrough | HIDE | Mixed route; only kpis is Bun | |
|
|
37
37
|
| trust | bun route, bash fallthrough | FOLD | Trust trajectory surface | loki status --json |
|
|
@@ -51,7 +51,7 @@ Classes: KEEP (the 11 commands in `loki --help` and completions), HIDE (keeps wo
|
|
|
51
51
|
| help | autonomy/loki | HIDE | Core | |
|
|
52
52
|
| chat | autonomy/loki | KEEP | Provider-neutral conversational verb | |
|
|
53
53
|
| edit | autonomy/loki | FOLD | Provider-neutral single-edit verb | loki "<change>" --no-pr |
|
|
54
|
-
| diff | autonomy/loki |
|
|
54
|
+
| diff | autonomy/loki | FOLD | Passes extra args to git diff | loki status <run> |
|
|
55
55
|
| models | autonomy/loki | FOLD | Provider-neutral model tiers | loki config list |
|
|
56
56
|
| setup | autonomy/loki | FOLD | Onboarding gate | loki doctor --fix |
|
|
57
57
|
| quick | autonomy/loki | FOLD | Routes to the v10 lean path by default | loki "<task>" --no-pr |
|
|
@@ -66,12 +66,12 @@ Classes: KEEP (the 11 commands in `loki --help` and completions), HIDE (keeps wo
|
|
|
66
66
|
| mcp | autonomy/loki | HIDE | Engine-neutral | |
|
|
67
67
|
| acp | autonomy/loki | HIDE | Engine-neutral | |
|
|
68
68
|
| stop | autonomy/loki | KEEP | Session control | |
|
|
69
|
-
| pause | bun route, bash fallthrough |
|
|
69
|
+
| pause | bun route, bash fallthrough | FOLD | Session control; Bun writes the Loki 10 run request, bash keeps the legacy PAUSE file | loki stop --graceful |
|
|
70
70
|
| resume | bun route, bash fallthrough | FOLD | Session control; Bun clears a Loki 10 pause, bash keeps the legacy resume | loki start |
|
|
71
|
-
| cancel | bun route, bash fallthrough |
|
|
71
|
+
| cancel | bun route, bash fallthrough | FOLD | Session control; Loki 10 only | loki stop --graceful |
|
|
72
72
|
| why | autonomy/loki | FOLD | Outcome explainer | loki status |
|
|
73
|
-
| next | autonomy/loki |
|
|
74
|
-
| logs | autonomy/loki |
|
|
73
|
+
| next | autonomy/loki | FOLD | Guided flow | loki status |
|
|
74
|
+
| logs | autonomy/loki | FOLD | Engine-neutral | loki status |
|
|
75
75
|
| ship | autonomy/loki | REMOVED | Delivery | Use: loki deploy |
|
|
76
76
|
| deploy | autonomy/loki | KEEP | Delivery | |
|
|
77
77
|
| import | autonomy/loki | REMOVED | Spec intake | Use: loki start <ref or file> |
|
|
@@ -79,55 +79,55 @@ Classes: KEEP (the 11 commands in `loki --help` and completions), HIDE (keeps wo
|
|
|
79
79
|
| issue | autonomy/loki | REMOVED | Issue-mode | Use: loki start owner/repo#N |
|
|
80
80
|
| ci | autonomy/loki | HIDE | Engine-neutral | |
|
|
81
81
|
| modernize | bun route, bash fallthrough | HIDE | Routed to engine10 modernize | |
|
|
82
|
-
| share | autonomy/loki |
|
|
82
|
+
| share | autonomy/loki | FOLD | Engine-neutral | loki receipt share |
|
|
83
83
|
| assets | autonomy/loki | REMOVED | Engine-neutral | Use: loki chat |
|
|
84
|
-
| export | autonomy/loki |
|
|
85
|
-
| notify | autonomy/loki |
|
|
84
|
+
| export | autonomy/loki | FOLD | Duplicates report export | loki verify <run> --sarif |
|
|
85
|
+
| notify | autonomy/loki | FOLD | Engine-neutral | loki status |
|
|
86
86
|
| tour | autonomy/loki | FOLD | Onboarding | loki start outside a repo |
|
|
87
87
|
| wow | autonomy/loki | FOLD | Onboarding: loki tour --live | loki start outside a repo |
|
|
88
88
|
| try | autonomy/loki | REMOVED | Onboarding: never touches your checkout | Use: loki start <repo url> --no-pr from a fresh clone |
|
|
89
89
|
| factory | autonomy/loki | FOLD | propose, execute, operate unchanged | loki start -v |
|
|
90
|
-
| welcome | autonomy/loki |
|
|
91
|
-
| onboard | autonomy/loki |
|
|
92
|
-
| setup-skill | autonomy/loki |
|
|
90
|
+
| welcome | autonomy/loki | FOLD | Onboarding | loki doctor |
|
|
91
|
+
| onboard | autonomy/loki | FOLD | Overlaps wiki | loki chat |
|
|
92
|
+
| setup-skill | autonomy/loki | FOLD | Setup | loki doctor --fix |
|
|
93
93
|
| self-update | autonomy/loki | HIDE | Maintenance | |
|
|
94
94
|
| self_update | autonomy/loki | HIDE | Alias of self-update | |
|
|
95
95
|
| update | autonomy/loki | HIDE | Alias of self-update | |
|
|
96
96
|
| remote | autonomy/loki | REMOVED | Engine-neutral | Use: loki status |
|
|
97
97
|
| rc | autonomy/loki | REMOVED | Alias of remote | |
|
|
98
|
-
| cockpit | autonomy/loki |
|
|
98
|
+
| cockpit | autonomy/loki | FOLD | Engine-neutral | loki control serve |
|
|
99
99
|
| code | autonomy/loki | REMOVED | Overlaps wiki | Use: loki chat |
|
|
100
100
|
| context | autonomy/loki | REMOVED | Engine-neutral | Use: loki chat |
|
|
101
101
|
| ctx | autonomy/loki | REMOVED | Alias of context | |
|
|
102
102
|
| secrets | autonomy/loki | HIDE | Security | |
|
|
103
|
-
| api | autonomy/loki |
|
|
103
|
+
| api | autonomy/loki | FOLD | Engine-neutral | loki control serve |
|
|
104
104
|
| sandbox | autonomy/loki | HIDE | Isolation | |
|
|
105
105
|
| docker | autonomy/loki | HIDE | Isolation | |
|
|
106
106
|
| web | autonomy/loki | HIDE | Overlaps Control Plane UI | |
|
|
107
|
-
| preview | autonomy/loki |
|
|
108
|
-
| telemetry | autonomy/loki |
|
|
109
|
-
| otel | autonomy/loki |
|
|
107
|
+
| preview | autonomy/loki | FOLD | Delivery | loki deploy |
|
|
108
|
+
| telemetry | autonomy/loki | FOLD | Privacy surface | loki config set telemetry off |
|
|
109
|
+
| otel | autonomy/loki | FOLD | Alias of telemetry | |
|
|
110
110
|
| syslog | autonomy/loki | HIDE | Legacy log paths | |
|
|
111
|
-
| explain | autonomy/loki |
|
|
111
|
+
| explain | autonomy/loki | FOLD | Knowledge | loki chat |
|
|
112
112
|
| docs | autonomy/loki | FOLD | Core | loki help |
|
|
113
113
|
| test | autonomy/loki | HIDE | Legacy runner | |
|
|
114
114
|
| bench | autonomy/loki | HIDE | Engine-neutral | |
|
|
115
115
|
| voice | autonomy/loki | REMOVED | Experimental | Use: loki start |
|
|
116
|
-
| own | autonomy/loki |
|
|
117
|
-
| handoff | autonomy/loki |
|
|
116
|
+
| own | autonomy/loki | FOLD | Legacy handoff | loki chat |
|
|
117
|
+
| handoff | autonomy/loki | FOLD | Alias of own | |
|
|
118
118
|
| secure | autonomy/loki | REMOVED | Security | Use: loki doctor |
|
|
119
119
|
| compliance | autonomy/loki | HIDE | Enterprise | |
|
|
120
120
|
| enterprise | autonomy/loki | HIDE | Enterprise | |
|
|
121
|
-
| projects | autonomy/loki |
|
|
121
|
+
| projects | autonomy/loki | FOLD | Engine-neutral | loki control serve |
|
|
122
122
|
| audit | autonomy/loki | HIDE | Enterprise | |
|
|
123
|
-
| cost | autonomy/loki |
|
|
123
|
+
| cost | autonomy/loki | FOLD | Duplicates report cost | loki start --dry-run |
|
|
124
124
|
| metrics | autonomy/loki | HIDE | Duplicates report metrics | |
|
|
125
|
-
| sentrux | autonomy/loki |
|
|
125
|
+
| sentrux | autonomy/loki | FOLD | Legacy gate input | loki start |
|
|
126
126
|
| magic | autonomy/loki | HIDE | Legacy UI generator | |
|
|
127
127
|
| estimate | autonomy/loki | FOLD | Estimates the legacy PRD flow | loki start <PRD> --dry-run |
|
|
128
128
|
| plan | autonomy/loki | FOLD | Legacy PRD flow | loki start <PRD> --dry-run |
|
|
129
|
-
| grill | autonomy/loki |
|
|
130
|
-
| spec | autonomy/loki |
|
|
129
|
+
| grill | autonomy/loki | FOLD | Legacy PRD flow | loki start <PRD> --dry-run |
|
|
130
|
+
| spec | autonomy/loki | FOLD | Legacy PRD flow | loki start <PRD> --dry-run |
|
|
131
131
|
| backlog | autonomy/loki | FOLD | Drives legacy RARV per issue | loki start owner/repo --label L --parallel K |
|
|
132
132
|
| workspace | autonomy/loki | HIDE | Control Plane spawns workspace run; users get it via start --workspace | |
|
|
133
133
|
| council | autonomy/loki | REMOVED | Legacy RARV gate | It drove the removed legacy loop; use: loki start "<goal>" |
|
|
@@ -139,27 +139,27 @@ Classes: KEEP (the 11 commands in `loki --help` and completions), HIDE (keeps wo
|
|
|
139
139
|
| watch | autonomy/loki | REMOVED | PRD flow | Rerun with: loki start <PRD> |
|
|
140
140
|
| watchdog | autonomy/loki | REMOVED | Legacy engine | It drove the removed legacy loop; use: loki start "<goal>" |
|
|
141
141
|
| cleanup | autonomy/loki | REMOVED | Legacy run.sh orphans | It drove the removed legacy loop; use: loki start "<goal>" |
|
|
142
|
-
| state | autonomy/loki |
|
|
143
|
-
| agent | autonomy/loki |
|
|
142
|
+
| state | autonomy/loki | FOLD | Legacy engine | loki start "<goal>" |
|
|
143
|
+
| agent | autonomy/loki | FOLD | Legacy engine | loki start "<goal>" |
|
|
144
144
|
| agents | autonomy/loki | HIDE | Custom child agents are still read by reviewers | |
|
|
145
145
|
| trigger | autonomy/loki | HIDE | Event automation server (FR03 extends it) | |
|
|
146
|
-
| failover | autonomy/loki |
|
|
146
|
+
| failover | autonomy/loki | FOLD | Legacy engine | loki start "<goal>" |
|
|
147
147
|
| reset | autonomy/loki | REMOVED | Legacy engine | It drove the removed legacy loop; use: loki start "<goal>" |
|
|
148
148
|
| merge | autonomy/loki | HIDE | Control Plane merge list and run | |
|
|
149
149
|
| heal | autonomy/loki | HIDE | Referenced by docs; no engine10 consumer verified | |
|
|
150
|
-
| migrate | autonomy/loki |
|
|
150
|
+
| migrate | autonomy/loki | FOLD | Superseded by modernize | loki "modernize <what> to <target>" |
|
|
151
151
|
| dogfood | autonomy/loki | REMOVED | Legacy engine | It drove the removed legacy loop; use: loki start "<goal>" |
|
|
152
152
|
| steer | autonomy/loki | FOLD | Session control | loki chat --attach |
|
|
153
153
|
| outcomes | autonomy/loki | REMOVED | Legacy outcome store | It drove the removed legacy loop; use: loki start "<goal>" |
|
|
154
154
|
| worktree | autonomy/loki | REMOVED | Legacy parallel mode | It drove the removed legacy loop; use: loki start "<goal>" |
|
|
155
155
|
| wt | autonomy/loki | REMOVED | Alias of worktree | |
|
|
156
|
-
| checkpoint | autonomy/loki |
|
|
157
|
-
| cp | autonomy/loki |
|
|
158
|
-
| analyze | autonomy/loki |
|
|
156
|
+
| checkpoint | autonomy/loki | FOLD | Legacy engine | loki undo |
|
|
157
|
+
| cp | autonomy/loki | FOLD | Alias of checkpoint | |
|
|
158
|
+
| analyze | autonomy/loki | FOLD | Legacy analyze flow | loki start "<goal>" |
|
|
159
159
|
| demo | autonomy/loki | FOLD | Legacy engine demo | loki start outside a repo |
|
|
160
160
|
| run | autonomy/loki | FOLD | Alias; use start | loki start |
|
|
161
161
|
| trust-metrics | autonomy/loki | REMOVED | Alias; use trust detail | Use: loki status --json |
|
|
162
|
-
| serve | autonomy/loki |
|
|
162
|
+
| serve | autonomy/loki | FOLD | Alias; use api start | loki control serve |
|
|
163
163
|
| open | autonomy/loki | REMOVED | Alias; use dashboard open | Use: loki control serve |
|
|
164
164
|
|
|
165
165
|
## Registry gaps (nested paths dispatched but not yet in the registry)
|
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.
|
|
3
|
+
Generated from `loki-ts/src/cli/registry.ts` by `scripts/generate-stale-zero.sh` for v11.131.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 |
|
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.
|
|
5
|
+
**Version:** v11.131.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
|
|
package/docs/TESTING.md
CHANGED
|
@@ -27,7 +27,7 @@ LOCAL_CI_ONLY=hygiene,pack-contents bash scripts/local-ci.sh # a subset
|
|
|
27
27
|
| `redaction` | `redactSecrets` removes a GitHub token, an Anthropic key and an AWS key and stays linear (growth from 25k to 100k characters under 8x) |
|
|
28
28
|
| `typecheck` | `bunx tsc --noEmit` in `loki-ts` is clean |
|
|
29
29
|
| `detect-gates` | the five `tests/detect-*.sh` quality gates that `autonomy/run.sh` executes pass a clean fixture and fail a defective one |
|
|
30
|
-
| `dist-freshness` |
|
|
30
|
+
| `dist-freshness` | `loki-ts` builds from source into `loki.js` and `cockpit.js` that embed VERSION, nothing under `loki-ts/dist` is tracked, and `web-app/dist/index.html` references only assets that exist |
|
|
31
31
|
| `engine10-e2e-stub` | the real engine, end to end on a stub provider: VERIFIED run, tampered run reads TAMPERED, the agent session never receives the GitHub token |
|
|
32
32
|
| `scope-and-fix` | implement and fix stages on the stub provider: an edit to a pre-existing test is restored (kept when the task names the file), an out-of-scope edit is listed on the receipt, a fix-round spec conflict starts no retry, a fix round with no progress stops fixing |
|
|
33
33
|
|
package/docs/exit-codes.md
CHANGED
|
@@ -12,6 +12,13 @@ outcome ladder, where 6 (PARTIAL) is a milder result than 3, 4 and 5 and the
|
|
|
12
12
|
only safe test is `[ $rc -eq 0 ]` for "verified". Elsewhere, a bigger number is
|
|
13
13
|
never better news.
|
|
14
14
|
|
|
15
|
+
## Removed commands
|
|
16
|
+
|
|
17
|
+
A command that was removed (for example `loki council`, `loki init`, `loki ship`)
|
|
18
|
+
exits 2 before any engine, provider check or model call, prints nothing on
|
|
19
|
+
stdout and one line on stderr: `loki: 'loki NAME' was removed in Loki Mode 11.N.
|
|
20
|
+
<replacement>.` The full list is the REMOVED class in `docs/CLI-INVENTORY.md`.
|
|
21
|
+
|
|
15
22
|
## `loki start`
|
|
16
23
|
|
|
17
24
|
Two contracts, and which one you get depends on an environment variable. This
|
package/docs/v10/GUIDE.md
CHANGED
|
@@ -92,6 +92,17 @@ loki start "fix the login redirect loop" --no-pr
|
|
|
92
92
|
`loki chat` is an interactive alternative that can start and join these runs
|
|
93
93
|
(see Chat below).
|
|
94
94
|
|
|
95
|
+
The Wall session (a separate model session that writes acceptance tests from the
|
|
96
|
+
task alone) is off by default: in the 2026-11-05 measurement it raised the cost
|
|
97
|
+
per merge-ready change and lowered the merge-ready count. `LOKI_E10_WALL=1`
|
|
98
|
+
turns it back on. With it off, a run reads VERIFIED only on evidence the harness
|
|
99
|
+
produced itself: your repo's own tests all pass, a test exercises the changed
|
|
100
|
+
code, no existing test was weakened, and nothing regressed. A test the run wrote
|
|
101
|
+
or edited counts as that exercise only when the harness shows it fails on the
|
|
102
|
+
base commit and passes on the change (the receipt's proof line names the file);
|
|
103
|
+
otherwise the run reads PARTIAL and NOT PROVEN says "no test shown to fail on the
|
|
104
|
+
base commit and pass on the change".
|
|
105
|
+
|
|
95
106
|
`loki quick "<task>"` is the small-task entry. It runs the same engine
|
|
96
107
|
without opening a pull request (the legacy quick never opened one), and the
|
|
97
108
|
engine's own sizing picks the lean path for a small task: Plan and Wall are
|