v1.0.0 release-candidate plan (roadmap 1.0.0a, R1–R3)
Status: approved (2026-11-23). Proposed 2026-11-22 and revised with the
maintainer’s decisions (§6); on 2026-11-23 the maintainer approved the v1.0
campaign plan (qualification plan §16, block D
excluded), the rc rule (qualification plan §8) and the R2 protocol
(feeder-under-load),
and confirmed the release line 1.0.0-rc.1 → 1.0.0 (§8 below). No tag and
no publication happen before the rc gates are met; no measurement before the
maintainer confirms the machines’ availability.
Path: v0.9.0 (published 2026-11-22) → v1.0.0-rc → v1.0.0. The acceptance for v1.0.0 is the roadmap’s: the ten criteria of the readiness assessment met or explicitly disposed, and R1–R3 complete. This plan orders the work and states what each step needs from the maintainer.
1. Order and parallel work
| Step | What | Depends on | Maintainer input |
|---|---|---|---|
| 1.0.0a | This plan; roadmap R section from “proposed” to “approved” | — | Approve the plan (§7) |
| R1 | v1.0 qualification campaign (§2) and the dispositions decided on its results | Candidate frozen (after R3a–R3d changes land); campaign plan approved | Approve the campaign plan; one decision per non-PASS result, after the results |
| R2 | #87 diagnosis (two-Mac protocol variant, §3), then the declared supported envelope | Protocol approved; availability of both Macs agreed | Approve §3; agree the measurement window; decide on the outcome |
| R3a | Threat model and SECURITY.md (criterion 7); GitHub Private Vulnerability Reporting enabled and verified |
— | Enable the repository setting |
| R3b | Randomized feeder/restart soak, server as a child process, and §9 MUST traceability (criterion 3) | — | — |
| R3c | Reproducible-build check (criterion 6), macOS, Linux and CI | — | — |
| R3d | Contract freeze review (criterion 1) | R3a–R3c merged, any rc code change landed | Approve the frozen list |
| R3e | Independent AI review of the whole 1.0 contract set (criterion 9) | R3d; R3b traceability | — (form decided, §4) |
| rc | Tag v1.0.0-rc.1 (not in this phase) |
R1 and its rc-blocking rule (§2), R3a–R3e. R2 is diagnostic: it informs the envelope but does not block (§2). | Go / no-go |
| 1.0 | Platform smoke tests, rc→1.0 diff under the compatibility policy, soak and envelope repeated on the release commit | rc | Go / no-go |
R3a, R3b and R3c started in parallel on 2026-11-22 and were merged the same
day: threat model (knotrel/knotrel#106), soak (#105), reproducible-build check
(#107). The soak found defect D1, fixed in #104 (changed release code, so it
enters the v1.0 campaign). R3d and R3e come last on purpose: the
freeze and the review must see the contract that ships. Changes to
.github/workflows/release.yml and ci.yml are reviewed before any pull
request.
2. R1 — v1.0 qualification campaign and dispositions (decided)
Decisions (2026-11-22).
- v1.0.0 gets its own campaign against the latest published 0.9.x, frozen as the reference (today v0.9.0), even if the measured code is unchanged from that reference.
- The campaign reuses the existing protocol (the v0.9.0 qualification protocol, itself the v0.7.0 qualification-3 method: cells, pairs, estimators, seeds, window multipliers, interference policy, thresholds) and limits its perimeter to the relevant comparisons. It does not reopen every diagnostic.
- Results and intervals are published on the benchmark site.
- The v0.9.0 exceptions remain historical evidence, for v0.9.0 only. Dispositions for v1.0 are decided on the relevant results of the new campaign, with no acceptance in advance.
Proposed perimeter (fixed in the campaign plan, approved before measuring, like 0.9.6; draft: v1.0.0 qualification plan, proposed):
| Group | Cells | Why |
|---|---|---|
| Release cells (A) | All 9 | The headline release comparison |
| Former exceptions | E1 core sparse traversal; E2 HTTP batch 256 (with its RSS supporting metric); E3 metrics overhead, lifecycle batches, sparse 10k; E4–E5 core flagged import, sparse and hub 10k | The results not PASS in 0.9.6, re-measured, not inherited |
| Concurrency (M_reg) | The 6 cells | Regression guard of v0.7.0’s read-write lock |
| Feeder under load | Q1–Q5 of docs/integrations/feeder-under-load.md, the approved single-host protocol |
Q3 stays a criterion; the R2 variant is separate and is not this campaign |
| Code changed since the reference | Every cell exercising a path changed between the reference and the candidate (none if crates/, Cargo.toml, Cargo.lock and rust-toolchain.toml are unchanged) |
Changes must be qualified |
| Disclosures | C4 RSS (6 cells), import-high |
Kept visible, disclosure category as before |
Out of the perimeter unless a code change touches them: B1–B4 lifecycle
timing beyond the cells above, B5, C1–C3, T5, Rmem, M_desc, Part 2-style
descriptive comparisons. Clarified (2026-11-22): the selection is
reduced compared with the v0.9.0 campaign, and the method of every
reused cell stays unchanged. The campaign plan maps every function changed
since the reference to the cells included or excluded, with a reason. It
also includes the cells that a collector produces with an included cell
(C1–C3 with C4, all of R and Rmem), so that nothing measured goes
unreported. The A cells use a fixed sample of 24 pairs with no interim
look, so that the stated interval coverage holds; this is a deviation from
the v0.9.0 extension rule, justified in the campaign plan. The two hub 10k requirements (E6) stay not
qualifiable by comparison until an atomic reference design is approved
(roadmap v1.2.0 H2); the campaign states that, without a verdict.
After the results, each non-PASS result gets a maintainer decision for v1.0: accepted for v1.0 with its classification kept and disclosed, or assigned to v1.2.0 H2 with a criterion, or fixed and re-measured. Classifications, intervals and thresholds stay as measured. The candidate for the campaign is frozen only after the R3 changes to release code have landed.
rc-blocking rule (proposed, with the maintainer’s clarifications of 2026-11-22).
- The rc is not tagged until the campaign is valid and every non-PASS result has a recorded disposition, as above.
- Q3 needs both an explicit disposition and a documented operational envelope (the declared supported envelope, §3 “Then”). The absence of either one blocks.
- E6 remains explicitly unqualified and requires a disposition for 1.0.
- R2 remains diagnostic. Not running it does not automatically block the rc. In that case the envelope is limited to the configuration actually measured, without attributing a cause to the Q3 failure.
- No 0.9 acceptance is transferred automatically.
- Budget: two separate caps, not a shared pool. The deciding blocks with their conformance overhead get at most 105 min; feeder under load gets at most 30 min.
- Reruns: only an infrastructure failure, unrelated to the measured code and recorded with evidence, allows one rerun of the affected child. A product crash, panic, timeout, wrong result or HTTP error is a result of that cell and is never repeated automatically.
3. R2 — #87 diagnosis: two-Mac protocol variant (proposed)
Question. Does the CPU load that PostgreSQL, the feeder, the writer and the query clients put on Knotrel’s host explain Q3’s failure, or is the limit inside Knotrel’s host itself (lock waits, query execution)?
What separating the loads can and cannot show. Moving the load to a second host changes more than CPU availability: it adds a network link in place of loopback and removes memory-bandwidth, cache and scheduler interference and PostgreSQL’s I/O from Knotrel’s host. A better catch-up rate in that layout alone does not isolate CPU as the cause. The variant therefore adds an arm that gives the CPU load back to Knotrel’s host while the rest of the layout stays separated (arm U), and the outcomes distinguish supported, insufficient evidence and not supported.
Why two machines. macOS has no core pinning (no taskset/cpusets), so
the roadmap’s single-host pinned variant is not available on the
maintainer’s hardware.
Hosts.
- Host K (Knotrel): the Apple M3 (4P+4E, 16 GB, macOS 26.5.2), the host of every earlier feeder-under-load and qualification measurement.
- Host L (load): the MacBook Pro M4 (16 GB): PostgreSQL 18.7
(
scripts/start-test-postgres.sh, the 0.9.6 image digest), the reference feeder, the writer, the markers and the query clients. - Link: direct and wired (Thunderbolt bridge or Ethernet), not Wi-Fi. Before and after each arm: median and p99 of 1,000 TCP round trips; the arm is valid only if the median is ≤ 0.5 ms.
- Knotrel binds the link address with
KNOTREL_ALLOW_NON_LOOPBACK=true, on a private point-to-point link between the maintainer’s two machines (trusted network, within the trust model). - Availability (decided): the measurement window, with both Macs on AC power, idle and with no interactive use, is agreed with the maintainer before any measurement. The tool and protocol are prepared first.
Build under test: knotrel-server at tag v0.9.0. Feeder and load
tool from the integrations/postgres-feeder commit that adds the remote
mode below.
Tool change before measuring (reviewed; the single-host mode must stay
unchanged, checked by a smoke run): the load tool spawns the server on
127.0.0.1 today. Add a remote mode that starts and stops a fresh
knotrel-server on host K for every observation (over SSH, protocol
settings plus the bind address and KNOTREL_ALLOW_NON_LOOPBACK=true),
points the feeder, clients and markers at host K’s link address, samples
both hosts’ CPU, and, for arm U, runs a CPU load generator on host K.
Arms. Only scenario L2, graph G100k, the protocol’s backlog (100,000
changes) and settings; everything else as in
docs/integrations/feeder-under-load.md.
| Arm | Layout | Cells | Observations |
|---|---|---|---|
| S (control) | Single host, as approved for 0.9.3: everything on host K, loopback | C = 0, 16, 64 |
3 per cell |
| T (separated) | Knotrel on host K; everything else on host L | C = 0, 16, 64 |
3 per cell |
| U (CPU given back) | As T, plus a CPU load on host K equal to the non-Knotrel CPU time measured on host K in arm S for the same cell | C = 16, 64 |
3 per cell |
Arm U’s load is a fixed number of busy-loop processes at a duty cycle calibrated from arm S’s per-process CPU samples (PostgreSQL, feeder, writer, clients), recorded with the results. It reproduces CPU demand, not memory or I/O behavior; that limit is stated. Order: S, T, U, all cells of one repetition before the next, in one session. Arm S re-anchors the variant to 0.9.6 on the same day; it is not a new Q3 verdict. Budget: 45 minutes per arm, under the existing repetition rule.
Reported per cell: catch-up rate (backlog events / time to ready),
ratio to C = 0 of the same layout, time to ready, CPU busy on both
hosts during catch-up, Knotrel’s phase histograms (admission queue, lock
wait, execution per feeder job), feeder 503 refusals, link round trip.
Decision rule (fixed before measuring). The single, precise rule is in
feeder-under-load.md, “R2 two-Mac variant”, “Decision rule”
and is not restated differently here. In short, per C ∈ {16, 64}:
a_X = median of arm X’s three absolute catch-up rates, G = a_T − a_S, and
r_U = (a_T − a_U) / G (when G > 0). A C is insufficient evidence if any
arm’s three rates spread by more than 1.25 (max / min); supported if
a_T ≥ 2 × a_S and r_U ≥ 0.5 and host K’s median CPU busy in T ≤ 80 %; not
supported if a_T < 1.2 × a_S or r_U ≤ 0.25; otherwise insufficient
evidence. The overall outcome is supported or not supported only if every
arm is valid and both C agree. Any disagreement between 16 and 64 clients
is insufficient evidence, with each C’s result reported.
Consequences. Q3’s thresholds are unchanged in every outcome; R2 never turns Q3 into a PASS. The declared envelope states the measured numbers of each layout as measured, with Q3 as FAIL where it fails. R2 is diagnostic: not running it does not by itself block the rc.
- Supported: CPU demand of the kind arm U generates suffices to explain most of the gap. This does not show it is the same contention as in arm S, because arm U reproduces neither memory bandwidth, caches, scheduler interference nor PostgreSQL’s I/O. H2 evaluates B2 (bounded concurrent query execution) and deployment guidance (source and feeder off Knotrel’s host) first, as options consistent with that finding, not as a proven cause.
- Not supported: the gap is not explained by CPU demand of arm U’s kind. H2 starts from the phase data: B1 (queued feeder work passes waiting readers) if lock wait dominates, otherwise a profiling session (H1) before any design.
- Insufficient evidence: no design choice is grounded on R2; H1 profiles the feeder-under-load scenario first.
- If a small server-side fix follows, it may be proposed for the rc; it then enters the v1.0 campaign (§2) as changed code. Otherwise the fix is H2.
Limits, stated in advance. Two Apple-silicon Macs, one link, macOS only, one PostgreSQL version, the protocol’s rates. Host L’s CPU differs from host K’s; arm S on host K keeps the reference layout as before. Arm U reproduces CPU demand only.
Then: the declared supported envelope (readiness criterion 4). A
document (proposed: docs/supported-envelope.md) with the measured
capacity table (nodes, edges, body size, clients, rates) from the
qualification evidence, the documented head-of-line behavior, the feeder
catch-up statement from R2 and the v1.0 campaign, and the hosts and limits
behind every number. Re-measured on the release commit for 1.0.
4. R3 — rc gates
- R3a threat model and
SECURITY.md(criterion 7): merged (#106). Decided: the reporting channel is GitHub Private Vulnerability Reporting. Enabling it onknotrel/knotreland verifying it (the Security tab offers “Report a vulnerability”; a test report reaches the maintainer) is an rc gate. - R3b randomized soak and integration-contract traceability
(criterion 3): merged (#105), with the D1 fix (#104). Decided: the soak drives the real
knotrel-serveras a child process. The traceability table maps each MUST of §9 ofdocs/integration-contract.mdto its tests and prepares R3e. - R3c reproducible-build check (criterion 6): merged (#107). Decided:
two separate verdicts per platform:
- byte-for-byte identity of the rebuilt binary with the published one;
- equivalence after excluding named metadata, listing exactly what is
excluded and why.
First result (macOS, v0.9.0): code and data identical, the Mach-O linker
UUID (
LC_UUID) differs, so not byte-for-byte identical; equivalent after excluding the UUID. The UUID difference and its cause are documented. On GitHub’s runners (2026-11-22): Linux byte-identical; macOS equivalent after excluding the same metadata (#109). The gate closes after the run on the release candidate against its dry-run bundle.
- R3d contract freeze review (criterion 1): every public Rust item and
HTTP route/field/error code/variable/metric is stable,
experimental or internal, against
docs/stability.mdand theAPI compatibilityCI job; it closes the remaining items of the criterion (the broken relative links inintegration-contract.md, the core README’s “pre-1.0” wording). - R3e independent review of the whole 1.0 contract set (criterion 9). Decided: an AI review, separate from the implementation (run by an agent that did not write the reviewed changes, on the documents and code themselves, not summaries), declared explicitly as an AI review, with every finding and its resolution tracked. It is not presented as a human audit or a security certification.
- Criterion 8: document macOS runner queueing as an infrastructure limit (the last open item); green CI on the rc commit.
5. Not in this phase
No tag (v1.0.0-rc.* or otherwise), no GitHub release, no crate or console
publication, no benchmark-repository tag. When the rc is considered, the
rc-blocking rule of §2 applies: a valid campaign, a disposition for every
non-PASS result, a disposition and a documented envelope for Q3, and a
disposition for E6. R2 not having run is not by itself blocking.
6. Maintainer decisions (2026-11-22)
“Procedi con il soak sul server come processo figlio e con GitHub Private Vulnerability Reporting come canale di sicurezza, da attivare e verificare prima della RC.”
- The v1.0.0 campaign runs against the latest 0.9.x, frozen as the reference, even if the measured code is unchanged; it reuses the protocol with a perimeter limited to the relevant comparisons, without reopening every diagnostic; results and intervals are published on the benchmark site.
- The v0.9.0 exceptions remain historical evidence; v1.0 dispositions are decided on the relevant results of the new campaign, with no acceptance in advance.
- For R2, the tool and protocol may be prepared; the availability of both Macs is agreed before any measurement. Outcomes distinguish hypothesis supported, insufficient evidence and hypothesis not supported, since separating the loads does not by itself isolate CPU as the cause.
- Criterion 9: an AI review separate from the implementation, declared as such, with findings and resolutions tracked; not presented as a human audit or a security certification.
- Reproducibility distinguishes byte-for-byte identity from equivalence after excluding metadata; the macOS UUID difference is documented; Linux and CI are completed before the gate closes.
- Campaign plan clarifications (translated), before the freeze:
- complete the matrix between modified code and included or excluded cells, and describe the selection as reduced compared with the previous campaign, keeping the method of the reused cells unchanged;
- specify before measuring how the A pairs are combined and how the interval stays valid after an interim decision;
- Q3 requires both an explicit disposition and a documented operational envelope, and the absence of either blocks;
- E6 remains explicitly unqualified and requires a disposition for 1.0;
- R2 remains diagnostic: not running it does not automatically block the rc, the envelope is then limited to the measured configuration without attributing a cause to Q3, and no 0.9 acceptance is transferred automatically;
- clarify the 105 + 30-minute budget, and distinguish an infrastructure failure from crashes, timeouts or product errors, which do not authorize an automatic repeat.
7. To approve
- The order and dependencies of §1, and the roadmap R section moving from “proposed” to “approved”.
- The campaign perimeter of §2 (it becomes the campaign plan, frozen before measuring).
- The R2 protocol variant of §3: hosts and roles, link check, tool change, arms S/T/U and arm U’s calibration, budget and the decision rule’s thresholds (2×, ½, ¾, 1.2×, 80 %).
8. Maintainer approvals (2026-11-23)
- Campaign: perimeter, 24 fixed pairs for A, thresholds and budget approved; block D excluded; the tooling is completed and verified before the freeze.
- RC rule: decisive regressions and FAILs block; inconclusive results need an explicit disposition; Q3 needs a disposition and a documented envelope; E6 needs a separate disposition; disclosures stay visible; no 0.9 acceptance is inherited automatically (qualification plan §8).
- R2: the diagnostic protocol is approved; a separate SSH smoke runs before the measurements; R2 does not change Q3 and not running it does not automatically block the rc.
- N5a and S10: already approved: the barrier fence is checked before
the sequence and position checks;
ServerInfo.experimentalis documented as the engine qualification, interfaces stable. - Release line:
1.0.0-rc.1→1.0.0; versions and the console range are aligned to the rc, with prerelease versions verified explicitly. - Candidate: not final until N5a and the rc alignment are done and the delta is verified; the new SHA is then recorded in the qualification plan §3.5.
- Threat model: its acceptance is separate; the residual risks are presented to the maintainer.