Repository navigation
feat: implement RV-I07 due ranking and interleaving - #9
Conversation
christophersesugh
left a comment
There was a problem hiding this comment.
Reviewed RV-I07 against accepted Retention specification §§3, 4, 6, 7, ADR-0001, architecture and ticket RV-I07 at context 0e3c529b32d465fc08a31ac2ef39dfd750cf92fb. The actual base is the merged RV-I03 (#8); RV-I06 (#7) is also merged. Two P2 findings below. Ranking math, edge normalization, cycle detection, stable ties, limit ordering and root export otherwise look consistent. Exact-head quality run 46284324471 succeeded on Ubuntu and Windows; Ubuntu reports 147 tests across nine suites. No independent local execution; reproductions below are derived from the source. Standards: changes required. Specification: changes required. Recommend addressing both before merge; RV-I04 release gates remain separate.
Scope
RV-I07 / RET-04, RET-09, RET-18. Accepted specification §7, ADR, architecture, tracker. Based on
789853d1ed51f48781705027aab2c4451d12ebe3, merged RV-I03 #8; RV-I06 #7 also merged. Canonical tracker has not caught up with the two merges.scheduleDue, closed projection/identity and relation checks, explicit clock and scope, bounded features and score, graph validation and deterministic ordering/limit.Representation choices
Uses existing single-scope
ReviewResultenvelope and positional scope/policy/clock API. Concept order is immaterial for ranking; explain retains its prior ordering contract. Relation records usekind,fromConceptId,toConceptId; output has separate numeric priority reasons in fixed feature order. Saturation checks the overdue cap before subtraction, avoiding unsafe arithmetic at opposite-end instants. Shape/identity validation does not authenticate projections or establish freshness against external generations.Verification
RV-16/40 targeted with golden score vectors, shuffled inputs, ties, missing weights, endpoint and cycle rejection, limit/score boundaries, accessor refusal, and 1,000-concept/10,000-relation cases. Local environment has Node 22 and lacks pinned pnpm; exact-head CI is required. No release, host integration or ticket completion claim until accepted review and merge. RV-I04 remains separate.