fix(sdk): anchor extractFrontmatter at file start (#3240) (#3247)

* test: reproduce extractFrontmatter LAST-block bug (#3240)

* fix(sdk): anchor extractFrontmatter at file start (#3240)

* changeset: pr=3247 for #3240
This commit is contained in:
Tom Boucher
2026-05-08 08:40:30 -04:00
committed by GitHub
parent 447763411a
commit b2f0fdf250
5 changed files with 122 additions and 12 deletions

View File

@@ -0,0 +1,5 @@
---
type: Fixed
pr: 3247
---
**`gsd-sdk query phase-plan-index` now reads frontmatter from the file's leading block** — plans with embedded YAML examples or markdown horizontal rules no longer silently mis-parse to wave=1, autonomous=true.