Skip to content

Harden published verification and record 5.4.0 release#69

Merged
hannsxpeter merged 1 commit into
mainfrom
codex/fix-published-verifier-5.4.0
Jul 13, 2026
Merged

Harden published verification and record 5.4.0 release#69
hannsxpeter merged 1 commit into
mainfrom
codex/fix-published-verifier-5.4.0

Conversation

@hannsxpeter

Copy link
Copy Markdown
Owner

Summary

  • install the exact registry package into an isolated prefix for published verification
  • prevent ambient global godpowers binaries from contaminating the proof
  • record published GitHub, npm, provenance, integrity, and install evidence
  • refresh managed state views, checkpoint, Pillars, and release documentation

Verification

  • node scripts/verify-published-install.js godpowers@5.4.0
  • node scripts/test-quick-proof.js
  • npm run lint
  • npm run test:self-truth
  • all repository freshness detectors

@hannsxpeter hannsxpeter merged commit c85f89d into main Jul 13, 2026
4 checks passed
@hannsxpeter hannsxpeter deleted the codex/fix-published-verifier-5.4.0 branch July 13, 2026 08:13

@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: 4348b078e9

ℹ️ 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".

], { env });
const cli = path.join(installRoot, 'node_modules', 'godpowers', 'bin', 'install.js');
assertExists(cli, `published CLI missing after isolated install: ${cli}`);
const runPublished = (args) => run(process.execPath, [cli, ...args], { env });

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 Exercise the installed npm bin shim

When this verifier is run after publishing, invoking node .../bin/install.js bypasses the package manager's bin resolution. I checked npx --help, it runs a command from a local or remote npm package, so a published tarball with a missing or wrong bin.godpowers entry, or a broken .bin/godpowers shim, can still pass because bin/install.js exists. Please run the installed .bin/godpowers or npm exec --package=${spec} -- godpowers ... for at least one command before recording the release as verified.

Useful? React with 👍 / 👎.

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