Skip to content

fix(deps): add zod dependency to format package#61

Merged
amondnet merged 7 commits into
mainfrom
feat/code-explorer
Dec 23, 2025
Merged

fix(deps): add zod dependency to format package#61
amondnet merged 7 commits into
mainfrom
feat/code-explorer

Conversation

@amondnet

Copy link
Copy Markdown
Contributor

Summary

Expand ESLint ignore patterns to prevent linting errors in external dependencies and test data:

  • Add ref/** to ignore submodule reference patterns
  • Add packages/**/test/fixtures/** to ignore test fixture directories

Changes

  • Modified eslint.config.js to add two new ignore patterns
  • These patterns support the code-explorer and code-architect agents by avoiding false positives in excluded directories

Test Plan

  • Run bun run lint to verify no new linting errors
  • Check that submodule references and test fixtures are properly ignored

Add a new agent that specializes in tracing and understanding feature
implementations across codebases by mapping architecture layers,
execution paths, and dependencies.
Add a new agent that designs feature architectures by analyzing existing
codebase patterns and providing comprehensive implementation blueprints
with file mappings, component designs, and build sequences.
- Add ref/** to eslintignore patterns (for submodule references)
- Add packages/**/test/fixtures/** to ignore test fixture directories

These patterns prevent linting errors in external dependencies and test data.
@gemini-code-assist

Copy link
Copy Markdown

Summary of Changes

Hello @amondnet, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request primarily updates the ESLint configuration to ignore specific directories, such as submodule references and test fixtures, which helps in preventing false positive linting errors and supports the code-explorer and code-architect agents. Additionally, it introduces two new agent definition files: please-code-architect for architectural design and please-code-explorer for deep codebase analysis, enhancing the system's capabilities for code understanding and planning.

Highlights

  • ESLint Configuration Update: Expanded ESLint ignore patterns to prevent linting errors in external dependencies and test data.
  • Submodule Ignore Pattern: Added ref/** to the ESLint configuration to ignore submodule reference directories.
  • Test Fixture Ignore Pattern: Added packages/**/test/fixtures/** to the ESLint configuration to ignore test fixture directories.
  • New Agent: Code Architect: Introduced a new agent definition file for please-code-architect, detailing its role in designing feature architectures and providing comprehensive implementation blueprints.
  • New Agent: Code Explorer: Introduced a new agent definition file for please-code-explorer, outlining its function as an expert code analyst for tracing and understanding feature implementations.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Dec 23, 2025

Copy link
Copy Markdown

Deploying code-please with  Cloudflare Pages  Cloudflare Pages

Latest commit: c2859eb
Status:🚫  Build failed.

View logs

@gemini-code-assist gemini-code-assist 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.

Code Review

This pull request introduces two new agent personas: please-code-architect and please-code-explorer. The code-architect agent is designed to provide comprehensive architectural blueprints, detailing processes for codebase pattern analysis, architecture design, and implementation mapping, along with specific output guidance covering various architectural aspects and adherence to standards. The code-explorer agent is intended to deeply analyze existing codebase features by tracing execution paths, mapping architecture layers, and documenting dependencies, providing detailed output for feature understanding. Additionally, the ESLint configuration has been updated to ignore files within ref/ directories and test/fixtures/ directories located inside packages/ from linting. There were no review comments provided for these changes.

The formatter package was missing the zod dependency which is required
for configuration validation. This resolves the "Cannot find package 'zod'"
error in CI builds.

- Add zod@^3.25.0 || ^4.0.0 to packages/format dependencies
- Update lockfile
@amondnet amondnet changed the title chore(eslint): expand ignores for submodules and test fixtures fix(deps): add zod dependency to format package Dec 23, 2025
Add key schema argument to z.record() call as required by zod v4 API.
Add explicit zod dependency to fix CI type checking.
@codecov

codecov Bot commented Dec 23, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 38.71%. Comparing base (06366c2) to head (c2859eb).
⚠️ Report is 8 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #61      +/-   ##
==========================================
- Coverage   39.82%   38.71%   -1.12%     
==========================================
  Files          55       59       +4     
  Lines        6345     6515     +170     
==========================================
- Hits         2527     2522       -5     
- Misses       3818     3993     +175     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@amondnet
amondnet merged commit a7ab870 into main Dec 23, 2025
5 of 10 checks passed
@amondnet
amondnet deleted the feat/code-explorer branch December 23, 2025 07:42
@passionfactory-bot passionfactory-bot Bot mentioned this pull request Dec 23, 2025
@passionfactory-bot passionfactory-bot Bot mentioned this pull request Jan 29, 2026
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