Files
gbrain/test
f6471aec25 fix(schema-pack): parseYamlMini fails loud on block scalars instead of silently truncating (takeover of #1799, fixes #1750)
parseYamlMini documents block scalars (|, >) as unsupported but silently
mis-parsed them: 'description: |' read as the literal string '|' and the
indented body tripped the indent>baseIndent break in parseMapping, dropping
page_types and every later top-level key with no error. This bit the bundled
gbrain-recommended pack (12 declared page_types resolved to 0).

- parseScalar now throws a clear error on a bare block-scalar indicator
  (|, >, incl. chomping/indent forms |-, >+, |2)
- inline gbrain-recommended.yaml's description so the shipped pack loads
- regression tests: block-scalar forms throw, quoted "|" still parses,
  bundled pack parses with full page_types

Co-authored-by: harjoth <harjoth.khara@gmail.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-22 18:51:52 -07:00
..