Claude Code, From First Principles: The Agentic Loop, Permissions, and What Actually Executes
Claude Code is not a chatbot with a code icon. It is an agentic harness: a loop that calls a model, executes real shell and filesystem operations behind a permission gate, and manages a shrinking context budget one turn at a time.