docs: contradiction taxonomy for the KG; INTAKE component

KNOWLEDGE.md/DESIGN.md: new data contradicting or refining old data is normal operation, classified deterministically - temporal change (qualifiers, both coexist), supersession (subsumption test, supersedes link), real contradiction (conflict row, surfaced, never auto-resolved), retraction (TMS flag). Untyped qualifiers default to exposed conflict. Schema gains ref_date/supersedes/preferred/retraction_reason. ARCHITECTURE.md/ALGORITHM.md: INTAKE - the boundary before the loop; floop may accept 1M-token inputs over a 64k-window model: original stored whole on disk, deterministic format detection, structural splitting for known formats, staged LLM compression for unknown, goal separated from material early. Reception typing now operates on clean typed state.
This commit is contained in:
2026-10-14 18:20:11 +02:00
parent 67f466bd84
commit 36a74770e6
4 changed files with 111 additions and 24 deletions
+13 -4
View File
@@ -58,7 +58,11 @@ documents(id, url, source, fetched_at, sha256, trusted, text_path)
chunks(id, doc_id, section_path, position, char_start, char_end, sha256)
quotes(id, doc_id, chunk_id, verbatim, url, access_date) -- canonical text
nodes(id, norm_name, sort, mentions++ ) -- entity index
edges(src_node, rel, dst_value, dst_node?, quote_id, subject?, extraction_confidence, retracted)
edges(src_node, rel, dst_value, dst_node?, quote_id, subject?, extraction_confidence,
ref_date?, -- temporal qualifier: the value's reference time
supersedes?, -- edge id this refines (subsumption, case 3)
preferred, -- default: the supersedes target is preferred
retracted, retraction_reason?) -- TMS flag (case 4), never a delete
conflicts(nodeA, rel, valueA, valueB, nodeA_quote, nodeB_quote) -- surfaced, never resolved silently
```
@@ -69,9 +73,14 @@ conflicts(nodeA, rel, valueA, valueB, nodeA_quote, nodeB_quote) -- surfaced, ne
This is the bridge to `analytic`/`numeric`: knowledge extracts typed
quantities; those experts compute on them. Neuro-symbolic payoff, by design.
- Duplicate edge from two sources = **corroboration count** on the edge. Same
subject+relation with two different literal values = never merged — a
`conflicts` row is created and surfaced, exactly the "never silently pick a
side" law the machine already uses for user rows.
subject+relation with two different literal values = never merged — the
store **classifies** (KNOWLEDGE.md §2 "the four cases"): temporal change by
qualifiers (both coexist, each with its period), supersession by subsumption
test (supersedes link, preferred flag), and real contradiction → a
`conflicts` row, surfaced, never silently resolved — the same "never silently
pick a side" law the machine uses for user rows. Untyped qualifiers default
to the contradiction case: a visible conflict is preferred to a guessed
temporality.
- Entity node identity, draft: `(normalized_name, sort)` with normalization =
casefold + punctuation strip. Entity resolution is hard; the draft merges
ONLY on normalized-name equality within the same sort. Everything else stays