Repository navigation
chore(package): add direct evidence verifier script - #9399
ShuaixinHuang wants to merge 1 commit into
Conversation
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. |
[Low impact] The change is limited to how operators start one package-verification check. The PR should not merge until the new command actually runs the evidence checks. Findings
Fix with agent prompt### Issue 1
package.json:undefined-268
`verify:package:evidence` runs a file that only exports `verifyPackageEvidence`; it never calls the function. After a successful build, the command exits successfully without checking the packaged evidence commands, so broken behavior goes unnoticed.
Point this command to a runnable driver that prepares the packaged CLI, environment, and temporary directories, calls the existing function, and cleans up.
---
For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.SummaryAdds
Reviews (2) · Last reviewed commit: "chore(package): add direct evidence veri..." · Reviewed by Greptile |
| "verify:fixtures": "npm run build:fixtures && node scripts/verify-conformance-fixtures.mjs", | ||
| "verify:readiness": "npm run build:cached && npm run verify:fixtures && node scripts/verify-reconstruction-readiness.mjs", | ||
| "verify:package": "npm run build:cached && node scripts/verify-package.mjs", | ||
| "verify:package:evidence": "npm run build:cached && node scripts/verify-package-evidence.mjs", |
There was a problem hiding this comment.
verify:package:evidence runs a file that only exports verifyPackageEvidence; it never calls the function. After a successful build, the command exits successfully without checking the packaged evidence commands, so broken behavior goes unnoticed.
Point this command to a runnable driver that prepares the packaged CLI, environment, and temporary directories, calls the existing function, and cleans up.
Prompt To Fix With AI
This is a comment left during a code review.
Path: package.json
Line: 268
Comment:
**Evidence checks never run**
`verify:package:evidence` runs a file that only exports `verifyPackageEvidence`; it never calls the function. After a successful build, the command exits successfully without checking the packaged evidence commands, so broken behavior goes unnoticed.
Point this command to a runnable driver that prepares the packaged CLI, environment, and temporary directories, calls the existing function, and cleans up.
---
For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 4bbfaea3cf
ℹ️ 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".
| "verify:fixtures": "npm run build:fixtures && node scripts/verify-conformance-fixtures.mjs", | ||
| "verify:readiness": "npm run build:cached && npm run verify:fixtures && node scripts/verify-reconstruction-readiness.mjs", | ||
| "verify:package": "npm run build:cached && node scripts/verify-package.mjs", | ||
| "verify:package:evidence": "npm run build:cached && node scripts/verify-package-evidence.mjs", |
There was a problem hiding this comment.
Invoke the evidence verifier from a runnable entry point
After build:cached succeeds, this command exits successfully without running any evidence checks: scripts/verify-package-evidence.mjs only exports verifyPackageEvidence and never invokes it. The actual invocation in scripts/verify-package.mjs:196–203 supplies the command runner, installed CLI, fixture paths, and environment that the function requires. Consequently, broken historical-reference imports or evidence import/export/comparison workflows still pass this new focused check. Add a standalone runner that prepares the required context and awaits the verifier instead of executing the helper module directly.
AGENTS.md reference: AGENTS.md:L105-L105
Useful? React with 👍 / 👎.
|
Consolidating this related verifier-entry change into a single batch PR as requested. |
|
Hi @ShuaixinHuang, thank you for your interest in contributing to REA. I’m closing this PR along with your recent submissions because the volume has become difficult for the maintainers to review, particularly the many separate one-line PRs without linked issues. We receive Greptile and Codex usage through open-source programs and/or our personal subscriptions, and each PR consumes some of that limited review capacity. A large stream of small, uncoordinated PRs can exhaust it as well as the maintainers’ time. Please open or discuss an issue first, explain the problem and proposed change, and group related changes into a focused PR when appropriate. Please pause the stream of individual PRs while we coordinate scope. If this continues, we may need to restrict PR submissions again to established users, and in extreme cases block accounts. We appreciate your understanding and hope to work together on scoped contributions. |
Summary
Add
verify:package:evidenceas a direct package-script entry for the existing package evidence verifier. The aggregateverify:packageflow remains unchanged.Validation
git diff --checkbuild:cached