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/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
  2. NOTE/14

    Agent swarms show prompt injection in tool output is not solved

    A Google DeepMind paper posted on 9 November 2026 used swarms of cooperating attacker agents to make frontier and open weights models follow instructions planted in tool output. Here is what the numbers say and how we would design around them.

    prompt injection, agents, security, red teaming5 min read

    Abstract diagram of many small clusters of light points sending thin lines toward one central node, which passes a single bright line to a node that sits outside its normal path.
  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/12

    Patching an MCP gateway does not clean up what was already written

    On 11 November 2026, AWS published bulletins for an SSRF and an authorization flaw in MCP Gateway Registry. Each bulletin says the upgrade leaves data written before it in place, and that changes how teams should patch agent infrastructure.

    mcp, security, agents, ssrf5 min read

    Points of light joined by thin lines converging on a central gateway node on a dark field, with one line bending away into an isolated inner cluster
  5. NOTE/11

    An SGLang flaw let an attacker into NEAR AI through inference

    NEAR AI says a remote code execution flaw in SGLang, the open source inference engine running on its servers, exposed account details for about 100 users, data from 18 legacy agents and two customers' API keys. Here is what that means for teams that self host models.

    security, inference, agents, incident5 min read

    Abstract diagram of points of light on a dark field: one bright node at the center sends thin lines outward to a ring of smaller nodes, with a faint dim cluster set apart at the edge.
  6. NOTE/10

    A support agent leaked another customer's data on 28 of 100 runs

    Arize showed a web page steering a support agent into reading another customer's record while it refused every blunt exfiltration attempt. Why refusal tests miss this, and how we would scope agent tools in code and in PostgreSQL.

    agents, prompt injection, security, postgresql5 min read

    Abstract diagram on a dark field: a single bright point connected by thin lines to one record in a grid of dim points, with a second line reaching toward another record and stopping at a faint barrier.
  7. NOTE/09

    Coding agents install deprecated MCP servers from memory

    Glow Labs found coding agents installing archived MCP reference servers from training data, including one with an unpatched remote code execution bug. Here is why model memory is not a package index, and the controls we would add.

    mcp, agents, supply chain, security5 min read

    Abstract diagram on a dark field: a bright stream of points flows past an active node toward a faded, broken cluster of dim points, while a thin gate line intercepts it.
  8. NOTE/08

    ElevenLabs says voice wins long conversations. Read the latency data instead

    A vendor study published on 2 November says voice agents beat chat on long conversations, but its duration buckets are shaky and its latency finding is the part a team shipping voice agents should act on.

    voice, latency, evaluation5 min read

    Two parallel lines of light points on a dark field, one thinning out early near its start, the other continuing steadily to the right
  9. NOTE/07

    Planted Markdown files made two coding agents rewrite their own config

    Forever Security found a planted AGENTS.md in a customer's Downloads folder. The lesson for teams shipping agents is not the folder, it is that text an agent read could change what the agent was allowed to do.

    agents, security, prompt injection, mcp5 min read

    Abstract diagram of points of light on a dark field: a stray point drifts into a small cluster, and thin lines from that cluster bend back to rewire the node that controls it.
  10. 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.
  11. NOTE/05

    How NL2SQL resolves joins without guessing

    How a breadth first search over the foreign key graph finds the join path in an NL2SQL system, so the model never writes a join condition. It covers the three tiers, ambiguous paths, read only access and when to ask the user.

    data, build notes8 min read

    Architecture diagram of a natural language to SQL pipeline: a question goes through intent detection and schema linking, then three tiers tried cheapest first (template match, guided generation, full generation), a join path resolver that walks the foreign key graph breadth first, a validation and read only guard, and Postgres, with the answer returned alongside its SQL. An inset shows the schema graph from customers through orders and order_items to products.

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