Curation v2 step 1: three-way feedback, rating events, reader profile
- Migration 0002: rating_events, article_embeddings, interest_embeddings, article_assessments, candidate_runs, runs.config_json/provider_costs_json, issue_articles.why; copies ratings into rating_events and drops ratings and feed_priors (scores stays until step 4). - Vote is Loved | Good | NotForMe; legacy `up` links still verify as Loved. - Footer offers Loved it / Good / Not for me; the confirmation page offers the other two so a mis-tap can be corrected. handle_rating appends one event. - db::current_ratings implements the latest-explicit-event rule with summaries and facets; `ratings list|set|clear` CLI appends source='cli' events. - data/profile.md replaces the hard-coded reader prose; the system prompt is rebuilt every run in the §8.4 order with a recent-verdicts block. - Weekly rebuild reads summaries, facets and notes; feed priors removed. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01A1rCLQeKBgnBo3oTgHuTMe
This commit is contained in:
@@ -283,7 +283,7 @@ async fn assemble_build_publish(
|
||||
)
|
||||
.expect("render chapters");
|
||||
let first = issue.lineup.picks[0].article.id;
|
||||
let expected = auth::rating_url(&cfg.server.public_url, SECRET, date(), first, Vote::Up);
|
||||
let expected = auth::rating_url(&cfg.server.public_url, SECRET, date(), first, Vote::Loved);
|
||||
let chapter = chapters
|
||||
.iter()
|
||||
.find(|c| c.id == format!("art-{}", issue.lineup.picks[0].article.best_entry_id))
|
||||
@@ -298,8 +298,8 @@ async fn assemble_build_publish(
|
||||
SECRET,
|
||||
date(),
|
||||
first,
|
||||
Vote::Up,
|
||||
&auth::rating_token(SECRET, date(), first, Vote::Up)
|
||||
Vote::Loved,
|
||||
&auth::rating_token(SECRET, date(), first, Vote::Loved)
|
||||
),
|
||||
"the server must accept the token the EPUB minted"
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user