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
+30
View File
@@ -33,6 +33,36 @@ quantities carry values AND units (the bridge to analytic/numeric computation);
are surfaced to the user, never auto-resolved; entity identity merges only on
normalized-name equality within the same sort (conservative by design).
### Contradiction is expected operation — the four cases
New data contradicting or refining old data is normal, not an error. The store never
overwrites; it **classifies**, with deterministic tests (no LLM judgement):
1. **Real contradiction** — same subject+relation, same reference time, different values.
Detection is structural at merge time. A `conflict` row links both edges; both remain
queryable with their provenance, corroboration counts and dates. Nothing is
auto-resolved: the probe returns both, the synthesis reports the discrepancy honestly,
and the conflict becomes an offline lesson (a directed gather toward a more
authoritative source). The exit of a conflict is **more evidence**, never a silent pick.
2. **Temporal change** — the value changed because the world did: "population 47M" vs
"48M" is a time series, not a contradiction. Edges carry temporal qualifiers (the
value's reference date); both values coexist, each valid in its period. Queries return
the most recent by default — or the one valid at an asked-for time.
3. **Refinement (supersession)** — the new fact subsumes the old: "won the Nobel" →
"won the Nobel in 1921 for the photoelectric effect". The deterministic test: same
subject+relation, the new object is the old plus additional qualifiers. The store
links them with `supersedes`: the general edge stays (audit), the specific becomes
preferred; queries return the preferred by default, history stays consultable.
4. **Source retraction or retroactive check failure** — the claim itself is withdrawn:
the row gets a retraction flag with a reason (TMS, exactly as the evidence table
does). Retracted rows are skipped by default queries and remain visible to audit.
Conservative rule: when the qualifiers needed to classify a pair are missing or untyped
(a date that failed to parse as DATE), the pair is treated as case 1 — an exposed
conflict. A visible conflict is preferred over a guessed temporality. (Reference model:
Wikidata's statement ranks + qualifiers; we are stricter — no community, so floop never
resolves, it only classifies deterministically or exposes.)
## 3. How knowledge enters (the gather pipeline)
Extraction is the generic expert shape, run per document: