Skip to content

chore: sync core lib and CLAUDE.md from agent-core#8

Merged
avifenesh merged 1 commit intomainfrom
chore/sync-core-learn-20260316-112145
Mar 16, 2026
Merged

chore: sync core lib and CLAUDE.md from agent-core#8
avifenesh merged 1 commit intomainfrom
chore/sync-core-learn-20260316-112145

Conversation

@avifenesh
Copy link
Contributor

Automated sync of lib/ and CLAUDE.md from agent-core.

@gemini-code-assist
Copy link

Summary of Changes

Hello, 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 performs an automated synchronization of the core library files and the CLAUDE.md documentation from the agent-core repository. The updates primarily involve renaming internal tooling references, refining documentation guidelines, and adjusting the structure of collected Git data to align with new metrics and removed legacy ones.

Highlights

  • Documentation Update: Updated CLAUDE.md by removing an auto-generated comment and refining a guideline for token efficiency.
  • Tooling Renaming: Refactored internal references from git-map to repo-intel within the Git history collector for consistency with updated tooling.
  • Git Data Structure Refinement: Modified the collected Git data structure in lib/collectors/git.js to include recentChanges in file activity and confidence in AI attribution, while removing the commitShape metric and updating convention scope handling.
Changelog
  • CLAUDE.md
    • Removed the auto-generated comment at the top of the file.
    • Refined the "Token efficiency" guideline by removing "Be concise."
  • lib/collectors/git.js
    • Updated all references from git-map to repo-intel in comments and function calls.
    • Removed the commitShape property from the collected Git data.
    • Added recentChanges to the file activity metrics.
    • Included confidence in the AI attribution metrics.
    • Refactored the conventions object to use usesScopes instead of scopes.
Activity
  • No human activity has been recorded for this pull request.
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.

Copy link

@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, an automated sync from agent-core, updates CLAUDE.md and lib/collectors/git.js. The changes in lib/collectors/git.js involve renaming git-map to repo-intel and updating the data structure returned by collectGitData. While most changes are additive, the removal of the commitShape object and the modification of the conventions object introduce breaking changes. I've left a comment highlighting the potential risk for downstream consumers that may not have been updated to handle this new data structure.

Comment on lines 121 to 125
conventions: {
style: conventions.style || null,
prefixes: conventions.prefixes || {},
scopes: conventions.scopes || {}
usesScopes: conventions.usesScopes || false
},

Choose a reason for hiding this comment

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

high

The structure of the conventions object has changed from scopes to usesScopes. Additionally, the commitShape object has been removed entirely from the data returned by collectGitData. These are breaking changes that could cause runtime errors in downstream consumers that expect the old structure. Please ensure that all consumers of this function's output have been updated to handle this new data shape.

@avifenesh avifenesh merged commit c54c5c5 into main Mar 16, 2026
6 checks passed
@avifenesh avifenesh deleted the chore/sync-core-learn-20260316-112145 branch March 16, 2026 12:27
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