logoalt Hacker News

Learn Harness Engineering

130 pointsby redbellyesterday at 12:17 PM14 commentsview on HN

Comments

vibe42yesterday at 4:31 PM

Something I've had good progress with using local models and simple open-source harnesses is to repeat, in a new context, simple verification prompts.

I'd run the following 5-10 times with one model, then again with a 2nd model.

"Verify the correctness and completeness of all security configs/rules in SETUP.md. Consider if anything is missing, and if anything is not needed. Do not modify any files; only write potential findings to report.txt"

"Verify all findings and claims in report.txt."

Replace "SETUP.md" with whatever you're working on.

It's both terrifying and incredible watching what the models get correct and what they get completely wrong.

However, after enough runs they tend to settle on a state they claim does not need any more edits. And that result is generally useful with much fewer errors/hallucinations compared to a single run.

show 2 replies
zaepyesterday at 8:55 PM

Working in satellite simulation, where we end up with complex harnesses (cabling) and where I don't really know the nitty-gritty of how the sausage is made by the engineers creating them, I was really curious for a moment; but alas, it's an AI thing.

FWIW, my quick impression is that takes reasonable concepts and tries to formalize them into a framework; I can see potential benefits, I've certainly asked in a claude code session for it to have a look at pipeline so and so and figure out the issue, but I'm not really convinced by this at first glance either. Both setup-cost and token cost seem like downsides.

kestinytoday at 12:57 AM

A good harness should not only make agents more capable at completing tasks, but also make their outputs much easier to review. For example:

A good harness constrains the action surface, context, and task boundaries. An agent’s failure isn’t always due to “writing incorrect code” — it can also result from “doing things it wasn’t supposed to do.” Tests and lints can verify part of the correctness, but they often fail to validate task scope. A well-designed harness should shift the review process from “reading the entire diff” to “verifying whether the changes stay within the defined task boundaries.”

mustaphahyesterday at 6:05 PM

Couldn't tolerate the content; it's too structured; I'm open to something more chaotic.

show 1 reply
mindwokyesterday at 9:08 PM

This is AI slop written primarily with the intent to promote the authors, not to actually educate. So sick of this kind of content.

show 1 reply
myself248yesterday at 7:02 PM

I would love a resource to get more into the details of bend radius and vibrational modes in harnesses, specifically as they're used on different types of vehicles. Marine wiring endures very different motion than road-vehicle wiring, for instance.

show 1 reply
anonymousiamyesterday at 7:20 PM

My first impression, based upon the title was that this was about Wire Harness Engineering, which is a thing. Apparently it's not about that at all, and is (surprise!) AI related.

AIorNotyesterday at 8:04 PM

ai generated by this guy: https://www.aispacewalk.cn/about

Why not just look through the actual Claude code codebase and use your own AI to deconstruct it

https://github.com/codeaashu/claude-code

relativeadvyesterday at 7:42 PM

slop

darrenchiuyesterday at 6:01 PM

[dead]

getoffsideyesterday at 6:25 PM

[flagged]

huflungdungyesterday at 10:12 PM

[dead]

argeeyesterday at 9:29 PM

AI slop aside, looks like this website is built with Vitpress [0] which looks interesting.

[0] https://vitepress.dev/