v1.0 backlog: non-blocking findings and suggestions
Source: the R3e independent AI review (sections 4 and 5),
reviewed at e1be11c, blocking findings resolved at 1dd97b8. Created
2026-11-23 at the maintainer’s request: “record the non-blocking findings and
suggestions in a traceable backlog, distinguishing those that could require
incompatible changes after 1.0. Not all need to be implemented before the RC.”
Every item keeps its review ID; the review row has the evidence and the proposed resolution. When an item is resolved, its Status here and its Resolution in the review record the PR and merge SHA.
How to read it
- Incompatible after 1.0?
- Yes: the natural fix changes a stable behavior, code or meaning, so after the freeze it needs a major release or an approved exception (compatibility.md §3). Decide before the freeze: fix it now, or freeze the current behavior and document it.
- Maybe: a compatible fix exists (usually documenting what the code does); only the other option would be incompatible.
- No: documentation, tests, tooling or additive changes.
- Target: decide before freeze (Yes items), before rc (other gates rely on it), or 1.x (any later minor release).
Items that could require an incompatible change after 1.0
| ID | Area | Finding | Why | Target | Status |
|---|---|---|---|---|---|
| N5 | Feeder protocol | The barrier check order differs from §4.3 and the barrier preconditions: the last_expired_epoch fence is evaluated last, after B7–B9 |
Yes. Fixing the check order after 1.0 changes which error code a request gets | Decide before freeze | resolved: knotrel/knotrel#134, merged as 049b7ad (N5a reorder, N5b and S10 documented) |
| N6 | HTTP | Every error from reading an import body (client abort, broken chunked encoding) is reported as 413 payload_too_large |
Yes. Reporting client aborts as something other than 413 payload_too_large after 1.0 is a different code for an existing condition |
Decide before freeze | resolved: knotrel/knotrel#126, merged as 41723b4; pending the delta verification |
| S10 | HTTP | ServerInfo.experimental is described only as “Whether the engine is experimental”; it reports the engine qualification, not a stability class, and may become false on promotion |
Yes. The meaning of ServerInfo.experimental freezes at 1.0; promoting an engine would flip it |
Decide before freeze | resolved: knotrel/knotrel#134, merged as 049b7ad (N5a reorder, N5b and S10 documented) |
| S13 | Configuration | Console variables share the server’s KNOTREL_ namespace, where any unknown name stops the server; a shared env file would break the server |
Yes. Renaming the console variables out of the KNOTREL_ namespace after 1.0 breaks console deployments |
Decide before freeze | resolved: knotrel/knotrel#128, merged as e13b3cc; pending the delta verification |
| N4 | Feeder protocol | Re-registering the same session with a higher epoch, or a takeover, moves ready to stale (/ready 503 until the next barrier) |
Maybe. Documenting the current transition is compatible; changing it after 1.0 would change readiness behavior | Decide before freeze (document the current behavior) | open |
| N11 | Rust API | Graph::neighbors_after documents three errors without their precedence; the code checks unknown node, then unknown cursor, then not enabled |
Maybe. Documenting the current precedence is compatible; changing it later is not | Decide before freeze (document the current behavior) | open |
| S12 | Feeder protocol | §8.2 item 10 says publication sets the live session and epoch from the import; the code only checks they are equal | Maybe. Correcting the text is compatible; changing publication behavior to match the old text is not | Decide before freeze (document the current behavior) | open |
Other non-blocking findings
| ID | Area | Finding | Incompatible after 1.0? | Target | Status |
|---|---|---|---|---|---|
| N1 | Checker (Rust) | No machine check of narrowing against v0.9.0 exists: the release baseline has no classification file, so --base v0.9.0 skips the check, and the first classification (#113) was compared… |
No | 1.x | open |
| N2 | Checker (HTTP) | ErrorCode::ALL is a hand-written #[cfg(test)] array |
No | 1.x | open |
| N3 | Checker (HTTP) | Approved breaking changes are matched by message text only; the release field is never checked, so an entry never expires |
No | 1.x | open (partly addressed by #121) |
| N7 | HTTP | The 400 message is documented as fixed (“request body is not valid JSON”) and the 413 example as “request body exceeded 1048576 bytes” | No | 1.x | open |
| N8 | HTTP | OpenAPI says POST /v1/operations runs “under exclusive graph lock”; queries run under the shared lock |
No | 1.x | open |
| N9 | HTTP | docs/http-api.md calls itself “the current HTTP API contract (v0.5.0 …)” and says every statement is backed by a test, but the byte-limit validation order (compatibility.md §3) has… |
No | 1.x | open |
| N10 | Rust API | LifecycleStorage bound engine_vertices <= 2 × catalog_nodes + 1024 is tested only where the constant 1024 term dominates (V far below 1024); §7.1 says each guarantee is covered by a test |
No | 1.x | open |
| N12 | Rust API / docs | Stable rustdoc and crate docs cite old releases: “In v0.5.0 only CompactBfs is supported” (LifecycleError::UnsupportedEngine, LifecycleGraph::supports_engine); “Knotrel v0.1.0 has… |
No | 1.x | open |
| N13 | Rust API | ServerConfig::from_env rustdoc lists 12 of the 17 variables; with_max_import_body_bytes and with_dedup_window_size do not state their accepted range or their error |
No | 1.x | open |
| N14 | Feeder protocol | Normative §7.2 names a variable that does not exist (KNOTREL_MAX_CONCURRENT_IMPORTS = 1); the design record names KNOTREL_SERVE_STALE and KNOTREL_FEEDER_TOKEN |
No | 1.x | open |
| N15 | Criterion 3 evidence | The traceability is stale in places: rows 9.3-f and 9.3-y still say 503 import_in_progress, while the cited events.rs::test_26 asserts busy; finding F2 is already fixed; 9.1-d… |
No | Before rc: Criterion 3 evidence relies on it | resolved: knotrel/knotrel#129, merged as 711ce05; pending the delta verification |
| N16 | Threat model | The threat model was written at 580af3f (v0.9.0 plus docs) and has not changed since (git log -- docs/threat-model.md: only #106) |
No | Before rc: Criterion 7 relies on it | resolved: knotrel/knotrel#129, merged as 711ce05; threat model accepted by the maintainer on 2026-11-23 with conditions (TM-O1–TM-O7) |
| N17 | Threat model / panics | N7 of the threat model (an audit of panic sites reachable from input, with a fuzz or property test) is still open | No | 1.x | open |
| N18 | Release coupling | info.version, the workspace and console versions are 0.9.0, and console/package.json supportedServer is >=0.8.0 <0.10.0, so the console treats a 1.0.0 server as unsupported… |
No | Before rc: Part of the version bump and the mandatory console compatibility run | resolved: knotrel/knotrel#129, merged as 711ce05; pending the delta verification |
| N19 | Docs | docs/deployment.md:415 links to ../../evidence/v0.3.0-package4-local-…/deployment/transcript.txt, which is not in the repository |
No | 1.x | open |
Suggestions
| ID | Area | Suggestion | Incompatible after 1.0? | Target | Status |
|---|---|---|---|---|---|
| S1 | Checker (Rust) | A trait-implementation key omits the implementation’s generics and where-clauses, so a narrowed bound (for example impl<T> Send for X<T> gaining where T: Send) keeps the same key |
No | 1.x | open |
| S2 | Checker (Rust) | [[semver_exception]] items are not cross-checked |
No | 1.x | open |
| S3 | Checker (Rust) | The release field of [[narrowing]] entries is required but never compared with anything |
No | 1.x | open |
| S4 | Rust API | Lifecycle is UnwindSafe/RefUnwindSafe only without test-support |
No | 1.x | open |
| S5 | Rust API | ProbePauseHandle, returned by the test-support method Lifecycle::pause_next_ready_probe, is public in a private module and therefore absent from the snapshot |
No | 1.x | open |
| S6 | Rust API | LifecycleStorage is #[non_exhaustive] and output-only, and has no constructor |
No | 1.x | open |
| S7 | Rust API | serve needs a Tokio runtime with the time driver and panics without one; this is undocumented |
No | 1.x | open |
| S8 | Rust API / docs | docs/http-api.md:827-828 says router(Graph) “uses the default limits”; it uses GraphLimits::default() (unlimited), not the server’s default limits |
No | 1.x | open |
| S9 | Rust API | Graph::connected_with_workspace claims an O(log V) endpoint lookup (it is an expected O(1) hash lookup); ConnectivityGraph::cut and connected state their errors in prose… |
No | 1.x | open |
| S11 | HTTP | fenced_feeder_session is described as “an older epoch”; the code also fences another session with an equal epoch |
No | 1.x | open |
| S14 | Configuration | The crates.io README of knotrel-server omits KNOTREL_MODE, KNOTREL_METRICS_ENABLED and KNOTREL_INSPECTION and does not link to the full list |
No | 1.x | open |
| S15 | Process | Most blocking findings are contract text that disagrees with the code in places no test reads (B3–B6, B9) | No | 1.x | open |
| S16 | Checker (HTTP) | Inline oneOf/anyOf alternatives are compared by repr(), so re-serializing the spec with a different key order reports “request alternatives removed” when nothing changed |
No | 1.x | open |
| S17 | HTTP (experimental routes) | With inspection off, a malformed ASCII node ID (/v1/nodes/abc) gets 422 while a non-UTF-8 one (%FF) gets 409 inspection_disabled |
No | 1.x | open |
| S18 | Feeder protocol | ADR 0012 still calls instance_id an “Ephemeral UUID” |
No | 1.x | open |
| S19 | HTTP / threat model | After B10, error messages still quote server state that a feeder supplied earlier (the retained event_id, source_id, source_epoch, the applied position) |
No | 1.x | open |
Found after the review
| ID | Area | Finding | Incompatible after 1.0? | Target | Status |
|---|---|---|---|---|---|
| F1 | CI (test) | measure_e2e_driver.rs::test_regression_cancellation_during_startup_cleans_up_owned_server_and_preserves_diagnostics failed once on macos-latest (#129, run 45143677869): the child’s stderr diagnostics were not yet in the driver output when SIGINT arrived; it passed on rerun. A timing race in the test, not in the product; it recurred on #134 (run 45166088744) in test_regression_cancellation_during_active_measurement_cleans_up_owned_server (the 5 s wait for the feeder phase expired on a loaded runner) |
No | 1.x (before the rc if it recurs) | resolved in this change: the startup mock writes its diagnostic before publishing the PID; the active-measurement test waits up to 60 s (process watchdog 90 s); test code only |
| DV1 | Console container | The entrypoint validated each value with grep -Eq, which passes when any one line matches, so a multi-line value could render extra nginx directives or invalid JSON (found by the delta verification of 1dd97b8..711ce05; operator-controlled input) |
No | Before the freeze | resolved in this change: every value must be a single line; tests in console/scripts/test-entrypoint.sh |
| DV4 | HTTP (import) | read_import_body reserves the full declared Content-Length (up to 512 MiB) before any byte arrives; with some allocators this commits memory early. One import at a time, within the documented sizing |
No | 1.x (optional: cap the initial reservation) | open |
| F2 | CI (test) | process.rs::second_signal_during_drain_forces_immediate_exit failed once in the SonarQube coverage job on #136 (“server exited prematurely” after SIGTERM, likely before the half-sent request was registered) and passed on rerun and in every other job |
No | 1.x (before the rc if it recurs) | open |
| DV6 | Release tooling | CONTRIBUTING.md and release procedure §4.1 require the exact =X.Y.Z-rc.N knotrel-core requirement for an rc (caret for a stable release), but no script or workflow checks it; a forgotten pin would let a published server rc resolve a later core (found by review §11) |
No | Before the rc tag (add the check to the release dry run) | resolved: scripts/check-core-pin.py in CI and release.yml candidate-quality-gates, with tests/test_core_pin.py |
Threat model dispositions (maintainer, 2026-11-23)
Tracked activities from the threat model’s acceptance (threat model §10). R1–R6 are accepted within the declared deployment perimeter; that acceptance does not cover concrete vulnerabilities reachable from input.
| ID | Item | Explicit limitation until done | Target | Status |
|---|---|---|---|---|
| TM-O1 | DNS rebinding (N1): explicit residual risk for 1.0, not resolved; optional Host allowlist in the server |
A browser that can reach the listener is an open exposure; the console and the gateway do not protect a directly reachable listener | Allowlist: 1.x | open: trust-model wording approved 2026-11-23; risk stays residual |
| TM-O2 | Audit of input-reachable panics and a property or fuzz test of feeder envelopes (N7, also N17) | The soak does not replace an audit | 1.x | open |
| TM-O3 | Worst-case lock time per request in the supported envelope; configurable batch ceiling (G2) | The request timeout does not bound the work that continues in the worker | 1.x | open |
| TM-O4 | Memory sizing guide (G1) | — | Before rc | resolved: docs/deployment.md memory sizing |
| TM-O5 | TLS for the reference feeder (N2) | Trusted network only; not usable through the gateway | 1.x | open |
| TM-O6 | Gateway example rate and connection limits; tests for the archive nginx configuration, console headers and CORS (N3, N4) | The example is not a production gateway; these configurations are not asserted by tests | 1.x | open |
| TM-O7 | Enable and verify GitHub Private Vulnerability Reporting (G4) | — | rc gate | resolved 2026-11-23: enabled by the maintainer; API "enabled": true and Report a vulnerability on the public Security page |
After the v1.0.0 qualification (2026-11-23)
| ID | Item | Target | Status |
|---|---|---|---|
| Q-E6 | Equivalent reference design for the B4 lifecycle ops and events requirements on the compact-bfs hub 10k graph, accepted as unqualified for 1.0 with no performance claim |
1.x | open |
| Q-L1 | Campaign launcher: print “started”, the expected end and the next check; use the subshell form, since os.setsid() fails when an interactive shell makes the process a process-group leader |
Next campaign | open |
| Q-L2 | part1_failures_v100q.py labels the completed steps of a CONFORMING attempt “no verdict: the attempt did not conform”; the label is wrong, the status is right |
Next campaign | open |
| Q-L3 | Benchmark site: a release-level field for the overall decision (“accepted with exceptions”); today the site shows row verdicts and dispositions only | Maintainer decision (changes a freeze-hashed file) | open |
Summary
- 19 non-blocking findings and 19 suggestions, all open.
- Yes (decide before the freeze): N5, N6, S10, S13.
- Maybe (a compatible documentation fix exists): N4, N11, S12.
- Before rc because other gates rely on them: N15, N16, N18.
- Everything else can follow in 1.x.