Skip to content

External Agent: discover external agent plugins before hook execution#716

Open
keyu98 wants to merge 1 commit intoentireio:mainfrom
keyu98:bugfix/fix-external-agent-discovery-in-git-hook
Open

External Agent: discover external agent plugins before hook execution#716
keyu98 wants to merge 1 commit intoentireio:mainfrom
keyu98:bugfix/fix-external-agent-discovery-in-git-hook

Conversation

@keyu98
Copy link

@keyu98 keyu98 commented Mar 18, 2026

Ensure external agent plugins are discovered and registered during the git hook pre-run phase, so GetByAgentType resolves correctly during condensation (e.g. post-commit). Without this, token usage and other agent-specific data would be missing from metadata.json.

@keyu98 keyu98 requested a review from a team as a code owner March 18, 2026 03:34
@keyu98
Copy link
Author

keyu98 commented Mar 18, 2026

@nodo When integrating our agent, we found that even after implementing the token_calculator capability, token usage was still not being written to metadata.json. We later tracked down the root cause — would appreciate it if you could review this when you have a chance, nodo. Thanks!

Ensure external agent plugins are discovered and registered during
the git hook pre-run phase, so GetByAgentType resolves correctly
during condensation (e.g. post-commit). Without this, token usage
and other agent-specific data would be missing from metadata.json.
@keyu98 keyu98 force-pushed the bugfix/fix-external-agent-discovery-in-git-hook branch from df672da to c692947 Compare March 18, 2026 05:06
@keyu98 keyu98 changed the title fix: discover external agent plugins before hook execution External Agent: discover external agent plugins before hook execution Mar 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant