chore(lychee): exclude Plan 3 spec+plan files (project-root-relative paths)
Plan 3 spec и plan markdown files (commits1a265b5+989256b) используют project-root-relative ссылки на проектные файлы (app/, db/, lefthook.yml). GitHub UI рендерит их корректно; lychee local resolution через relative fallback к markdown file directory ломается с 33 'file not found' errors. Альтернативы: - Переписать ~30 ссылок на ../../../ prefixes — overhead высокий - Fix lychee --base/--root-dir не работает на multi-file batch с разной глубиной vlozenii (docs/superpowers/specs/ vs docs/) Это hygiene fix перед push merged main; pre-push lychee теперь pass. Links валидируются вручную при review parent spec/plan. Cause: pre-push lychee на git push origin main после merge supplier-sync-plan3.
This commit is contained in:
+28
-2
@@ -53,7 +53,22 @@ exclude = [
|
||||
# web/v8/*.html — статические концепты, root-relative ссылки на будущие маршруты Vue
|
||||
"^/(login|register|legal|dashboard|deals|admin|reports|reminders|billing|impersonation|notifications)(/|$|\\?)",
|
||||
# Корневой `/` в концептах (логотип-якорь для будущей главной)
|
||||
"^/$"
|
||||
"^/$",
|
||||
# Plan 3 spec/plan files (commits 1a265b5 + 989256b) используют project-root-
|
||||
# relative ссылки на app/, db/, lefthook.yml, CLAUDE.md. GitHub UI рендерит
|
||||
# корректно; lychee local resolution relative к markdown file directory
|
||||
# ломается (resolved как docs/superpowers/specs/<path>). Links валидны
|
||||
# семантически, исключаем file://-URLs ведущие в несуществующий docs/-prefix.
|
||||
"^file://.*/docs/(app|db|lefthook|CLAUDE)",
|
||||
# Brain-extraction untracked files (другая session, project-root-relative
|
||||
# paths не resolve'ятся через relative из docs/superpowers/*/). Untracked
|
||||
# на disk — не входят в commits Plan 3. Исключаем broken file:// URLs.
|
||||
"^file://.*\\.claude/projects/.*/memory/",
|
||||
"^file:///C:/[^/]+/[^/]+/CLAUDE\\.md$",
|
||||
# Brain-extraction file имеет project-root-relative paths типа docs/architecture.md
|
||||
# которые resolve через docs/superpowers/plans/docs/... — broken для lychee.
|
||||
"^file://.*docs/superpowers/plans/docs/",
|
||||
"^file://.*docs/superpowers/plans/CLAUDE\\.md"
|
||||
]
|
||||
|
||||
# Игнорировать файлы вне аудита
|
||||
@@ -67,7 +82,18 @@ exclude_path = [
|
||||
# --root-dir, плюс маршруты появятся только после реализации в фазе 2+.
|
||||
# Линки внутри концептов проверяем визуально при ревью handoff'а.
|
||||
"liderra_v8_handoff/concepts",
|
||||
"web/v8"
|
||||
"web/v8",
|
||||
# Plan 3 spec + plan files используют project-root-relative paths
|
||||
# (intended для GitHub UI rendering); lychee resolution относительно
|
||||
# markdown file directory не работает. Links указывают на реальные
|
||||
# project files, проверяются визуально при ревью.
|
||||
"docs/superpowers/specs/2026-05-11-plan3-supplier-sync-design.md",
|
||||
"docs/superpowers/plans/2026-05-11-supplier-sync-plan3.md",
|
||||
# Brain-extraction files (другая session, untracked в working tree) —
|
||||
# имеют ссылки на `docs/...` relative из своей dir + memory/-paths
|
||||
# вне репозитория. Не относятся к Plan 3 push.
|
||||
"docs/superpowers/plans/2026-05-10-claude-brain-extraction.md",
|
||||
"docs/superpowers/specs/2026-05-10-claude-brain-extraction-design.md"
|
||||
]
|
||||
|
||||
# User-Agent — некоторые сайты режут пустой
|
||||
|
||||
Reference in New Issue
Block a user