···4141- **[`hydrant::backfill`]**: A dedicated worker that fetches full repository CAR files. Uses LIFO prioritization and adaptive concurrency to manage backfill load efficiently.
4242- **[`hydrant::api`]**: An Axum-based XRPC server implementing repository read methods (`getRecord`, `listRecords`) and system stats. It also provides a WebSocket event stream and management APIs:
4343 - `/filter` (`GET`/`PATCH`): Configure indexing mode, signals, and collection patterns.
4444- - `/repos` (`GET`/`PUT`/`DELETE`): Bulk repository management using NDJSON or JSON arrays. Supports pagination and partitioning via query parameters.
4444+ - `/repos` (`GET`/`PUT`/`DELETE`): Repository management.
4545- Persistence worker (in `src/main.rs`): Manages periodic background flushes of the LSM-tree and cursor state.
46464747### Lazy event inflation
+1
README.md
···9898 - `limit`: max results (default 100, max 1000)
9999 - `cursor`: DID or u64 index ID depending on partition
100100 - `partition`: `all` (default), `pending` (backfill queue), or `resync` (retries)
101101+- `GET /repos/{did}`: get the sync status and metadata of a specific repository.
101102- `PUT /repos`: explicitly track repositories. accepts an NDJSON body of `{"did": "..."}` (or JSON array of the same).
102103- `DELETE /repos`: untrack repositories. accepts an NDJSON body of `{"did": "..."}` (or JSON array of the same). optionally include `"deleteData": true` to also purge the repository from the database.
103104