Engineering method · 2026-11-13
Every iteration should leave better evidence
Recursive self-improvement, the way we mean it: not a model changing its own weights, but a team of people, agents and a shared knowledge base that gets better at getting better.

What improves
Four engineers set the direction and approve every production change. Agents dig, measure, write things down and correct each other. Every lesson goes back into the repository as an SOP, a rule in AGENTS.md, a test case or a measuring tool. The next agent reads those first, so it starts where the last round ended. The recursion is that the process itself, including the rulers, thresholds and rules, is one of the things being improved.
| Layer that improves | Example |
|---|---|
| Code and configuration | 18 gateway versions in 4 days; 15 worker patch sets |
| Rulers | A 4–9% noisy metric replaced by one at 0.8–2.4% |
| Process | A six-stage SOP; canary plus shadow gateway |
| Rules | Nine hard rules in AGENTS.md, each with the incident behind it |
The rhythm is visible in the history
One loop, six steps
- Define the problem: a replayable input, the wrong output before the fix and a pass condition. Without all three, work does not start.
- Freeze the ruler: the same request bytes, the same machine, and A/A noise measured first.
- Cross-check: a sub-agent's conclusion counts only after we verify it against raw data.
- Canary rollout: the standby machine runs the full suite first; then node by node, with the rollback command written before anyone touches production.
The ruler improves too
The same day we added quality gates (gsm8k, math500, BFCL and a 512K needle test) with paired McNemar tests. After that, every "x% faster" had to clear this ruler first.
Sub-agents are wrong sometimes
| Original claim | Overturned by | Evidence | Outcome |
|---|---|---|---|
| Bounded replay is off | Our own check | Already on in the production launch args | A batch of upstream fixes became applicable |
| NCCL without in-node network: decode unchanged | Same-machine recheck | Alternated 4 times: c8 decode 3.3–4.0% slower | Not in the default config |
| EP4 regresses 9% at c16 | ABABA restarts | Mostly that one machine was about 6% slower | EP4 adopted |
| Cross-machine noise floor is 2% | ABABA restarts | A restart alone on one machine drifts 3–4% | Threshold raised |
Our verified conclusion beats a sub-agent's summary. Cross-machine conclusions only count after a same-machine recheck.
Vetoed as often as adopted
| Decision | Data |
|---|---|
| Vetoed: DeepSeek PD disaggregation | 3P+1D had 17% less throughput than 4 aggregated nodes |
| Vetoed: prefill compute overlap | +0.52%, under the 3% bar |
| Vetoed: KV pool raised to 6M | First revisit took 40% longer |
| Adopted: GLM prefill chunk 2048 | Cold-start p99 157 s → 57 s |
| Adopted: MXFP8 tactic by M | c1 time per token −18%, outputs bit-identical |
| Adopted: short requests avoid long prefills | 4K-token p90 12 s → 0.58 s |
Elegance here means that every design choice that remains beat its alternatives, by more than the noise.
Honest limits
- The loop is still pushed by people: engineers decide which threads to open and close.
- Changes between teams are not yet announced in one place; two incidents came from unannounced bulk replacements.
- Non-determinism is not solved: with the same config, greedy output can diverge after a few dozen tokens across restarts.
- Some conclusions hold only at today's scale, such as "no PD for DeepSeek" at four machines.
Next: run the ruler, the gates and the rollback automatically on every commit, so the loop depends less on people remembering.
Data & sources
| Test | Observed result | Scope |
|---|---|---|
| Commits | 227 | Knowledge base 117 · ops 110, Oct 11–20 |
| Agent co-authored | 168 / 227 (64%) | Repository history |
| Metric noise | 4–9% → 0.8–2.4% | Decision threshold 2% |
October 2026 engineering measurements on the stated hardware and workload. They are not a cross-model ranking or a service-level guarantee.
This work runs underneath Zenith Tokens.
Try Zenith Tokens