Repository navigation
Prepare selected-package releases for DynamoDB activation - #9
Conversation
|
OpenRouter review posted ( |
|
@codex review |
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. |
|
@codex security review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: bb2104ae89
ℹ️ 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".
🛡️ Codex Security ReviewSecurity review completed. No security issues were found in this pull request. Reviewed commit: Only the user who started this review can view the report in Codex. ℹ️ About Codex security reviews in GitHubThis is an experimental Codex feature. Security reviews are triggered when:
Once complete, Codex will leave suggestions, or a comment if no findings are found. |
There was a problem hiding this comment.
OpenRouter pull-request review
Verdict: issues
Scope: full-pr (full-pr)
Mode: initial
Commit: bb2104ae89ddfc1322e3b76cd70cddda2f102af8
Judge: openai/gpt-5.6-luna
Cost: $0.6557 (lanes $0.6492 + judge $0.0065)
Lanes
openai/gpt-6.1-sol: ok (6 finding(s), 139.1s, 660019+5839 tokens (532881 cached), 6 tool round(s), via Azure, $0.47)z-ai/glm-5.3-flash: ok (7 finding(s), 609.2s, 3799076+86200 tokens (3579904 cached), 28 tool round(s), via InferenceNet, $0.18)
Warning
z-ai/glm-5.3-flash: coverage claims 2 finding(s) in 'scripts/release-packages.mjs' but 3 were reported
Warning
z-ai/glm-5.3-flash: coverage claims 3 finding(s) in 'scripts/release-registry-verify.mjs' but 2 were reported
Findings
🟠 Issue 1 — Historical writer checks bypassed for every reused package
scripts/release-registry-verify.mjs:796 · risk · identified by openai/gpt-6.1-sol
Preparation and preflight can qualify all three reused packages without checking their original publishing jobs or certificate/job time overlap. An unavailable or inconsistent historical writer therefore does not stop reuse, and the retained publishing-jobs.json is empty.
verifyPublishingJobs filters facts against the new release's tag and commit. Core/Azure v0.4.0 and D1 v0.4.1 necessarily fail that filter during v0.4.3, causing an immediate return before any GitHub API request. Group and validate historical facts using each fact's original run, attempt, tag and commit instead.
I checked verifyReusedPackages, preflightRegistry, verifyRegistryRelease and verifyProvenanceAudit. The cryptographic claim validator does check the pinned historical invocation, but no other caller performs the independent historical job checks described in the release runbook.
🔴 Issue 2 — Clean local preparation invalidates its own checkout
scripts/release-packages.mjs:833 · bug · identified by openai/gpt-6.1-sol
Running pnpm release:pack -- --require-clean with the default output fails after successful registry verification because the producer itself creates an untracked proof directory in the checkout.
The default output is .release, but reuse proof is written to .release-reuse-verification. Only .release/ is ignored. The following assertSource() sees that new directory and throws release working source changed during preparation. The default smoke proof directory, .release-consumer-verification, has the same problem at the later clean-source assertion.
I checked .gitignore and both proof-directory creation paths. The workflow avoids this by explicitly using RUNNER_TEMP, but the supported local default does not. Put local proof outside the checkout or ignore the exact generated proof directories.
🟠 Issue 3 — Reuse policy cannot accommodate the next independent adapter release
scripts/release-registry-verify.mjs:77 · risk · identified by openai/gpt-6.1-sol
After DynamoDB 0.4.3 is published, preparing the documented independent D1 0.4.4 release fails because unselected DynamoDB has no admissible reuse-policy entry. Adding its reviewed pin to the JSON alone cannot fix the failure.
loadReusePolicy requires exactly three entries with fixed names Core, Azure and D1. The inline publisher independently requires exactly three policy entries too. Meanwhile, prepareRelease requires a reuse entry for every unselected workspace, including DynamoDB. This limits the supposedly selected-package release path to releases that select DynamoDB.
I checked the selection loop, policy validator, inline publisher and the later D1 release described in docs/RELEASING.md. No DynamoDB reuse path exists. Allow reviewed pins for all release packages and validate the required unselected subset rather than freezing the policy to these three roots.
🔴 Issue 4 — Fixture README fails the formatting gate
tests/fixtures/release-registry/README.md:5 · bug · identified by openai/gpt-6.1-sol
pnpm run format:check will reject the new fixture README, blocking both ordinary CI and the release validation lanes.
Its Markdown table has different column padding between the header, separator and data rows. Prettier normalizes that table, so the committed file is not its formatted output.
I checked the root format:check command, .prettierignore, and both workflows. The command is prettier --check ., and this README is not excluded. Apply the repository formatter to the fixture documentation.
🟠 Issue 5 — Critical orchestration paths lack executable regression coverage
tests/release-packages.test.ts:741 · risk · identified by openai/gpt-6.1-sol
The producer could resume packing unselected source, or the verifier's successful preflight/consumer orchestration could break, while the new release tests remain green. These are central behaviors of this change, but the tests do not invoke them.
The test named verifies exactly three pinned originals and one source candidate without rebuilding the originals constructs the complete manifest and archives itself, then calls only verifyPreparedManifest. It cannot detect a regression in prepareRelease. More broadly:
- No test calls
prepareRelease. - The sole
preflightRegistrytest stops at the first reused-package404, before npm verification or receipt creation. - No test calls
runPublicConsumerorverifyRegistryRelease. - Publisher tests execute the extracted environment filter, but otherwise inspect strings rather than exercising publication decisions.
I searched tests/ for these callers and checked the provided fetch/run seams. Parser and pure claim-validator coverage is substantial, but it does not cover successful orchestration, tool authentication failures, receipt generation, or unknown-outcome recovery. Add executable tests at these boundaries; genuine live cryptographic acceptance can remain a separate activation gate.
🔵 Issue 6 — AWS assignment document still advertises the registration-only version
docs/AWS_ADAPTER.md:7 · nit · identified by openai/gpt-6.1-sol
A maintainer following the AWS adapter document is still directed to advertise runtime version 0.4.2, which this PR reserves for an archive with no runtime exports.
Both the status section and Versioning and publish section of docs/AWS_ADAPTER.md identify 0.4.2 as the adapter's first advertised publication. The changed package README and AGENTS.md link readers to this document, while the package manifest and release runbook now designate 0.4.3 as the first runtime candidate.
I searched the repository for 0.4.2; these two current statements remain contradictory. Update them to distinguish registration-only 0.4.2 from runtime candidate 0.4.3, without asserting that either has already been published.
🟠 Issue 7 — Sigstore OIDC-issuer certificate extension OID constant (1.3.6.1.4.1.57264.1.1) does not match Fulcio's documented issuer OID (1.3.6.1.4.1.57234.1.1) — genuine attestations will be rejected, or the pi
scripts/release-registry-verify.mjs:640 · risk · identified by z-ai/glm-5.3-flash
On the first real release, verifyProvenanceAudit calls certificateIssuer, which accepts a certificate only when one extension has OID bytes exactly 2b0601040183bf300101. That DER content decodes (base-128: 0x83,0xBF,0x30 → 3·16384 + 63·128 + 48 = 57264) to 1.3.6.1.4.1.57264.1.1. Fulcio/sigstore document the OIDC-issuer extension as 1.3.6.1.4.1.57234.1.1 (encoded 2b0601040183bf120101), which is the OID npm-issued provenance certificates carry. If that is right, the first genuine npm audit signatures --include-attestations run in the prepare job's verifyReusedPackages (and equally in preflight and verify) fails with "invalid provenance certificate" for every one of the three reused packages, and the whole selected-source release scheme is unusable until the constant is fixed.
The counterevidence is that tests/release-registry.test.ts supposedly passes against tests/fixtures/release-registry/core040-slsa.json, so the fixture must agree with the code — and decoding the fixture's extension headers confirms it: the base64 fragment BgorBgEEAYO/MAEB decodes to 06 0a 2b 06 01 04 01 83 bf 30 01 01, i.e. the fixture certificate itself carries the 57264-family arc for all its sigstore extensions (MAEB/MAEC/MAED/…). That means either (a) my reference OID is wrong and everything is consistent, or (b) the fixture certificate is not the "genuine public SLSA attestation entry" that tests/fixtures/release-registry/README.md claims it is (it also declares Sigstore bundle mediaType v0.3 while using the legacy verificationMaterial.certificate.rawBytes shape), in which case the pure validator has never been exercised against a real Fulcio certificate and the README/test provenance claim is false.
Proof gap: I cannot execute npm or decode the binary fixtures here, so I cannot determine which side is wrong. The fixer should verify the issuer-extension OID against sigstore/fulcio's published OID table and against a freshly downloaded attestation for @pegma/storage-core@0.4.0 before merging; if the real OID is 57234, fix line 640 (and regenerate the fixture honestly or relabel it as synthetic).
🟠 Issue 8 — Final verify job calls api.github.com unauthenticated with no User-Agent header — 403s will turn every successful publication's final gate red
scripts/release-registry-verify.mjs:786 · risk · identified by z-ai/glm-5.3-flash
Scenario: the publish job succeeds (packages are on npm), then the verify job runs verifyRegistryRelease → verifyPublishingJobs → githubJson("actions/runs/…"). GitHub's REST API rejects requests without a User-Agent header with 403, and Node's global fetch (undici) sends no default User-Agent; request() (line ~137) sends only accept: application/json. Result: "publishing workflow identity is unavailable" after the packages are already published, leaving the release workflow red and the retained proof incomplete on every release. Separately, these calls are unauthenticated, so they are subject to the 60-requests/hour per-IP limit, and GitHub-hosted runners share egress IPs — transient 403 rate-limit responses are realistic even if the header is added.
Mechanism: githubJson is the only caller path, reached once per verify run plus once per distinct attestation attempt; the prepare-stage reuse verification is correctly guarded (verifyPublishingJobs returns early when there are no source facts), so this only bites the job that runs after publication.
What I checked: request() builds headers from a fixed literal (no UA), there is no proxy/token plumbing for api.github.com anywhere in the script, and the verify job grants only contents: read with no GITHUB_TOKEN wired into the script. If undici does send a default UA in the pinned Node 24.18.0, the UA half of this is void — but the unauthenticated shared-IP rate-limit exposure remains; sending an explicit User-Agent (or an app-scoped read-only token) is cheap insurance either way.
🟠 Issue 9 — Release-critical strict-equality checks depend on npm tool behavior that has never been executed; any mismatch fails the first tagged release
scripts/release-packages.mjs:868 · risk · identified by z-ai/glm-5.3-flash
Scenario: the maintainer tags v0.4.3 and creates the release; the prepare job runs the new schema-2 path for the first time ever (the PR body explicitly lists "actual approved-tag preparation" as a remaining activation gate) and fails on one of these unexercised assumptions. Each is fail-safe (nothing bad publishes), but the release is blocked after the tag exists and can only be diagnosed by re-running CI.
scripts/release-packages.mjs:862-868: afternpm pack,sameJson(inspected.package, manifest)requires the tarball'spackage.jsonto be deep-equal to the workspace file including JSON key order. If npm's pack pipeline normalizes, reorders, or adds anything to the packaged manifest, preparation fails with "source tarball differs from its reviewed metadata". No test covers a realnpm pack; the schema-1 code only compared the packed file list and hashes, so this equality is newly load-bearing.scripts/release-registry-verify.mjs:539-540:npmContextrequires the Node-distribution-bundled npm tree to be byte-identical (and symlink-free, pertreeFiles) to the pinnednpm-11.18.0.tgz. Any packaging difference between Node 24.18.0's bundled npm and the published npm tarball (an added.binsymlink, pruned file, etc.) fails every prepare/smoke/preflight/verify job with "npm tool files differ from the pinned official release" — and the same check also hard-fails if npm's own published tarball contains any symlink.scripts/release-registry-verify.mjs:919-946+verifyProvenanceAudit: the code assumes a specificnpm audit signatures --json --include-attestationsoutput shape (invalid/missing/verifiedentries withattestationBundles[].bundle.verificationMaterial.certificate.rawBytesanddsseEnvelope). If the real output nests or names these differently, the whole reuse verification fails.
What I checked: the new tests exercise these validators only with stubbed npm output and hand-built tarballs; no test or CI lane executes npm pack on a real package, extracts the real npm tool, or runs the real audit. Suggest validating each assumption once (e.g., a fixture built by real npm pack, a recorded real audit output) or relaxing the order-sensitive comparison to a canonical-keyed comparison where byte identity is not the intent.
🔵 Issue 10 — docs/AWS_ADAPTER.md still says 0.4.2 is the adapter's first advertised publication — now contradicted by this PR's version bump and registration plan
docs/AWS_ADAPTER.md:7 · nit · identified by z-ai/glm-5.3-flash
Scenario: a maintainer following the docs during the registration/activation sequence reads that "The first advertised publication is package version 0.4.2" and "The package's first advertised version is 0.4.2 because repository-wide tags v0.4.0 and v0.4.1 already exist" (lines 7 and 77). This PR repoints the workspace to 0.4.3, reserves 0.4.2 for a registration-only non-SDK archive, and says the first trusted runtime publication is 0.4.3 — and it updated AGENTS.md and packages/storage-dynamodb/README.md accordingly, but left this assignment-record document stale. The two documents now give contradictory instructions about the same release, which is exactly the kind of provenance confusion the PR's own AGENTS.md rules forbid ("Do not claim registration or release before its actual registry evidence").
Evidence: docs/AWS_ADAPTER.md:7 and docs/AWS_ADAPTER.md:77 were not touched by this PR (not in the changed paths), while packages/storage-dynamodb/package.json now says 0.4.3 and AGENTS.md:94 says 0.4.2 is registration-only.
🔵 Issue 11 — AGENTS.md keeps the stale claim that the preparation job runs the gate and packs the exact artifacts
AGENTS.md:73 · nit · identified by z-ai/glm-5.3-flash
Scenario: an agent or maintainer reading AGENTS.md's workflow section is told "The unprivileged preparation job runs the gate and packs the exact artifacts" — after this PR the gate (format:check, check, pnpm test, release:check) runs in a separate validate matrix job that prepare depends on, and preparation no longer packs every package: it packs only the tag-selected package and downloads pinned original registry archives for the rest. The immediately following new paragraphs ("Schema 2 packs only selected source packages…") contradict the unchanged sentence above them in the same section.
Evidence: AGENTS.md:73-75 is unchanged text adjacent to this PR's added paragraphs; .github/workflows/publish.yml now has the validate job carrying the gate and prepare only packing the selected source. The PR edits this exact region, so the leftover sentence looks like an oversight rather than a deliberate description.
🔵 Issue 12 — Second local pnpm release:pack run always crashes with EEXIST on leftover sibling proof directories
scripts/release-packages.mjs:912 · nit · identified by z-ai/glm-5.3-flash
Scenario: a developer runs pnpm release:pack locally, deletes .release (the only directory the script itself complains about), and runs it again — the second run dies with an unhandled EEXIST before doing any work. The reuse-verification proof directory .release-reuse-verification is created via freshProof (mkdir(path, { recursive: false }), scripts/release-registry-verify.mjs:868-875) and the consumer-proof directory .release-consumer-verification via plain mkdir (scripts/release-packages.mjs:912-913); both are siblings of .release, are never cleaned by prepareRelease, and are outside the .release directory the "output must be empty" check steers the operator to clear. The old flow created no such sibling state, so the local prepare loop regressed from re-runnable to one-shot per working tree. The same flag: "wx" pattern in smokePreparedRelease's verification.json write fails the same way on a re-used --output directory.
Evidence: prepareRelease only requires the output directory itself to be empty; nothing removes *-reuse-verification/*-consumer-verification. CI is unaffected (fresh RUNNER_TEMP per job), which is why the tests and lanes did not surface it.
🔵 Issue 13 — exportSpecifiers is now dead code after smokeTestTarballs was removed
scripts/release-packages.mjs:396 · nit · identified by z-ai/glm-5.3-flash
Scenario: future readers editing the release script find exportSpecifiers (and its helper exportTargets is still used, but exportSpecifiers itself is not) and assume the smoke path still consumes it. Its only caller, smokeTestTarballs, was deleted in this PR; a repo-wide grep finds no remaining reference. Harmless at runtime (plain JS is not linted for unused locals), but it is leftover surface in a security-sensitive script that this PR otherwise keeps tight.
Evidence: grep for exportSpecifiers across the repository matches only its definition at scripts/release-packages.mjs:396; the exports-consuming logic now lives in release-registry-verify.mjs (inspectReleaseTarball).
|
|
||
| These immutable public MIT package archives were downloaded from the official npm registry. They are parser and archive test inputs, not a claim that unit tests authenticate their signatures. | ||
|
|
||
| | File | Source URL | SHA256 | |
There was a problem hiding this comment.
🔴 Fixture README fails the formatting gate (bug)
pnpm run format:check will reject the new fixture README, blocking both ordinary CI and the release validation lanes.
Its Markdown table has different column padding between the header, separator and data rows. Prettier normalizes that table, so the committed file is not its formatted output.
I checked the root format:check command, .prettierignore, and both workflows. The command is prettier --check ., and this README is not excluded. Apply the repository formatter to the fixture documentation.
There was a problem hiding this comment.
The predicted R1 formatting failure is contradicted by the exact reviewed head's completed Check formatting steps on Node 22 and Node 24. The R1 fixture README SHA256 was 41c128401d6863d56fa0c12c966ab333224785ae0a6e02917a6bfa8fa5348fdc, matching the retained formatted-file check. The fix snapshot also passes formatting. No code change is attributed to this claimed failure; leaving the counterevidence visible.
There was a problem hiding this comment.
The formatting allegation remains contradicted by actual formatter execution: both Node 22 and Node 24 passed Check formatting at 99a83d2. Both actual Node 22.18.0 and 24.18.0 format/type gates also pass on final candidate 5ae379f.
The fixture README is unchanged by this R3 follow-up; no formatting fix is being invented. The actual five-expression GitHub workflow-context failure is addressed separately. Full 319-case gates passed on the earlier fa830ec release-fix snapshot; on final 5ae379f, focused DynamoDB 59-case and genuine packed-consumer 39-case runs pass on both Nodes, while fresh complete 319-case CI for the final head remains required.
| if (value.tag === 0x01) value = derValue(extension.value, value.end); | ||
| if (extension.tag !== 0x30 || oid.tag !== 0x06 || value.tag !== 0x04) | ||
| fail("invalid provenance certificate"); | ||
| if (oid.value.toString("hex") === "2b0601040183bf300101") { |
There was a problem hiding this comment.
🟠 Sigstore OIDC-issuer certificate extension OID constant (1.3.6.1.4.1.57264.1.1) does not match Fulcio's documented issuer OID (1.3.6.1.4.1.57234.1.1) — genuine attestations will be rejected, or the pi (risk)
On the first real release, verifyProvenanceAudit calls certificateIssuer, which accepts a certificate only when one extension has OID bytes exactly 2b0601040183bf300101. That DER content decodes (base-128: 0x83,0xBF,0x30 → 3·16384 + 63·128 + 48 = 57264) to 1.3.6.1.4.1.57264.1.1. Fulcio/sigstore document the OIDC-issuer extension as 1.3.6.1.4.1.57234.1.1 (encoded 2b0601040183bf120101), which is the OID npm-issued provenance certificates carry. If that is right, the first genuine npm audit signatures --include-attestations run in the prepare job's verifyReusedPackages (and equally in preflight and verify) fails with "invalid provenance certificate" for every one of the three reused packages, and the whole selected-source release scheme is unusable until the constant is fixed.
The counterevidence is that tests/release-registry.test.ts supposedly passes against tests/fixtures/release-registry/core040-slsa.json, so the fixture must agree with the code — and decoding the fixture's extension headers confirms it: the base64 fragment BgorBgEEAYO/MAEB decodes to 06 0a 2b 06 01 04 01 83 bf 30 01 01, i.e. the fixture certificate itself carries the 57264-family arc for all its sigstore extensions (MAEB/MAEC/MAED/…). That means either (a) my reference OID is wrong and everything is consistent, or (b) the fixture certificate is not the "genuine public SLSA attestation entry" that tests/fixtures/release-registry/README.md claims it is (it also declares Sigstore bundle mediaType v0.3 while using the legacy verificationMaterial.certificate.rawBytes shape), in which case the pure validator has never been exercised against a real Fulcio certificate and the README/test provenance claim is false.
Proof gap: I cannot execute npm or decode the binary fixtures here, so I cannot determine which side is wrong. The fixer should verify the issuer-extension OID against sigstore/fulcio's published OID table and against a freshly downloaded attestation for @pegma/storage-core@0.4.0 before merging; if the real OID is 57234, fix line 640 (and regenerate the fixture honestly or relabel it as synthetic).
There was a problem hiding this comment.
The existing 57264 constant is correct. Fulcio's official OID directory defines 1.3.6.1.4.1.57264.1.1 as the legacy issuer extension; the proposed 57234 replacement is incorrect. The fixture's issuer extension therefore supports, rather than contradicts, its genuine origin.
Actual npm 11.18.0 signature/Sigstore verification on Linux passed with the unchanged constant for all three reused registry roots, and retained target certificates identify https://token.actions.githubusercontent.com. The parser fixtures remain labeled claim-parser inputs; scripted unit audit output is not represented as cryptographic verification. No OID or certificate was changed to satisfy this premise.
| } | ||
| async function githubJson(path, seams, output, filename) { | ||
| const response = await request( | ||
| "https://api.github.com/repos/" + RELEASE_REPOSITORY + "/" + path, |
There was a problem hiding this comment.
🟠 Final verify job calls api.github.com unauthenticated with no User-Agent header — 403s will turn every successful publication's final gate red (risk)
Scenario: the publish job succeeds (packages are on npm), then the verify job runs verifyRegistryRelease → verifyPublishingJobs → githubJson("actions/runs/…"). GitHub's REST API rejects requests without a User-Agent header with 403, and Node's global fetch (undici) sends no default User-Agent; request() (line ~137) sends only accept: application/json. Result: "publishing workflow identity is unavailable" after the packages are already published, leaving the release workflow red and the retained proof incomplete on every release. Separately, these calls are unauthenticated, so they are subject to the 60-requests/hour per-IP limit, and GitHub-hosted runners share egress IPs — transient 403 rate-limit responses are realistic even if the header is added.
Mechanism: githubJson is the only caller path, reached once per verify run plus once per distinct attestation attempt; the prepare-stage reuse verification is correctly guarded (verifyPublishingJobs returns early when there are no source facts), so this only bites the job that runs after publication.
What I checked: request() builds headers from a fixed literal (no UA), there is no proxy/token plumbing for api.github.com anywhere in the script, and the verify job grants only contents: read with no GITHUB_TOKEN wired into the script. If undici does send a default UA in the pinned Node 24.18.0, the UA half of this is void — but the unauthenticated shared-IP rate-limit exposure remains; sending an explicit User-Agent (or an app-scoped read-only token) is cheap insurance either way.
There was a problem hiding this comment.
The guaranteed-403 premise is false for the pinned runtime. Node 24.18.0's fetch defines a default User-Agent and adds it when absent. The current Linux prequalification also completed the production verifier's actual anonymous historical run/job requests without injected responses or GH credentials.
The separate 60 requests/hour per-IP anonymous limit is a real conditional availability risk, not proof that every release fails. Non-200/unknown responses still fail closed. No new authentication or publisher authority was added; leaving this distinction visible.
|
Review-body-only findings at 99a83d2: r1-6 Fixed in 99a83d2, together with duplicate r1-10. Both the status and versioning section now identify 0.4.2 as metadata-only registration, never an SDK/host input, and 0.4.3 as the unpublished first trusted runtime candidate. Neither section claims registration or runtime publication has occurred. r1-10 Addressed by the same 99a83d2 documentation change as r1-6. Both current AWS sections distinguish registration-only 0.4.2 from the unpublished 0.4.3 runtime candidate; the versioning section preserves the required trusted publication gates. This is one underlying correction, tracked under both canonical IDs. r1-11 Fixed in 99a83d2. AGENTS.md now says the Node 22/24 unprivileged validation jobs run the gates and preparation depends on that validation plus signed-source identity checks. It also states that preparation packs selected source and retains independently pinned original archives for unselected packages. OIDC remains limited to the minimal publisher. r1-13 Fixed in 99a83d2 by removing the unused exportSpecifiers definition. The still-used exportTargets helper remains. No release behavior or validation was relaxed. |
There was a problem hiding this comment.
OpenRouter pull-request review
Verdict: issues
Scope: latest-commit (commit-range)
Mode: verify
Commit: 99a83d2e484b72e7dbe9f05b7b772c57be6770b2
Judge: openai/gpt-5.6-luna
Cost: $0.2919 (lanes $0.2918 + judge $0.0001)
Lanes
openai/gpt-6.1-sol: ok (0 finding(s), 50.7s, 255620+2140 tokens (195116 cached), 4 tool round(s), via Azure, $0.21)z-ai/glm-5.3-flash: ok (0 finding(s), 416.3s, 1048874+59225 tokens (801664 cached), 11 tool round(s), via Particle AI, $0.0804)
Round 2 resolution
- ✅
r1-2fixed correctly — Clean local preparation invalidates its own checkout: Both default proof siblings are now explicitly ignored in.gitignore. The new tests check Git cleanliness with retained artifacts and executeprepareRelease({ requireClean: true })through controlled orchestration successfully. Fresh-output admission also preserves earlier evidence rather than deleting it. - ❌
r1-4not fixed — Fixture README fails the formatting gate: The original table still has inconsistent column padding, and the newly added fixture table has the same problem.format:checkremainsprettier --check .;.prettierignoreexcludes onlypnpm-lock.yaml. Both ordinary CI and release validation still run this formatting gate, so the fixture README remains a blocker. - ✅
r1-1fixed correctly — Historical writer checks bypassed for every reused package:verifyPublishingJobsnow groups every authenticated fact by its original commit, tag, run and attempt instead of filtering against the candidate release. It validates each original run, publishing job and publishing-step certificate overlap, with explicit bindings for the two historical publishers. All registry-verification callers use the updated function, and tests exercise both historical run… - ✅
r1-3fixed correctly — Reuse policy cannot accommodate the next independent adapter release: Both the module validator and inline publisher now accept unique, canonically ordered policy subsets covering up to all four workspaces, including DynamoDB. Preparation separately requires an approved matching entry for every unselected workspace. A future independently reviewed DynamoDB pin can therefore be added without changing the validators; no unpublished pin is fabricated by this commit. ⚠️ r1-5fixed incorrectly — Critical orchestration paths lack executable regression coverage: Executable coverage now invokesprepareRelease, successful preflight, producer consumer orchestration, and the actual inline publisher with controlled external tools. However, the onlyverifyRegistryReleasetest still exits atcomplete release is not visible. The successful registry-only consumer path, subsequent retained-proof hash checks, and final qualification receipt remain unexecuted. …- 🤝
r1-7disputed — Sigstore OIDC-issuer certificate extension OID constant (1.3.6.1.4.1.57264.1.1) does not match Fulcio's documented issuer OID (1.3.6.1.4.1.57234.1.1) — genuine: The original OID objection is incorrect: Fulcio uses the1.3.6.1.4.1.57264extension namespace. The retained public Core, Azure and D1 certificates contain the issuer-extension encoding2b0601040183bf300101, which the current parser recognizes. Changing it to the proposed57234encoding would reject these genuine fixtures. - 🤝
r1-8disputed — Final verify job calls api.github.com unauthenticated with no User-Agent header — 403s will turn every successful publication's final gate red: The claimed inevitable missing-User-Agent failure is invalid: Node's global fetch implementation supplies a defaultUser-Agent: undici. These public GitHub API calls remain unauthenticated and subject to the lower anonymous rate limit, but that is an availability limitation rather than evidence that every post-publication gate necessarily receives a 403. ⚠️ r1-9fixed incorrectly — Release-critical strict-equality checks depend on npm tool behavior that has never been executed; any mismatch fails the first tagged release: The default npm verifier no longer compares a host-installed npm tree containing legitimate extra links against the archive: it authenticates and extracts the pinned official archive and selects its owned CLI. That addresses one concrete tool-layout assumption. Nevertheless, the new successful pipeline stubsnpm pack, installation, audit and consumer execution, so it does not establish real tarb…- 5 nit finding(s) from earlier rounds retired (severity floor for follow-up rounds is
risk). - Open findings after this round: 3 (1 bug-severity).
No structured findings from the successful lane(s).
|
@codex review |
|
@codex security review |
|
Codex Review: Didn't find any major issues. Keep them coming! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
🛡️ Codex Security ReviewSecurity review completed. No security issues were found in this pull request. Reviewed commit: Only the user who started this review can view the report in Codex. ℹ️ About Codex security reviews in GitHubThis is an experimental Codex feature. Security reviews are triggered when:
Once complete, Codex will leave suggestions, or a comment if no findings are found. |
|
@codex review |
|
@codex security review |
|
Codex Review: Didn't find any major issues. Nice work! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
There was a problem hiding this comment.
OpenRouter pull-request review
Verdict: clean
Scope: latest-commit (commit-range)
Mode: verify
Commit: 5ae379f50bc79b3358e3b324a8ac7c0dfaaced1d
Judge: openai/gpt-5.6-luna
Cost: $0.1528 (lanes $0.1527 + judge $0.0001)
Lanes
openai/gpt-6.1-sol: ok (0 finding(s), 38.0s, 115845+1482 tokens (81216 cached), 4 tool round(s), via Azure, $0.12)z-ai/glm-5.3-flash: ok (0 finding(s), 239.0s, 1319714+32411 tokens (1110528 cached), 27 tool round(s), via PrimeIntellect, $0.0322)
Round 3 resolution
- 🤝
r1-4disputed — Fixture README fails the formatting gate: The fixing response supplies completed formatting-gate results for the originally reviewed head and identifies the retained fixture README digest. No formatter counterexample was established, and no formatting change is attributed to this finding. I checked the current README and formatting command; the apparent table padding alone does not overturn that execution evidence. - ✅
r1-5fixed correctly — Critical orchestration paths lack executable regression coverage: The current tests invoke the actualprepareRelease, successfulpreflightRegistry, public-consumer orchestration, and extracted inline publisher. They assert selected-only packing, retained original archives and receipts, fresh-output retries, and skip/publish/drift decisions.
The latest additions also exercise successful registry-only final-receipt orchestration and consumer, audit, lock, and…
- ✅
r1-9fixed correctly — Release-critical strict-equality checks depend on npm tool behavior that has never been executed; any mismatch fails the first tagged release: The default verifier now authenticates and executes its owned official npm archive instead of comparing a host-bundled installation against the archive tree. Regression tests cover that selection and refusal of changed tool bytes.
The fixing evidence reports genuine Linux verification for all three reused roots, and the latest response reports actual final-source development build/pack and mixed-…
- Open findings after this round: 0 (0 bug-severity).
No structured findings from the successful lane(s).
🛡️ Codex Security ReviewSecurity review completed. No security issues were found in this pull request. Reviewed commit: Only the user who started this review can view the report in Codex. ℹ️ About Codex security reviews in GitHubThis is an experimental Codex feature. Security reviews are triggered when:
Once complete, Codex will leave suggestions, or a comment if no findings are found. |
There was a problem hiding this comment.
OpenRouter pull-request review
Verdict: issues
Scope: full-pr (full-pr)
Mode: verify
Commit: 5ae379f50bc79b3358e3b324a8ac7c0dfaaced1d
Judge: openai/gpt-5.6-luna
Cost: $0.6142 (lanes $0.6132 + judge $0.0010)
Lanes
openai/gpt-6.1-sol: ok (0 finding(s), 53.3s, 586664+2088 tokens (431091 cached), 4 tool round(s), via Azure, $0.50)z-ai/glm-5.3-flash: ok (1 finding(s), 500.0s, 2999062+67512 tokens (2743616 cached), 20 tool round(s), via CoreWeave, $0.11)
Round 4 resolution
- No prior findings were open.
- Open findings after this round: 1 (0 bug-severity).
Findings
🟠 Issue 1 — Release consumer executes an unpinned, unauthenticated @aws-sdk/client-dynamodb range
scripts/release-registry-verify.mjs:1198 · risk · identified by z-ai/glm-5.3-flash
runPublicConsumer builds the isolated consumer's package.json with dependencies["@aws-sdk/client-dynamodb"] = dynamo.package.dependencies["@aws-sdk/client-dynamodb"], which is the adapter's floating caret range ^3.1097.0 from packages/storage-dynamodb/package.json. Every publication therefore executes whatever the public registry currently serves for that range inside two mandatory release gates: the workflow smoke job and the final verify job's postflight consumer.
This is the one executed input in the new pipeline that is neither digest-pinned nor provenance-authenticated. The npm 11.18.0 CLI tool is pinned by SHA-256 and tree-compared before execution (npmArchiveSha256, treeFiles), the reused archives are pinned in scripts/release-reuse-policy.json and authenticated via verifyProvenanceAudit, and all four @pegma roots are checked against canonical registry bytes — but the AWS SDK is installed from a moving range, is absent from the reuse policy, and is not covered by the signature/Sigstore audit (which only audits the four @pegma roots). Concrete consequences: a broken or yanked upstream SDK release fails npm install or the conformance run and blocks every future publication (fail-closed, but an externally controlled release blocker), and two runs of the same release can execute different SDK bytes, so the consumer proof is not reproducible; the executed version is only discoverable after the fact via the retained public-consumer-lock.json.
I checked the consumer dependency construction (scripts/release-registry-verify.mjs:1188-1200), confirmed the other three installed roots use exact versions with resolved/integrity equality checks against the manifest, confirmed docs/RELEASING.md's "installs exact registry roots" claim covers only the @pegma packages, and confirmed the blast radius is bounded: smoke and verify have no id-token: write and no secrets, so a hostile SDK release cannot mint tokens, though it does execute code that produces the stdout line runPublicConsumer parses into the consumer receipt. Pinning an exact SDK version (or adding it to an authenticated pin list like the reuse policy) would close the gap.
|
@codex review |
|
@codex security review |
There was a problem hiding this comment.
OpenRouter pull-request review
Verdict: clean
Scope: latest-commit (commit-range)
Mode: verify
Commit: d223c63c658f1af8339bd25d809cec26ee2bd874
Judge: openai/gpt-5.6-luna
Cost: $0.1197 (lanes $0.1195 + judge $0.0001)
Lanes
openai/gpt-6.1-sol: ok (0 finding(s), 41.4s, 98501+1062 tokens (70321 cached), 4 tool round(s), via Azure, $0.0969)z-ai/glm-5.3-flash: ok (0 finding(s), 123.3s, 303771+17603 tokens (264448 cached), 10 tool round(s), via BaseTen, $0.0226)
Round 5 resolution
- ✅
r4-1fixed correctly — Release consumer executes an unpinned, unauthenticated @aws-sdk/client-dynamodb range:runPublicConsumernow requests the exact direct SDK version3.1130.0, matching the existingpnpm-lock.yamlversion and SHA512 SRI. Before installation, it checks canonical registry metadata and hashes the downloaded archive against that reviewed SRI. Before consumer execution, it checks the root and any nested SDK lock entries for the exact version, URL and integrity, then checks installed d… - Open findings after this round: 0 (0 bug-severity).
No structured findings from the successful lane(s).
|
Codex Review: Didn't find any major issues. 🎉 Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
🛡️ Codex Security ReviewSecurity review completed. No security issues were found in this pull request. Reviewed commit: Only the user who started this review can view the report in Codex. ℹ️ About Codex security reviews in GitHubThis is an experimental Codex feature. Security reviews are triggered when:
Once complete, Codex will leave suggestions, or a comment if no findings are found. |
There was a problem hiding this comment.
OpenRouter pull-request review
Verdict: issues
Scope: full-pr (full-pr)
Mode: verify
Commit: d223c63c658f1af8339bd25d809cec26ee2bd874
Judge: skipped (one successful review lane; no merge needed)
Cost: $0.13 + at least $0.36 (incomplete)
Lanes
openai/gpt-6.1-sol: failed-open (at least $0.36 spent, incomplete) — OpenRouter HTTP 402: {"error":{"message":"This request would exceed your available credits given your current in-flight requests. Retry after in-flight requests settle, or add credits.","code":402,"metadata":{"reason":"in_flight_budget_exhausted","limit_source":"openrouter_in_flight_budget","remedy_hint":"Retry after your in-flight requests settle (see the Retry-After header). Adding credits at https://openrouter.ai/settings/credits raises your in-flight budget, up to a capped ceiling.","headers":{"Retry-After":"120"},"provider_name":null}},"user_id":"user_3Erix59WzA990MWl7aUL1XGOB2x"}z-ai/glm-5.3-flash: ok (2 finding(s), 363.8s, 1992927+66662 tokens (1580544 cached), 11 tool round(s), via BaseTen, $0.13)
Round 6 resolution
- No prior findings were open.
- Open findings after this round: 2 (0 bug-severity).
Findings
🟠 Issue 1 — Reuse-proof artifact upload fails a successful preparation when no package is unselected
.github/workflows/publish.yml:165 · risk · identified by z-ai/glm-5.3-flash
The prepare job's Retain genuine registry reuse proof step runs if: always() with if-no-files-found: error, pointing at ${{ runner.temp }}/storage-prepared-reuse-verification/. That directory is only created when at least one package is unselected: prepareRelease guards the whole reuse-verification phase with if (records.length) (scripts/release-packages.mjs, where verifyReusedPackages → verifyRegistryRecords → freshProof is the only creator of that directory).
A release whose tag version is shared by all four public packages is a supported and explicitly produced shape: the producer deliberately handles the empty reuse subset (records.length guard, validateReusePolicy accepts zero entries, the policy length check allows 0), and the repository's own v0.4.0 release selected three packages together. In that scenario preparation completes successfully, but the always() upload then runs, finds no files, and fails the prepare job with if-no-files-found: error, blocking the release with no defective input. The other always() uploads (smoke/preflight/verify) only ever fire after an already-failed step, so this is the one place where proof retention can fail a healthy job.
The currently planned v0.4.3 release (three unselected packages) is unaffected, which is why this is filed as a risk rather than a blocker. What I checked: prepareRelease's empty-records path, validateReusePolicy's empty-policy acceptance, the workflow upload step, and the tests — none of the new tests exercise an all-selected preparation against the workflow upload, so the gap is untested.
🔵 Issue 2 — Security-scan doc's command-execution inventory no longer covers the new release verifier
docs/securityscan.md:164 · nit · identified by z-ai/glm-5.3-flash
The "Command execution" bullet in docs/securityscan.md states that scripts/release-packages.mjs and test/azurite.ts are the spawn surface ("spawn only fixed executables (git, npm, node)"). This PR adds scripts/release-registry-verify.mjs, which additionally spawns tar (official npm tool extraction) and the pinned npm CLI via node, and a source-loaded consumer runner (test/dynamodb-local.ts under --experimental-strip-types).
The spawn sites are in fact fixed-executable and argument-array based (I verified nativeRun, npmContext, and the consumer runner), so there is no security regression — but the doc's inventory claim is now incomplete for the next reader or future scan. Either extend the bullet to name release-registry-verify.mjs or mark the document as a dated point-in-time record that does not track new release scripts.
|
Preparing the validated release-proof retention fix and regression coverage. Temporarily closing so the next finalized push receives one full PR review on reopening, rather than spending a separate incremental round. |
|
@codex review |
|
@codex security review |
|
Codex Review: Didn't find any major issues. Already looking forward to the next diff. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
🛡️ Codex Security ReviewSecurity review completed. No security issues were found in this pull request. Reviewed commit: Only the user who started this review can view the report in Codex. ℹ️ About Codex security reviews in GitHubThis is an experimental Codex feature. Security reviews are triggered when:
Once complete, Codex will leave suggestions, or a comment if no findings are found. |
There was a problem hiding this comment.
OpenRouter pull-request review
Verdict: issues
Scope: full-pr (full-pr)
Mode: verify
Commit: c7a9e812478d9ae9604318e2f8f95b190bca9fe0
Judge: skipped (one successful review lane; no merge needed)
Cost: at least $0.12 (incomplete) — incomplete: no cost reported for openai/gpt-6.1-sol
Lanes
openai/gpt-6.1-sol: failed-open — OpenRouter HTTP 402: {"error":{"message":"This request requires more credits, or fewer max_tokens. You requested up to 65536 tokens, but can only afford 61941. To increase, visit https://openrouter.ai/workspaces/default/keys/124b6e73f7b1a5963cbea3e849140337e3fab8ec53ae8e4234544408a62e4f27 and adjust the key's weekly limit","code":402,"metadata":{"limit_source":"openrouter_credits","remedy_hint":"Add credits at https://openrouter.ai/settings/credits, or lower max_tokens / prompt size to fit your remaining balance.","provider_name":null}},"user_id":"user_3Erix59WzA990MWl7aUL1XGOB2x"}z-ai/glm-5.3-flash: ok (1 finding(s), 758.7s, 1890092+70554 tokens (1391104 cached), 10 tool round(s), 1 retried request(s), salvaged finish, via InferenceNet, at least $0.12 (incomplete))
Round 7 resolution
- ✅
r6-1fixed correctly — Reuse-proof artifact upload fails a successful preparation when no package is unselected: Fixed in c7a9e81 as claimed. The seal heredoc now emitsreuse_required(String(boolean)→ "true"/"false") viaGITHUB_OUTPUT, and the upload condition isalways() && (steps.seal.outcome != 'success' || steps.seal.outputs.reuse_required != 'false')(verified in the actual.github/workflows/publish.yml). A successful all-source seal emits "false" so the upload is skipped and preparation suc… - 1 nit finding(s) from earlier rounds retired (severity floor for follow-up rounds is
risk). - Open findings after this round: 1 (0 bug-severity).
Findings
🟠 Issue 1 — Public consumer hard-binds every release to Core 0.4.0, silently blocking the first future Core version change
scripts/release-registry-verify.mjs:1266 · risk · identified by z-ai/glm-5.3-flash
The first future release that changes @pegma/storage-core's version cannot be published through this workflow without editing scripts/release-registry-verify.mjs, and the failure points are non-obvious.
Two concrete dead ends:
- Core-only bump (adapters keep their versions):
validatePackageinscripts/release-packages.mjsforces every adapter to pin core at the exact workspace version, andverifyPreparedManifest's internal-pin check then compares each reused adapter's registrypackage.json(pinning old core) against the manifest's version map, so preparation dies withprepared internal dependency pin differs. - All four packages bumped together to the new tag version: preparation and sealing now succeed (this is exactly the shape the r6-1 fix made safe, and
tests/release-registry.test.tsexercises it withskipSmoke), but the workflow's smoke job then fails:runPublicConsumerrefuses unlessdynamo.package.dependencies["@pegma/storage-core"] === "0.4.0"(Dynamo consumer requires the genuine released Core0.4.0). The replaced schema-1 smoke (smokeTestTarballs) only imported exports and had no such gate, so this is a new, permanent restriction introduced by this PR.
The binding is documented for the current train (docs/RELEASING.md's consumer section and the PR body both name genuine registry Core 0.4.0), and the planned next release (D1 0.4.4 reusing core 0.4.0) is unaffected — I traced that shape end-to-end and it passes every check. But the docs' Core 0.4.0/other roots phrasing reads as flexible while the check is a string literal, and nothing in docs/RELEASING.md or AGENTS.md tells a future maintainer that a Core version change requires editing the release verifier (analogous to the reviewable release-reuse-policy.json). It fails closed with a clear message, so this is a forward-compatibility/availability risk, not a bug for the v0.4.3 path.
Checked: the hardcoded check at the cited line, the verifyPreparedManifest pin loop, validatePackage's exact-pin rule, the smoke/publish/verify jobs that all route through this consumer, and the test coverage (the all-selected case skips smoke, so no test exercises a changed-core release). Proof gap: none on the code paths; whether the rigidity is fully intended is a judgment call the docs leave open.
| ); | ||
| if ( | ||
| !dynamo || | ||
| dynamo.package.dependencies?.["@pegma/storage-core"] !== "0.4.0" |
There was a problem hiding this comment.
🟠 Public consumer hard-binds every release to Core 0.4.0, silently blocking the first future Core version change (risk)
The first future release that changes @pegma/storage-core's version cannot be published through this workflow without editing scripts/release-registry-verify.mjs, and the failure points are non-obvious.
Two concrete dead ends:
- Core-only bump (adapters keep their versions):
validatePackageinscripts/release-packages.mjsforces every adapter to pin core at the exact workspace version, andverifyPreparedManifest's internal-pin check then compares each reused adapter's registrypackage.json(pinning old core) against the manifest's version map, so preparation dies withprepared internal dependency pin differs. - All four packages bumped together to the new tag version: preparation and sealing now succeed (this is exactly the shape the r6-1 fix made safe, and
tests/release-registry.test.tsexercises it withskipSmoke), but the workflow's smoke job then fails:runPublicConsumerrefuses unlessdynamo.package.dependencies["@pegma/storage-core"] === "0.4.0"(Dynamo consumer requires the genuine released Core0.4.0). The replaced schema-1 smoke (smokeTestTarballs) only imported exports and had no such gate, so this is a new, permanent restriction introduced by this PR.
The binding is documented for the current train (docs/RELEASING.md's consumer section and the PR body both name genuine registry Core 0.4.0), and the planned next release (D1 0.4.4 reusing core 0.4.0) is unaffected — I traced that shape end-to-end and it passes every check. But the docs' Core 0.4.0/other roots phrasing reads as flexible while the check is a string literal, and nothing in docs/RELEASING.md or AGENTS.md tells a future maintainer that a Core version change requires editing the release verifier (analogous to the reviewable release-reuse-policy.json). It fails closed with a clear message, so this is a forward-compatibility/availability risk, not a bug for the v0.4.3 path.
Checked: the hardcoded check at the cited line, the verifyPreparedManifest pin loop, validatePackage's exact-pin rule, the smoke/publish/verify jobs that all route through this consumer, and the test coverage (the all-selected case skips smoke, so no test exercises a changed-core release). Proof gap: none on the code paths; whether the rigidity is fully intended is a judgment call the docs leave open.
There was a problem hiding this comment.
This verifier deliberately qualifies the genuine published Core 0.4.0 runtime and its error-class identities. That requirement is explicit in AGENTS.md (current activation policy), docs/RELEASING.md (scope, exact adapter pins and real published-Core conformance) and the DynamoDB README. The all-selected regression explicitly covers preparation/sealing with skipSmoke and makes no future Core runtime qualification claim.
A future Core migration must update the consumer policy and exact adapter pins and qualify the new runtime/conformance/error identities in its own reviewed release. Deriving an arbitrary new Core identity from manifest metadata alone would weaken the current qualification. Current DynamoDB 0.4.3 and the planned D1-only patch retain Core 0.4.0. I am leaving this thread visible as a disputed future-scope observation and preserving those checks.
There was a problem hiding this comment.
OpenRouter pull-request review
Verdict: clean
Scope: full-pr (full-pr)
Mode: verify
Commit: c7a9e812478d9ae9604318e2f8f95b190bca9fe0
Judge: openai/gpt-5.6-luna
Cost: $0.5508 (lanes $0.5507 + judge $0.0001)
Lanes
openai/gpt-6.1-sol: ok (0 finding(s), 45.0s, 595633+2164 tokens (464718 cached), 4 tool round(s), via Azure, $0.43)z-ai/glm-5.3-flash: ok (0 finding(s), 646.4s, 1923680+63710 tokens (1594880 cached), 10 tool round(s), via Reka, $0.12)
Round 8 resolution
- 🤝
r7-1disputed — Public consumer hard-binds every release to Core 0.4.0, silently blocking the first future Core version change: The Core0.4.0binding remains intentional:runPublicConsumerrequires DynamoDB's exact published-Core pin, and the release documentation explicitly scopes qualification to that runtime and its error identities. The all-selected regression exercises preparation and sealing withskipSmoke, not qualification of a future Core runtime. A future Core migration requires separately reviewed policy,… - Open findings after this round: 0 (0 bug-severity).
No structured findings from the successful lane(s).
Release preparation previously repacked every workspace, even when unversioned Core, Azure or D1 source could not reproduce its published version. This change packs selected source and retains independently pinned original registry archives for unselected packages. Schema 2 binds exact source/tag, policy, inventory and package origins. Unprivileged verification authenticates reused packages and their original publishing jobs before the minimal OIDC publisher acts.
The verifier uses its owned, digest-checked official npm 11.18.0 tool. Existing-version recovery requires authenticated registry bytes and source claims before remaining uploads; final verification checks the published registry and runs an isolated public consumer against genuine registry Core 0.4.0 and the selected DynamoDB artifact. Signed release identity, original artifacts and the trusted publisher remain mandatory.
The direct consumer AWS SDK root is pinned to reviewed 3.1130.0 with SHA512 SRI. Metadata and archive admission precede installation; exact root/nested lock identity and installed package identity precede execution. This does not claim all-transitive reproducibility or AWS provenance. The adapter's supported dependency range and package versions are unchanged.
Preparation now seals its strict validated inventory before deciding whether registry proof exists. A release containing only selected source packages skips the unused proof upload; reused packages and failed/unknown sealing still require proof retention. Seven new regression cases cover that condition and an actual all-selected producer. The existing partial-producer case executes the actual seal and six malformed inventory/archive/policy failures. The July security report has an explicit historical-scope banner; its original findings are preserved.
Validation at c7a9e81: whole-repository formatting and type checks on Node 22.18.0 and 24.18.0 passed. Both actual producer/seal cases passed on both Nodes. After the final test-only semantic correction, all 15 workflow cases passed on both Nodes. The focused producer runs intentionally selected 17 tests and skipped 73 unrelated cases; complete current-head Linux CI remains required. Independent source and test reviews found no remaining actionable issue.
Earlier d223c63 source receipts retain their original bindings: all 334 Linux tests per Node lane, plus genuine no-tag development preparations on both Nodes using real npm 11.18, three authenticated registry archives, original writer jobs, the pinned AWS SDK and DynamoDB Local. Each real consumer passed 39 Core 0.4.0 conformance cases, both error-class identity checks and clean shutdown. The current follow-up changes only workflow/tests/historical documentation; it does not relabel those earlier executions as a new signed or published release.
DynamoDB 0.4.2 is reserved for separately reviewed metadata-only first registration, never SDK or host use. DynamoDB 0.4.3 remains the unpublished trusted-runtime candidate. Approved signed-tag preparation, original Actions artifact acceptance, interactive registration, trusted runtime publication and exact published-registry/public-consumer qualification remain open. No tag, publication, host adoption or production acceptance is claimed.