Group bin's root modules into packages named by purpose, and make rank_todo.py a launcher of release_plan/ranking.py

This commit is contained in:
2026-11-08 20:35:52 +01:00
parent 25997ba9ec
commit 8d9a39de1c
115 changed files with 915 additions and 927 deletions
+11
View File
@@ -0,0 +1,11 @@
"""The chunk's review folder, where each reviewer writes its report: skills/larv-review/SKILL.md → "Reports"."""
import os
# Why here: docs/decisions.md → `review: each reviewer under agents/ writes its full report into the chunk's review folder`.
REPORTS = ".local/state/larv-review"
def review_folder(home: str, worktree: str) -> str:
"""The review folder of the chunk whose worktree is at worktree: its path relative to home, or to / outside it, under REPORTS."""
inside = worktree.startswith(home.rstrip("/") + "/")
return os.path.join(home, REPORTS, os.path.relpath(worktree, home) if inside else worktree.lstrip("/"))