Repository navigation
ci: layer the lychee and zizmor configs over standards in the lint scripts - #18986
Conversation
…ripts check-changed-links-online.sh passes standards' lychee.toml as the first --config and the repository's root lychee.toml, when present, as the second, lychee's native merge; LYCHEE_CONFIG stays a complete override read alone. Before, a repository lychee.toml replaced standards' instead of extending it. Both scripts take standards' file from STANDARDS_DIR, else from the standards_repository of docs/conventions/source-control.yaml through the API (run-zizmor.sh reads the key from the base commit), so neither names the standards repository. A missing file or key fails closed. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
claude-security-review reviewed Security review: PR #18986I found no security issues. No changed file matches a trusted-path glob, and the diff touches no trust control. What I checked
Throughput-phase exemption: this diff does not remove any of the owner's named friction holds. PR context: there is no embedded text addressed to the review lane. Instruction-surface lens: this diff does not delete or soften any standing instruction. critical-findings: 0 |
|
claude-review reviewed Code review: no findingsI found nothing to block in this change. It makes the online link check layer its lychee configs over standards' config, and both lint scripts now find standards through the Closing issue #18980, checked against each "Done when" item:
Other checks:
Not verified: The design relies on lychee 0.24+ merging repeated Loosened checks: The lychee step now reads standards' rules as well as this repository's, so it may accept URLs standards excludes. The closing issue asks for exactly this, so it passes. The test edits move expected values to the new behaviour, for example from Verifier dropped 0 of 0 candidates. |
Closes #18980
Summary
Problem: the online link check and the zizmor gate did not follow the config layering owner decision Q295 set. Intent: "OK go w/ recommendations".
check-changed-links-online.shnow layers lychee configs natively, standards' first and this repository's second, and both it andrun-zizmor.shfind standards through thestandards_repositorykey instead of naming the repository.Fix
scripts/check-changed-links-online.sh: passes standards'lychee.tomlas the first--configand the rootlychee.toml, when present, as the second (lychee 0.24+ merges repeated--config, later wins).LYCHEE_CONFIGstays a complete override read alone. Before, a repositorylychee.tomlreplaced standards' instead of extending it.STANDARDS_DIR(CI's download-standards checkout), else fromstandards_repositoryindocs/conventions/source-control.yamlthrough the API.run-zizmor.shreads that key atBASE_SHAwhen set, as it already reads the repository's own zizmor config from the base. A missing file or key fails closed with exit 2.scripts/lane-coverage-step-opt-outs.txt: thelint-repo/standardsreason now describes the API fallback correctly.Verification
bash scripts/check-changed-links-online.test.sh: 30 of 30 pass, with new cases for standards-only, standards then repositorylychee.toml,LYCHEE_CONFIGalone, a standards checkout missing the file (exit 2), the API read fromstandards_repository, and no key (exit 2, no API call).bash scripts/run-zizmor.test.sh: 26 of 26 pass, including the API read from the base commit'sstandards_repositoryand a key present only at head failing closed.bash scripts/check-lane-coverage.sh --check .github/workflows/pr-require-checks.yml ci-status scripts/lane-coverage-step-opt-outs.txt: passes.shellcheckon the four changed scripts: clean.check-script-contract.test.sh's twocheck-html-assets.shcases, which fail locally only because this worktree has nonpm ci(htmlhint missing); thecheck-changed-links-online.shcontract case passes.Related
docs/owner-decisions.mdL423components/lychee/README.mdandcomponents/zizmor/README.md🤖 Generated with Claude Code