WORK-454
ID:WORK-454Status:ready

Template asset seeding and bundled sandboxes

SPEC-109 §4,§7 — a template seeds the project's asset: config (SPEC-115) so it renders cleanly with zero bundled binaries, and may bundle a sandbox program tree + backgrounds so a runtime-bearing template works out of the box.

Priority:mediumComplexity:moderateMilestone:v0.25.0Source:SPEC-109
claude/v0.25.0-workitems View source

Criteria completion

Criteria completion: 0 of 5 (0%) checked; tracking started on Jun 23, no incremental history yet0%25%50%75%100%Jun 23Jul 11

Tracking started Jun 23 — check back for trends.

Branches 3
History 1
  1. a6bdcba
    Created (ready)by bjornolofandersson

Acceptance Criteria

  • A template seeds sites.<site>.assets from template.json at scaffold time; with no base URL configured the scaffolded site renders shape-correct placeholders (zero binary assets, nothing to strip)
  • Setting an asset base URL lights up real images with no demo-build flag
  • A template may carry a sandbox program-source tree, scaffold-copied to site.sandbox.dir (the renamed dir, WORK-463)
  • A template's site.backgrounds is seeded so a named bg-sandbox preset resolves out of the box
  • No new build-time or npm dependency is introduced — the sandbox runtime stays CDN-loaded at activation

Approach

Extend the apply step (WORK-453) to seed assets/backgrounds and copy the sandboxes/ tree to the configured sandbox dir. Asset resolution itself is owned by SPEC-115; this only requires a template can seed the config.

Dependencies

  • WORK-453 — the template apply step
  • WORK-463 — the renamed sandbox directory field

References

  • SPEC-109 §4, §7; SPEC-115; ADR-022