frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: A "content compiler" that turns LLM output into validated artifacts

https://gixo.ai
1•hardikparikh29•1h ago
Most AI tools generate text. Very few generate finished artifacts you can ship.

I expected the hard part to be prompt engineering. It wasn't. The hard part is what happens after generation: enforcing structural invariants so the output is actually usable -- every section present, no "coming soon" placeholders, no layout that falls apart at export time.

I ended up treating LLM output the way a compiler treats source code: intent goes in, validated artifacts come out, deterministic rules sit between the model and the user.

Live at https://gixo.ai -- sample outputs on the homepage, no signup required. This post is about the engineering, not the product.

--

STYLE GUIDES AS COMPILER RULES

Every content type has a typed style guide -- required sections, structural constraints, quality checklists, which elements are mandatory vs. negotiable. Transformations between types (blog post to video script, guide to checklist) carry a Confidence score and explicit LostElements so the user knows what the conversion costs.

The LLM is the code generator. The style guide is the type system. Output that doesn't satisfy the constraints fails -- a presentation deck missing its title slide or section dividers triggers bounded regeneration rather than silent acceptance.

WHY BLAZOR SERVER?

SignalR gives me real-time push for free, and server rendering means I access the database and message bus directly -- no separate API gateway.

The tradeoff: every user holds an open WebSocket. For a content tool where users are actively editing, the connection is already there and I use it for everything -- progress updates, collaboration, AI streaming.

The non-obvious gotcha: when a Blazor Server component calls its own /api/ endpoint, the request doesn't carry the browser's cookies. I had to write a DelegatingHandler that forwards the auth cookie from the inbound HttpContext onto the outgoing request. Without it, every internal API call returns 401. I struggled to find clear documentation for this pattern.

AUTHORIZATION WITHOUT [AUTHORIZE] SPRAWL

Once you have dozens of controllers, policy decorators become invisible. I replaced them with a single middleware scoped to API routes that separates two concepts:

1. Permission (role-based): "Is this user allowed to do this?" 2. Entitlement (subscription-based): "Has this user paid for this?"

If the entitlement service isn't registered in production, the middleware denies access rather than silently making paid routes free. Fail-closed on billing -- you only add that after you discover the alternative.

THE OPS LESSON THAT COST ME A WEEKEND

Azure App Service recycles containers. If your DataProtection keys live in memory, every restart invalidates every auth cookie. The symptom: infinite login redirect loop plus a SignalR disconnect storm. I lost a weekend to this. Fix: persist keys to durable storage outside the container.

Separately: I applied rate limiting globally and immediately broke every real-time feature. It now excludes WebSocket paths.

HONEST TRADEOFFS I HAVEN'T FIXED

Auth is overengineered. Multiple generations of authentication coexist -- cookie sessions, JWT flows, two identity enrichment paths. An internal audit calls it "overengineered in practice." I haven't consolidated because the current system works and touching auth is terrifying.

CI doesn't gate on tests. Build-and-deploy, not build-test-deploy. There are multiple test projects, but they don't gate deployment yet.

Observability is incomplete. Structured logging is solid. Distributed tracing is on the list, not in the code.

--

Happy to answer questions about the architecture, the tradeoffs, or any of the things I got wrong.

devlog

https://wiki.xxiivv.com/site/devlog
1•tosh•2m ago•0 comments

Show HN: Simple org-mode web adapter

https://github.com/SpaceTurth/Org-Web-Adapter
2•turth•2m ago•0 comments

STM32G431 Analogue TV Transmitter

https://slyka.net/blog/2026/tinyvision/
1•e145bc455f1•3m ago•0 comments

Why are they forcing it?

https://blog.imraniqbal.org/why-are-they-forcing-it/
1•HotGarbage•3m ago•0 comments

The End of the Office

https://blog.andrewyang.com/p/the-end-of-the-office
1•HR01•4m ago•0 comments

Gasoline Starved California Is Turning to Fuel from the Bahamas

https://gcaptain.com/gasoline-starved-california-is-turning-to-fuel-from-the-bahamas/
1•nradov•4m ago•0 comments

