6 Commits

Author SHA1 Message Date
Alex Dunmow
34c2b73801 docs(plugins): captcha = ninjatpl tag + host-stamped X-Bn-Verified-Captcha; core imports forbidden
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-07 23:12:17 +08:00
Alex Dunmow
cbc598f5d5 developing-blockninja-plugins: add theme-overrides reference
Codeless theme override authoring learned from the theme-fleet build:
- template override mechanism (templates/overrides + manifest template_overrides)
- override dispatch model (definition-backed → providers via RenderDefinition;
  compiled auth/404 built-ins via GetForTemplate)
- legacy field renames (button href→link etc.), ninjatpl engine gotchas
- presets/fonts/email/motion rules, seed single-segment page-slug constraint
- git -C commit-hook trap, check-safety gate
- screenshot/preview pipeline (local ImageExists provisioning, showcase recipe)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-05 15:36:43 +08:00
Alex Dunmow
cb1acbab6b developing-blockninja-plugins: rewrite for the wasm-plugin era
.so pipeline is dead (cms a04277ee2): standalone plugins are reactor-mode
wasip1 wasm packed into .bnp artifacts. Skill now teaches ninja plugin
build/verify/publish --bnp, bnwasm sqlc DB (per-plugin role, own schema
only), capability dispositions, per-instance-state gotchas (HostServices,
deps stashing), sandbox constraints (data_dir, buffered HTTP, hot-swap),
with plugins/testplugin as the worked example. html-blocks.md: reword the
one .so compat line.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-03 22:09:55 +08:00
Alex Dunmow
b23e0219b7 developing-blockninja-plugins: add html-blocks guidance
Agents default to registering a custom block type (BlockMeta + Go render func +
Module Federation editor) for section/content blocks. RED baseline confirmed it.
Add html-blocks.md: when to use the built-in html block vs a custom block,
pre-rendered vs live render modes, driving nav/footer from editable menus, and
the master-page reconcile / publish / ReconcileBlocks gotchas. SKILL.md gains a
routing row + a decision callout so the html-block path is seen before an agent
reaches for a custom block. GREEN-verified: fresh agents now pick the html block
(with reasoning) on both a clear case and the nuanced field-form case.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-28 09:53:38 +08:00
Alex Dunmow
d7c7607058 docs(plugins): route plugin skill to platform data-table provisioning (EnsureDataTable, View-rootable) 2026-06-22 20:51:55 +08:00
Alex Dunmow
e92a8f4be0 first commit 2026-06-12 13:51:20 +08:00