Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/v0.1.0/procedures/provider-manifest.md
Original file line number Diff line number Diff line change
Expand Up @@ -293,8 +293,8 @@ absent or rejected. A valid presentation is revised independently and bound
to the accepted `manifest_revision`.

The [Provider presentation guide](provider-presentation.md) explains surfaces,
the generic component tree, core renderers, custom renderer metadata and
fallback, data bindings, and embedded assets. The wire fields, validation
the generic component tree, the Control Plane-owned renderer catalog, renderer
metadata and fallback, data bindings, and embedded assets. The wire fields, validation
pipeline, and limits remain defined on this page.

## Declaration model
Expand Down
204 changes: 75 additions & 129 deletions docs/v0.1.0/procedures/provider-presentation.md

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion proto/stateforge_protocol/sfp/manifest/v1/manifest.proto
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,8 @@ message PresentationSurface {

// ComponentNode selects a renderer by identifier and supplies only declarative
// data. Properties are interpreted by the Control Plane renderer registry, not
// by SFP. Custom components require renderer metadata and a core-only fallback.
// by SFP. Component and surface applicability are decided by the Control Plane.
// Fallback trees are optional and are interpreted by the Control Plane.
message ComponentNode {
string component_identifier = 1;
google.protobuf.Struct properties = 2;
Expand Down
3 changes: 1 addition & 2 deletions scripts/ci/verify_installed.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
from stateforge_protocol.sfp.endpoint_discovery.v1 import (
contract as endpoint_discovery_contract,
)
from stateforge_protocol.sfp.manifest.v1 import contract as manifest_contract
from stateforge_protocol.sfp.manifest.v1 import manifest_pb2
from stateforge_protocol.sfp.manifest.v1 import (
validation as manifest_validation,
Expand Down Expand Up @@ -230,7 +229,7 @@ def _verify_manifest_validation(fixture_root: Path) -> int:
raise ValueError("Installed Provider presentation was not accepted")

presented.presentation.provider.surfaces[
manifest_contract.PROVIDER_OVERVIEW_SURFACE
"stateforge.ui/surface.provider.overview@1"
].root.properties.update({"tampered": True})
rejected = manifest_validation.validate_manifest_exchange(presented)
if (
Expand Down
Loading
Loading