Skip to main content
Build Blog

Build log: the gates page, seven Dispatch releases, and a copy before every migration

securitylocal-aiagents

This week the site got a page that shows a buyer how my work is guarded, Dispatch went from 0.50.0 to 0.53.2, TestProof learned to copy its database before it migrates, and a guest login for the Spark went into review.

1. The gates around the work

The page is /approach/security. It answers what a buyer of a code review wants to know about their own code and data, which is what stands between the work and the outside world.

Two short videos carry it, and every word in them is written out as text, so the page works without JavaScript. "Every way in" shows the gates in front of my local models: "A request that fails one stops there." "Inside a session" shows the checks at each step, from a scan of what is about to be read to a filter on what may leave the machine.

I asked for it on November 15 and wanted it done "without giving away my actual networking schema or risking my security". I chose to name the tools. In my words: "By publishing the flow and naming the tools, I accepted giving attackers useful information about the products I use and how the controls fit together." And what stays out: "It does not include permission to publish versions, addresses, ports, paths, account names or weaknesses."

A check in lint fails on anything shaped like an address, a port or a path. It has limits, and I said so: "The automated checks catch recognisable text. They cannot decide whether an otherwise ordinary sentence tells an attacker too much." So I approved the wording first, then the stills, then the videos.

What was corrected:

  • The review, in a separate session, found 5 claims that went further than the setup enforces. I picked narrower wording for each on November 18. One instruction of mine was "don't make a statement that they are isolated from the local models".
  • The first captions said "Six gates in 23 seconds". I answered "remove the six and 23 seconds, keep the two doors".
  • The first end-to-end run on the preview came back 52 of 53, because llms.txt lacked the new lead sentence. The second passed all 53. I merged on November 20.

The same day I said the page "needs a hero image and added to the Insights or approach." It got both on November 21: a card on the Approach hub, and a hero made from the approved "Every way in" still with its title band erased. My reason: "I erased the title and subtitle because the subtitle still said "Six gates", wording I had already removed from the page."

Still open: no test checks the machines. The tests check the words, and the rule at the top of the data file does the rest: "Change a claim only when the real setup changes, and re-render the videos with it." A re-render also does not remake the hero. As I put it: "Re-rendering the video does not regenerate either image." A person has to look.

2. Dispatch, 0.50.0 to 0.53.2

Seven releases, one pull request each. They cover item types, automation rules, a document library, a move to SQL Server 2025, ingestion and search, redaction of what an AI session reads, and a fix to that redaction.

Item types and rules came from one answer: "1 & 2, the item types and the actions a rule can take". Ingestion reads PDF, Office, text and HTML files, removes secrets and card numbers before anything is stored, and searches by meaning on this PC. On images I said "If we can add images, add them unless you have a reason not to." The reason turned up in the test. Windows OCR scored a mean of 0.9045 against my bar of 0.95, so images are stored but not indexed yet.

The redaction came from this: "our pulls for reads should be through a PTC in most cases and run through the PII check, the CopernicIQ when applicable and remove secrets and keys and pw and so on." On limits: "fine with unlimited sizes for now until it becomes a problem. Make it a setting though."

This app runs without my usual merge gate, on purpose: "You can merge and deploy when green until we get to a hosted solution." That cost me this week.

What broke:

  • Several reviews found a Medium the build had missed. A rename could quietly stop sharing a document in two cases. A rule meant for every space could act on a task that lived only in a member's personal space.
  • On 0.53.1 I said "merge and deploy" while the review was still queued. The review came back after the merge and found a High in the step that puts hidden text back. It was live for about two days until 0.53.2 closed it. That fix got CHANGES REQUESTED once itself. The merge now waits for an approval that names the commit.

Still open: image indexing, and the follow-ups ticketed from each review.

3. TestProof copies itself before it migrates

TestProof now takes a copy of its database before a pending migration and refuses to start if the copy fails. Why, in my words: "It replaces 'remember to back it up' with a startup check that refuses to migrate if the copy fails." The nightly backup cannot do the job, because it runs after migrations and its next copy already has the new schema.

I accepted the trade. On a night when the disk is full, a start with a pending migration stops until space is freed. A start with nothing pending is untouched.

One check stayed red. Ten tests read recordings that a cleanup had deleted. I said "yes merge and then lets get the tests fixed by getting the results back if we can or recreating them." It merged November 18.

Still open: those ten tests need fixtures the repository owns.

4. A guest login for the Spark

A guest's chat on the Spark failed, because the memory guard refused to load the Ollama copy of a model that vLLM already had up. I asked: "can we give him access to the vLLM version of the same model if it is loaded?"

The plan puts a login in front of vLLM. A guest key can chat and list models and nothing else, and my own keys get the whole API. The review found two Mediums in what a guest's request could make the server do. I chose the container settings that close both, and "the decision to refuse deployment when the installer cannot verify them." My ownership check ran again, because the fix changed what I had been drilled on.

Still open: the real run against the live server with a guest key, one request at a time so the open-request limit does not hide the result.

5. The memory guard said more than it knew

After the guard shipped, the live page showed 22 refusals on November 15 that said "Loaded then: nothing else". vLLM held the memory. The guard only reports other Ollama models, so "nothing" was wrong.

My answer at the gate: "It claims more than the guard knows". The fix is wording only. The label now reads "Other Ollama models loaded then: none", with a line under it saying the guard names only Ollama's models. I did not make the page blame vLLM, because "vLLM up proves it ran, not that it held the memory behind the refusal."

Still open: nothing in the panel notices if the Spark starts reporting more than it does today.

6. Two small rules

Scratch files. I wrote: "I have had to state this in most every session I have had but this needs to be a global rule, never use temp for scratchpad, always your vault folder so all documents servive and are referencable." It merged November 17, with one exception: anything that can hold a secret stays out. My reason: "Keeping files findable must not accidentally publish sensitive material." I had deferred my own check on it to the end of that day, and it went overdue. I took it on November 17.

The test extractor. TestProof wanted each test's preconditions on its case page, and I said "get it done right in the hub is that is where it should go." While moving the parser I found the old one turned a bare tag with no text into a blank item. The shared one skips it, and a test fails if that comes back.

The next step

The next step is hardening Dispatch for a pilot. My words: "Let's get it solid local". Then a few users reach it through a tunnel before anything moves to a hosted setup.

Built Something with AI?

I'll spend 30 minutes telling you what my production-readiness review would flag.