@@ -13,9 +13,9 @@ def _get_topic_paths(topic: str, vault_root: Path | None = None):
1313 feeds_path = root / "config" / f"feeds.{ topic } .txt" ,
1414 interests_path = root / "config" / f"interests.{ topic } .md" ,
1515 prompt_path = root / "config" / "triage_prompt.txt" ,
16- briefs_dir = root / "content" / "briefs " ,
17- roundups_dir = root / "content" / "roundups " ,
18- annual_dir = root / "content" / "annual " ,
16+ weekly_dir = root / "content" / "feeds" / "weekly " ,
17+ monthly_dir = root / "content" / "feeds" / "monthly " ,
18+ yearly_dir = root / "content" / "feeds" / "yearly " ,
1919 logs_dir = root / "logs" ,
2020 briefs_articles_csv = root / "content" / "briefs_articles.csv" ,
2121 edgar_ciks_path = root / "config" / f"edgar_ciks.{ topic } .txt" ,
@@ -84,7 +84,7 @@ def test_run_weekly_rewrites_heading_to_canonical_url(self) -> None:
8484 root = Path (td )
8585 write_runner_inputs (root )
8686 weekly .run_weekly (topic = "bci" , week_spec = "2026 week 8" , dry_run = 0 , vault_root = root )
87- brief_path = root / "content" / "briefs " / "2026 week 08.md"
87+ brief_path = root / "content" / "feeds" / "weekly " / "2026 week 08.md"
8888 content = brief_path .read_text (encoding = "utf-8" )
8989
9090 self .assertIn ("## [Paper A](https://canonical.example.com/a)" , content )
@@ -103,7 +103,7 @@ def test_run_weekly_delinks_untrusted_heading_when_resolver_errors(self) -> None
103103 root = Path (td )
104104 write_runner_inputs (root )
105105 weekly .run_weekly (topic = "bci" , week_spec = "2026 week 8" , dry_run = 0 , vault_root = root )
106- brief_path = root / "content" / "briefs " / "2026 week 08.md"
106+ brief_path = root / "content" / "feeds" / "weekly " / "2026 week 08.md"
107107 content = brief_path .read_text (encoding = "utf-8" )
108108 finally :
109109 weekly ._resolve_weekly_heading_links = original_resolver
@@ -120,7 +120,7 @@ def test_run_weekly_new_brief_frontmatter_omits_title(self) -> None:
120120 root = Path (td )
121121 write_runner_inputs (root )
122122 weekly .run_weekly (topic = "bci" , week_spec = "2026 week 8" , dry_run = 0 , vault_root = root )
123- brief_path = root / "content" / "briefs " / "2026 week 08.md"
123+ brief_path = root / "content" / "feeds" / "weekly " / "2026 week 08.md"
124124 frontmatter = _read_frontmatter (frontmatter_module , brief_path )
125125
126126 self .assertNotIn ("title" , frontmatter )
@@ -136,7 +136,7 @@ def test_run_weekly_no_items_frontmatter_omits_title(self) -> None:
136136 root = Path (td )
137137 write_runner_inputs (root )
138138 weekly .run_weekly (topic = "bci" , week_spec = "2026 week 8" , dry_run = 0 , vault_root = root )
139- brief_path = root / "content" / "briefs " / "2026 week 08.md"
139+ brief_path = root / "content" / "feeds" / "weekly " / "2026 week 08.md"
140140 frontmatter = _read_frontmatter (frontmatter_module , brief_path )
141141
142142 self .assertNotIn ("title" , frontmatter )
@@ -151,9 +151,9 @@ def test_run_weekly_merge_preserves_existing_title(self) -> None:
151151 with tempfile .TemporaryDirectory () as td :
152152 root = Path (td )
153153 write_runner_inputs (root )
154- briefs_dir = root / "content" / "briefs "
155- briefs_dir .mkdir (parents = True , exist_ok = True )
156- brief_path = briefs_dir / "2026 week 08.md"
154+ weekly_dir = root / "content" / "feeds" / "weekly "
155+ weekly_dir .mkdir (parents = True , exist_ok = True )
156+ brief_path = weekly_dir / "2026 week 08.md"
157157 brief_path .write_text (
158158 (
159159 "---\n "
@@ -182,9 +182,9 @@ def test_run_weekly_merge_without_existing_title_keeps_title_absent(self) -> Non
182182 with tempfile .TemporaryDirectory () as td :
183183 root = Path (td )
184184 write_runner_inputs (root )
185- briefs_dir = root / "content" / "briefs "
186- briefs_dir .mkdir (parents = True , exist_ok = True )
187- brief_path = briefs_dir / "2026 week 08.md"
185+ weekly_dir = root / "content" / "feeds" / "weekly "
186+ weekly_dir .mkdir (parents = True , exist_ok = True )
187+ brief_path = weekly_dir / "2026 week 08.md"
188188 brief_path .write_text (
189189 (
190190 "---\n "
0 commit comments