Turn the aggregated store into a ranked, exportable digest of story clusters. - internal/rank: pure deterministic Score(Signals, cfg.Rank) — recency (exp half-life decay), cvss/10, kev, epss, velocity (cluster size/age), source weight, watchlist keyword. Every signal clamped to [0,1]; all weights + half_life + velocity_norm from config, no literals. recency/velocity are total (guard half_life<1 and norm<=0). Rank() scores each cluster and stable-sorts desc, tiebreak freshest. Research 06's two worked examples are the golden-order test (A ~0.99 strictly above B ~0.13). - internal/export: per-cluster (story) digest. Headline = freshest member, distinct sorted outlets, CVEs sorted KEV-first then CVSS. Markdown + deterministic JSON. - store.DigestClusters: 3-query per-cluster aggregation (clusters by since, member articles, union of CVE signals) with explicit ORDER BY; per-cluster CVE dedup via SELECT DISTINCT. - digest command: --top/--since/--format md|json/--out. Off the stub list. - Proven live: scrape -> digest --format md and json render correctly, per-cluster (FortiBleed shows 3 outlets). Suite offline + -race. One read-only audit agent; 0 Crit/High/Med, golden-order math verified; Low/Nit fixed in-phase (top<=0 count, pure-fn guards, ORDER BY, headline sanitize, 2-cluster attach test). Digest ranks per-cluster (Carter's choice), not per-article. |
||
|---|---|---|
| .. | ||
| cmd/nadezhda | ||
| internal | ||
| testdata | ||
| .gitignore | ||
| README.md | ||
| go.mod | ||
| go.sum | ||
| justfile | ||
README.md
Nadezhda
A concurrent security-news and CVE aggregation engine, written in Go.
Nadezhda ingests cybersecurity news from reliable RSS feeds, enriches every referenced CVE with authoritative exploit intelligence (NVD, CISA KEV, FIRST EPSS), clusters the same story across outlets, ranks items by real-world significance, and surfaces content angles. It ships as a single static binary with a local SQLite store, a colorful terminal UI, and Markdown/JSON export.
Status
Early development. The scaffold is in place: configuration, source registry, SQLite store with forward-only migrations, and the command skeleton.
nadezhda version # print version
nadezhda sources # list configured feeds and persist them to the store
Ingestion, CVE enrichment, ranking, the TUI, and the AI ideation layer land in subsequent milestones.
Build
just build # -> ./nadezhda
just test
Requires Go 1.25+.
Full documentation lands in learn/ as the project matures.