system/coding-standards.md
slug column for human-readable identificationSluggable concern with before_save :set_slug callbackname_slug methodbefore_validation :generate_slug with random hex (immutable)after_create (needs id)foreign_key: :agent_slug, primary_key: :slug patternhas_many :tasks, foreign_key: :agent_slug, primary_key: :slugErrorLog.capture!(exception, target:, parent:) for structured error loggingRecordNotFound, RecordInvalid, RuntimeErrorRecordNotFound is expected (no error log needed)RecordInvalid / RuntimeError = log via ErrorLog.capture!Api::V1::BaseController (ActionController::API)RecordNotFound → 404, RecordInvalid → 422We emailed a one-tap sign-in link to . It expires shortly and can only be used once.
No email? Check spam, or close this and try again.