Describe the lab 2 target in AGENTS.md and the layer rules: PostgreSQL
as the source of truth, Basic login and Bearer sessions, Redis or
Valkey on grade 4, compose stand with pinned images, named volumes and
the restart hook, migrations before the API, level 4 checks.
Add .claude/rules/auth.md for password hashing, Basic parsing, session
tokens, expiry and revocation. Record that FastAPI HTTPBasic decodes
credentials as ASCII and cannot parse UTF-8 passwords.
Add a transitional section to AGENTS.md: the code is still the lab 1
in-memory implementation until the OpenSpec changes land.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>