# Worked Examples

Explore full dialog transcripts, multi-step agent action logs, and complete diagnostic walks. Each example traces the decisions, checks, and handoffs that make the underlying loop inspectable.

The full architecture behind the traces

### Read the seven-region model in the book

As an Amazon Associate I earn from qualifying purchases.

                [Buy on Amazon](https://amzn.to/4fyLgVH)

### Examples by region

### Working Memory

                        Ch 6
                        Scaffolding loop

A full NOTES.md trace for a multi-iteration refactor that survives a context-cliff event mid-task. Shows the externalized-memory primitive carrying state across a compaction.

                    [Open the trace →](/examples/working-memory/)

### Dialog Interface

                        Ch 8
                        Intent clarification

A complete intent-clarification dialog where the user's literal request and underlying need diverge. Annotations call out the AI-side disciplines as they fire.

                    [Open the transcript →](/examples/dialog/)

### Motor / Sensory

                        Ch 9
                        Agent action log

A real multi-step agent task - file edits, shell commands, git operations, API calls - with side-effect class annotations and the confirmation-gate sequence that punctuates the side-effects.

                    [Open the action log →](/examples/sensorimotor/)

### Failure Diagnosis

                        Ch 12
                        Region walk

A real partnership-failure incident walked through the per-region diagnostic process. Shows why walking the regions in order beats guessing at a fix.

                    [Open the diagnosis →](/examples/failure-diagnosis/)

Each example carries its publication date. Report corrections through [errata](/errata/).
