small gleam coding and persistent agent daemon with a detachable cli and a canvas ui forked from okami.mom/albedo
albedo priv instructions python-cells.md

Python cells #

Repair saved source with await cells.run(id, replacements=[(old, new)]). Each old string must match exactly once. This saves a new copy, updates cells.last_id, and reruns the whole cell, rather than resuming at the failure.

If execution started, inspect await cells.trace(id) and relevant external state before using allow_partial=True. Traces may omit external effects. Enable replay only when repeating the whole cell is safe and authorized. Retyping can repeat effects too. When replay is unsafe, write only the remaining safe work in a new cell. Choose fresh source when it better expresses a different approach.

A failure before execution needs no replay override. Use await cells.run(id, replacements=[(old, new)], check=True) for compile-only checking. It returns an error or None, saves nothing, and establishes no runtime safety.