Post two in the series. How the Legal Framework is actually built in Claude Code: three tiers, three Python scripts, a reflective hook, and the operating loop. Includes the skill as a download, plus the parts that are not right yet.
Our context mechanisms are good at prescription - the rules an agent is told to follow. They are poor at experience - the hard-won nudges we supply at the moment of ambiguity. This is a framework that borrows from our legal system to give that experience a home, the Common Law, and recalls it just-in-time rather than in advance.
All my agent posts so far have been about building with agents - prompts, profiles, skills, harnesses. This one flips: what do you build for them, when the next customer arriving at your service is an Agent and not a person? A practical components guide, worked end-to-end on a single purchase.