AppDeps Stateless capabilities bundle for fuz_app backends.
Injectable and swappable per environment (production vs test). Does not contain config (static values) or runtime state (mutable refs).
stat
Get file/directory stats, or null if path doesn't exist.
(path: string) => Promise<StatResult | null>read_text_file
Read a file as text.
(path: string) => Promise<string>delete_file
Delete a file.
(path: string) => Promise<void>keyring
HMAC-SHA256 cookie signing keyring.
password
Password hashing operations. Use argon2_password_deps in production.
db
Database instance.
log
Structured logger instance.
Loggeraudit
Bound audit emitter. Closes over the pool, the on_audit_event
subscriber chain, and the optional AuditLogConfig. Built once at
backend assembly via create_audit_emitter so handlers can never
accidentally write audits against the request transaction — there
is no pool slot on the handler context.