-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Problem
M13 VESSEL content system is text-only by design. readContent hardcodes encoding: 'utf-8', which corrupts binary blobs. Non-UTF-8 content intentionally fails the integrity check, but there's no user-facing guard — a user could content set a PNG and get a confusing integrity error on content show.
Proposed Solution
- Add
--encodingflag tocontent set(default:utf-8, option:base64) - Store
_content.encodingas a WARP property readContentuses stored encoding to correctly retrieve binary blobs- Optionally: validate MIME against encoding (reject
image/pngwithutf-8) - Add a guard in
contentSetthat warns/rejects binary MIME types until encoding support lands
Context
Intentionally deferred from M13. Surfaced across 3 CodeRabbit review threads (PR #276).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request