frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Sigma Guard – deterministic contradiction checks for graph memory

1•invariantjason•1h ago
I built a small open-source verifier for graph-backed AI memory and GraphRAG-style systems.

The basic problem: graph databases can validate schema, but they usually do not know whether two accepted facts contradict each other. An AI memory layer can store both "Acme prefers annual billing" and "Acme rejected annual billing and requires monthly billing." Both writes may be valid. The contradiction only shows up later when an agent retrieves both and reasons over them.

SIGMA Guard tries to catch that earlier.

It represents claims as a graph with local consistency rules and checks whether the proposed structure can be made globally consistent. The underlying mechanism uses cellular sheaf cohomology. The practical interface is simpler: given claims, a graph, or a proposed write, it returns SAFE or UNSAFE with the contradiction details and a receipt hash.

The repo includes:

verify_claims - check a set of subject/property/value claims check_write - test a proposed graph write before commit verify_graph - verify a full graph MCP server support for Claude Desktop / agent workflows a local demo, no API key required

Install:

pip install sigma-guard[mcp]

Run MCP server:

sigma-guard-mcp

Or run the local demo:

git clone https://github.com/Jasonleonardvolk/sigma-guard cd sigma-guard pip install -e . python examples/verify_llm_output.py

I also ran a scale experiment because the obvious objection is that sheaf-style graph verification will not fit in memory. On a laptop, the current cellular implementation completed a 5M-vertex / 39,999,936-edge streaming run. The key trick was avoiding duplicated restriction matrices: 80M endpoint maps were represented by 1,024 canonical maps in a shared store. The streaming update path averaged 0.119 ms/edit with p99 1.534 ms in that run.

Separate from the streaming benchmark, I also ran a "poisoned edge" demo on the same 5M graph. One local restriction map was replaced with a cyclic permutation. Exact local verification recomputed one affected cell out of 25,473. H0 dropped from 8 to 1, meaning 7 local consistency modes were destroyed. That exact check took 11.5s because it used dense SVD on the affected cell; the point of that demo was localization and exactness, not production latency.

Limitations:

This is not a replacement for a graph database. It does not make LLM output true. The current exact poisoned-edge demo is slower than the streaming update path. Some demos use structured claims rather than arbitrary natural language. The interesting question is whether this belongs as a pre-commit / pre-output verifier for agent memory, not as a standalone database.

Repo:

https://github.com/Jasonleonardvolk/sigma-guard

I would be interested in feedback from people working on graph databases, GraphRAG, or agent memory. Does a deterministic "verify before memory write / before agent output" layer make sense in your stack?

Kiorg: A neo filemanager with Vim keybind, zoxide-like teleport, and previews

https://github.com/houqp/kiorg
1•houqp•8m ago•0 comments

France Moves to Break Encrypted Messaging

https://reclaimthenet.org/france-moves-to-break-encrypted-messaging
2•Cider9986•9m ago•0 comments

Artemis II Photo Timeline

https://artemistimeline.com/
2•surprisetalk•13m ago•1 comments

Mississippi's Air Quality Is Worsening Amid AI Data Center Boom, Report Finds

https://www.mississippifreepress.org/mississippis-air-quality-is-worsening-amid-ai-data-center-bo...
1•gnabgib•14m ago•0 comments

Can memory-hard PoW still meaningfully reduce ASIC/GPU advantage?

https://pastebin.support.one/view/aba95c0b
2•TheBlocksmith•25m ago•1 comments

Drone Swarms Packed into Unassuming Containers Sought by DARPA

https://www.twz.com/news-features/drone-swarms-packed-into-unassuming-containers-sought-by-darpa
2•breve•25m ago•1 comments

Yarbo's promise to fix the robot mower that ran me over

https://www.theverge.com/tech/926989/yarbo-robot-lawn-mower-hack-company-update-security-promise
2•gnabgib•27m ago•0 comments

Getting Arrested in Japan

https://sundaicity.com/blogs/getting-arrested-in-japan
3•bane•27m ago•0 comments

Show HN: Pitch Is Just Rhythm Sped Up [video]

https://www.youtube.com/watch?v=q9bFUocrm70
1•ersinesen•29m ago•0 comments

Matt Pietrek

https://en.wikipedia.org/wiki/Matt_Pietrek
1•stefan_•29m ago•0 comments

The Death of the Roadmap

https://debarshibasak.github.io/readables/blogs/death-of-roadmap.html
2•debarshri•32m ago•0 comments

Keats, Letters

https://sites.ualberta.ca/~dmiall/Tintern07/KeatsLet.htm
1•highfrequency•34m ago•0 comments

Rust but Lisp

https://github.com/ThatXliner/rust-but-lisp
2•thatxliner•37m ago•2 comments

Qwench is a terminal typing game for Linux, Windows, Mac. Built with Crossterm.

https://github.com/BitPusher16/qwench
1•carodgers•37m ago•1 comments

War.gov/UFO/ UFO file download reference repo

https://github.com/dopper/nts-ufos
1•dopper•39m ago•0 comments

London's BT Tower to get rooftop swimming pool

https://www.theregister.com/offbeat/2026/05/09/londons-bt-tower-to-get-rooftop-swimming-pool/5237337
1•samizdis•40m ago•0 comments

The 90 Day disclosure policy is dead

https://blog.himanshuanand.com/2026/05/the-90-day-disclosure-policy-is-dead/
4•unknownhad•41m ago•0 comments

Blog Post Tells the Time

https://alexsci.com/blog/this-blog-post-tells-the-time/
1•saeedesmaili•44m ago•0 comments

Show HN: Free OSS transcription app I made and found it's faster than wispr flow

https://mumbli.app/
3•fireharp•46m ago•0 comments

The Rise of Emotional Surveillance

https://www.theatlantic.com/culture/2026/05/worker-surveillance-emotion-ai/687029/
5•iugtmkbdfil834•50m ago•1 comments

Web Server on a Nintendo Wii

http://wii.sjmulder.nl/
1•adunk•51m ago•0 comments

Hugging Face's Clem Delangue: Stop Comparing Engines to Cars

https://www.turingpost.com/p/clem-delangue-hugging-face-ai-builders
1•gmays•52m ago•0 comments

Japan is deploying ultra-cheap cardboard drones built for swarm warfare

https://www.tomshardware.com/tech-industry/japan-is-deploying-ultra-cheap-cardboard-drones-built-...
2•_____k•52m ago•1 comments

Geography Is Four-Dimensional

https://sive.rs/4d
1•ColinWright•1h ago•0 comments

Feedback on my local-first AI assistant project?

https://github.com/joshuatic/voxel
1•joshuatic•1h ago•1 comments

Lies, damned lies, and Elastic's benchmarks

https://www.gouthamve.dev/lies-damned-lies-and-elastics-benchmarks/
1•gouthamve•1h ago•0 comments

A hacker ran me over with a robot lawn mower

https://www.theverge.com/tech/925696/yarbo-robot-lawn-mower-hack-remote-control-camera-access-mqtt
2•gnabgib•1h ago•0 comments

Does it scale? Who cares (2011)

https://jacquesmattheij.com/does-it-scale-who-cares/
1•downbad_•1h ago•1 comments

IRGC to generate revenue from undersea internet cables in Strait of Hormu

https://twitter.com/IranIntl_En/status/2053206979330392414
1•us321•1h ago•0 comments

Trump Media and Technology Group lost $406M in first three months of 2026

https://www.theguardian.com/us-news/2026/may/09/trump-media-and-technology-group-loses-406m-first...
4•vinni2•1h ago•2 comments