From 380ac7f40f1a8cdc021fa836a0cc125781d46a27 Mon Sep 17 00:00:00 2001 From: typosaurus Date: Sat, 25 Jul 2026 16:58:41 +0200 Subject: [PATCH] chore: seed sandbox project --- CLAUDE.md | 14 ++++++++++++++ Makefile | 2 ++ src/calculator.py | 8 ++++++++ 3 files changed, 24 insertions(+) create mode 100644 CLAUDE.md create mode 100644 Makefile create mode 100644 src/calculator.py 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