Skip to content

@-refs: add malli schema for chat/prompt :contexts (FileContext) boundary payload #15

Description

@ssjoleary

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions