Originally published at xgbtxy.github.io/essays/zero-fp-oss-and-ietf-errata.html.
Open-source maintainers are drowning in low-signal pull requests right now. Spend ten minutes browsing the open PR queue of any well-known Go, Rust, or Python repository and you will see the same pattern: 400-line speculative rewrites, auto-generated summaries claiming to "improve robustness," drive-by formatting edits, and patches whose author clearly never ran the repo's own test suite.
From the maintainer's side of the screen, reviewing one noisy PR costs far more cognitive energy than closing ten good ones. Every false positive—a linter warning that isn't reachable, a race report built on a misread lock invariant, a "fix" that quietly breaks a documented edge case—burns down trust faster than any contributor realizes.
Over the past stretch of contributing upstream, I forced myself onto one strict habit: treat maintainer review bandwidth as the scarcest resource in the room, and refuse to open a PR or standards erratum unless a deterministic local check proves the defect first.
My own view of software craft is pretty relaxed: technology has fewer real walls than ever today—specs, compilers, and test suites are wide open—so the whole game is using clean local checks to do the right small thing at the right time. That habit carried across 77 officially merged mainline upstream PRs and 3 officially Verified IETF RFC technical errata (0 Held, 0 Rejected).
1. What Actually Gets Merged Across Busy Upstream Ecosystems
Different ecosystems have completely different review cultures, yet they reward the exact same signal: a minimal diff anchored to an indisputable failure mode, a focused regression test, and zero unrelated churn.
- Apache Software Foundation (
apache/iceberg-go#2793,apache/arrow-go,apache/datafusion-sqlparser-rs,apache/opendal,apache/spark): tight boundary checks, parser/dialect fidelity tests, zero unrelated file edits. - CNCF & Cloud-Native (
open-telemetry/opentelemetry-go#9581/#9582,cloudevents/spec#1418,prometheus/client_golang,coredns/coredns,theupdateframework/go-tuf,nats-io/nats.go,open-telemetry/opentelemetry-python): deterministic unit tests isolating exact error or state paths under repo linters. - Runtime, Storage, Tooling & HTTP (
psf/black#5750,etcd-io/bbolt#1372,opencontainers/runtime-spec#1337,valyala/fasthttp#2613): reproducing exact syntax, storage, schema, or codec edge cases before touching production code. - AI Runtimes & Agent SDKs (
microsoft/onnxruntime,huggingface/transformers,modelcontextprotocol/rust-sdk,a2aproject/a2a-python#1526): clean lifecycle/resource cleanup & SDK contract fixes backed by async/unit tests.
Look closely at four recent merges that illustrate the pattern:
- Storage integrity (
etcd-io/bbolt#1372): Adding an explicit overflow-page corruption guard in a widely deployed CNCF embedded key-value store. No redesign of freelist internals—just a crisp bounds invariant and a test proving corrupted page metadata is caught cleanly. - Container specification schema (
opencontainers/runtime-spec#1337): Fixing a concrete OCI runtime JSON Schema defect verified directly against the repo's schema validation suite so downstream runtime validators do not diverge from the prose spec. - Async lifecycle hygiene (
a2aproject/a2a-python#1526): Properly cleaning up async generators on early exit instead of leaking handles—trivial to reason about once a targeted unit test reproduces the leak deterministically. - Parser edge cases (
psf/black#5750): Recognizing lazy imports after colons, semicolons, and backslash continuations—pinpointed with minimal diff and clean parser regression tests.
In every one of these repos, maintainers can verify a focused patch in two minutes when the test fails before the patch and passes cleanly after it.
2. Applying the Same Discipline to Formal Standards: 3 Verified IETF RFC Errata
Formal RFC specifications look intimidating from the outside, yet they contain machine-checkable islands: ABNF grammars, CDDL definitions (RFC 8610), JSON/CBOR examples, and cross-referenced wire field tables. Human reviewers read prose carefully, while small syntax breaks inside formal blocks can slip past publication and trip up every implementer who feeds the spec into a parser.
A concrete example is RFC 8995 §5.7 (EID 9352, OPS Area). While validating the CDDL grammar block in Section 5.7 programmatically instead of eyeballing it, a deterministic CDDL parser tripped immediately on an unclosed brace in the published specification. Because the parse error was mechanical, unambiguous, and cross-checked directly against the canonical RFC text and the surrounding CDDL definitions, the Area Director verified it cleanly.
Running the same strict, zero-speculation check across published technical sections produced three officially Verified entries on the RFC Editor registry—with 0 Held for Document Update and 0 Rejected:
-
EID 9311— RFC 9983 §4.2 (Verified) -
EID 9330— RFC 10041 §4.2.5 (Verified) -
EID 9352— RFC 8995 §5.7 (Verified · CDDL unclosed brace, OPS Area)
3. A Practical 4-Rule Local Pre-Flight Checklist
You do not need a complex platform to keep your upstream false-positive rate at zero. Before opening any PR (hand-written or agent-assisted), run four deterministic checks locally:
- Prove the defect with a failing minimal reproducer first. Write the unit test, schema check, or grammar parse before touching implementation code. Watch it fail for the exact reason you expect. If you cannot make it fail locally, stop—you do not have a verified bug yet.
- Keep the diff single-purpose and line-tight. Resist fixing adjacent typos or refactoring helper names. Tools like
ap splice --hashlinehelp keep agent edits surgically scoped to the exact AST symbol rather than rewriting whole files. - Run the repo's real test + lint gate locally and read every warning. Compressing verbose test runs with
ap sieve run(or auditing offline withap-harness-lite v1.1.0) keeps every failure frame visible without flooding your terminal or context window. - Write a 5-line PR description with zero filler prose. State the concrete defect, the minimal reproduction command, why the fix is safe, and exact local test output.
bash # 1. Confirm the new regression test fails BEFORE the fix ap sieve run -- cargo test target_edge_case # 2. Apply a scoped symbol edit & verify AST + tests atomically ap splice apply --hashline --stdin --test --rollback-on-test-fail # 3. Inspect diff hygiene: zero drive-by formatting or unrelated files git diff --stat && git status -s 
