World's first open-source enterprise world model.
Rust agent-memorybitemporalgraphragknowledge-baseknowledge-graphllmontologypgvectorpostgresqlragrustself-hostedsemantic-searchtemporal-knowledge-graphworld-model
0044 says where the token threshold stands: about three times over with thinking off, and a trained model is the planned route (#1068)
WaylandYangf9c7d8b25729
diff --git a/docs/decisions/0044-the-ontology-is-a-view-over-what-documents-say.md b/docs/decisions/0044-the-ontology-is-a-view-over-what-documents-say.mdindex ce70d5f9..cae18cc2 100644--- a/docs/decisions/0044-the-ontology-is-a-view-over-what-documents-say.md+++ b/docs/decisions/0044-the-ontology-is-a-view-over-what-documents-say.md@@ -1,6 +1,6 @@# 0044 · The ontology is a view over what documents say-- **Status**: In progress · accepted 2026-09-17 · cut 1 built (#731), cut 2 mostly built (#751, #876, #878, #882), cut 5 is 0061, cut 6 built (#885) · cut 2 and cut 6 measured twice on 100 Re-DocRED documents, two groups each (bench README, the fourth run on gemini-3.5-flash 2026-09-25 and the ninth on deepseek-flash 2026-09-30): judged precision passes on both (80–89%), same-sentence recall passes on gemini (17.8% / 17.1%) and fails on deepseek-flash (12.3% / 13.2%, the extractor finds a third fewer entity pairs), tokens per document fail on both (31k–48k against the 6k threshold on a fresh base, 25k and 42k on a warm one: a second 100 documents bring as many new signatures as the first, and extraction with time interpretation alone is at the threshold); the errata agent adds without retracting (0–2 retractions, none wrong) · open: the tokens-per-document threshold (accept the miss, or cut alignment's cost; restating it per signature does not change the reading), cut 4+- **Status**: In progress · accepted 2026-09-17 · cut 1 built (#731), cut 2 mostly built (#751, #876, #878, #882), cut 5 is 0061, cut 6 built (#885) · cut 2 and cut 6 measured twice on 100 Re-DocRED documents, two groups each (bench README, the fourth run on gemini-3.5-flash 2026-09-25 and the ninth on deepseek-flash 2026-09-30): judged precision passes on both (80–89%), same-sentence recall passes on gemini (17.8% / 17.1%) and fails on deepseek-flash (12.3% / 13.2%, the extractor finds a third fewer entity pairs), tokens per document fail on both (31k–48k against the 6k threshold on a fresh base, 25k and 42k on a warm one: a second 100 documents bring as many new signatures as the first, and extraction with time interpretation alone is at the threshold; 19k–22k with thinking off in every call, #1066); the errata agent adds without retracting (0–2 retractions, none wrong) · open: the tokens-per-document threshold (about three times over with thinking off; prompting a general-purpose model does not close it, and a model trained for these steps is planned), cut 4- **Written**: 2026-09-16 (conventions in the [README](README.md))- **Related**: [0022](0022-an-unknown-date-is-not-an-open-one.md) put a document's date in `attested_at` beside the world and record axes; [0025](0025-governance-reads-the-ledger-before-it-decides.md) and [0027](0027-an-automatic-merge-is-gated-by-what-it-can-undo.md) put agent decisions through a gate that weighs what they can undo; [0041](0041-a-name-is-a-claim-about-an-entity.md) made names facts and identity a matter of evidence; [0043](0043-every-review-queue-is-governed.md) sent every review queue through the governor; #714 found upload time used as the document date in extraction.@@ -122,6 +122,8 @@ Every cut reports on at least three domains, twice per configuration, with the jThresholds to pass before a cut lands: the open graph at or under 2% not-stated with entity-pair recall no lower than today's; the typed graph at or above the full prototype on the same Re-DocRED documents in judged precision (75.3% on the 100-document sample before errata) and in gold recall of facts whose ends share a sentence, each reported over two runs, at under a fifth of its tokens per document. Recall of facts that need more than one sentence is reported and waits for derivation rules before it becomes a threshold.+> **Where the token threshold stands (2026-10-03).** It is not met. With thinking off in every call (#1066) a fresh base spends 19k–22k tokens per document on deepseek-flash (20 Re-DocRED documents, two groups), about three times the 6k threshold; with alignment thinking it was 31k–48k (100 documents, gemini-3.5-flash and deepseek-flash). What is left is not thinking. Extraction and time interpretation alone come to the threshold, and the rest is prompts that restate the contract, the properties and the candidates on every call, paid per new phrase signature; signatures grow with documents, so a warm base saves only 13–18% and restating the threshold per signature does not change the reading. Each cut so far (#906, #1000, #1004, #1066) took tens of percent, and prompting a general-purpose model differently does not close a gap of three times. The planned route is a model trained for these steps, which does not need the contract and the candidates restated in every prompt; it is not built yet and nothing about it is measured. Until it is, the threshold stays as written and is recorded as not met. Numbers: bench README, the ninth run, the warm base on deepseek-flash, and "对齐不再另外想".+## Cuts1. The open graph in the ledger: statements, time mentions and names with provenance on both clocks; the compact extraction contract behind a flag.