Skip to content
View CJstate's full-sized avatar
🟢
Open to backend / infrastructure roles
🟢
Open to backend / infrastructure roles

Block or report CJstate

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
CJstate/README.md
CJstate: Go backend and infrastructure
CJstate: merged upstream work and live metrics
CJstate contribution graph snake

About

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.

🔧 Selected upstream work

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.

Things I built

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.

🧪 How I work

  1. Reproduce it. A script, not a hunch. If I cannot make it fail twice, it is not a bug report yet.
  2. Write the failing test. The diff starts red, or it does not start.
  3. Fix the class, not the instance. The narrowest change that makes this kind of bug impossible.
  4. Leave the suite green. And say exactly what I ran, so a maintainer can check it in one command.

🧰 Toolbox

Go, Python, Kubernetes, Prometheus, Docker, Linux, GitHub Actions, pytest

📫 Contact

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

Pinned Loading

  1. dagucloud/dagu dagucloud/dagu Public

    Self-hostable workflow orchestrator for teams whose main work isn't orchestration. Declarative YAML over your scripts, SSH commands, containers, etc; keep workflows separate from business logic. On…

    Go 4.8k 433

  2. nvm-sh/nvm nvm-sh/nvm Public

    Node Version Manager - POSIX-compliant bash script to manage multiple active node.js versions.

    Shell 96.4k 10.7k

  3. etcd-io/etcd etcd-io/etcd Public

    Distributed reliable key-value store for the most critical data of a distributed system

    Go 52.7k 10.7k

  4. spf13/cobra spf13/cobra Public

    A Commander for modern Go CLI interactions

    Go 45k 3.7k

  5. CursorTouch/Windows-MCP CursorTouch/Windows-MCP Public

    MCP Server for Computer Use in Windows

    Python 12.5k 1.3k

  6. tailscale/tailcat tailscale/tailcat Public

    like netcat, but over Tailscale's data plane, without Tailscale's control plane

    Go 12k 569