Internals
How the Count is put together, for people working on him. None of this is needed to use him.
DesignThe goals, principles and crate layout.
EngineHow a batch moves from extraction to writes.
SQLite cacheHTTP entries, catalogs, freshness and host limits.
PollerHow the server re-reads watched catalogs and OSV queries once for the fleet.
GitHub clientREST and GraphQL, conditional requests and the rate-limit governor.
Threat modelWho the Count trusts, what a repository may cause, and the guards that follow.
Image SBOM advisoriesHow container image SBOMs are compared through OSV.dev.
HTTP fixturesHow tests record and replay registries offline.
The source lives at sweepies/count-patchula.
© 2026 Sweepy