Skip to content

chore(package): add direct evidence verifier script - #9399

Closed
ShuaixinHuang wants to merge 1 commit into
morluto:mainfrom
ShuaixinHuang:chore/package-evidence-verifier
Closed

ShuaixinHuang wants to merge 1 commit into
morluto:mainfrom
ShuaixinHuang:chore/package-evidence-verifier

Conversation

@ShuaixinHuang

Copy link
Copy Markdown
Contributor

Summary

Add verify:package:evidence as a direct package-script entry for the existing package evidence verifier. The aggregate verify:package flow remains unchanged.

Validation

  • git diff --check
  • Package script resolves to the existing verifier after build:cached

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 8, 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-08T16:51:57.650595Z 4bbfaea 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.

@greptile-apps

greptile-apps Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 4/5

[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

  1. P1 Evidence checks never run ▶
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.

Summary

Adds verify:package:evidence to package.json, leaving verify:package unchanged.

  • Package evidence checks can run through their own script.

Reviews (2) · Last reviewed commit: "chore(package): add direct evidence veri..." · Reviewed by Greptile

Comment thread package.json
"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",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

P1 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.

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.

@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: 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".

Comment thread package.json
"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",

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge 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 👍 / 👎.

Copy link
Copy Markdown
Contributor Author

Consolidating this related verifier-entry change into a single batch PR as requested.

@morluto

morluto commented Nov 8, 2026 •

Copy link
Copy Markdown
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: setup Setup, packaging, upgrade, install, Doctor, and client registration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants