Files
ECC/manifests
Rockwell Windsor Rice cd322b5bea fix(rails-security): verify upload bytes where they are actually stored
- blob.content_type is derived via Marcel::MimeType.for, which keeps the
  client's declared type when the bytes match no known magic; opaque bytes
  declared image/png are stored as image/png with identified? true
- Active Storage uploads on save, so a model validation runs before the bytes
  exist; the example now uploads explicitly, verifies the stored bytes, and
  attaches only what passed
- Covers both entry points — create_and_upload! for form uploads, find_signed!
  for direct uploads — and fails closed when the object is missing or pending
- Regenerates the skill-triggers registry digest, which covers skill content
2026-11-08 14:00:01 -06:00
..