Skip to content

feat: Add CLAUDE.md files to improve AI processing#113

Merged
huang195 merged 2 commits into
rossoctl:mainfrom
mrsabath:claude-code
Feb 18, 2026
Merged

feat: Add CLAUDE.md files to improve AI processing#113
huang195 merged 2 commits into
rossoctl:mainfrom
mrsabath:claude-code

Conversation

@mrsabath

@mrsabath mrsabath commented Feb 12, 2026

Copy link
Copy Markdown
Contributor

Description

This PR creates CLAUDE.md files that make processing the repo by Agents much faster and easier.
Also it changes CI behavior (Go version bump) and includes a functional webhook behavior change (client-registration injection is now actually gated by the flag)

Fixes # (issue)

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Refactoring (no functional changes)
  • Performance improvement
  • Test addition or update
  • CI/CD update

How Has This Been Tested?

  • Test A
  • Test B

Test Configuration:

  • Kubernetes version:
  • Toolhive webhook version:
  • OS:

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

Screenshots (if appropriate)

Additional Notes

@mrsabath mrsabath changed the title Feat: Add CLAUDE.md files to improve AI processing feat: Add CLAUDE.md files to improve AI processing Feb 12, 2026
@mrsabath
mrsabath marked this pull request as ready for review February 12, 2026 17:03
Copilot AI review requested due to automatic review settings February 12, 2026 17:03

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds CLAUDE.md context files to help AI agents understand and navigate the monorepo and its main subprojects (webhook + AuthBridge).

Changes:

  • Added top-level CLAUDE.md summarizing repo structure, components, and cross-component contracts.
  • Added AuthBridge/CLAUDE.md detailing AuthBridge internals, flows, and operational gotchas.
  • Added kagenti-webhook/CLAUDE.md documenting webhook architecture, injection logic, and developer workflows.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 6 comments.

File Description
CLAUDE.md Monorepo-wide AI context (structure, workflows, component relationships).
AuthBridge/CLAUDE.md AuthBridge-specific AI context (AuthProxy + client-registration + demo flows).
kagenti-webhook/CLAUDE.md Webhook-specific AI context (mutation/injection logic, repo conventions, test/dev commands).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread CLAUDE.md Outdated
Comment thread CLAUDE.md Outdated
Comment thread CLAUDE.md Outdated
Comment thread CLAUDE.md Outdated
Comment thread AuthBridge/CLAUDE.md Outdated
Comment thread AuthBridge/CLAUDE.md Outdated
Copilot AI review requested due to automatic review settings February 13, 2026 03:43

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread CLAUDE.md Outdated
Comment thread CLAUDE.md Outdated
Copilot AI review requested due to automatic review settings February 13, 2026 13:56

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 5 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread kagenti-webhook/CLAUDE.md
Comment thread kagenti-webhook/CLAUDE.md
Comment thread CLAUDE.md Outdated
Comment thread CLAUDE.md Outdated
Comment thread CLAUDE.md

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/ci.yaml
Comment thread .github/workflows/ci.yaml Outdated
Comment thread kagenti-webhook/internal/webhook/injector/pod_mutator.go Outdated
Copilot AI review requested due to automatic review settings February 13, 2026 19:13
@mrsabath mrsabath changed the title feat: Add CLAUDE.md files to improve AI processing feat: Add CLAUDE.md files to improve AI processing and update CI flow Feb 13, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/ci.yaml
Comment thread kagenti-webhook/internal/webhook/injector/pod_mutator.go Outdated
@huang195

Copy link
Copy Markdown
Member

@mrsabath I would recommend to add just the CLAUDE.md file(s) and not mix it up with changes in the *.go file. Let those changes in *.go files be another PR perhaps.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread kagenti-webhook/CLAUDE.md
Comment thread CLAUDE.md
Comment thread CLAUDE.md Outdated
Comment thread kagenti-webhook/CLAUDE.md
Add CLAUDE.md files at root, AuthBridge/, and kagenti-webhook/ levels
to provide structured context for AI coding agents working with this
repository.

Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>
@mrsabath

Copy link
Copy Markdown
Contributor Author

All the Copilot suggestions are addressed by issue #122

@mrsabath mrsabath changed the title feat: Add CLAUDE.md files to improve AI processing and update CI flow feat: Add CLAUDE.md files to improve AI processing Feb 18, 2026
@mrsabath

Copy link
Copy Markdown
Contributor Author

@mrsabath I would recommend to add just the CLAUDE.md file(s) and not mix it up with changes in the *.go file. Let those changes in *.go files be another PR perhaps.

@huang195 I split this PR into 2 PRs. This one addresses only the CLAUDE.md files and the other one is addressing the CI pipeline changes. Please review and approve.

@huang195

Copy link
Copy Markdown
Member

@mrsabath 2 issues:

  • Reference to github.com/huang195/auth-proxy is outdated. That was fixed by Morgan in one of her PRs.
  • Since we're trying to remove the dependency of having to set privileged: true, we should refrain from stating this in CLAUDE.md

Other than these, everything else looks fine.

Remove stale AuthProxy module name reference (github.com/huang195/auth-proxy
was already renamed) and privileged mode statements (dependency being removed).
Update AuthBridge/CLAUDE.md module name to match current go.mod.

@huang195 huang195 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks good. Thank you!

@huang195
huang195 merged commit f2d4e9a into rossoctl:main Feb 18, 2026
4 of 5 checks passed
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.

3 participants