发布

  • fix: preserve content after frontmatter in parse_instinct_file() (#161)

    frostbyte_neo 发布于 2026-02-06 09:00:48 +00:00 | 2615 次提交 在此版本后已推送到 main

    parse_instinct_file() was appending the instinct and resetting state
    when frontmatter ended (second ---), before any content lines could be
    collected. This caused all content (Action, Evidence, Examples) to be
    lost during import.

    Fix: only set in_frontmatter=False when frontmatter ends. The existing
    logic at the start of next frontmatter (or EOF) correctly appends the
    instinct with its collected content.

    Fixes #148

    下载附件