Files
analysis_claude_code/s08_context_compact/code.py
root 67a9126c64 fix(s08,s20): sync frontmatter parser with s07 fix from PR #434
Replace old manual/split-based _parse_frontmatter with the
line-delimited YAML parser from s07. This fixes skill loading
for YAML block scalars, multiline descriptions, and CRLF line
endings in both s08 and s20. Also update name/desc fallback
from meta.get(k, default) to meta.get(k) or default so empty
string values correctly fall through.

s08 previously used a manual split(':', 1) parser that could not
handle YAML syntax at all. s20 used yaml.safe_load but with the
old text.split('---', 2) approach that misses boundary cases.
2026-07-29 01:06:15 +08:00

24 KiB