Skip to content

feat: implement RV-I07 due ranking and interleaving - #9

Merged
christophersesugh merged 4 commits into
mainfrom
feat/rv-i07-due-ranking
Nov 29, 2026
Merged

christophersesugh merged 4 commits into
mainfrom
feat/rv-i07-due-ranking

Conversation

@christophersesugh

Copy link
Copy Markdown
Contributor

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.

  • Public scheduleDue, closed projection/identity and relation checks, explicit clock and scope, bounded features and score, graph validation and deterministic ordering/limit.
  • Duplicate edges normalized, distinct due neighbors counted, prerequisite cycles checked across all concepts via iterative Kahn traversal.
  • Types, root/runtime export tests, distribution smoke, changelog and guides updated. No runtime dependency, scheduling mutation or credit effects.

Representation choices

Uses existing single-scope ReviewResult envelope and positional scope/policy/clock API. Concept order is immaterial for ranking; explain retains its prior ordering contract. Relation records use kind, 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.

@christophersesugh christophersesugh left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread src/validation/priority.ts Resolved
Comment thread src/validation/priority.ts Resolved
@christophersesugh
christophersesugh merged commit ac35495 into main Nov 29, 2026
2 checks passed
@christophersesugh
christophersesugh deleted the feat/rv-i07-due-ranking branch November 29, 2026 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant