Skip to content

Knowledge Base & Résumé ​

Two things live here: how material becomes retrievable, question-worthy knowledge, and how the résumé participates in follow-ups and fact-checking.

From files to topics ​

Everything imported walks the same pipeline, and every step is observable:

Figure 1 · Import → chunks → two indexes → topics

Knowledge base

Figure 2 · Knowledge base: documents, collections, retrieval entry

Why split by heading, not by length ​

Cutting at a fixed length splits a section mid-sentence, so a hit hands you half a thought. Splitting by heading level means:

  • the heading path is the chunk's address (retro › root cause › cache stampede);
  • the heading column is BM25-weighted 10x, so "find the section titled X" is exactly satisfiable;
  • chunk ids are monotonic and never reused — deleting the newest chunk cannot hand its id to the next import, which would silently re-point an old report's citation.

Retrieval: two legs with distinct jobs ​

SituationLegReason
Query tokens largely present in the best hit (coverage ≥ 0.7)lexical onlylexical is already confident; vectors add noise
Coverage < 0.7 (natural-language question)lexical + vector rescuevectors recover what word matching misses
Embedder is the hashed fallbacklexical onlyhashed "vectors" cluster on spelling

This split comes from measurements: co-equal fusion dropped heading-query recall@5 from 81% to 32%; gating keeps headings at 81%+ and lifts paraphrase queries from 11% to 22% (33% once pooling was fixed). Methods and numbers: Decisions & Benchmarks.

Topics: extract, merge, layer ​

  • Extract topic names from headings and text; each is technical (drillable) or project (your own story).
  • Merge synonyms (MVCC / multi-version concurrency control); absorbed topics are hidden, not deleted, and merges are undoable.
  • Layer into domain → subject group → topic. Clustering is deterministic; the model only names the groups, receiving topic names and never chunk text. Nothing is applied before you accept the proposal.

The résumé ​

The résumé is its own layer, not mixed into the knowledge base:

Figure 3 · Résumé: parsed into structure, versioned, linked per session

How it participates ​

  1. Generation: project questions follow the projects and responsibilities on your résumé.
  2. Consistency: answers that contradict the résumé are called out, and the report records the difference.
  3. Comparison: two résumé versions can be diffed (/resumes/compare) after a rewrite or a role change.

Limits ​

  • Parsing is structured extraction; a field that cannot be extracted keeps the source text rather than being invented.
  • PDFs use the text layer; scans need OCR (which sends the image to a cloud model — an egress action).
  • Version comparison is a text diff, not semantic equivalence.

Memory and review ​

After a session, memory-curator distils three kinds of memory:

KindContentUsed by
Factsyour projects, stack, decisionslater question generation
Reflectionsweak spots exposedcoaching, targeted suggestions
Masteryhit / partial / miss per topicheatmap, wrong-answer book, review queue

The review queue schedules spaced repetition; heatmap points open the heading path they cite, not a raw chunk id.

Next ​

Local-first · inference egresses on demand · fully traceable