I work on failure paths. A writer that accepts six of eight bytes and reports success.
A protocol frame that overflows an int. A UTF-8 boundary that splits a character. Most of
that code belongs to someone else, so the fix goes upstream.
The loop is the same every time: reproduce it, write the test that fails, fix the root cause, leave the suite green.
| Repository | Change | What broke |
|---|---|---|
klauspost/compress |
Close reports short writes of the gzip CRC/ISIZE footer |
A destination that took 4 of 8 footer bytes produced a truncated stream and a nil error |
valyala/fasthttp |
io.ErrShortWrite from five WriteTo paths (#2542, #2543) |
Args, Cookie, URI and both header types returned one Write result unchanged, so short writes vanished |
prometheus/prometheus |
Map GAUGE_HISTOGRAM to its metadata type in remote write |
dto spells it with an underscore, the lookup table doesn't, so gauge histograms shipped as UNKNOWN |
juanfont/headscale |
Reject pre-0.23 databases that lack a migrations table |
An old database could be migrated with no record of which migrations had already run |
prometheus/client_golang |
promlint no longer panics on a MetricFamily without a name |
One unnamed family took down the linter instead of being reported as a finding |
huggingface/speech-to-speech |
Sanitize schema property names before building the tool signature | A schema containing user-name or class crashed tool setup before a single token was emitted |
dagucloud/dagu |
Let an act retry a smaller batch after a partial overrun | A model that sent 6 actions with 5 left was told the budget was gone, and stopped working |
The largest cluster is in
dagu:
executor config validation across eight backends, until retry exhaustion, and
foreach environment scope.
Veritas-Harness is an agent harness where a run
can be checked instead of trusted. Every tool call, model reply and MCP request lands in a
hash-chained JSONL log. veritas replay verifies the chain, re-runs the tool half offline and
compares every result by SHA-256. Pure standard library, 141 tests, CI on Linux, Windows and
macOS across Python 3.10 to 3.13.
EvalGuard is a CI gate for LLM evaluation results. It
separates a real regression from noise with a relative threshold and a pooled standard-error band
over lm-evaluation-harness output, so a third-decimal wobble does not turn the build red.
107 tests, standard library only, offline demo included.
- Reproduce it. A script, not a hunch. If I cannot make it fail twice, it is not a bug report yet.
- Write the failing test. The diff starts red, or it does not start.
- Fix the class, not the instance. The narrowest change that makes this kind of bug impossible.
- Leave the suite green. And say exactly what I ran, so a maintainer can check it in one command.
Electrical engineering undergraduate, graduating in 2027. I learned Go by reading other people's servers and sending them patches, and the patches are the transcript.
Open to backend and infrastructure roles: 1507965754@qq.com · github.com/CJstate


