frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Sentrux – AI keeps writing bad code. Built a feedback sensor that grades it live

https://github.com/sentrux/sentrux
1•davej32•2h ago

Comments

davej32•2h ago
Why I built this

I noticed my AI agent getting dumber the bigger my project got.

I started with Claude Code. First few days were magic. Then around week two — the agent started hallucinating functions that didn't exist. It got confused about what I was asking. More and more bugs. Every new feature harder than the last. I was spending more time fixing the agent's output than writing code myself.

I kept blaming the AI. But it wasn't the AI losing capability. It was my codebase losing structure.

Here's what was actually happening: same function names with different purposes scattered across files. Unrelated code dumped in the same folder. Dependencies tangling into spaghetti. When the agent searched my project, twenty conflicting results came back — and it picked the wrong one. Every session made the mess worse. Every mess made the next session harder. Eventually even the agent struggled to implement new features in its own codebase.

I looked at tools like Spec Kit — plan architecture first, then let AI implement. But that's not how I work. I prototype fast, chat with the agent, share ideas, follow inspiration. That creative flow is what makes AI agents powerful — and it's exactly what produces messy structure. AI agents can't focus on the big picture and small details at the same time.

What I built

A real-time feedback sensor. It watches the codebase — every file, every dependency — visualized as a live interactive treemap that updates as the agent writes code. 14 quality dimensions graded A through F.

For the demo I gave Claude Code 15 detailed step-by-step instructions to build a FastAPI API. Explicit module boundaries, explicit file separation. Five minutes later: Grade D. Cohesion F. 25% dead code. Even with careful instructions.

It also runs as an MCP server — the AI agent queries the grades mid-session, sees what degraded, and self-corrects. The feedback loop closes.

Pure Rust, single binary, 23 languages via tree-sitter, MIT licensed. Happy to answer any questions.

Show HN: BoltzPay – fetch() that pays for AI agents (x402 and L402)

https://github.com/leventilo/boltzpay
1•leventilo•1m ago•0 comments

Show HN: Stop AI Debugging with Print(). Use a Debugger

https://github.com/AlmogBaku/debug-skill
1•almogbaku•1m ago•0 comments

Show HN: Claude Status

https://github.com/gmr/claude-status
1•crad•2m ago•0 comments

AI isn't digital anymore. It's a 1-GW power problem

1•TheBottlenecker•2m ago•0 comments

Show HN: OpenTabs – Your AI calls Slack's internal API through the browser

https://github.com/opentabs-dev/opentabs
1•Jbced•3m ago•0 comments

I wrote Gitleaks, now I'm working on Betterleaks

https://github.com/betterleaks/betterleaks
1•zricethezav•3m ago•1 comments

What we learned building 100 API integrations with OpenCode

https://nango.dev/blog/learned-building-100-api-integrations-with-opencode
1•rguldener•5m ago•0 comments

Important Updates to GitHub Copilot for Students

https://github.com/orgs/community/discussions/189268
1•archb•5m ago•0 comments

We will come to regret our every use of AI

https://libresolutions.network/articles/ai-regret/
2•paulnpace•5m ago•0 comments

Show HN: Subagent-CLI – a CLI for managing multiple coding agents

1•otakumesi•6m ago•0 comments

What's My ΔE(OK) JND?

https://www.keithcirkel.co.uk/whats-my-jnd/
2•sebg•6m ago•0 comments

Cynium

https://cynium.com/
2•falibout•8m ago•0 comments

Claude can now build interactive charts and diagrams, directly in the chat

https://twitter.com/claudeai/status/2032124273587077133
2•tzury•9m ago•0 comments

I built a system that turns tax law from 100 regions into executable rules

https://www.getsphere.com/blog/building-tram
4•abowcut•10m ago•0 comments

Julian Shapiro: Landing Pages

https://www.julian.com/guide/startup/landing-pages
1•cat-whisperer•10m ago•0 comments

Show HN: GitClassic, a fast, lightweight GitHub front end (pages under 14KB)

https://gitclassic.com
1•heythisischris•12m ago•1 comments

Notes on AI Led Growth (ALG)

https://arnon.dk/notes-on-ai-led-growth-alg/
1•arnon•12m ago•0 comments

Empathia – open-source social network where empathy is the only score

https://empathia.world
2•DeAeternum•12m ago•1 comments

Learn about the ebbs and flows of citibikes in NYC

https://citibike.live
1•eltokh7•13m ago•0 comments

1 in 4 American Adults Have an "Intimate/Romantic" Relationship with AI

https://vantagepointdallascounseling.com/research/artificial-romance-a-study-of-ai-and-human-rela...
3•bananamogul•14m ago•1 comments

Tech backs Anthropic in its Pentagon fight

https://tapestry.news/tech/anthropic-pentagon/
3•sygonical•16m ago•0 comments

Alex Karp: "People are likely gonna have less good, and less interesting jobs"

https://newrepublic.com/post/207693/palantir-ceo-karp-disrupting-democratic-power
5•DGAP•16m ago•0 comments

B12 3.0 – A decade of helping customers build their home online

https://blog.marcua.net/2026/03/12/b12-30.html
1•sebg•17m ago•0 comments

Ask HN: When do you think "NO AI" will become a part of recruiting pitches?

1•asimpletune•17m ago•0 comments

Show HN: Autoschematic is a new infra-as-code tool built on reversible computing

https://github.com/autoschematic-sh/autoschematic
1•pfnsec•18m ago•0 comments

Altar of the Demo Gods

https://demogoats.com/
1•mmh0000•19m ago•0 comments

The Reason Windows Hate Is Exploding: Not Just the UI–It's the End of PC [video]

https://www.youtube.com/watch?v=e7a89ZYcTo8
2•tartoran•19m ago•1 comments

Reducing Europe's nuclear energy sector was 'strategic mistake', EU chief says

https://www.reuters.com/sustainability/boards-policy-regulation/reducing-nuclear-energy-strategic...
2•mirzap•19m ago•0 comments

The Emotional Hardship of Leaving Your Company

https://12gramsofcarbon.com/p/founders-guide-so-youre-leaving-your
1•theahura•21m ago•1 comments

Show HN: A2Apex – Test, certify, and discover trusted A2A agents

https://a2apex.io
2•Hauk307•21m ago•0 comments