AGENTS.md@backend/packages/harness/deerflow/persistenceA
AGENTS.md@backend/packages/harness/deerflow/persistence from bytedance/deer-flow is an AGENTS.md file: the standing instructions coding agents read in that repo.
mdr add bytedance/deer-flow/backend/packages/harness/deerflow/persistence/AGENTS.md@git:20261102.21175baPins git:20261102.21175ba in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 14 of 14 checks passed
- Kind
- AGENTS.md file
- Repository
- bytedance/deer-flow
- Path
backend/packages/harness/deerflow/persistence/AGENTS.md- Versions recorded
- 21
- Latest version
- git:20261102.21175ba, committed Nov 2, 2026
- First version recorded
- Sep 20, 2026
- Size
- 14,808 bytes
- Repository stars
- 85,141
- 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
# Persistence lifecycle `postgres_url.normalize_asyncpg_url` maps libpq `sslmode` to asyncpg `ssl`, preserving modes and credentials. Reject conflicting/repeated SSL options and unsupported `channel_binding`; never silently drop authentication requirements. `DatabaseConfig.app_sqlalchemy_url` and test fixtures share it; synchronous psycopg/checkpointer DSNs retain their libpq options. Postgres bootstrap owns its session-scoped advisory lock until `pg_advisory_unlock` completes. Drain that unlock across host cancellation before leaving the SQLAlchemy connection context; repeated cancellation must not return a pooled session while it still holds the bootstrap mutex. Ordinary database errors remain best-effort and are logged. Acquire that lock by polling `pg_try_advisory_lock`, never with a blocking `pg_advisory_lock`: the app engine's asyncpg `command_timeout` bounds every statement, so a blocking acquire fails a second instance's startup whenever a peer's migration outlasts it. `init_engine` auto-creates a Postgres database only on SQLSTATE `3D000`. Missing relations, columns and roles also "do not exist"; a `CREATE DATABASE` retry would mask them. …
Read the whole file at its exact version.
How to install
mdr add bytedance/deer-flow/backend/packages/harness/deerflow/persistence/AGENTS.md@sha256:f6ee75dec5e9d5adThe line at the top of this page pins the label git:20261102.21175ba, 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_4p53yu7kzbfxfvrx)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 21 versions of this file, between Sep 20, 2026 and Nov 2, 2026, about one every 2 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261102.21175ba latest | 2026-11-02 | 21175ba | 14,808 B | A | view · diff |
| git:20261031.3027ab6 | 2026-10-31 | 3027ab6 | 13,772 B | A | view · diff |
| git:20261030.882433a | 2026-10-30 | 882433a | 13,378 B | A | view · diff |
| git:20261024.6dc28f5 | 2026-10-24 | 6dc28f5 | 12,969 B | A | view · diff |
| git:20261024.d2e2d57 | 2026-10-24 | d2e2d57 | 12,794 B | A | view · diff |
| git:20261023.cfe2bec | 2026-10-23 | cfe2bec | 12,360 B | A | view · diff |
| git:20261022.9e08568 | 2026-10-22 | 9e08568 | 11,638 B | A | view · diff |
| git:20261021.c04946a | 2026-10-21 | c04946a | 11,073 B | A | view · diff |
| git:20261019.850b3b2 | 2026-10-19 | 850b3b2 | 10,410 B | A | view · diff |
| git:20261018.75de356 | 2026-10-18 | 75de356 | 7,951 B | A | view · diff |
| git:20261017.f34e1a8 | 2026-10-17 | f34e1a8 | 7,503 B | A | view · diff |
| git:20261014.4e9f6c6 | 2026-10-14 | 4e9f6c6 | 6,405 B | A | view · diff |
| git:20261008.c58d04b | 2026-10-08 | c58d04b | 5,807 B | A | view · diff |
| git:20261007.97b26b0 | 2026-10-07 | 97b26b0 | 5,370 B | A | view · diff |
| git:20261007.35cdcab | 2026-10-07 | 35cdcab | 4,781 B | A | view · diff |
| git:20261006.2dd2e54 | 2026-10-06 | 2dd2e54 | 3,090 B | A | view · diff |
| git:20261005.7f2c0fb | 2026-10-05 | 7f2c0fb | 1,749 B | A | view · diff |
| git:20261005.52046aa | 2026-10-05 | 52046aa | 1,489 B | A | view · diff |
| git:20260922.36b124c | 2026-09-22 | 36b124c | 1,007 B | A | view · diff |
| git:20260922.0627de2 | 2026-09-22 | 0627de2 | 644 B | A | view · diff |
| git:20260920.e545c28 | 2026-09-20 | e545c28 | 370 B | A | view |
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (14808 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
bytedance/deer-flow · 85,141 stars · license MIT · pushed 2026-11-08 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_4p53yu7kzbfxfvrx GET https://markdownregistry.com/api/v1/resolve?ref=bytedance/deer-flow/backend/packages/harness/deerflow/persistence/AGENTS.md GET https://markdownregistry.com/api/v1/blob/f6ee75dec5e9d5ad5fdd4cacdc2c4c1e078ce6418643d070102af46be9f1d9d6
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.