# rye:signed:2026-04-01T04:53:30Z:4622fdca95d2707dfe9fba13ccb6cf7537b3ca9c6f34651980d0f6b1ffa1e19d:BUD6v0hvLCAU3sIf3TKQvvySxhtYYNdiTGNN8LIeRdPQL8fEoCeTZYbDKbBoF_sFtL9fIXNFblszDF6vTtb9Ag:6ea18199041a1ea8
version: "1.0.0"
tool_type: extractor
executor_id: null
category: rye/core/extractors/knowledge
description: "Knowledge extractor - extracts metadata from YAML frontmatter in markdown files"

extensions:
  - .md
  - .yaml
  - .yml

parser: markdown/frontmatter

signature_format:
  prefix: "<!--"
  suffix: "-->"
  after_shebang: false

extraction_rules:
  name:
    type: path
    key: name
  title:
    type: path
    key: title
  version:
    type: path
    key: version
  entry_type:
    type: path
    key: entry_type
  category:
    type: path
    key: category
  tags:
    type: path
    key: tags
  body:
    type: path
    key: body

search_fields:
  title: 3.0
  name: 3.0
  description: 2.0
  category: 1.5
  content: 1.0

validation_schema:
  fields:
    name:
      required: true
      type: string
      match_filename: true
    title:
      required: true
      type: string
    version:
      required: true
      type: semver
    entry_type:
      required: true
      type: string
    category:
      required: false
      type: string
      match_path: true
