2 Commits

Author SHA1 Message Date
Alex Dunmow
4970bf4fa1 Validate seed content sections and gate them on SDK v0.3.11
A seed that sets master page content, a theme preset, mailing lists, posts,
email templates or page SEO must declare a plugin_sdk constraint that refuses
hosts before v0.3.11, so an older CMS rejects the artifact instead of applying
half a site.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-20 00:55:21 +08:00
Alex Dunmow
3b13dccdbb Pack codeless .bnp artifacts in the SDK
Moves the codeless build, validation and pack path from cli/internal/bnp
into a public bnp package so the CLI and the orchestrator share it.
BuildCodelessFS packs from an fs.FS and returns the artifact bytes; the
directory form calls it through os.DirFS. Output is byte-identical to the
old CLI build. ADR 0009.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 23:28:35 +08:00