Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01A1rCLQeKBgnBo3oTgHuTMe
2.0 KiB
2.0 KiB
YOUR STEP: 7 — Cleanup (plan §21 step 7)
Steps 1–6 have landed. This step removes what the plan retired and updates the implementation
notes. Read git log -12 and skim every file under src/ for leftovers.
- Dead code: anything only the old prefilter/scores/select/feed-prior paths used — unused
functions, types (
LlmScoreif nothing reads it,ScoredArticle,FeedPrior,Rating),kvkeys no longer read, config aliases and#[serde(alias)]s introduced as transition aids,// filled in by step Ncomments, stale doc comments that still describe 👍/👎, "From the Editor", section intros, prefilter gating, orasync-openai.cargo clippy --all-targets -- -W dead_codemust be clean; do not add#[allow(dead_code)]. - Prune paths (§7.1, §7.4): confirm
features prunecoversarticle_embeddings(embedding_retention_days) andcandidate_runs(telemetry_retention_days); addarticle_assessmentsolder thantelemetry_retention_daysto it. Makegeneratecall the prune once per run after publishing (best effort, logged). - Docs: update
docs/plans/2026-08-15-implementation-notes.md: fix item 5 (hand-rolledreqwestclient, notasync-openai), add the new providers (Anthropic Messages API facts from plan §4.2, Voyage facts from §4.3, each with "verified 2026-09-02"), the new tables, the lock, the budget-day rule, and a short "curation v2" section pointing atdocs/plans/2026-09-02-personalized-curation-v2.md. This is the one step allowed to editdocs/. Do not edit the plan itself. - Consistency pass:
config.example.tomlmatchesConfig::default()key for key (write a test that loads the example and compares every[curation.*],[anthropic],[voyage],[editorial]value to the defaults, since the defaults are the plan's numbers); README CLI section matchesdaily-epub --helpoutput for every subcommand (spot check by running the binary). - Run
cargo fmt,cargo clippy --all-targets,cargo test; report the summary lines.