loki-mode

Known issues

Issues in the current release that are known and not yet fixed. Report new ones with loki crash or at https://github.com/asklokesh/loki-mode/issues.

Which engine runs

From 11.4.0, loki start, loki "<task>", loki owner/repo#N and loki quick run the Loki 10 engine whatever the flag order or input form. The previous loop runs only on --engine legacy, LOKI_ENGINE=legacy, for a provider with no Loki 10 invoker, for a PRD over 100000 bytes, or for one call when a flag Loki 10 cannot honor is present (--simple, --parallel, --sandbox, …). Check with loki route start <args> --json: it reports engine, adapter, reason and capability_differences. The full table is in the Routing contract section of docs/exit-codes.md.

Exit codes

The exit code of every command is listed in docs/exit-codes.md. Two things are kept as they are for compatibility:

An empty diff has a distinct exit code only for loki verify (3). loki quick, loki start and loki run do not define one.