Skip to content

traits@0.5.8

Choose a tag to compare

@madhatcher madhatcher released this 19 Oct 05:44
· 17 commits to main since this release
e538a6d

Patch Changes

  • #72
    e6fdfb9 -
    Replace body-centric traits with required subject, requirement, and purpose
    fields, optional natural-language applicability and guidance, and optional
    Markdown context. Reject unsupported frontmatter instead of silently
    discarding it.

    This changes the stored format and SDK/MCP contracts. Explicitly migrate older
    collections to the new fields and reconnect the MCP server. Parse errors
    provide migration guidance without rewriting files. derive_trait now accepts
    a complete trait object as proposedTrait; check_traits optionally accepts
    invocation circumstances.

    Stored-trait parse errors now direct clients to request developer consent
    before repairing the affected store, validate repaired traits, and retry the
    blocked operation without restarting the server. Diagnostics distinguish
    schema mismatches from malformed documents and require clarification for
    ambiguous repairs.

  • #73
    5365a85 -
    Allow compatible Effect 4.x releases in peer dependencies.