docs: Plan 6 — network score computation - #11
Conversation
Lock step-10 scope (loader, RunVeriRank gRPC, transactional score/sync writes, in-process debounce) and point HANDOVER at execution. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Caution The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased. |
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
|
Warning Review limit reachedYou’ve reached a temporary PR review limit under our Fair Usage Limits Policy. Next review available in: 26 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (2)
WalkthroughThe pull request adds a detailed Plan 6 document for network score computation and updates the project handover with its execution status, implementation scope, verification requirements, follow-on ordering, and key-file reference. ChangesNetwork score computation planning
Estimated code review effort: 2 (Simple) | ~10 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Co-authored-by: Cursor <cursoragent@cursor.com>
PR Summary by QodoDocument Plan 6 network score computation
AI Description
Diagram
High-Level Assessment
Files changed (2)
|
Code Review by Qodo
Context used✅ Compliance rules (platform):
18 rules 1.
|
Address PR #11 review: mandatory expires_at/active-principal filters with one evaluationTime, pg_advisory_xact_lock through commit, single-flight dirty latch, entity_kind in change detection, and mandatory live RunVeriRank CI in PR B. Co-authored-by: Cursor <cursoragent@cursor.com>
There was a problem hiding this comment.
Actionable comments posted: 3
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@docs/superpowers/plans/2026-07-28-network-score-computation.md`:
- Line 72: Add a blank line immediately after each Markdown heading in the newly
added documentation sections, including all headings corresponding to the listed
locations, so the document conforms to MD022.
- Around line 54-59: Update the missing-bootstrap handling in the recompute flow
so it does not leave previously materialized scores when eligible bootstrap
roots disappear. Restrict the no-op success path to an initial empty score
state, or transactionally remove all existing network scores and emit the
corresponding score.delete events before returning; preserve the existing
warning and cold-start behavior.
- Line 35: Resolve the conflicting shutdown contract in the scheduler plan:
choose one deterministic behavior for an active recompute with a pending dirty
rerun, then update the shutdown requirements and related scheduler/tests
consistently. Ensure the contract explicitly defines timer cancellation,
active-run awaiting, and whether the dirty rerun is drained or discarded.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: ASSERTIVE
Plan: Pro
Run ID: 544f197d-d619-4627-b2e9-941d25883c7c
📒 Files selected for processing (2)
docs/superpowers/plans/2026-07-28-network-score-computation.mddocs/superpowers/plans/HANDOVER.md
Empty-roots clears stale scores; weight [0,1] migration; entity_kind on history; deterministic shutdown drain; MD022 spacing; HANDOVER date 2026-07-29. Co-authored-by: Cursor <cursoragent@cursor.com>
Bump Updated date to 2026-07-29 and sync locked decisions with empty-roots clear, weight bounds, history entity_kind, and shutdown drain. Co-authored-by: Cursor <cursoragent@cursor.com>
Add a review-closure matrix for human/CodeRabbit/Qodo comments; require API [0,1] weight validation; use blacklisted/score_reason; clarify deletes emit score.delete without history rows. Co-authored-by: Cursor <cursoragent@cursor.com>
Review findings closed (recommit)Audited all present/past PR comments (human chat reviews, CodeRabbit CHANGES_REQUESTED → APPROVED, Qodo 6 bugs) and recommitted Plan 6 with an explicit Review findings closure matrix. Also tightened:
HEAD: after this push. Please re-approve if needed. |
Summary
docs/superpowers/plans/2026-07-28-network-score-computation.mdfor productization §13 step 10HANDOVER.mdto mark Plans 1–5 done and Plan 6 ready (PR A/B split)RunVeriRank; Verify stays in-process Node; scores +sync_eventsin one TXTest plan
@coderabbitai review
Summary by CodeRabbit