diff --git a/CLAUDE.md b/CLAUDE.md new file mode 100644 index 0000000..718b3bd --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1,14 @@ +# typosaurus-sandbox + +A minimal Python calculator used to verify the Typosaurus agent system. + +## Conventions +- Every source file starts with the `# retoor ` header. +- Full type annotations on every function signature. +- No comments or docstrings in source files. + +## Verification + +``` +make verify +``` diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..6c607e1 --- /dev/null +++ b/Makefile @@ -0,0 +1,2 @@ +verify: + @python3 -m compileall -q src && echo "verification passed" diff --git a/src/calculator.py b/src/calculator.py new file mode 100644 index 0000000..e41739a --- /dev/null +++ b/src/calculator.py @@ -0,0 +1,8 @@ +# retoor + +def add(left: int, right: int) -> int: + return left + right + + +def subtract(left: int, right: int) -> int: + return left - right