Skip to main content

Crate inferd_daemon

Crate inferd_daemon 

Source
Expand description

inferd daemon — internals exposed for integration testing.

The shipped surface is the binary in main.rs. Library exports are intended for tests in tests/ and for cross-crate integration tests in sibling crates; they are not a stable public API.

Modules§

admin
Admin socket — push-style daemon-lifecycle event broadcast.
auth
TCP API-key authentication. THREAT_MODEL F-8.
config
Daemon CLI configuration.
config_file
Operator-facing JSON config file.
endpoint
IPC listener abstractions for inferd-daemon.
fetch
First-boot model bootstrap into the shared CAS store.
lifecycle
Daemon lifecycle: boot → wait-for-ready → bind listener → accept → dispatch → shutdown.
lifecycle_embed
Embed connection lifecycle — Phase 6B-7 part 4.
lifecycle_v2
v2 connection lifecycle — Phase 2A wired.
lock
Single-instance lock for the daemon.
logx
Activity log: NDJSON writer with rotation and write-time redaction.
peercred
Peer-credential extraction for IPC connections.
queue
Bounded admission gate.
redact
Write-time secret redactor for the activity log.
router
Backend router — priority-ordered policy + per-backend circuit breaker.
status
Daemon-wide status events.
store
Shared content-addressable model store (ADR 0011).