functions — and the most-hallucinated bug ai ships6 / 9
closures and the @ symbol — what ai is doing when it stacks decorators
Claude wrote a decorator and forgot to return the inner wrapper from
the outer function. As a result, the decorated function is None and
the script crashes with a TypeError. Add the missing return wrapper
inside loud. Output should be:
calling: add
5
The break is on line 5 — but read the whole snippet first.
⌘↵ runs the editor.
Booting Python…
Output
[promptdojo:~]$ _