80 prefer_local: bool =
False,
81 dry_run: bool =
False,
82 artifacts: Iterable[str] |
None =
None,
84 """Render all requested registry-backed filesystem artifacts."""
86 selected = set(DEFAULT_ARTIFACTS
if artifacts
is None else artifacts)
87 results: list[RenderResult] = []
88 worktree_rows = list(iter_worktree_plans(registry))
89 if "plan_status" in selected:
90 for row
in worktree_rows:
91 worktree = row.get(
"worktree")
96 worktree=Path(str(worktree)),
97 prefer_local=prefer_local,
101 if "plan_header" in selected:
102 for row
in worktree_rows:
103 body_path = row.get(
"body_path")
108 plan_id=str(row[
"plan_id"]),
109 plan_file=target_root / str(body_path),
110 prefer_local=prefer_local,
RenderReport render_all(Registry registry, *, Path target_root, bool prefer_local=False, bool dry_run=False, Iterable[str]|None artifacts=None)