Ask HN: What are some active IRC servers/channels in 2026?

1•qzx_pierri•4m ago•0 comments

BreathOfStrudle: Complete Sound Design and Music Production Course with Strudel

https://github.com/vakofmaya/BreathOfStrudle
1•TheAuditor•4m ago•0 comments

A small German state's revolt against Microsoft and what it means for Europe

https://www.irishtimes.com/world/europe/2026/02/14/a-small-german-states-quiet-revolt-against-mic...
3•padraic7a•5m ago•0 comments

Building an AI Director for Continuous Video Generation

https://www.countbayesie.com/blog/2026/2/14/automating-tiktok-video-generation-with-open-models
1•roadside_picnic•5m ago•0 comments

Delegated Agent Authorization Constrained to Semantic Task-to-Scope Matching

https://arxiv.org/abs/2510.26702
1•mooreds•6m ago•0 comments

Write your own LOTR story with LORA BLOOM-3B (2023)

https://github.com/jeremyarancio/llm-tolkien
1•mooreds•7m ago•0 comments

Virgins, Unicorns and Medieval Literature (2017)

https://www.bowdoin.edu/news/2017/11/virgins-unicorns-and-medieval-literature.html
1•mooreds•7m ago•0 comments

Show HN: Sentinel Core – Open-source AI video search with real-time dashboard

https://github.com/abg-labs/sentinel-core
1•ab-abg•8m ago•0 comments

Show HN: I built a way for my family to access my accounts in an emergency

https://keeplineage.com
1•Sayuj01•8m ago•0 comments

Show HN: PolyClaw – An Autonomous Docker-First MCP Agent for PolyMCP

1•justvugg•9m ago•0 comments

YouTube adds new hurdles for ad blockers, and there's currently no way around it

https://www.androidauthority.com/youtube-ad-blocker-comments-turned-off-3641167/
1•speckx•9m ago•0 comments

Peer-Reviewers in the Coal Mine?

https://www.ericburel.tech/blog/ai-impact-employment-and-peer-review
1•eric-burel•10m ago•0 comments

Contrepreneurs: The Mikkelsen Twins [video]

https://www.youtube.com/watch?v=biYciU1uiUw
1•simonebrunozzi•11m ago•0 comments

TIL: Docker Log Rotation

https://ntietz.com/blog/til-docker-log-rotation/
1•todsacerdoti•13m ago•0 comments

Chronic Pain: The Science of Unlearning Pain

https://www.zeit.de/gesundheit/2025-11/chronic-pain-causes-treatments-pain-perception-english
1•Tomte•13m ago•0 comments

Amodei suggests OpenAI doesn't "understand the risks they're taking"

https://the-decoder.com/anthropic-ceo-dario-amodei-suggests-openai-doesnt-really-understand-the-r...
2•achow•14m ago•0 comments

Semantic ablation renders AI writing generic, boring and dangerous

https://www.theregister.com/2026/02/16/semantic_ablation_ai_writing/
1•samizdis•14m ago•0 comments

The Cyber Arms Trade: How Commercial Spyware Is Reshaping Global Security

https://breached.company/the-cyber-arms-trade-how-commercial-spyware-is-reshaping-global-security/
1•robtherobber•14m ago•0 comments

Show HN: YOPJ – Local AI coding agent with 8-layer security sandbox (no cloud)

https://github.com/WayneCider/YourOwnPersonalJean-Luc
1•WayneCider•16m ago•0 comments

Orion for Windows is taking shape

https://twitter.com/OrionBrowser/status/2020866955683520993
2•frizlab•16m ago•0 comments

Justifying Text-Wrap: Pretty

https://matklad.github.io/2026/02/14/justifying-text-wrap-pretty.html
1•ingve•17m ago•0 comments

Semantic Firewall v3: A Practical Audit Layer for AI

1•look888•19m ago•0 comments

Open source Agent Testing (BSL 1.1)

1•exordex•19m ago•0 comments

The Essential Economics of Nigeria's Okrika Industry (2023)

https://rpublc.com/august-september-2023/nigerias-okrika-industry/
2•ForHackernews•20m ago•1 comments