frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Yori – Isolating AI Logic into "Semantic Containers" (Docker for Code)

3•alonsovm•1h ago
Hi HN, I've been a developer for some time now, and like many of you, I've been frustrated by the "All-or-Nothing" problem with AI coding tools.

You ask an AI to fix a bug or implement a function, and it rewrites the whole file. It changes your imports, renames your variables, or deletes comments it deems unnecessary. It’s like giving a junior developer (like me) root access to your production server just to change a config file.

So, 29 days ago, I started building Yori to solve the trust problem.

The Concept: Semantic Containers Yori introduces a syntax that acts like a firewall for AI. You define a $${ ... }$$ block inside a text file.

Outside the block (The Host): Your manual code, architecture, and structure. The AI cannot touch this. Inside the block (The Container): You write natural language intent. The AI can only generate code here.

Example: myutils.md

```cpp EXPORT: "myfile.cpp"

// My manual architecture - AI cannot change this #include "utils.h"

void process_data() { // Container: The AI is sandboxed here, but inherits the rest of the file as context $${ Sort the incoming data vector using quicksort. Filter out negative numbers. Print the result. }$$ } EXPORT: END ``` How it works: Yori is a C++ wrapper that parses these files. Whatever is within the EXPORT block and outside the containers ($${ }$$) will be copied as it is. When you run `yori myutils.md -make -series`, it sends the prompts to a local (Ollama) or cloud LLM, generates the syntax, fills the blocks, and compiles the result using your native toolchain (GCC/Clang/Python).

If compilation fails, it feeds the error back to the LLM in a retry loop (self-healing).

Why I think this matters:

1. Safety: You stop giving AI "root access" to your files.

2. Intent as Source: The prompt stays in the file. If you want to port your logic from C++ to Rust, you keep the prompts and just change the compile target.

3. Incremental Builds (to be added soon): Named containers allow for caching. If the prompt hasn't changed, you don't pay for an API call.

It’s open source (MIT), C++17, and works locally.

I’d love feedback on the "Semantic Container" concept. Is this the abstraction layer we've been missing for AI coding? Let me hear your ideas. Also, if you can't run yori.exe tell what went wrong and we see how to fix it. I opened a github issue on this. I am also working in making documentation for the project (github wiki). So expect that soon.

GitHub: https://github.com/alonsovm44/yori

Thanks!

First Vibecoded AI Operating System

https://github.com/viralcode/vib-OS
1•amichail•3m ago•0 comments

You're Building Petri Nets. You're Just Building Them Badly

https://joshtuddenham.dev/blog/petri-nets/
1•joshuaisaact•9m ago•0 comments

A recursive and authoritative DNS resolver from scratch in Go

1•Jyotishmoy•13m ago•0 comments

Three Inverse Laws of AI and Robotics

https://susam.net/inverse-laws-of-robotics.html
2•susam•14m ago•0 comments

Quantum Phenomena in Biological Systems(2024)

https://www.frontiersin.org/journals/quantum-science-and-technology/articles/10.3389/frqst.2024.1...
1•rolph•15m ago•0 comments

Ask HN: Would Steve Jobs Get into YC?

1•ipnon•15m ago•0 comments

One-click deploy OpenClaw bot on runclaw.com

https://www.runclaw.com/
1•bear2024•15m ago•0 comments

Why Audio Is the One Area Small Labs Are Winning

https://www.amplifypartners.com/blog-posts/arming-the-rebels-with-gpus-gradium-kyutai-and-audio-ai
2•rocauc•16m ago•0 comments

A nice way to share articles

https://www.justthearticleplease.com/
1•JnthnMyrs•21m ago•1 comments

WinClaw: Windows-native AI assistant with Office automation and skills

https://github.com/itc-ou-shigou/winclaw
1•winclaw-dev•23m ago•0 comments

It's Yours

https://inventingthefuture.ghost.io/its-yours/
1•hellojohnbuck•25m ago•1 comments

A polymerase ribozyme that can synthesize itself

https://www.biorxiv.org/content/10.1101/2024.10.11.617851v1
2•eq_ind•25m ago•0 comments

Become a Gigachad

https://www.gigachadify.com/
2•jespinoza17•28m ago•0 comments

MMAcevedo aka Lena by qntm

https://qntm.org/mmacevedo
2•stickynotememo•31m ago•0 comments

Unread emails and 20M database errors cause civil service

https://www.computerweekly.com/news/366639026/Thousands-of-unread-emails-and-20-million-database-...
1•latein•32m ago•0 comments

Almostnode: Node.js in the Browser

https://almostnode.dev/
1•nnx•34m ago•0 comments

Google Might Think Your Website Is Down

https://codeinput.com/blog/google-seo
2•todsacerdoti•37m ago•0 comments

Inspecting the Source of Go Modules

https://words.filippo.io/go-source/
1•mfrw•40m ago•0 comments

The DOJ is spying on members of Congress who review the Epstein files

https://www.cnn.com/2026/02/12/politics/doj-monitoring-lawmaker-epstein-files-searches
6•Der_Einzige•43m ago•1 comments

Show HN: Codeman – a blunt launcher forcing you to pick a Codex permission level

https://codeman.elderberry.games
1•shabers•44m ago•0 comments

Waymo is asking DoorDash drivers to shut the doors of its self-driving cars

https://techcrunch.com/2026/02/12/waymo-is-asking-doordash-drivers-to-shut-the-doors-of-its-self-...
9•mfiguiere•46m ago•1 comments

Simile AI Raises $100M Series A

https://www.indexventures.com/perspectives/life-the-universe-and-simile-leading-similes-series-a/
1•doppp•47m ago•0 comments

Information: Kynaston L. McShine, 2019

https://www.moma.org/calendar/exhibitions/2686
1•rhamonrye•48m ago•1 comments

New Nick Bostrom Paper: Optimal Timing for Superintelligence [pdf]

https://nickbostrom.com/optimal.pdf
14•uejfiweun•51m ago•0 comments

Stop Reading Newsletters on Screens – Print Them Automatically

https://autoprint.email/blog/print-newsletters-automatically-while-you-sleep
2•kelonye•52m ago•0 comments

I built a passive radar system in my kitchen

https://old.reddit.com/r/RTLSDR/comments/1r3ffmd/phased_array_passive_radar_in_my_kitchen/
1•muttled•52m ago•1 comments

Formally equivalent math frameworks fail differently on real data

https://zenodo.org/records/18528229
1•CreativeLabsRo•1h ago•0 comments

Scene Gaussian Splat Viewer

https://github.com/iab131/Scene-Gaussian-Splat-Viewer
1•e8bai•1h ago•1 comments

Show HN: Roe.md generate your own OpenClaw-like bot from a single Markdown file

https://github.com/guld/ROE.md
1•guld•1h ago•0 comments

Osamu Dazai's 1940 autobiographical comedy "The Beggar Student"

https://tonysreadinglist.wordpress.com/2025/01/28/the-beggar-student-by-osamu-dazai-review/
1•gsf_emergency_6•1h ago•0 comments