frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

I forced AI to reason like a senior engineer

3•infinri•2h ago
The problem isn't that AI hallucinates. It's that we give it no reason not to.

I've been building production Magento 2 systems for years. Every time I tried using AI for complex enterprise work, it confidently generated code that looked right but violated runtime semantics, ignored concurrency constraints, or assumed facts about the codebase it had no right to assume.

So I stopped trying to make AI smarter. I built a reasoning harness instead.

Here's what that means concretely: # ENF-GATE system — AI cannot proceed without satisfying: Phase A: Explicit architectural declaration Phase B: Test-first enforcement (skeletons approved before implementation) Phase C: Static analysis gates per file Phase D: Operational proof traces (retry, DLQ, throughput modeling) # Halt conditions HALT: Missing context → declare before proceeding HALT: Uncertainty detected → surface, don't hallucinate HALT: ENF rule violation → stop slice, await review

I also built a deterministic Magento context compiler — a structured digest of the real codebase that AI reads before generating anything. Service contracts, repository patterns, runtime config, execution paths. No assumptions. No hallucinations about what exists.

The result?

Yesterday I built Custom_PartialCaptureInventory — a production-grade module with MSI-aware inventory reconciliation, async queue processing, concurrency safety, idempotent retry handling, REST + GraphQL APIs.

35 files. 6 approved slices. Zero ENF rule violations.

The AI didn't replace the senior engineer. It ran inside a reasoning architecture the senior engineer designed.

That's the part nobody is talking about.

Engineers who understand architecture, constraints, and system dynamics will decide whether AI-generated code should exist. The methodology is transferable to any complex platform — Salesforce, SAP, Shopify Plus, Laravel enterprise.

GitHub + writeup incoming. Happy to answer questions about the enforcement framework design. #ShowHN #AI #SoftwareEngineering #Magento #EnterpriseAI

Anthropic and the Dow: Anthropic Responds

https://thezvi.substack.com/p/anthropic-and-the-dow-anthropic-responds
1•paulpauper•37s ago•0 comments

Show HN: PgQueuer – A PostgreSQL job queue that works without PostgreSQL

https://github.com/janbjorge/pgqueuer
1•jeeybee•1m ago•0 comments

Tools Say They Can Spot A.I. Fakes

https://www.nytimes.com/2026/02/25/technology/ai-detection-generated-photos-video.html
1•viewtransform•1m ago•1 comments

Are the Mysteries of Quantum Mechanics Beginning to Dissolve?

https://www.quantamagazine.org/are-the-mysteries-of-quantum-mechanics-beginning-to-dissolve-20260...
1•wjb3•6m ago•0 comments

Smart LED display lovers and enthusiasts

https://www.crowdsupply.com/meterbit-cybernetics/pixlpal
1•fustinus•6m ago•1 comments

The Colour of Production

https://lmika.org/2026/02/27/the-colour-of-production.html
1•captn3m0•6m ago•0 comments

Show HN: SwarmClaw – Orchestration dashboard for OpenClaw and AI agents

https://github.com/swarmclawai/swarmclaw
1•jamesweb•7m ago•0 comments

Securing Shell Execution Agents: From Validation to Custom DSLs

https://yortuc.com/posts/securing-shell-execution-agents/
1•xyortuc•8m ago•0 comments

Track your Claude Code ROI from the terminal

1•akshat2634•9m ago•0 comments

Kalshi voids some bets on Khamenei's ouster

https://www.theverge.com/tech/887210/kalshi-void-bets-khamenei-death
1•us321•9m ago•0 comments

Khamenei Trade

https://www.businessinsider.com/khamenei-prediction-markets-kalshi-polymarket-insider-trading-out...
1•us321•10m ago•0 comments

Brain, Think on Thyself

https://knowablemagazine.org/content/article/mind/2026/science-of-self-awareness-and-decision-making
3•wjb3•11m ago•0 comments

Ask HN: What's the best way to learn how Claude Code/codex works?

1•tabs_or_spaces•11m ago•0 comments

Scientists train human brain cells on a microchip to play Doom

https://www.dexerto.com/gaming/scientists-train-human-brain-cells-on-a-chip-to-play-doom-3326709/
2•Anon84•13m ago•0 comments

Show HN: A local AI news aggregator built with Vue 3, FastAPI, and Ollama

https://github.com/fanitarantsopoulou/ai-news-aggregator
2•ftarants•13m ago•1 comments

Show HN: Nopp – AI-generated interactive sales microwebsites

https://notpptx.com
2•rob-blaga•13m ago•0 comments

Show HN: Lightweight, S3-compatible object storage server with built-in web dash

https://github.com/eniz1806/VaultS3
2•open_source_new•13m ago•0 comments

Pentium 4 – 5GHz overclocked (2003) [video]

https://www.youtube.com/watch?v=z0jQZxH7NgM
1•st_goliath•14m ago•0 comments

MemVector: Local Vector API, Storage and Embedding Engine for PHP

https://github.com/memvector/ext-memvector
1•bruceduk•14m ago•0 comments

AI that makes life or death decisions should be interpretable

https://manidoraisamy.com/ai-interpretable.html
5•QueensGambit•16m ago•0 comments

Proposal: Built-in secret management for Claude Code

https://github.com/anthropics/claude-code/issues/29910
1•bicx•19m ago•1 comments

A girls' elementary school was hit in Iran

https://www.cnn.com/2026/03/01/world/video/osint-investigation-iran-minab-girls-school-iran-us-is...
6•simonebrunozzi•20m ago•1 comments

Ask HN: How to approach new people in 2026?

1•tavro•20m ago•0 comments

HN: JournalistDB – A searchable database of journalists and their contact info

https://journalistdb.com/
1•veritas9•22m ago•1 comments

An offline-first blog built on WASM, WebSockets, and SQLite

https://robida.net/entries/2026/01/28/having-fun-with-modern-web-apis
1•halicarnassus•22m ago•0 comments

I benchmarked 10 Claude.md profiles across 1,188 runs – empty won every time

https://techloom.it/blog/claudemd-benchmark-results.html
1•jchilcher•22m ago•0 comments

Why Are Chinese EVs So Cheap?

https://rhg.com/research/why-are-chinese-evs-so-cheap/
1•gmays•24m ago•0 comments

JWT Studio – Your local tokens, organized

https://github.com/MiguelRipoll23/jwt-studio
2•PhilDunphy23•24m ago•0 comments

Infinite Battery Cargo (Repairable Battery Pack)

https://infinite-battery.com/products/infinite-battery-cargo-48v
1•cuu508•25m ago•0 comments

'Horrifying': Hollywood blasts Trump's role in studio sale

https://www.politico.com/news/2026/02/27/horrifying-hollywood-blasts-trumps-role-in-studio-sale-0...
1•stopbulying•26m ago•0 comments