Engineering notes.

Write ups from real builds, including the systems on this site. What the architecture was, what broke, and what we would do again. Each note is written by the engineers who did the work.

Entries
16
Latest
Written by
Baraqix Engineering
Feed
RSS

Notes · every note is in the field
One constellation per note, placed by the model
Hover a row to light its passages

  1. NOTE/16

    AI agents found a MONAI Label zero day. Read your upload paths

    Amazon says autonomous agents found a path traversal flaw in an open source medical imaging application, MONAI Label, and turned it into a root shell. The chain looks like a typical RAG stack, and the fixes are ordinary backend hygiene.

    security, agents, rag, backend5 min read

    Points of light joined by thin lines on a dark field, a path of nodes stepping out of a bounded cluster to a single bright point outside it
  2. NOTE/15

    AutoRAGBench says agents build RAG well. The scorer did the work

    A 19 November 2026 arXiv benchmark reports that the best agent built RAG systems averaged 56.1 against 44.4 for a composite human baseline. Every task came with the evaluation harness most teams still have to write.

    rag, agents, evaluation, retrieval5 min read

    Points of light climbing a jagged path toward a bright fixed marker on a dark field, with a flat faint line running beneath them as a baseline
  3. NOTE/13

    PostgreSQL fixed 52 flaws. Your NL2SQL role is the attack surface

    The 12 November PostgreSQL update fixes 52 vulnerabilities, many reachable by a low privilege role, plus GIN and pg_trgm GiST index corruption that could make queries miss rows. Here is what that means for NL2SQL, agents and RAG on Postgres.

    postgresql, security, nl2sql, rag5 min read

    Abstract diagram of a stream of light points flowing from a cluster into a single narrow gate, with a few points slipping through a gap beside it, on a dark field
  4. NOTE/06

    How do you test retrieval quality before building a RAG application?

    How we test retrieval before any model writes an answer: a labelled question set from real questions, hit rate at k, chunking and threshold tuning, and off topic controls. Grounded in the 187 question audit of the search on this site.

    rag, search9 min read

    Architecture diagram of a RAG pipeline. Offline, documents are parsed with tables kept, chunked, embedded and written to a vector store. Online, a question is embedded with the same model, the top k chunks are retrieved and reranked, and a language model answers with citations behind a cite or abstain check. An evaluation harness reads the answer traces and loops back to tune k and chunking.
  5. NOTE/02

    How the search on this site works

    The search console on the home page is the retrieval layer of a RAG system with no external API behind it. This is what runs when you press enter, why it is retrieval only, and why a few hundred dot products beat a vector database at this size.

    rag, search, build notes7 min read

    Architecture diagram of the site search: a query is embedded by a self hosted MiniLM model, scored by cosine similarity against an in memory index of site chunks, and the top passages are returned with their source.

New notes also go out by RSS, the moment they are published, and into the search index the moment they are published too.

Book a free call