Minimalist agentic harness in C

Commits on master