Skip to content

chore(lint): restore SAFETY comments and bump @uinaf/oxlint-config - #210

Merged
altaywtf merged 2 commits into
mainfrom
chore/oxlint-config-1.0.4
Nov 28, 2026
Merged

altaywtf merged 2 commits into
mainfrom
chore/oxlint-config-1.0.4

Conversation

@altaywtf

Copy link
Copy Markdown
Member

Problem

#205 deleted comments on invariants nothing enforces. no-comments 1.1.2 would drop them as SAFETY: lines.

Solution

@uinaf/oxlint-config 1.0.4 ships no-comments 1.2.0, which keeps them, so they return at the guarded code:

// SAFETY: GitHub signs this commit and rejects a moved branch atomically; a preflight read of main would race.
const response = await fetch("https://api.github.com/graphql", {
File Invariant
scripts/release-commit.ts prepare order, atomic signed commit, tag the returned commit
src/lint/index.ts a missing base must fail closed
src/lint/rules-markup.ts ReDoS bounds, </script > evasion, why shipped rules warn
src/lint/cli.ts exit-code contract
scripts/machine-layer.ts deploy identity
alchemy.run.ts domain unset, strictPort
  • The pnpm-workspace.yaml release-age comment now matches the name-only excludes.

Proof

vp lint on 1.0.3 reports 13 uinaf(no-comments) errors on these lines; on 1.0.4, vp lint --fix leaves all 13.

Related: uinaf/oxlint-plugin-no-comments#21

1.0.4 ships no-comments 1.2.0, which keeps standalone SAFETY comments.
The release-age comment now matches the name-only excludes.
#205 deleted comments that recorded release atomicity, fail-closed
changed-file enumeration, ReDoS bounds, the </script > evasion, why
shipped rules warn, the deploy identity, the design-check exit codes,
and why alchemy leaves domain unset and pins strictPort. No code or
test enforces them, so they return as SAFETY comments.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 28, 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-28T19:25:54.537679Z a02167c 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.

@altaywtf
altaywtf merged commit 4ce0fc9 into main Nov 28, 2026
1 check passed
@altaywtf
altaywtf deleted the chore/oxlint-config-1.0.4 branch November 28, 2026 19:30
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