docs: language boundary — English working language, any language outside
ARCHITECTURE.md §3: new subsection. Inbound: input artifact never translated; goal statement English-ized after typing, source_language flagged. Inside: everything English — subquestions, routing, KG, quotes (containment would break if translated). Outbound: English response composed first, then one render pass into source_language. ALGORITHM.md: §1 boundary task wired to typing pass; §8 render step; §9 who-does-what updated. README doc map updated.
This commit is contained in:
@@ -124,6 +124,45 @@ stored original — and from there per-call context composition (above) governs
|
||||
Intake is logged like everything else, and it is the same law at the boundary as inside:
|
||||
the LLM sees a purpose-built context; the machine holds the whole.
|
||||
|
||||
### Language at the boundary — English inside, any language outside
|
||||
|
||||
floop accepts any language in, and must answer in the caller's language — but
|
||||
inside, the machine works in **one working language: English**. One loop, one
|
||||
vocabulary for reasoning: decomposition, routing, extraction, proofs, traces,
|
||||
and the knowledge graph all live in English; the fractal stays uniform instead of
|
||||
forking per language.
|
||||
|
||||
- **Inbound (right after intake).** The stored original stays verbatim, in its
|
||||
own language — the input artifact is never translated. The typing call already
|
||||
detects the input language; a bounded LLM task translates the **goal statement**
|
||||
(and, in the draft, any material the loop will actually read) into English,
|
||||
flagged with `source_language` on the run. English text passes through
|
||||
unchanged. If the goal's translation is ambiguous or partial, the original is
|
||||
kept alongside and the loop works bilingually on that segment — honesty first,
|
||||
never a silent guess.
|
||||
|
||||
- **Inside: English everywhere.** Every internal representation is English:
|
||||
subquestions, routing judgements, formalizations, evidence-row summaries, the
|
||||
knowledge graph itself (nodes, edges, quotes come from English sources), the
|
||||
run log, and the final synthesized English response. The knowledge vertical's
|
||||
sources are English (Wikipedia `en`); quotes are verbatim English — they are
|
||||
never translated, because translation would break the containment check and
|
||||
provenance.
|
||||
|
||||
- **Outbound (last step, before emission).** The machine's English response is
|
||||
composed first, from evidence and traces (ALGORITHM.md §8); **then** one LLM
|
||||
task renders it into `source_language` if it is not English. Evidence is
|
||||
carried across: every fact and number in the translation is traceable to the
|
||||
English rows; the translated quotes stay in English (or are re-gathered from
|
||||
the source language's Wikipedia if a same-language quote is available — a
|
||||
per-source option, default off). Tool calls and schemas are emitted in the
|
||||
harness's language-neutral form (JSON) — nothing to translate there.
|
||||
|
||||
- **What is gained.** Reasoning quality in one language only; the meta-level
|
||||
analysis and prompt optimization (META.md) compare runs that reasoned in the
|
||||
same vocabulary; the KG stays one graph (no per-language forks), and every
|
||||
translation is a logged, auditable boundary event with its own provenance.
|
||||
|
||||
## 4. The evidence table — the machine's working memory
|
||||
|
||||
One table per run, append-only, visible to every component. Each row: an id, a type, a
|
||||
|
||||
Reference in New Issue
Block a user