chore: clearing more of the spec

This commit is contained in:
2026-04-09 17:31:52 +02:00
parent 5eff5b9636
commit 92f0687549
6 changed files with 67 additions and 4 deletions

View File

@@ -17,6 +17,22 @@ config {
preview_port: Integer = 4123
}
surface PreviewControlSurface {
facing _: PreviewOperator
provides:
StartPreviewRequested(project)
StopPreviewRequested(server)
}
surface PreviewHttpSurface {
facing _: PreviewClient
provides:
PreviewRequest(path)
PreviewDraftRequest(path, post_id)
}
rule StartPreview {
when: StartPreviewRequested(project)
ensures: PreviewServer.created(