27,075 prompts scanned / 1.12% had something in them / read the scan27,075 prompts scanned / 1.12% had something in them / read the scan27,075 prompts scanned / 1.12% had something in them / read the scan27,075 prompts scanned / 1.12% had something in them / read the scan27,075 prompts scanned / 1.12% had something in them / read the scan27,075 prompts scanned / 1.12% had something in them / read the scan

What a manager sees in HeimWall

How we architected HeimWall so the manager sees signal, not content, and why that choice is structural, not cosmetic.

The HeimWall team · · 6 min read

Every AI coding governance product has to answer the same question on its first slide: what exactly does the manager get to see? The honest answers cluster into three buckets, and the bucket you choose determines everything about the product that comes after.

The first bucket is full content, full retention. Every prompt and every response gets captured and stored. The manager can browse them. This is what classical SIEM vendors sell, with "AI coding" retrofitted. It is also what engineers immediately route around. If your team believes every keystroke is archived and searchable, two things happen: they stop using the tool for anything interesting, or they use it on a personal machine.

The second bucket is no content, no capture. The agent is a metrics emitter. You get counts, timestamps, latencies. This is what some privacy-first tools ship, and it has the opposite problem. When a real incident happens (an API key goes out, customer data leaks), you cannot investigate, because you captured nothing to investigate. You are compliant and blind.

The third bucket is what we chose: signal, not content, by default, with a gated break-glass for incidents. It is the harder architecture. It is also the only one that lets engineers keep trusting the tool and lets managers keep owning the outcome. Here's how the three pillars of that architecture actually work.

Pillar 1: Detection at the source

HeimWall checks what it captures on the engineer's own machine. The HeimWall agent is a small native Rust + Tauri app. The shipping macOS build is about 4 megabytes. It sits locally next to Cursor, Claude Desktop, Copilot, and Windsurf. When the agent captures a prompt, it runs a deterministic rule engine: dozens of hand-written, individually tested rules with regex + context heuristics for things like AWS keys, database connection strings, and JWT tokens. The architecture also includes a second, feature-gated semantic tier (a small ONNX-quantized classifier for fuzzier categories like proprietary business logic), which is on the roadmap; the deterministic tier is what ships today.

The whole pipeline is engineered against a hard latency budget on Apple Silicon. We obsess over it because speed is what engineer trust rests on. When engineers feel the lag, the tool becomes something to work around. Inside the budget, they stop noticing.

What the agent produces is a classification record: category (Secret / PII / ProprietaryCode / CustomerData / Other), severity (Info → Low → Medium → High → Critical), the IDs of the rules that matched, the originating tool, and a preview with every matched value masked. The prompt itself goes where the user sent it (to Cursor's cloud, to Anthropic, to GitHub), exactly as it would without HeimWall installed. The agent is an observer, not a proxy.

Pillar 2: Masking on the Mac

HeimWall masks every matched value in its own record on the engineer's Mac, before that record is written down or sent. The free app keeps its record on the Mac and uploads no events. On a team, the record travels to our cloud over TLS. When a team's agent sends a preview, the preview carries the masked text and can be sealed to the organization's own key, which we cannot open.

We made this choice because "trust us" does not work on a paying security buyer. "Here is the record, field by field, masked on the Mac before it is written" does.

Pillar 3: Investigation Mode, audit-logged

Sometimes a real incident happens. A customer calls and says an engineer accidentally pasted the source for their crown-jewel algorithm into an unverified AI tool. You need to know what kind of data leaked, and in which event. That's what Investigation Mode exists for, and that's the only thing it exists for. It opens a masked preview of the event, with the matched values removed.

Triggering Investigation Mode on a specific engineer requires four things simultaneously. First, a second-factor step-up from the requesting admin. Second, a written justification of at least 50 characters. "Investigating potential IP leak per ticket INC-4412" is fine; "looking around" is not. Third, an email to the affected engineer, sent as the investigation opens. HeimWall opens one only when it has a mail service set up and an address for that engineer. Fourth, a 24-hour time-box, at the end of which access expires and has to be renewed with a new request.

Every single action is audit-logged and exportable. The audit log is append-only and hash-chained, on a table that rejects updates and deletes. If a customer's legal team needs to show that a specific investigation was conducted with cause, the log holds the written reason. If a customer's engineers ask who opened which preview, and when, the log answers that too.

The non-dismissible banner

One more choice deserves a paragraph.

The manager dashboard we are building carries a yellow banner at the top of every page that reads: "Safety scores and flag history are not to be used in performance reviews, promotion decisions, or compensation decisions. This is a contractual term." The banner is not dismissible. It is not a toast that disappears. It is rendered server-side into every route, and there is no admin setting to turn it off.

We are doing this for two reasons. One, it keeps the sales conversation honest. Every VP Eng who demos HeimWall will see that banner in the first three seconds, and they can ask the question on the spot: "Is this in the contract?" The answer is yes. Two, it keeps the product honest. We cannot wake up in six months and decide surveillance features would 3x our ARR. The banner is a promise to our customers' engineers, rendered in the same pixels as the data those customers pay to see. Removing it would be a product regression we'd have to explain.

Signal, not content

The word "observability" is borrowed from distributed systems. The deal there is: you don't read every log line, you watch metrics and traces, and you drill into the individual record only when a metric spikes. Stable systems are summarized; anomalies are inspected.

We think the same deal works for AI coding. You don't need to read every prompt your team sends to Cursor this week. You need to know that secret-category flags are trending up in the data-platform squad, that the on-call rotation has been pasting customer records into Claude Code twice a day since Monday, and that one specific engineer had a single Critical-severity event yesterday worth a coaching conversation.

That's signal. That's what HeimWall shows you. Everything else we architected away, on purpose.