You are probably aware of this already, but the AI sidebar sometimes gives advice based on old Observable. For example I just got this:
2. Use
mutable. This is an Observable-specific feature. You declare a variable that other cells can assign to. Other cells change it withmutable name = value, and the owning cell doesn’t rerun just because of the mutation.mutable clicks = 0;Inputs.button("Click", {reduce: () => mutable clicks++});Mutation only works across cells, so a cell can’t mutate its own variable.
I don’t envy the task of convincing a general purpose LLM not to rely on all of the old Observable knowledge it has been trained on from the public Internet…