Retrieval respects the source ACL
Filtering after retrieval is a data leak with extra steps. Permissions are applied to candidates before they enter the model context.
AI + Infrastructure
A reference architecture for knowledge work behind the firewall.
Conceptual schematic / not a screenshot.
Local inference, access-aware retrieval, and an audit trail for organisations whose knowledge cannot leave the building.
This concept study asks what a knowledge assistant looks like when the data cannot be sent to a hosted model. It is not a product and there is no commercial deployment behind it. It is a way of testing whether the useful parts of a modern assistant survive the constraints.
The answer is mostly yes — but only if identity, retrieval, inference, and audit are designed together. A local model bolted onto a shared folder is not a private assistant. It is a search box with new risks.
The interesting part is rarely the happy path. These are the conditions that shaped the work.
The obvious constraint is inference location. The less obvious one is authorisation. A retrieval system must respect the same access boundaries as the source systems, at the granularity of the person asking, not the service account indexing the corpus.
The second challenge is audit. An answer that influences a decision may need to record the question, the sources, the model version, and the retrieval configuration. That record has to be useful without becoming a surveillance tool.
A constraint is only useful when it eliminates an option. These are the boundaries the project had to respect.
A component view. The diagram above is a conceptual schematic; this is the responsibility map behind it.
OIDC-backed sessions and per-user authorisation claims.
Request policy, rate limits, prompt assembly, and tool permissions.
Access-aware candidate selection over a local index.
Open-weight models served inside the network behind a common interface.
Trace records, retention policy, and operator controls.
Architecture is the set of decisions that are expensive to reverse. These are the ones that shaped the project.
Filtering after retrieval is a data leak with extra steps. Permissions are applied to candidates before they enter the model context.
The application is built against an inference interface, not a specific checkpoint. Operators can change models without changing the product logic.
Questions, permitted sources, model version, and evaluation metadata are stored under an explicit retention policy.
High-impact answers support escalation with the evidence attached, rather than pretending every response is advisory.
A short account of the work, including what changed direction.
The study produced a threat model, an interface map, and a set of failure scenarios before any code. That was the useful part. The architecture is deliberately conventional: identity, policy, retrieval, inference, audit. Novelty would add risk without adding trust.
What would turn this into an implementation? A concrete corpus, a real access model, a hardware budget, and an operator team. None of those exist as part of this study, and the project should not be presented as if they do.
Data-boundary, authorisation, prompt-injection, and audit risks with mitigations.
The contracts between identity, policy, retrieval, inference, and audit.
Documented cases where the assistant must refuse, escalate, or degrade safely.
Next / Project inquiry
RX / INQ
Tell us what you are building, what is getting in the way, and what good looks like. We will reply with a considered next step.