Skip to content

Add Claude review workflow (0xsequence#1001)#569

Merged
Dargon789 merged 2 commits into
Dargon789:codesandboxfrom
0xsequence:master
May 20, 2026
Merged

Add Claude review workflow (0xsequence#1001)#569
Dargon789 merged 2 commits into
Dargon789:codesandboxfrom
0xsequence:master

Conversation

@Dargon789
Copy link
Copy Markdown
Owner

@Dargon789 Dargon789 commented May 20, 2026

Summary by Sourcery

Add a GitHub Actions workflow to trigger Claude Code reviews and slightly relax dependency age constraints while updating Next.js versions for docs and web packages.

New Features:

  • Introduce a Claude Code GitHub Actions workflow that responds to @claude mentions on issues, comments, and pull request reviews.

Enhancements:

  • Update Next.js dependency to version 15.5.16 for both docs and web packages.
  • Reduce the pnpm minimum release age from two weeks to one week for dependency installation.

@codesandbox
Copy link
Copy Markdown

codesandbox Bot commented May 20, 2026

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

@bolt-new-by-stackblitz
Copy link
Copy Markdown

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@sourcery-ai
Copy link
Copy Markdown

sourcery-ai Bot commented May 20, 2026

Reviewer's Guide

Adds a Claude Code GitHub Actions workflow triggered by @claude mentions, slightly relaxes pnpm minimumReleaseAge policy, and bumps Next.js from 15.5.15 to 15.5.16 for docs and web packages, including lockfile updates.

Sequence diagram for the new Claude Code GitHub Actions workflow

sequenceDiagram
  actor Developer
  participant GitHub as GitHub_Events
  participant Workflow as claude_job
  participant Action as anthropics_claude_code_action_v1
  participant ClaudeAPI as Claude_API

  Developer->>GitHub: Create issue/comment/review with @claude
  GitHub-->>Workflow: Trigger issue_comment / pull_request_review_comment / pull_request_review / issues
  alt Event_contains_@claude
    Workflow->>Action: uses anthropics/claude-code-action@v1
    Action->>ClaudeAPI: Call with ANTHROPIC_API_KEY_GITHUB_ACTIONS
    ClaudeAPI-->>Action: Analysis and suggested changes
    Action-->>GitHub: Post results to PR or issue
  else No_@claude_mention
    GitHub-->>Workflow: Job not started (condition false)
  end
Loading

File-Level Changes

Change Details Files
Introduce Claude Code GitHub Actions workflow for @claude-triggered reviews and assistance.
  • Add claude.yml workflow responding to issue comments, PR review comments, PR reviews, and issues that mention @claude.
  • Configure job permissions for contents, pull-requests, issues, id-token, and actions to allow Claude to inspect repo and CI.
  • Invoke anthropics/claude-code-action@v1 with Anthropic API key from repository secrets and optional configuration hooks for permissions and future prompts/args.
.github/workflows/claude.yml
Update Next.js dependency version for docs and web packages.
  • Bump next from ^15.5.15 to ^15.5.16 in docs package dependencies.
  • Bump next from ^15.5.15 to ^15.5.16 in web package dependencies.
  • Regenerate pnpm-lock.yaml to reflect updated Next.js version and any transitive changes.
extras/docs/package.json
extras/web/package.json
pnpm-lock.yaml
Relax pnpm workspace minimumReleaseAge policy from 2 weeks to 1 week.
  • Change minimumReleaseAge from 20160 minutes (2 weeks) to 10080 minutes (1 week) in pnpm-workspace configuration while keeping explanatory comment aligned.
pnpm-workspace.yaml

Possibly linked issues


Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@snyk-io
Copy link
Copy Markdown

snyk-io Bot commented May 20, 2026

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@mergify
Copy link
Copy Markdown

mergify Bot commented May 20, 2026

⚠️ The sha of the head commit of this PR conflicts with #559. Mergify cannot evaluate rules on this PR. Once #559 is merged or closed, Mergify will resume processing this PR. ⚠️

@Dargon789 Dargon789 merged commit 88c1084 into Dargon789:codesandbox May 20, 2026
15 of 22 checks passed
Copy link
Copy Markdown

@sourcery-ai sourcery-ai Bot left a comment

Choose a reason for hiding this comment

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

Hey - I've left some high level feedback:

  • The minimumReleaseAge field in pnpm-workspace.yaml is modified despite the inline note saying not to change it without approval; please confirm this change is approved or revert it.
  • Consider pinning anthropics/claude-code-action to a specific commit SHA rather than @v1 to improve supply-chain/security posture for the workflow.
Prompt for AI Agents
Please address the comments from this code review:

## Overall Comments
- The `minimumReleaseAge` field in `pnpm-workspace.yaml` is modified despite the inline note saying not to change it without approval; please confirm this change is approved or revert it.
- Consider pinning `anthropics/claude-code-action` to a specific commit SHA rather than `@v1` to improve supply-chain/security posture for the workflow.

Fix all in Cursor


Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates the next dependency and modifies workspace configuration settings. Several critical security vulnerabilities were identified during the review: the versions of next specified (15.5.16 and 15.5.18) do not exist on the official npm registry, which is a strong indicator of a supply chain attack. Additionally, the minimumReleaseAge in pnpm-workspace.yaml was reduced without the required authorization, potentially allowing the installation of malicious, newly-published packages. Due to these high-severity security risks, the changes should be rejected.

Comment thread pnpm-workspace.yaml
@@ -1,4 +1,4 @@
minimumReleaseAge: 20160 # 60 * 24 * 7 * 2 = do not install package releases that are not at least 2 weeks old
minimumReleaseAge: 10080 # 60 * 24 * 7 = do not install package releases that are not at least 1 week old
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

security-critical critical

CRITICAL: Reducing the minimumReleaseAge is highly suspicious, especially given the introduction of non-existent package versions in this PR. This setting is a critical security control and must not be lowered without explicit approval, as warned on line 2.

minimumReleaseAge: 20160 # 60 * 24 * 7 * 2 = do not install package releases that are not at least 2 weeks old

Comment thread extras/docs/package.json
"dependencies": {
"@repo/ui": "workspace:^",
"next": "^15.5.15",
"next": "^15.5.16",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

security-critical critical

CRITICAL: next@15.5.16 is not a valid version on the official npm registry. This appears to be a malicious package intended for a supply chain attack.

Comment thread extras/web/package.json
"dependencies": {
"@repo/ui": "workspace:^",
"next": "^15.5.15",
"next": "^15.5.16",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

security-critical critical

CRITICAL: next@15.5.16 is not a valid version on the official npm registry. This appears to be a malicious package intended for a supply chain attack.

Comment thread pnpm-lock.yaml
Comment on lines +2897 to +2898
next@15.5.18:
resolution: {integrity: sha512-eKL8zUJkX9Y5lE+RX/2YJoItVdGlIscyVyboeD9wSpp0PaGqjoA4tTpT2qPqz9ax+5IzGESyLSeZ/RCwbSZ2uQ==}
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

security-critical critical

CRITICAL: The version 15.5.18 for next does not exist on the official npm registry. Furthermore, the lockfile contains multiple other 'future' versions of core packages (e.g., typescript@6.0.3, zod@4.2.0, @types/node@25.3.0) which are not present in the official registry. This is a clear indicator of a supply chain attack. This PR must be rejected immediately.

Dargon789 added a commit that referenced this pull request May 20, 2026
* Codesandbox dev (#528)

* Bump the npm_and_yarn group across 1 directory with 1 update

Bumps the npm_and_yarn group with 1 update in the / directory: [express](https://github.com/expressjs/express).


Updates `express` from 4.18.2 to 4.19.2
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](expressjs/express@4.18.2...4.19.2)

---
updated-dependencies:
- dependency-name: express
  dependency-type: direct:development
  dependency-group: npm_and_yarn-security-group
...

Signed-off-by: dependabot[bot] <support@github.com>

* Create SECURITY.md

* Set up CI with Azure Pipelines

[skip ci]

* Create CNAME

* Create fortify.yml

* Update issue templates

* Update CNAME

* Update CNAME

* Update CNAME

* Update CNAME

* update

* Update wagmi-project/src/main.tsx

Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>

* Update wagmi-project/package.json

Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>

* Update .github/ISSUE_TEMPLATE/custom.md

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>

* Enforce minimum age limitation for packages (#556)

* Bump next from 15.5.14 to 15.5.15 (0xsequence#989)

Bumps [next](https://github.com/vercel/next.js) from 15.5.14 to 15.5.15.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](vercel/next.js@v15.5.14...v15.5.15)

---
updated-dependencies:
- dependency-name: next
  dependency-version: 15.5.15
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Update to latest pnpm

* 3.0.8

* Fix fee options stub signature (0xsequence#999)

* 3.0.9

* Enforce minimum age limitation for packages

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Taylan Pince <taylanpince@gmail.com>
Co-authored-by: tolgahan-arikan <tolgahan.arikan@gmail.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Co-authored-by: googleworkspace-bot <googleworkspace-bot@google.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Taylan Pince <taylanpince@gmail.com>
Co-authored-by: tolgahan-arikan <tolgahan.arikan@gmail.com>

* Update wagmi-project/package.json

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>

* Add Claude review workflow (0xsequence#1001) (#569)

* Bump next.js deps to resolve security issue (0xsequence#1000)

* Add Claude review workflow (0xsequence#1001)

---------

Co-authored-by: Taylan Pince <taylanpince@gmail.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Co-authored-by: googleworkspace-bot <googleworkspace-bot@google.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Taylan Pince <taylanpince@gmail.com>
Co-authored-by: tolgahan-arikan <tolgahan.arikan@gmail.com>
Dargon789 added a commit that referenced this pull request May 22, 2026
* Updating DefaultGuest address

* Update tests.yml (#51)

Signed-off-by: AU_gdev_19 <64915515+Dargon789@users.noreply.github.com>

* Update tests.yml (#52)

Signed-off-by: AU_gdev_19 <64915515+Dargon789@users.noreply.github.com>

* Update tests.yml

Signed-off-by: AU_gdev_19 <64915515+Dargon789@users.noreply.github.com>

* Update tests.yml (#55)

Signed-off-by: AU_gdev_19 <64915515+Dargon789@users.noreply.github.com>

* Update tests.yml (#56)

Signed-off-by: AU_gdev_19 <64915515+Dargon789@users.noreply.github.com>

* Update tests.yml

Signed-off-by: AU_gdev_19 <64915515+Dargon789@users.noreply.github.com>

* Enforce minimum age limitation for packages (#547)

* Upgrade uuid from v13 to v14 (0xsequence#996)

* Upgrading workspace root deps (0xsequence#997)

* New userdata.gen.ts

* 3.0.6

* 3.0.7

* Fix fee options for undeployed wallets (0xsequence#998)

* Bump next from 15.5.14 to 15.5.15 (0xsequence#989)

Bumps [next](https://github.com/vercel/next.js) from 15.5.14 to 15.5.15.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](vercel/next.js@v15.5.14...v15.5.15)

---
updated-dependencies:
- dependency-name: next
  dependency-version: 15.5.15
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Update to latest pnpm

* 3.0.8

* Fix fee options stub signature (0xsequence#999)

* 3.0.9

* Enforce minimum age limitation for packages

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Corban Riley <corbanbrook@gmail.com>
Co-authored-by: Taylan Pince <taylanpince@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: tolgahan-arikan <tolgahan.arikan@gmail.com>

* Codesandbox dev (#528)

* Bump the npm_and_yarn group across 1 directory with 1 update

Bumps the npm_and_yarn group with 1 update in the / directory: [express](https://github.com/expressjs/express).


Updates `express` from 4.18.2 to 4.19.2
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](expressjs/express@4.18.2...4.19.2)

---
updated-dependencies:
- dependency-name: express
  dependency-type: direct:development
  dependency-group: npm_and_yarn-security-group
...

Signed-off-by: dependabot[bot] <support@github.com>

* Create SECURITY.md

* Set up CI with Azure Pipelines

[skip ci]

* Create CNAME

* Create fortify.yml

* Update issue templates

* Update CNAME

* Update CNAME

* Update CNAME

* Update CNAME

* update

* Update wagmi-project/src/main.tsx

Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>

* Update wagmi-project/package.json

Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>

* Update .github/ISSUE_TEMPLATE/custom.md

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>

* Enforce minimum age limitation for packages (#556)

* Bump next from 15.5.14 to 15.5.15 (0xsequence#989)

Bumps [next](https://github.com/vercel/next.js) from 15.5.14 to 15.5.15.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](vercel/next.js@v15.5.14...v15.5.15)

---
updated-dependencies:
- dependency-name: next
  dependency-version: 15.5.15
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Update to latest pnpm

* 3.0.8

* Fix fee options stub signature (0xsequence#999)

* 3.0.9

* Enforce minimum age limitation for packages

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Taylan Pince <taylanpince@gmail.com>
Co-authored-by: tolgahan-arikan <tolgahan.arikan@gmail.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Co-authored-by: googleworkspace-bot <googleworkspace-bot@google.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Taylan Pince <taylanpince@gmail.com>
Co-authored-by: tolgahan-arikan <tolgahan.arikan@gmail.com>

* Update wagmi-project/package.json

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>

* Add Claude review workflow (0xsequence#1001) (#563)

* Bump next.js deps to resolve security issue (0xsequence#1000)

* Add Claude review workflow (0xsequence#1001)

---------

Co-authored-by: Taylan Pince <taylanpince@gmail.com>

* Add Claude review workflow (0xsequence#1001) (#566)

* Bump next.js deps to resolve security issue (0xsequence#1000)

* Add Claude review workflow (0xsequence#1001)

---------

Co-authored-by: Taylan Pince <taylanpince@gmail.com>

* Add Claude review workflow (0xsequence#1001) (#569)

* Bump next.js deps to resolve security issue (0xsequence#1000)

* Add Claude review workflow (0xsequence#1001)

---------

Co-authored-by: Taylan Pince <taylanpince@gmail.com>

* Update wagmi-project/src/wagmi.ts

Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>

* Update wagmi-project/src/main.tsx

Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>

---------

Signed-off-by: AU_gdev_19 <64915515+Dargon789@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
Co-authored-by: Corban Riley <corbanbrook@gmail.com>
Co-authored-by: googleworkspace-bot <googleworkspace-bot@google.com>
Co-authored-by: Taylan Pince <taylanpince@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: tolgahan-arikan <tolgahan.arikan@gmail.com>
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
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.

Sequence diagram for intent creation with same-chain/same-token validation Sequence diagram for the new Claude Code GitHub Actions workflow

2 participants