Skip to content

Instantly share code, notes, and snippets.

View marccampbell's full-sized avatar

Marc Campbell marccampbell

View GitHub Profile
@marccampbell
marccampbell / 2026-03-06.md
Last active March 7, 2026 12:15
Support Bundle AI - Progress Notes Mar 6-7 2026

2026-03-06

Support Bundle AI — Major Progress

What Happened

  • Rebased feat/daytona-provisioning onto latest main (resolved otel version conflicts)
  • Added "Analyze with AI" menu item to SupportBundleRow (gated by ai_support_bundle_analysis feature flag)
  • Wired button to POST /v3/supportbundle/:bundleId/agent/start
  • Renamed tables: support_bundle_analysisai_support_bundle_analysis (+ bundle join table)
  • Moved SchemaHero schemas to correct path: migrations/kustomize/schemas/mysql/
@marccampbell
marccampbell / helm-reference-design.md
Created February 23, 2026 16:36
Helm Chart Reference Docs — EP Design

Helm Chart Reference Docs — Design

Overview

When a vendor promotes a release, we generate structured Helm chart reference documentation and serve it through Enterprise Portal. Vendors declare which charts they want documented in toc.yaml. The worker extracts chart content from the release, parses values.yaml deterministically, enriches with Claude, and stores structured JSON. The EP frontend renders it using the same component pattern as Terraform module references.

toc.yaml Declaration

- title: Reference
@marccampbell
marccampbell / tf-module-uri-design.md
Last active February 20, 2026 16:09
EP Terraform Module URI-Based Ingest — Design Update

Terraform Module URI-Based Ingest — Design

Summary

Terraform modules are referenced as source URIs directly in toc.yaml. The URI is the single source of truth for where a module lives. During content sync, Vandoor resolves the URI, fetches the module using the GitHub App, and stores it with a commit SHA for change detection.


toc.yaml

@marccampbell
marccampbell / bot-credential-broker-plan-generic.md
Created February 17, 2026 14:59
Bot Credential Broker - Product Plan

Bot Credential Broker

A service that provides scoped GitHub credentials to autonomous bots, with policy-based auto-approval and human-in-the-loop approval flows.

Problem

When running multiple autonomous bots (coding agents, CI helpers, etc.), each bot needs GitHub access to:

  • Read/write code
  • Comment on issues and PRs
  • Push commits
@marccampbell
marccampbell / bot-credential-broker-plan.md
Created February 17, 2026 14:57
Bot Credential Broker - Product Plan

Bot Credential Broker

A service that provides scoped GitHub credentials to autonomous bots, with policy-based auto-approval and human-in-the-loop approval flows.

Problem

When running multiple autonomous bots (coding agents, CI helpers, etc.), each bot needs GitHub access to:

  • Read/write code
  • Comment on issues and PRs
  • Push commits
@marccampbell
marccampbell / sentinel-architecture.md
Created February 1, 2026 01:40
Sentinel Code Review Bot - Architecture and Configuration

Sentinel Code Review Bot - Architecture

Sentinel is an automated code review bot that reviews PRs across marc-campbell repositories using OpenClaw as its brain.

Components

1. sentinel-bot VPS (Hetzner)

  • Runs OpenClaw with Claude Sonnet 4.5
  • Tailscale hostname: sentinel-bot
  • Workspace: /root/clawd/
@marccampbell
marccampbell / kube-proxy-arm.yaml
Last active October 18, 2020 04:28
EKS kube-proxy ARM
---
apiVersion: apps/v1
kind: DaemonSet
metadata:
labels:
k8s-app: kube-proxy-arm
eks.amazonaws.com/component: kube-proxy
name: kube-proxy-arm
namespace: kube-system
spec:
-----BEGIN PGP PUBLIC KEY BLOCK-----
xsFNBF6jKN8BEACr5P1O1KERDMTyRWUx3wFf2cDPPXVrAfVx/Zs3zzxADTqnX32C
q1AENWqQQZM8Gn6H1TwjIutIohCeSg04+InjOuHcR8HMx0qukdwDLwBLcSXFEmgc
GEkChTClZ9WFz83Gmor1aIwzEeX0ZsFxJoDZRr/0Ci27IQB/E2r/1a61k/N9kJIZ
6FOjd2+R4LOAo4g1S3+4ULEKjw/geUA/FlMud+9RHYjE8FmbSY/VqioIDdNE6tLR
P2mvkwuGESf40s7dK0y27daGf0kcdiWzpEk7LHfJ1l5noPSAW17CF15Bo+PY4+JC
DNtD/x8j0wtBeeE9tZlHVkAMBLDuUmTp6k1fGtRIkUtstfrPOaTc2k5YgkDvLYgg
USgDG0JA5PUj0tMtIwJL/rOsvVlcYcul7LX5NzDyFMRnYdtMFVfcNATbQqvbOuP2
bzeCuoskIiKIx+FjWvo+OXR7WPkNlkt8WMO/LiBnw8BBNsKXtbewfuedRNm5puDO
3F55sGUpnpKzLrmsQOfjUwsnKMwCgMABrF+AhUBCG1usJY2kTaw810W13JXe3rz+
apiVersion: troubleshoot.replicated.com/v1beta1
kind: Preflight
metadata:
name: example-preflight-checks
spec:
analyzers:
- clusterVersion:
outcomes:
- fail:
when: "< 1.13.0"