Task 397: Add Broken Link Validation Test
未着手 ← タスク一覧
Task 397: Add Broken Link Validation Test
Status: DONE
Summary
Task 396 fixed broken links manually, but there's no automated test to prevent regressions. Add a test that validates all internal links in report markdown files point to valid targets.
Rationale
- CLAUDE.md: "Source citations must be clickable links"
- Manual link fixing is error-prone and doesn't prevent future breaks
- Catches absolute paths, missing .html extensions, incorrect file naming patterns
Implementation
- Scan all .md report files for markdown links
- Validate internal links (non-http) against known file patterns
- Check that episode links use ep-00X.html format
- Check that summary links between files in same directory use relative paths
- Flag absolute paths starting with / (should be relative)