curl --request POST \
--url http://127.0.0.1:4319/memory/reconcile/settings \
--header 'Content-Type: application/json' \
--data '
{
"invariants": true,
"entities": true,
"llm_entities": false,
"llm_conflicts": false,
"llm_recheck": false,
"startupCatchUp": true
}
'import requests
url = "http://127.0.0.1:4319/memory/reconcile/settings"
payload = {
"invariants": True,
"entities": True,
"llm_entities": False,
"llm_conflicts": False,
"llm_recheck": False,
"startupCatchUp": True
}
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({
invariants: true,
entities: true,
llm_entities: false,
llm_conflicts: false,
llm_recheck: false,
startupCatchUp: true
})
};
fetch('http://127.0.0.1:4319/memory/reconcile/settings', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "http://127.0.0.1:4319/memory/reconcile/settings"
payload := strings.NewReader("{\n \"invariants\": true,\n \"entities\": true,\n \"llm_entities\": false,\n \"llm_conflicts\": false,\n \"llm_recheck\": false,\n \"startupCatchUp\": true\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))
}<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_PORT => "4319",
CURLOPT_URL => "http://127.0.0.1:4319/memory/reconcile/settings",
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([
'invariants' => true,
'entities' => true,
'llm_entities' => false,
'llm_conflicts' => false,
'llm_recheck' => false,
'startupCatchUp' => true
]),
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;
}require 'uri'
require 'net/http'
url = URI("http://127.0.0.1:4319/memory/reconcile/settings")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"invariants\": true,\n \"entities\": true,\n \"llm_entities\": false,\n \"llm_conflicts\": false,\n \"llm_recheck\": false,\n \"startupCatchUp\": true\n}"
response = http.request(request)
puts response.read_bodyHttpResponse<String> response = Unirest.post("http://127.0.0.1:4319/memory/reconcile/settings")
.header("Content-Type", "application/json")
.body("{\n \"invariants\": true,\n \"entities\": true,\n \"llm_entities\": false,\n \"llm_conflicts\": false,\n \"llm_recheck\": false,\n \"startupCatchUp\": true\n}")
.asString();using RestSharp;
var options = new RestClientOptions("http://127.0.0.1:4319/memory/reconcile/settings");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddJsonBody("{\n \"invariants\": true,\n \"entities\": true,\n \"llm_entities\": false,\n \"llm_conflicts\": false,\n \"llm_recheck\": false,\n \"startupCatchUp\": true\n}", false);
var response = await client.PostAsync(request);
Console.WriteLine("{0}", response.Content);
{
"invariants": true,
"entities": true,
"llm_entities": false,
"llm_conflicts": false,
"llm_recheck": false,
"startupCatchUp": true
}{
"error": "invalid request body",
"issues": [
{
"path": "query",
"message": "query must be a non-empty string"
}
]
}Update the reconcile settings
Patch any subset. This is what the viewer’s Settings tab writes. Turning on
llm_entities, llm_conflicts, or llm_recheck is what allows a run started by hand
to spend money; the daemon’s own idle and startup runs stay on the free passes
whatever is saved here.
curl --request POST \
--url http://127.0.0.1:4319/memory/reconcile/settings \
--header 'Content-Type: application/json' \
--data '
{
"invariants": true,
"entities": true,
"llm_entities": false,
"llm_conflicts": false,
"llm_recheck": false,
"startupCatchUp": true
}
'import requests
url = "http://127.0.0.1:4319/memory/reconcile/settings"
payload = {
"invariants": True,
"entities": True,
"llm_entities": False,
"llm_conflicts": False,
"llm_recheck": False,
"startupCatchUp": True
}
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({
invariants: true,
entities: true,
llm_entities: false,
llm_conflicts: false,
llm_recheck: false,
startupCatchUp: true
})
};
fetch('http://127.0.0.1:4319/memory/reconcile/settings', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "http://127.0.0.1:4319/memory/reconcile/settings"
payload := strings.NewReader("{\n \"invariants\": true,\n \"entities\": true,\n \"llm_entities\": false,\n \"llm_conflicts\": false,\n \"llm_recheck\": false,\n \"startupCatchUp\": true\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))
}<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_PORT => "4319",
CURLOPT_URL => "http://127.0.0.1:4319/memory/reconcile/settings",
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([
'invariants' => true,
'entities' => true,
'llm_entities' => false,
'llm_conflicts' => false,
'llm_recheck' => false,
'startupCatchUp' => true
]),
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;
}require 'uri'
require 'net/http'
url = URI("http://127.0.0.1:4319/memory/reconcile/settings")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"invariants\": true,\n \"entities\": true,\n \"llm_entities\": false,\n \"llm_conflicts\": false,\n \"llm_recheck\": false,\n \"startupCatchUp\": true\n}"
response = http.request(request)
puts response.read_bodyHttpResponse<String> response = Unirest.post("http://127.0.0.1:4319/memory/reconcile/settings")
.header("Content-Type", "application/json")
.body("{\n \"invariants\": true,\n \"entities\": true,\n \"llm_entities\": false,\n \"llm_conflicts\": false,\n \"llm_recheck\": false,\n \"startupCatchUp\": true\n}")
.asString();using RestSharp;
var options = new RestClientOptions("http://127.0.0.1:4319/memory/reconcile/settings");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddJsonBody("{\n \"invariants\": true,\n \"entities\": true,\n \"llm_entities\": false,\n \"llm_conflicts\": false,\n \"llm_recheck\": false,\n \"startupCatchUp\": true\n}", false);
var response = await client.PostAsync(request);
Console.WriteLine("{0}", response.Content);
{
"invariants": true,
"entities": true,
"llm_entities": false,
"llm_conflicts": false,
"llm_recheck": false,
"startupCatchUp": true
}{
"error": "invalid request body",
"issues": [
{
"path": "query",
"message": "query must be a non-empty string"
}
]
}Body
Which passes a run does. The two free passes are on by default and the three that spend money are off, because a pass whose work the ledger can undo needs no permission and one that spends does. Every field is optional on a write.
Fix memory principle violations. Free, acts on its own.
Resolve duplicate entities. Free, acts on its own.
Let a model resolve uncertain entity pairs. One call per pair.
Let a model resolve memory conflicts. One call per conflict.
Look for contradictions the save path could not see. Up to 200 calls per run, roughly $0.55 at the ceiling.
Run the free passes shortly after the daemon starts when the last run is more than 36 hours old.
Response
The settings as saved.
Which passes a run does. The two free passes are on by default and the three that spend money are off, because a pass whose work the ledger can undo needs no permission and one that spends does. Every field is optional on a write.
Fix memory principle violations. Free, acts on its own.
Resolve duplicate entities. Free, acts on its own.
Let a model resolve uncertain entity pairs. One call per pair.
Let a model resolve memory conflicts. One call per conflict.
Look for contradictions the save path could not see. Up to 200 calls per run, roughly $0.55 at the ceiling.
Run the free passes shortly after the daemon starts when the last run is more than 36 hours old.