Portfolio / 06
Cognigraph
First project record · Earliest accessible development history; not a completion date.
Project Overview
I designed Cognigraph, also described as The Engineering Tool, as a retrieval-centred knowledge workspace. Connected cards, a spatial graph, and recall practice turn stored information into something a person can navigate, question, and develop over time. Generative assistance supports that process rather than replacing the knowledge base.
The Challenge
The challenge was avoiding an expensive, opaque model call for every question. Retrieval quality, answer grounding, privacy consent, and device capability are different concerns. Combining them inside one chat interaction makes it difficult to tell where an answer came from or when information leaves the device.
My Approach
I separated retrieval from answer generation and used an escalation policy: existing knowledge first, grounded examples next, on-device generation where appropriate, and explicitly consented hosted assistance after that. Each path returns a consistent answer structure with supporting references, so changing a model does not require rebuilding the reading experience.
Technical Execution
Hybrid retrieval combines semantic and lexical evidence before generation receives a bounded context. Citation checks remove references that do not belong to the retrieved material. Browser capability checks, cached model weights, and shared initialization reduce duplicate downloads. Third-party infrastructure may still receive a retrieval query, and hosted assistance processes content within a trusted service; local generation is not a promise that every operation stays on-device.
Design Thinking
I treated orientation and recovery as interface requirements. The graph has bounded motion and a simpler fallback view, while edits expose differences and provenance. Failed saves remain drafts and likely duplicates become reviewable proposals. The user can follow relationships without losing the ability to inspect, correct, or return to the underlying cards.
Impact & Results
The supplied verification snapshot reports 351 passing tests, alongside four failing authentication-provider tests; the full suite was not all-green. Retrieval and escalation tests passed in that snapshot. The strongest result is the replaceable control plane and grounded-answer contract, not an unsupported claim of universal model compatibility or flawless AI accuracy.

