Skip to content

chore: delete the synced lychee.toml; standards' copy applies - #300

Merged
kyle-sexton merged 3 commits into
mainfrom
chore/f2-lychee
Nov 24, 2026
Merged

kyle-sexton merged 3 commits into
mainfrom
chore/f2-lychee

Conversation

@kyle-sexton

@kyle-sexton kyle-sexton commented Nov 24, 2026 •

Copy link
Copy Markdown
Member

No related issue: follow-up to melodic-software/standards#1124, which retired the lychee sync component (owner accept A4, 2026-11-24).

Summary

Delete the synced lychee.toml. The lychee-offline composite falls back to standards' lychee.toml when the repository has none.

Fix

  • git rm lychee.toml (it equalled standards' root lychee.toml at main, blob 5b6b2fc9).
  • .cursor/check.sh and docs/conventions/ecosystems/cross-cutting.yaml: drop --config lychee.toml from the local lychee commands, so local runs use lychee defaults.
  • cross-cutting.yaml opt-in and README.md: stop listing lychee.toml as a repository-root or synced file.
  • .github/workflows/pr-require-checks.yml is unchanged: it uses lychee-offline with config: lychee.toml, the composite's default, so the fallback applies.

Verification

  • git rev-parse origin/main:lychee.toml here and in standards both give 5b6b2fc93e96a960c5b9b381eed3a4abdfc99ccd.
  • Read ci-workflows lychee-offline/run.sh: standards_config falls back only for the default path.
  • Pre-commit hooks passed. CI not awaited.

Related

melodic-software/standards#1124.

🤖 Generated with Claude Code

standards#1124 retired the lychee sync component. The lychee-offline
composite falls back to standards' lychee.toml when the repository has
none, so CI is unchanged. Local lint commands drop --config lychee.toml
and use lychee defaults.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-24T14:04:18.204715Z ca3d850 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions

github-actions Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

PR body contract — issue linkage

This PR body conforms to the issue-linkage contract. Nothing to do.

@github-actions github-actions Bot added the needs-issue-linkage Pull request body has no issue linkage line; set by the check-contract step, advisory. label Nov 24, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: ca3d850526

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread lychee.toml Resolved
Comment thread lychee.toml Resolved
@github-actions

github-actions Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

claude-security-review reviewed 7eb908d6e37c4cfb6cb210347564df060b6720e9: read 2 of 2 changed file(s); 0 finding(s), 0 as inline comments.

Security review: PR #300 (incremental, dc67569 → 7eb908d)

I found no security issues in this push. This lane already reviewed an earlier head, so the review covered blocking issues only: it would have reported CRITICAL and IMPORTANT findings and left out SUGGESTIONs.

What changed. Two files each change one line, with matching comment edits:

  • .cursor/check.sh, in lane_links
  • docs/conventions/ecosystems/cross-cutting.yaml, in check-cmd

Both lines set where the local lychee --offline run reads its config. When ghq.root is unset, the path now falls back to $HOME/ghq instead of an empty root. It does this with $(git config --path --get ghq.root || printf '%s' "$HOME/ghq").

Why this is safe:

  • No outside input. The added value comes from the developer's own $HOME. Nothing in pull request content can set it.
  • Quoted and literal. The value stays inside the existing double-quoted --config argument, and printf '%s' prints it as plain text without interpreting it.
  • Fixes a wrong path. Before this push, an unset ghq.root gave a config path rooted at /github.com/.... The fallback replaces that with the ghq default.
  • Nothing runs. With --offline, lychee only reads a TOML config and checks links on disk. It executes nothing and makes no network calls.

Out of scope for trust controls. Neither file is a trust control: not the trusted-actor check, a token request, the kill switch, a merge hold or an isolation action. Neither is on a trusted path. The push has no credential, injection, billing, manifest or instruction-surface changes.

critical-findings: 0

@github-actions github-actions Bot removed the needs-issue-linkage Pull request body has no issue linkage line; set by the check-contract step, advisory. label Nov 24, 2026

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

claude-review: 1 inline finding(s) on ca3d8505267463dcf63f8fafd70adeba2c13fb52; the summary is in this lane's pull request comment.

claude-lane: claude-review

Comment thread lychee.toml Resolved
@github-actions

github-actions Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

claude-review reviewed 7eb908d6e37c4cfb6cb210347564df060b6720e9: read 2 of 2 changed file(s); 0 finding(s), 0 as inline comments.

Code review: PR #300, changes since dc67569

This was a blocking-only review because this lane already reviewed earlier heads, so advisory findings are left out. I found no blocking issues in this push.

The earlier blocking finding is fixed for ghq users on the default root. Both copies of the standards-config path now fall back to $HOME/ghq when ghq.root is unset:

The comments above both lines were updated to match. With ghq.root unset, git config --path --get exits 1 and prints nothing, so the || printf fallback runs. This follows from reading the code; I did not run it.

Still open, not re-raised as blocking:

  • A contributor with no standards checkout at STANDARDS_DIR or under the ghq root still gets lychee's config-load error.
  • The second half of the earlier suggested fix was not taken: a check-links message that names STANDARDS_DIR.

The error includes the missing path, so the cause can be worked out. Needing a standards checkout locally is a dependency this PR chose on purpose, so it does not block.

Notes

  • Closing issue: none. The PR only references melodic-software/standards#1124, so there were no acceptance criteria to check.
  • Author's claims, not verified: that the lychee-offline composite falls back to standards' lychee.toml, and that the deleted file equalled standards' blob 5b6b2fc9.
  • PR body is out of date: its Fix section still says the local commands "drop --config lychee.toml ... so local runs use lychee defaults". They now point at standards' lychee.toml instead. This is a description mismatch, not a code defect.
  • Embedded instructions: none in the PR context or the prior-findings file.
  • Manifests: none changed.
  • Cost: none.
  • Loosened checks: local runs now use the same config as CI, so nothing is loosened. Loosened checks would be marked: fail. That is the default, because the prompt had no loosened_check_verdict: line. Patterns: 0, because there was no loosened_check_patterns: line. There was no loosened_check_decision_record: line either, so I did not check the citation requirement.

Verifier dropped 0 of 0 candidates.

The local link checks in .cursor/check.sh and the cross-cutting convention
record passed --config lychee.toml, which this branch deletes. They now read
the standards lychee.toml CI falls back to: STANDARDS_DIR names a standards
checkout, else the ghq clone. The README tracked-file inventory no longer
lists lychee.toml as a synced config.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

claude-review: 1 inline finding(s) on dc675698791580c7c57d746fbc610ddec1ac15bf; the summary is in this lane's pull request comment.

claude-lane: claude-review

Comment thread .cursor/check.sh Resolved
With STANDARDS_DIR unset and no ghq.root in git config, the standards
config path resolved to /github.com/melodic-software/standards/... and the
local check failed. The path now falls back to ghq's documented default
root, ~/ghq (x-motemen/ghq README, ghq.root: "Defaults to ~/ghq").

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@kyle-sexton
kyle-sexton merged commit 75170ba into main Nov 24, 2026
30 checks passed
@kyle-sexton
kyle-sexton deleted the chore/f2-lychee branch November 24, 2026 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant