publishGenerated
Category: Creation protocol · Session
Compiles, validates and prepares a Kernel, then swaps it in whole; answered once it stands. The running world changes, not a file: the document it came from is left as it is.
Description
Section titled “Description”Compiles, validates and prepares a Kernel, then swaps it in whole; answered once it stands. The running world changes, not a file: the document it came from is left as it is.
Example request
Section titled “Example request”{"id": 1, "op": "publish", "source": "kernel demo.x@1 { … }"}Properties
Section titled “Properties”| Name | Type | Required | Description |
|---|---|---|---|
source |
string |
yes | a document with one Kernel |
expect |
"absent" | "any" | integer |
no | absent for a new Kernel, a generation kernels answered, or any; any when not given |
Answer
Section titled “Answer”id, generation; and when it computes a <~ port’s initial source, keeps (those node.ports, which keep what they committed) and reset (the requests that start them from the new law)

