2 Commits

Author SHA1 Message Date
Calic
1658aebe70 fix(launcher): strip trailing LF from frontmatter body
The body region rebuilt from line-split included a trailing empty
entry from the final LF the parser appends to drive its gmatch. Strip
it so 'body text\n' (the on-disk content) parses to 'body text' (the
user-visible body), which is what the launcher-test asserts.
2026-06-11 01:26:50 +02:00
Calic
942e05ba3e feat(launcher): add frontmatter.lua JSON-frontmatter parser
Parses manifest.launcher.md leading JSON-frontmatter (delimited by
standalone '---' lines), returns (meta, body). Reuses
lib-management.dep-fetcher._json_decode so we do not add a second JSON
decoder to the codebase. Lazy require so test-lib contexts can swap a
stub decoder via _G.LAUNCHER_FRONTMATTER_DECODER.
2026-06-11 01:21:27 +02:00