TheFocus.AI TheFocus.AI
Part 2: Services and Contracts

Part 2: Services and Contracts

Add PostgreSQL, fast checks, and a precise agent-readable feature contract.

TUTOR WITH THEFOCUS.AI

Agent Integration

Copy this prompt into Claude, ChatGPT, or any external AI assistant. It points the assistant to the course instructions and links it to your student profile to track your progress and customize observations.

Please tutor me in this lesson using the following context. First, read the instructions at: https://courses.thefocus.ai/llms.txt My Student ID is: <none> The lesson markdown source is at: https://courses.thefocus.ai/nix-agent-lab/02-services-and-contracts/04-real-services.md

You are not enrolled yet. Enroll to generate a Student ID to track lesson completions and store learning notes.

Part 2: Services and Contracts

Add PostgreSQL, fast checks, and a precise agent-readable feature contract.

Three chapters · approximately 3–5 focused hours, plus downloads and cloud setup. Stop after each verification gate. Paid model calls are optional until Part 3; cloud capacity and KVM are needed for the full capstone.

ChapterDeliverable
04 · Real Services, Repeatable ChecksStart PostgreSQL through devenv and test a transaction without leaving persistent test data.
05 · Fast Feedback and Automatic ShellsUse targeted tasks for fast feedback and configure direnv with an explicit trust boundary.
06 · Specs, Plans, and Agent MemoryDefine a feature before prompting and create a reviewed, failing acceptance test before the agent changes the implementation.

The next part consumes the evidence from this one. Do not advance on an assumed pass.

Start this part → · Course overview