WORK-269
Setting up your dashboard 0 entities found · 9/34 branches scanned
ID:WORK-269Status:ready

embed() embeddability contract

Generalize SPEC-066's sourceFile + extract into the embed() contract: an entity is embeddable if it has embed() or (sourceFile + extract). expand and the entityRoutes adapter accept either, so external plugins can make entities embeddable without a source file on disk.

Priority:mediumComplexity:moderateMilestone:v0.16.0Source:SPEC-069

Criteria completion

Criteria completion: 0 of 4 (0%) checked; tracking started on May 25, no incremental history yet0%25%50%75%100%May 25Jun 15

Tracking started May 25 — check back for trends.

Acceptance Criteria

  • An entity is embeddable if it has embed() or (sourceFile + extract); expand resolves both forms
  • embed() returns the entity's renderable subtree (or source) for inlining
  • Entities with neither produce a clear build error when expanded, naming the entity
  • The existing plan expand path (sourceFile + extract, from v0.15.0) continues to work unchanged

Dependencies

None — extends the existing expand/embeddability machinery; WORK-270 uses it for plan entities.

References

  • SPEC-069