Skip to content

Add ACM policy tools, target management, and multi-arch build support#38

Open
edcdavid wants to merge 2 commits intosakhoury:mainfrom
edcdavid:policy-tools
Open

Add ACM policy tools, target management, and multi-arch build support#38
edcdavid wants to merge 2 commits intosakhoury:mainfrom
edcdavid:policy-tools

Conversation

@edcdavid
Copy link
Copy Markdown
Collaborator

@edcdavid edcdavid commented Feb 16, 2026

Add ACM policy diagnostic tools and RAG build infrastructure
Introduce two ACM-focused MCP tools for policy troubleshooting:

  • inspect_acm_policy: extracts structured compliance details from hub
    policies including per-cluster violations and affected resources
  • diagnose_acm_policy: deep-dives into a non-compliant policy on a
    specific cluster, inspecting each affected resource with ownership,
    events, and remediation guidance

Add supporting libraries: pkg/acm for hub resource inspection and
pkg/k8s for ACM hub detection via in-cluster config.

Simplify kubeconfig.go by removing verbose debug logging and unused
helpers (safePrefix, safeSuffix). Add makeOptionalFieldsNullable to
schema.go so LLM clients that send null for optional fields pass
strict JSON schema validation.

Add RAG content (tool docs, ACM architecture, debugging playbook),
Containerfiles and build scripts for dual-platform ragtool and RAG
data images. Extend ClusterRole with ACM policy and managed cluster
read permissions. Streamline README to focus on project overview.

The following related PRs are required for these tools to work properly:

Assisted by: Cursor

@edcdavid edcdavid marked this pull request as draft February 16, 2026 23:28
@edcdavid edcdavid force-pushed the policy-tools branch 3 times, most recently from fd8eb15 to e6cfb6d Compare February 23, 2026 18:46
@edcdavid edcdavid force-pushed the policy-tools branch 4 times, most recently from f5fb49f to 3eeb65e Compare February 27, 2026 23:34
Introduce two ACM-focused MCP tools for policy troubleshooting:
- inspect_acm_policy: extracts structured compliance details from hub
  policies including per-cluster violations and affected resources
- diagnose_acm_policy: deep-dives into a non-compliant policy on a
  specific cluster, inspecting each affected resource with ownership,
  events, and remediation guidance

Add supporting libraries: pkg/acm for hub resource inspection and
pkg/k8s for ACM hub detection via in-cluster config.

Simplify kubeconfig.go by removing verbose debug logging and unused
helpers (safePrefix, safeSuffix). Add makeOptionalFieldsNullable to
schema.go so LLM clients that send null for optional fields pass
strict JSON schema validation.

Add RAG content (tool docs, ACM architecture, debugging playbook),
Containerfiles and build scripts for dual-platform ragtool and RAG
data images. Extend ClusterRole with ACM policy and managed cluster
read permissions. Streamline README to focus on project overview.

Assisted by: Cursor
@edcdavid edcdavid marked this pull request as ready for review February 27, 2026 23:42
@sakhoury
Copy link
Copy Markdown
Owner

@edcdavid do we still need this PR?

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.

2 participants