Skip to content

Instantly share code, notes, and snippets.

View benranck's full-sized avatar

Benjamin Ranck benranck

View GitHub Profile
@benranck
benranck / ralph-audit.sh
Created April 10, 2026 03:04
ralph-audit.sh — AI-powered read-only codebase audit loop Walks an entire repository file-by-file in batches, sends each batch to a headless AI CLI for architecture/logic review, accumulates findings, then runs a final synthesis pass to produce a deduplicated audit report.
#!/usr/bin/env bash
set -Eeuo pipefail
# ralph-audit.sh — AI-powered read-only codebase audit loop
#
# Walks an entire repository file-by-file in batches, sends each batch to a
# headless AI CLI for architecture/logic review, accumulates findings, then
# runs a final synthesis pass to produce a deduplicated audit report.
#
# The script is model-agnostic: any CLI that reads stdin and writes to stdout
@benranck
benranck / localConfig.js
Last active December 31, 2015 05:39
Statsd config
{
graphitePort: 2003,
graphiteHost: "127.0.0.1",
port: 8125
}
@benranck
benranck / storage-schemas.conf
Created December 13, 2013 07:17
Basic graphite storage config
[stats]
priority = 110
pattern = .*
retentions = 10:2160,60:10080,600:262974