AGENTS.md@backend/packages/harness/deerflow/persistence · git:20260920.e545c28 · 2026-09-20 · sha256 33f2802b6d5f41de

AGENTS.md@backend/packages/harness/deerflow/persistence git:20260920.e545c28A

Immutable. This exact content is served forever at /api/v1/blob/33f2802b6d5f41de.

# Persistence lifecycle

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.