AGENTS.md@packages/session-backends/sqlite-nodeA
AGENTS.md@packages/session-backends/sqlite-node from code-yeongyu/senpi is an AGENTS.md file: the standing instructions coding agents read in that repo.
mdr add code-yeongyu/senpi/packages/session-backends/sqlite-node/AGENTS.md@git:20260831.a99450dPins git:20260831.a99450d in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 14 of 14 checks passed
- Kind
- AGENTS.md file
- Repository
- code-yeongyu/senpi
- Path
packages/session-backends/sqlite-node/AGENTS.md- Versions recorded
- 2
- Latest version
- git:20260831.a99450d, committed Aug 31, 2026
- First version recorded
- Aug 24, 2026
- Size
- 2,537 bytes
- Repository stars
- 512
- 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
# packages/session-backends/sqlite-node
`@earendil-works/pi-storage-sqlite-node` (private). Node `node:sqlite` backend for
`@earendil-works/pi-agent-core` sessions; vendored from upstream pi. Node `>=22.19.0`.
Score 16: 50 files, 6 subdirs, dense typed SQL layer with its own migration pipeline.
## STRUCTURE
```text
src/index.ts wrapNodeSqliteDatabase / createNodeSqliteFactory + re-exports sqlite/
src/sqlite/repo.ts SqliteSessionRepository — repository/storage orchestration (953 LOC hotspot)
src/sqlite/sql.ts Tagged-template `sql` helper
src/sqlite/migrations.ts Migration runner; SQL files in src/sqlite/migrations/
src/sqlite/storage/ Per-table modules: sessions, entries, records, lanes, facts,
branch-entries, branch-tips, branch-cache, session-sequences,
session-stats, writer-leases
src/sqlite/search-backend.ts FTS/search over stored entries
scripts/prepare-dist.mjs `copy-sqlite-migrations` build step
test/ 11 Vitest files (repository, adapter, branch-query, writer-leases...) + test-utils
```
…Read the whole file at its exact version.
How to install
mdr add code-yeongyu/senpi/packages/session-backends/sqlite-node/AGENTS.md@sha256:d99a7db678ffad84The line at the top of this page pins the label git:20260831.a99450d, 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.
[](https://markdownregistry.com/a/art_ocuxsapie7orz65f)
4 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 2 versions of this file, between Aug 24, 2026 and Aug 31, 2026, about one every 7 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260831.a99450d latest | 2026-08-31 | a99450d | 2,537 B | A | view · diff |
| git:20260824.0549249 | 2026-08-24 | 0549249 | 2,533 B | A | view |
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (2537 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
code-yeongyu/senpi · 512 stars · license MIT · pushed 2026-11-05 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_ocuxsapie7orz65f GET https://markdownregistry.com/api/v1/resolve?ref=code-yeongyu/senpi/packages/session-backends/sqlite-node/AGENTS.md GET https://markdownregistry.com/api/v1/blob/d99a7db678ffad84c2aaa492bb289959a7fba19698a497b1ce372226b70a0724
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.