Skip to content

Custom draftable model extension contract

Publishing Studio’s supported launch scope is Capell Pages. Custom draftable models are an extension contract for package and application developers; they are not part of Publishing Studio’s supported launch scope or its buyer-facing Pages workflow promise.

An extension may register a compatible model with WorkspaceRegistry when it implements the existing workspace draft contract and supplies the required cloning, comparison, validation, publishing, cache invalidation, and recovery behaviour. Registration is opt-in. Publishing Studio does not discover arbitrary Eloquent models or promise that registering a class makes its workflow production-ready.

Before supporting a custom draftable model, the extension owner must prove:

  • live records remain unchanged while a workspace is open or in review;
  • workspace reads and writes are correctly scoped;
  • review, readiness, schedule, publish, and recovery Actions handle the model;
  • atomic publication and cache invalidation cover every public surface it affects;
  • public output exposes no workspace, authoring, permission, field-path, record-ID, or signed-preview metadata; and
  • package-local tests cover conflicts, rollback, removal, and retained data.

The internal generic registry remains available so repeated paid-customer demand can be implemented without replacing the workflow engine. It is extensibility machinery, not a default product claim.