# Interview source map

This map records the implementation inspected for the rules case study.
Reconfirm paths when the source repository changes.

| Concern                  | Source                              | Role                                                                           |
| ------------------------ | ----------------------------------- | ------------------------------------------------------------------------------ |
| Shared context           | `AGENTS.md`                         | Stack, commands, product shape, conventions, and verification expectations.    |
| Reusable procedures      | `.agents/skills/`                   | Focused workflows such as gates, frontend, Go API, repo DB, and skill writing. |
| Machine-readable routing | `.agents/db/commands.json`          | Canonical checks and code-generation commands.                                 |
| UI enforcement           | `scripts/check-ui-contract.mjs`     | Ratchet for buttons, catches, headings, colors, and duplicate components.      |
| Ratchet state            | `scripts/ui-contract-baseline.json` | Baseline counts that new violations cannot exceed.                             |
| Commit boundary          | `.husky/pre-commit`                 | Runs lint-staged and the UI contract check.                                    |
| Commit message boundary  | `.husky/commit-msg`                 | Runs commitlint.                                                               |
| Staged-file tools        | `.lintstagedrc.cjs`                 | Biome, ESLint, Prettier, and Buf formatting by file type.                      |
| Independent review       | `.pr-review.json`                   | Review focus, exclusions, security constraints, and test expectations.         |
| Agent roles              | `.claude/agents/`                   | Prior-art scout, scoped implementer, and verifier responsibilities.            |

The source of truth is the repository. This table is a teaching map, not a
replacement for reading the files.
