Skip to content

Instantly share code, notes, and snippets.

@121watts
121watts / README.md
Last active June 3, 2026 09:42
Agent role loop: Planner -> Clarifier -> Human Gate -> Builder -> Reviewers -> Reviewer Boss

Agent Role Loop

A portable workflow for using agents on engineering work without stuffing the whole job into one long context window.

Core idea:

Break a job into roles, give each role its own context, and pass only structured handoffs between them.

Loop:

# coding=UTF-8
from __future__ import division
import re
# This is a naive text summarization algorithm
# Created by Shlomi Babluki
# April, 2013
class SummaryTool(object):
@jessedearing
jessedearing / gist:2351836
Created April 10, 2012 14:44 — forked from twoism-dev/gist:1183437
Create self-signed SSL certificate for Nginx
#!/bin/bash
echo "Generating an SSL private key to sign your certificate..."
openssl genrsa -des3 -out myssl.key 1024
echo "Generating a Certificate Signing Request..."
openssl req -new -key myssl.key -out myssl.csr
echo "Removing passphrase from key (for nginx)..."
cp myssl.key myssl.key.org
openssl rsa -in myssl.key.org -out myssl.key