refactor: move research domain to repository root (#58)

Move the complete research domain from docs/research to root-level research, update indexes and path-aware tooling, and align raw snapshot governance and CODEOWNERS.\n\nVerified with make test and GitHub CI.
This commit is contained in:
tradecatlabs
2026-07-11 22:18:37 +08:00
committed by GitHub
parent 16f5e03c78
commit f1f0b9fe75
263 changed files with 973 additions and 310 deletions
+5 -6
View File
@@ -62,11 +62,10 @@ def should_skip(path: Path) -> bool:
def is_research_repository_snapshot(rel: Path) -> bool:
parts = rel.parts
return (
len(parts) >= 5
and parts[0] == "docs"
and parts[1] == "research"
and parts[3] == "raw"
and parts[4] == "repository"
len(parts) >= 4
and parts[0] == "research"
and parts[2] == "raw"
and parts[3] == "repository"
)
@@ -243,7 +242,7 @@ def main() -> int:
readme_paths = {Path("docs/README.md")}
for fields in taxonomy_sections().values():
entry = fields.get("entry", "")
if entry.startswith("docs/") and entry.endswith("/README.md"):
if entry.endswith("/README.md"):
readme_paths.add(Path(entry))
for rel_path in sorted(readme_paths):