Repository navigation
Description
Goal
scripts/check-changed-links-online.sh and scripts/run-zizmor.sh take their lychee and zizmor configuration through the layering melodic-software/standards defines, with no copy of the standards file in this repository and no merge script.
Owner decision
Row Q295 ("Z2, config layering rule") in architecture docs/owner-decisions.md L423, 2026-11-25. Owner, verbatim: "What is the cleanest mechanism? If there isn't one.. I don't want hacky solutions - so we just keep them separate?" then, after the recommendations were shown, "OK go w/ recommendations".
The row's decision, quoted exactly: "each synced tool config uses the tool's native layering where it exists (lychee multiple --config, typos and markdownlint merge, gitleaks [extend], pyright extends, EditorConfig cascade); where none exists (zizmor, shellcheck, actionlint, editorconfig-checker) melodic-software/standards is the default, a repository may replace the whole file, and individual findings are suppressed with the tool's own mechanism (for example # zizmor: ignore[rule]); no custom merge scripts".
The contract is melodic-software/standards components/lychee/README.md and components/zizmor/README.md. ci-workflows' lychee-offline composite, maintenance-check-links-online and pr-audit-workflows reusables already implement it.
Current behavior
check-changed-links-online.shreads one config:LYCHEE_CONFIG, elselychee.toml, and the standards checkout'slychee.tomlonly when the repository has none. A repositorylychee.tomlreplaces standards' instead of extending it.run-zizmor.shalready treats a repository zizmor config as a complete override and falls back to standards, but its API fallback namesmelodic-software/standardsin the script.
Done when
-
check-changed-links-online.shpasses standards'lychee.tomlas the first--configand the repository's rootlychee.toml, when present, as the second;LYCHEE_CONFIGstays a complete override read alone. - Both scripts take standards' file from
STANDARDS_DIR, else from thestandards_repositoryofdocs/conventions/source-control.yamlthrough the API; neither names the standards repository.run-zizmor.shreads that key from the base commit whenBASE_SHAis set. - A missing standards file or a missing
standards_repositoryfails closed with exit 2. -
scripts/check-changed-links-online.test.shandscripts/run-zizmor.test.shcover the layered, override, API and fail-closed cases.
Activity