AGENTS.md@crates/tree-ring-memory-sqliteA

AGENTS.md@crates/tree-ring-memory-sqlite from terminallylazy/tree-ring-memory is an AGENTS.md file: the standing instructions coding agents read in that repo.

Install it, pinned
mdr add terminallylazy/tree-ring-memory/crates/tree-ring-memory-sqlite/AGENTS.md@git:20260915.7fd4919

Pins git:20260915.7fd4919 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 14 of 14 checks passed
Kind
AGENTS.md file
Repository
terminallylazy/tree-ring-memory
Path
crates/tree-ring-memory-sqlite/AGENTS.md
Versions recorded
2
Latest version
git:20260915.7fd4919, committed Sep 15, 2026
First version recorded
Sep 15, 2026
Size
1,180 bytes
Repository stars
22
License
MIT

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# tree-ring-memory-sqlite

## Purpose

Durable local storage and bounded recall.

## Ownership

Schema, write transactions, FTS, lifecycle maintenance, policy and session recall.

## Local Contracts

Preserve transaction durability, idempotent operations, coordinated-write authorization and schema-v3 writer fencing. Explicit RecallOptions remain conjunctive; SessionRecallScope applies the documented cross-session visibility rules. Filter scope, expiry, supersession, redaction and sensitivity before candidate limits.

DOX batch writes check existing project, source and root provenance within the write transaction. A conflict rejects the whole batch. Adoption of matching legacy records without root provenance requires the caller to verify the source project's own local store.

## Work Guidance

Exercise concurrent writes and old-session recall where relevant. Do not weaken privacy or scope checks to fill a result budget.

## Verification

`cargo test -p tree-ring-memory-sqlite --locked`; performance changes also use `cargo run --release -p tree-ring-memory-sqlite --example performance_smoke -- 1000`.

## Child DOX Index

None. This document owns the full subtree.

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add terminallylazy/tree-ring-memory/crates/tree-ring-memory-sqlite/AGENTS.md@sha256:ae211268080caa03

The line at the top of this page pins the label git:20260915.7fd4919, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_mw2os3biofgcq5xs.svg)](https://markdownregistry.com/a/art_mw2os3biofgcq5xs)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 2 versions of this file, all committed on Sep 15, 2026.

versioncommittedcommitsizeaudit
git:20260915.7fd4919 latest2026-09-15 7fd4919 1,180 BA view · diff
git:20260915.db98ef22026-09-15 db98ef2 917 BA view

Audit of the latest version

A  14 of 14 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Size between 200 bytes and 200 KB (1180 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

terminallylazy/tree-ring-memory · 22 stars · license MIT · pushed 2026-09-17 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_mw2os3biofgcq5xs
GET https://markdownregistry.com/api/v1/resolve?ref=terminallylazy/tree-ring-memory/crates/tree-ring-memory-sqlite/AGENTS.md
GET https://markdownregistry.com/api/v1/blob/ae211268080caa0308386133e79cc14695e01727968897a60db8ad874c70d124

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: how to write a good AGENTS.md · AGENTS.md vs CLAUDE.md · which agent file does what.

More from terminallylazy/tree-ring-memory

AGENTS.md AGENTS.md file
terminallylazy/tree-ring-memory · AGENTS.md
git:20260915.5cb649d · audit A · 22 stars
AGENTS.md@crates AGENTS.md file
terminallylazy/tree-ring-memory · crates/AGENTS.md
git:20260915.db98ef2 · audit A · 22 stars
AGENTS.md@crates/tree-ring-memory-cli AGENTS.md file
terminallylazy/tree-ring-memory · crates/tree-ring-memory-cli/AGENTS.md
git:20260915.db98ef2 · audit A · 22 stars
AGENTS.md@crates/tree-ring-memory-cli/src/activation AGENTS.md file
terminallylazy/tree-ring-memory · crates/tree-ring-memory-cli/src/activation/AGENTS.md
git:20260915.00591d4 · audit A · 22 stars
AGENTS.md@crates/tree-ring-memory-core AGENTS.md file
terminallylazy/tree-ring-memory · crates/tree-ring-memory-core/AGENTS.md
git:20260915.7fd4919 · audit A · 22 stars
AGENTS.md@docs AGENTS.md file
terminallylazy/tree-ring-memory · docs/AGENTS.md
git:20260915.db98ef2 · audit A · 22 stars
llms.txt@docs llms.txt file
terminallylazy/tree-ring-memory · docs/llms.txt
git:20260825.85fa8f8 · audit B · 22 stars
AGENTS.md@fixtures AGENTS.md file
terminallylazy/tree-ring-memory · fixtures/AGENTS.md
git:20260915.db98ef2 · audit A · 22 stars
AGENTS.md@marketing AGENTS.md file
terminallylazy/tree-ring-memory · marketing/AGENTS.md
git:20260915.db98ef2 · audit A · 22 stars
AGENTS.md@plugins AGENTS.md file
terminallylazy/tree-ring-memory · plugins/AGENTS.md
git:20260917.31d7aaf · audit A · 22 stars
tree-ring-memory SKILL.md skill
terminallylazy/tree-ring-memory · plugins/tree-ring-memory/skills/tree-ring-memory/SKILL.md · Guides AI agents in using Tree Ring Memory for durable recall, project decisions, user preferences, warnings, future…
v0.15.11 · audit A · 22 stars
AGENTS.md@scripts AGENTS.md file
terminallylazy/tree-ring-memory · scripts/AGENTS.md
git:20260917.31d7aaf · audit A · 22 stars

Every file in terminallylazy/tree-ring-memory

Browse by kind, by grade A, or by owner.