Repository navigation
Smoke test: org-required OpenRouter review (do not merge) - #8
FlyOverCoderKY wants to merge 1 commit into
Conversation
Codex Review SummaryThis 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. |
|
OpenRouter review posted ( |
There was a problem hiding this comment.
OpenRouter pull-request review
Verdict: issues
Scope: full-pr (full-pr)
Mode: initial
Commit: 76a9eccd61544ae51219dcf5ef4d0583b78cf3e7
Judge: openai/gpt-5.6-luna
Cost: $0.0445 (lanes $0.0426 + judge $0.0019)
Lanes
meta/muse-spark-1.2: ok (3 finding(s), 44.1s, 22014+3741 tokens (3697 cached), 3 tool round(s), via Meta, $0.0394)z-ai/glm-5.3-flash: ok (1 finding(s), 20.3s, 26823+3108 tokens (19456 cached), 5 tool round(s), via Together, $0.0032)
Findings
🟠 Issue 1 — Throwaway smoke-test HTML comment will ship as permanent README noise if merged
README.md:72 · risk · identified by meta/muse-spark-1.2
If this PR is accidentally merged, the hidden <!-- ruleset smoke test ... --> becomes permanent content on main and in the default branch README with no consumer value and no removal cue.
Evidence: README.md:72 adds <!-- ruleset smoke test: verifies the org-required OpenRouter review runs here; this PR will be closed without merging --> with a leading blank line. The PR title/body say "do not merge" / "Will be closed without merging" but the PR is not draft and has no label or branch protection in the diff that prevents merge — a maintainer misclick merges it. Root README.md is not part of the published packages/health tarball allowlist (scripts/release-packages.mjs:341,407 only allows packages/health/README.md), so no registry leak, but the repo docs are polluted and the comment is invisible in rendered Markdown, so it is easy to forget to remove later.
Checked: README.md at HEAD contains the comment; list_dir .github/workflows shows ci.yml, codeql.yml, publish.yml exist (so repo docs do matter); grep for README.md inventories shows no CI gate that would auto-reject the comment; package.json private root vs packages/health packaging confirms blast radius is docs-only. No proof gap — keep or close-without-merging resolves it; if the comment must land, delete it before merge.
🔵 Issue 2 — PR body misstates repo workflow inventory
nit · identified by meta/muse-spark-1.2
A reviewer acting on the PR description will misunderstand the ruleset injection scope and may mis-evaluate required checks.
Evidence: PR body states "into a repo with no workflow file of its own" but list_dir .github/workflows at this commit contains ci.yml, codeql.yml, publish.yml, and grep for .github/workflows and docs/securityscan.md:145 explicitly inventories ci.yml/codeql.yml/publish.yml. The premise is factually stale — this is not an empty-workflow repo test.
Checked: directory listing and workflow file reads (ci.yml present), plus docs/securityscan.md and PR body text. No counterevidence found; the body should be corrected to "repo that already has workflows" or clarify it is testing additive org-ruleset behavior, not empty-repo injection.
🔵 Issue 3 — Head branch name diverges from documented workflow
nit · identified by meta/muse-spark-1.2
Traceability and automation that filter on the documented branch prefix will miss this PR.
Evidence: AGENTS.md Workflow section directs "Work on a claude/* branch and open a pull request"; this PR head is test/openrouter-ruleset-smoke. No enforcement in ci.yml was found, so CI will still run, but any dashboard, CODEOWNERS automation, or human triage that assumes claude/* will misclassify this throwaway and the "do not merge" intent is not machine-readable.
Checked: AGENTS.md text, HEAD ref from review metadata, and ci.yml triggers (push/pull_request without branch filter). If test/* is intentional for smoke tests, the doc exception should be noted or the PR marked draft/with a do-not-merge label.
🔵 Issue 4 — Throwaway ruleset-test comment left in the repo front-page README if merged
README.md:72 · nit · identified by z-ai/glm-5.3-flash
If this PR is merged (despite the "do not merge" intent), README.md permanently carries <!-- ruleset smoke test: verifies the org-required OpenRouter review runs here; this PR will be closed without merging --> on the repository front page. The comment asserts a PR lifecycle state that becomes false the instant the merge lands, so every later reader sees a self-contradicting marker about an org ruleset experiment and someone has to open a cleanup PR to remove it.
The comment is appended after the License section (README.md line 72, following the blank line added on line 71). It is contributor scaffolding with no documentation value; the README is the repo's public entry point referenced by docs/securityscan.md and the package docs.
Checked the blast radius: no script, test, or doc inventories the root README (scripts/release-packages.mjs and tests/release-packages.test.ts only handle the package-level packages/health/README.md), and prettier --check accepts the added construct, so the only cost is the stale marker itself. Severity is low precisely because the PR states it will be closed without merging.
|
|
||
| MIT | ||
|
|
||
| <!-- ruleset smoke test: verifies the org-required OpenRouter review runs here; this PR will be closed without merging --> |
There was a problem hiding this comment.
🟠 Throwaway smoke-test HTML comment will ship as permanent README noise if merged (risk)
If this PR is accidentally merged, the hidden <!-- ruleset smoke test ... --> becomes permanent content on main and in the default branch README with no consumer value and no removal cue.
Evidence: README.md:72 adds <!-- ruleset smoke test: verifies the org-required OpenRouter review runs here; this PR will be closed without merging --> with a leading blank line. The PR title/body say "do not merge" / "Will be closed without merging" but the PR is not draft and has no label or branch protection in the diff that prevents merge — a maintainer misclick merges it. Root README.md is not part of the published packages/health tarball allowlist (scripts/release-packages.mjs:341,407 only allows packages/health/README.md), so no registry leak, but the repo docs are polluted and the comment is invisible in rendered Markdown, so it is easy to forget to remove later.
Checked: README.md at HEAD contains the comment; list_dir .github/workflows shows ci.yml, codeql.yml, publish.yml exist (so repo docs do matter); grep for README.md inventories shows no CI gate that would auto-reject the comment; package.json private root vs packages/health packaging confirms blast radius is docs-only. No proof gap — keep or close-without-merging resolves it; if the comment must land, delete it before merge.
|
|
||
| MIT | ||
|
|
||
| <!-- ruleset smoke test: verifies the org-required OpenRouter review runs here; this PR will be closed without merging --> |
There was a problem hiding this comment.
🔵 Throwaway ruleset-test comment left in the repo front-page README if merged (nit)
If this PR is merged (despite the "do not merge" intent), README.md permanently carries <!-- ruleset smoke test: verifies the org-required OpenRouter review runs here; this PR will be closed without merging --> on the repository front page. The comment asserts a PR lifecycle state that becomes false the instant the merge lands, so every later reader sees a self-contradicting marker about an org ruleset experiment and someone has to open a cleanup PR to remove it.
The comment is appended after the License section (README.md line 72, following the blank line added on line 71). It is contributor scaffolding with no documentation value; the README is the repo's public entry point referenced by docs/securityscan.md and the package docs.
Checked the blast radius: no script, test, or doc inventories the root README (scripts/release-packages.mjs and tests/release-packages.test.ts only handle the package-level packages/health/README.md), and prettier --check accepts the added construct, so the only cost is the stale marker itself. Severity is low precisely because the PR states it will be closed without merging.
|
Smoke test complete: the org ruleset injected the OpenRouter review workflow and it posted a review. Closing without merging. |
Throwaway PR to confirm the org ruleset "Require OpenRouter code review" injects the workflow from pegma-dev/.github into a repo with no workflow file of its own. Will be closed without merging.