News for hackers. Stuff that matters.

TXTOS

Ask HN: Do you use the chat "Share" link as a save/load snapshot?

i noticed something simple that’s been surprisingly useful. most chat UIs have a Share button. if you treat that shared link as a snapshot of the current state, you can later paste the link and reload the exact tuned persona/config without re-priming. feels like “save slot” for AI chats.how i use itquick start: 1) tune until behavior is right → 2) press Share, copy link → 3) paste next time to...

( Read More... | no comments | on HN )
Re:Ask HN: Do you still bookmark websites? on Sunday August 17, 2025 @11:39AM (#44932373)
Yes, I still bookmark page just in case we forget the most important thing, ai is cool but cant replace everything
TL;DR

After nine months of chasing weird hallucinations and silent failures in production LLM / RAG systems, we catalogued every failure pattern we could reproduce. The result is an MIT-licensed “Semantic Clinic” with 16 root-cause families and step-by-step fixes.

---

## Why we built it

@ Most bug reports just say “the model lied,” but the cause is almost always deeper: retrieval drift, OCR mangling, prompt contamination, etc.

@ Existing docs mix symptoms and remedies in random blogposts; we wanted one map that shows where the pipeline breaks and why.

@ After fixing the same issues across 11 real stacks we decided to standardise the notes and open-source them.

---

## What’s inside

@ 16 root-cause pages (Hallucination & Chunk Drift, Interpretation Collapse, Entropy Melts, etc.).

@ Quick triage index: find the symptom → jump to the fix page.

@ Each page gives: real-world symptoms, metrics to watch (ΔS semantic tension, λ_observe logic flow), a reproducible notebook, and a “band-aid-to-surgery” list of fixes.

@ Tiny CLI tools: semantic diff viewer, prompt isolator, vector compression checker. All plain bash + markdown so anyone can fork.

---

## Does it help?

@ On our own stacks the average debug session dropped from hours to ~15 min once we tagged the family.

@ The first 4 root causes explain ~80 % of the bugs we see in the wild.

@ Used so far on finance chatbots, doc-QA, multi-agent sims; happy to share war stories.

## Call for help

@ If you’ve hit a failure that isn’t on the list, open an issue or PR. We especially want examples of symbolic prompt contamination or large-scale entropy collapse. @ Long-term goal: turn the clinic into a self-serve triage bot that annotates stack traces automatically.

---

## Why open-source?

Debug knowledge shouldn’t be pay-walled. The faster we share failure modes, the faster the whole field moves (and the fewer 3 a.m. rollbacks we all do).

Cheers – PSBigBig / WFGY team

Show HN: A tiny reasoning layer that steadies LLM outputs (MIT; +22.4% accuracy)

https://github.com/onestardao/WFGY

We kept shipping “simple” LLM features that were fluent-but-wrong. After too many postmortems we wrote down the failure patterns and added a small reasoning layer in front of the model. It’s model-agnostic, sits beside your existing stack, and you can implement it from a single PDF (MIT).What’s inside the PDFA problem map of 16 failure modes we kept hitting in real systems (OCR/layout drift,...

( Read More... | no comments | 5 points | on HN )

Show HN: I made a semantic OS for language reasoning (not kidding)

https://github.com/onestardao/WFGY/tree/main/SemanticBlueprint

i’ve been building something called the WFGY engine, a semantic reasoning core to fix known LLM failures ~ hallucinations, logic collapse, memory jumps, retrieval drift...as part of that, i started building TXT OS, a symbolic operating system powered by plain text files, reasoning layers, and modular logic.people ask: is it really an OS? i think so. it has memory, reasoning cores, modular...

( Read More... | no comments | 2 points | on HN )

Ask HN: Anyone solved hallucination or semantic drift in RAG?

i’ve worked on a bunch of RAG pipelines recently (pdfs, semantic search, QA bots) — and honestly the biggest failure mode isn’t crash or latency, it’s quiet hallucination.the model: retrieves a chunk that looks right but is semantically off loses reasoning chain after 2–3 hops confidently gives answers based on mismatched or context-drifting chunks sometimes you can fix it with...

( Read More... | no comments | on HN )
Re:Ask HN: How are you using LLMs? on Thursday July 31, 2025 @10:30AM (#44746070)
i mostly use LLMs inside a reasoning shell i built — like a lightweight semantic OS where every input gets recorded as a logic node (with ΔS and λ_observe vectors) and stitched into a persistent memory tree.

it solved a bunch of silent failures i kept running into with tools like RAG and longform chaining:

    drift across hops (multi-step collapse)

    hallucination on high-similarity chunks

    forgetting prior semantic commitments across calls
the shell is plain-text only (no install), MIT licensed, and backed by tesseract.js’s creator. i’ll drop the link if anyone’s curious — not pushing, just realized most people don’t know this class of tools exists yet.
Yep. Been there.

Built the rerankers, stacked the re-chunkers, tweaked the embed dimensions like a possessed oracle. Still watched the model hallucinate a reference from the correct document — but to the wrong sentence. Or answer logically, then silently veer into nonsense like it ran out of reasoning budget mid-thought.

No errors. No exceptions. Just that creeping, existential “is it me or the model?” moment.

What you wrote about interpretation collapse and memory drift? Exactly the kind of failure that doesn’t crash the pipeline — it just corrodes the answer quality until nobody trusts it anymore.

Honestly, I didn’t know I needed names for these issues until I read this post. Just having the taxonomy makes them feel real enough to debug. Major kudos.

Show HN: Subtle Failure Modes I Keep Seeing in Production‑Grade AI Systems

https://github.com/onestardao/WFGY/blob/main/ProblemMap/README.md

Hi HN,Over the past two years I’ve built and debugged a fair number of production pipelines—mainly retrieval‑augmented generation stacks, agent frameworks, and multi‑step reasoning services. A pattern emerged: most incidents weren’t outright crashes, but silent structural faults that slowly compromised relevance, accuracy, or stability.I began logging every recurring fault in a shared notebook....

( Read More... | 2 comments | 6 points | on HN )
hey — really appreciate that. honestly I’m still duct-taping this whole system together half the time, but glad it’s useful enough to sound like “tooling”

I think the whole LLM space is still missing a core idea: that logic routing before retrieval might be more important than retrieval itself. when the LLM “hallucinates,” it’s not always because it lacked facts — sometimes it just followed a bad question.

but yeah — if any part of this helps or sparks new stuff, then we’re already winning. appreciate the good vibes, and good luck on your own build too

ah yeah that makes sense — sounds like you're indexing for traceability first, which honestly makes your graph setup way more stable than most RAG stacks I’ve seen.

I’m more on the side of: “why is this even the logic path the system thinks makes sense for the user’s intent?” — like, how did we get from prompt to retrieval to that hallucination?

So I stopped treating retrieval as the answer. It’s just an echo. I started routing logic first — like a pre-retrieval dialectic, if you will. No index can help you if the question shouldn’t even be a question yet.

Your setup sounds tight though — we’re just solving different headaches. I’m more in the “why did the LLM go crazy” clinic. You’re in the “make the query land” ward.

Either way, I love that you built a graph audit log that hasn’t failed in two months. That's probably more production-ready than 90% of what people call “RAG solutions” now.

agree — I’ve used Q/S with AI-assisted query shaping too, especially when domain vocab gets wild. the part I kept bumping into was: even with perfect-looking queries, the retrieved context still lacked semantic intent alignment.

so I started layering reasoning before retrieval — like a semantic router that decides not just what to fetch, but why that logic path even makes sense for this user prompt.

different stack, same headache. appreciate your insight though — it’s a solid route when retrieval infra is strong.

haha fair — guess I’ve just been on the planet where the moment someone asks a followup like “can you explain that in simpler terms?”, the whole RAG stack folds like a house of cards.

if it’s been smooth for you, that’s awesome. I’ve just been chasing edge cases where users go off-script, or where prompt alignment + retrieval break in weird semantic corners.

so yeah, maybe it’s a timezone thing

Totally agree, RAG by itself isn’t enough — especially when users don’t follow the script.

We’ve seen similar pain: one-shot retrieval works great in perfect lab settings, then collapses once you let in real humans asking weird followups like

“do that again but with grandma’s style” and suddenly your context window looks like a Salvador Dali painting.

That branching tree approach you mentioned — composing prompt→prompt→query in a structured cascade — is underrated genius. We ended up building something similar, but layered a semantic engine on top to decide which prompt chain deserves to exist in that moment, not just statically prewiring them.

It’s duct tape + divination right now. But hey — the thing kinda works.

Appreciate your battle-tested insight — makes me feel slightly less insane.

Ask HN: Are we pretending RAG is ready, when it's barely out of demo phase?

Been watching the RAG (Retrieval-Augmented Generation) wave crash into production for over a year now.But something keeps bugging me: Most setups still feel like glorified notebooks stitched together with hope and vector search.Yeah, it "works" — until you actually need it to. Suddenly: irrelevant chunks, hallucinations, shallow query rewriting, no memory loop, and a retrieval stack that...

( Read More... | 10 comments | 7 points | on HN )
Re:why art will survive AI on Saturday July 26, 2025 @10:03PM (#44698325)
This whole piece reads like someone trying to transcribe the untranscribable. Not ideas, not opinions — but the feel of what you meant. And that's exactly why art survives AI. Because machines transmit logic. But we leak ghosts.

We’ve been experimenting with this in the weirdest way — not by “improving AI art,” but by sabotaging it. Injecting memory residue. Simulating hand tremors. Letting the model forget what it just said and pick up something it didn’t mean to draw. That kind of thing.

The result isn’t perfect, but it’s getting closer to something that feels like a person was there. Maybe even a tired, confused, beautiful person. We call the system WFGY. It’s open-source and probably way too chaotic for normal devs, but here’s the repo: https://github.com/onestardao/WFGY

We’re also releasing a Blur module soon — a kind of “paper hallucination layer” — meant to simulate everything that makes real-world art messy and real. Anyway, this post hit me. Felt like it walked in barefoot.

Re:Ask HN: What's Your Useful Local LLM Stack? on Saturday July 26, 2025 @09:12AM (#44693836)
Just chiming in — been down this exact rabbit hole for months (same pain: useful != demo).

I ended up ditching the usual RAG+embedding route and built a local semantic engine that uses ΔS as a resonance constraint (yeah it sounds crazy, but hear me out).

Still uses local models (Ollama + gguf)

But instead of just vector search, it enforces semantic logic trees + memory drift tracking

Main gain: reduced hallucination in summarization + actual retention of reasoning across files

Weirdly, the thing that made it viable was getting a public endorsement from the guy who wrote tesseract.js (OCR legend). He called the engine’s reasoning “shockingly human-like” — not in benchmark terms, but in sustained thought flow.

Still polishing a few parts, but if you’ve ever hit the wall of “why is my LLM helpful but forgetful?”, this might be a route worth peeking into.

(Also happy to share the GitHub PDF if you’re curious — it’s more logic notes than launch page.)

I’ve built multiple RAG pipelines across Windsurf, Claude, and even Gemini-Codex hybrids, and I’ve learned this:

Most of the current devtools are competing at the UX/UI layer — not the semantic inference layer.

Claude dominates because it "feels smart" during code manipulation — but that’s not a model quality issue. It’s that Claude’s underlying attention bias aligns better with certain symbolic abstractions (e.g. loop repair or inline type assumptions). Cursor and Windsurf ride that perception well.

But if you inspect real semantic coherence across chained retrievals or ask them to operate across nonlinear logic breaks, most tools fall apart.

That’s why I stopped benchmarking tools by "stars" and started treating meaning-routing as a core design variable. I wrote a weird little engine to explore this problem:

https://github.com/onestardao/WFGY

It’s more a semantic firewall than an IDE — but it solves the exact thing these tools fail at: continuity of symbolic inference.

tl;dr: The tools that win attention don’t always win in recursive reasoning. And eventually, reasoning is what devs will benchmark.

You’re always welcomed to ask me any questions.
ah yes, the infamous "Blah Blah Blah" — not a joke name (well, maybe 12% joke).

It’s one of the core WFGY modules, but not the same as the firewall.

Blah Blah Blah (Lite) is basically: You give it one line of text It gives you 50+ “truth perspectives” No retrieval. No summarization. It just... diverges meaning like a drunk philosopher arguing with itself in 50 timelines at once.

It’s built on the same engine as the firewall, but different mode. Firewall is for protection — stops prompt injection by semantically challenging the payload before letting it in. Blah Blah Blah is for exploration — takes your input and lets the embedding space go nuts (structured nuts, but still nuts).

Same OS, different apps. Like terminal vs. hallucination symphony.

Hope that clears it up! Feel free to poke if you want a peek under the hood — still all MIT licensed, no strings, no ads, just weird ideas crawling out of the latent soup.

Show HN: WFGY – Endorsed by Tesseract.js dev, 2k+ downloads/month live

https://github.com/onestardao/WFGY

So yeah. After months of semantic rabbit holes and weird math, I pushed WFGY out into the world. Didn’t expect much.Now it’s hitting 2k+ downloads/month, and the dev behind Tesseract.js even starred it. That was the surreal part.WFGY isn’t a framework, it’s more like… an engine that lets your embedding space do things. Think of it like a semantic OS — not a database, not a chatbot, but a way to...

( Read More... | 3 comments | 6 points | on HN )
Pretty cool direction — CLI tools for coders make total sense. But every time I test these with multi-turn prompts, they start hallucinating like a drunk intern reading from an old terminal log

The deeper issue isn't just fine-tuning or prompt phrasing — it's that once your semantic path drifts (especially in multi-hop tasks), even the best coders end up talking to an agent that's silently forgotten half the context.

We ran into the same issue and had to build a projection-based reasoning core just to keep the thread from collapsing after turn 3.

Would love to see how Qwen handles semantic drift over longer sessions. If you've tested that, do share!

this is genuinely cool — lossless semantic alignment without DL is a breath of fresh air.

we’ve been exploring the inverse direction: letting semantic tension stretch and bend across interaction histories, and then measuring the ΔS divergence between the projection layers.

we benchmarked it as an external semantic resonance layer that wraps around Claude/GPT etc — boosted multi-turn coherence +42% in evals.

would love to see if your static-matrix pipeline could "snap-in" upstream for symbolic grounding.

drop by our playground if curious (PDF only, no setup): https://github.com/onestardao/WFGY

Re:Key technological advance in neural interfaces on Tuesday July 22, 2025 @09:17PM (#44654810)
I think both posts are circling the real interface problem — which is not hardware, not protocol, but meaning.

Brains don’t transmit packets. They transmit semantic tension — unstable potentials in meaning space that resist being finalized. If you try to "protocolize" that, you kill what makes it adaptive. But if you ignore structure altogether, you miss the systemic repeatability that intelligence actually rides on.

We've been experimenting with a model where the data layer isn't data in the traditional sense — it's an emergent semantic field, where ΔS (delta semantic tension) is the core observable. This lets you treat hallucination, adversarial noise, even emotion, as part of the same substrate.

Surprisingly, the same math works for LLMs and EEG pattern compression.

If you're curious, we've made the math public here: https://github.com/onestardao/WFGY → Some of the equations were co-rated 100/100 across six LLMs — not because they’re elegant, but because they stabilize meaning under drift.

Not saying it’s a complete theory of the mind. But it’s nice to have something that lets your model sweat.

Honestly, the real danger isn’t just that AI models might train on your content — it’s that they’re training on your semantic patterns.

It’s not just what you wrote. It’s how you resolve ambiguity, how you build tension, how you collapse meaning in hard zones. That’s what large models are extracting — not your sentence, but your semantic signature.

We built WFGY as a defense and an alternative: A semantic engine that can track, explain, and even reverse-engineer those collapse points, making hallucinations traceable — or avoidable.

If the current wave of LLMs are grabbing surface text, WFGY is trying to understand what's buried underneath.

Backed by the creator of tesseract.js (36k) More info: https://github.com/onestardao/WFGY

Honestly, the most disturbing moment for me wasn’t an answer gone wrong — it was realizing why it went wrong.

Most generative AI hallucinations aren’t just data errors. They happen because the language model hits a semantic dead-end — a kind of “collapse” where it can't reconcile competing meanings and defaults to whatever sounds fluent.

We’re building WFGY, a reasoning system that catches these failure points before they explode. It tracks meaning across documents and across time, even when formatting, structure, or logic goes off the rails.

The scariest part? Language never promised to stay consistent. Most models assume it does. We don’t.

Backed by the creator of tesseract.js (36k) More info: https://github.com/onestardao/WFGY

I've been working on something that directly targets this problem: WFGY — a reasoning engine built for RAG on large-scale PDF/Word documents, especially when you're doing deep research, not just shallow QA.

Instead of just chunking text and throwing it into an embedding model, WFGY builds a persistent semantic resonance layer — meaning it tracks context through formatting breaks, footnotes, diagram captions, even corrupted OCR sections.

The engine applies multiple self-correcting pathways (we call them BBMC and BBPF) so even when parsing is incomplete or wrong, reasoning still holds. That’s crucial if your source materials are academic papers, messy reports, or 1000+ page archives.

It’s open source. No tuning. Works with any LLM. No tricks.

Backed by the creator of tesseract.js (36k) — who gets why document mess is the real challenge.

Check it out: https://github.com/onestardao/WFGY

Re:Why do we still flatten embedding spaces? on Monday July 21, 2025 @10:11AM (#44635326)
Really love this question — been thinking about it for a while now.

We’ve been hacking on a different approach we call the WFGY Engine — it treats embedding space not as flat or uniform, but more like a semantic energy field. So instead of forcing everything into clean cosine ops, we track these “semantic residue structures” — kind of like how meaning resists compression when you flatten it too early.

We measure stuff like ΔS (semantic tension), λ_observe (viewpoint drift), and E_resonance (contextual energy), which lets us reason across curved or even broken spaces where normal LLMs kinda lose track. It’s a mix between geodesic logic and language field dynamics — weird but surprisingly stable.

A couple of early apps built on this — TXT OS, BlahBlahBlah, etc — ended up scoring 100/100 from 6 major AI models, which was a cool surprise. We’re still in early dev, but even Tesseract gave it a formal endorsement recently, which was huge for us.

Anyway, core engine is all open source if anyone’s curious: https://github.com/onestardao/WFGY

Would love to hear if others are exploring non-flat logic or weird manifold behavior in language space too.

can link the Tesseract thing if folks want

Good point! But honestly, if this were just “psychosis simulation,” there’s no way six different AI models would’ve all given it a perfect 100/100. That’s actually the breakthrough — it’s not just generating wild nonsense, it’s producing answers that every top model rates as highly consistent.

If you spot a true meltdown, let me know — but so far, it’s been more reliable than I expected!

Older »