Skip to content

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

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

chore: sync core lib and CLAUDE.md from agent-core#12
avifenesh merged 1 commit intomainfrom
chore/sync-core-sync-docs-20260316-112143

Conversation

@avifenesh
Copy link
Contributor

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

@chatgpt-codex-connector
Copy link

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@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 synchronizes core library files and the CLAUDE.md documentation from the agent-core repository. The primary impact is a significant refactoring of how agent-analyzer binary features are integrated and utilized, specifically by removing the doc-drift analysis and updating the git data collection schema. Additionally, minor documentation improvements were applied to CLAUDE.md.

Highlights

  • Refactored agent-analyzer Integration: The git-map command was renamed to repo-intel in the git collector, and the getDocDriftSignals functionality, which relied on a binary module, was entirely removed from docs-patterns.js and its exports.
  • Updated Git Data Collection Schema: The git collector now includes recentChanges in file activity metrics and a confidence field for AI attribution. The commitShape data has been removed, and conventions.scopes was replaced by a boolean conventions.usesScopes.
  • CLAUDE.md Documentation Updates: Minor textual changes were made to the CLAUDE.md documentation, including the removal of an auto-generated comment and a slight rephrasing of a token efficiency guideline.
Changelog
  • CLAUDE.md
    • Removed an auto-generated comment.
    • Updated the "Token efficiency" guideline.
  • lib/collectors/docs-patterns.js
    • Removed binaryModule and binaryLoadError declarations.
    • Removed the getBinary function.
    • Removed the getDocDriftSignals function.
    • Removed the docDrift property from the collect function's return.
    • Removed getDocDriftSignals from module exports.
  • lib/collectors/git.js
    • Updated comments to reflect repo-intel instead of git-map.
    • Changed agent-analyzer command from git-map init to repo-intel init.
    • Removed the commitShape property from collected map data.
    • Added recentChanges to file activity metrics.
    • Added confidence to aiAttribution and replaced conventions.scopes with conventions.usesScopes.
  • lib/collectors/index.js
    • Removed the export for the getDocDriftSignals function.
Activity
  • No specific activity has been recorded for this pull request yet.
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 refactors data collection mechanisms by removing the doc-drift signals functionality, which relied on an agent-analyzer binary, from lib/collectors/docs-patterns.js and lib/collectors/index.js. It also updates the agent-analyzer command from git-map init to repo-intel init in lib/collectors/git.js. Additionally, the lib/collectors/git.js file refines collected git data by removing commitShape information, adding recentChanges to file activity, including an aiAttribution.confidence metric, and changing conventions.scopes to a boolean conventions.usesScopes. Minor documentation cleanup was also performed in CLAUDE.md.

@avifenesh avifenesh merged commit c2fbdfb into main Mar 16, 2026
4 of 5 checks passed
@avifenesh avifenesh deleted the chore/sync-core-sync-docs-20260316-112143 branch March 16, 2026 12:26
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