# Status review, 2026-11-08

> Where pgetcd stood before the MVP decision, why the work did not converge, and what changed.

---

LLMS index: [llms.txt](/llms.txt)

---

> [!NOTE]
> Review conclusion dated 2026-11-08. It applies to the repository as it stood that morning (one commit, `b4f5c72`) and records the outcome up to `v0.1.0-rc2` (commit `81691bc`). The decisions it led to are in the [MVP goal](/docs/etcd/design/mvp-goal/).

## Question {#question}

pgetcd had been in development for about a month and kept testing without closing out. The review asked three things: what the code and tests had actually reached, why the work did not converge, and whether a basic version could be cut.

## State at the review {#state}

- **The single-primary subset was already accepted.** On 2026-10-08 a frozen candidate passed P0 (17 items), P1 (22 groups, including a 1,000,000-call model and Watch audit) and P2 (20 groups, including the selected Kubernetes 1.36.4 / 1.37.1 conformance sets with 446 / 462 cases). It covered KV, Txn, Watch, Lease, logical Compact, `MemberList` and `Status` on one PostgreSQL primary.
- **Almost no code was in Git.** The repository had one commit (`b4f5c72`, 2026-10-22), a Go 1.27.3 dependency upgrade with 38 files. About 1,226 files, including the gateway command and the extension, were untracked. A clean checkout of `HEAD` could not build the gateway.
- **The root tree had drifted from the accepted candidate.** It stopped changing in mid-October except for the dependency upgrade. Compared with the frozen P2 gateway sources, 14 of 57 files differed, and the root tree had not been re-verified.
- **P3 had moved away from etcd.** P3 started as production HA. It then grew into an own PostgreSQL wire and TLS stack (records 0009–0118), a custom Go 1.27 runtime with byte-level memory accounting (0119–0318), and finally a patched Linux kernel with SLUB and memblock accounting (0319–0356, kernel ABI 148). The rule was that native admission stays closed until every cost category under fixed 32/15/32 MiB budgets is proven, so the target had no reachable end.
- **The root tree still worked.** On the review host the gateway built, `go test ./...` reported 5,164 PASS / 6 FAIL / 39 SKIP (all failures in a P3 source-constraint test), and the Watch and gateway race integration passed 88 tests on a real PostgreSQL 18.6 with the official clientv3 3.6.15 and 3.7.2.
- **Nothing was running.** The last test output was from 2026-11-04.

## Why the work did not converge {#causes}

1. **An unbounded completion target.** The P3 objective required every runtime, allocator, kernel and physical cost to be proven before HA testing could even begin. Each lower layer exposed new unproven costs.
2. **Full revalidation for every change.** Any source change required a new immutable evidence epoch, rebuilds, paired counterexamples, two-site archive readback and bilingual documentation. The project accumulated about 840 P3 evidence epochs, about 215 kernel builds and about 600 companion pages.
3. **Deterministic, self-imposed failures.** Most failures were capacity shortfalls against the project's own budgets, not flaky tests.
4. **Nothing was ever promoted.** Candidates lived outside the root tree and the code was not committed, so at no point was there a releasable state.
5. **Environment churn.** Cache cleanups removed inputs that the old offline gates needed, so the P2 gate could no longer be reproduced.

## Decisions {#decisions}

The user decided on 2026-11-08:

- **Freeze the P3 native line.** Stop the own wire and TLS stack, the runtime accounting and the kernel accounting. Keep the candidate trees as research material. See [The frozen native line](/docs/etcd/design/native-line/).
- **Make the MVP release candidate the only completion condition.** The [MVP goal](/docs/etcd/design/mvp-goal/) replaces the 0119 completion objective and "P3 OPEN".
- **Remove defensive testing.** Verification must be proportionate to an MVP: no endurance runs, full instrumentation matrices, repeated benchmark rounds, conformance rebuilds or root-cause batches for rare intermittent failures.
- **Keep design records here.** pgetcd design documents now live in this section.

## Outcome {#outcome}

| Step | Commits | Result |
| --- | --- | --- |
| Commit the code | `f01c777`, `4241ec7`, `b3d0bd2` | The root tree is in Git; large test inputs and historical notes stay ignored |
| Clear the tests | `ff6f7e1`, `6486cd1`, `a7b4206`, `a8851dd`, `7e43446` | P3-only tests isolated behind the `pgetcd_p3` build tag, a watchdog test race fixed, `go vet` clean on macOS and Linux |
| `v0.1.0-rc1` | `2b36cba`, tag on `250df4c` | Regression on `7e43446`: all items passed except `etcdctl endpoint health`; benchmarks exposed the gateway withdrawing readiness under load |
| `v0.1.0-rc2` | `fad4d2f`, `db0577b`, `81691bc` | Readiness check on a reserved slot, client requests queue up to 5 s, readiness changes logged, `Alarm` list query added; lean verification passed with 50/50 `etcdctl` probes and 0 refused requests at 128 clients |
{.wide}

[Status](/docs/etcd/status/) lists the remaining known issues of `v0.1.0-rc2`, including Watch delay under sustained heavy writes.

---

Backlinks:

- [Design](/docs/etcd/design/)
- [MVP goal (v0.1.0)](/docs/etcd/design/mvp-goal/)
- [The frozen native line](/docs/etcd/design/native-line/)
