Skip to content

Release v5.18.0

Choose a tag to compare

@github-actions github-actions released this 12 Nov 05:58
e6d117c

Stage now loads the extension packages a model's screenplay.lock pins: it fetches exactly the locked digests from OCI registries and npm, decides whether the deployment allows them, verifies their signatures and serves what they ship. A package that is missing, not allowed, unsigned or not the one the lock pins is refused through /stage/semantic/admission before anything runs.

Added

  • Extension packages are loaded from the model's screenplay.lock: full extensions as OCI artifacts and frontend-only packages from npm. Stage fetches exactly the locked digest, never a tag or a version range, caches it by digest and hashes the bytes against the lock on every read. See https://github.com/Cratis/Stage/blob/main/Documentation/extensions/packages.md. (#1064)
  • Trust is decided by the deployment, never by the model: an allow-list of publishers and references in .cratis/extensions.json, narrowed by Stage:Extensions:Packages:Allow, and a signature that must verify against the key of the publisher the lock records (cosign key-based signatures for OCI, the registry signature for npm). Registry credentials come from Stage:Extensions:Packages:Registries only.
  • A package that is not allowed, not signed, signed by another key, has another digest or contract than the lock, needs another Stage or Screenplay version, ships a placeholder that runs script or is not safe to unpack is refused with its reason through /stage/semantic/admission. The model is not loaded while a package is refused, and a published host refuses to start.
  • Every ability of an extension is pinned to the locked package digest, so every workflow run pins the package that was admitted. IExtensionPackages and LoadedExtensionPackage.UnpackBackend expose the loaded packages and their verified backend bytes for activation.
  • Frontend assets are served at /extension-assets/{id}/{path}, and the manifest icon, images and each component's placeholder under /stage/extensions/packages/{id}. Placeholders are served with a content security policy that forbids scripts and external loads, and only into a frame.
  • GET /stage/extensions lists loaded and refused extensions with their manifest, images, contents and requirements, and /stage/extensions/view renders the same listing as a page.

Changed

  • Stage requires Cratis.Screenplay 6.22.0, and the conformance matrix records its new ESM vector V50.
  • /stage/extensions is a tooling route: a published application does not serve it.