Repository navigation
docs(issues): add lychee issue specification (#2150) - #2154
Conversation
There was a problem hiding this comment.
🟡 Changes recommended
The new issue specification repeatedly documents include_fragments = "full", which does not match lychee’s actual boolean include_fragments setting and should be corrected to avoid misleading future implementation.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Pull request overview
This PR adds a new folder-style issue specification for adopting the lychee link checker (offline, deterministic local file + fragment validation) and updates the spell-check dictionary to include lycheeignore.
Changes:
- Add issue spec
#2150describing scope, plan, verification, and follow-up issues forlycheeadoption. - Add
lycheeignoretoproject-words.txtto prevent cspell false-positives per the spec’s guidance.
File summaries
| File | Description |
|---|---|
| docs/issues/open/2150-add-lychee-link-checker/ISSUE.md | Adds the issue specification describing offline lychee enforcement, reporting, and follow-ups. |
| project-words.txt | Adds lycheeignore to the project dictionary. |
Review details
Suppressed comments (5)
docs/issues/open/2150-add-lychee-link-checker/ISSUE.md:96
include_fragmentsshould be documented as a boolean (true/false);"full"is not a validlychee.tomlvalue and may cause confusion when writing the actual config.
- Enable and document `include_fragments = "full"` in `lychee.toml`. This checks the target of
local fragment links such as `[Verification](docs/testing.md#verification-plan)`, ensuring that
a linked Markdown heading exists as well as its file.
docs/issues/open/2150-add-lychee-link-checker/ISSUE.md:113
- The spec refers to
include_fragments = "full"as the convention to request upstream; lychee uses a boolean for this setting, so the convention should beinclude_fragments = true.
- Open a GitHub issue in `torrust/torrust-linting` requesting lychee support, including: the
proposed CLI subcommand (`linter lychee`, or `linter links`), the offline
`include_fragments = "full"` `lychee.toml` convention this issue establishes, and a link back
to this issue for context.
docs/issues/open/2150-add-lychee-link-checker/ISSUE.md:263
- The risk section references
include_fragments = "full", but lychee uses a boolean setting; update this toinclude_fragments = trueto avoid encoding an invalid config value in the spec.
- **Fragment checking may add work**: `include_fragments = "full"` will flag anchors that
markdownlint does not validate. Mitigation: it is intentional: heading-anchor correctness is
part of the goal, and broken anchors should be fixed or explicitly excluded with rationale.
docs/issues/open/2150-add-lychee-link-checker/ISSUE.md:200
- AC2 should describe the real
lychee.tomlsettings;include_fragmentsis boolean, so the acceptance criteria should sayinclude_fragments = truerather than"full".
- [ ] AC2: A `lychee.toml` config file exists at the repository root; every exclusion has an
inline rationale comment and it enables `offline = true` and `include_fragments = "full"`.
docs/issues/open/2150-add-lychee-link-checker/ISSUE.md:230
- The manual verification description should match the intended
lychee.tomlsyntax;include_fragmentsis boolean, so useinclude_fragments = true.
The checked Markdown set (`INPUTS`) is: `README.md SECURITY.md 'docs/**/*.md' '**/AGENTS.md' 'packages/*/README.md' 'console/**/*.md' 'contrib/**/*.md' 'share/**/*.md' '.github/**/*.md'`. `lychee.toml` supplies `offline = true` and `include_fragments = "full"`.
- Files reviewed: 2/2 changed files
- Comments generated: 1
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
54f570f to
c24f9cf
Compare
c24f9cf to
568e04a
Compare
|
ACK 568e04a |
Summary
torrust-lintingintegration, then tracker-side offline enforcement plus advisory weekly external-link monitoring.lycheeignoreto the project spell-check dictionary because the specification explicitly rejects a separate.lycheeignorefile.Files changed
docs/issues/open/2150-add-lychee-link-checker/ISSUE.mdproject-words.txtValidation
TORRUST_GIT_HOOKS_LOG_DIR=.tmp ./contrib/dev-tools/git/hooks/pre-commit.shRelated to #2150