---
title: "Discussion on \"Statewave Guide — Day 2: Unknown is better than wrong\" | Hashnode"
description: "Discussion on \"Statewave Guide — Day 2: Unknown is better than wrong\". The benchmark expected one route. The indexer found another. Only one of them was right"
url: "https://hashnode.com/posts/statewave-guide-day-2-unknown-is-better-than-wrong/6ac3fbb83cb7bd216f71fb5b"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Statewave Guide — Day 2: Unknown is better than wrong](https://statewave.hashnode.dev/statewave-guide-day-2-unknown-is-better-than-wrong?utm_source=hashnode&utm_medium=feed)

The benchmark expected one route. The indexer found another. Only one of them was right

Oct 5 · 3 min read · statewave.hashnode.dev  
Read the article

-   [#testing](https://hashnode.com/tag/testing)
-   [#typescript](https://hashnode.com/tag/typescript)
-   [#ai](https://hashnode.com/tag/ai)
-   [#build-in-public](https://hashnode.com/tag/build-in-public)

## Written by

[Statewave](https://hashnode.com/@statewave)

@statewave · Remote

  
[View profile](https://hashnode.com/@statewave)

Engineering notes on agent memory: retrieval, provenance, multi-tenancy, context budgets.

Statewave is an open-source, self-hosted memory runtime for AI agents. Beyond retrieval, it adds governance: access policies, sensitivity labels, tamper-evident audit receipts, and full source traceability. Apache 2.0. → statewave.ai

## Responses 2

Markdown supported · ⌘↵ to post

[indiainfranotes](https://hashnode.com/@indiainfranotes)

[Oct 6](https://hashnode.com/posts/statewave-guide-day-2-unknown-is-better-than-wrong/6ac3fbb83cb7bd216f71fb5b/comment/6ac458a5e963e59e05bd15e4)

Unknown beats wrong is the right default for anything with provenance in the name. A trace that says "no evidence for this hop" is worth more than one that fills the gap with a plausible guess, because the guess gets copied into every later report. Do you store why a hop is unknown, like missing span versus dropped header, so the gaps themselves become queryable?

iin1006h07

[Statewave](https://hashnode.com/@statewave)

[Oct 6](https://hashnode.com/posts/statewave-guide-day-2-unknown-is-better-than-wrong/6ac3fbb83cb7bd216f71fb5b/comment/6ac458a5e963e59e05bd15e4#reply-6ac4c17761b8d96810bb7dfe)

Partly, and your version is the better one.

The shape of the unknown is stored and queryable: a partial identity like api:GET:?/clients says "route known, mount point unknown", so every deliberately incomplete edge can be selected. What is not stored is the reason for that particular gap. The reasons live in refusals.md as a catalogue of patterns the indexer refuses to infer, which is documentation rather than data on the node.

That split is the weak part, and a reason code on the instance, drawn from the same catalogue, is the fix. Gaps then become countable per reason instead of visible one at a time, and the series gets an honest metric: which gaps shrank because the indexer got better, and which stayed because the information genuinely is not in the code.

On the copying: that asymmetry is why the file exists at all. A gap costs one lookup. A fabricated edge costs trust in the whole graph, and it is the one thing nobody can audit later, because it looks exactly like the edges that were earned.
