implement PBS low-level asset host surface
This commit is contained in:
+5
@@ -106,6 +106,9 @@ The current nominal capability set is:
|
||||
|
||||
These names are the normative manifest-facing representation.
|
||||
|
||||
For the low-level PBS asset host surface, the capability spelling MUST remain `asset` in the singular.
|
||||
PBS SDK owner names such as `LowAssets` do not change the manifest/runtime capability spelling.
|
||||
|
||||
## 6. Relationship to Runtime `CapFlags`
|
||||
|
||||
The runtime may continue to represent capabilities internally as a bitflag set.
|
||||
@@ -128,6 +131,8 @@ Canonical mapping:
|
||||
- `asset` -> `ASSET`
|
||||
- `bank` -> `BANK`
|
||||
|
||||
For asset host bindings, PBS declarations MUST use `[Capability(name = "asset")]` so that host admission, PBX host binding metadata, and cartridge capability checks all converge on the same runtime flag.
|
||||
|
||||
This means the recommended runtime design is:
|
||||
|
||||
1. deserialize `capabilities` into a nominal enum or equivalent validated representation,
|
||||
|
||||
Reference in New Issue
Block a user