> For the complete documentation index, see [llms.txt](https://docs.loci-dev.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.loci-dev.net/loci-release-notes/loci-plugin-for-ai-coding-assistants-release-notes/loci-v0.3.60-date-28-oct-2026.md).

# LOCI v0.3.60 (Date: 28 Oct 2026)

LOCI supports Python projects compiled with Cython, and can be deployed on-premise.

LOCI now supports Python projects compiled with Cython, and can be deployed on-premise. This release also lets Save Guard check stack and memory on its own when an edit calls for it, judges whole-binary, and measures edits made through the shell.

## New

* **Python projects compiled with Cython**: `/loci:init` now sets up a Python project whose build already compiles modules with Cython, using the extension modules and compile flags the project declares, for aarch64 and Neoverse V2 targets. Init finds a Python with Cython on your PATH and any aarch64 Linux cross compiler, and asks you to choose when several qualify. Save Guard then measures each edit and reports the changed function by its Python name, and a one-line edit lists only the function you changed. Plan Guard, control-flow and stack depth also work on Python functions by their Python names, and reports say which part of a figure is Python runtime or Cython code rather than your own.&#x20;
* **On-premise deployment**: LOCI can now run in an on-premise environment, with sign-in and session handling supported there.

## Improved

* **Save Guard escalates on its own**: When an edit grows a function's stack or adds static data, Save Guard now runs stack depth and memory-report for you, with or without a Contract Envelope. Stack and memory reports also show before and after figures for an edit when the repository has no Contract Envelope.
* **Plan Guard in plan mode**: In plan mode in GitHub Copilot CLI and Claude Code, LOCI now reminds the agent on every prompt to run Plan Guard before the plan is written, when a LOCI recipe governs the project.
* **Shell edits are measured**: Edits made through the shell, such as `sed`, a heredoc or a script, now have a Before taken from git or from a copy saved at the start of the turn, so Save Guard measures them on the first run. Across several edits in one turn, the Before stays the code the turn started with.
* **Whole-binary stack depth**: Asking for the worst-case stack depth without naming a function now walks every entry point in the binary, not only the functions in your Contract Envelope. Stack depth and frame size bounds that name no function are judged on the whole binary, whichever function you run.
* **Worktrees start set up**: A recipe you confirmed in one checkout is now reused in other checkouts of the same repository on the same machine, including new git worktrees, so a GitHub Copilot session no longer asks for `/loci:init` again. Recipes tied to their folder, such as container toolchains or out-of-tree builds, are not reused.
* **Better memory reports**: `/loci:memory-report` can now compare two builds you name in one run. When a linker map is available, buffers the linker placed in flash no longer count as RAM, and a ROM bound on a single function is measured and judged.
* **Safer setup**: `/loci:init` now offers to run your build once to capture a compile database instead of silently recording a binary-only setup, and no longer accepts a compile database whose files don't compile. When a compile fails, LOCI quotes the compiler's first error.

## **Fixed**

* **Accurate recursion checks**: A loop that jumps back to the start of its own function is no longer reported as recursion, and recursion or indirect calls inside prebuilt libraries you don’t have the source for are listed separately instead of counted against your project. Recursion bounds now get a real verdict instead of staying unjudged.
* **Correct architecture for Cortex-M0+**: Object files built for Cortex-M0+ were reported as a Cortex-M4 architecture, which could make the timing figures look untrustworthy. They now report the correct architecture.
* **Every function mapped to its source lines**: In object files built with one section per function, only the first function had source lines. Every function now maps to its own lines, so you can check the measured path against your code, and a path is no longer reported as moved when it hasn’t changed.
* **No `CAUTION` without a reason**: A regression bound measured for the first time, with nothing earlier to compare against, no longer shows `CAUTION`. Memory-report no longer reports `CAUTION` just because a memory region is well used.
* **Complete Save Guard results**: Save Guard now returns timings when you also ask for stack depth in the same prompt, and measures energy for functions added in an edit.
* **Fresh installs work again**: A new release of a third-party dependency broke every new LOCI install. LOCI now limits that dependency to a working version, so new installs start healthy.

{% hint style="info" %}
**Warning:** Some results will change after this update. Stack depth and frame size bounds that name no function are now judged across the whole binary and may report `FAIL` where they previously passed. Recursion bounds that stayed unjudged now get a verdict, which can be `FAIL`. A RAM bound on a single function is now refused, because static RAM has no single owner.&#x20;

LOCI CLI versions below 0.2.74 are now refused and asked to upgrade.
{% endhint %}

Questions or feedback? <loci@auroralabs.com>
