curl --request POST \
--url https://api.example.com/api/graph/v1/template-governance/proposals \
--header 'Content-Type: application/json' \
--data '
{
"template_id": "<string>",
"proposed_spec": {},
"diff_summary": "<string>",
"proposed_playbook_version": "<string>",
"proposed_playbook_hash": "<string>",
"parent_playbook_version": "scenario_playbook_v1",
"parent_playbook_hash": "9bc0b7aa353352daec05d666829fbd22cb962a8c6403d44d0a9a66d9777c5f9f"
}
'import requests
url = "https://api.example.com/api/graph/v1/template-governance/proposals"
payload = {
"template_id": "<string>",
"proposed_spec": {},
"diff_summary": "<string>",
"proposed_playbook_version": "<string>",
"proposed_playbook_hash": "<string>",
"parent_playbook_version": "scenario_playbook_v1",
"parent_playbook_hash": "9bc0b7aa353352daec05d666829fbd22cb962a8c6403d44d0a9a66d9777c5f9f"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
template_id: '<string>',
proposed_spec: {},
diff_summary: '<string>',
proposed_playbook_version: '<string>',
proposed_playbook_hash: '<string>',
parent_playbook_version: 'scenario_playbook_v1',
parent_playbook_hash: '9bc0b7aa353352daec05d666829fbd22cb962a8c6403d44d0a9a66d9777c5f9f'
})
};
fetch('https://api.example.com/api/graph/v1/template-governance/proposals', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/api/graph/v1/template-governance/proposals",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'template_id' => '<string>',
'proposed_spec' => [
],
'diff_summary' => '<string>',
'proposed_playbook_version' => '<string>',
'proposed_playbook_hash' => '<string>',
'parent_playbook_version' => 'scenario_playbook_v1',
'parent_playbook_hash' => '9bc0b7aa353352daec05d666829fbd22cb962a8c6403d44d0a9a66d9777c5f9f'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/api/graph/v1/template-governance/proposals"
payload := strings.NewReader("{\n \"template_id\": \"<string>\",\n \"proposed_spec\": {},\n \"diff_summary\": \"<string>\",\n \"proposed_playbook_version\": \"<string>\",\n \"proposed_playbook_hash\": \"<string>\",\n \"parent_playbook_version\": \"scenario_playbook_v1\",\n \"parent_playbook_hash\": \"9bc0b7aa353352daec05d666829fbd22cb962a8c6403d44d0a9a66d9777c5f9f\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.example.com/api/graph/v1/template-governance/proposals")
.header("Content-Type", "application/json")
.body("{\n \"template_id\": \"<string>\",\n \"proposed_spec\": {},\n \"diff_summary\": \"<string>\",\n \"proposed_playbook_version\": \"<string>\",\n \"proposed_playbook_hash\": \"<string>\",\n \"parent_playbook_version\": \"scenario_playbook_v1\",\n \"parent_playbook_hash\": \"9bc0b7aa353352daec05d666829fbd22cb962a8c6403d44d0a9a66d9777c5f9f\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/graph/v1/template-governance/proposals")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"template_id\": \"<string>\",\n \"proposed_spec\": {},\n \"diff_summary\": \"<string>\",\n \"proposed_playbook_version\": \"<string>\",\n \"proposed_playbook_hash\": \"<string>\",\n \"parent_playbook_version\": \"scenario_playbook_v1\",\n \"parent_playbook_hash\": \"9bc0b7aa353352daec05d666829fbd22cb962a8c6403d44d0a9a66d9777c5f9f\"\n}"
response = http.request(request)
puts response.read_body{}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Create Proposal
Open a DRAFT revision proposal.
The gate-key check is the friendly 422; migration 195’s CHECK is the safety net that
holds for every other writer. A proposal that could carry gate_min_n or action
would be a path by which the loop writes a §9.1 gate value — the one thing §12a.3 says
it may never do.
curl --request POST \
--url https://api.example.com/api/graph/v1/template-governance/proposals \
--header 'Content-Type: application/json' \
--data '
{
"template_id": "<string>",
"proposed_spec": {},
"diff_summary": "<string>",
"proposed_playbook_version": "<string>",
"proposed_playbook_hash": "<string>",
"parent_playbook_version": "scenario_playbook_v1",
"parent_playbook_hash": "9bc0b7aa353352daec05d666829fbd22cb962a8c6403d44d0a9a66d9777c5f9f"
}
'import requests
url = "https://api.example.com/api/graph/v1/template-governance/proposals"
payload = {
"template_id": "<string>",
"proposed_spec": {},
"diff_summary": "<string>",
"proposed_playbook_version": "<string>",
"proposed_playbook_hash": "<string>",
"parent_playbook_version": "scenario_playbook_v1",
"parent_playbook_hash": "9bc0b7aa353352daec05d666829fbd22cb962a8c6403d44d0a9a66d9777c5f9f"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
template_id: '<string>',
proposed_spec: {},
diff_summary: '<string>',
proposed_playbook_version: '<string>',
proposed_playbook_hash: '<string>',
parent_playbook_version: 'scenario_playbook_v1',
parent_playbook_hash: '9bc0b7aa353352daec05d666829fbd22cb962a8c6403d44d0a9a66d9777c5f9f'
})
};
fetch('https://api.example.com/api/graph/v1/template-governance/proposals', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/api/graph/v1/template-governance/proposals",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'template_id' => '<string>',
'proposed_spec' => [
],
'diff_summary' => '<string>',
'proposed_playbook_version' => '<string>',
'proposed_playbook_hash' => '<string>',
'parent_playbook_version' => 'scenario_playbook_v1',
'parent_playbook_hash' => '9bc0b7aa353352daec05d666829fbd22cb962a8c6403d44d0a9a66d9777c5f9f'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/api/graph/v1/template-governance/proposals"
payload := strings.NewReader("{\n \"template_id\": \"<string>\",\n \"proposed_spec\": {},\n \"diff_summary\": \"<string>\",\n \"proposed_playbook_version\": \"<string>\",\n \"proposed_playbook_hash\": \"<string>\",\n \"parent_playbook_version\": \"scenario_playbook_v1\",\n \"parent_playbook_hash\": \"9bc0b7aa353352daec05d666829fbd22cb962a8c6403d44d0a9a66d9777c5f9f\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.example.com/api/graph/v1/template-governance/proposals")
.header("Content-Type", "application/json")
.body("{\n \"template_id\": \"<string>\",\n \"proposed_spec\": {},\n \"diff_summary\": \"<string>\",\n \"proposed_playbook_version\": \"<string>\",\n \"proposed_playbook_hash\": \"<string>\",\n \"parent_playbook_version\": \"scenario_playbook_v1\",\n \"parent_playbook_hash\": \"9bc0b7aa353352daec05d666829fbd22cb962a8c6403d44d0a9a66d9777c5f9f\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/graph/v1/template-governance/proposals")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"template_id\": \"<string>\",\n \"proposed_spec\": {},\n \"diff_summary\": \"<string>\",\n \"proposed_playbook_version\": \"<string>\",\n \"proposed_playbook_hash\": \"<string>\",\n \"parent_playbook_version\": \"scenario_playbook_v1\",\n \"parent_playbook_hash\": \"9bc0b7aa353352daec05d666829fbd22cb962a8c6403d44d0a9a66d9777c5f9f\"\n}"
response = http.request(request)
puts response.read_body{}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Body
A NEW VERSION proposal with lineage — never an edit to a live one (§12a.1).
parent_playbook_version/parent_playbook_hash default to the RUNNING document,
which is the only parent a proposal opened against this binary can honestly claim.
They are settable so a proposal can be filed against an older parent explicitly, and
the mismatch is then visible in the row rather than implied.
created_by is absent on purpose: the handler stamps it from the authenticated
operator.
11^[0-9a-f]{64}$Response
Successful Response
The response is of type Response Create Proposal Api Graph V1 Template Governance Proposals Post · object.