implements PLN-0053
This commit is contained in:
@@ -164,6 +164,20 @@ Rules:
|
||||
- PBS symbolic asset references (`Addressable`) are not themselves required to be stdlib-imported modules;
|
||||
- backend-owned frontend surface contracts MAY supply symbolic values that later lower into stdlib host-backed APIs.
|
||||
|
||||
### 12.1 Current line `1` sprite-composition rule
|
||||
|
||||
For stdlib line `1`, sprite composition is owned by `@sdk:composer`, not by `@sdk:gfx`.
|
||||
|
||||
Rules:
|
||||
|
||||
- `@sdk:composer` MUST expose a low-level host owner `LowComposer`.
|
||||
- `@sdk:composer` MUST expose a public service facade `Composer`.
|
||||
- `Composer.emit_sprite(...)` MUST lower through canonical host identity `("composer", "emit_sprite", 1)`.
|
||||
- `Composer.emit_sprite(...)` MUST return a raw `int` in this wave.
|
||||
- `@sdk:gfx` MAY continue to expose primitive and overlay-oriented operations.
|
||||
- `@sdk:gfx` MUST NOT expose `set_sprite`.
|
||||
- `bind_scene`, `unbind_scene`, and `set_camera` are deferred and are not required members of `@sdk:composer` in this wave.
|
||||
|
||||
## 13. Stdlib Contract Expectations for Builtin MVP
|
||||
|
||||
For the current builtin MVP, stdlib should be able to expose at least:
|
||||
|
||||
Reference in New Issue
Block a user