Skip to content

Instantly share code, notes, and snippets.

View kenmazaika's full-sized avatar

ken mazaika kenmazaika

View GitHub Profile
@kenmazaika
kenmazaika / failed-voice-guide.md
Created October 20, 2026 15:27
The voice guide that damaged my prose — the 20-rule voice.md that made my agent invent a scene, printed in full

The voice guide that damaged my prose

This is the voice.md I ran for about a month. Twenty-odd rules, a self-specificity clause, a two-to-five sentence paragraph cap, a seven-question sign-off gate. Every draft went through it. I credited it every time a draft came back sounding better than the last one.

Then I ran a control: the same short essay about the same Reddit post, once with this file and once with no file at all. The version with no guide was better. It opened on the lesson, ran sentences from eight words to thirty-five, used the em dashes I actually use, and invented nothing.

The version written under this file opened on a scene that never happened — "On October 19, I wrote down one rule for every overnight OpenClaw job I run" — because block 1 demands a dated, countable personal moment, and the model supplied one.

That is the part worth reading for. The file forbids inventing a number, a quote, or an opinion. It does not forbid inventing a memory, and nothing in it outranks the demand for

@kenmazaika
kenmazaika / README.md
Last active October 20, 2026 15:28
Voice Guide Kit — a control test: is your agent's voice guide helping or hurting? Fill in the template, run the same sample with it and without it.

Voice Guide Kit

A control test for your agent's voice guide. Empty on purpose — you fill in the guide.

The question this answers

Is your voice guide helping or hurting? You cannot answer that by reading your drafts. You can only answer it by writing the same thing twice: once with the guide, once without.

Most guides are built by accretion. Each rule seems sensible, so you add it. After a while the file is long,

// String Functions
func substr(input: String, start: Int, count: Int) {
var substr = ""
for i in range(0, input.length) {
if(i >= start && i <= start + count - 1 ) {
substr = substr + input[i]
}
}
func add(a: Int, b: Int) {
a + b
}
func mult(a: Int, b: Int) {
a * b
}
func combine(a: Int, b: Int, comp: (Int, Int) => Int) {
// Convert Celsius to degrees Fahrenheit
func convert(celsius: Float) {
celsius * 9 / 5 + 32
}
val input = 45.0
println("The temperature " + input + " Celsius is " + convert(input) + " Fahrenheit")
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "helm-chart.fullname" . }}
labels:
app.kubernetes.io/name: {{ include "helm-chart.name" . }}
helm.sh/chart: {{ include "helm-chart.chart" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
spec:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Flashback</title>
<script src="https://unpkg.com/@babel/standalone@7.2.5/babel.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/16.0.0/umd/react.development.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/react-dom/16.0.0/umd/react-dom.development.js"></script>
<link rel="stylesheet" type="text/css" href="index.css"></link>
</head>
sudo mv /var/lib/pgsql9/data/postgresql.conf /var/lib/pgsql9/data/postgresql-old.conf
sudo curl -o /var/lib/pgsql9/data/postgresql.conf https://gist.githubusercontent.com/kenmazaika/7bc24fb5541de023fbc8b942e05a1c5c/raw/faa529be3b46eb036229114c15faffa9acbf43a0/postgresql.conf
sudo mv /var/lib/pgsql9/data/pg_hba.conf /var/lib/pgsql9/data/pg_hba-old.conf
sudo curl -o /var/lib/pgsql9/data/pg_hba.conf https://gist.githubusercontent.com/kenmazaika/75d310aaf1509a8a8f95c28cc7c14202/raw/9a681b510fdaac78fbe3c4aa955a101b9fad6487/pg_hba.conf
sudo /etc/init.d/postgresql start
sudo sudo -u postgres psql -c "ALTER USER postgres WITH PASSWORD 'password';"
sudo sudo -u postgres psql -c "UPDATE pg_database SET datistemplate = FALSE WHERE datname = 'template1';"
sudo sudo -u postgres psql -c "DROP DATABASE template1;"
sudo sudo -u postgres psql -c "CREATE DATABASE template1 WITH TEMPLATE = template0 ENCODING = 'UNICODE';"
sudo sudo -u postgres psql -c "UPDATE pg_database SET datistemplate = TRUE WHERE datname = 'template1'
class LinkedListNode
attr_accessor :value, :next_node
def initialize(value, next_node=nil)
@value = value
@next_node = next_node
end
end
class Stack
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
<h1 id="headline">Hi Karla</h1>
<button id="btn">Click me!!!</button>
<script>
// var movieName = "Sharknado";
// var apiKey = "4ce5edcc";
// var queryURL = "http://www.omdbapi.com/?t=" + movieName + "&apikey=" + apiKey;