7/12 to 12/12, and I never touched the model
"Harness engineering" is all over my timeline this week. Most of the posts are quote-tweets with a big claim and a screenshot. The one worth reading in full is @0xTrackmind's X Article, "Harness Engineering: How to Fix Your Agent Without Changing the Model" (Nov 21).
His test for finding your harness is the best one-liner in the piece. Imagine you switch models tomorrow, and everything that stays is your harness: the tools, the files, the tests, the permissions, the logs. He says that's the part you actually own.
I have a small result from last month that fits it.
Same model, two runs
On Oct 30 I tested LFM3 1.7B (the Q4_0 GGUF, in llama.cpp) on my M1 Max as a tiny local agent. Its "hands" are a run_python tool I wrote. Every call starts a fresh Python process in a sandbox with the network off and a 10 second timeout.
One part of the test was 12 questions about three made-up spreadsheets: totals, averages, percent change, which line went over budget. The model either opened the file with Python or read a screenshot through an OCR model first.
The first version of the harness got 7 of 12 from the file and 8 of 12 from the screenshot. Then I read the logs.
Four of the five file misses had the same cause. The model had the right number in a Python result, then wrote the next call as if its variables were still there. Each call is a new process, so it got a NameError, kept re-checking until it hit the 6-call cap, and never wrote an answer. The fifth miss was a real arithmetic slip: 1140 where it should have been 1440.
Version 2 changed two things. The system prompt now says each run_python call is a new process and that it should stop calling tools and write ANSWER: <value> when it's done. And if a reply comes back with no ANSWER line, the harness sends one nudge asking for exactly that line. The model, the settings and the questions all stayed the same.
Version 2 got 12 of 12 from the file and 11 of 12 from the screenshot.
Which half did the work
He separates a prompt, which is a request the model can forget, from a harness rule, which is a fact it can't. My v2 has one of each.
Without the nudge, v2 scored 9 of 12 on the file. So the sentence in the prompt was worth 2 questions, and the mechanical check after the reply was worth 3 more. The nudge is what got the last three file questions right, and one of them was the question with the 1140 slip.
He also says every part of a harness should be paid for by a failure you actually had. Both of my changes came from reading v1's failures, and I wrote that in the test notes at the time, because changing the harness after seeing the misses is exactly the kind of thing that can flatter a result. Both runs are in the results file.
What it doesn't show
This is 12 synthetic questions, not a benchmark. One screenshot question still failed in v2: the model thought for 16,483 tokens and returned an empty reply. No nudge fixed that one.
For speed, LFM3 1.7B generates at a median of 153 tok/s on that Mac in a plain generation bench, and about 114 tok/s end to end across 81 Python tool tasks once tool time is counted.
His article's last checklist item is the one I'd copy: did the last failure change a contract, a tool, a check or a permission? Mine changed a prompt and a check. The cleaner fix would probably live in the tool itself, so a fresh process can't surprise the model at all.
Credit: the switch-models test, prompt-vs-harness split and the "paid for by a failure" rule are from @0xTrackmind's Harness Engineering article (Nov 21, 2026). The spreadsheet numbers are from my own Oct 30 test on an M1 Max.
Project: LFM3 · Tags: Agents Local inference Tool use macOS