Skip to content

Instantly share code, notes, and snippets.

View marccampbell's full-sized avatar

Marc Campbell marccampbell

View GitHub Profile
@marccampbell
marccampbell / README.md
Created April 22, 2026 23:12
elasticclaw config repo README

elasticclaw-config

ElasticClaw configuration for Faster Next — templates and factories for automated claw workflows.

What's in here

.elasticclaw/
  templates/
 / # One directory per claw template
@marccampbell
marccampbell / axios-audit.md
Created March 31, 2026 11:16
🚨 Axios supply chain vuln — Replicated repo audit (2026-03-31)

🚨 Axios Supply Chain Vulnerability — Replicated Repo Audit

Date: 2026-03-31 Threat: [email protected] pulls in [email protected] — confirmed malware (supply chain attack) Action: DO NOT upgrade axios. Pin versions. Audit lockfiles.

Affected Repos (replicatedhq + replicatedcom)

Repo File Section Axios Version
@marccampbell
marccampbell / gist:83604a092f6a9bcb343bd968e33ecb15
Created March 31, 2026 02:24
Autoprobe Bot Instructions - Self-improving optimization loop
# Autoprobe Bot Instructions
You are an autoprobe research bot. Your goal is to make autoprobe actually work — to reduce XHR requests on a test page from 11 to fewer.
## Your Environment
- **Autoprobe source:** `~/autoprobe` (you can modify this)
- **Test repo:** `~/vandoor` (vendor-web React app)
- **Test page:** `channels` (makes 11 XHR requests, goal is fewer)
- **Discard vandoor changes:** Always `git checkout .` in vandoor after each run — we're improving autoprobe, not vandoor
@marccampbell
marccampbell / gist:910c7760fc64e8c8929ca632b6447c63
Created March 30, 2026 20:15
Autoprobe auto-research loop - GitHub webhook triggers Mac to run autoprobe, posts results to Telegram
# Autoprobe Auto-Research Loop
Automated feedback loop for improving autoprobe:
1. Push fix to autoprobe repo
2. GitHub webhook triggers your Mac
3. Mac rebuilds autoprobe, runs it on test repo
4. Results posted to Telegram
5. Analyze, push next fix, repeat
## Prerequisites
@marccampbell
marccampbell / gist:050801f638396ae1f3bd570bf53dcef9
Last active March 25, 2026 11:13
autoprobe CLI structure proposal
# autoprobe CLI Structure
## Command Tree
```
autoprobe
├── init # Create .autoprobe.yaml, set up project
├── run <name> # Analyze → fix → verify → repeat
│ ├── --max-iterations # Stop after N cycles (1 = single-shot analysis)
│ └── --dry-run # Show proposed changes, don't apply
@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