Skip to content

Databases

Application-scoped KV stores are created with tau new database and opened in Go with the exact match string.

YAML

match: /docs_kit

Go

db, err := database.New("/docs_kit")

Index pattern (used by feedback)

Avoid relying on db.List(). Maintain an explicit JSON index:

fb:idx      → ["id1","id2",...]
fb:<id>     → feedback JSON

Append on write, truncate to a max length (this kit keeps 100).

Matcher mismatch

/docs_kitdocs_kit. Leading slash mistakes fail open at runtime.