Follow-up from PR #4 review (Standards axis — minor).
The chat/prompt :contexts payload — {:type "file" :path <string>} (ECA FileContext) — crosses the server boundary with no malli schema. Clojure Craft prefers a schema for central, boundary-crossing data (documentation + boundary validation).
The map is tiny and local today, so this is low priority. If context types expand (@cursor, @repoMap, @mcpResource are on the Phase 11 roadmap), add a FileContext/Context malli schema at the owning namespace and validate at the send boundary.
Follow-up from PR #4 review (Standards axis — minor).
The
chat/prompt:contextspayload —{:type "file" :path <string>}(ECAFileContext) — crosses the server boundary with no malli schema. Clojure Craft prefers a schema for central, boundary-crossing data (documentation + boundary validation).The map is tiny and local today, so this is low priority. If context types expand (
@cursor,@repoMap,@mcpResourceare on the Phase 11 roadmap), add aFileContext/Contextmalli schema at the owning namespace and validate at the send boundary.