priority chain statement `, or with rule handle `table family hook priority chain handle statement ` when the rule carries a nonzero handle). Under **`D-079` (`#241`, `w1-netlab` follow-up 11, `node/enforce/verify_foreign.go`, [`docs/poc/G2-netlab.md`](../poc/G2-netlab.md))**, a foreign rule whose native `ip` or `ip6` `saddr` or `daddr` payload match (single address, prefix, address range, or anonymous set of addresses/prefixes/ranges) lies **entirely inside loopback** (`127.0.0.0/8` for `ip`, `::1/128` for `ip6`) cannot match member transit traffic (`100.64.0.0/10`) or non-loopback uplink traffic; `VerifyServing` accepts that scoped rule; `LoopbackEvidence` returns it as **`loopback_scoped`** in `[]ForeignEvidence` (`Class`, `Table`, `Family`, `Chain`, `Hook`, `Handle`, `HasHandle`, `Match`) instead of failing closed as `FLOWTABLE_BYPASS`. By contrast, `xt` matches and table/chain names (`DOCKER_OUTPUT`, `DOCKER_POSTROUTING`) prove nothing, `jump`/`goto` targets are still walked unless the jump rule itself is loopback-scoped, and any non-loopback NAT or packet rewrite on a crossed hook still fails closed (`FLOWTABLE_BYPASS`, `ISOLATION_POLICY_INVALID`, or `MARK_SEMANTICS_VIOLATED`) with `handle ` in the detail. Foreign tables and chains that only match, count (`counter`), `log`, `accept`, or `continue` are tolerated at any priority, as are `input` and `output` chains, family `arp`, and `ingress`/`egress` chains bound to devices other than `Datapath.MemberIngress` and `Datapath.Uplink`. **Operator consequence:** host firewall managers (`ufw`, `firewalld`) and Docker or any other NAT for non-loopback traffic must **not** run on a production exit node (`loopback_scoped` in read-back evidence is informational).
- `VerifyServing` (`#172`, `node/enforce/verify.go`, `node/enforce/parse_nft.go`) accepts only the rendered model inside `inet fvpn`: every `accept` rule in `forward` must be a verified serving accept (member DNS to `@resolver_v4:53` after upload `@allowed_v4` drop, per-device upload/download accept after `@denied_v4` and `@host_v4` drops, or download `ct state established,related` after download `@allowed_v4` drop) or a verified probe accept (`ct state related` counts as established; upload and download `@allowed_v4` drops are tracked separately; `@resolver_v4` exact match, `@denied_v4`/`@host_v4` drops, and non-53 drop `ctbadns` to `@resolver_v4` are required with or without a probe; only chains `{forward, input, output, postrouting}` are allowed in `inet fvpn` keyed by `(family, table, name)` with duplicates rejected; `input` accepts before drops and `interval` flags on `allowed_v4`, `probe_v4`, `probe_dst_v4`, and `resolver_v4` are rejected). `Render` (`#172`) unconditionally merges `Datapath.SNAT/32` into `@host_v4` and unions `SpecDeniedV4()` with `ExtraDeniedV4` (when the node's uplink sits on a public on-link L2 subnet, the operator must include that prefix and gateway IP in `ExtraDeniedV4`).
- In `enforce.Apply` (`#156`, `#159`, `#172`, `#196`, `#197`, `#202`, `#216`), after the combined nftables and tc read-back in `verifyServing` succeeds, `Apply` populates `verified.Counters` and `verified.Samples` (`Samples` skips unbound devices and zero metadata) before running the `m.Revoke` loop, and attempts `deleteConntrack` (`conntrack -D -s ` and `conntrack -D -d `) for every address in `m.Revoke` before returning `*ConntrackDeleteError{Pending, Failed}` (`ApplyResult.Verified = true`), where revocation entries are keyed by `(addr, device_id, member_id)` (`addrID` in agent revocation planning), `pendingAfterFailure` retains distinct pending or previous identities whose address is both in `Failed` and in the address set returned by `planRevokes`. `planRevokes` omits current triples when collecting addresses, but retention then filters by address: a re-admitted triple can remain when another identity at the same address still requires revocation, and an address in local SQLite `applied_address` that was migrated with nil `DeviceID`/`MemberID` and later reassigned to a non-nil `(DeviceID, MemberID)` binding is queued for `conntrack -D` (`#216`) so pre-existing flows cannot survive reassignment.
- - **How to interpret `ISOLATION_POLICY_INVALID` on a serving vs. non-serving node, the 12-attempt fail-closed bound, revoke `nodes` step outcomes (`D-070`), and the exit-group + `90 s` freshness fence (`#164`, `#166`, `#193`, `#194`, `#202`, `#206`, `#217`):** When `plane.Apply` returns `res.Verified == true` alongside a conntrack delete failure (`enforce.IsConntrackDeleteFailure(err)`) and the durably reserved serving-Apply delete-batch count remains below 12 (`1..11`), the verified nftables ruleset has already removed the revoked bindings from `@allowed_v4` and drops their upload and download packets ahead of `ct state established,related accept`. Therefore, `fvpn-agent` (`#166`) **keeps the verified serving ruleset installed (`member_forwarding_enabled: true`, local heartbeat `serving`, and `internet_only`, `qos`, `source_binding`, and `meter_path` checks `passed`)**, persists the failed `(addr, device_id, member_id)` entries under `pending_revocations` in local SQLite `meta` (merged with any newly dropped addresses on later generations and retried on every apply tick until `conntrack -D` succeeds), and reports one `NodeError` in `ObservationReport.errors` with `code: ISOLATION_POLICY_INVALID`, `stage: "apply"`, and `message: "conntrack delete pending; serving ruleset verified"`. By contrast, after **twelve durably reserved serving-Apply delete batches** leave deletes pending (`maxConntrackDeleteAttempts = 12`; a crash or earlier Apply failure can consume a slot before deletion, and restart does not reset the count) or immediately when the `conntrack` binary is missing after preflight, `fvpn-agent` stops serving and attempts the fail-closed baseline (`e.plane.Baseline`, implemented by `SystemPlane.Baseline` through `enforce.ApplyBaseline`). In this conntrack-blocked state, operators see `member_forwarding_enabled=false`, `safety_status=failed`, and `forwarding_block_reasons` includes `safety_check_failed`; other reasons can coexist. With the baseline in force, `internet_only=failed` has `error_code: ISOLATION_POLICY_INVALID` and detail `"Conntrack delete exceeded the retry bound."` or `"Conntrack is not installed."`; without it, `internet_only` fails with `ISOLATION_BASELINE_MISSING`, meaning isolation is not confirmed. A retained `stage: "apply"` error makes `lease`, `qos` and `source_binding` fail with its code: the enforcement check's reason when it is a valid API code, otherwise `HEALTH_CHECK_FAILED`. Without a retained Apply error, a missing executable makes those checks fail with `DEPENDENCY_UNAVAILABLE`. While either failure is retained, `forwarding_block_reasons` includes `safety_check_failed` and the agent does not acknowledge the generation. An Apply failure outside the verified conntrack-delete exception, or a live verification failure routed to `rejectServing`, stops serving and attempts the baseline. For an eligible live `GENERATION_MISMATCH`, `repairGeneration` reports the failure before retrying the same generation with the current lease. A successful repair clears the error without a baseline; a failed repair stops serving and attempts the baseline. Separately, `METER_PATH_INVALID` on `meter_path` means the backend is not `kernel` or the meter failed; it adds `meter_path_invalid` and by itself does not withhold the generation acknowledgement.
+ - **How to interpret `ISOLATION_POLICY_INVALID` on a serving vs. non-serving node, the 12-attempt fail-closed bound, and revoke `nodes` step outcomes (`D-070`):** Revoke `nodes` step outcomes are the captured outcomes in the next bullet. When `plane.Apply` returns `res.Verified == true` alongside a conntrack delete failure (`enforce.IsConntrackDeleteFailure(err)`) and the durably reserved serving-Apply delete-batch count remains below 12 (`1..11`), the verified nftables ruleset has already removed the revoked bindings from `@allowed_v4` and drops their upload and download packets ahead of `ct state established,related accept`. Therefore, `fvpn-agent` (`#166`) **keeps the verified serving ruleset installed (`member_forwarding_enabled: true`, local heartbeat `serving`, and `internet_only`, `qos`, `source_binding`, and `meter_path` checks `passed`)**, persists the failed `(addr, device_id, member_id)` entries under `pending_revocations` in local SQLite `meta` (merged with any newly dropped addresses on later generations and retried on every apply tick until `conntrack -D` succeeds), and reports one `NodeError` in `ObservationReport.errors` with `code: ISOLATION_POLICY_INVALID`, `stage: "apply"`, and `message: "conntrack delete pending; serving ruleset verified"`. By contrast, after **twelve durably reserved serving-Apply delete batches** leave deletes pending (`maxConntrackDeleteAttempts = 12`; a crash or earlier Apply failure can consume a slot before deletion, and restart does not reset the count) or immediately when the `conntrack` binary is missing after preflight, `fvpn-agent` stops serving and attempts the fail-closed baseline (`e.plane.Baseline`, implemented by `SystemPlane.Baseline` through `enforce.ApplyBaseline`). In this conntrack-blocked state, operators see `member_forwarding_enabled=false`, `safety_status=failed`, and `forwarding_block_reasons` includes `safety_check_failed`; other reasons can coexist. With the baseline in force, `internet_only=failed` has `error_code: ISOLATION_POLICY_INVALID` and detail `"Conntrack delete exceeded the retry bound."` or `"Conntrack is not installed."`; without it, `internet_only` fails with `ISOLATION_BASELINE_MISSING`, meaning isolation is not confirmed. A retained `stage: "apply"` error makes `lease`, `qos` and `source_binding` fail with its code: the enforcement check's reason when it is a valid API code, otherwise `HEALTH_CHECK_FAILED`. Without a retained Apply error, a missing executable makes those checks fail with `DEPENDENCY_UNAVAILABLE`. While either failure is retained, `forwarding_block_reasons` includes `safety_check_failed` and the agent does not acknowledge the generation. An Apply failure outside the verified conntrack-delete exception, or a live verification failure routed to `rejectServing`, stops serving and attempts the baseline. For an eligible live `GENERATION_MISMATCH`, `repairGeneration` reports the failure before retrying the same generation with the current lease. A successful repair clears the error without a baseline; a failed repair stops serving and attempts the baseline. Separately, `METER_PATH_INVALID` on `meter_path` means the backend is not `kernel` or the meter failed; it adds `meter_path_invalid` and by itself does not withhold the generation acknowledgement.
- **Captured `nodes` step outcomes:** `BeginOperationCapture` starts the member/device operation capture before external synchronization; `FinishOperationCaptureTx` finishes it in the worker receipt transaction. Compiles for an unfinished capture record affected exits with node, incarnation and generation pins. Completion requires a finished capture and no pending target; every fresh pending target holds it, even without an isolation error. See [capture and acknowledgement](../../internal/nodes/operation_targets.go) and [database evidence and concurrency](11-database-and-retention.md#operation-captures-and-evidence).
1. **Acknowledgement:** the applied generation must be at least the pin, issued to that node and reporting incarnation, and received by the database no earlier than compilation. Additions require clean, ready evidence. Verified fail-closed evidence can settle only targets where the subject is absent. Pending isolation is per target; the public step remains `pending` with `ISOLATION_POLICY_INVALID` and `member_forwarding_unconfirmed`, while `node.revoke_isolation_pending` / `node.revoke_isolation_resolved` retain reason/resolution audit evidence.
2. **Outstanding removals:** every compile records removed subjects; capture imports their highest outstanding removal generation without lowering a newer addition pin. Replacement selection uses the highest prior envelope across incarnations. Later compiles do not move a finished capture’s pins; incomplete captures and pins survive retryable external failures and cannot time out into applied evidence.
@@ -538,7 +538,7 @@ If publication returns `422 NODE_NOT_SERVICEABLE` before creating an operation,
- **One-shot stale-generation grace (`#217`, `#228`, `r14` M-2, `D-075`, `db/migrations/00187_identity_roaming_and_readiness_grace.sql`, `internal/nodes/observations.go`, [`docs/nodes/README.md`](../nodes/README.md)):** While an incarnation is already `provisioning_state = "ready"`, it has at most one outstanding stale-observation allowance. To preserve readiness below the desired generation, the report must claim readiness, have effective safety `passed`, report a positive generation at least as high as the stored applied generation, and find `node_incarnations.stale_generation_grace_at IS NULL`; the reported-peer binding check must also pass when applicable. A further stale report with the mark set is downgraded to `"applying"`, even if the desired generation changed again. Under **`D-075` (`#228`, migration `00187_identity_roaming_and_readiness_grace.sql`)**, an observation that updates current node state sets the mark to `observed_at` only when grace preserves readiness; otherwise it clears the mark to `NULL`, including on catch-up or downgrade. Advancing the desired generation alone does not reset the mark. The inline query in `SubmitObservation` reads this domain column so **readiness and grace decisions never read `audit_events`** (`stale_generation_grace: true` remains in the `node.observation_applied` audit event payload as informational metadata; the grace decision uses the domain column).
- **Live usage outbox status in observations and `NodeDetail.usage_outbox` (`SECOPS-19`, `D-075`, `D-077 §2`, `#226`, `#232`, `#238`, `#243`, `db/migrations/00189_node_incarnation_usage_outbox.sql`, `node/agent/usage_status.go`, `internal/nodes/nodes.go`, `internal/nodes/observations.go`, [`docs/node/README.md`](../node/README.md), [`docs/nodes/README.md`](../nodes/README.md), [`docs/node/usage-store.md`](../node/usage-store.md)):** Each `ObservationReport` (`POST /api/v1/agent/observations`) carries `ObservationReport.usage` (`UsageOutboxStatus`) read from the open local usage store (`state_dir/usage.db`, `(*usagestore.Store).OutboxStatus` under a `2 s` `usageStatusBoundDefault` bound): `ledger_epoch` (which stays `null` until a verified recovery checkpoint `ApplyCheckpoint` has been accepted, even when `central_acked_through > 0`, `#232`), `meter_epoch_id`, `last_durable_event_seq`, `central_acked_through`, `blocked_seq`, `unacked_event_count`, `unacked_payload_bytes` (`unacked_payload_bytes`), `oldest_unacked_at`, and `acked_archive_bytes` (sending the zero shape before the store is open or when a read fails, reusing the last successful status from the process on a `2 s` deadline timeout, logging `usage status available` or `usage status unavailable: ` once per state transition, and never evaluating or persisting `gate_stopped` — which is evaluated only by `meter.Health` -> `EvaluateGate` on the agent run loop, `#232` — or adding an `errors[]` entry or changing `safety_status`, `provisioning_state`, or member forwarding). On `main` (`#226`, `#238`, `#243`, migration `db/migrations/00189_node_incarnation_usage_outbox.sql`), central stores `ObservationReport.usage` both inside `node_observations.report_payload` and on `node_incarnations.usage_outbox` JSONB + `usage_outbox_observed_at` in `SubmitObservationTx` whenever a non-stale report carries a `usage` block (the agent's zero shape is projected as zeros; a later report without a `usage` block leaves it intact; a new incarnation starts with `usage_outbox: null` — never absent), and projects **`NodeDetail.usage_outbox`** (`UsageOutboxStatus` fields + `observed_at`) on `GET /api/v1/admin/nodes/{node_id}` participating in the node strong `ETag` (`""`, `304 Not Modified` on `If-None-Match`; operators can also read the node's local SQLite ledger directly via `fvpn-agent usage snapshot -config /etc/vpn-node/agent-run.json [-json]`, `#225`, `#232`).
-The publication gate is agent evidence that forwarding is armed, not a traffic measurement. The [security-ops follow-up 4 publication record](../e2e/at/secops/publication.md) verifies both live halves of `SECOPS-11` (`422 VALIDATION_FAILED` when capacity is unset, then `202 -> succeeded` on a zero-binding published generation under `#148`), the [members follow-up 3 forwarding record](../e2e/at/members/history/follow-up-3/forwarding-observation.md) proves counted member forwarding (`0 -> 2214/2411` bytes, origin `200`) once the client selects the advertised exit, [devstack follow-up 9 (`#153`)](../e2e/followup9-verification.md), [devstack follow-up 10 (`#170`)](../e2e/RUN.md), [devstack follow-up 13 (`#204`, `#219`)](../e2e/RUN.md), and [devstack follow-up 14 (`#240`, [`docs/e2e/runs/2026-10-31/followup14/run.md`](../e2e/runs/2026-10-31/followup14/run.md))](../e2e/runs/2026-10-31/followup14/run.md) install `conntrack` and `tcpdump` in `deploy/devstack/Dockerfile.node`, add real device revocation/replacement (`device-revoke`), a dedicated updater probe peer (`FVPN_E2E_PROBE=1`, `update-good` with `probe_omission_count=0`, exported as `Stack.ProbePeer`, `Stack.ProbeWatchContainer`, and `Stack.WaitForProbeDatagram` in `#204`), 60-peer native admission, and a **second real exit lab hook** (`Stack.StartSecondExit` / `EnrollAt(..., "node2")` via `deploy/devstack/compose.yaml` `second-exit` profile, verified by `TestSecondExit` / `second-exit` as an operator-run prerequisite for multi-exit `AT09` and `AT21`), and the [security-ops follow-up 5 records (`#165`)](../e2e/at/secops/history/follow-up-5/README.md) verify counted serving flow through the selected exit ([`counted-flow.json`](../e2e/at/secops/history/follow-up-5/counted-flow.json), `SECOPS-09` closed with `0 -> 399` upload / `0 -> 678` download bytes, `usage_events = 2`, `usage_rollups = 4`, and zero `probe_up`/`probe_down` leakage), post-revoke control/node coherence ([`post-revoke.json`](../e2e/at/secops/history/follow-up-5/post-revoke.json), `F3-02` passing), `AT29` deadline and watchdog faults ([`deadlines.json`](../e2e/at/secops/history/follow-up-5/deadlines.json)), and the `AT31` 2-device counted-capacity subset ([`capacity.json`](../e2e/at/secops/history/follow-up-5/capacity.json)). In addition, [portal follow-up 10 (`#175`), follow-up 13 (`#208`), follow-up 14 (`#223`), and follow-up 15 (`#235`)](../../apps/portal/e2e/portal.spec.ts) replace single-shot post-operation DOM reads with auto-retrying web-first Playwright assertions (`toBeVisible`, `not.toHaveCount(0)`, `toContainText`), `OperationBanner` settlement checks, live-suite assertions that operations are never observed `failed` under default worker concurrency `4`, operator copy for the provisional lease window (`awaiting_member_grants` / `AWAITING_MEMBER_GRANTS`) and `NodeDetail.identity_conflict` (`D-072`), and cached `202` `ETag` handling on `/admin/nodes/{id}` showing the saved banner only after the post-save refetch settles; [agent follow-up 14 (`#181`)](../../node/agent/review_d063_test.go) synchronizes meter review sampling via `manualUsage` / `Meter.Barrier` (`node/agent/engine_test.go`), proves `Meter.Run` skips an `ErrBusy` tick without losing counters (`TestMTR03_RunSkipsBusySampleWithoutLosingCounters` in `node/internal/meter/meter_test.go`), and pins the test clock in `TestProbeException_AbsentChallengeDoesNotInstall` (`node/agent/probeexc_test.go`); [devstack follow-up 11 (`#182`)](../e2e/followup11-verification.md), [devstack follow-up 12 (`#196`, `#199`)](../e2e/scenarios/device-revoke.md), [devstack follow-up 13 (`#204`, `#219`, run `4c97ebef`)](../e2e/scenarios/device-revoke.md) (`26 pass / 1 blocked / 0 fail`), and **[devstack follow-up 14 (`#240`, [`docs/e2e/runs/2026-10-31/followup14/run.md`](../e2e/runs/2026-10-31/followup14/run.md))](../e2e/runs/2026-10-31/followup14/run.md)** (**`29 pass / 0 blocked / 0 fail`** acceptance suite in run `4e3e9487-fe0f-4d88-a396-d5d5fa4a8e1d` and **`16 pass / 0 blocked / 0 fail`** harness export suite in run `0a687f3a-2351-4234-b43d-882109267967`, [`docs/e2e/README.md`](../e2e/README.md), [`docs/e2e/RUN.md`](../e2e/RUN.md), [`docs/e2e/requests.md`](../e2e/requests.md), [`docs/e2e/scenarios/gateway-principals.md`](../e2e/scenarios/gateway-principals.md), [`docs/e2e/scenarios/device-revoke.md`](../e2e/scenarios/device-revoke.md)) exercise lab `trusted_proxies` (`/32` gateway trust) and nginx `X-Forwarded-For` (`gateway-principals`, `fvpn-e2e-nodeconfig http-burst`), add the **TEST ONLY** finite-grace prepare option (`fvpn-e2e-prepare -grace-seconds N` / `FVPN_E2E_GRACE_SECONDS`, `SECOPS-04`), prove controlled stale-client revocation (`Stack.PauseNativeControl` `SIGSTOP` in `device-revoke` with 3-point `tcpdump` capture confirming `peer_tx_packets > 0`, `mor0_rx_packets == 0`, and `uplink_packets == 0` after `#196`) plus **strict post-revoke member-ingress proof on `fvmb0`** (`#219`, `Stack.InjectMemberIngress` and `Stack.ObserveMemberIngress` via `fvpn-netlab inject`: a frame injected on `fvmb0` with the revoked device's overlay IPv4 raises the `inet fvpn forward` drop counter `ctunku` by `1` while `u_` stays `0` and nothing leaves `fvup0` or reaches the origin, an admitted sibling device on the same member moves `u_` by `1` and reaches the origin, and the 4th replacement device is counted on the same agent PID; `ENR-05` and `ENR-06` `RerunInstaller` and `ControlledReinstall`, production `D-072` cloned-identity conflict across a second `/24` lab network `172.29..0/24` on `node-clone`, `worker-restart` `SIGKILL` PID 1 with `/readyz` within `30 s`, `past_due` keeping `paid` `SECOPS-17`, and lab-only removal of Docker's embedded-DNS `ip nat` rules in the node container entrypoint all pass in `#240`), add read-only node resource telemetry (`Stack.StartNodeTelemetry` at `5s` cadence sampling cgroup v2 CPU/memory, process FDs, and `nf_conntrack_count` — workload measurement only, not hardware certification), and expand the port base table to 10 slots (`6000 + 6000*n`, `n = 0..9`: `12000` assigned to `w4-enroll`, `6000` reserved, `18000..60000` unchanged, `66000` rejected); [enrollment follow-up 3 (`#229`, run `60a7102e-b824-4927-a576-62033f458157`)](../e2e/at/enrollment/history/follow-up-3/summary.md) ([`requests.md`](../e2e/at/enrollment/requests.md), [`AT06.md`](../e2e/at/enrollment/AT06.md), [`AT07.md`](../e2e/at/enrollment/AT07.md)) closes `ENR-08` on the production cloned-identity caller and records `AT06` (`254` passing, `1` blocked, `0` failed; blocked item is `rate_limit_review` browser-class `429`s on `GET /api/v1/admin/audit-events` and `GET /api/v1/admin/nodes/{id}/incarnations` that succeeded after `Retry-After` under `D-078`) and `AT07` (`15` passing, `7` blocked, `0` failed; blocked on `ENR-07` second-`/24` lab network export and `ENR-05`/`ENR-06` devstack wiring) as **subset passed, case blocked**; [members follow-up 5 (`#201`)](../e2e/at/members/history/follow-up-5/summary.md) and [follow-up 6 (`#231`, run `80db103b-622c-42b1-946d-4628daaa213d`)](../e2e/at/members/history/follow-up-6/summary.md) ([`README.md`](../e2e/at/members/history/follow-up-6/README.md), [`requests.md`](../e2e/at/members/history/follow-up-6/requests.md), [`AT02.md`](../e2e/at/members/history/follow-up-6/AT02.md), [`AT09.md`](../e2e/at/members/history/follow-up-6/AT09.md)) pass **`AT02`** (follow-up 6: `42/0` subchecks, proving strict post-withdrawal `fvmb0` ingress injection via `Stack.ObserveMemberIngress` where the revoked device `100.104.160.29` raises `ctunku` `0 -> 1` with `0` forwarded bytes and `0` device counter changes while the admitted sibling `100.104.242.187` moves `u_` `31 -> 32` and `d_` `22 -> 23` and reaches `fvup0` and `origin`), **`AT03`**, and **`AT08`** (`3 pass / 7 blocked / 0 fail` in each run; `382` and `384` passing subchecks, `0` failed subchecks), while the remaining `7` cases stay **subset passed, case blocked** on lab/device resources and follow-up 6's `AT09` measures the `D-067` / revision 11 provisional window (`awaiting_member_grants` + `AWAITING_MEMBER_GRANTS` at `stage=lease`, never `lease_expired`) after a `node2` cold restart on unchanged generation `23` at **`36.976 s`** to serving-ready and **`41.695 s`** to first counted member byte; [isolation follow-up 3 (`#207`, previously reported run `c359fa37-61e0-4469-9f73-5a1e60949c3b`)](../e2e/at/isolation/history/follow-up-3/summary.md) and [isolation follow-up 4 (`#237`, run `fa0074cc-3b1a-403d-b8c2-3a3439fe2b7e`)](../e2e/at/isolation/history/follow-up-4/summary.md) ([follow-up 4 run record](../e2e/at/isolation/history/follow-up-4/AT10.json); the follow-up 3 archive lists a different run) record that follow-up 3 (`#207`) passes `AT10` with counted positives on every destination case and records `AT11`, `AT12`, and `AT13` as **subset passed, case blocked** on designed gaps with owners (`AT13` `60 s` whole-node expiry via `PUT /api/v1/admin/fleet-config` and finite-member expiry under control loss pass; remaining subchecks blocked on `ISO-08`), while follow-up 4 (`#237`, run `fa0074cc-3b1a-403d-b8c2-3a3439fe2b7e` on `205633f` before `#240`/`#241`) failed closed before member admission because Docker's embedded DNS `table ip nat` (`OUTPUT -> DOCKER_OUTPUT` / `POSTROUTING -> DOCKER_POSTROUTING` `xt` `DNAT`/`SNAT` for `127.0.0.11`) triggered `#220` `FLOWTABLE_BYPASS` (`0 pass / 4 blocked / 0 fail` on assembled `AT10`–`AT13` while mechanism controls `lab-AT10`–`lab-AT13` passed); [current usage follow-up 7](../e2e/at/usage/README.md) has later results; the earlier [usage follow-up 2 (`#214`, previously reported run `2393df75-6261-42bc-99b4-df3c57c4b741`)](../e2e/at/usage/history/followup2/summary.md) (the archive lists a different run) recorded passes `AT14`–`AT18` live on counted serving flow while `AT19` was **subset passed, case blocked** (`USG-04` multi-device HTB contention and `USG-05` dynamic line-rate shaping); and [security-ops follow-up 8 (`#221`, run `0f5fb60d-f6a7-45c6-8ebe-175e0a480bd8`)](../e2e/at/secops/history/follow-up-8/AT30.md) and [follow-up 9 (`#242`, run `42396951-2d9a-49f4-95c3-45f33d9519d5`)](../e2e/at/secops/history/follow-up-9/AT30.md) ([`restore-reconcile.md`](../e2e/at/secops/restore-reconcile.md), [`summary.md`](../e2e/at/secops/summary.md), [`requests.md`](../e2e/at/secops/requests.md)) measure the live `AT30` second half on `w4-secops`/`30000` (in `#221`, central database restored to `T0` in `3.64 s`, 2-minute `120.12 s` fail-safe negative, 5-step `fvpn-usage-admin` recovery protocol with `5/5` retained-node events replayed, `105.94 s` protocol RTO, `111.51 s` total outage RTO, `116.651 s` pre-replay database RPO, `0 s` post-replay service usage RPO, and provider reconciliation passed while `AT30` was blocked on `SECOPS-18`; in **follow-up 9 `#242`, run `42396951-2d9a-49f4-95c3-45f33d9519d5`**, **`AT30` passed live** — `1 pass / 4 blocked / 0 fail` across `AT28`–`AT32` — closing `SECOPS-18` `D-076` `#227`, `SECOPS-19` `#226` & `#225`, and `SECOPS-05` with `7.17 s` isolated PITR, `6/6` checklist sections, `120.12 s` fail-safe negative, `3/3` retained-node events `78833` B + `1` post-`T1` event `10160` B replayed, `90.301 s` pre-replay database RPO, `0 s` / `0 B` post-replay service usage RPO, `112.35 s` protocol RTO, `121.88 s` total outage RTO, `SECOPS-19` `3` unacked events / `"2352"` B during `reconciling` -> `0` after `complete-recovery`, and `D-076` fence + two negatives + `AuthorizeDevice` re-grant proven on `peerM2D2` `01a18f9b-a2a0-728f-8482-b08cc9b1a3ee`).
+The publication gate is agent evidence that forwarding is armed, not a traffic measurement. The [publication and forwarding evidence](../e2e/at/secops/publication.md) keeps the follow-up 4 negative operation-step refusal and successful zero-binding publication in [followup4-publication.json](../e2e/at/secops/followup4-publication.json) (`id` `SECOPS-11`) and then records a later populated publication on `446b6b0`. `publication.md` does not name `SECOPS-11`. The [members follow-up 3 forwarding record](../e2e/at/members/history/follow-up-3/forwarding-observation.md) proves counted member forwarding (`0 -> 2214/2411` bytes, origin `200`) once the client selects the advertised exit, [devstack follow-up 9 (`#153`)](../e2e/followup9-verification.md), [devstack follow-up 10 (`#170`)](../e2e/RUN.md), [devstack follow-up 13 (`#204`, `#219`)](../e2e/RUN.md), and [devstack follow-up 14 (`#240`, [`docs/e2e/runs/2026-10-31/followup14/run.md`](../e2e/runs/2026-10-31/followup14/run.md))](../e2e/runs/2026-10-31/followup14/run.md) install `conntrack` and `tcpdump` in `deploy/devstack/Dockerfile.node`, add real device revocation/replacement (`device-revoke`), a dedicated updater probe peer (`FVPN_E2E_PROBE=1`, `update-good` with `probe_omission_count=0`, exported as `Stack.ProbePeer`, `Stack.ProbeWatchContainer`, and `Stack.WaitForProbeDatagram` in `#204`), 60-peer native admission, and a **second real exit lab hook** (`Stack.StartSecondExit` / `EnrollAt(..., "node2")` via `deploy/devstack/compose.yaml` `second-exit` profile, verified by `TestSecondExit` / `second-exit` as an operator-run prerequisite for multi-exit `AT09` and `AT21`), and the [security-ops follow-up 5 records (`#165`)](../e2e/at/secops/history/follow-up-5/README.md) verify counted serving flow through the selected exit ([`counted-flow.json`](../e2e/at/secops/history/follow-up-5/counted-flow.json), `SECOPS-09` closed with `0 -> 399` upload / `0 -> 678` download bytes, `usage_events = 2`, `usage_rollups = 4`, and zero `probe_up`/`probe_down` leakage), post-revoke control/node coherence ([`post-revoke.json`](../e2e/at/secops/history/follow-up-5/post-revoke.json), `F3-02` passing), `AT29` deadline and watchdog faults ([`deadlines.json`](../e2e/at/secops/history/follow-up-5/deadlines.json)), and the `AT31` 2-device counted-capacity subset ([`capacity.json`](../e2e/at/secops/history/follow-up-5/capacity.json)). In addition, [portal follow-up 10 (`#175`), follow-up 13 (`#208`), follow-up 14 (`#223`), and follow-up 15 (`#235`)](../../apps/portal/e2e/portal.spec.ts) replace single-shot post-operation DOM reads with auto-retrying web-first Playwright assertions (`toBeVisible`, `not.toHaveCount(0)`, `toContainText`), `OperationBanner` settlement checks, live-suite assertions that operations are never observed `failed` under default worker concurrency `4`, operator copy for the provisional lease window (`awaiting_member_grants` / `AWAITING_MEMBER_GRANTS`) and `NodeDetail.identity_conflict` (`D-072`), and cached `202` `ETag` handling on `/admin/nodes/{id}` showing the saved banner only after the post-save refetch settles; [agent follow-up 14 (`#181`)](../../node/agent/review_d063_test.go) synchronizes meter review sampling via `manualUsage` / `Meter.Barrier` (`node/agent/engine_test.go`), proves `Meter.Run` skips an `ErrBusy` tick without losing counters (`TestMTR03_RunSkipsBusySampleWithoutLosingCounters` in `node/internal/meter/meter_test.go`), and pins the test clock in `TestProbeException_AbsentChallengeDoesNotInstall` (`node/agent/probeexc_test.go`); [devstack follow-up 11 (`#182`)](../e2e/followup11-verification.md), [devstack follow-up 12 (`#196`, `#199`)](../e2e/scenarios/device-revoke.md), [devstack follow-up 13 (`#204`, `#219`, run `4c97ebef`)](../e2e/scenarios/device-revoke.md) (`26 pass / 1 blocked / 0 fail`), and **[devstack follow-up 14 (`#240`, [`docs/e2e/runs/2026-10-31/followup14/run.md`](../e2e/runs/2026-10-31/followup14/run.md))](../e2e/runs/2026-10-31/followup14/run.md)** (**`29 pass / 0 blocked / 0 fail`** acceptance suite in run `4e3e9487-fe0f-4d88-a396-d5d5fa4a8e1d` and **`16 pass / 0 blocked / 0 fail`** harness export suite in run `0a687f3a-2351-4234-b43d-882109267967`, [`docs/e2e/README.md`](../e2e/README.md), [`docs/e2e/RUN.md`](../e2e/RUN.md), [`docs/e2e/requests.md`](../e2e/requests.md), [`docs/e2e/scenarios/gateway-principals.md`](../e2e/scenarios/gateway-principals.md), [`docs/e2e/scenarios/device-revoke.md`](../e2e/scenarios/device-revoke.md)) exercise lab `trusted_proxies` (`/32` gateway trust) and nginx `X-Forwarded-For` (`gateway-principals`, `fvpn-e2e-nodeconfig http-burst`), add the **TEST ONLY** finite-grace prepare option (`fvpn-e2e-prepare -grace-seconds N` / `FVPN_E2E_GRACE_SECONDS`, `SECOPS-04`), prove controlled stale-client revocation (`Stack.PauseNativeControl` `SIGSTOP` in `device-revoke` with 3-point `tcpdump` capture confirming `peer_tx_packets > 0`, `mor0_rx_packets == 0`, and `uplink_packets == 0` after `#196`) plus **strict post-revoke member-ingress proof on `fvmb0`** (`#219`, `Stack.InjectMemberIngress` and `Stack.ObserveMemberIngress` via `fvpn-netlab inject`: a frame injected on `fvmb0` with the revoked device's overlay IPv4 raises the `inet fvpn forward` drop counter `ctunku` by `1` while `u_` stays `0` and nothing leaves `fvup0` or reaches the origin, an admitted sibling device on the same member moves `u_` by `1` and reaches the origin, and the 4th replacement device is counted on the same agent PID; `ENR-05` and `ENR-06` `RerunInstaller` and `ControlledReinstall`, production `D-072` cloned-identity conflict across a second `/24` lab network `172.29..0/24` on `node-clone`, `worker-restart` `SIGKILL` PID 1 with `/readyz` within `30 s`, `past_due` keeping `paid` `SECOPS-17`, and lab-only removal of Docker's embedded-DNS `ip nat` rules in the node container entrypoint all pass in `#240`), add read-only node resource telemetry (`Stack.StartNodeTelemetry` at `5s` cadence sampling cgroup v2 CPU/memory, process FDs, and `nf_conntrack_count` — workload measurement only, not hardware certification), and expand the port base table to 10 slots (`6000 + 6000*n`, `n = 0..9`: `12000` assigned to `w4-enroll`, `6000` reserved, `18000..60000` unchanged, `66000` rejected); [enrollment follow-up 3 (`#229`, run `60a7102e-b824-4927-a576-62033f458157`)](../e2e/at/enrollment/history/follow-up-3/summary.md) ([`requests.md`](../e2e/at/enrollment/history/follow-up-3/requests.md), [`AT06.md`](../e2e/at/enrollment/history/follow-up-3/AT06.md), [`AT07.md`](../e2e/at/enrollment/history/follow-up-3/AT07.md)) closes `ENR-08` on the production cloned-identity caller and records `AT06` (`254` passing, `1` blocked, `0` failed; blocked item is `rate_limit_review` browser-class `429`s on `GET /api/v1/admin/audit-events` and `GET /api/v1/admin/nodes/{id}/incarnations` that succeeded after `Retry-After` under `D-078`) and `AT07` (`15` passing, `7` blocked, `0` failed; blocked on `ENR-07` second-`/24` lab network export and `ENR-05`/`ENR-06` devstack wiring) as **subset passed, case blocked**; [members follow-up 5 (`#201`)](../e2e/at/members/history/follow-up-5/summary.md) and [follow-up 6 (`#231`, run `80db103b-622c-42b1-946d-4628daaa213d`)](../e2e/at/members/history/follow-up-6/summary.md) ([`README.md`](../e2e/at/members/history/follow-up-6/README.md), [`requests.md`](../e2e/at/members/history/follow-up-6/requests.md), [`AT02.md`](../e2e/at/members/history/follow-up-6/AT02.md), [`AT09.md`](../e2e/at/members/history/follow-up-6/AT09.md)) pass **`AT02`** (follow-up 6: `42/0` subchecks, proving strict post-withdrawal `fvmb0` ingress injection via `Stack.ObserveMemberIngress` where the revoked device `100.104.160.29` raises `ctunku` `0 -> 1` with `0` forwarded bytes and `0` device counter changes while the admitted sibling `100.104.242.187` moves `u_` `31 -> 32` and `d_` `22 -> 23` and reaches `fvup0` and `origin`), **`AT03`**, and **`AT08`** (`3 pass / 7 blocked / 0 fail` in each run; `382` and `384` passing subchecks, `0` failed subchecks), while the remaining `7` cases stay **subset passed, case blocked** on lab/device resources and follow-up 6's `AT09` measures the `D-067` / revision 11 provisional window (`awaiting_member_grants` + `AWAITING_MEMBER_GRANTS` at `stage=lease`, never `lease_expired`) after a `node2` cold restart on unchanged generation `23` at **`36.976 s`** to serving-ready and **`41.695 s`** to first counted member byte; [isolation follow-up 3 (`#207`, previously reported run `c359fa37-61e0-4469-9f73-5a1e60949c3b`)](../e2e/at/isolation/history/follow-up-3/summary.md) and [isolation follow-up 4 (`#237`, run `fa0074cc-3b1a-403d-b8c2-3a3439fe2b7e`)](../e2e/at/isolation/history/follow-up-4/summary.md) ([follow-up 4 run record](../e2e/at/isolation/history/follow-up-4/AT10.json); the follow-up 3 archive lists a different run) record that follow-up 3 (`#207`) passes `AT10` with counted positives on every destination case and records `AT11`, `AT12`, and `AT13` as **subset passed, case blocked** on designed gaps with owners (`AT13` `60 s` whole-node expiry via `PUT /api/v1/admin/fleet-config` and finite-member expiry under control loss pass; remaining subchecks blocked on `ISO-08`), while follow-up 4 (`#237`, run `fa0074cc-3b1a-403d-b8c2-3a3439fe2b7e` on `205633f` before `#240`/`#241`) failed closed before member admission because Docker's embedded DNS `table ip nat` (`OUTPUT -> DOCKER_OUTPUT` / `POSTROUTING -> DOCKER_POSTROUTING` `xt` `DNAT`/`SNAT` for `127.0.0.11`) triggered `#220` `FLOWTABLE_BYPASS` (`0 pass / 4 blocked / 0 fail` on assembled `AT10`–`AT13` while mechanism controls `lab-AT10`–`lab-AT13` passed); [current usage follow-up 7](../e2e/at/usage/README.md) has later results; the earlier [usage follow-up 2 (`#214`, previously reported run `2393df75-6261-42bc-99b4-df3c57c4b741`)](../e2e/at/usage/history/followup2/summary.md) (the archive lists a different run) recorded passes `AT14`–`AT18` live on counted serving flow while `AT19` was **subset passed, case blocked** (`USG-04` multi-device HTB contention and `USG-05` dynamic line-rate shaping); and [security-ops follow-up 8 (`#221`, run `0f5fb60d-f6a7-45c6-8ebe-175e0a480bd8`)](../e2e/at/secops/history/follow-up-8/AT30.md) and [follow-up 9 (`#242`, run `42396951-2d9a-49f4-95c3-45f33d9519d5`)](../e2e/at/secops/history/follow-up-9/AT30.md) ([`restore-reconcile.md`](../e2e/at/secops/history/follow-up-9/restore-reconcile.md), [`summary.md`](../e2e/at/secops/history/follow-up-9/summary.md), [`requests.md`](../e2e/at/secops/history/follow-up-9/requests.md)) measure the live `AT30` second half on `w4-secops`/`30000` (in `#221`, central database restored to `T0` in `3.64 s`, 2-minute `120.12 s` fail-safe negative, 5-step `fvpn-usage-admin` recovery protocol with `5/5` retained-node events replayed, `105.94 s` protocol RTO, `111.51 s` total outage RTO, `116.651 s` pre-replay database RPO, `0 s` post-replay service usage RPO, and provider reconciliation passed while `AT30` was blocked on `SECOPS-18`; in **follow-up 9 `#242`, run `42396951-2d9a-49f4-95c3-45f33d9519d5`**, **`AT30` passed live** — `1 pass / 4 blocked / 0 fail` across `AT28`–`AT32` — closing `SECOPS-18` `D-076` `#227`, `SECOPS-19` `#226` & `#225`, and `SECOPS-05` with `7.17 s` isolated PITR, `6/6` checklist sections, `120.12 s` fail-safe negative, `3/3` retained-node events `78833` B + `1` post-`T1` event `10160` B replayed, `90.301 s` pre-replay database RPO, `0 s` / `0 B` post-replay service usage RPO, `112.35 s` protocol RTO, `121.88 s` total outage RTO, `SECOPS-19` `3` unacked events / `"2352"` B during `reconciling` -> `0` after `complete-recovery`, and `D-076` fence + two negatives + `AuthorizeDevice` re-grant proven on `peerM2D2` `01a18f9b-a2a0-728f-8482-b08cc9b1a3ee`).
**Updated isolation evidence (`#237`, `#246`, 2026-10-30 EDT):** follow-up 4 was blocked before admission by Docker NAT. Follow-up 5 records AT10 `7 pass / 1 blocked / 0 fail`, AT11 `2 pass / 1 blocked / 0 fail`, AT12 `9 pass / 1 blocked / 0 fail`, AT13 `6 pass / 1 blocked / 0 fail`: **subset passed, case blocked** for every full AT. See the [dated acceptance table](../ops/README.md#follow-up-13-acceptance-snapshot-2026-10-30-edt); the older follow-up 3 measurements above are historical.
@@ -800,7 +800,7 @@ Revision 13 defines `UpdateResultSource` as `[central, installer]` (default `cen
Historical follow-up 15 cutoff; current dispositions are in [follow-up 19](follow-up-19.md).
-Both updater units have removed `refresh-boot-id` and no longer make `/etc/vpn-node` writable. Historically, the installer follow-up 2 systemd container lifecycle gate did not run because the shared host exhausted `fs.inotify.max_user_instances=128`. Installer follow-up 3 (#279) now verifies install, offline seed and firstboot with real daemons. The NetBird daemon owns `/run/fvpn-netbird/netbird.sock`; the shared runtime survives consumer restarts. The required `TestD089_RealSeedThenJournaledUpgrade` remains **red**: missing `state/meter.checkpoint` produces `CHECKPOINT_FAILED` at `final_sample`, null health and a rolled-back result even though the updater exits 0. The privileged suite is 9 pass / 1 required fail. Agent-core follow-up 24 owns the meter checkpoint; candidate release identity/health also needs integration. The offline suite uses a TEST ONLY NetBird `up` adapter, so real registration and AT07 reruns remain required. See [installer follow-up 3](../node/install-followup3-2026-10-31.md) and the [updates F9-01…F9-05 requests](../e2e/at/updates/requests.md).
+Both updater units have removed `refresh-boot-id` and no longer make `/etc/vpn-node` writable. Historically, the installer follow-up 2 systemd container lifecycle gate did not run because the shared host exhausted `fs.inotify.max_user_instances=128`. Installer follow-up 3 (#279) now verifies install, offline seed and firstboot with real daemons. The NetBird daemon owns `/run/fvpn-netbird/netbird.sock`; the shared runtime survives consumer restarts. The required `TestD089_RealSeedThenJournaledUpgrade` remains **red**: missing `state/meter.checkpoint` produces `CHECKPOINT_FAILED` at `final_sample`, null health and a rolled-back result even though the updater exits 0. The privileged suite is 9 pass / 1 required fail. Agent-core follow-up 24 owns the meter checkpoint; candidate release identity/health also needs integration. The offline suite uses a TEST ONLY NetBird `up` adapter, so real registration and AT07 reruns remain required. See [installer follow-up 3](../node/install-followup3-2026-10-31.md) and the [updates F9-01…F9-05 requests](../e2e/at/updates/history/follow-up-9/requests.md).
### 4.4 Monitoring Targets, Observation Authority, and Handling `needs_attention` & `unconfirmed` (`GET /api/v1/admin/update-batches/{batch_id}`, `D-068`, `#140`, `#150`, `#189`, `docs/updates/central-lifecycle.md`, `internal/fleetupdate/serving.go`, `internal/fleetupdate/progress.go`)
@@ -1079,18 +1079,18 @@ Current limiter calibration (#252, D-083 / D-078): browser `10/s`, burst `30` **
2. **JSON well-formedness (inline request middleware, skipped for webhooks, `#161`, `#169`, `#190`):** Bodies up to `canonjson.MaxBytes` (`1 MiB`, the signed-document bound) pass `canonjson.Canonicalize`. On the agent mTLS listener, an identity callback is set and those bodies also pass the single streaming walk `walkChecked` (`internal/httpapi/jsondoc.go`). Larger bodies in `(1 MiB, class cap]` (`SubmitUsageBatch` above `1 MiB` up to `8 MiB`) pass `checkLargeJSON` (`internal/httpapi/middleware.go`), which runs `walkChecked` and, for a streamable request schema, the schema check in the same walk. The streaming walk enforces the `canonjson` ruleset (valid UTF-8, no UTF-8 BOM, no unescaped ASCII control characters or NUL bytes, no lone UTF-16 surrogates, no duplicate object keys at any nesting level after unescaping, max depth `256`, integers within `±(2^53-1)` with no fraction, exponent, leading zero, or `-0`, and no trailing data); invalid JSON returns `400 MALFORMED_REQUEST` (`"Invalid JSON document."`).
3. **Schema (`openapi3filter.ValidateRequest` or streaming schema check, skipped for webhooks, `#190`):** Returns `422 VALIDATION_FAILED`. Under `#190`, a body above `1 MiB` with a streamable schema (`SubmitUsageBatch`) is schema-checked during the single streaming walk and sets the `ExcludeRequestBody` field of `openapi3filter.Options` so `openapi3filter` does not `json.Unmarshal` the body.
4. **Identity (`identityFieldMatches` called by the identity callback of the single streaming walk for agent mTLS, `#169`, `#190`):** Identity (`node_id`, `node_incarnation_id`, `incarnation_id`, including nested usage events) is read during the single streaming walk (no `json.Unmarshal` of the body) and returns `403 INCARNATION_MISMATCH` on mismatch; a body above `1 MiB` with a streamable schema sets `ExcludeRequestBody`; an operation with no owner returns `501 NOT_IMPLEMENTED` without a third decode; and the check order for a large body is `400 MALFORMED_REQUEST` syntax, `422 VALIDATION_FAILED` schema, `403 INCARNATION_MISMATCH` identity (`#190`). (`fvpn_control_rate_limited_total` counts `429` only, not `413` or `400`.) D-115 (#296) delegates body identity checks only for `submitUsageBatch` with a schema-valid top-level `origin_incarnation_id` to the usage service, which validates and audits the origin; authentication and validation remain enforced, and no-origin batches and all other operations retain recursive identity checks.
-- **Live measurements, 60-peer admission figures, gateway notes, and secops follow-up 7 verdicts (`#152`, `#161`, `#165`, `#170`, `#178`, `#182`, `#203`, [`docs/e2e/at/secops/summary.md`](../e2e/at/secops/summary.md), [`docs/e2e/at/secops/limiter.md`](../e2e/at/secops/limiter.md), [`docs/e2e/at/secops/limiter.json`](../e2e/at/secops/limiter.json), [`docs/e2e/at/secops/capacity.json`](../e2e/at/secops/capacity.json), [`docs/e2e/at/secops/deadlines.json`](../e2e/at/secops/deadlines.json), [`docs/e2e/at/secops/node-telemetry.json`](../e2e/at/secops/node-telemetry.json), [`docs/e2e/at/secops/gateway-inventory.json`](../e2e/at/secops/gateway-inventory.json), [`docs/e2e/at/secops/secret-scan.json`](../e2e/at/secops/secret-scan.json), [`docs/e2e/at/secops/requests.md`](../e2e/at/secops/requests.md), [`docs/e2e/scenarios/gateway-principals.md`](../e2e/scenarios/gateway-principals.md), [`docs/e2e/RUN.md`](../e2e/RUN.md)):**
+- **Live measurements, 60-peer admission figures, gateway notes, and secops follow-up 7 verdicts (`#152`, `#161`, `#165`, `#170`, `#178`, `#182`, `#203`, [`docs/e2e/at/secops/history/follow-up-7/summary.md`](../e2e/at/secops/history/follow-up-7/summary.md), [`docs/e2e/at/secops/limiter.md`](../e2e/at/secops/limiter.md), [`docs/e2e/at/secops/limiter.json`](../e2e/at/secops/limiter.json), [`docs/e2e/at/secops/capacity.json`](../e2e/at/secops/capacity.json), [`docs/e2e/at/secops/deadlines.json`](../e2e/at/secops/deadlines.json), [`docs/e2e/at/secops/node-telemetry.json`](../e2e/at/secops/node-telemetry.json), [`docs/e2e/at/secops/gateway-inventory.json`](../e2e/at/secops/gateway-inventory.json), [`docs/e2e/at/secops/history/follow-up-7/secret-scan.json`](../e2e/at/secops/history/follow-up-7/secret-scan.json), [`docs/e2e/at/secops/history/follow-up-7/requests.md`](../e2e/at/secops/history/follow-up-7/requests.md), [`docs/e2e/scenarios/gateway-principals.md`](../e2e/scenarios/gateway-principals.md), [`docs/e2e/RUN.md`](../e2e/RUN.md)):**
- **Rate limiters and body bounds (`#152`, `#161`, `#165`, `#178`, `#203`, `AT28`, `SECOPS-14`, `SECOPS-15`):** `heartbeat` (`SubmitObservation`, burst `5`) and `lease` (`RenewServingLease`, burst `5`) refused at request `6` with `429 RATE_LIMITED` and `Retry-After: 1`; `usage` (`SubmitUsageBatch`, burst `10`), `enrollment` (`EnrollNode`, burst `10`), `webhook` (`ReceiveProviderWebhook`, burst `10`), and `anonymous_shared` (`EnrollNode` + `ReceiveProviderWebhook` from one address) refused at request `11` with `Retry-After: 1`; 20/20 concurrent browser logins from one address completed with `HTTP 200` on `/` (`SECOPS-14` resolved); in security-ops follow-up 6 (`#178`) and follow-up 7 (`#203`, run `ab96acac-8713-485a-9c29-88f20110e2e5`, `docs/e2e/at/secops/limiter.json`), `120` anonymous `POST /api/v1/webhooks/payment/stripe` requests from one client produced `10 × 400` + `110 × 429` (`Retry-After: 1`) while concurrent authenticated admin `GET /api/v1/admin/nodes` and mTLS `RenewServingLease` requests returned `200` (`cross_class_isolation_verified = true` after `#169`); and `SubmitUsageBatch` accepted valid payloads at `1,048,576` B (`1 MiB`), `2,097,152` B (`2 MiB`), `8,388,607` B (`8 MiB - 1`), and `8,388,608` B (`8 MiB`) with `HTTP 200`, rejected `8,388,609` B (`8 MiB + 1`) with `413 PAYLOAD_TOO_LARGE`, rejected malformed JSON with `400 MALFORMED_REQUEST`, and rejected `SubmitObservation` at `1,048,577` B (`1 MiB + 1`) with `413 PAYLOAD_TOO_LARGE` (`SECOPS-15` closed).
- - **`SECOPS-10` 60-peer native admission and counted-traffic figures (`#170`, `#178`, `#203`, `docs/e2e/at/secops/summary.md`, `docs/e2e/at/secops/capacity.json`, `docs/e2e/at/secops/node-telemetry.json`, `docs/e2e/at/secops/gateway-inventory.json` — shared development host, not candidate hardware):** After devstack follow-up 10 (`#170`) raised lab nginx to `worker_processes 2` × `worker_connections 4096` with a `.128/25` dynamic member address pool, security-ops follow-up 6 (`#178`) and follow-up 7 (`#203`, run `ab96acac-8713-485a-9c29-88f20110e2e5`) measured `20` users × `3` devices = `60` real native NetBird peers (`60/60` `authorized`, `60/60` distinct `/32` `overlay_ipv4`, `0` failed operations) on fresh stacks (`w4-secops` / `30000`) **on the shared development host, not candidate hardware**:
+ - **`SECOPS-10` 60-peer native admission and counted-traffic figures (`#170`, `#178`, `#203`, follow-up 6 [summary](../e2e/at/secops/history/follow-up-6/summary.md) and follow-up 7 [summary](../e2e/at/secops/history/follow-up-7/summary.md), `docs/e2e/at/secops/capacity.json`, `docs/e2e/at/secops/node-telemetry.json`, `docs/e2e/at/secops/gateway-inventory.json` — shared development host, not candidate hardware):** After devstack follow-up 10 (`#170`) raised lab nginx to `worker_processes 2` × `worker_connections 4096` with a `.128/25` dynamic member address pool, security-ops follow-up 6 (`#178`) and follow-up 7 (`#203`, run `ab96acac-8713-485a-9c29-88f20110e2e5`) measured `20` users × `3` devices = `60` real native NetBird peers (`60/60` `authorized`, `60/60` distinct `/32` `overlay_ipv4`, `0` failed operations) on fresh stacks (`w4-secops` / `30000`) **on the shared development host, not candidate hardware**:
1. **Sequential `20×3` admission profile (`#178`, `admission_60_peer`):** total admission wall `904.360 s`, per-peer join `p50 / p95 / p99 / max` = `14,892.523 / 16,451.805 / 18,000.086 / 18,000.086 ms`; `600/600` concurrent `GET /api/v1/member/devices` reads (`20` users × `30` iterations) returned `200` (`0` errors, `0` foreign device IDs) at `p50 / p95 / p99 / max` = `9.616 / 16.413 / 17.969 / 34.084 ms`; gateway socket inventory (`gateway-inventory.json`) recorded `398` established TCP sockets, `441` open FDs (`ulimit -n = 1,048,576`), `time_wait = 0`, and `0` listener drops across `2` nginx workers (`worker_connections = 4096`).
2. **Concurrent `ScaleNativeMembers` helper profile (`#178`, `admission_60_peer_scale_helper`, 4-worker NetBird join pool):** total admission wall `300.386 s`; `600/600` concurrent `GET /api/v1/member/devices` reads returned `200` (`0` errors, `0` foreign device IDs) at `p50 / p95 / p99 / max` = `10.721 / 47.604 / 56.136 / 95.367 ms`; gateway socket inventory recorded `385` established TCP sockets, `429` open FDs, and `0` listener drops.
3. **Follow-up 7 60-peer counted-traffic, `5,960`-read, and `5 s` telemetry profile (`#203`, run `ab96acac-8713-485a-9c29-88f20110e2e5`, `capacity.json`, `node-telemetry.json`):** `60/60` admitted native peers (`296.017 s` via `ScaleNativeMembers`) generated counted traffic (`60/60` counted peers with positive `usage_events` and `usage_rollups`, `node1` `39,600` up / `69,480` down bytes across `50` devices and `node2` `7,920` up / `13,896` down bytes across `10` devices); `5,960/5,960` concurrent `GET /api/v1/member/devices` reads returned `200` (`0` non-`200`, `0` wrong-member responses, `p50 / p95 / p99 / max` = `25.81 / 96.32 / 149.94 / 302.18 ms`); and `82` node telemetry samples at `5 s` cadence recorded `0` errors (`max_fds: 18`, `max_conntrack: 422`).
*(Because these measurements come from the shared development host, not candidate hardware, production candidate hardware certification remains tracked under `§9`.)*
- **Lab gateway `trusted_proxies`, `X-Forwarded-For`, and secret-scan hygiene (`#170`, `#178`, `#182`, `#203`, `docs/e2e/scenarios/gateway-principals.md`, `docs/e2e/at/secops/secret-scan.json`, `SECOPS-13`, `SECOPS-16`, `D-066`):** Devstack follow-up 11 (`#182`) configures `trusted_proxies: ["/32"]` (`172.28.30.21/32` for `e2e`) in `control.json` and `proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for` on the lab nginx `:8443` server; `gateway-principals` (`fvpn-e2e-nodeconfig http-burst`, verified in `#182` and `#203` `limiter.json`) proves that exhausting the `anonymous_rate` bucket (`10 × 400`, then `5 × 429`) from `node1` behind the gateway leaves `node2`'s independent bucket unthrottled (`200`/`400`, `0 × 429`) and fails closed with `429 RATE_LIMITED` (`limiter="address"`) when a trusted peer sends a malformed rightmost-untrusted `X-Forwarded-For` token (`SECOPS-13`). In `SECOPS-16` (`#178` and `#203` `docs/e2e/at/secops/secret-scan.json`), ordinary log/capture/DB/metrics/API streams scanned clean (`0` leaks across `135` retained streams in `#178` and `23` ordinary streams in `#203`), while the `60` transient `/var/run/fvpn-nb-login-*.log` files inside client containers are root-owned `0600` (`42–43` bytes) created via `os.OpenFile(..., 0o600)` before `defer os.Remove(...)` and classified as protected non-retained credentials under `D-066`.
- - **Security-ops follow-up 7, follow-up 8, and follow-up 9 case verdicts (`#203`, run `ab96acac-8713-485a-9c29-88f20110e2e5`; `#221`, run `0f5fb60d-f6a7-45c6-8ebe-175e0a480bd8`; `#242`, run `42396951-2d9a-49f4-95c3-45f33d9519d5`, [`docs/e2e/at/secops/summary.md`](../e2e/at/secops/summary.md), [`docs/e2e/at/secops/AT30.md`](../e2e/at/secops/AT30.md), [`docs/e2e/at/secops/restore-reconcile.md`](../e2e/at/secops/restore-reconcile.md), [`docs/e2e/at/secops/requests.md`](../e2e/at/secops/requests.md)):** In **security-ops follow-up 9 (`#242`, run `42396951-2d9a-49f4-95c3-45f33d9519d5`)**, **`AT30` is `passed` live** (`1 pass / 4 blocked / 0 fail` across `AT28`–`AT32`, closing `SECOPS-18`, `SECOPS-19`, and `SECOPS-05`), while `AT28`, `AT29`, `AT31`, and `AT32` remain **`blocked`** with passed subsets:
- - **`AT28`:** subset passed, case blocked on remaining items in [`docs/e2e/at/secops/AT28.md`](../e2e/at/secops/AT28.md) and `SECOPS-20` (trusted-proxy principal isolation, per-class rate limiters, `8 MiB` `SubmitUsageBatch` body boundary, and secret-scan checks passed; follow-up 8 `#221` also verified `#205` unmapped-peer discovery-denial audit deduplication across two worker cycles with `audit_events` count `= 1` on `fleet_config:00000000-0000-0000-0000-000000000001`).
+ - **Security-ops follow-up 7, follow-up 8, and follow-up 9 case verdicts (`#203`, run `ab96acac-8713-485a-9c29-88f20110e2e5`; `#221`, run `0f5fb60d-f6a7-45c6-8ebe-175e0a480bd8`; `#242`, run `42396951-2d9a-49f4-95c3-45f33d9519d5`, follow-up 7 [summary](../e2e/at/secops/history/follow-up-7/summary.md) and [requests](../e2e/at/secops/history/follow-up-7/requests.md); follow-up 8 [summary](../e2e/at/secops/history/follow-up-8/summary.md), [AT30](../e2e/at/secops/history/follow-up-8/AT30.md), [restore-reconcile](../e2e/at/secops/history/follow-up-8/restore-reconcile.md) and [requests](../e2e/at/secops/history/follow-up-8/requests.md); follow-up 9 [summary](../e2e/at/secops/history/follow-up-9/summary.md), [AT30](../e2e/at/secops/history/follow-up-9/AT30.md), [restore-reconcile](../e2e/at/secops/history/follow-up-9/restore-reconcile.md) and [requests](../e2e/at/secops/history/follow-up-9/requests.md)):** In **security-ops follow-up 9 (`#242`, run `42396951-2d9a-49f4-95c3-45f33d9519d5`)**, **`AT30` is `passed` live** (`1 pass / 4 blocked / 0 fail` across `AT28`–`AT32`, closing `SECOPS-18`, `SECOPS-19`, and `SECOPS-05`), while `AT28`, `AT29`, `AT31`, and `AT32` remain **`blocked`** with passed subsets:
+ - **`AT28`:** full status blocked; the full case was not rerun ([`docs/e2e/at/secops/AT28.md`](../e2e/at/secops/AT28.md); scoped evidence [`SECOPS-16.json`](../e2e/at/secops/SECOPS-16.json); earlier measurements in [follow-up 9 history](../e2e/at/secops/history/follow-up-9/AT28.json)). `SECOPS-20` (trusted-proxy principal isolation, per-class rate limiters, `8 MiB` `SubmitUsageBatch` body boundary, and secret-scan checks passed; follow-up 8 `#221` also verified `#205` unmapped-peer discovery-denial audit deduplication across two worker cycles with `audit_events` count `= 1` on `fleet_config:00000000-0000-0000-0000-000000000001`).
- **`AT29`:** subset passed, case blocked on `w3-devstack-e2e` `past_due` payment truth (`SECOPS-17`, closed in devstack follow-up 14 `#240`), established TCP/UDP member transports, and `needs operator run` guest clock rollback (`clock_settime`) — `D-065` fleet API (`GET`/`PUT /api/v1/admin/fleet-config` with `428`/`412`/idempotent replay/`fleet_config.update` audit and `max_offline_lease_seconds: 60`, restored to `86400`), finite grace (`FVPN_E2E_GRACE_SECONDS=90`), paid/grant/lease cutoff (`495/869` -> `0/0` bytes at expiry) and recovery (`0 -> 1320/2316` bytes), and watchdog/component clock checks passed in `deadlines.json`.
- - **Historical live `AT30` (`#242`, run `42396951-2d9a-49f4-95c3-45f33d9519d5`, 2026-10-30 EDT): passed.** Isolated restore `7.17 s` with `6/6` checklist sections; `120.12 s` fail-safe negative without epoch rotation; retained replay `3/3` hashes with zero loss/duplicates/gaps; pre-replay DB RPO `90.301 s`, service RPO `0 s` / `0 B`, protocol RTO `112.35 s`, total outage RTO `121.88 s`. D-076 fenced the T0..T1 revoked device, an old idempotency replay kept the fence, fresh re-grant restored counted forwarding, and both the centrally revoked and newly enrolled negatives behaved correctly (SECOPS-18). During the hold, `node_observations.report_payload.usage` and `fvpn-agent usage snapshot` showed three unacked events / `2352` payload bytes, then zero after replay (SECOPS-19). The run predates the admin HTTP route and `NodeDetail.usage_outbox`; it exercised service-level re-authorization. See [restore drill §2.6](restore-drill.md#historical-follow-up-9-242) and [`docs/e2e/at/secops/AT30.md`](../e2e/at/secops/AT30.md) for the evidence and the separate historical #221 values.
+ - **Historical live `AT30` (`#242`, run `42396951-2d9a-49f4-95c3-45f33d9519d5`, 2026-10-30 EDT): passed.** Isolated restore `7.17 s` with `6/6` checklist sections; `120.12 s` fail-safe negative without epoch rotation; retained replay `3/3` hashes with zero loss/duplicates/gaps; pre-replay DB RPO `90.301 s`, service RPO `0 s` / `0 B`, protocol RTO `112.35 s`, total outage RTO `121.88 s`. D-076 fenced the T0..T1 revoked device, an old idempotency replay kept the fence, fresh re-grant restored counted forwarding, and both the centrally revoked and newly enrolled negatives behaved correctly (SECOPS-18). During the hold, `node_observations.report_payload.usage` and `fvpn-agent usage snapshot` showed three unacked events / `2352` payload bytes, then zero after replay (SECOPS-19). The run predates the admin HTTP route and `NodeDetail.usage_outbox`; it exercised service-level re-authorization. See [restore drill §2.6](restore-drill.md#historical-follow-up-9-242) and [follow-up 9 AT30](../e2e/at/secops/history/follow-up-9/AT30.md) for the `#242` evidence and [follow-up 8 AT30](../e2e/at/secops/history/follow-up-8/AT30.md) for the historical `#221` values.
- **`AT31`:** subset passed, case blocked on forced-relay control and candidate hardware (`60/60` counted peers, `5,960/5,960` HTTP `200` device reads with `0` wrong-member responses, `82` node telemetry samples at `5 s` cadence with `0` errors, and two-exit traffic passed in `capacity.json` and `node-telemetry.json`).
- **`AT32`:** subset passed, case blocked on bulk final per-stream attribution in `w3-devstack-e2e` follow-up 12 and physical origins/platforms (`SECOPS-16` ordinary log scan and protected artifact lifecycle under `D-066`, plus `scope-review.json`, passed).
diff --git a/docs/handover/restore-drill.md b/docs/handover/restore-drill.md
index e10db1e0c..b396bec08 100644
--- a/docs/handover/restore-drill.md
+++ b/docs/handover/restore-drill.md
@@ -4,8 +4,8 @@
**Current delivery:** The [delivery guide](../DELIVERY.en.md) covers current capabilities, operating entrypoints and verification scope. The follow-up snapshots below retain their historical scope and outcomes.
-**Archived cut:** [follow-up 54](follow-up-54.md), #533, #534, #535 and #536 at `2f5159f3`; source-backed changes, verification boundaries and carried gaps.
-**Earlier archived cut:** [follow-up 53](follow-up-53.md), #529, #528, #530, #531 and #532 at `e055143e`; source-backed changes, verification boundaries and carried gaps.
+**Archived cut:** [follow-up 55](follow-up-55.md), #537 and #538 at `f57183f1`; source-backed changes, verification boundaries and carried gaps.
+**Earlier archived cut:** [follow-up 54](follow-up-54.md), #533, #534, #535 and #536 at `2f5159f3`; source-backed changes, verification boundaries and carried gaps.
Historical follow-up 17 cutoff: [follow-up 17 operator evidence](follow-up-17.md). #313
harness-proves the SECOPS-21 first-offer capture (2/0/0, delivery 4 > retained 3,
diff --git a/docs/node/README.md b/docs/node/README.md
index e591b6bec..88994134d 100644
--- a/docs/node/README.md
+++ b/docs/node/README.md
@@ -92,7 +92,7 @@ Run `make -f mk/node.mk node-test-live-netlab` for the foreground container regr
Revocation is enforced by the ruleset first: removed bindings are dropped before established-flow acceptance. Each tracked address is `(addr, device_id, member_id)`, in memory and in `applied_address`. Moving the same IPv4 to another device or member queues that IPv4 for `conntrack -D` before the new device is served, including when the previous generation was unpublished and the tracked set was left in place. The same triple admitted again is not deleted. A migrated row with a nil device and member is not that triple. When the address is bound to a device, the agent queues `conntrack -D` for it and keeps that identity until the delete succeeds, on the same twelve-attempt bound as any other revoke.
-If serving and QoS verification passed (`ApplyResult.Verified`) and only the conntrack flush failed (`IsConntrackDeleteFailure`), the agent retains and acknowledges the applied generation and keeps forwarding for up to twelve consecutive failed attempts. The count is attempts, not wall time: one verified serving apply is one attempt, so a long quiet gap does not spend the window. Twelve attempts at the default 10 second step are about two minutes. That is long enough that one transient `conntrack` error does not drop every member, and short enough that a broken delete cannot leave a revoked device's flows in place. The pending set is the identities whose `conntrack -D` failed. A re-admitted `(addr, device, member)` is dropped after that attempt, so the next tick does not run `conntrack -D` against the active device. Only the addresses whose delete failed stay pending and are retried; every other address in that revoke set is retired. While the count is under twelve the observation is one `ISOLATION_POLICY_INVALID` error at stage `apply`, message `conntrack delete pending; serving ruleset verified`, with `member_forwarding_enabled=true`, `safety_status=passed`, and every check passed. The `serving` heartbeat stays.
+If serving and QoS verification passed (`ApplyResult.Verified`) and only the conntrack flush failed (`IsConntrackDeleteFailure`), the agent retains and acknowledges the applied generation and keeps forwarding while the reserved count stays under `maxConntrackDeleteAttempts` (12). `reserveConntrack` persists that next count before Apply runs the delete batch. The count is reserved batches, not wall time: a crash or an earlier failure consumes a reservation, and a long quiet gap does not spend the window. One transient `conntrack` error does not by itself reach the bound. The pending set is the identities whose `conntrack -D` failed. A re-admitted `(addr, device, member)` is dropped after that attempt, so the next tick does not run `conntrack -D` against the active device. Only the addresses whose delete failed stay pending and are retried; every other address in that revoke set is retired. While the count is under twelve the observation is one `ISOLATION_POLICY_INVALID` error at stage `apply`, message `conntrack delete pending; serving ruleset verified`, with `member_forwarding_enabled=true`, `safety_status=passed`, and every check passed. The `serving` heartbeat stays.
At twelve durably reserved serving-Apply delete batches, or immediately when `LookPath("conntrack")` fails after preflight, the agent stops serving and attempts the baseline. A crash or earlier failure can consume a reservation before a delete completes. `member_forwarding_enabled` is false, `safety_status` is `failed`, and `forwarding_block_reasons` contains `safety_check_failed`. With a verified baseline, `internet_only` is `failed` with `ISOLATION_POLICY_INVALID` and the detail `Conntrack delete exceeded the retry bound.` or `Conntrack is not installed.`; otherwise it reports `ISOLATION_BASELINE_MISSING`. The reservation count is stored, so a restart does not open a new window. Successful cleanup of the pending set clears the block. Other verification failures still attempt the baseline; the valid-lease generation repair above retains its explicit reporting and safety checks. Startup preflight uses `enforce.RequireConntrack` so a missing binary fails closed before serving begins.
diff --git a/docs/nodes/README.md b/docs/nodes/README.md
index bf319ca38..abb465a1e 100644
--- a/docs/nodes/README.md
+++ b/docs/nodes/README.md
@@ -4,7 +4,7 @@ This document describes the central node management subsystem implemented in:
- `internal/nodes` — Node aggregate views (`ListNodes`, `GetNode`, `ListMemberExits`), state transition tables (`CanTransitionLifecycle`, `CanTransitionProvisioning`, `CheckPublishable`), versioned updates (`UpdateNode`), revocation (`RevokeNode`), tombstoned retirement (`RetireNode`), observation ingestion (`SubmitObservation`), and staleness sweeps (`SweepStaleNodes`). The worker's `nodeJobs` registers the sweep (`NodeJobs` is its injectable wrapper), and `RunNodeSchedule` seeds and maintains its scheduled work.
- `internal/desiredstate` — Per-node desired-state compiler (`Compile`, `CompileTx`, `ReSign`, `GetDesiredState`, `RecompileBatch`), member rate policy delegation (`fup.BuildNodeMemberRatePolicy`), and outbox burst coalescing.
-- `internal/exits` — Exit publication commands (`SetPublication`, `SetPublicationTx`), multi-step operation execution (`ExecuteOperation`), NetBird adapter integration with `external_bindings` idempotency, and NetBird read-back reconciliation (`ReconcileNetBird`).
+- `internal/exits` — Exit publication commands (`SetPublication`, `SetPublicationTx`), multi-step operation execution (`ExecuteOperation`), NetBird adapter integration with `external_bindings` idempotency, and NetBird read-back reconciliation (`ReconcileNetBird`). `ReconcileNetBird` compares observed NetBird routes and groups with `external_bindings` and does not change `publication_intent`. The exits service has the method. Its callers are the exits worker's `Reconcile` and an integration test. That worker is constructed only in the integration test. No production job calls it. Publication read-back stays an operation step.
- `internal/leases` — Serving lease calculation (`ComputeMemberLeaseEnd`, `Renew`), Ed25519 envelope signing (`lease` purpose), and replay-safe persistence (`serving_leases`, `serving_lease_members`).
- `internal/nodes/httpwire` — Admin fleet configuration (`GET`/`PUT /api/v1/admin/fleet-config`, D-065) and the HTTP adapters described in [WIRING.md](WIRING.md).
@@ -349,7 +349,7 @@ where the recommended default `max_offline_lease` is `86400` seconds (24 hours,
- `leases.Service.Renew` delegates directly to `RenewTx` wrapped in `db.InTx`.
4. **Entitlement Grant Operation Node Enforcement ACK and Lookup (Members request 3)**:
- `nodes.ListMemberOperations` and `nodes.GetMemberOperation` resolve member operations across `resource_type = 'member'`, `resource_type = 'entitlement_grant'` (through `entitlement_grants.member_id`), and `resource_type = 'member_device'` (through `member_devices.member_id`).
- - When `nodes.Service.SubmitObservation` receives a ready, safety-passing observation (`applied_config_generation >= desired_config_generation` and `safety_status == passed`), `advanceNodeOperationsOnObservation` transitions the `"nodes"` step on matching `member`, `entitlement_grant` (excluding future grants where `valid_from > now`), and `member_device` operations via `entitlement.TransitionOperation` with persisted `audit_event:` evidence.
+ - When `nodes.Service.SubmitObservation` receives a ready, safety-passing observation (`applied_config_generation >= desired_config_generation` and `safety_status == passed`), `advanceNodeOperationsOnObservation` selects `resource_type = 'node'` only. Member, entitlement-grant, and member-device `"nodes"` steps are `observeOperationTargets` and `completeTargetOperation`: the step succeeds after the capture is finished and no captured target remains `pending`.
5. **D-029 Audit and Operation Conformance**:
- All audit rows written by `nodes`, `desiredstate`, `leases`, and `exits` use `resource = node:` or `exit:`, UUID actors (`actor_type` in `admin|member|node|system`), and results `succeeded|failed|denied`.
- Operation kinds are validated against the generated `api.OperationKind` enum.
@@ -383,20 +383,20 @@ where the recommended default `max_offline_lease` is `86400` seconds (24 hours,
2. **Node State, Operation Read Model, and Audit While Pending**:
- `evaluateObservationEvidence` (`internal/nodes/observations.go`) degrades `nodes.data_health` from `healthy` to `degraded` whenever `ISOLATION_POLICY_INVALID` is present in `report.Errors`, and `publicationForwardingFailure` (`internal/nodes/publication_evidence.go`) returns `"isolation_unconfirmed"`.
- - `advanceNodeOperationsOnObservation` keeps the operation's `"nodes"` step in `status = "pending"` and records:
+ - `completeTargetOperation` keeps the operation's `"nodes"` step in `status = "pending"` while a captured target is still `pending` with `ISOLATION_POLICY_INVALID`, and records:
- `steps.nodes.error_code = "ISOLATION_POLICY_INVALID"`
- `steps.nodes.error_message = "member_forwarding_unconfirmed"` (in the `operations.IsBoundedFailureCause` allowlist so both `operations.Store.Get` for admins and `nodes.GetOperation` / `nodes.GetMemberOperation` / `nodes.ListMemberOperations` surface it, while `operations.Store.Get` for members surfaces `ErrorCode = "ISOLATION_POLICY_INVALID"` with the redacted step failure prompt)
- `steps.nodes.reason = "conntrack_delete_pending"`
- - `observed_refs.nodes_isolation_pending = "report::gen::error:ISOLATION_POLICY_INVALID"`
+ - `observed_refs.nodes_isolation_pending = {"reference": "node_operation_capture:", "observed_at": ""}`
- `SubmitObservation` records `"isolation_error_code": "ISOLATION_POLICY_INVALID"` and `"isolation_error_reason": "conntrack_delete_pending"` on the `node.observation_applied` audit event and appends a correlated `node.revoke_isolation_pending` (`result = "failed"`, `operation_id = `) audit event on the affected resource.
3. **Completion Rules (Follow-up 18 & Follow-up 20, D-070)**:
- `hasIsolationApplyError` (`internal/nodes/publication_evidence.go`) keys strictly on `code == "ISOLATION_POLICY_INVALID"` and `stage == "apply"`.
- **Pending-under-the-bound report (`agent.Decide` with `RevocationPending = true, ConntrackBlocked = false`, D-070)**: the agent reports `errors: [{"code": "ISOLATION_POLICY_INVALID", "stage": "apply", "message": "conntrack delete pending; serving ruleset verified"}]`, `member_forwarding_enabled = true`, `safety_status = "passed"`, and every check `passed`. `isPendingIsolationApplyError` matches this shape and holds the `"nodes"` step in `status = "pending"` (`error_code = "ISOLATION_POLICY_INVALID"`, `error_message = "member_forwarding_unconfirmed"`, `reason = "conntrack_delete_pending"`). The step is **never** completed while the node forwards with a pending conntrack delete.
- - **Real fail-closed report (`agent.Decide` with `ConntrackBlocked = true`, D-070)**: after 12 consecutive `conntrack -D` failures (`"Conntrack delete exceeded the retry bound."`) or when `conntrack` is missing (`"Conntrack is not installed."`), the agent reports `member_forwarding_enabled = false`, `safety_status = "failed"`, `forwarding_block_reasons` containing `"safety_check_failed"`, check `internet_only` **`failed`** with `error_code = "ISOLATION_POLICY_INVALID"` (detail `"Conntrack delete exceeded the retry bound."` or `"Conntrack is not installed."`), and `{code: "ISOLATION_POLICY_INVALID", stage: "apply"}` still present in `errors` (which central `SubmitObservation` projects to `nodes.provisioning_state = "applying"`, `nodes.safety_status = "failed"`, `nodes.data_health = "degraded"`, `nodes.member_forwarding_observed = false`).
- - The `"nodes"` step transitions to `succeeded` (clearing `error_code`, `error_message`, `reason`, and `nodes_isolation_pending`) and appends a correlated `node.revoke_isolation_resolved` (`result = "succeeded"`) audit event only when no other registered, online node that shares an exit group with the member's plan and has a fresh observation within `DefaultStaleTimeout` (`90s` on both `last_observed_at` and `last_seen_at`; r14 H-1) still reports a pending `{code: "ISOLATION_POLICY_INVALID", stage: "apply"}` error while forwarding, and either:
+ - **Real fail-closed report (`agent.Decide` with `ConntrackBlocked = true`, D-070)**: at `maxConntrackDeleteAttempts` (12) durably reserved serving-Apply delete batches (`"Conntrack delete exceeded the retry bound."`), or immediately when `LookPath("conntrack")` fails (`"Conntrack is not installed."`; that miss does not use the reserved count), the agent reports `member_forwarding_enabled = false`, `safety_status = "failed"`, and `forwarding_block_reasons` containing `"safety_check_failed"`. Check `internet_only` is **`failed`** with `error_code = "ISOLATION_POLICY_INVALID"` and the conntrack detail only when the baseline is verified; otherwise that check is `ISOLATION_BASELINE_MISSING`. A missing-baseline block is not `node_failed_closed`, because `isFailClosedIsolationApplyError` returns false when any error is `ISOLATION_BASELINE_MISSING`. `{code: "ISOLATION_POLICY_INVALID", stage: "apply"}` can still be present in `errors` (which central `SubmitObservation` projects to `nodes.provisioning_state = "applying"`, `nodes.safety_status = "failed"`, `nodes.data_health = "degraded"` when the reported health is `healthy`, `nodes.member_forwarding_observed = false`).
+ - The direct updates of `observeOperationTargets` acknowledge, or mark `pending`, only the reporting node's own targets. In the same transaction `refreshUnconfirmedTargets` then checks every target of those operations that is not `acknowledged`, on any node, skipping rows that another transaction holds. A target becomes `unconfirmed`, with the first reason that applies, when its node is revoked or retired (`node_revoked`, `node_retired`), its node's last observation is missing or more than 90 seconds older than this report's `observed_at` (`observation_stale`), its node was never seen or not within 90 seconds (`contact_stale`), or its node is not `online` (`node_offline`). An `unconfirmed` target whose node has none of these returns to `pending`. `completeTargetOperation` transitions the `"nodes"` step to `succeeded` (clearing `error_code`, `error_message`, `reason`, and `nodes_isolation_pending`) after the capture is finished and no captured target remains `pending`, and records `member.nodes_completed`. One reporting node's clean observation does not acknowledge another node's target. A target left `unconfirmed` does not block that success. A per-target `node.revoke_isolation_resolved` audit is written only when the reporting node's own target is acknowledged: with `resolution = "conntrack_delete_succeeded"` for a clean report after a previous isolation error, or with `resolution = "node_failed_closed"` for any report that is not clean (a clean report has central `safety_status = "passed"`, reported `provisioning_state = "ready"` and no isolation apply error). A report that is not clean acknowledges a target only when the report is closed (the fail-closed shape below, or a report that does not forward, has no isolation apply error and passes `internet_only`) and the subject is absent from that target's generation (`subject_present = false`). The reporting node's outcomes are:
1. **Next clean observation (`resolution = "conntrack_delete_succeeded"`)**: the node submits an observation for `applied_config_generation >= desired_config_generation` with `safety_status = "passed"`, `provisioning_state = "ready"`, and no `ISOLATION_POLICY_INVALID` apply error; or
- 2. **Node fails closed (`resolution = "node_failed_closed"`, D-070)**: `isFailClosedIsolationApplyError` matches the agent's real fail-closed shape (`member_forwarding_enabled = false`, `safety_status = "failed"`, `forwarding_block_reasons` contains `"safety_check_failed"`, check `internet_only` failed with `ISOLATION_POLICY_INVALID`, and the `ISOLATION_POLICY_INVALID` apply error in `errors`). The revocation's effect holds because nothing is forwarded on the node, while the node failure is surfaced by `safety_status = "failed"` and `forwarding_block_reasons = ["safety_check_failed"]`.
+ 2. **Node fails closed (`resolution = "node_failed_closed"`, D-070)**: `isFailClosedIsolationApplyError` matches the agent's real fail-closed shape (`member_forwarding_enabled = false`, `safety_status = "failed"`, `forwarding_block_reasons` contains `"safety_check_failed"`, check `internet_only` failed with `ISOLATION_POLICY_INVALID`, and the `ISOLATION_POLICY_INVALID` apply error in `errors`) and returns false when any error is `ISOLATION_BASELINE_MISSING`. The agent sets `internet_only` to `ISOLATION_POLICY_INVALID` only when the baseline is verified and conntrack is blocked; otherwise that check is `ISOLATION_BASELINE_MISSING`, and the block is not `node_failed_closed`. The revocation's effect holds because nothing is forwarded on the node, while the node failure is surfaced by `safety_status = "failed"` and `forwarding_block_reasons = ["safety_check_failed"]`.
### 9.2 Readiness, Serving Lease Contract, and D-067 60s Provisional Expiry Backstop (Members F4-01 / AT09, Isolation Finding 1, Follow-up 20)
@@ -405,13 +405,13 @@ where the recommended default `max_offline_lease` is `86400` seconds (24 hours,
- When `includeMembers` is false on a registered, published exit because `provisioning_state != "ready"` or the incarnation mapping is frozen, `RenewTx` issues the grant-less lease (`members: []`) on `config_generation == desired_config_generation` with `expires_at = issued_at + min(max_offline_seconds, 60s)` (`leases.ProvisionalGrantlessLeaseSeconds = 60`, D-067 central backstop), while keeping `max_offline_seconds` copied from `fleet_config.max_offline_lease_seconds`. A provisioning-ready but frozen registered, published node is also subject to this cap. Other grant-less leases keep their ordinary configured window.
- Once `SubmitObservation` accepts a ready observation (`provisioning_state = "ready"`, `safety_status = "passed"`) on that generation, an eligible later `RenewTx` can issue active member grants on the same `config_generation` when publication, an unfrozen mapping, groups and member eligibility also permit them (`TestLeases_ReadinessGateAndSameGenerationGrantRecovery`).
- **Post-restart readiness flip code path (AT09, AT10–AT13)**:
- - On `fvpn-agent` restart (`node/agent/engine.go:Start`/`Boot`), in the first `(*agent.Engine).Step` (`node/agent/engine.go:572-608`):
- 1. `(*Engine).syncDesired` (`node/agent/sync.go:23-81`) verifies the desired state envelope (`e.desiredOK = true`).
- 2. `(*Engine).syncLease` (`node/agent/sync.go`) can call `POST /api/v1/agent/lease-renewals` when eligible. If provisioning is already ready (which can be preserved across restart and concurrent generation advances), grants still require eligible publication, unfrozen mapping, groups and members. A registered, published node that is applying or frozen gets a grant-less lease capped at 60s. `(*Engine).noteProvisionalSchedule` plans the next renewal after one heartbeat, doubling up to 60s; renewal lead can shorten the slot and Retry-After and ongoing I/O can delay the attempt.
- 3. Still in the first `Step`, `(*Engine).evaluate` (`node/agent/engine.go:610-635`) runs `(*Engine).refreshProbe` (`e.lastProbe.Ran = true`) and `agent.Decide` (`node/agent/decide.go:110-310`), which sets `d.Applied = uint64(in.Desired.ConfigGeneration)`, `d.Provisioning = api.ProvisioningStateReady` (`provisioningOf` at `decide.go:495-506`), and `d.Safety = api.SafetyStatusPassed` (`safetyOf` at `decide.go:454-486`) as soon as baseline checks (`internet_only`, `meter_path`, `tunnel_probe`, `dns_policy`, `policy_signature`, `release_supported`, `storage`) pass—even while `d.Serve == false` with `awaiting_member_grants`.
- 4. In the ordinary non-serving branch, `(*Engine).enforce` attempts the baseline and calls `(*Engine).ackApplied(ctx, d.Applied)` only after successful enforcement; a failed baseline is not confirmed.
- 5. `(*Engine).observe` + `(*Engine).flush` (`node/agent/observe.go:19-44, 217-249`) immediately send the first observation (`e.lastObs.IsZero()` is true on the first step after restart) to `POST /api/v1/agent/observations`.
- 6. Central `(*nodes.Service).SubmitObservation` (`internal/nodes/observations.go:237-295`) verifies `effectiveSafety == api.SafetyStatusPassed` and `applied_config_generation >= desired_config_generation` (`acknowledged == true`), flipping `nodes.provisioning_state = 'ready'` and `nodes.safety_status = 'passed'` **on that first accepted observation**.
+ - On `fvpn-agent` restart, the ordinary path of `(*agent.Engine).Step` (`node/agent/engine.go:682`) is:
+ 1. A grant-less `(*Engine).syncLease` (`node/agent/sync.go:85`, called at `engine.go:749`) runs before `(*Engine).syncDesired` (`node/agent/sync.go:25`, called at `engine.go:758`). `syncDesired` sets `e.desiredOK = true` when the envelope verifies.
+ 2. `syncLease` runs again at `engine.go:770` and can call `POST /api/v1/agent/lease-renewals` when eligible. If provisioning is already ready (which can be preserved across restart and concurrent generation advances), grants still require eligible publication, unfrozen mapping, groups and members. A registered, published node that is applying or frozen gets a grant-less lease capped at 60s. `(*Engine).noteProvisionalSchedule` plans the next renewal after one heartbeat, doubling up to 60s; renewal lead can shorten the slot and Retry-After and ongoing I/O can delay the attempt.
+ 3. `(*Engine).evaluate` (`node/agent/attest.go:71`, called at `engine.go:789`) runs `(*Engine).refreshProbe` and `Decide` (`node/agent/decide.go:114`). `provisioningOf` is `decide.go:521`. `safetyOf` is `decide.go:480` and does not read whether the decision serves.
+ 4. `(*Engine).enforce` (`node/agent/engine.go:1087`, called at `engine.go:790`) attempts the baseline in the ordinary non-serving branch and calls `ackApplied` only after that baseline succeeds; a failed baseline is not confirmed.
+ 5. `(*Engine).renewAppliedLease` (`engine.go:795`) runs before `(*Engine).observe` (`node/agent/observe.go:24`, called at `engine.go:804`) and `(*Engine).flush` (`observe.go:304`, called at `engine.go:805`). The first observation is due when `e.lastObs.IsZero()`.
+ 6. Central `(*nodes.Service).SubmitObservation` gates a non-passed safety status or a failed acknowledgement at `internal/nodes/observations.go:283` and starts the node update at `observations.go:294`.
7. An eligible later lease renewal can return populated member grants once readiness, publication, mapping, group and member eligibility permit them; planned slots do not guarantee completion at a fixed time.
2. **Preserving `provisioning_state = "ready"` Across Concurrent Generation Bumps (Bounded One-Shot Grace, r14 M-2 & D-075)**:
diff --git a/docs/nodes/WIRING.md b/docs/nodes/WIRING.md
index c76169c8e..3415e235f 100644
--- a/docs/nodes/WIRING.md
+++ b/docs/nodes/WIRING.md
@@ -38,7 +38,7 @@ The following transitional 501 handlers are removed:
| `updateNode`, `revokeNode`, `retireNode` | Strong If-Match under transaction locks; metadata 200 or pending operation 202; retirement retains history. |
| `setNodePublication` | All three intents use `exits.Service.SetPublicationTx` inside the HTTP command transaction; 202 returns the pending publication operation. |
| `getDesiredState` | Signed state from DB policy and D-030 entitlement readers, explicit release allowlist, authorized `NodeUpdateIntent`, whole-envelope ETag and 304. Published state includes eligible member policies. |
-| `renewServingLease` | Signed 24-hour default maximum (60 s D-067 backstop when `provisioning_state != 'ready'`), bounded member grants, natural renewal-ID replay without restarting deadlines, and transactional `ObserveEndpointTx` cloned-identity check (D-072). |
+| `renewServingLease` | Signed 24-hour default maximum (60 s D-067 cap for a published, registered node that is not provisioning-ready or whose mapping is frozen, and only when 60 seconds is shorter than the fleet maximum), bounded member grants, natural renewal-ID replay without restarting deadlines, and transactional `ObserveEndpointTx` cloned-identity check (D-072). |
| `submitObservation` | Immutable deduplicated receipt, transactional `ObserveEndpointTx` cloned-identity check (D-072), then `SubmitObservationTx` and `ObserveReportTx` in the same transaction, fleet lock before node lock. |
| `listReleases`, `registerRelease` | Immutable signed manifests; runtime registration requests artifact verification and returns 202. |
| `createUpdateBatch`, `getUpdateBatch`, `retryUpdateBatch` | Immutable all-nodes snapshot, original acceptance replay, cursor targets, new retry attempts. |
@@ -152,7 +152,7 @@ generation and node operation steps still require agent observations (§14.5).
| `node.peer.observe` | Every deduplicated observation enqueues this job. A reported or previously bound ID goes through `EnsureNodePeer` read-back; an absent, unbound ID schedules/coalesces discovery. Baseline readiness and `node_policy` still depend on the latest report's safety and generation ACK. Frozen/revoked incarnations are acknowledged without external work. |
| `node.peer.discover` | D-055 management-only correlation via `DiscoverNodePeer(operation_id, node/incarnation)`, under the deployment lock and claim/identity fence. Confirmed binding and temporary-group cleanup precede the central `peer_id`, audit evidence and `peer_readback` commit. No hostname, address or timing inference. |
| `release.verify` | `VerifyRelease` with `HTTPSFetcher` streams both architecture artifacts with size/hash/origin checks. Fenced terminal verification persists success or failure evidence; failed verification never marks its step successful. |
-| `node.reconcile` | `fleetupdate.Reconcile`, expired-bootstrap erasure, then a delayed successor. |
+| `node.reconcile` | `ReconcileGenerationHolds`, then `fleetupdate.Reconcile`, then expired-bootstrap erasure, then a successor after the full `reconcile_seconds`. |
| `node.resolver_documents.reconcile` | Reads the eligible document through the DNS publisher's reader, pages current signed states with differing references, and recompiles them under the claim/fleet/node locks. Issuance and the new signed state commit together. No external network calls. |
| `node.staleness.sweep` | Uses accepted central receipt age to sweep node status, with stale threshold `min(90s, online_seconds)` and offline threshold `online_seconds`. Its independent claimed chain schedules a delayed successor under the claim and fleet lock; errors return for retry, and scheduling can delay a transition. |
| `fleet.update_created`, `fleet.first_sync_created`, `fleet.update_retry`, `fleet.release_support_changed`, `node.updated` | Reconcile persisted fleet state and seed/coalesce the periodic chain. Desired state is compiled when the authenticated node polls. |
@@ -301,8 +301,8 @@ is not a production HSM or independent anti-rollback appliance.
| `certificate_seconds`, `renewal_overlap_seconds` | Explicit certificate lifetime and nonnegative overlap less than lifetime. |
| `bootstrap_seconds` | Explicit local one-time delivery lifetime, independent of NetBird's external lifetime. |
| `installer_seconds`, `preinstalled_seconds` | Defaults 900 and 604800; configurable. |
-| `authorization_seconds`, `online_seconds`, `stuck_seconds` | Explicit fleet authorization/online/watchdog windows. |
-| `reconcile_seconds`, `fetch_seconds`, `desired_state_seconds` | Explicit reconciliation, HTTP fetch and desired-envelope durations. |
+| `authorization_seconds`, `online_seconds`, `stuck_seconds` | Explicit fleet authorization, online, and watchdog windows. `online_seconds` is the offline threshold of `node.staleness.sweep`; that sweep's stale threshold is `min(90s, online_seconds)`. |
+| `reconcile_seconds`, `fetch_seconds`, `desired_state_seconds` | Explicit reconciliation, HTTP fetch, and desired-envelope durations. `reconcile_seconds` is the full `node.reconcile` successor delay, and `min(reconcile_seconds, 60)` is the bounded cadence shared by the staleness sweep and resolver reconciliation. |
| `release_origins` | Exact HTTPS origins for immutable manifests/artifacts. |
| `egress_probe` | Optional fleet-wide D-058 object: 1–4 unique literal-IP TCP targets (`address`, `port`, `protocol`), optional `timeout_ms` 100–10000 (contract default 2000). Absent by default. Signed with desired state before cache comparison. |
| `dns_resolver_ipv4`, `dns_resolver_ipv6` | Fleet-wide designated resolver address arrays, validated by family; at least one address across the two arrays is required. No production default. |
@@ -659,37 +659,20 @@ matching member/entitlement/device operations in `pending` with
`error_code = "ISOLATION_POLICY_INVALID"`, `error_message = "member_forwarding_unconfirmed"`,
`reason = "conntrack_delete_pending"`, and a correlated `node.revoke_isolation_pending`
(`result = "failed"`) audit event. The `"nodes"` step is never completed while the node forwards
-with a pending conntrack delete. It completes and emits `node.revoke_isolation_resolved`
-(`result = "succeeded"`) only when no other registered, online node that shares an exit group with
-the member's plan and has a fresh observation within `DefaultStaleTimeout` (`90s` on both
-`last_observed_at` and `last_seen_at`, r14 H-1; an enrolled exit with no `exit_groups` row never
-holds the fence) still reports a pending `{code: "ISOLATION_POLICY_INVALID", stage: "apply"}`
-error while forwarding,
-and either (a) a subsequent observation on the target generation clears the
-`ISOLATION_POLICY_INVALID` apply error (`resolution = "conntrack_delete_succeeded"`), or (b) the
-node fails closed with the agent's real fail-closed observation shape (D-070:
-`member_forwarding_enabled = false`, `safety_status = "failed"`, `forwarding_block_reasons`
-contains `"safety_check_failed"`, check `internet_only` **failed** with
-`error_code = "ISOLATION_POLICY_INVALID"` and detail `"Conntrack delete exceeded the retry bound."`
-or `"Conntrack is not installed."`, and the `{code: "ISOLATION_POLICY_INVALID", stage: "apply"}`
-error still present in `errors`; `resolution = "node_failed_closed"`).
+with a pending conntrack delete. The `"nodes"` step succeeds after the capture is finished and no captured target remains `pending`. One clean report cannot settle another fresh `pending` target. Success may include `unconfirmed` targets. A per-target `node.revoke_isolation_resolved` audit (`result = "succeeded"`) is written only when the reporting node's own target is acknowledged: after a previous isolation error on a clean report (`resolution = "conntrack_delete_succeeded"`), or on any report that is not clean (`resolution = "node_failed_closed"`); a clean report has central `safety_status = "passed"`, reported `provisioning_state = "ready"` and no isolation apply error. A report that is not clean acknowledges a target only when the report is closed (the fail-closed shape below, or a report that does not forward, has no isolation apply error and passes `internet_only`) and the subject is absent from that target's generation (`subject_present = false`). The fail-closed shape is `member_forwarding_enabled = false`, `safety_status = "failed"`, `forwarding_block_reasons` contains `"safety_check_failed"`, and the `ISOLATION_POLICY_INVALID` apply error still present in `errors`. With a verified baseline, `internet_only` is failed with `ISOLATION_POLICY_INVALID` and detail `"Conntrack delete exceeded the retry bound."` or `"Conntrack is not installed."`. Without a verified baseline the code is `ISOLATION_BASELINE_MISSING`, and `isFailClosedIsolationApplyError` rejects that report.
For serving leases (`POST /api/v1/agent/lease-renewals`, `leases.Service.RenewTx`), member
grants are included only when `lifecycle_state == 'registered'`,
-`publication_intent == 'published'`, `provisioning_state == 'ready'`, and `len(groupIDs) > 0`.
-When `includeMembers` is false on a registered, published exit because `provisioning_state` is
-not `'ready'`, `RenewTx` issues the grant-less lease (`members: []`) on
-`config_generation == desired_config_generation` with `expires_at = issued_at + min(max_offline_seconds, 60s)`
-(`leases.ProvisionalGrantlessLeaseSeconds = 60`, D-067 central backstop), while keeping
-`max_offline_seconds` copied from `fleet_config.max_offline_lease_seconds`. Ready nodes
-(`provisioning_state == 'ready'`) are never shortened and keep the configured
-`max_offline_lease_seconds` window (D-065). Once the node's first ready observation after
-restart is ingested by `nodes.Service.SubmitObservation` (`internal/nodes/observations.go:237-295`,
-triggered on the first `(*agent.Engine).Step` via `evaluate`/`Decide` -> `enforce`/`ackApplied` ->
-`observe`/`flush` in `node/agent/engine.go:572-796`, `node/agent/decide.go:253-260,454-506`, and
-`node/agent/observe.go:19-44,217-249`), `nodes.provisioning_state` flips to `'ready'` immediately
-on that first accepted observation, and the next `RenewTx` carries the member grants on the same
-`config_generation`. Once an incarnation has reached `provisioning_state = 'ready'`, at most
+`publication_intent == 'published'`, `provisioning_state == 'ready'`, `!mapping_frozen`, and `len(groupIDs) > 0`.
+A published, registered node that is not provisioning-ready, or whose mapping is frozen, gets
+`members: []` on `config_generation == desired_config_generation` and
+`expires_at = issued_at + min(max_offline_seconds, 60s)`
+(`leases.ProvisionalGrantlessLeaseSeconds = 60`, D-067 central backstop) when that cap is shorter
+than the fleet maximum, while `max_offline_seconds` stays copied from `fleet_config.max_offline_lease_seconds`.
+A ready unfrozen node keeps the configured `max_offline_lease_seconds` window, including when it has no groups (D-065).
+`includeMembers` can still yield an empty entitlement list. Once the node's first ready observation after
+restart is ingested by `nodes.Service.SubmitObservation` (the acknowledgement gate is `internal/nodes/observations.go:283` and the node update starts at `observations.go:294`; the ordinary `(*agent.Engine).Step` path is `node/agent/engine.go:682`, with `Decide` at `node/agent/decide.go:114`, `provisioningOf` at `decide.go:521`, `safetyOf` at `decide.go:480`, `observe` at `node/agent/observe.go:24`, and `flush` at `observe.go:304`), a later `RenewTx` carries member grants on the same
+`config_generation` only when publication, an unfrozen mapping, groups, and entitled members allow them. Once an incarnation has reached `provisioning_state = 'ready'`, at most
one in-flight observation for an already-applied generation with `safety_status = 'passed'`
preserves `provisioning_state = 'ready'` when central concurrently advances
`desired_config_generation` (recorded via `stale_generation_grace` on `node.observation_applied`,
diff --git a/docs/ops/README.md b/docs/ops/README.md
index deafcb5ef..02488f471 100644
--- a/docs/ops/README.md
+++ b/docs/ops/README.md
@@ -4,8 +4,8 @@
**Current delivery:** The [delivery guide](../DELIVERY.en.md) covers current capabilities, operating entrypoints and verification scope. The follow-up snapshots below retain their historical scope and outcomes.
-**Archived cut:** [follow-up 54](../handover/follow-up-54.md), #533, #534, #535 and #536 at `2f5159f3`; source-backed changes, verification boundaries and carried gaps.
-**Earlier archived cut:** [follow-up 53](../handover/follow-up-53.md), #529, #528, #530, #531 and #532 at `e055143e`; source-backed changes, verification boundaries and carried gaps.
+**Archived cut:** [follow-up 55](../handover/follow-up-55.md), #537 and #538 at `f57183f1`; source-backed changes, verification boundaries and carried gaps.
+**Earlier archived cut:** [follow-up 54](../handover/follow-up-54.md), #533, #534, #535 and #536 at `2f5159f3`; source-backed changes, verification boundaries and carried gaps.
## Follow-up 49 acceptance snapshot (2026-11-05 EST)
@@ -734,7 +734,7 @@ Operational runbooks, deployment guides, parameter calibration references, and d
- [**Central PostgreSQL Backups, PITR & Post-Restore Reconciliation (`backups.md`)**](backups.md) — Pinned `pgBackRest 2.60.0` configuration, continuous WAL archiving (`archive_timeout = 300s`), systemd schedules, repository encryption & vault separation (`§16.2`, `§17.2`), monitoring queries/log lines, `deploy/backup/restore-pitr.sh` / `deploy/backup/verify.sh` / `deploy/backup/post-restore-checklist.sql`, ordered post-restore reconciliation protocol (`§17.3`–`§17.4`), and automated CI drill evidence ([`backups/`](backups/)).
- [**Backup and Restore Drill Record (`../handover/restore-drill.md`)**](../handover/restore-drill.md) — `AT30` point-in-time recovery checklist, Wave 4 measured RPO/RTO evidence (including `#221` live `AT30` second half and `#242` live **`AT30` `passed`** run `42396951-2d9a-49f4-95c3-45f33d9519d5`: `7.17 s` isolated `T0` restore, `112.35 s` protocol RTO, `121.88 s` total outage RTO, `90.301 s` pre-replay DB RPO, `0 s` / `0 B` post-replay service usage RPO, `SECOPS-18`, `SECOPS-19`, and `SECOPS-05` closed, `SECOPS-21` remains open after `#245`), `fvpn-usage-admin` ledger freeze/recovery/replay, Stripe + NetBird state reconciliation, and `D-076` / `D-077` / `D-081` (`#227`, `#238`, `#242`, `#244`) post-`complete-recovery` step to list fenced devices via `GET /api/v1/admin/devices?authorization_unconfirmed=true` (`00188_device_authorization_fences.sql`) and re-authorize explicitly via `POST /api/v1/admin/members/{member_id}/devices/{device_id}/authorize` (`409 DEVICE_LIMIT_REACHED` per `D-081`) where the member is entitled.
- [**Parameter Calibration Guide (`../handover/calibration.md`)**](../handover/calibration.md) — Business and engineering parameter matrix (`none`, `test only`, `proposed`), spec constraints, Fair-Use serving-exit recompilation and `fair_use.applying` convergence (`#222`), serving lease ceiling (`max_offline_lease_seconds` `60..86400`, `D-065`), `D-074` (`#224`) `node.publish` retry budget (`worker_attempts = 10`, `~4.3–8.5 minutes`), updater `probe_peer` bounds, whole-ruleset nftables foreign-chain verification (`#220`, `#241` `D-079` `loopback_scoped` rule in `127.0.0.0/8` and `::1`), per-class HTTP rate limiters (`D-060`, `browser_rate` `10/s` burst `30` confirmed in `#233`, `agent_rate` `5/s` burst `10`, and `D-078` `#229` on `429` with `Retry-After`), and decision ownership (`Ted` vs. `core team`).
-- [**Operator Guide (`../handover/operator-guide.md`)**](../handover/operator-guide.md) — Daily/weekly checklists, reading operations (worker contention is not failure `#205`/`#208`), audit trails (transition-only discovery denial audits on `fleet_config`), and current OpenAPI `1.11.0` revision 15 contract status (`50` operations; all 50 are wired on `main` after `revokeMemberGrant` registration in #297, including `listAdminDevices` and `authorizeMemberDevice` in `#238`/`#244` (`D-077`, `D-081`), `MemberDevice.authorization_unconfirmed` always emitted on `GET /api/v1/member/devices` (`D-077`, `D-076`), `NodeDetail.usage_outbox` (`#243`, `00189_node_incarnation_usage_outbox.sql`, `SECOPS-19` closed, with `ETag` participation), `listNodeIncarnations` `#200`, `Enrollment.token_sha256` `#195`, `awaiting_member_grants` / `ErrorCode.AWAITING_MEMBER_GRANTS` `D-071` `#213`/`#216`/`#223`/`#238`/`#243`, `NodeDetail.identity_conflict` `D-072` `#211`/`#213`/`#217`/`#223`/`#235` with `ETag` participation, and the original 12 node enforcement verification reasons plus `TC_FOREIGN_FILTER` in `ErrorCode` (#261)), node lifecycle (`#239` `fvpn-node-install` `docs/node/install.md`, `D-055`, `D-057`, `D-058`, `D-061`, `D-067` provisional grant-less lease renewal and central `60 s` expiry backstop `#193`/`#198`/`#206`/`#216`, `D-070` revoke `nodes` step outcomes `conntrack_delete_pending`/`conntrack_delete_succeeded`/`node_failed_closed` `#206` with `#217` exit-group + `90 s` freshness fence, `D-075` `#228` one-shot stale-generation grace column `node_incarnations.stale_generation_grace_at` (`00187_identity_roaming_and_readiness_grace.sql`), `D-072`/`D-073` cloned-identity conflict runbook `#211`/`#213`/`#217`/`#223`/`#228` with durable roaming candidate in `node_identity_endpoints`, `D-074` `#224` gated `node.publish` waiting state, `#225`/`#232` pure-read `fvpn-agent usage snapshot -config /etc/vpn-node/agent-run.json [-json]` and `ledger_epoch` `null` until `ApplyCheckpoint`, `SECOPS-19` `#226`/`#243` `ObservationReport.usage` and `NodeDetail.usage_outbox`, `#220`/`#241` `D-079` whole-ruleset nftables read-back and `loopback_scoped` rule, 12-attempt `conntrack -D` fail-closed bound `#193`/`#202`, `empty_exception` vs. `populated_verified` publication attachment basis, `data_path_probe` reasons, and `ISOLATION_POLICY_INVALID` on pending `conntrack -D`), fleet offline lease ceiling (`GET`/`PUT /api/v1/admin/fleet-config`, `D-065`, `#176`, `#179`, `60..86400` s, `fleet_config.update` audit, and lease renewal timing), fleet update batches (`D-068` `#189`: `needs_attention` / `unconfirmed` / null-only pre-result seeding / current-job-only attribution / incarnation-wide accepted-result authority / `update_observation.unexpected_release`) and `D-053` / amended `D-064` health attestation with `probe_omitted` evidence, rollback recovery `blankHealth` / `probe_omission` pruning (`#192`), and separate candidate/restored health (`#177`, `#186`, `#212`), threat-feed and resolver-document troubleshooting (`D-054`, `D-056`), ledger freeze/adjustments (`#214`, `#221`, `#242`), member suspension, `D-076`/`D-077`/`D-081` (`#227`, `#238`, `#242`, `#244`) post-restore device authorization fences (`device_authorization_fences`, `00188_device_authorization_fences.sql`, `GET /api/v1/admin/devices?authorization_unconfirmed=true`, `POST /api/v1/admin/members/{member_id}/devices/{device_id}/authorize`), Fair-Use enforcement reach and `fair_use.applying` convergence (`#222`), identity continuity and duplicate pre-checks, per-class rate limiters (`#190`, `#215` `urn:fvpn:node:` URI SAN mTLS key with `sha256(leaf.Raw)` fallback, full-table LRU tail walk, `/48` anonymous resident cap `min(max_rate_principals/2, 64)` (#252), zero-width `::` parse rule, single-walk body identity, and `D-078` `#229`/`#233` confirming `browser_rate` `10/s` burst `30`), `trusted_proxies`, 60-peer admission and counted-traffic figures (qualified as shared development host, not candidate hardware, `#178`, `#203`), request-body limits (`D-060`, `#169`, `#174`, `#178`, `#182`, `#190`, `#203`, `#215`, `SECOPS-15` closed), and key rotation.
+- [**Operator Guide (`../handover/operator-guide.md`)**](../handover/operator-guide.md) — Daily/weekly checklists, reading operations (worker contention is not failure `#205`/`#208`), audit trails (transition-only discovery denial audits on `fleet_config`), and current OpenAPI `1.11.0` revision 15 contract status (`50` operations; all 50 are wired on `main` after `revokeMemberGrant` registration in #297, including `listAdminDevices` and `authorizeMemberDevice` in `#238`/`#244` (`D-077`, `D-081`), `MemberDevice.authorization_unconfirmed` always emitted on `GET /api/v1/member/devices` (`D-077`, `D-076`), `NodeDetail.usage_outbox` (`#243`, `00189_node_incarnation_usage_outbox.sql`, `SECOPS-19` closed, with `ETag` participation), `listNodeIncarnations` `#200`, `Enrollment.token_sha256` `#195`, `awaiting_member_grants` / `ErrorCode.AWAITING_MEMBER_GRANTS` `D-071` `#213`/`#216`/`#223`/`#238`/`#243`, `NodeDetail.identity_conflict` `D-072` `#211`/`#213`/`#217`/`#223`/`#235` with `ETag` participation, and the original 12 node enforcement verification reasons plus `TC_FOREIGN_FILTER` in `ErrorCode` (#261)), node lifecycle (`#239` `fvpn-node-install` `docs/node/install.md`, `D-055`, `D-057`, `D-058`, `D-061`, `D-067` provisional grant-less lease renewal and central `60 s` expiry backstop `#193`/`#198`/`#206`/`#216`, `D-070` revoke `nodes` step `#206`, whose reason is set to `conntrack_delete_pending` when, after the capture is finished, an `ISOLATION_POLICY_INVALID` target is `pending` while the step has not succeeded and the operation is not superseded, whose per-target `node.revoke_isolation_resolved` resolutions are `conntrack_delete_succeeded`/`node_failed_closed`, and which succeeds only after a finished capture with no remaining `pending` target ([publishing exits](../handover/operator-guide.md#33-publishing-disabling-and-unpublishing-exits-put-apiv1adminnodesnode_idpublication)), `D-075` `#228` one-shot stale-generation grace column `node_incarnations.stale_generation_grace_at` (`00187_identity_roaming_and_readiness_grace.sql`), `D-072`/`D-073` cloned-identity conflict runbook `#211`/`#213`/`#217`/`#223`/`#228` with durable roaming candidate in `node_identity_endpoints`, `D-074` `#224` gated `node.publish` waiting state, `#225`/`#232` pure-read `fvpn-agent usage snapshot -config /etc/vpn-node/agent-run.json [-json]` and `ledger_epoch` `null` until `ApplyCheckpoint`, `SECOPS-19` `#226`/`#243` `ObservationReport.usage` and `NodeDetail.usage_outbox`, `#220`/`#241` `D-079` whole-ruleset nftables read-back and `loopback_scoped` rule, 12-attempt `conntrack -D` fail-closed bound `#193`/`#202`, `empty_exception` vs. `populated_verified` publication attachment basis, `data_path_probe` reasons, and `ISOLATION_POLICY_INVALID` on pending `conntrack -D`), fleet offline lease ceiling (`GET`/`PUT /api/v1/admin/fleet-config`, `D-065`, `#176`, `#179`, `60..86400` s, `fleet_config.update` audit, and lease renewal timing), fleet update batches (`D-068` `#189`: `needs_attention` / `unconfirmed` / null-only pre-result seeding / current-job-only attribution / incarnation-wide accepted-result authority / `update_observation.unexpected_release`) and `D-053` / amended `D-064` health attestation with `probe_omitted` evidence, rollback recovery `blankHealth` / `probe_omission` pruning (`#192`), and separate candidate/restored health (`#177`, `#186`, `#212`), threat-feed and resolver-document troubleshooting (`D-054`, `D-056`), ledger freeze/adjustments (`#214`, `#221`, `#242`), member suspension, `D-076`/`D-077`/`D-081` (`#227`, `#238`, `#242`, `#244`) post-restore device authorization fences (`device_authorization_fences`, `00188_device_authorization_fences.sql`, `GET /api/v1/admin/devices?authorization_unconfirmed=true`, `POST /api/v1/admin/members/{member_id}/devices/{device_id}/authorize`), Fair-Use enforcement reach and `fair_use.applying` convergence (`#222`), identity continuity and duplicate pre-checks, per-class rate limiters (`#190`, `#215` `urn:fvpn:node:` URI SAN mTLS key with `sha256(leaf.Raw)` fallback, full-table LRU tail walk, `/48` anonymous resident cap `min(max_rate_principals/2, 64)` (#252), zero-width `::` parse rule, single-walk body identity, and `D-078` `#229`/`#233` confirming `browser_rate` `10/s` burst `30`), `trusted_proxies`, 60-peer admission and counted-traffic figures (qualified as shared development host, not candidate hardware, `#178`, `#203`), request-body limits (`D-060`, `#169`, `#174`, `#178`, `#182`, `#190`, `#203`, `#215`, `SECOPS-15` closed), and key rotation.
- [**Member Guide (`../handover/member-guide.md`)**](../handover/member-guide.md) — Bilingual (`zh-TW` / `en`) guide covering candidate client versions (`needs operator run`), explicit exit selection (`netbird networks select `), and automatic central device authorization (`D-052`) for Windows, macOS, iOS, and Android, manual verification scripts (`AT01`, `AT09`, `AT21`, `AT29`, including `#231` members follow-up 6 `AT02` `42/0` strict `fvmb0` ingress injection and `AT09` `36.976 s` / `41.695 s` provisional window, `#240` devstack `29/0/0`, and `#242` `AT30` passed live), device limits, self-service revocation (`AT02`, `AT04`), and `D-076`/`D-077` (`#227`, `#238`, `#244`) post-restore `pending` state with `authorization_unconfirmed: true` until operator re-authorization, usage (`IPv6Block` mode) & FUP display (`AT17`–`AT19`), DNS behaviour and DoT/DoQ vs. DoH limits, and support flow.
- [**Adversarial Review Archive (`../reviews/README.md`)**](../reviews/README.md) — Self-contained archive of Wave 3 and Wave 4 adversarial review reports (`r3-d055-review` through `r15-d072-d075-review`), invariants that held, findings with status and closing PRs against `main`, and proof tests.
@@ -749,9 +749,9 @@ Operational runbooks, deployment guides, parameter calibration references, and d
## Dated Acceptance Evidence
-[Security/operations evidence](../e2e/at/secops/README.md) ([`summary.md`](../e2e/at/secops/summary.md), [`requests.md`](../e2e/at/secops/requests.md), [`AT30.md`](../e2e/at/secops/AT30.md), [`restore-reconcile.md`](../e2e/at/secops/restore-reconcile.md)) retains the follow-up 2 isolated physical PITR across ledger, grant and audit boundaries (`history/follow-up-6/pitr.json`). Follow-up 4 ([`limiter.md`](../e2e/at/secops/limiter.md), [`publication.md`](../e2e/at/secops/publication.md)), follow-up 5 (`#165`, [`history/follow-up-5/counted-flow.json`](../e2e/at/secops/history/follow-up-5/counted-flow.json), [`history/follow-up-5/post-revoke.json`](../e2e/at/secops/history/follow-up-5/post-revoke.json), [`history/follow-up-5/deadlines.json`](../e2e/at/secops/history/follow-up-5/deadlines.json)), follow-up 6 (`#178`), follow-up 7 (`#203`, run `ab96acac-8713-485a-9c29-88f20110e2e5`, [`capacity.json`](../e2e/at/secops/capacity.json), [`deadlines.json`](../e2e/at/secops/deadlines.json), [`limiter.json`](../e2e/at/secops/limiter.json), [`node-telemetry.json`](../e2e/at/secops/node-telemetry.json), [`gateway-inventory.json`](../e2e/at/secops/gateway-inventory.json), [`secret-scan.json`](../e2e/at/secops/secret-scan.json)), follow-up 8 (`#221`, run `0f5fb60d-f6a7-45c6-8ebe-175e0a480bd8`), and follow-up 9 (`#242`, run `42396951-2d9a-49f4-95c3-45f33d9519d5`, [`AT30.md`](../e2e/at/secops/AT30.md), [`restore-reconcile.md`](../e2e/at/secops/restore-reconcile.md), [`restore-reconcile.json`](../e2e/at/secops/restore-reconcile.json)) prove per-class limiter boundaries, trusted-proxy principal isolation (`gateway-principals`), and post-`#169`/`#190` cross-class limiter isolation (`120` anonymous webhook requests -> `110 × 429` while admin and mTLS lease requests return `200`), the `8 MiB` `SubmitUsageBatch` body boundary (`8,388,607` / `8,388,608` / `8,388,609` B -> `200` / `200` / `413`, `SECOPS-15` closed), live zero-binding publication (`SECOPS-11`, with `#160` adding the `empty_exception` vs. `populated_verified` attachment basis gate), live counted serving flow (`SECOPS-09` closed), post-revoke coherence (`F3-02` passing), `AT29` deadline/watchdog fault cutover through the `D-065` fleet API (`GET`/`PUT /api/v1/admin/fleet-config` `428`/`412`/replay/audit and finite grace `FVPN_E2E_GRACE_SECONDS=90`), **`SECOPS-10` 60-peer native admission and counted traffic (`20×3` = `60` peers, `904.360 s` sequential and `300.386 s` / `296.017 s` concurrent `ScaleNativeMembers` wall, `60/60` counted peers, `5,960/5,960` HTTP `200` device reads with `0` wrong-member responses, and `82` node telemetry samples at `5 s` cadence — measured on the shared development host, not candidate hardware)**, `SECOPS-16` secret-scan verification (`0` leaks across ordinary streams, `60` root-owned `0600` pre-delete login files classified under `D-066`), and **live `AT30` passed (`#242` run `42396951-2d9a-49f4-95c3-45f33d9519d5`: `7.17 s` isolated `T0` restore, `6/6` checklist sections, `120.12 s` fail-safe negative, 5-step `fvpn-usage-admin` protocol replaying `3/3` retained-node events `78833` B + `1` post-`T1` event `10160` B with `0` lost / `0` double-counted / `0` gaps, `90.301 s` pre-replay DB RPO, `0 s` / `0 B` post-replay service usage RPO, `112.35 s` protocol RTO, `121.88 s` total outage RTO, `SECOPS-19` observation payload and local snapshot `3` unacked / `"2352"` B -> `0`, `SECOPS-18` `D-076` fence on `peerM2D2` `01a18f9b-a2a0-728f-8482-b08cc9b1a3ee` + `AuthorizeDevice` re-grant + 2 negatives, `SECOPS-05` closed, and `SECOPS-21` remains open after `#245`)**. **`AT30` is `passed`** (`1 pass / 4 blocked / 0 fail` across `AT28`–`AT32`: `AT29` recorded as blocked on `SECOPS-17` `past_due` payment truth (lab fix merged in `#240`; acceptance record remains dated), established TCP/UDP transports, and `needs operator run` guest clock rollback; `AT31` blocked on forced-relay control and candidate hardware; `AT32` blocked on bulk final per-stream attribution and physical origins/platforms). [Updates follow-up 4](../e2e/at/updates/history/follow-up-9/follow-up-4.md) passes `AT23`, `AT24`, `AT25`, `AT26`, and `AT27` on `main`, [updates follow-up 5 (`#158`)](../e2e/at/updates/history/follow-up-5/summary.md) ([`pre-result.md`](../e2e/at/updates/pre-result.md), [`probe-issuance.md`](../e2e/at/updates/probe-issuance.md)) verifies `AT23`, `AT25`, and `AT26` plus pre-result observation seeding and probe-issuance revalidation, [updates follow-up 6 (`#177`)](../e2e/at/updates/history/follow-up-6/summary.md) and [follow-up 7 (`#186`)](../e2e/at/updates/history/follow-up-7/summary.md) ([`requests.md`](../e2e/at/updates/requests.md)) pass `AT24`, `AT26` (`rolled_back` with revision 7 evidence), and `AT27` and resolve `F5-01` under `F6-02` and `D-068` (`#189`), and [updates follow-up 8 (`#212`, previously reported run `d50da75fd14fc72c`)](../e2e/at/updates/history/follow-up-8/summary.md) (the archive lists a different run) on a fresh `#204` stack (`w4-updates` / `42000`, after devstack follow-up 13 `#204` exported `Stack.ProbePeer`, `Stack.ProbeWatchContainer`, and `Stack.WaitForProbeDatagram`, resolving `F5-02`) passes all five `AT23`, `AT24`, `AT25`, `AT26`, and `AT27` in one live run; physical `arm64` and published member traffic during updates remain unmeasured. Read these records with their source revision; later code merges alone do not change acceptance verdicts.
+[Security/operations follow-up 6 evidence](../e2e/at/secops/history/follow-up-6/README.md) ([`summary.md`](../e2e/at/secops/history/follow-up-6/summary.md), [`requests.md`](../e2e/at/secops/history/follow-up-6/requests.md), [`AT30.md`](../e2e/at/secops/history/follow-up-6/AT30.md)) keeps the follow-up 2 isolated physical PITR across ledger, grant and audit boundaries in [`pitr.md`](../e2e/at/secops/history/follow-up-6/pitr.md) (`history/follow-up-6/pitr.json`). Follow-up 4 ([`followup4-publication.json`](../e2e/at/secops/history/follow-up-9/followup4-publication.json)), follow-up 5 (`#165`, [`history/follow-up-5/counted-flow.json`](../e2e/at/secops/history/follow-up-5/counted-flow.json), [`history/follow-up-5/post-revoke.json`](../e2e/at/secops/history/follow-up-5/post-revoke.json), [`history/follow-up-5/deadlines.json`](../e2e/at/secops/history/follow-up-5/deadlines.json)), follow-up 6 (`#178`), follow-up 7 (`#203`, run `ab96acac-8713-485a-9c29-88f20110e2e5`, [`limiter.md`](../e2e/at/secops/limiter.md), [`capacity.json`](../e2e/at/secops/capacity.json), [`deadlines.json`](../e2e/at/secops/deadlines.json), [`limiter.json`](../e2e/at/secops/limiter.json), [`node-telemetry.json`](../e2e/at/secops/node-telemetry.json), [`gateway-inventory.json`](../e2e/at/secops/gateway-inventory.json), [`secret-scan.json`](../e2e/at/secops/history/follow-up-7/secret-scan.json)), follow-up 8 (`#221`, run `0f5fb60d-f6a7-45c6-8ebe-175e0a480bd8`), and follow-up 9 (run `42396951-2d9a-49f4-95c3-45f33d9519d5`, [`AT30.md`](../e2e/at/secops/history/follow-up-9/AT30.md), [`restore-reconcile.md`](../e2e/at/secops/history/follow-up-9/restore-reconcile.md), [`restore-reconcile.json`](../e2e/at/secops/history/follow-up-9/restore-reconcile.json)) prove per-class limiter boundaries, trusted-proxy principal isolation (`gateway-principals`), and post-`#169`/`#190` cross-class limiter isolation (`120` anonymous webhook requests -> `110 × 429` while admin and mTLS lease requests return `200`), the `8 MiB` `SubmitUsageBatch` body boundary (`8,388,607` / `8,388,608` / `8,388,609` B -> `200` / `200` / `413`, `SECOPS-15` closed), live zero-binding publication (`SECOPS-11`, with `#160` adding the `empty_exception` vs. `populated_verified` attachment basis gate), live counted serving flow (`SECOPS-09` closed), post-revoke coherence (`F3-02` passing), `AT29` deadline/watchdog fault cutover through the `D-065` fleet API (`GET`/`PUT /api/v1/admin/fleet-config` `428`/`412`/replay/audit and finite grace `FVPN_E2E_GRACE_SECONDS=90`), **`SECOPS-10` 60-peer native admission and counted traffic (`20×3` = `60` peers, `904.360 s` sequential and `300.386 s` / `296.017 s` concurrent `ScaleNativeMembers` wall, `60/60` counted peers, `5,960/5,960` HTTP `200` device reads with `0` wrong-member responses, and `82` node telemetry samples at `5 s` cadence — measured on the shared development host, not candidate hardware)**, `SECOPS-16` secret-scan verification (`0` leaks across ordinary streams, `60` root-owned `0600` pre-delete login files classified under `D-066`), and **live `AT30` passed (run `42396951-2d9a-49f4-95c3-45f33d9519d5`: `7.17 s` isolated `T0` restore, `6/6` checklist sections, `120.12 s` fail-safe negative, 5-step `fvpn-usage-admin` protocol replaying `3/3` retained-node events `78833` B + `1` post-`T1` event `10160` B with `0` lost / `0` double-counted / `0` gaps, `90.301 s` pre-replay DB RPO, `0 s` / `0 B` post-replay service usage RPO, `112.35 s` protocol RTO, `121.88 s` total outage RTO, `SECOPS-19` observation payload and local snapshot `3` unacked / `"2352"` B -> `0`, `SECOPS-18` `D-076` fence on `peerM2D2` `01a18f9b-a2a0-728f-8482-b08cc9b1a3ee` + `AuthorizeDevice` re-grant + 2 negatives, `SECOPS-05` closed, and `SECOPS-21` remains open after `#245`)**. **`AT30` is `passed`** (`1 pass / 4 blocked / 0 fail` across `AT28`–`AT32`: `AT29` recorded as blocked on `SECOPS-17` `past_due` payment truth (lab fix merged in `#240`; acceptance record remains dated), established TCP/UDP transports, and `needs operator run` guest clock rollback; `AT31` blocked on forced-relay control and candidate hardware; `AT32` blocked on bulk final per-stream attribution and physical origins/platforms). [Updates follow-up 4](../e2e/at/updates/history/follow-up-4/summary.md) passes `AT23`, `AT24`, `AT25`, `AT26`, and `AT27` on `main`, [updates follow-up 5](../e2e/at/updates/history/follow-up-5/summary.md) ([`pre-result.md`](../e2e/at/updates/history/follow-up-5/pre-result.md), [`probe-issuance.md`](../e2e/at/updates/history/follow-up-5/probe-issuance.md)) verifies `AT23`, `AT25`, and `AT26` plus pre-result observation seeding and probe-issuance revalidation, [updates follow-up 6](../e2e/at/updates/history/follow-up-6/summary.md) ([`requests.md`](../e2e/at/updates/history/follow-up-6/requests.md)) records the original follow-up 4 checks passing and the extended `AT24` and `AT27` blocked, with `AT26` pass and `F5-01` resolved, and [follow-up 7 (`#186`)](../e2e/at/updates/history/follow-up-7/summary.md) ([`requests.md`](../e2e/at/updates/history/follow-up-7/requests.md)) records fresh `AT24`, `AT26`, and `AT27` pass and `F6-02` resolved, and [updates follow-up 8 (`#212`, previously reported run `d50da75fd14fc72c`)](../e2e/at/updates/history/follow-up-8/summary.md) (the archive lists a different run) on a fresh `#204` stack (`w4-updates` / `42000`, after devstack follow-up 13 `#204` exported `Stack.ProbePeer`, `Stack.ProbeWatchContainer`, and `Stack.WaitForProbeDatagram`, resolving `F5-02`) passes all five `AT23`, `AT24`, `AT25`, `AT26`, and `AT27` in one live run; physical `arm64` and published member traffic during updates remain unmeasured. Read these records with their source revision; later code merges alone do not change acceptance verdicts.
-[Enrollment follow-up 9 runbook](../e2e/at/enrollment/RUN.md) ([`summary.md`](../e2e/at/enrollment/summary.md), [`requests.md`](../e2e/at/enrollment/requests.md), [`AT06.md`](../e2e/at/enrollment/AT06.md), [`AT07.md`](../e2e/at/enrollment/AT07.md)); earlier enrollment acceptance (`#173`, `#187`, `#210`, `#229`) runs on stack `w4-enroll` / port base `12000` (`6000 + 6000*n`, `n = 0..9`), passed `95/95` subchecks in follow-up 1 (`#187`) and `105/105` (`46/46` in `AT06`, `59/59` in `AT07`, run `20261030T203711Z`) in follow-up 2 (`#210`, verifying `ENR-02` `Enrollment.token_sha256` and `ENR-03` `listNodeIncarnations`), and in follow-up 3 (`#229`, run `60a7102e-b824-4927-a576-62033f458157`) closed `ENR-08` on the production `nodes.Service` caller (`ObserveEndpointTx` + `NodeDetail.identity_conflict` ETag participation) and recorded `AT06` as `254 pass / 1 blocked / 0 fail` (the one blocked item is `rate_limit_review`: browser-class `429`s on `GET /api/v1/admin/audit-events` and `GET /api/v1/admin/nodes/{id}/incarnations` under `BrowserRate` `10/s` burst `30`, retried after `Retry-After` per `D-078`; in control follow-up 21 `#233`, [`docs/control/AUTH.md`](../control/AUTH.md#browser-class-calibration) and `TestFollowup21_BrowserClassCalibration` confirmed `browser_rate` stays `10/s`, burst `30`) and `AT07` as `15 pass / 7 blocked / 0 fail` (`w5-node-installer` `#239` subsequently delivered `fvpn-node-install`, `deploy/node/install.sh`, and `deploy/node/systemd/` in [`docs/node/install.md`](../node/install.md)). [Isolation acceptance follow-up 3 (`#207`, previously reported run `c359fa37-61e0-4469-9f73-5a1e60949c3b`)](../e2e/at/isolation/history/follow-up-3/summary.md) and [follow-up 4 (`#237`, run `fa0074cc-3b1a-403d-b8c2-3a3439fe2b7e`)](../e2e/at/isolation/history/follow-up-4/summary.md) ([follow-up 4 run record](../e2e/at/isolation/history/follow-up-4/AT10.json); the follow-up 3 archive lists a different run) ([`README.md`](../e2e/at/isolation/README.md), [`requests.md`](../e2e/at/isolation/requests.md), [`AT10.md`](../e2e/at/isolation/AT10.md), [`AT11.md`](../e2e/at/isolation/AT11.md), [`AT12.md`](../e2e/at/isolation/AT12.md), [`AT13.md`](../e2e/at/isolation/AT13.md)) recorded `AT10`–`AT13` on commit `205633f` (before `#240` and `#241` `D-079`) as `0 pass / 4 blocked / 0 fail` (`14/4/0` subchecks) because Docker's embedded DNS `ip nat` (`127.0.0.11`) rules triggered `FLOWTABLE_BYPASS` before `#241`'s `D-079` `loopback_scoped` rule landed, while all four kernel-enforcement mechanism controls (`lab-AT10`–`lab-AT13`) passed; follow-up 5 (`#246`) later measured the #240 lab fix; see the acceptance table below for its remaining case blockers. [Current usage acceptance follow-up 7](../e2e/at/usage/README.md); the earlier [usage follow-up 2 (`#214`, previously reported run `2393df75-6261-42bc-99b4-df3c57c4b741`)](../e2e/at/usage/history/followup2/summary.md) (the archive lists a different run) ([`requests.md`](../e2e/at/usage/history/followup2/requests.md)) recorded `AT14`–`AT18` passing live on counted serving flow while `AT19` was **subset passed, case blocked** (the #214 record names Fair-Use recompilation and ACK-reader defects; #222 fixes the implementation, this historical record is superseded by follow-up 4 (#257) below). [Members acceptance follow-up 5 (`#201`)](../e2e/at/members/history/follow-up-5/summary.md) and [follow-up 6 (`#231`, run `80db103b-622c-42b1-946d-4628daaa213d`)](../e2e/at/members/history/follow-up-6/summary.md) ([`README.md`](../e2e/at/members/README.md), [`requests.md`](../e2e/at/members/requests.md)), [portal follow-up 10 (`#175`), follow-up 13 (`#208`), follow-up 14 (`#223`), and follow-up 15 (`#235`)](../../apps/portal/e2e/portal.spec.ts), [agent follow-up 14–19 (`#181`, `#193`, `#198`, `#202`, `#216`, `#226`) and usage-agent follow-up 1–2 (`#225`, `#232`)](../../node/agent/review_d063_test.go), [devstack follow-up 9 (`#153`)](../e2e/followup9-verification.md), [devstack follow-up 10 (`#170`)](../e2e/RUN.md), [devstack follow-up 11 (`#182`)](../e2e/followup11-verification.md), [devstack follow-up 12 (`#196`, `#199`)](../e2e/scenarios/device-revoke.md), [devstack follow-up 13 (`#204`, `#219`, run `4c97ebef`)](../e2e/RUN.md), and [devstack follow-up 14 (`#240`, acceptance run `4e3e9487-fe0f-4d88-a396-d5d5fa4a8e1d` `29 pass / 0 blocked / 0 fail`, exports run `0a687f3a-2351-4234-b43d-882109267967` `16 pass / 0 blocked / 0 fail`)](../e2e/RUN.md) ([`gateway-principals.md`](../e2e/scenarios/gateway-principals.md), [`device-revoke.md`](../e2e/scenarios/device-revoke.md), [`requests.md`](../e2e/requests.md)) verify `AT02` (`42/0` subchecks in `#231` including strict `fvmb0` ingress injection via `Stack.ObserveMemberIngress` where the revoked device raises `ctunku` `0 -> 1` with nothing forwarded while the admitted sibling moves `u_` `31 -> 32`), `AT03`, and `AT08` (`3 pass / 7 blocked / 0 fail`, `384` passing subchecks in `#231`), `D-067` same-generation cold-restart lease recovery (`44 s` in `#201` resolving `F4-01`, and in `#231` `AT09` `36.976 s` to serving-ready and `41.695 s` to first counted byte on unchanged generation `23`), counted Linux lab member forwarding, real device revocation (`PauseNativeControl` stale-client revocation with 3-point `tcpdump` capture confirming `peer_tx_packets > 0`, `mor0_rx_packets == 0`, `uplink_packets == 0`, plus `#219` strict post-revoke member-ingress proof on `fvmb0` via `Stack.InjectMemberIngress` / `Stack.ObserveMemberIngress` where a revoked device frame raises `ctunku` by `1` while an admitted sibling moves `u_` by `1`), 4th-device replacement, dedicated updater probe peer traversal (`update-good` with `probe_omission_count=0` and exported `Stack.ProbePeer`), a second real exit hook (`StartSecondExit` / `EnrollAt`), lab `trusted_proxies` (`/32` gateway trust) and nginx `X-Forwarded-For` (`gateway-principals`, `SECOPS-13`), the **TEST ONLY** finite-grace prepare option (`fvpn-e2e-prepare -grace-seconds N`, `SECOPS-04`), read-only node telemetry (`StartNodeTelemetry`, workload measurement only), and 60-peer native admission (`SECOPS-10`, `SECOPS-16`); the earlier `AT02`, `AT03`, `AT04`, and `AT08` records in [`docs/e2e/at/members/requests.md`](../e2e/at/members/requests.md) are historical pre-`#153` records (`DOC15`), and native four-platform checks (`AT01`, `AT09`, `AT21`) remain `needs operator run`.
+[Enrollment follow-up 9 runbook](../e2e/at/enrollment/RUN.md) ([`summary.md`](../e2e/at/enrollment/summary.md), [`requests.md`](../e2e/at/enrollment/requests.md), [`AT06.md`](../e2e/at/enrollment/AT06.md), [`AT07.md`](../e2e/at/enrollment/AT07.md)); earlier enrollment acceptance (`#173`, `#187`, `#210`, `#229`) runs on stack `w4-enroll` / port base `12000` (`6000 + 6000*n`, `n = 0..9`), passed `95/95` subchecks in follow-up 1 (`#187`) and `105/105` (`46/46` in `AT06`, `59/59` in `AT07`, run `20261030T203711Z`) in follow-up 2 (`#210`, verifying `ENR-02` `Enrollment.token_sha256` and `ENR-03` `listNodeIncarnations`), and in follow-up 3 (`#229`, run `60a7102e-b824-4927-a576-62033f458157`) closed `ENR-08` on the production `nodes.Service` caller (`ObserveEndpointTx` + `NodeDetail.identity_conflict` ETag participation) and recorded `AT06` as `254 pass / 1 blocked / 0 fail` (the one blocked item is `rate_limit_review`: browser-class `429`s on `GET /api/v1/admin/audit-events` and `GET /api/v1/admin/nodes/{id}/incarnations` under `BrowserRate` `10/s` burst `30`, retried after `Retry-After` per `D-078`; in control follow-up 21 `#233`, [`docs/control/AUTH.md`](../control/AUTH.md#browser-class-calibration) and `TestFollowup21_BrowserClassCalibration` confirmed `browser_rate` stays `10/s`, burst `30`) and `AT07` as `15 pass / 7 blocked / 0 fail` (`w5-node-installer` `#239` subsequently delivered `fvpn-node-install`, `deploy/node/install.sh`, and `deploy/node/systemd/` in [`docs/node/install.md`](../node/install.md)). [Isolation acceptance follow-up 3](../e2e/at/isolation/history/follow-up-3/summary.md) records `AT10` passing on main baseline `dde4aa6` (the previously reported run `c359fa37-61e0-4469-9f73-5a1e60949c3b` is not the run that archive lists). [Follow-up 4](../e2e/at/isolation/history/follow-up-4/summary.md) (run `fa0074cc-3b1a-403d-b8c2-3a3439fe2b7e`, [run record](../e2e/at/isolation/history/follow-up-4/AT10.json); [`README.md`](../e2e/at/isolation/history/follow-up-4/README.md), [`requests.md`](../e2e/at/isolation/history/follow-up-4/requests.md), [`AT10.md`](../e2e/at/isolation/history/follow-up-4/AT10.md), [`AT11.md`](../e2e/at/isolation/history/follow-up-4/AT11.md), [`AT12.md`](../e2e/at/isolation/history/follow-up-4/AT12.md), [`AT13.md`](../e2e/at/isolation/history/follow-up-4/AT13.md)) records `AT10`–`AT13` blocked on main baseline `205633f`, because a foreign `postrouting` chain for Docker's embedded DNS `127.0.0.11` fail-closes as `FLOWTABLE_BYPASS`, while the four mechanism controls (`lab-AT10`–`lab-AT13`) pass; follow-up 5 (`#246`) later measured the #240 lab fix; see the acceptance table below for its remaining case blockers. [Current usage acceptance follow-up 7](../e2e/at/usage/README.md); the earlier [usage follow-up 2 (`#214`, previously reported run `2393df75-6261-42bc-99b4-df3c57c4b741`)](../e2e/at/usage/history/followup2/summary.md) (the archive lists a different run) ([`requests.md`](../e2e/at/usage/history/followup2/requests.md)) recorded `AT14`–`AT18` passing live on counted serving flow while `AT19` was **subset passed, case blocked** (the #214 record names Fair-Use recompilation and ACK-reader defects; #222 fixes the implementation, this historical record is superseded by follow-up 4 (#257) below). [Members acceptance follow-up 5](../e2e/at/members/history/follow-up-5/summary.md) ([`README.md`](../e2e/at/members/history/follow-up-5/README.md), [`requests.md`](../e2e/at/members/history/follow-up-5/requests.md)) and [follow-up 6 (run `80db103b-622c-42b1-946d-4628daaa213d`)](../e2e/at/members/history/follow-up-6/summary.md) ([`README.md`](../e2e/at/members/history/follow-up-6/README.md), [`requests.md`](../e2e/at/members/history/follow-up-6/requests.md)), [portal follow-up 10 (`#175`), follow-up 13 (`#208`), follow-up 14 (`#223`), and follow-up 15 (`#235`)](../../apps/portal/e2e/portal.spec.ts), [agent follow-up 14–19 (`#181`, `#193`, `#198`, `#202`, `#216`, `#226`) and usage-agent follow-up 1–2 (`#225`, `#232`)](../../node/agent/review_d063_test.go), [devstack follow-up 9 (`#153`)](../e2e/followup9-verification.md), [devstack follow-up 10 (`#170`)](../e2e/RUN.md), [devstack follow-up 11 (`#182`)](../e2e/followup11-verification.md), [devstack follow-up 12 (`#196`, `#199`)](../e2e/scenarios/device-revoke.md), [devstack follow-up 13 (`#204`, `#219`, run `4c97ebef`)](../e2e/RUN.md), and [devstack follow-up 14 (`#240`, acceptance run `4e3e9487-fe0f-4d88-a396-d5d5fa4a8e1d` `29 pass / 0 blocked / 0 fail`, exports run `0a687f3a-2351-4234-b43d-882109267967` `16 pass / 0 blocked / 0 fail`)](../e2e/RUN.md) ([`gateway-principals.md`](../e2e/scenarios/gateway-principals.md), [`device-revoke.md`](../e2e/scenarios/device-revoke.md), [`requests.md`](../e2e/requests.md)) verify `AT02` (`42/0` subchecks in `#231` including strict `fvmb0` ingress injection via `Stack.ObserveMemberIngress` where the revoked device raises `ctunku` `0 -> 1` with nothing forwarded while the admitted sibling moves `u_` `31 -> 32`), `AT03`, and `AT08` (`3 pass / 7 blocked / 0 fail`, `384` passing subchecks in `#231`), `D-067` same-generation cold-restart lease recovery (`44 s` in `#201` resolving `F4-01`, and in `#231` `AT09` `36.976 s` to serving-ready and `41.695 s` to first counted byte on unchanged generation `23`), counted Linux lab member forwarding, real device revocation (`PauseNativeControl` stale-client revocation with 3-point `tcpdump` capture confirming `peer_tx_packets > 0`, `mor0_rx_packets == 0`, `uplink_packets == 0`, plus `#219` strict post-revoke member-ingress proof on `fvmb0` via `Stack.InjectMemberIngress` / `Stack.ObserveMemberIngress` where a revoked device frame raises `ctunku` by `1` while an admitted sibling moves `u_` by `1`), 4th-device replacement, dedicated updater probe peer traversal (`update-good` with `probe_omission_count=0` and exported `Stack.ProbePeer`), a second real exit hook (`StartSecondExit` / `EnrollAt`), lab `trusted_proxies` (`/32` gateway trust) and nginx `X-Forwarded-For` (`gateway-principals`, `SECOPS-13`), the **TEST ONLY** finite-grace prepare option (`fvpn-e2e-prepare -grace-seconds N`, `SECOPS-04`), read-only node telemetry (`StartNodeTelemetry`, workload measurement only), and 60-peer native admission (`SECOPS-10`, `SECOPS-16`); the living [members requests page](../e2e/at/members/requests.md) is the 2026-11-11 portal delivery and does not carry `DOC15`, and native four-platform checks (`AT01`, `AT09`, `AT21`) remain `needs operator run`.
### Follow-up 13 acceptance snapshot (2026-10-30 EDT)
diff --git a/docs/reviews/README.md b/docs/reviews/README.md
index f58683002..ac60939bb 100644
--- a/docs/reviews/README.md
+++ b/docs/reviews/README.md
@@ -1,7 +1,7 @@
# Adversarial Security Reviews Archive (`r3`–`r17`)
-**Archived cut:** [follow-up 54](../handover/follow-up-54.md), #533, #534, #535 and #536 at `2f5159f3`; consolidated deliveries and guide revisions.
-**Earlier archived cut:** [follow-up 53](../handover/follow-up-53.md), #529, #528, #530, #531 and #532 at `e055143e`; the registers below retain that cut's content.
+**Archived cut:** [follow-up 55](../handover/follow-up-55.md), #537 and #538 at `f57183f1`; consolidated deliveries and guide revisions.
+**Earlier archived cut:** [follow-up 54](../handover/follow-up-54.md), #533, #534, #535 and #536 at `2f5159f3`; the registers below retain that cut's content.
- **Date:** 2026-10-29 to 2026-10-31 (closure status)
- **Reviewing model:** `grok/grok-4.7`, `agy/gemini-4-argon-high`, `antigravity/gemini`, `antigravity/gemini-4-argon` (see per-review metadata below; `r5` and `r8` commits carried no `Agent:` trailer)
diff --git a/docs/updates/release-process.md b/docs/updates/release-process.md
index 2d5c293da..60b9e68e8 100644
--- a/docs/updates/release-process.md
+++ b/docs/updates/release-process.md
@@ -27,7 +27,7 @@ fvpn-release keygen -key-id release-YYYY -out release-key.json \
-trust-out release-trust.json \
-not-before 2026-01-01T00:00:00Z -not-after 2027-01-01T00:00:00Z
-fvpn-release build-manifest -in release-input.json -out signed.json
+fvpn-release build-manifest -in build-input.json -out signed.json
fvpn-release sign -signed signed.json -key release-key.json -out manifest.json
fvpn-release verify -envelope manifest.json -trust release-trust.json \
-at 2026-10-28T15:00:00Z \
@@ -37,7 +37,7 @@ fvpn-release package -dir ./tree -out amd64.tar.zst -mtime 0
`keygen` prints a reminder that the private key stays on the build machine. `-trust-out` writes public keys only.
-`release-input.json` is a `release.BuildInput`: release id, product version, sequence, created time, source commit, component versions, compatibility (control API major, policy and usage schemas, minimum updater version, state schema from/to, whether the previous release can read the new state), rollback reserve and health profile, evidence URLs, and the two artifact paths and `https` URLs. Evidence URLs and artifact URLs must be `https`.
+`build-input.json` is a `release.BuildInput`. `build-manifest -in` reads the path given after `-in`. The input carries release id, product version, sequence, created time, source commit, `build_id`, component versions, compatibility (control API major, policy and usage schemas, minimum updater version, state schema from/to, whether the previous release can read the new state), rollback reserve and health profile, evidence URLs, and the two artifact paths and `https` URLs. `build_id` is required and matches `^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$`. `BuildManifest` copies it onto the manifest, and `ValidateSigned` rejects a missing or non-matching value through the release manifest schema. Evidence URLs and artifact URLs must be `https`.
## Where the key lives
diff --git a/tests/handover/handover_test.go b/tests/handover/handover_test.go
index 8bf349fa1..f52845910 100644
--- a/tests/handover/handover_test.go
+++ b/tests/handover/handover_test.go
@@ -76,6 +76,7 @@ var ownedDocs = []string{
"docs/handover/follow-up-52.md",
"docs/handover/follow-up-53.md",
"docs/handover/follow-up-54.md",
+ "docs/handover/follow-up-55.md",
"docs/ops/README.md",
"docs/reviews/README.md",
"docs/reviews/r3-d055-review.md",
@@ -1429,7 +1430,7 @@ func TestHandover_Followup9Claims(t *testing.T) {
}
}
- opsREADME := readOwnedDoc(t, root, "docs/ops/README.md")
+ opsREADME := readOwnedDoc(t, root, followup55InputPath("docs/ops/README.md"))
for _, token := range []string{
"#204", "#205", "#206", "#207", "#208", "#210", "#211", "#212", "#213", "#214", "#215", "#216",
"c359fa37-61e0-4469-9f73-5a1e60949c3b",
@@ -19615,6 +19616,9 @@ func restoreFollowup52Inputs(source string) string {
for _, path := range paths {
body = strings.Replace(body, `readOwnedDoc(t, root, followup52InputPath("`+path+`"))`, `readOwnedDoc(t, root, "`+path+`")`, 1)
}
+ if name == "TestHandover_Followup9Claims" {
+ body = strings.Replace(body, `readOwnedDoc(t, root, followup55InputPath("docs/ops/README.md"))`, `readOwnedDoc(t, root, "docs/ops/README.md")`, 1)
+ }
source = source[:start] + body + source[end:]
}
return source
@@ -20036,6 +20040,7 @@ func TestHandover_Followup52Claims(t *testing.T) {
t.Fatal("prior assertion provenance")
}
body := regexp.MustCompile(`(?s)func ` + regexp.QuoteMeta(p.Function) + `\(.*?\n}`).FindString(readOwnedDoc(t, root, p.Source))
+ body = strings.ReplaceAll(body, `readOwnedDoc(t, root, followup55InputPath("docs/ops/README.md"))`, `readOwnedDoc(t, root, "docs/ops/README.md")`)
redirects := 0
for _, r := range p.Redirects {
if r.Count < 1 || strings.Count(body, r.After) != r.Count || (!strings.HasPrefix(r.Before, "readOwnedDoc(t, root, ") && r.Before != "requireHandoverClaimTokens(t, root, path, tokens...)") || !strings.Contains(r.After, "followup52InputPath(") {
@@ -20082,6 +20087,7 @@ func restoreFollowup53Inputs(source string) string {
"readOwnedDoc(t, root, followup53InputPath(\"docs/handover/deploy.md\"))", "readOwnedDoc(t, root, \"docs/handover/deploy.md\")",
"readOwnedDoc(t, root, followup53InputPath(\"docs/handover/operator-guide.md\"))", "readOwnedDoc(t, root, \"docs/handover/operator-guide.md\")",
"readOwnedDoc(t, root, followup53InputPath(\"docs/handover/member-guide.md\"))", "readOwnedDoc(t, root, \"docs/handover/member-guide.md\")",
+ "\n\t\t\tbody = strings.ReplaceAll(body, `readOwnedDoc(t, root, followup55InputPath(\"docs/ops/README.md\"))`, `readOwnedDoc(t, root, \"docs/ops/README.md\")`)", "",
}},
{"TestHandover_Followup7Claims", []string{
"readOwnedDoc(t, root, followup53InputPath(\"docs/handover/operator-guide.md\"))", "readOwnedDoc(t, root, \"docs/handover/operator-guide.md\")",
@@ -20383,6 +20389,7 @@ func TestHandover_Followup53Claims(t *testing.T) {
t.Fatal("prior assertion provenance")
}
body := regexp.MustCompile(`(?s)func ` + regexp.QuoteMeta(p.Function) + `\(.*?\n}`).FindString(readOwnedDoc(t, root, p.Source))
+ body = strings.ReplaceAll(body, "\n\t\t\tbody = strings.ReplaceAll(body, `readOwnedDoc(t, root, followup55InputPath(\"docs/ops/README.md\"))`, `readOwnedDoc(t, root, \"docs/ops/README.md\")`)", "")
restored := restoreFollowup53Inputs(body)
redirects := 0
for _, r := range p.Redirects {
@@ -20416,6 +20423,7 @@ func followup54InputPath(path string) string {
// Reverse only follow-up 54's document-read redirects inside the prior test.
func restoreFollowup54Inputs(source string) string {
+ source = restoreFollowup55Inputs(source)
const header = "func TestHandover_Followup53Claims(t *testing.T) {"
start := strings.Index(source, header)
if start < 0 {
@@ -20429,6 +20437,7 @@ func restoreFollowup54Inputs(source string) string {
body := strings.NewReplacer(
"readOwnedDoc(t, root, followup54InputPath(path))", "readOwnedDoc(t, root, path)",
"readOwnedDoc(t, root, followup54InputPath(e.Path))", "readOwnedDoc(t, root, e.Path)",
+ "\n\t\t\tbody = strings.ReplaceAll(body, \"\\n\\t\\t\\tbody = strings.ReplaceAll(body, `readOwnedDoc(t, root, followup55InputPath(\\\"docs/ops/README.md\\\"))`, `readOwnedDoc(t, root, \\\"docs/ops/README.md\\\")`)\", \"\")", "",
).Replace(source[start:end])
return source[:start] + body + source[end:]
}
@@ -20537,7 +20546,7 @@ func TestHandover_Followup54Claims(t *testing.T) {
used := 0
for _, path := range paths[:len(paths)-1] {
before := readOwnedDoc(t, root, followup54PriorPath(path))
- live := readOwnedDoc(t, root, path)
+ live := readOwnedDoc(t, root, followup55InputPath(path))
var revised strings.Builder
pos, delta := 0, 0
for _, e := range edits {
@@ -20572,7 +20581,7 @@ func TestHandover_Followup54Claims(t *testing.T) {
})
t.Run("latest_and_earlier_cut_links", func(t *testing.T) {
for _, path := range []string{"README.md", "README.zh-TW.md", "docs/DELIVERY.md", "docs/DELIVERY.en.md", "docs/handover/00-index.md", "docs/handover/README.md", "docs/handover/deploy.md", "docs/handover/member-guide.md", "docs/handover/operator-guide.md", "docs/handover/restore-drill.md", "docs/ops/README.md", "docs/reviews/README.md"} {
- s := readOwnedDoc(t, root, path)
+ s := readOwnedDoc(t, root, followup55InputPath(path))
if !strings.Contains(s, "follow-up-54.md") || !strings.Contains(s, "follow-up-53.md") || !strings.Contains(s, "2f5159f3") {
t.Errorf("latest and earlier cut links: %s", path)
}
@@ -20581,7 +20590,7 @@ func TestHandover_Followup54Claims(t *testing.T) {
t.Run("preserved_headings_and_dated_snapshot", func(t *testing.T) {
headingRE := regexp.MustCompile(`(?m)^#{1,6} .+$`)
for _, path := range []string{"docs/contracts/README.md", "docs/handover/11-database-and-retention.md", "docs/handover/deploy.md", "docs/handover/member-guide.md", "docs/handover/operator-guide.md", "docs/ops/README.md", "docs/node/README.md", "docs/nodes/README.md", "docs/nodes/WIRING.md", "docs/poc/G2-netlab.md"} {
- remaining := headingRE.FindAllString(readOwnedDoc(t, root, path), -1)
+ remaining := headingRE.FindAllString(readOwnedDoc(t, root, followup55InputPath(path)), -1)
for _, heading := range headingRE.FindAllString(readOwnedDoc(t, root, followup54PriorPath(path)), -1) {
at := slices.Index(remaining, heading)
if at < 0 {
@@ -20601,7 +20610,7 @@ func TestHandover_Followup54Claims(t *testing.T) {
return body
}
path := "docs/ops/README.md"
- if section(readOwnedDoc(t, root, path)) != section(readOwnedDoc(t, root, followup54PriorPath(path))) {
+ if section(readOwnedDoc(t, root, followup55InputPath(path))) != section(readOwnedDoc(t, root, followup54PriorPath(path))) {
t.Error("dated acceptance snapshot changed")
}
t.Log("Preserved headings in ten documents and the dated acceptance snapshot")
@@ -20617,7 +20626,7 @@ func TestHandover_Followup54Claims(t *testing.T) {
if p.Name != names[i] || p.Heading == "" || !strings.Contains(p.Erratum, p.Path) || !strings.Contains(doc, p.Erratum) || p.Passage == "" {
t.Errorf("missing dated-record erratum: %s", p.Name)
}
- before, after := readOwnedDoc(t, root, followup54PriorPath(p.Path)), readOwnedDoc(t, root, p.Path)
+ before, after := readOwnedDoc(t, root, followup54PriorPath(p.Path)), readOwnedDoc(t, root, followup55InputPath(p.Path))
if !strings.Contains(before, p.Heading) || !strings.Contains(after, p.Heading) || !strings.Contains(before, p.Passage) || !strings.Contains(after, p.Passage) {
t.Errorf("historical passage changed: %s", p.Name)
}
@@ -20692,6 +20701,7 @@ func TestHandover_Followup54Claims(t *testing.T) {
t.Fatal("prior assertion provenance")
}
body := regexp.MustCompile(`(?s)func ` + regexp.QuoteMeta(p.Function) + `\(.*?\n}`).FindString(readOwnedDoc(t, root, p.Source))
+ body = strings.ReplaceAll(body, "\n\t\t\tbody = strings.ReplaceAll(body, \"\\n\\t\\t\\tbody = strings.ReplaceAll(body, `readOwnedDoc(t, root, followup55InputPath(\\\"docs/ops/README.md\\\"))`, `readOwnedDoc(t, root, \\\"docs/ops/README.md\\\")`)\", \"\")", "")
restored := restoreFollowup54Inputs(body)
redirects := 0
for _, r := range p.Redirects {
@@ -20707,3 +20717,372 @@ func TestHandover_Followup54Claims(t *testing.T) {
t.Logf("Preserved %s assertions with %d read-path redirects", p.Function, redirects)
})
}
+
+func followup55PriorPath(path string) string {
+ return "tests/handover/testdata/history/follow-up-55/prior-" + strings.ReplaceAll(path, "/", "_") + ".txt"
+}
+
+// Redirect documents this cut changes, and the unchanged dated sources it freezes.
+func followup55InputPath(path string) string {
+ switch path {
+ case "README.md", "README.zh-TW.md", "docs/DELIVERY.md", "docs/DELIVERY.en.md", "docs/handover/00-index.md", "docs/handover/11-database-and-retention.md", "docs/handover/README.md", "docs/handover/deploy.md", "docs/handover/member-guide.md", "docs/handover/operator-guide.md", "docs/handover/restore-drill.md", "docs/node/README.md", "docs/nodes/README.md", "docs/nodes/WIRING.md", "docs/ops/README.md", "docs/reviews/README.md", "docs/updates/release-process.md", "docs/ROADMAP.md", "docs/e2e/at/updates/history/follow-up-9/follow-up-4.md", "docs/handover/follow-up-52.md", "docs/handover/follow-up-54.md", "docs/reviews/r32-dedup-records-review.md":
+ return followup55PriorPath(path)
+ default:
+ return path
+ }
+}
+
+// Reverse only follow-up 55's document-read redirects inside the prior test.
+func restoreFollowup55Inputs(source string) string {
+ const header = "func TestHandover_Followup54Claims(t *testing.T) {"
+ start := strings.Index(source, header)
+ if start < 0 {
+ return source
+ }
+ endRel := strings.Index(source[start:], "\n}")
+ if endRel < 0 {
+ return source
+ }
+ end := start + endRel + 2
+ body := strings.NewReplacer(
+ "readOwnedDoc(t, root, followup55InputPath(path))", "readOwnedDoc(t, root, path)",
+ "readOwnedDoc(t, root, followup55InputPath(p.Path))", "readOwnedDoc(t, root, p.Path)",
+ "\n\t\tbody = strings.ReplaceAll(body, \"\\n\\t\\t\\tbody = strings.ReplaceAll(body, \\\"\\\\n\\\\t\\\\t\\\\tbody = strings.ReplaceAll(body, `readOwnedDoc(t, root, followup55InputPath(\\\\\\\"docs/ops/README.md\\\\\\\"))`, `readOwnedDoc(t, root, \\\\\\\"docs/ops/README.md\\\\\\\")`)\\\", \\\"\\\")\", \"\")", "",
+ ).Replace(source[start:end])
+ return source[:start] + body + source[end:]
+}
+
+func TestHandover_Followup55Claims(t *testing.T) {
+ root := repoRoot(t)
+ const fixture = "tests/handover/testdata/"
+ const cut = "f57183f1d3e1003d69a388b3be25458c331bc44c"
+ const cutDoc = "docs/handover/follow-up-55.md"
+ // Every merged delivery adds a row to the roadmap, so its frozen copy
+ // can pin only the dated rows.
+ const roadmap = "docs/ROADMAP.md"
+ hash := func(s string) string { sum := sha256.Sum256([]byte(s)); return hex.EncodeToString(sum[:]) }
+ readJSON := func(path string, dst any) {
+ t.Helper()
+ if err := json.Unmarshal([]byte(readOwnedDoc(t, root, path)), dst); err != nil {
+ t.Fatalf("%s: decode at manifest: %v", path, err)
+ }
+ }
+ doc := readOwnedDoc(t, root, cutDoc)
+ t.Run("immutable_cut_and_manifests", func(t *testing.T) {
+ for _, p := range []struct {
+ Path, SHA256 string
+ Bytes int
+ }{
+ {cutDoc, "52925a4def1dfdb5ffa95bdb9cf958e55a872dbd189e4da4879a4d82cd3114a4", 9297},
+ {"tests/handover/testdata/followup55-edits.json", "175de7a25db6fbeb06e48a6325b3c6a2a5d2aa4a6f3a84967dffa7186fd0aaa7", 122955},
+ {"tests/handover/testdata/followup55-historical.json", "beb01076abecccbab6697de0d5cd0c476e5bff97f2f9b8614f7d95969935104b", 9152},
+ {"tests/handover/testdata/followup55-main.json", "4dc8815ecdb7a1fd6e24ebe517a241674aa078c9ae64facba77c0e4724d2f99b", 1024},
+ {"tests/handover/testdata/followup55-prior-assertions.json", "ad91edfe01fa04e622190742ebbf5e3305cdb7bffe343bf633357449a7c96ce4", 613},
+ {"tests/handover/testdata/followup55-snapshots.json", "682a262c4a07dbe9b3a01e33c7c291ce9cdc95ce1c0a5fd9d0db8e0f6bdfbb7f", 7015},
+ } {
+ s := readOwnedDoc(t, root, p.Path)
+ if len(s) != p.Bytes || hash(s) != p.SHA256 {
+ t.Errorf("%s: immutable bytes changed at the recorded hash (bytes=%d sha256=%s)", p.Path, len(s), hash(s))
+ }
+ }
+ })
+ t.Run("exact_two_merged_deliveries", func(t *testing.T) {
+ var m struct {
+ SourceCommit string `json:"source_commit"`
+ MergedPRs []int `json:"merged_prs"`
+ PRs []struct {
+ Number int
+ Title string
+ MergeCommit string `json:"merge_commit"`
+ PreMergeHead string `json:"pre_merge_head"`
+ MergedAt string `json:"merged_at"`
+ RoadmapCommit string `json:"roadmap_commit"`
+ }
+ }
+ readJSON(fixture+"followup55-main.json", &m)
+ want := []int{537, 538}
+ if m.SourceCommit != cut || !slices.Equal(m.MergedPRs, want) || len(m.PRs) != len(want) {
+ t.Fatalf("%s: merged deliveries table disagrees with the manifest inventory", cutDoc)
+ }
+ rows := regexp.MustCompile(`(?m)^\| \[#(\d+)\]\(https://github\.com/TED-H-com/Freedom-VPN/pull/(\d+)\) \| ([^|]+) \| `+"`([0-9a-f]{40})`"+` \| `+"`([0-9a-f]{40})`"+` \| ([^|]+) \|$`).FindAllStringSubmatch(doc, -1)
+ links := regexp.MustCompile(`https://github\.com/TED-H-com/Freedom-VPN/pull/(\d+)`).FindAllStringSubmatch(doc, -1)
+ if len(rows) != len(want) || len(links) != len(want) {
+ t.Fatalf("%s: merged deliveries table has an unexpected pull request set", cutDoc)
+ }
+ var previous time.Time
+ for i, p := range m.PRs {
+ r := rows[i]
+ if p.Number != want[i] || r[1] != fmt.Sprint(p.Number) || r[2] != r[1] || links[i][1] != r[1] || r[3] != p.Title || r[4] != p.MergeCommit || r[5] != p.PreMergeHead || strings.TrimSpace(r[6]) == "" || !regexp.MustCompile(`^[0-9a-f]{40}$`).MatchString(p.RoadmapCommit) {
+ t.Fatalf("%s: merged deliveries row disagrees with the manifest at pull request %d", cutDoc, p.Number)
+ }
+ when, err := time.Parse(time.RFC3339, p.MergedAt)
+ if err != nil || !strings.HasSuffix(p.MergedAt, "Z") || !when.After(previous) {
+ t.Fatalf("%s: merge order at pull request %d", cutDoc, p.Number)
+ }
+ previous = when
+ }
+ if m.PRs[len(m.PRs)-1].RoadmapCommit != cut || strings.Contains(doc, "```sql") {
+ t.Fatalf("%s: cutoff commit or fenced sql at merged deliveries", cutDoc)
+ }
+ t.Logf("Recorded %d merged pull requests in merge order", len(rows))
+ })
+ var snapshots []struct {
+ Source, Snapshot, SHA256 string
+ SourceCommit string `json:"source_commit"`
+ Bytes int
+ }
+ readJSON(fixture+"followup55-snapshots.json", &snapshots)
+ changed := []string{"README.md", "README.zh-TW.md", "docs/DELIVERY.en.md", "docs/DELIVERY.md", "docs/handover/00-index.md", "docs/handover/11-database-and-retention.md", "docs/handover/README.md", "docs/handover/deploy.md", "docs/handover/member-guide.md", "docs/handover/operator-guide.md", "docs/handover/restore-drill.md", "docs/node/README.md", "docs/nodes/README.md", "docs/nodes/WIRING.md", "docs/ops/README.md", "docs/reviews/README.md", "docs/updates/release-process.md"}
+ unchanged := []string{"docs/ROADMAP.md", "docs/e2e/at/updates/history/follow-up-9/follow-up-4.md", "docs/handover/follow-up-52.md", "docs/handover/follow-up-54.md", "docs/reviews/r32-dedup-records-review.md"}
+ paths := append(append([]string{}, changed...), unchanged...)
+ t.Run("frozen_pre_cut_provenance", func(t *testing.T) {
+ if len(snapshots) != len(paths) {
+ t.Fatalf("tests/handover/testdata/followup55-snapshots.json: pre-cut snapshot count at the provenance list")
+ }
+ for i, p := range snapshots {
+ if p.Source != paths[i] || p.SourceCommit != cut || p.Snapshot != followup55PriorPath(p.Source) {
+ t.Fatalf("%s: pre-cut provenance at snapshot %s", p.Snapshot, p.Source)
+ }
+ s := readOwnedDoc(t, root, p.Snapshot)
+ if len(s) != p.Bytes || hash(s) != p.SHA256 {
+ t.Errorf("%s: frozen pre-cut copy changed at %s", p.Snapshot, p.Source)
+ }
+ }
+ t.Logf("Verified %d frozen pre-cut copies", len(snapshots))
+ })
+ var edits []struct {
+ Path, Before, After string
+ Offset int
+ }
+ readJSON(fixture+"followup55-edits.json", &edits)
+ t.Run("only_exact_permitted_edits", func(t *testing.T) {
+ if len(edits) != 44 {
+ t.Fatalf("tests/handover/testdata/followup55-edits.json: bounded edit count at the permitted-edit list")
+ }
+ used := 0
+ for _, path := range changed {
+ before := readOwnedDoc(t, root, followup55PriorPath(path))
+ live := readOwnedDoc(t, root, path)
+ var revised strings.Builder
+ pos, delta := 0, 0
+ for _, e := range edits {
+ if e.Path != path {
+ continue
+ }
+ used++
+ end := e.Offset + len(e.Before)
+ if e.Offset < pos || end > len(before) || e.Before == e.After || before[e.Offset:end] != e.Before {
+ t.Fatalf("%s: invalid permitted edit at byte %d", path, e.Offset)
+ }
+ at := e.Offset + delta
+ if at < 0 || at+len(e.After) > len(live) || live[at:at+len(e.After)] != e.After {
+ t.Errorf("%s: current form missing at revised place byte %d", path, at)
+ } else if e.Before != "" && !strings.HasPrefix(e.After, e.Before) && strings.HasPrefix(live[at:], e.Before) {
+ t.Errorf("%s: old form remains at revised place byte %d", path, at)
+ }
+ revised.WriteString(before[pos:e.Offset])
+ revised.WriteString(e.After)
+ pos = end
+ delta += len(e.After) - len(e.Before)
+ }
+ revised.WriteString(before[pos:])
+ if live != revised.String() {
+ t.Errorf("%s: current form or unrelated bytes changed outside the permitted edits", path)
+ }
+ }
+ for _, path := range unchanged {
+ if path == roadmap {
+ continue
+ }
+ if readOwnedDoc(t, root, path) != readOwnedDoc(t, root, followup55PriorPath(path)) {
+ t.Errorf("%s: dated passage changed outside the permitted edits", path)
+ }
+ }
+ if used != len(edits) {
+ t.Fatal("tests/handover/testdata/followup55-edits.json: edit outside the changed documents")
+ }
+ t.Logf("Verified %d exact permitted edits across %d changed documents", used, len(changed))
+ })
+ t.Run("latest_and_earlier_cut_links", func(t *testing.T) {
+ for _, path := range []string{"README.md", "README.zh-TW.md", "docs/DELIVERY.md", "docs/DELIVERY.en.md", "docs/handover/00-index.md", "docs/handover/README.md", "docs/handover/deploy.md", "docs/handover/member-guide.md", "docs/handover/operator-guide.md", "docs/handover/restore-drill.md", "docs/ops/README.md", "docs/reviews/README.md"} {
+ s := readOwnedDoc(t, root, path)
+ if !strings.Contains(s, "follow-up-55.md") || !strings.Contains(s, "follow-up-54.md") || !strings.Contains(s, "f57183f1") || !strings.Contains(s, "2f5159f3") {
+ t.Errorf("%s: latest and earlier cut links", path)
+ }
+ }
+ if !strings.Contains(readOwnedDoc(t, root, "docs/handover/11-database-and-retention.md"), "follow-up-55.md") {
+ t.Error("docs/handover/11-database-and-retention.md: current cut link")
+ }
+ })
+ t.Run("preserved_headings", func(t *testing.T) {
+ headingRE := regexp.MustCompile(`(?m)^#{1,6} .+$`)
+ for _, path := range changed {
+ remaining := headingRE.FindAllString(readOwnedDoc(t, root, path), -1)
+ for _, heading := range headingRE.FindAllString(readOwnedDoc(t, root, followup55PriorPath(path)), -1) {
+ at := slices.Index(remaining, heading)
+ if at < 0 {
+ t.Errorf("%s: existing heading changed at %s", path, heading)
+ break
+ }
+ remaining = remaining[at+1:]
+ }
+ }
+ t.Logf("Preserved headings in %d changed documents", len(changed))
+ })
+ t.Run("dated_record_errata", func(t *testing.T) {
+ var historical []struct{ Name, Path, Heading, Passage, Erratum string }
+ readJSON(fixture+"followup55-historical.json", &historical)
+ names := []string{"roadmap_conntrack", "roadmap_capture", "updates_followup4", "followup52_capture", "followup54_pool", "node_deadline", "ops_isolation", "ops_usage", "ops_secops", "ops_requests", "review_provisional"}
+ if len(historical) != len(names) {
+ t.Fatal("tests/handover/testdata/followup55-historical.json: historical erratum count")
+ }
+ section := func(s, heading string) (string, bool) {
+ _, after, ok := strings.Cut(s, heading)
+ if !ok {
+ return "", false
+ }
+ body, _, _ := strings.Cut(after, "\n### ")
+ return body, true
+ }
+ datedHeading := map[string]string{
+ "node_deadline": "### Follow-up 23 timing evidence (2026-10-31)",
+ "ops_isolation": "### Follow-up 13 acceptance snapshot (2026-10-30 EDT)",
+ "ops_usage": "### Follow-up 13 acceptance snapshot (2026-10-30 EDT)",
+ "ops_secops": "### Follow-up 13 acceptance snapshot (2026-10-30 EDT)",
+ "ops_requests": "### Follow-up 15 acceptance snapshot (2026-10-31 EDT)",
+ }
+ datedRow := func(before, after, passage string) bool {
+ row, n := "", 0
+ for rest := before; rest != ""; {
+ line, next, ok := strings.Cut(rest, "\n")
+ if strings.Contains(line, passage) {
+ row, n = line, n+1
+ }
+ if !ok {
+ break
+ }
+ rest = next
+ }
+ if n != 1 {
+ return false
+ }
+ for rest := after; rest != ""; {
+ line, next, ok := strings.Cut(rest, "\n")
+ if line == row {
+ return true
+ }
+ if !ok {
+ break
+ }
+ rest = next
+ }
+ return false
+ }
+ for i, p := range historical {
+ if p.Name != names[i] || p.Heading == "" || !strings.Contains(p.Erratum, p.Path) || !strings.Contains(doc, p.Erratum) || p.Passage == "" {
+ t.Errorf("%s: missing dated-record erratum at %s", cutDoc, p.Name)
+ }
+ before, after := readOwnedDoc(t, root, followup55PriorPath(p.Path)), readOwnedDoc(t, root, p.Path)
+ if !strings.Contains(before, p.Heading) || !strings.Contains(after, p.Heading) || !strings.Contains(before, p.Passage) || !strings.Contains(after, p.Passage) {
+ t.Errorf("%s: historical passage changed at %s", p.Path, p.Name)
+ }
+ if slices.Contains(unchanged, p.Path) && p.Path != roadmap && before != after {
+ t.Errorf("%s: dated passage bytes changed at %s", p.Path, p.Name)
+ }
+ if p.Path == roadmap && !datedRow(before, after, p.Passage) {
+ t.Errorf("%s: dated row changed at %s", p.Path, p.Name)
+ }
+ if heading, ok := datedHeading[p.Name]; ok {
+ b, bok := section(before, heading)
+ a, aok := section(after, heading)
+ if !bok || !aok || a != b {
+ t.Errorf("%s: dated passage bytes changed at %s", p.Path, heading)
+ }
+ }
+ }
+ t.Logf("Preserved %d dated passages and their errata", len(historical))
+ })
+ t.Run("relative_links_and_heading_anchors", func(t *testing.T) {
+ sources := []struct{ doc, text string }{{cutDoc, doc}}
+ for _, e := range edits {
+ sources = append(sources, struct{ doc, text string }{e.Path, e.After})
+ }
+ linkRE := regexp.MustCompile(`\[([^\]]+)\]\(([^)\s]+)\)`)
+ anchorCache := make(map[string]map[string]bool)
+ links, fragments := 0, 0
+ for _, src := range sources {
+ for _, m := range linkRE.FindAllStringSubmatch(stripFencedCodeBlocks(src.text), -1) {
+ target := m[2]
+ if strings.HasPrefix(target, "https://") || strings.HasPrefix(target, "http://") {
+ continue
+ }
+ pathPart, frag, hasFrag := strings.Cut(target, "#")
+ targetRel := src.doc
+ if pathPart != "" {
+ targetRel = filepath.ToSlash(filepath.Clean(filepath.Join(filepath.Dir(src.doc), pathPart)))
+ }
+ info, err := os.Stat(filepath.Join(root, filepath.FromSlash(targetRel)))
+ if err != nil {
+ t.Errorf("%s: link %q at revised text: target %s does not exist", src.doc, target, targetRel)
+ continue
+ }
+ links++
+ if !hasFrag {
+ continue
+ }
+ if info.IsDir() {
+ t.Errorf("%s: link %q at revised text: cannot resolve directory fragment", src.doc, target)
+ continue
+ }
+ anchors, ok := anchorCache[targetRel]
+ if !ok {
+ anchors = followup50MarkdownAnchors(readOwnedDoc(t, root, targetRel))
+ anchorCache[targetRel] = anchors
+ }
+ if frag == "" || !anchors[frag] {
+ t.Errorf("%s: link %q at revised text: missing anchor #%s in %s", src.doc, target, frag, targetRel)
+ continue
+ }
+ fragments++
+ }
+ }
+ if links == 0 || fragments == 0 {
+ t.Fatalf("%s: no relative links or fragments resolved in the cut and revised text", cutDoc)
+ }
+ t.Logf("Resolved %d relative links and %d fragments", links, fragments)
+ })
+ t.Run("earlier_assertions_preserved", func(t *testing.T) {
+ var prior []struct {
+ Source, Function, SHA256 string
+ SourceCommit string `json:"source_commit"`
+ Bytes int
+ Redirects []struct {
+ Before, After string
+ Count int
+ }
+ }
+ readJSON(fixture+"followup55-prior-assertions.json", &prior)
+ if len(prior) != 1 {
+ t.Fatal("tests/handover/testdata/followup55-prior-assertions.json: prior assertion count")
+ }
+ p := prior[0]
+ if p.Source != "tests/handover/handover_test.go" || p.SourceCommit != cut || p.Function != "TestHandover_Followup54Claims" {
+ t.Fatalf("%s: prior assertion provenance at %s", p.Source, p.Function)
+ }
+ body := regexp.MustCompile(`(?s)func ` + regexp.QuoteMeta(p.Function) + `\(.*?\n}`).FindString(readOwnedDoc(t, root, p.Source))
+ body = strings.ReplaceAll(body, "\n\t\tbody = strings.ReplaceAll(body, \"\\n\\t\\t\\tbody = strings.ReplaceAll(body, \\\"\\\\n\\\\t\\\\t\\\\tbody = strings.ReplaceAll(body, `readOwnedDoc(t, root, followup55InputPath(\\\\\\\"docs/ops/README.md\\\\\\\"))`, `readOwnedDoc(t, root, \\\\\\\"docs/ops/README.md\\\\\\\")`)\\\", \\\"\\\")\", \"\")", "")
+ restored := restoreFollowup55Inputs(body)
+ redirects := 0
+ for _, r := range p.Redirects {
+ if r.Count < 1 || strings.Count(body, r.After) != r.Count || !strings.HasPrefix(r.Before, "readOwnedDoc(t, root, ") || !strings.Contains(r.After, "followup55InputPath(") {
+ t.Fatalf("%s: frozen read redirect changed at %s", p.Source, p.Function)
+ }
+ body = strings.ReplaceAll(body, r.After, r.Before)
+ redirects += r.Count
+ }
+ if body != restored || len(body) != p.Bytes || hash(body) != p.SHA256 {
+ t.Errorf("%s: %s assertions changed outside frozen-copy reads", p.Source, p.Function)
+ }
+ t.Logf("Preserved %s assertions with %d read-path redirects", p.Function, redirects)
+ })
+}
diff --git a/tests/handover/testdata/followup55-edits.json b/tests/handover/testdata/followup55-edits.json
new file mode 100644
index 000000000..3572c9887
--- /dev/null
+++ b/tests/handover/testdata/followup55-edits.json
@@ -0,0 +1,266 @@
+[
+ {
+ "path": "README.md",
+ "offset": 7442,
+ "before": "**Latest archived checkpoint:** [follow-up 54](docs/handover/follow-up-54.md), #533, #534, #535 and #536 at 2f5159f3.\n**Previous archived checkpoint:** [follow-up 53](docs/handover/follow-up-53.md), #529, #528, #530, #531 and #532 at e055143e.\n",
+ "after": "**Latest archived checkpoint:** [follow-up 55](docs/handover/follow-up-55.md), #537 and #538 at f57183f1.\n**Previous archived checkpoint:** [follow-up 54](docs/handover/follow-up-54.md), #533, #534, #535 and #536 at 2f5159f3.\n"
+ },
+ {
+ "path": "README.zh-TW.md",
+ "offset": 6794,
+ "before": "**最近封存的交付切點:**[follow-up 54](docs/handover/follow-up-54.md),#533、#534、#535 與 #536,版本 2f5159f3。\n**前次封存的交付切點:**[follow-up 53](docs/handover/follow-up-53.md),#529、#528、#530、#531 與 #532,版本 e055143e。\n",
+ "after": "**最近封存的交付切點:**[follow-up 55](docs/handover/follow-up-55.md),#537 與 #538,版本 f57183f1。\n**前次封存的交付切點:**[follow-up 54](docs/handover/follow-up-54.md),#533、#534、#535 與 #536,版本 2f5159f3。\n"
+ },
+ {
+ "path": "docs/DELIVERY.en.md",
+ "offset": 3266,
+ "before": "",
+ "after": "[Follow-up 55](handover/follow-up-55.md) revises the guide statements at `f57183f1`, including the engineering documents and the release command reference, and records the errata. Dated passages stay unchanged. This cut adds no procedure or deployment evidence; carried gaps remain as follow-up 54 recorded them.\n\n"
+ },
+ {
+ "path": "docs/DELIVERY.en.md",
+ "offset": 7954,
+ "before": "[follow-up 54](handover/follow-up-54.md) preserves #533, #534, #535 and #536\nat `2f5159f3`. The earlier [follow-up 53](handover/follow-up-53.md)\nretains #529, #528, #530, #531 and #532 at `e055143e`. Later results have their own acceptance records.\n",
+ "after": "[follow-up 55](handover/follow-up-55.md) preserves #537 and #538\nat `f57183f1`. The earlier [follow-up 54](handover/follow-up-54.md)\nretains #533, #534, #535 and #536 at `2f5159f3`. Later results have their own acceptance records.\n"
+ },
+ {
+ "path": "docs/DELIVERY.md",
+ "offset": 2727,
+ "before": "",
+ "after": "[Follow-up 55](handover/follow-up-55.md) 修訂 `f57183f1` 的指南敘述,包括工程文件與發行指令參考,並記錄勘誤。有日期的紀錄保持不變。此切點不新增程序或部署證據;既有缺口維持 follow-up 54 的紀錄。\n\n"
+ },
+ {
+ "path": "docs/DELIVERY.md",
+ "offset": 7053,
+ "before": "[合併紀錄](ROADMAP.md) 追蹤目前實作;[follow-up 54](handover/follow-up-54.md)\n保存 `2f5159f3` 的 #533、#534、#535 與 #536 交付切點;較早的\n[follow-up 53](handover/follow-up-53.md) 保留 `e055143e` 的 #529、#528、#530、#531 與 #532。後續成果以各項驗收紀錄為準。\n",
+ "after": "[合併紀錄](ROADMAP.md) 追蹤目前實作;[follow-up 55](handover/follow-up-55.md)\n保存 `f57183f1` 的 #537 與 #538 交付切點;較早的\n[follow-up 54](handover/follow-up-54.md) 保留 `2f5159f3` 的 #533、#534、#535 與 #536。後續成果以各項驗收紀錄為準。\n"
+ },
+ {
+ "path": "docs/handover/00-index.md",
+ "offset": 394,
+ "before": "**Archived cut:** [follow-up 54](follow-up-54.md), #533, #534, #535 and #536 at `2f5159f3`; source-backed changes, verification boundaries and carried gaps.\n**Earlier archived cut:** [follow-up 53](follow-up-53.md), #529, #528, #530, #531 and #532 at `e055143e`; source-backed changes, verification boundaries and carried gaps.\n",
+ "after": "**Archived cut:** [follow-up 55](follow-up-55.md), #537 and #538 at `f57183f1`; source-backed changes, verification boundaries and carried gaps.\n**Earlier archived cut:** [follow-up 54](follow-up-54.md), #533, #534, #535 and #536 at `2f5159f3`; source-backed changes, verification boundaries and carried gaps.\n"
+ },
+ {
+ "path": "docs/handover/11-database-and-retention.md",
+ "offset": 32,
+ "before": "**Current cut:** [follow-up 54](follow-up-54.md).\n",
+ "after": "**Current cut:** [follow-up 55](follow-up-55.md).\n"
+ },
+ {
+ "path": "docs/handover/README.md",
+ "offset": 53,
+ "before": "**Archived cut:** [follow-up 54](follow-up-54.md), #533, #534, #535 and #536 at `2f5159f3`; consolidated deliveries and guide revisions.\n**Earlier archived cut:** [follow-up 53](follow-up-53.md), #529, #528, #530, #531 and #532 at `e055143e`; the registers below retain that cut's content.\n",
+ "after": "**Archived cut:** [follow-up 55](follow-up-55.md), #537 and #538 at `f57183f1`; consolidated deliveries and guide revisions.\n**Earlier archived cut:** [follow-up 54](follow-up-54.md), #533, #534, #535 and #536 at `2f5159f3`; the registers below retain that cut's content.\n"
+ },
+ {
+ "path": "docs/handover/README.md",
+ "offset": 4981,
+ "before": "| [**Operator Guide (`operator-guide.md`)**](operator-guide.md) | Daily and weekly operator checklists, reading asynchronous `Operation` receipts (worker contention is not failure `#205`/`#208`), `audit_events` (transition-only discovery denial audits on `fleet_config`), and current OpenAPI `1.11.0` revision 15 contract status (`50` operations; all 50 are wired on `main` after `revokeMemberGrant` registration in #297, including `listAdminDevices` and `authorizeMemberDevice` in `#238`/`#244` (`D-077`, `D-081`), `MemberDevice.authorization_unconfirmed` always emitted on `GET /api/v1/member/devices` (`D-077`, `D-076`), `NodeDetail.usage_outbox` (`#243`, `00189_node_incarnation_usage_outbox.sql`, `SECOPS-19` closed, with `ETag` participation), `listNodeIncarnations` `#200`, `Enrollment.token_sha256` `#195`, `awaiting_member_grants` / `ErrorCode.AWAITING_MEMBER_GRANTS` `D-071` `#213`/`#216`/`#223`/`#238`/`#243`, `NodeDetail.identity_conflict` `D-072` `#211`/`#213`/`#217`/`#223`/`#235` with `ETag` participation, and the original 12 node enforcement verification reasons plus `TC_FOREIGN_FILTER` in `ErrorCode` (#261)), enrolling/installing/reinstalling/classifying/publishing/revoking/retiring nodes (`#239` `fvpn-node-install` `docs/node/install.md`, `D-055`, `D-057`, `D-058`, `D-061`, `D-067` provisional grant-less lease renewal and central `60 s` expiry backstop `#193`/`#198`/`#206`/`#216`, `D-070` revoke `nodes` step outcomes `conntrack_delete_pending`/`conntrack_delete_succeeded`/`node_failed_closed` `#206` with `#217` exit-group + `90 s` freshness fence, `D-075` `#228` one-shot stale-generation grace column `node_incarnations.stale_generation_grace_at` (`00187_identity_roaming_and_readiness_grace.sql`), `D-072`/`D-073` cloned-identity conflict runbook `#211`/`#213`/`#217`/`#223`/`#228` with durable roaming candidate in `node_identity_endpoints`, `D-074` `#224` gated `node.publish` waiting state, `#225`/`#232` pure-read `fvpn-agent usage snapshot -config /etc/vpn-node/agent-run.json [-json]` and `ledger_epoch` `null` until `ApplyCheckpoint`, `SECOPS-19` `#226`/`#243` `ObservationReport.usage` and `NodeDetail.usage_outbox`, `#220`/`#241` `D-079` whole-ruleset nftables read-back and `loopback_scoped` rule, 12-attempt `conntrack -D` fail-closed bound `#193`/`#202`, zero-binding `empty_exception` vs. `populated_verified` publication attachment basis, `data_path_probe` reasons, and `ISOLATION_POLICY_INVALID` on pending `conntrack -D`), configuring the fleet offline lease ceiling (`GET`/`PUT /api/v1/admin/fleet-config`, `D-065`, `#176`, `#179`, `60..86400` s, `fleet_config.update` audit, and lease renewal timing), running `all_nodes` update batches (`#212` `AT23`–`AT27` passing live with `#204` probe peer export), `D-053` / amended `D-064` health attestation, `probe_omitted` evidence, and rollback recovery `blankHealth` / `probe_omission` pruning (`#192`), update observation authority (`D-068` `#189`: `unconfirmed`, null-only pre-result seeding, current-job-only attribution, incarnation-wide accepted-result authority, and `update_observation.unexpected_release`), triaging `needs_attention` and rolled-back targets (`#177`, `#186`, `#212`), threat-feed and resolver-document troubleshooting (`D-054`, `D-056`), freezing/recovering/adjusting the usage ledger (`#214` `AT14`–`AT18` passing live, `#221` & `#242` `AT30` passed live, `SECOPS-21` closed on the assembled restore harness in `#316`), suspending members, `D-076`/`D-077`/`D-081` (`#227`, `#238`, `#242`, `#244`) post-restore device authorization fences (`device_authorization_fences`, `00188_device_authorization_fences.sql`, `GET /api/v1/admin/devices?authorization_unconfirmed=true`, `POST /api/v1/admin/members/{member_id}/devices/{device_id}/authorize`), Fair-Use enforcement reach and `fair_use.applying` convergence (`#222`), per-class rate limiters (`#190`, `#215` `urn:fvpn:node:` URI SAN mTLS key with `sha256(leaf.Raw)` fallback, full-table LRU tail walk, `/48` anonymous resident cap `min(max_rate_principals/2, 64)` (#252), zero-width `::` parse rule, single-walk body identity, and `D-078` `#229`/`#233` confirming `browser_rate` `10/s` burst `30`), `trusted_proxies`, 60-peer admission and counted-traffic figures (qualified as shared development host, not candidate hardware, `#178`, `#203`), request-body limits (`D-060`, `#169`, `#174`, `#178`, `#182`, `#190`, `#203`, `#215`, `SECOPS-15` closed), and rotating signing keys and secrets. | `§5`–`§16`, `§17`–`§18.3`, `D-065`, `D-067`, `D-068`, `D-070`–`D-079`, `D-081` |\n",
+ "after": "| [**Operator Guide (`operator-guide.md`)**](operator-guide.md) | Daily and weekly operator checklists, reading asynchronous `Operation` receipts (worker contention is not failure `#205`/`#208`), `audit_events` (transition-only discovery denial audits on `fleet_config`), and current OpenAPI `1.11.0` revision 15 contract status (`50` operations; all 50 are wired on `main` after `revokeMemberGrant` registration in #297, including `listAdminDevices` and `authorizeMemberDevice` in `#238`/`#244` (`D-077`, `D-081`), `MemberDevice.authorization_unconfirmed` always emitted on `GET /api/v1/member/devices` (`D-077`, `D-076`), `NodeDetail.usage_outbox` (`#243`, `00189_node_incarnation_usage_outbox.sql`, `SECOPS-19` closed, with `ETag` participation), `listNodeIncarnations` `#200`, `Enrollment.token_sha256` `#195`, `awaiting_member_grants` / `ErrorCode.AWAITING_MEMBER_GRANTS` `D-071` `#213`/`#216`/`#223`/`#238`/`#243`, `NodeDetail.identity_conflict` `D-072` `#211`/`#213`/`#217`/`#223`/`#235` with `ETag` participation, and the original 12 node enforcement verification reasons plus `TC_FOREIGN_FILTER` in `ErrorCode` (#261)), enrolling/installing/reinstalling/classifying/publishing/revoking/retiring nodes (`#239` `fvpn-node-install` `docs/node/install.md`, `D-055`, `D-057`, `D-058`, `D-061`, `D-067` provisional grant-less lease renewal and central `60 s` expiry backstop `#193`/`#198`/`#206`/`#216`, `D-070` revoke `nodes` step `#206`, whose reason is set to `conntrack_delete_pending` when, after the capture is finished, an `ISOLATION_POLICY_INVALID` target is `pending` while the step has not succeeded and the operation is not superseded, whose per-target `node.revoke_isolation_resolved` resolutions are `conntrack_delete_succeeded`/`node_failed_closed`, and which succeeds only after a finished capture with no remaining `pending` target ([publishing exits](operator-guide.md#33-publishing-disabling-and-unpublishing-exits-put-apiv1adminnodesnode_idpublication)), `D-075` `#228` one-shot stale-generation grace column `node_incarnations.stale_generation_grace_at` (`00187_identity_roaming_and_readiness_grace.sql`), `D-072`/`D-073` cloned-identity conflict runbook `#211`/`#213`/`#217`/`#223`/`#228` with durable roaming candidate in `node_identity_endpoints`, `D-074` `#224` gated `node.publish` waiting state, `#225`/`#232` pure-read `fvpn-agent usage snapshot -config /etc/vpn-node/agent-run.json [-json]` and `ledger_epoch` `null` until `ApplyCheckpoint`, `SECOPS-19` `#226`/`#243` `ObservationReport.usage` and `NodeDetail.usage_outbox`, `#220`/`#241` `D-079` whole-ruleset nftables read-back and `loopback_scoped` rule, 12-attempt `conntrack -D` fail-closed bound `#193`/`#202`, zero-binding `empty_exception` vs. `populated_verified` publication attachment basis, `data_path_probe` reasons, and `ISOLATION_POLICY_INVALID` on pending `conntrack -D`), configuring the fleet offline lease ceiling (`GET`/`PUT /api/v1/admin/fleet-config`, `D-065`, `#176`, `#179`, `60..86400` s, `fleet_config.update` audit, and lease renewal timing), running `all_nodes` update batches (`#212` `AT23`–`AT27` passing live with `#204` probe peer export), `D-053` / amended `D-064` health attestation, `probe_omitted` evidence, and rollback recovery `blankHealth` / `probe_omission` pruning (`#192`), update observation authority (`D-068` `#189`: `unconfirmed`, null-only pre-result seeding, current-job-only attribution, incarnation-wide accepted-result authority, and `update_observation.unexpected_release`), triaging `needs_attention` and rolled-back targets (`#177`, `#186`, `#212`), threat-feed and resolver-document troubleshooting (`D-054`, `D-056`), freezing/recovering/adjusting the usage ledger (`#214` `AT14`–`AT18` passing live, `#221` & `#242` `AT30` passed live, `SECOPS-21` closed on the assembled restore harness in `#316`), suspending members, `D-076`/`D-077`/`D-081` (`#227`, `#238`, `#242`, `#244`) post-restore device authorization fences (`device_authorization_fences`, `00188_device_authorization_fences.sql`, `GET /api/v1/admin/devices?authorization_unconfirmed=true`, `POST /api/v1/admin/members/{member_id}/devices/{device_id}/authorize`), Fair-Use enforcement reach and `fair_use.applying` convergence (`#222`), per-class rate limiters (`#190`, `#215` `urn:fvpn:node:` URI SAN mTLS key with `sha256(leaf.Raw)` fallback, full-table LRU tail walk, `/48` anonymous resident cap `min(max_rate_principals/2, 64)` (#252), zero-width `::` parse rule, single-walk body identity, and `D-078` `#229`/`#233` confirming `browser_rate` `10/s` burst `30`), `trusted_proxies`, 60-peer admission and counted-traffic figures (qualified as shared development host, not candidate hardware, `#178`, `#203`), request-body limits (`D-060`, `#169`, `#174`, `#178`, `#182`, `#190`, `#203`, `#215`, `SECOPS-15` closed), and rotating signing keys and secrets. | `§5`–`§16`, `§17`–`§18.3`, `D-065`, `D-067`, `D-068`, `D-070`–`D-079`, `D-081` |\n"
+ },
+ {
+ "path": "docs/handover/deploy.md",
+ "offset": 437,
+ "before": "**Archived cut:** [follow-up 54](follow-up-54.md), #533, #534, #535 and #536 at `2f5159f3`; source-backed changes, verification boundaries and carried gaps.\n**Earlier archived cut:** [follow-up 53](follow-up-53.md), #529, #528, #530, #531 and #532 at `e055143e`; source-backed changes, verification boundaries and carried gaps.\n",
+ "after": "**Archived cut:** [follow-up 55](follow-up-55.md), #537 and #538 at `f57183f1`; source-backed changes, verification boundaries and carried gaps.\n**Earlier archived cut:** [follow-up 54](follow-up-54.md), #533, #534, #535 and #536 at `2f5159f3`; source-backed changes, verification boundaries and carried gaps.\n"
+ },
+ {
+ "path": "docs/handover/deploy.md",
+ "offset": 10912,
+ "before": "| `docs/members/config.example.json` | `grace_seconds`, `trial_max_seconds`, `grant_max_seconds` | `0`, `0`, `86400` | Explicit business-approved durations (see [`calibration.md`](calibration.md)) |\n",
+ "after": "| `docs/members/config.example.json` | `grace_seconds`, `trial_max_seconds`, `grant_max_seconds` | `259200`, `604800`, `31622400` | Explicit business-approved durations (see [`calibration.md`](calibration.md)) |\n"
+ },
+ {
+ "path": "docs/handover/deploy.md",
+ "offset": 47287,
+ "before": "",
+ "after": "`full_refund_policy`, `grace_seconds`, `trial_max_seconds` and `billing_lease_seconds` in this example are owner decisions, not compiled defaults. [Prices, plans, and billing entitlements](calibration.md#11-prices-plans-and-billing-entitlements-51-9-21) names each one. `full_refund_policy` is `revoke_original_period` or `keep_original_period`; this example keeps `revoke_original_period`. Calibration's `test only` status means the repository example is not a silent default, and it leaves this choice in place. `grace_seconds` `259200` is Ted's `待決策` choice, the same duration as `72 * time.Hour` in `entitlement.TestConfig`; the accepted range is `0..31622400` seconds and `0` disables grace. `trial_max_seconds` `0` disables trials and is Ted's `待決策` choice for this production example. The [repository inventory](#2-repository-test-only-inventory-and-production-replacements-1-agentsmd-1-3-8) lists the TEST ONLY durations in `docs/members/config.example.json`, which are a different set from this choice. `billing_lease_seconds` `120` is the core team's choice within `1..600`. Calibration marks that setting `test only` because the repository fixture is a placeholder; this example's `120` is the chosen value.\n\n"
+ },
+ {
+ "path": "docs/handover/deploy.md",
+ "offset": 48549,
+ "before": "`online_seconds` also controls central receipt-age classification: stale at `min(90 seconds, online_seconds)`, offline at `online_seconds`. The `180`-second example therefore becomes stale at 90 seconds and offline at 180 seconds, visible only after a successful `node.staleness.sweep`. The sweep is scheduled at `min(reconcile_seconds, 60 seconds)` for valid positive configuration; dispatch and retries can delay it. See [liveness calibration](calibration.md#14-lease-durations-max_offline_seconds-node-lifetimes-and-health-attestation-61-64-13-163-165-d-053-d-058-d-074).\n",
+ "after": "`online_seconds` also controls central receipt-age classification: stale at `min(90 seconds, online_seconds)`, offline at `online_seconds`. The `180`-second example therefore becomes stale at 90 seconds and offline at 180 seconds, visible only after a successful `node.staleness.sweep`. The sweep is scheduled at `min(reconcile_seconds, 60 seconds)` for valid positive configuration; dispatch and retries can delay it. See [liveness calibration](calibration.md#14-lease-durations-max_offline_seconds-node-lifetimes-and-health-attestation-61-64-13-163-165-d-053-d-058-d-074). The `180` in this example is the core team's owner decision. That calibration entry marks `online_seconds` `proposed`. The `180` in the [repository inventory](#2-repository-test-only-inventory-and-production-replacements-1-agentsmd-1-3-8) is the `internal/nodes/nodestest` TEST ONLY fixture.\n"
+ },
+ {
+ "path": "docs/handover/member-guide.md",
+ "offset": 459,
+ "before": "**Archived cut:** [follow-up 54](follow-up-54.md), #533, #534, #535 and #536 at `2f5159f3`; source-backed changes, verification boundaries and carried gaps.\n**Earlier archived cut:** [follow-up 53](follow-up-53.md), #529, #528, #530, #531 and #532 at `e055143e`; source-backed changes, verification boundaries and carried gaps.\n",
+ "after": "**Archived cut:** [follow-up 55](follow-up-55.md), #537 and #538 at `f57183f1`; source-backed changes, verification boundaries and carried gaps.\n**Earlier archived cut:** [follow-up 54](follow-up-54.md), #533, #534, #535 and #536 at `2f5159f3`; source-backed changes, verification boundaries and carried gaps.\n"
+ },
+ {
+ "path": "docs/handover/operator-guide.md",
+ "offset": 2319,
+ "before": "**Archived cut:** [follow-up 54](follow-up-54.md), #533, #534, #535 and #536 at `2f5159f3`; source-backed changes, verification boundaries and carried gaps.\n**Earlier archived cut:** [follow-up 53](follow-up-53.md), #529, #528, #530, #531 and #532 at `e055143e`; source-backed changes, verification boundaries and carried gaps.\n",
+ "after": "**Archived cut:** [follow-up 55](follow-up-55.md), #537 and #538 at `f57183f1`; source-backed changes, verification boundaries and carried gaps.\n**Earlier archived cut:** [follow-up 54](follow-up-54.md), #533, #534, #535 and #536 at `2f5159f3`; source-backed changes, verification boundaries and carried gaps.\n"
+ },
+ {
+ "path": "docs/handover/operator-guide.md",
+ "offset": 90477,
+ "before": " - **How to interpret `ISOLATION_POLICY_INVALID` on a serving vs. non-serving node, the 12-attempt fail-closed bound, revoke `nodes` step outcomes (`D-070`), and the exit-group + `90 s` freshness fence (`#164`, `#166`, `#193`, `#194`, `#202`, `#206`, `#217`):** When `plane.Apply` returns `res.Verified == true` alongside a conntrack delete failure (`enforce.IsConntrackDeleteFailure(err)`) and the durably reserved serving-Apply delete-batch count remains below 12 (`1..11`), the verified nftables ruleset has already removed the revoked bindings from `@allowed_v4` and drops their upload and download packets ahead of `ct state established,related accept`. Therefore, `fvpn-agent` (`#166`) **keeps the verified serving ruleset installed (`member_forwarding_enabled: true`, local heartbeat `serving`, and `internet_only`, `qos`, `source_binding`, and `meter_path` checks `passed`)**, persists the failed `(addr, device_id, member_id)` entries under `pending_revocations` in local SQLite `meta` (merged with any newly dropped addresses on later generations and retried on every apply tick until `conntrack -D` succeeds), and reports one `NodeError` in `ObservationReport.errors` with `code: ISOLATION_POLICY_INVALID`, `stage: \"apply\"`, and `message: \"conntrack delete pending; serving ruleset verified\"`. By contrast, after **twelve durably reserved serving-Apply delete batches** leave deletes pending (`maxConntrackDeleteAttempts = 12`; a crash or earlier Apply failure can consume a slot before deletion, and restart does not reset the count) or immediately when the `conntrack` binary is missing after preflight, `fvpn-agent` stops serving and attempts the fail-closed baseline (`e.plane.Baseline`, implemented by `SystemPlane.Baseline` through `enforce.ApplyBaseline`). In this conntrack-blocked state, operators see `member_forwarding_enabled=false`, `safety_status=failed`, and `forwarding_block_reasons` includes `safety_check_failed`; other reasons can coexist. With the baseline in force, `internet_only=failed` has `error_code: ISOLATION_POLICY_INVALID` and detail `\"Conntrack delete exceeded the retry bound.\"` or `\"Conntrack is not installed.\"`; without it, `internet_only` fails with `ISOLATION_BASELINE_MISSING`, meaning isolation is not confirmed. A retained `stage: \"apply\"` error makes `lease`, `qos` and `source_binding` fail with its code: the enforcement check's reason when it is a valid API code, otherwise `HEALTH_CHECK_FAILED`. Without a retained Apply error, a missing executable makes those checks fail with `DEPENDENCY_UNAVAILABLE`. While either failure is retained, `forwarding_block_reasons` includes `safety_check_failed` and the agent does not acknowledge the generation. An Apply failure outside the verified conntrack-delete exception, or a live verification failure routed to `rejectServing`, stops serving and attempts the baseline. For an eligible live `GENERATION_MISMATCH`, `repairGeneration` reports the failure before retrying the same generation with the current lease. A successful repair clears the error without a baseline; a failed repair stops serving and attempts the baseline. Separately, `METER_PATH_INVALID` on `meter_path` means the backend is not `kernel` or the meter failed; it adds `meter_path_invalid` and by itself does not withhold the generation acknowledgement.\n",
+ "after": " - **How to interpret `ISOLATION_POLICY_INVALID` on a serving vs. non-serving node, the 12-attempt fail-closed bound, and revoke `nodes` step outcomes (`D-070`):** Revoke `nodes` step outcomes are the captured outcomes in the next bullet. When `plane.Apply` returns `res.Verified == true` alongside a conntrack delete failure (`enforce.IsConntrackDeleteFailure(err)`) and the durably reserved serving-Apply delete-batch count remains below 12 (`1..11`), the verified nftables ruleset has already removed the revoked bindings from `@allowed_v4` and drops their upload and download packets ahead of `ct state established,related accept`. Therefore, `fvpn-agent` (`#166`) **keeps the verified serving ruleset installed (`member_forwarding_enabled: true`, local heartbeat `serving`, and `internet_only`, `qos`, `source_binding`, and `meter_path` checks `passed`)**, persists the failed `(addr, device_id, member_id)` entries under `pending_revocations` in local SQLite `meta` (merged with any newly dropped addresses on later generations and retried on every apply tick until `conntrack -D` succeeds), and reports one `NodeError` in `ObservationReport.errors` with `code: ISOLATION_POLICY_INVALID`, `stage: \"apply\"`, and `message: \"conntrack delete pending; serving ruleset verified\"`. By contrast, after **twelve durably reserved serving-Apply delete batches** leave deletes pending (`maxConntrackDeleteAttempts = 12`; a crash or earlier Apply failure can consume a slot before deletion, and restart does not reset the count) or immediately when the `conntrack` binary is missing after preflight, `fvpn-agent` stops serving and attempts the fail-closed baseline (`e.plane.Baseline`, implemented by `SystemPlane.Baseline` through `enforce.ApplyBaseline`). In this conntrack-blocked state, operators see `member_forwarding_enabled=false`, `safety_status=failed`, and `forwarding_block_reasons` includes `safety_check_failed`; other reasons can coexist. With the baseline in force, `internet_only=failed` has `error_code: ISOLATION_POLICY_INVALID` and detail `\"Conntrack delete exceeded the retry bound.\"` or `\"Conntrack is not installed.\"`; without it, `internet_only` fails with `ISOLATION_BASELINE_MISSING`, meaning isolation is not confirmed. A retained `stage: \"apply\"` error makes `lease`, `qos` and `source_binding` fail with its code: the enforcement check's reason when it is a valid API code, otherwise `HEALTH_CHECK_FAILED`. Without a retained Apply error, a missing executable makes those checks fail with `DEPENDENCY_UNAVAILABLE`. While either failure is retained, `forwarding_block_reasons` includes `safety_check_failed` and the agent does not acknowledge the generation. An Apply failure outside the verified conntrack-delete exception, or a live verification failure routed to `rejectServing`, stops serving and attempts the baseline. For an eligible live `GENERATION_MISMATCH`, `repairGeneration` reports the failure before retrying the same generation with the current lease. A successful repair clears the error without a baseline; a failed repair stops serving and attempts the baseline. Separately, `METER_PATH_INVALID` on `meter_path` means the backend is not `kernel` or the meter failed; it adds `meter_path_invalid` and by itself does not withhold the generation acknowledgement.\n"
+ },
+ {
+ "path": "docs/handover/operator-guide.md",
+ "offset": 100242,
+ "before": "The publication gate is agent evidence that forwarding is armed, not a traffic measurement. The [security-ops follow-up 4 publication record](../e2e/at/secops/publication.md) verifies both live halves of `SECOPS-11` (`422 VALIDATION_FAILED` when capacity is unset, then `202 -> succeeded` on a zero-binding published generation under `#148`), the [members follow-up 3 forwarding record](../e2e/at/members/history/follow-up-3/forwarding-observation.md) proves counted member forwarding (`0 -> 2214/2411` bytes, origin `200`) once the client selects the advertised exit, [devstack follow-up 9 (`#153`)](../e2e/followup9-verification.md), [devstack follow-up 10 (`#170`)](../e2e/RUN.md), [devstack follow-up 13 (`#204`, `#219`)](../e2e/RUN.md), and [devstack follow-up 14 (`#240`, [`docs/e2e/runs/2026-10-31/followup14/run.md`](../e2e/runs/2026-10-31/followup14/run.md))](../e2e/runs/2026-10-31/followup14/run.md) install `conntrack` and `tcpdump` in `deploy/devstack/Dockerfile.node`, add real device revocation/replacement (`device-revoke`), a dedicated updater probe peer (`FVPN_E2E_PROBE=1`, `update-good` with `probe_omission_count=0`, exported as `Stack.ProbePeer`, `Stack.ProbeWatchContainer`, and `Stack.WaitForProbeDatagram` in `#204`), 60-peer native admission, and a **second real exit lab hook** (`Stack.StartSecondExit` / `EnrollAt(..., \"node2\")` via `deploy/devstack/compose.yaml` `second-exit` profile, verified by `TestSecondExit` / `second-exit` as an operator-run prerequisite for multi-exit `AT09` and `AT21`), and the [security-ops follow-up 5 records (`#165`)](../e2e/at/secops/history/follow-up-5/README.md) verify counted serving flow through the selected exit ([`counted-flow.json`](../e2e/at/secops/history/follow-up-5/counted-flow.json), `SECOPS-09` closed with `0 -> 399` upload / `0 -> 678` download bytes, `usage_events = 2`, `usage_rollups = 4`, and zero `probe_up`/`probe_down` leakage), post-revoke control/node coherence ([`post-revoke.json`](../e2e/at/secops/history/follow-up-5/post-revoke.json), `F3-02` passing), `AT29` deadline and watchdog faults ([`deadlines.json`](../e2e/at/secops/history/follow-up-5/deadlines.json)), and the `AT31` 2-device counted-capacity subset ([`capacity.json`](../e2e/at/secops/history/follow-up-5/capacity.json)). In addition, [portal follow-up 10 (`#175`), follow-up 13 (`#208`), follow-up 14 (`#223`), and follow-up 15 (`#235`)](../../apps/portal/e2e/portal.spec.ts) replace single-shot post-operation DOM reads with auto-retrying web-first Playwright assertions (`toBeVisible`, `not.toHaveCount(0)`, `toContainText`), `OperationBanner` settlement checks, live-suite assertions that operations are never observed `failed` under default worker concurrency `4`, operator copy for the provisional lease window (`awaiting_member_grants` / `AWAITING_MEMBER_GRANTS`) and `NodeDetail.identity_conflict` (`D-072`), and cached `202` `ETag` handling on `/admin/nodes/{id}` showing the saved banner only after the post-save refetch settles; [agent follow-up 14 (`#181`)](../../node/agent/review_d063_test.go) synchronizes meter review sampling via `manualUsage` / `Meter.Barrier` (`node/agent/engine_test.go`), proves `Meter.Run` skips an `ErrBusy` tick without losing counters (`TestMTR03_RunSkipsBusySampleWithoutLosingCounters` in `node/internal/meter/meter_test.go`), and pins the test clock in `TestProbeException_AbsentChallengeDoesNotInstall` (`node/agent/probeexc_test.go`); [devstack follow-up 11 (`#182`)](../e2e/followup11-verification.md), [devstack follow-up 12 (`#196`, `#199`)](../e2e/scenarios/device-revoke.md), [devstack follow-up 13 (`#204`, `#219`, run `4c97ebef`)](../e2e/scenarios/device-revoke.md) (`26 pass / 1 blocked / 0 fail`), and **[devstack follow-up 14 (`#240`, [`docs/e2e/runs/2026-10-31/followup14/run.md`](../e2e/runs/2026-10-31/followup14/run.md))](../e2e/runs/2026-10-31/followup14/run.md)** (**`29 pass / 0 blocked / 0 fail`** acceptance suite in run `4e3e9487-fe0f-4d88-a396-d5d5fa4a8e1d` and **`16 pass / 0 blocked / 0 fail`** harness export suite in run `0a687f3a-2351-4234-b43d-882109267967`, [`docs/e2e/README.md`](../e2e/README.md), [`docs/e2e/RUN.md`](../e2e/RUN.md), [`docs/e2e/requests.md`](../e2e/requests.md), [`docs/e2e/scenarios/gateway-principals.md`](../e2e/scenarios/gateway-principals.md), [`docs/e2e/scenarios/device-revoke.md`](../e2e/scenarios/device-revoke.md)) exercise lab `trusted_proxies` (`/32` gateway trust) and nginx `X-Forwarded-For` (`gateway-principals`, `fvpn-e2e-nodeconfig http-burst`), add the **TEST ONLY** finite-grace prepare option (`fvpn-e2e-prepare -grace-seconds N` / `FVPN_E2E_GRACE_SECONDS`, `SECOPS-04`), prove controlled stale-client revocation (`Stack.PauseNativeControl` `SIGSTOP` in `device-revoke` with 3-point `tcpdump` capture confirming `peer_tx_packets > 0`, `mor0_rx_packets == 0`, and `uplink_packets == 0` after `#196`) plus **strict post-revoke member-ingress proof on `fvmb0`** (`#219`, `Stack.InjectMemberIngress` and `Stack.ObserveMemberIngress` via `fvpn-netlab inject`: a frame injected on `fvmb0` with the revoked device's overlay IPv4 raises the `inet fvpn forward` drop counter `ctunku` by `1` while `u_` stays `0` and nothing leaves `fvup0` or reaches the origin, an admitted sibling device on the same member moves `u_` by `1` and reaches the origin, and the 4th replacement device is counted on the same agent PID; `ENR-05` and `ENR-06` `RerunInstaller` and `ControlledReinstall`, production `D-072` cloned-identity conflict across a second `/24` lab network `172.29..0/24` on `node-clone`, `worker-restart` `SIGKILL` PID 1 with `/readyz` within `30 s`, `past_due` keeping `paid` `SECOPS-17`, and lab-only removal of Docker's embedded-DNS `ip nat` rules in the node container entrypoint all pass in `#240`), add read-only node resource telemetry (`Stack.StartNodeTelemetry` at `5s` cadence sampling cgroup v2 CPU/memory, process FDs, and `nf_conntrack_count` — workload measurement only, not hardware certification), and expand the port base table to 10 slots (`6000 + 6000*n`, `n = 0..9`: `12000` assigned to `w4-enroll`, `6000` reserved, `18000..60000` unchanged, `66000` rejected); [enrollment follow-up 3 (`#229`, run `60a7102e-b824-4927-a576-62033f458157`)](../e2e/at/enrollment/history/follow-up-3/summary.md) ([`requests.md`](../e2e/at/enrollment/requests.md), [`AT06.md`](../e2e/at/enrollment/AT06.md), [`AT07.md`](../e2e/at/enrollment/AT07.md)) closes `ENR-08` on the production cloned-identity caller and records `AT06` (`254` passing, `1` blocked, `0` failed; blocked item is `rate_limit_review` browser-class `429`s on `GET /api/v1/admin/audit-events` and `GET /api/v1/admin/nodes/{id}/incarnations` that succeeded after `Retry-After` under `D-078`) and `AT07` (`15` passing, `7` blocked, `0` failed; blocked on `ENR-07` second-`/24` lab network export and `ENR-05`/`ENR-06` devstack wiring) as **subset passed, case blocked**; [members follow-up 5 (`#201`)](../e2e/at/members/history/follow-up-5/summary.md) and [follow-up 6 (`#231`, run `80db103b-622c-42b1-946d-4628daaa213d`)](../e2e/at/members/history/follow-up-6/summary.md) ([`README.md`](../e2e/at/members/history/follow-up-6/README.md), [`requests.md`](../e2e/at/members/history/follow-up-6/requests.md), [`AT02.md`](../e2e/at/members/history/follow-up-6/AT02.md), [`AT09.md`](../e2e/at/members/history/follow-up-6/AT09.md)) pass **`AT02`** (follow-up 6: `42/0` subchecks, proving strict post-withdrawal `fvmb0` ingress injection via `Stack.ObserveMemberIngress` where the revoked device `100.104.160.29` raises `ctunku` `0 -> 1` with `0` forwarded bytes and `0` device counter changes while the admitted sibling `100.104.242.187` moves `u_` `31 -> 32` and `d_` `22 -> 23` and reaches `fvup0` and `origin`), **`AT03`**, and **`AT08`** (`3 pass / 7 blocked / 0 fail` in each run; `382` and `384` passing subchecks, `0` failed subchecks), while the remaining `7` cases stay **subset passed, case blocked** on lab/device resources and follow-up 6's `AT09` measures the `D-067` / revision 11 provisional window (`awaiting_member_grants` + `AWAITING_MEMBER_GRANTS` at `stage=lease`, never `lease_expired`) after a `node2` cold restart on unchanged generation `23` at **`36.976 s`** to serving-ready and **`41.695 s`** to first counted member byte; [isolation follow-up 3 (`#207`, previously reported run `c359fa37-61e0-4469-9f73-5a1e60949c3b`)](../e2e/at/isolation/history/follow-up-3/summary.md) and [isolation follow-up 4 (`#237`, run `fa0074cc-3b1a-403d-b8c2-3a3439fe2b7e`)](../e2e/at/isolation/history/follow-up-4/summary.md) ([follow-up 4 run record](../e2e/at/isolation/history/follow-up-4/AT10.json); the follow-up 3 archive lists a different run) record that follow-up 3 (`#207`) passes `AT10` with counted positives on every destination case and records `AT11`, `AT12`, and `AT13` as **subset passed, case blocked** on designed gaps with owners (`AT13` `60 s` whole-node expiry via `PUT /api/v1/admin/fleet-config` and finite-member expiry under control loss pass; remaining subchecks blocked on `ISO-08`), while follow-up 4 (`#237`, run `fa0074cc-3b1a-403d-b8c2-3a3439fe2b7e` on `205633f` before `#240`/`#241`) failed closed before member admission because Docker's embedded DNS `table ip nat` (`OUTPUT -> DOCKER_OUTPUT` / `POSTROUTING -> DOCKER_POSTROUTING` `xt` `DNAT`/`SNAT` for `127.0.0.11`) triggered `#220` `FLOWTABLE_BYPASS` (`0 pass / 4 blocked / 0 fail` on assembled `AT10`–`AT13` while mechanism controls `lab-AT10`–`lab-AT13` passed); [current usage follow-up 7](../e2e/at/usage/README.md) has later results; the earlier [usage follow-up 2 (`#214`, previously reported run `2393df75-6261-42bc-99b4-df3c57c4b741`)](../e2e/at/usage/history/followup2/summary.md) (the archive lists a different run) recorded passes `AT14`–`AT18` live on counted serving flow while `AT19` was **subset passed, case blocked** (`USG-04` multi-device HTB contention and `USG-05` dynamic line-rate shaping); and [security-ops follow-up 8 (`#221`, run `0f5fb60d-f6a7-45c6-8ebe-175e0a480bd8`)](../e2e/at/secops/history/follow-up-8/AT30.md) and [follow-up 9 (`#242`, run `42396951-2d9a-49f4-95c3-45f33d9519d5`)](../e2e/at/secops/history/follow-up-9/AT30.md) ([`restore-reconcile.md`](../e2e/at/secops/restore-reconcile.md), [`summary.md`](../e2e/at/secops/summary.md), [`requests.md`](../e2e/at/secops/requests.md)) measure the live `AT30` second half on `w4-secops`/`30000` (in `#221`, central database restored to `T0` in `3.64 s`, 2-minute `120.12 s` fail-safe negative, 5-step `fvpn-usage-admin` recovery protocol with `5/5` retained-node events replayed, `105.94 s` protocol RTO, `111.51 s` total outage RTO, `116.651 s` pre-replay database RPO, `0 s` post-replay service usage RPO, and provider reconciliation passed while `AT30` was blocked on `SECOPS-18`; in **follow-up 9 `#242`, run `42396951-2d9a-49f4-95c3-45f33d9519d5`**, **`AT30` passed live** — `1 pass / 4 blocked / 0 fail` across `AT28`–`AT32` — closing `SECOPS-18` `D-076` `#227`, `SECOPS-19` `#226` & `#225`, and `SECOPS-05` with `7.17 s` isolated PITR, `6/6` checklist sections, `120.12 s` fail-safe negative, `3/3` retained-node events `78833` B + `1` post-`T1` event `10160` B replayed, `90.301 s` pre-replay database RPO, `0 s` / `0 B` post-replay service usage RPO, `112.35 s` protocol RTO, `121.88 s` total outage RTO, `SECOPS-19` `3` unacked events / `\"2352\"` B during `reconciling` -> `0` after `complete-recovery`, and `D-076` fence + two negatives + `AuthorizeDevice` re-grant proven on `peerM2D2` `01a18f9b-a2a0-728f-8482-b08cc9b1a3ee`).\n",
+ "after": "The publication gate is agent evidence that forwarding is armed, not a traffic measurement. The [publication and forwarding evidence](../e2e/at/secops/publication.md) keeps the follow-up 4 negative operation-step refusal and successful zero-binding publication in [followup4-publication.json](../e2e/at/secops/followup4-publication.json) (`id` `SECOPS-11`) and then records a later populated publication on `446b6b0`. `publication.md` does not name `SECOPS-11`. The [members follow-up 3 forwarding record](../e2e/at/members/history/follow-up-3/forwarding-observation.md) proves counted member forwarding (`0 -> 2214/2411` bytes, origin `200`) once the client selects the advertised exit, [devstack follow-up 9 (`#153`)](../e2e/followup9-verification.md), [devstack follow-up 10 (`#170`)](../e2e/RUN.md), [devstack follow-up 13 (`#204`, `#219`)](../e2e/RUN.md), and [devstack follow-up 14 (`#240`, [`docs/e2e/runs/2026-10-31/followup14/run.md`](../e2e/runs/2026-10-31/followup14/run.md))](../e2e/runs/2026-10-31/followup14/run.md) install `conntrack` and `tcpdump` in `deploy/devstack/Dockerfile.node`, add real device revocation/replacement (`device-revoke`), a dedicated updater probe peer (`FVPN_E2E_PROBE=1`, `update-good` with `probe_omission_count=0`, exported as `Stack.ProbePeer`, `Stack.ProbeWatchContainer`, and `Stack.WaitForProbeDatagram` in `#204`), 60-peer native admission, and a **second real exit lab hook** (`Stack.StartSecondExit` / `EnrollAt(..., \"node2\")` via `deploy/devstack/compose.yaml` `second-exit` profile, verified by `TestSecondExit` / `second-exit` as an operator-run prerequisite for multi-exit `AT09` and `AT21`), and the [security-ops follow-up 5 records (`#165`)](../e2e/at/secops/history/follow-up-5/README.md) verify counted serving flow through the selected exit ([`counted-flow.json`](../e2e/at/secops/history/follow-up-5/counted-flow.json), `SECOPS-09` closed with `0 -> 399` upload / `0 -> 678` download bytes, `usage_events = 2`, `usage_rollups = 4`, and zero `probe_up`/`probe_down` leakage), post-revoke control/node coherence ([`post-revoke.json`](../e2e/at/secops/history/follow-up-5/post-revoke.json), `F3-02` passing), `AT29` deadline and watchdog faults ([`deadlines.json`](../e2e/at/secops/history/follow-up-5/deadlines.json)), and the `AT31` 2-device counted-capacity subset ([`capacity.json`](../e2e/at/secops/history/follow-up-5/capacity.json)). In addition, [portal follow-up 10 (`#175`), follow-up 13 (`#208`), follow-up 14 (`#223`), and follow-up 15 (`#235`)](../../apps/portal/e2e/portal.spec.ts) replace single-shot post-operation DOM reads with auto-retrying web-first Playwright assertions (`toBeVisible`, `not.toHaveCount(0)`, `toContainText`), `OperationBanner` settlement checks, live-suite assertions that operations are never observed `failed` under default worker concurrency `4`, operator copy for the provisional lease window (`awaiting_member_grants` / `AWAITING_MEMBER_GRANTS`) and `NodeDetail.identity_conflict` (`D-072`), and cached `202` `ETag` handling on `/admin/nodes/{id}` showing the saved banner only after the post-save refetch settles; [agent follow-up 14 (`#181`)](../../node/agent/review_d063_test.go) synchronizes meter review sampling via `manualUsage` / `Meter.Barrier` (`node/agent/engine_test.go`), proves `Meter.Run` skips an `ErrBusy` tick without losing counters (`TestMTR03_RunSkipsBusySampleWithoutLosingCounters` in `node/internal/meter/meter_test.go`), and pins the test clock in `TestProbeException_AbsentChallengeDoesNotInstall` (`node/agent/probeexc_test.go`); [devstack follow-up 11 (`#182`)](../e2e/followup11-verification.md), [devstack follow-up 12 (`#196`, `#199`)](../e2e/scenarios/device-revoke.md), [devstack follow-up 13 (`#204`, `#219`, run `4c97ebef`)](../e2e/scenarios/device-revoke.md) (`26 pass / 1 blocked / 0 fail`), and **[devstack follow-up 14 (`#240`, [`docs/e2e/runs/2026-10-31/followup14/run.md`](../e2e/runs/2026-10-31/followup14/run.md))](../e2e/runs/2026-10-31/followup14/run.md)** (**`29 pass / 0 blocked / 0 fail`** acceptance suite in run `4e3e9487-fe0f-4d88-a396-d5d5fa4a8e1d` and **`16 pass / 0 blocked / 0 fail`** harness export suite in run `0a687f3a-2351-4234-b43d-882109267967`, [`docs/e2e/README.md`](../e2e/README.md), [`docs/e2e/RUN.md`](../e2e/RUN.md), [`docs/e2e/requests.md`](../e2e/requests.md), [`docs/e2e/scenarios/gateway-principals.md`](../e2e/scenarios/gateway-principals.md), [`docs/e2e/scenarios/device-revoke.md`](../e2e/scenarios/device-revoke.md)) exercise lab `trusted_proxies` (`/32` gateway trust) and nginx `X-Forwarded-For` (`gateway-principals`, `fvpn-e2e-nodeconfig http-burst`), add the **TEST ONLY** finite-grace prepare option (`fvpn-e2e-prepare -grace-seconds N` / `FVPN_E2E_GRACE_SECONDS`, `SECOPS-04`), prove controlled stale-client revocation (`Stack.PauseNativeControl` `SIGSTOP` in `device-revoke` with 3-point `tcpdump` capture confirming `peer_tx_packets > 0`, `mor0_rx_packets == 0`, and `uplink_packets == 0` after `#196`) plus **strict post-revoke member-ingress proof on `fvmb0`** (`#219`, `Stack.InjectMemberIngress` and `Stack.ObserveMemberIngress` via `fvpn-netlab inject`: a frame injected on `fvmb0` with the revoked device's overlay IPv4 raises the `inet fvpn forward` drop counter `ctunku` by `1` while `u_` stays `0` and nothing leaves `fvup0` or reaches the origin, an admitted sibling device on the same member moves `u_` by `1` and reaches the origin, and the 4th replacement device is counted on the same agent PID; `ENR-05` and `ENR-06` `RerunInstaller` and `ControlledReinstall`, production `D-072` cloned-identity conflict across a second `/24` lab network `172.29..0/24` on `node-clone`, `worker-restart` `SIGKILL` PID 1 with `/readyz` within `30 s`, `past_due` keeping `paid` `SECOPS-17`, and lab-only removal of Docker's embedded-DNS `ip nat` rules in the node container entrypoint all pass in `#240`), add read-only node resource telemetry (`Stack.StartNodeTelemetry` at `5s` cadence sampling cgroup v2 CPU/memory, process FDs, and `nf_conntrack_count` — workload measurement only, not hardware certification), and expand the port base table to 10 slots (`6000 + 6000*n`, `n = 0..9`: `12000` assigned to `w4-enroll`, `6000` reserved, `18000..60000` unchanged, `66000` rejected); [enrollment follow-up 3 (`#229`, run `60a7102e-b824-4927-a576-62033f458157`)](../e2e/at/enrollment/history/follow-up-3/summary.md) ([`requests.md`](../e2e/at/enrollment/history/follow-up-3/requests.md), [`AT06.md`](../e2e/at/enrollment/history/follow-up-3/AT06.md), [`AT07.md`](../e2e/at/enrollment/history/follow-up-3/AT07.md)) closes `ENR-08` on the production cloned-identity caller and records `AT06` (`254` passing, `1` blocked, `0` failed; blocked item is `rate_limit_review` browser-class `429`s on `GET /api/v1/admin/audit-events` and `GET /api/v1/admin/nodes/{id}/incarnations` that succeeded after `Retry-After` under `D-078`) and `AT07` (`15` passing, `7` blocked, `0` failed; blocked on `ENR-07` second-`/24` lab network export and `ENR-05`/`ENR-06` devstack wiring) as **subset passed, case blocked**; [members follow-up 5 (`#201`)](../e2e/at/members/history/follow-up-5/summary.md) and [follow-up 6 (`#231`, run `80db103b-622c-42b1-946d-4628daaa213d`)](../e2e/at/members/history/follow-up-6/summary.md) ([`README.md`](../e2e/at/members/history/follow-up-6/README.md), [`requests.md`](../e2e/at/members/history/follow-up-6/requests.md), [`AT02.md`](../e2e/at/members/history/follow-up-6/AT02.md), [`AT09.md`](../e2e/at/members/history/follow-up-6/AT09.md)) pass **`AT02`** (follow-up 6: `42/0` subchecks, proving strict post-withdrawal `fvmb0` ingress injection via `Stack.ObserveMemberIngress` where the revoked device `100.104.160.29` raises `ctunku` `0 -> 1` with `0` forwarded bytes and `0` device counter changes while the admitted sibling `100.104.242.187` moves `u_` `31 -> 32` and `d_` `22 -> 23` and reaches `fvup0` and `origin`), **`AT03`**, and **`AT08`** (`3 pass / 7 blocked / 0 fail` in each run; `382` and `384` passing subchecks, `0` failed subchecks), while the remaining `7` cases stay **subset passed, case blocked** on lab/device resources and follow-up 6's `AT09` measures the `D-067` / revision 11 provisional window (`awaiting_member_grants` + `AWAITING_MEMBER_GRANTS` at `stage=lease`, never `lease_expired`) after a `node2` cold restart on unchanged generation `23` at **`36.976 s`** to serving-ready and **`41.695 s`** to first counted member byte; [isolation follow-up 3 (`#207`, previously reported run `c359fa37-61e0-4469-9f73-5a1e60949c3b`)](../e2e/at/isolation/history/follow-up-3/summary.md) and [isolation follow-up 4 (`#237`, run `fa0074cc-3b1a-403d-b8c2-3a3439fe2b7e`)](../e2e/at/isolation/history/follow-up-4/summary.md) ([follow-up 4 run record](../e2e/at/isolation/history/follow-up-4/AT10.json); the follow-up 3 archive lists a different run) record that follow-up 3 (`#207`) passes `AT10` with counted positives on every destination case and records `AT11`, `AT12`, and `AT13` as **subset passed, case blocked** on designed gaps with owners (`AT13` `60 s` whole-node expiry via `PUT /api/v1/admin/fleet-config` and finite-member expiry under control loss pass; remaining subchecks blocked on `ISO-08`), while follow-up 4 (`#237`, run `fa0074cc-3b1a-403d-b8c2-3a3439fe2b7e` on `205633f` before `#240`/`#241`) failed closed before member admission because Docker's embedded DNS `table ip nat` (`OUTPUT -> DOCKER_OUTPUT` / `POSTROUTING -> DOCKER_POSTROUTING` `xt` `DNAT`/`SNAT` for `127.0.0.11`) triggered `#220` `FLOWTABLE_BYPASS` (`0 pass / 4 blocked / 0 fail` on assembled `AT10`–`AT13` while mechanism controls `lab-AT10`–`lab-AT13` passed); [current usage follow-up 7](../e2e/at/usage/README.md) has later results; the earlier [usage follow-up 2 (`#214`, previously reported run `2393df75-6261-42bc-99b4-df3c57c4b741`)](../e2e/at/usage/history/followup2/summary.md) (the archive lists a different run) recorded passes `AT14`–`AT18` live on counted serving flow while `AT19` was **subset passed, case blocked** (`USG-04` multi-device HTB contention and `USG-05` dynamic line-rate shaping); and [security-ops follow-up 8 (`#221`, run `0f5fb60d-f6a7-45c6-8ebe-175e0a480bd8`)](../e2e/at/secops/history/follow-up-8/AT30.md) and [follow-up 9 (`#242`, run `42396951-2d9a-49f4-95c3-45f33d9519d5`)](../e2e/at/secops/history/follow-up-9/AT30.md) ([`restore-reconcile.md`](../e2e/at/secops/history/follow-up-9/restore-reconcile.md), [`summary.md`](../e2e/at/secops/history/follow-up-9/summary.md), [`requests.md`](../e2e/at/secops/history/follow-up-9/requests.md)) measure the live `AT30` second half on `w4-secops`/`30000` (in `#221`, central database restored to `T0` in `3.64 s`, 2-minute `120.12 s` fail-safe negative, 5-step `fvpn-usage-admin` recovery protocol with `5/5` retained-node events replayed, `105.94 s` protocol RTO, `111.51 s` total outage RTO, `116.651 s` pre-replay database RPO, `0 s` post-replay service usage RPO, and provider reconciliation passed while `AT30` was blocked on `SECOPS-18`; in **follow-up 9 `#242`, run `42396951-2d9a-49f4-95c3-45f33d9519d5`**, **`AT30` passed live** — `1 pass / 4 blocked / 0 fail` across `AT28`–`AT32` — closing `SECOPS-18` `D-076` `#227`, `SECOPS-19` `#226` & `#225`, and `SECOPS-05` with `7.17 s` isolated PITR, `6/6` checklist sections, `120.12 s` fail-safe negative, `3/3` retained-node events `78833` B + `1` post-`T1` event `10160` B replayed, `90.301 s` pre-replay database RPO, `0 s` / `0 B` post-replay service usage RPO, `112.35 s` protocol RTO, `121.88 s` total outage RTO, `SECOPS-19` `3` unacked events / `\"2352\"` B during `reconciling` -> `0` after `complete-recovery`, and `D-076` fence + two negatives + `AuthorizeDevice` re-grant proven on `peerM2D2` `01a18f9b-a2a0-728f-8482-b08cc9b1a3ee`).\n"
+ },
+ {
+ "path": "docs/handover/operator-guide.md",
+ "offset": 158857,
+ "before": "Both updater units have removed `refresh-boot-id` and no longer make `/etc/vpn-node` writable. Historically, the installer follow-up 2 systemd container lifecycle gate did not run because the shared host exhausted `fs.inotify.max_user_instances=128`. Installer follow-up 3 (#279) now verifies install, offline seed and firstboot with real daemons. The NetBird daemon owns `/run/fvpn-netbird/netbird.sock`; the shared runtime survives consumer restarts. The required `TestD089_RealSeedThenJournaledUpgrade` remains **red**: missing `state/meter.checkpoint` produces `CHECKPOINT_FAILED` at `final_sample`, null health and a rolled-back result even though the updater exits 0. The privileged suite is 9 pass / 1 required fail. Agent-core follow-up 24 owns the meter checkpoint; candidate release identity/health also needs integration. The offline suite uses a TEST ONLY NetBird `up` adapter, so real registration and AT07 reruns remain required. See [installer follow-up 3](../node/install-followup3-2026-10-31.md) and the [updates F9-01…F9-05 requests](../e2e/at/updates/requests.md).\n",
+ "after": "Both updater units have removed `refresh-boot-id` and no longer make `/etc/vpn-node` writable. Historically, the installer follow-up 2 systemd container lifecycle gate did not run because the shared host exhausted `fs.inotify.max_user_instances=128`. Installer follow-up 3 (#279) now verifies install, offline seed and firstboot with real daemons. The NetBird daemon owns `/run/fvpn-netbird/netbird.sock`; the shared runtime survives consumer restarts. The required `TestD089_RealSeedThenJournaledUpgrade` remains **red**: missing `state/meter.checkpoint` produces `CHECKPOINT_FAILED` at `final_sample`, null health and a rolled-back result even though the updater exits 0. The privileged suite is 9 pass / 1 required fail. Agent-core follow-up 24 owns the meter checkpoint; candidate release identity/health also needs integration. The offline suite uses a TEST ONLY NetBird `up` adapter, so real registration and AT07 reruns remain required. See [installer follow-up 3](../node/install-followup3-2026-10-31.md) and the [updates F9-01…F9-05 requests](../e2e/at/updates/history/follow-up-9/requests.md).\n"
+ },
+ {
+ "path": "docs/handover/operator-guide.md",
+ "offset": 223707,
+ "before": "- **Live measurements, 60-peer admission figures, gateway notes, and secops follow-up 7 verdicts (`#152`, `#161`, `#165`, `#170`, `#178`, `#182`, `#203`, [`docs/e2e/at/secops/summary.md`](../e2e/at/secops/summary.md), [`docs/e2e/at/secops/limiter.md`](../e2e/at/secops/limiter.md), [`docs/e2e/at/secops/limiter.json`](../e2e/at/secops/limiter.json), [`docs/e2e/at/secops/capacity.json`](../e2e/at/secops/capacity.json), [`docs/e2e/at/secops/deadlines.json`](../e2e/at/secops/deadlines.json), [`docs/e2e/at/secops/node-telemetry.json`](../e2e/at/secops/node-telemetry.json), [`docs/e2e/at/secops/gateway-inventory.json`](../e2e/at/secops/gateway-inventory.json), [`docs/e2e/at/secops/secret-scan.json`](../e2e/at/secops/secret-scan.json), [`docs/e2e/at/secops/requests.md`](../e2e/at/secops/requests.md), [`docs/e2e/scenarios/gateway-principals.md`](../e2e/scenarios/gateway-principals.md), [`docs/e2e/RUN.md`](../e2e/RUN.md)):**\n",
+ "after": "- **Live measurements, 60-peer admission figures, gateway notes, and secops follow-up 7 verdicts (`#152`, `#161`, `#165`, `#170`, `#178`, `#182`, `#203`, [`docs/e2e/at/secops/history/follow-up-7/summary.md`](../e2e/at/secops/history/follow-up-7/summary.md), [`docs/e2e/at/secops/limiter.md`](../e2e/at/secops/limiter.md), [`docs/e2e/at/secops/limiter.json`](../e2e/at/secops/limiter.json), [`docs/e2e/at/secops/capacity.json`](../e2e/at/secops/capacity.json), [`docs/e2e/at/secops/deadlines.json`](../e2e/at/secops/deadlines.json), [`docs/e2e/at/secops/node-telemetry.json`](../e2e/at/secops/node-telemetry.json), [`docs/e2e/at/secops/gateway-inventory.json`](../e2e/at/secops/gateway-inventory.json), [`docs/e2e/at/secops/history/follow-up-7/secret-scan.json`](../e2e/at/secops/history/follow-up-7/secret-scan.json), [`docs/e2e/at/secops/history/follow-up-7/requests.md`](../e2e/at/secops/history/follow-up-7/requests.md), [`docs/e2e/scenarios/gateway-principals.md`](../e2e/scenarios/gateway-principals.md), [`docs/e2e/RUN.md`](../e2e/RUN.md)):**\n"
+ },
+ {
+ "path": "docs/handover/operator-guide.md",
+ "offset": 226136,
+ "before": " - **`SECOPS-10` 60-peer native admission and counted-traffic figures (`#170`, `#178`, `#203`, `docs/e2e/at/secops/summary.md`, `docs/e2e/at/secops/capacity.json`, `docs/e2e/at/secops/node-telemetry.json`, `docs/e2e/at/secops/gateway-inventory.json` — shared development host, not candidate hardware):** After devstack follow-up 10 (`#170`) raised lab nginx to `worker_processes 2` × `worker_connections 4096` with a `.128/25` dynamic member address pool, security-ops follow-up 6 (`#178`) and follow-up 7 (`#203`, run `ab96acac-8713-485a-9c29-88f20110e2e5`) measured `20` users × `3` devices = `60` real native NetBird peers (`60/60` `authorized`, `60/60` distinct `/32` `overlay_ipv4`, `0` failed operations) on fresh stacks (`w4-secops` / `30000`) **on the shared development host, not candidate hardware**:\n",
+ "after": " - **`SECOPS-10` 60-peer native admission and counted-traffic figures (`#170`, `#178`, `#203`, follow-up 6 [summary](../e2e/at/secops/history/follow-up-6/summary.md) and follow-up 7 [summary](../e2e/at/secops/history/follow-up-7/summary.md), `docs/e2e/at/secops/capacity.json`, `docs/e2e/at/secops/node-telemetry.json`, `docs/e2e/at/secops/gateway-inventory.json` — shared development host, not candidate hardware):** After devstack follow-up 10 (`#170`) raised lab nginx to `worker_processes 2` × `worker_connections 4096` with a `.128/25` dynamic member address pool, security-ops follow-up 6 (`#178`) and follow-up 7 (`#203`, run `ab96acac-8713-485a-9c29-88f20110e2e5`) measured `20` users × `3` devices = `60` real native NetBird peers (`60/60` `authorized`, `60/60` distinct `/32` `overlay_ipv4`, `0` failed operations) on fresh stacks (`w4-secops` / `30000`) **on the shared development host, not candidate hardware**:\n"
+ },
+ {
+ "path": "docs/handover/operator-guide.md",
+ "offset": 230387,
+ "before": " - **Security-ops follow-up 7, follow-up 8, and follow-up 9 case verdicts (`#203`, run `ab96acac-8713-485a-9c29-88f20110e2e5`; `#221`, run `0f5fb60d-f6a7-45c6-8ebe-175e0a480bd8`; `#242`, run `42396951-2d9a-49f4-95c3-45f33d9519d5`, [`docs/e2e/at/secops/summary.md`](../e2e/at/secops/summary.md), [`docs/e2e/at/secops/AT30.md`](../e2e/at/secops/AT30.md), [`docs/e2e/at/secops/restore-reconcile.md`](../e2e/at/secops/restore-reconcile.md), [`docs/e2e/at/secops/requests.md`](../e2e/at/secops/requests.md)):** In **security-ops follow-up 9 (`#242`, run `42396951-2d9a-49f4-95c3-45f33d9519d5`)**, **`AT30` is `passed` live** (`1 pass / 4 blocked / 0 fail` across `AT28`–`AT32`, closing `SECOPS-18`, `SECOPS-19`, and `SECOPS-05`), while `AT28`, `AT29`, `AT31`, and `AT32` remain **`blocked`** with passed subsets:\n - **`AT28`:** subset passed, case blocked on remaining items in [`docs/e2e/at/secops/AT28.md`](../e2e/at/secops/AT28.md) and `SECOPS-20` (trusted-proxy principal isolation, per-class rate limiters, `8 MiB` `SubmitUsageBatch` body boundary, and secret-scan checks passed; follow-up 8 `#221` also verified `#205` unmapped-peer discovery-denial audit deduplication across two worker cycles with `audit_events` count `= 1` on `fleet_config:00000000-0000-0000-0000-000000000001`).\n",
+ "after": " - **Security-ops follow-up 7, follow-up 8, and follow-up 9 case verdicts (`#203`, run `ab96acac-8713-485a-9c29-88f20110e2e5`; `#221`, run `0f5fb60d-f6a7-45c6-8ebe-175e0a480bd8`; `#242`, run `42396951-2d9a-49f4-95c3-45f33d9519d5`, follow-up 7 [summary](../e2e/at/secops/history/follow-up-7/summary.md) and [requests](../e2e/at/secops/history/follow-up-7/requests.md); follow-up 8 [summary](../e2e/at/secops/history/follow-up-8/summary.md), [AT30](../e2e/at/secops/history/follow-up-8/AT30.md), [restore-reconcile](../e2e/at/secops/history/follow-up-8/restore-reconcile.md) and [requests](../e2e/at/secops/history/follow-up-8/requests.md); follow-up 9 [summary](../e2e/at/secops/history/follow-up-9/summary.md), [AT30](../e2e/at/secops/history/follow-up-9/AT30.md), [restore-reconcile](../e2e/at/secops/history/follow-up-9/restore-reconcile.md) and [requests](../e2e/at/secops/history/follow-up-9/requests.md)):** In **security-ops follow-up 9 (`#242`, run `42396951-2d9a-49f4-95c3-45f33d9519d5`)**, **`AT30` is `passed` live** (`1 pass / 4 blocked / 0 fail` across `AT28`–`AT32`, closing `SECOPS-18`, `SECOPS-19`, and `SECOPS-05`), while `AT28`, `AT29`, `AT31`, and `AT32` remain **`blocked`** with passed subsets:\n - **`AT28`:** full status blocked; the full case was not rerun ([`docs/e2e/at/secops/AT28.md`](../e2e/at/secops/AT28.md); scoped evidence [`SECOPS-16.json`](../e2e/at/secops/SECOPS-16.json); earlier measurements in [follow-up 9 history](../e2e/at/secops/history/follow-up-9/AT28.json)). `SECOPS-20` (trusted-proxy principal isolation, per-class rate limiters, `8 MiB` `SubmitUsageBatch` body boundary, and secret-scan checks passed; follow-up 8 `#221` also verified `#205` unmapped-peer discovery-denial audit deduplication across two worker cycles with `audit_events` count `= 1` on `fleet_config:00000000-0000-0000-0000-000000000001`).\n"
+ },
+ {
+ "path": "docs/handover/operator-guide.md",
+ "offset": 232320,
+ "before": " - **Historical live `AT30` (`#242`, run `42396951-2d9a-49f4-95c3-45f33d9519d5`, 2026-10-30 EDT): passed.** Isolated restore `7.17 s` with `6/6` checklist sections; `120.12 s` fail-safe negative without epoch rotation; retained replay `3/3` hashes with zero loss/duplicates/gaps; pre-replay DB RPO `90.301 s`, service RPO `0 s` / `0 B`, protocol RTO `112.35 s`, total outage RTO `121.88 s`. D-076 fenced the T0..T1 revoked device, an old idempotency replay kept the fence, fresh re-grant restored counted forwarding, and both the centrally revoked and newly enrolled negatives behaved correctly (SECOPS-18). During the hold, `node_observations.report_payload.usage` and `fvpn-agent usage snapshot` showed three unacked events / `2352` payload bytes, then zero after replay (SECOPS-19). The run predates the admin HTTP route and `NodeDetail.usage_outbox`; it exercised service-level re-authorization. See [restore drill §2.6](restore-drill.md#historical-follow-up-9-242) and [`docs/e2e/at/secops/AT30.md`](../e2e/at/secops/AT30.md) for the evidence and the separate historical #221 values.\n",
+ "after": " - **Historical live `AT30` (`#242`, run `42396951-2d9a-49f4-95c3-45f33d9519d5`, 2026-10-30 EDT): passed.** Isolated restore `7.17 s` with `6/6` checklist sections; `120.12 s` fail-safe negative without epoch rotation; retained replay `3/3` hashes with zero loss/duplicates/gaps; pre-replay DB RPO `90.301 s`, service RPO `0 s` / `0 B`, protocol RTO `112.35 s`, total outage RTO `121.88 s`. D-076 fenced the T0..T1 revoked device, an old idempotency replay kept the fence, fresh re-grant restored counted forwarding, and both the centrally revoked and newly enrolled negatives behaved correctly (SECOPS-18). During the hold, `node_observations.report_payload.usage` and `fvpn-agent usage snapshot` showed three unacked events / `2352` payload bytes, then zero after replay (SECOPS-19). The run predates the admin HTTP route and `NodeDetail.usage_outbox`; it exercised service-level re-authorization. See [restore drill §2.6](restore-drill.md#historical-follow-up-9-242) and [follow-up 9 AT30](../e2e/at/secops/history/follow-up-9/AT30.md) for the `#242` evidence and [follow-up 8 AT30](../e2e/at/secops/history/follow-up-8/AT30.md) for the historical `#221` values.\n"
+ },
+ {
+ "path": "docs/handover/restore-drill.md",
+ "offset": 446,
+ "before": "**Archived cut:** [follow-up 54](follow-up-54.md), #533, #534, #535 and #536 at `2f5159f3`; source-backed changes, verification boundaries and carried gaps.\n**Earlier archived cut:** [follow-up 53](follow-up-53.md), #529, #528, #530, #531 and #532 at `e055143e`; source-backed changes, verification boundaries and carried gaps.\n",
+ "after": "**Archived cut:** [follow-up 55](follow-up-55.md), #537 and #538 at `f57183f1`; source-backed changes, verification boundaries and carried gaps.\n**Earlier archived cut:** [follow-up 54](follow-up-54.md), #533, #534, #535 and #536 at `2f5159f3`; source-backed changes, verification boundaries and carried gaps.\n"
+ },
+ {
+ "path": "docs/node/README.md",
+ "offset": 18562,
+ "before": "If serving and QoS verification passed (`ApplyResult.Verified`) and only the conntrack flush failed (`IsConntrackDeleteFailure`), the agent retains and acknowledges the applied generation and keeps forwarding for up to twelve consecutive failed attempts. The count is attempts, not wall time: one verified serving apply is one attempt, so a long quiet gap does not spend the window. Twelve attempts at the default 10 second step are about two minutes. That is long enough that one transient `conntrack` error does not drop every member, and short enough that a broken delete cannot leave a revoked device's flows in place. The pending set is the identities whose `conntrack -D` failed. A re-admitted `(addr, device, member)` is dropped after that attempt, so the next tick does not run `conntrack -D` against the active device. Only the addresses whose delete failed stay pending and are retried; every other address in that revoke set is retired. While the count is under twelve the observation is one `ISOLATION_POLICY_INVALID` error at stage `apply`, message `conntrack delete pending; serving ruleset verified`, with `member_forwarding_enabled=true`, `safety_status=passed`, and every check passed. The `serving` heartbeat stays.\n",
+ "after": "If serving and QoS verification passed (`ApplyResult.Verified`) and only the conntrack flush failed (`IsConntrackDeleteFailure`), the agent retains and acknowledges the applied generation and keeps forwarding while the reserved count stays under `maxConntrackDeleteAttempts` (12). `reserveConntrack` persists that next count before Apply runs the delete batch. The count is reserved batches, not wall time: a crash or an earlier failure consumes a reservation, and a long quiet gap does not spend the window. One transient `conntrack` error does not by itself reach the bound. The pending set is the identities whose `conntrack -D` failed. A re-admitted `(addr, device, member)` is dropped after that attempt, so the next tick does not run `conntrack -D` against the active device. Only the addresses whose delete failed stay pending and are retried; every other address in that revoke set is retired. While the count is under twelve the observation is one `ISOLATION_POLICY_INVALID` error at stage `apply`, message `conntrack delete pending; serving ruleset verified`, with `member_forwarding_enabled=true`, `safety_status=passed`, and every check passed. The `serving` heartbeat stays.\n"
+ },
+ {
+ "path": "docs/nodes/README.md",
+ "offset": 889,
+ "before": "- `internal/exits` — Exit publication commands (`SetPublication`, `SetPublicationTx`), multi-step operation execution (`ExecuteOperation`), NetBird adapter integration with `external_bindings` idempotency, and NetBird read-back reconciliation (`ReconcileNetBird`).\n",
+ "after": "- `internal/exits` — Exit publication commands (`SetPublication`, `SetPublicationTx`), multi-step operation execution (`ExecuteOperation`), NetBird adapter integration with `external_bindings` idempotency, and NetBird read-back reconciliation (`ReconcileNetBird`). `ReconcileNetBird` compares observed NetBird routes and groups with `external_bindings` and does not change `publication_intent`. The exits service has the method. Its callers are the exits worker's `Reconcile` and an integration test. That worker is constructed only in the integration test. No production job calls it. Publication read-back stays an operation step.\n"
+ },
+ {
+ "path": "docs/nodes/README.md",
+ "offset": 28675,
+ "before": " - When `nodes.Service.SubmitObservation` receives a ready, safety-passing observation (`applied_config_generation >= desired_config_generation` and `safety_status == passed`), `advanceNodeOperationsOnObservation` transitions the `\"nodes\"` step on matching `member`, `entitlement_grant` (excluding future grants where `valid_from > now`), and `member_device` operations via `entitlement.TransitionOperation` with persisted `audit_event:` evidence.\n",
+ "after": " - When `nodes.Service.SubmitObservation` receives a ready, safety-passing observation (`applied_config_generation >= desired_config_generation` and `safety_status == passed`), `advanceNodeOperationsOnObservation` selects `resource_type = 'node'` only. Member, entitlement-grant, and member-device `\"nodes\"` steps are `observeOperationTargets` and `completeTargetOperation`: the step succeeds after the capture is finished and no captured target remains `pending`.\n"
+ },
+ {
+ "path": "docs/nodes/README.md",
+ "offset": 33670,
+ "before": " - `advanceNodeOperationsOnObservation` keeps the operation's `\"nodes\"` step in `status = \"pending\"` and records:\n",
+ "after": " - `completeTargetOperation` keeps the operation's `\"nodes\"` step in `status = \"pending\"` while a captured target is still `pending` with `ISOLATION_POLICY_INVALID`, and records:\n"
+ },
+ {
+ "path": "docs/nodes/README.md",
+ "offset": 34302,
+ "before": "`observed_refs.nodes_isolation_pending = \"report::gen::error:ISOLATION_POLICY_INVALID\"`",
+ "after": "`observed_refs.nodes_isolation_pending = {\"reference\": \"node_operation_capture:\", \"observed_at\": \"\"}`"
+ },
+ {
+ "path": "docs/nodes/README.md",
+ "offset": 35645,
+ "before": " - **Real fail-closed report (`agent.Decide` with `ConntrackBlocked = true`, D-070)**: after 12 consecutive `conntrack -D` failures (`\"Conntrack delete exceeded the retry bound.\"`) or when `conntrack` is missing (`\"Conntrack is not installed.\"`), the agent reports `member_forwarding_enabled = false`, `safety_status = \"failed\"`, `forwarding_block_reasons` containing `\"safety_check_failed\"`, check `internet_only` **`failed`** with `error_code = \"ISOLATION_POLICY_INVALID\"` (detail `\"Conntrack delete exceeded the retry bound.\"` or `\"Conntrack is not installed.\"`), and `{code: \"ISOLATION_POLICY_INVALID\", stage: \"apply\"}` still present in `errors` (which central `SubmitObservation` projects to `nodes.provisioning_state = \"applying\"`, `nodes.safety_status = \"failed\"`, `nodes.data_health = \"degraded\"`, `nodes.member_forwarding_observed = false`).\n - The `\"nodes\"` step transitions to `succeeded` (clearing `error_code`, `error_message`, `reason`, and `nodes_isolation_pending`) and appends a correlated `node.revoke_isolation_resolved` (`result = \"succeeded\"`) audit event only when no other registered, online node that shares an exit group with the member's plan and has a fresh observation within `DefaultStaleTimeout` (`90s` on both `last_observed_at` and `last_seen_at`; r14 H-1) still reports a pending `{code: \"ISOLATION_POLICY_INVALID\", stage: \"apply\"}` error while forwarding, and either:\n",
+ "after": " - **Real fail-closed report (`agent.Decide` with `ConntrackBlocked = true`, D-070)**: at `maxConntrackDeleteAttempts` (12) durably reserved serving-Apply delete batches (`\"Conntrack delete exceeded the retry bound.\"`), or immediately when `LookPath(\"conntrack\")` fails (`\"Conntrack is not installed.\"`; that miss does not use the reserved count), the agent reports `member_forwarding_enabled = false`, `safety_status = \"failed\"`, and `forwarding_block_reasons` containing `\"safety_check_failed\"`. Check `internet_only` is **`failed`** with `error_code = \"ISOLATION_POLICY_INVALID\"` and the conntrack detail only when the baseline is verified; otherwise that check is `ISOLATION_BASELINE_MISSING`. A missing-baseline block is not `node_failed_closed`, because `isFailClosedIsolationApplyError` returns false when any error is `ISOLATION_BASELINE_MISSING`. `{code: \"ISOLATION_POLICY_INVALID\", stage: \"apply\"}` can still be present in `errors` (which central `SubmitObservation` projects to `nodes.provisioning_state = \"applying\"`, `nodes.safety_status = \"failed\"`, `nodes.data_health = \"degraded\"` when the reported health is `healthy`, `nodes.member_forwarding_observed = false`).\n - The direct updates of `observeOperationTargets` acknowledge, or mark `pending`, only the reporting node's own targets. In the same transaction `refreshUnconfirmedTargets` then checks every target of those operations that is not `acknowledged`, on any node, skipping rows that another transaction holds. A target becomes `unconfirmed`, with the first reason that applies, when its node is revoked or retired (`node_revoked`, `node_retired`), its node's last observation is missing or more than 90 seconds older than this report's `observed_at` (`observation_stale`), its node was never seen or not within 90 seconds (`contact_stale`), or its node is not `online` (`node_offline`). An `unconfirmed` target whose node has none of these returns to `pending`. `completeTargetOperation` transitions the `\"nodes\"` step to `succeeded` (clearing `error_code`, `error_message`, `reason`, and `nodes_isolation_pending`) after the capture is finished and no captured target remains `pending`, and records `member.nodes_completed`. One reporting node's clean observation does not acknowledge another node's target. A target left `unconfirmed` does not block that success. A per-target `node.revoke_isolation_resolved` audit is written only when the reporting node's own target is acknowledged: with `resolution = \"conntrack_delete_succeeded\"` for a clean report after a previous isolation error, or with `resolution = \"node_failed_closed\"` for any report that is not clean (a clean report has central `safety_status = \"passed\"`, reported `provisioning_state = \"ready\"` and no isolation apply error). A report that is not clean acknowledges a target only when the report is closed (the fail-closed shape below, or a report that does not forward, has no isolation apply error and passes `internet_only`) and the subject is absent from that target's generation (`subject_present = false`). The reporting node's outcomes are:\n"
+ },
+ {
+ "path": "docs/nodes/README.md",
+ "offset": 37341,
+ "before": " 2. **Node fails closed (`resolution = \"node_failed_closed\"`, D-070)**: `isFailClosedIsolationApplyError` matches the agent's real fail-closed shape (`member_forwarding_enabled = false`, `safety_status = \"failed\"`, `forwarding_block_reasons` contains `\"safety_check_failed\"`, check `internet_only` failed with `ISOLATION_POLICY_INVALID`, and the `ISOLATION_POLICY_INVALID` apply error in `errors`). The revocation's effect holds because nothing is forwarded on the node, while the node failure is surfaced by `safety_status = \"failed\"` and `forwarding_block_reasons = [\"safety_check_failed\"]`.\n",
+ "after": " 2. **Node fails closed (`resolution = \"node_failed_closed\"`, D-070)**: `isFailClosedIsolationApplyError` matches the agent's real fail-closed shape (`member_forwarding_enabled = false`, `safety_status = \"failed\"`, `forwarding_block_reasons` contains `\"safety_check_failed\"`, check `internet_only` failed with `ISOLATION_POLICY_INVALID`, and the `ISOLATION_POLICY_INVALID` apply error in `errors`) and returns false when any error is `ISOLATION_BASELINE_MISSING`. The agent sets `internet_only` to `ISOLATION_POLICY_INVALID` only when the baseline is verified and conntrack is blocked; otherwise that check is `ISOLATION_BASELINE_MISSING`, and the block is not `node_failed_closed`. The revocation's effect holds because nothing is forwarded on the node, while the node failure is surfaced by `safety_status = \"failed\"` and `forwarding_block_reasons = [\"safety_check_failed\"]`.\n"
+ },
+ {
+ "path": "docs/nodes/README.md",
+ "offset": 39445,
+ "before": " - On `fvpn-agent` restart (`node/agent/engine.go:Start`/`Boot`), in the first `(*agent.Engine).Step` (`node/agent/engine.go:572-608`):\n 1. `(*Engine).syncDesired` (`node/agent/sync.go:23-81`) verifies the desired state envelope (`e.desiredOK = true`).\n 2. `(*Engine).syncLease` (`node/agent/sync.go`) can call `POST /api/v1/agent/lease-renewals` when eligible. If provisioning is already ready (which can be preserved across restart and concurrent generation advances), grants still require eligible publication, unfrozen mapping, groups and members. A registered, published node that is applying or frozen gets a grant-less lease capped at 60s. `(*Engine).noteProvisionalSchedule` plans the next renewal after one heartbeat, doubling up to 60s; renewal lead can shorten the slot and Retry-After and ongoing I/O can delay the attempt.\n 3. Still in the first `Step`, `(*Engine).evaluate` (`node/agent/engine.go:610-635`) runs `(*Engine).refreshProbe` (`e.lastProbe.Ran = true`) and `agent.Decide` (`node/agent/decide.go:110-310`), which sets `d.Applied = uint64(in.Desired.ConfigGeneration)`, `d.Provisioning = api.ProvisioningStateReady` (`provisioningOf` at `decide.go:495-506`), and `d.Safety = api.SafetyStatusPassed` (`safetyOf` at `decide.go:454-486`) as soon as baseline checks (`internet_only`, `meter_path`, `tunnel_probe`, `dns_policy`, `policy_signature`, `release_supported`, `storage`) pass—even while `d.Serve == false` with `awaiting_member_grants`.\n 4. In the ordinary non-serving branch, `(*Engine).enforce` attempts the baseline and calls `(*Engine).ackApplied(ctx, d.Applied)` only after successful enforcement; a failed baseline is not confirmed.\n 5. `(*Engine).observe` + `(*Engine).flush` (`node/agent/observe.go:19-44, 217-249`) immediately send the first observation (`e.lastObs.IsZero()` is true on the first step after restart) to `POST /api/v1/agent/observations`.\n 6. Central `(*nodes.Service).SubmitObservation` (`internal/nodes/observations.go:237-295`) verifies `effectiveSafety == api.SafetyStatusPassed` and `applied_config_generation >= desired_config_generation` (`acknowledged == true`), flipping `nodes.provisioning_state = 'ready'` and `nodes.safety_status = 'passed'` **on that first accepted observation**.\n",
+ "after": " - On `fvpn-agent` restart, the ordinary path of `(*agent.Engine).Step` (`node/agent/engine.go:682`) is:\n 1. A grant-less `(*Engine).syncLease` (`node/agent/sync.go:85`, called at `engine.go:749`) runs before `(*Engine).syncDesired` (`node/agent/sync.go:25`, called at `engine.go:758`). `syncDesired` sets `e.desiredOK = true` when the envelope verifies.\n 2. `syncLease` runs again at `engine.go:770` and can call `POST /api/v1/agent/lease-renewals` when eligible. If provisioning is already ready (which can be preserved across restart and concurrent generation advances), grants still require eligible publication, unfrozen mapping, groups and members. A registered, published node that is applying or frozen gets a grant-less lease capped at 60s. `(*Engine).noteProvisionalSchedule` plans the next renewal after one heartbeat, doubling up to 60s; renewal lead can shorten the slot and Retry-After and ongoing I/O can delay the attempt.\n 3. `(*Engine).evaluate` (`node/agent/attest.go:71`, called at `engine.go:789`) runs `(*Engine).refreshProbe` and `Decide` (`node/agent/decide.go:114`). `provisioningOf` is `decide.go:521`. `safetyOf` is `decide.go:480` and does not read whether the decision serves.\n 4. `(*Engine).enforce` (`node/agent/engine.go:1087`, called at `engine.go:790`) attempts the baseline in the ordinary non-serving branch and calls `ackApplied` only after that baseline succeeds; a failed baseline is not confirmed.\n 5. `(*Engine).renewAppliedLease` (`engine.go:795`) runs before `(*Engine).observe` (`node/agent/observe.go:24`, called at `engine.go:804`) and `(*Engine).flush` (`observe.go:304`, called at `engine.go:805`). The first observation is due when `e.lastObs.IsZero()`.\n 6. Central `(*nodes.Service).SubmitObservation` gates a non-passed safety status or a failed acknowledgement at `internal/nodes/observations.go:283` and starts the node update at `observations.go:294`.\n"
+ },
+ {
+ "path": "docs/nodes/WIRING.md",
+ "offset": 3679,
+ "before": "| `renewServingLease` | Signed 24-hour default maximum (60 s D-067 backstop when `provisioning_state != 'ready'`), bounded member grants, natural renewal-ID replay without restarting deadlines, and transactional `ObserveEndpointTx` cloned-identity check (D-072). |\n",
+ "after": "| `renewServingLease` | Signed 24-hour default maximum (60 s D-067 cap for a published, registered node that is not provisioning-ready or whose mapping is frozen, and only when 60 seconds is shorter than the fleet maximum), bounded member grants, natural renewal-ID replay without restarting deadlines, and transactional `ObserveEndpointTx` cloned-identity check (D-072). |\n"
+ },
+ {
+ "path": "docs/nodes/WIRING.md",
+ "offset": 13361,
+ "before": "| `node.reconcile` | `fleetupdate.Reconcile`, expired-bootstrap erasure, then a delayed successor. |\n",
+ "after": "| `node.reconcile` | `ReconcileGenerationHolds`, then `fleetupdate.Reconcile`, then expired-bootstrap erasure, then a successor after the full `reconcile_seconds`. |\n"
+ },
+ {
+ "path": "docs/nodes/WIRING.md",
+ "offset": 24475,
+ "before": "| `authorization_seconds`, `online_seconds`, `stuck_seconds` | Explicit fleet authorization/online/watchdog windows. |\n| `reconcile_seconds`, `fetch_seconds`, `desired_state_seconds` | Explicit reconciliation, HTTP fetch and desired-envelope durations. |\n",
+ "after": "| `authorization_seconds`, `online_seconds`, `stuck_seconds` | Explicit fleet authorization, online, and watchdog windows. `online_seconds` is the offline threshold of `node.staleness.sweep`; that sweep's stale threshold is `min(90s, online_seconds)`. |\n| `reconcile_seconds`, `fetch_seconds`, `desired_state_seconds` | Explicit reconciliation, HTTP fetch, and desired-envelope durations. `reconcile_seconds` is the full `node.reconcile` successor delay, and `min(reconcile_seconds, 60)` is the bounded cadence shared by the staleness sweep and resolver reconciliation. |\n"
+ },
+ {
+ "path": "docs/nodes/WIRING.md",
+ "offset": 48347,
+ "before": "with a pending conntrack delete. It completes and emits `node.revoke_isolation_resolved`\n(`result = \"succeeded\"`) only when no other registered, online node that shares an exit group with\nthe member's plan and has a fresh observation within `DefaultStaleTimeout` (`90s` on both\n`last_observed_at` and `last_seen_at`, r14 H-1; an enrolled exit with no `exit_groups` row never\nholds the fence) still reports a pending `{code: \"ISOLATION_POLICY_INVALID\", stage: \"apply\"}`\nerror while forwarding,\nand either (a) a subsequent observation on the target generation clears the\n`ISOLATION_POLICY_INVALID` apply error (`resolution = \"conntrack_delete_succeeded\"`), or (b) the\nnode fails closed with the agent's real fail-closed observation shape (D-070:\n`member_forwarding_enabled = false`, `safety_status = \"failed\"`, `forwarding_block_reasons`\ncontains `\"safety_check_failed\"`, check `internet_only` **failed** with\n`error_code = \"ISOLATION_POLICY_INVALID\"` and detail `\"Conntrack delete exceeded the retry bound.\"`\nor `\"Conntrack is not installed.\"`, and the `{code: \"ISOLATION_POLICY_INVALID\", stage: \"apply\"}`\nerror still present in `errors`; `resolution = \"node_failed_closed\"`).\n",
+ "after": "with a pending conntrack delete. The `\"nodes\"` step succeeds after the capture is finished and no captured target remains `pending`. One clean report cannot settle another fresh `pending` target. Success may include `unconfirmed` targets. A per-target `node.revoke_isolation_resolved` audit (`result = \"succeeded\"`) is written only when the reporting node's own target is acknowledged: after a previous isolation error on a clean report (`resolution = \"conntrack_delete_succeeded\"`), or on any report that is not clean (`resolution = \"node_failed_closed\"`); a clean report has central `safety_status = \"passed\"`, reported `provisioning_state = \"ready\"` and no isolation apply error. A report that is not clean acknowledges a target only when the report is closed (the fail-closed shape below, or a report that does not forward, has no isolation apply error and passes `internet_only`) and the subject is absent from that target's generation (`subject_present = false`). The fail-closed shape is `member_forwarding_enabled = false`, `safety_status = \"failed\"`, `forwarding_block_reasons` contains `\"safety_check_failed\"`, and the `ISOLATION_POLICY_INVALID` apply error still present in `errors`. With a verified baseline, `internet_only` is failed with `ISOLATION_POLICY_INVALID` and detail `\"Conntrack delete exceeded the retry bound.\"` or `\"Conntrack is not installed.\"`. Without a verified baseline the code is `ISOLATION_BASELINE_MISSING`, and `isFailClosedIsolationApplyError` rejects that report.\n"
+ },
+ {
+ "path": "docs/nodes/WIRING.md",
+ "offset": 49680,
+ "before": "`publication_intent == 'published'`, `provisioning_state == 'ready'`, and `len(groupIDs) > 0`.\nWhen `includeMembers` is false on a registered, published exit because `provisioning_state` is\nnot `'ready'`, `RenewTx` issues the grant-less lease (`members: []`) on\n`config_generation == desired_config_generation` with `expires_at = issued_at + min(max_offline_seconds, 60s)`\n(`leases.ProvisionalGrantlessLeaseSeconds = 60`, D-067 central backstop), while keeping\n`max_offline_seconds` copied from `fleet_config.max_offline_lease_seconds`. Ready nodes\n(`provisioning_state == 'ready'`) are never shortened and keep the configured\n`max_offline_lease_seconds` window (D-065). Once the node's first ready observation after\nrestart is ingested by `nodes.Service.SubmitObservation` (`internal/nodes/observations.go:237-295`,\ntriggered on the first `(*agent.Engine).Step` via `evaluate`/`Decide` -> `enforce`/`ackApplied` ->\n`observe`/`flush` in `node/agent/engine.go:572-796`, `node/agent/decide.go:253-260,454-506`, and\n`node/agent/observe.go:19-44,217-249`), `nodes.provisioning_state` flips to `'ready'` immediately\non that first accepted observation, and the next `RenewTx` carries the member grants on the same\n`config_generation`. Once an incarnation has reached `provisioning_state = 'ready'`, at most\n",
+ "after": "`publication_intent == 'published'`, `provisioning_state == 'ready'`, `!mapping_frozen`, and `len(groupIDs) > 0`.\nA published, registered node that is not provisioning-ready, or whose mapping is frozen, gets\n`members: []` on `config_generation == desired_config_generation` and\n`expires_at = issued_at + min(max_offline_seconds, 60s)`\n(`leases.ProvisionalGrantlessLeaseSeconds = 60`, D-067 central backstop) when that cap is shorter\nthan the fleet maximum, while `max_offline_seconds` stays copied from `fleet_config.max_offline_lease_seconds`.\nA ready unfrozen node keeps the configured `max_offline_lease_seconds` window, including when it has no groups (D-065).\n`includeMembers` can still yield an empty entitlement list. Once the node's first ready observation after\nrestart is ingested by `nodes.Service.SubmitObservation` (the acknowledgement gate is `internal/nodes/observations.go:283` and the node update starts at `observations.go:294`; the ordinary `(*agent.Engine).Step` path is `node/agent/engine.go:682`, with `Decide` at `node/agent/decide.go:114`, `provisioningOf` at `decide.go:521`, `safetyOf` at `decide.go:480`, `observe` at `node/agent/observe.go:24`, and `flush` at `observe.go:304`), a later `RenewTx` carries member grants on the same\n`config_generation` only when publication, an unfrozen mapping, groups, and entitled members allow them. Once an incarnation has reached `provisioning_state = 'ready'`, at most\n"
+ },
+ {
+ "path": "docs/ops/README.md",
+ "offset": 419,
+ "before": "**Archived cut:** [follow-up 54](../handover/follow-up-54.md), #533, #534, #535 and #536 at `2f5159f3`; source-backed changes, verification boundaries and carried gaps.\n**Earlier archived cut:** [follow-up 53](../handover/follow-up-53.md), #529, #528, #530, #531 and #532 at `e055143e`; source-backed changes, verification boundaries and carried gaps.\n",
+ "after": "**Archived cut:** [follow-up 55](../handover/follow-up-55.md), #537 and #538 at `f57183f1`; source-backed changes, verification boundaries and carried gaps.\n**Earlier archived cut:** [follow-up 54](../handover/follow-up-54.md), #533, #534, #535 and #536 at `2f5159f3`; source-backed changes, verification boundaries and carried gaps.\n"
+ },
+ {
+ "path": "docs/ops/README.md",
+ "offset": 79615,
+ "before": "- [**Operator Guide (`../handover/operator-guide.md`)**](../handover/operator-guide.md) — Daily/weekly checklists, reading operations (worker contention is not failure `#205`/`#208`), audit trails (transition-only discovery denial audits on `fleet_config`), and current OpenAPI `1.11.0` revision 15 contract status (`50` operations; all 50 are wired on `main` after `revokeMemberGrant` registration in #297, including `listAdminDevices` and `authorizeMemberDevice` in `#238`/`#244` (`D-077`, `D-081`), `MemberDevice.authorization_unconfirmed` always emitted on `GET /api/v1/member/devices` (`D-077`, `D-076`), `NodeDetail.usage_outbox` (`#243`, `00189_node_incarnation_usage_outbox.sql`, `SECOPS-19` closed, with `ETag` participation), `listNodeIncarnations` `#200`, `Enrollment.token_sha256` `#195`, `awaiting_member_grants` / `ErrorCode.AWAITING_MEMBER_GRANTS` `D-071` `#213`/`#216`/`#223`/`#238`/`#243`, `NodeDetail.identity_conflict` `D-072` `#211`/`#213`/`#217`/`#223`/`#235` with `ETag` participation, and the original 12 node enforcement verification reasons plus `TC_FOREIGN_FILTER` in `ErrorCode` (#261)), node lifecycle (`#239` `fvpn-node-install` `docs/node/install.md`, `D-055`, `D-057`, `D-058`, `D-061`, `D-067` provisional grant-less lease renewal and central `60 s` expiry backstop `#193`/`#198`/`#206`/`#216`, `D-070` revoke `nodes` step outcomes `conntrack_delete_pending`/`conntrack_delete_succeeded`/`node_failed_closed` `#206` with `#217` exit-group + `90 s` freshness fence, `D-075` `#228` one-shot stale-generation grace column `node_incarnations.stale_generation_grace_at` (`00187_identity_roaming_and_readiness_grace.sql`), `D-072`/`D-073` cloned-identity conflict runbook `#211`/`#213`/`#217`/`#223`/`#228` with durable roaming candidate in `node_identity_endpoints`, `D-074` `#224` gated `node.publish` waiting state, `#225`/`#232` pure-read `fvpn-agent usage snapshot -config /etc/vpn-node/agent-run.json [-json]` and `ledger_epoch` `null` until `ApplyCheckpoint`, `SECOPS-19` `#226`/`#243` `ObservationReport.usage` and `NodeDetail.usage_outbox`, `#220`/`#241` `D-079` whole-ruleset nftables read-back and `loopback_scoped` rule, 12-attempt `conntrack -D` fail-closed bound `#193`/`#202`, `empty_exception` vs. `populated_verified` publication attachment basis, `data_path_probe` reasons, and `ISOLATION_POLICY_INVALID` on pending `conntrack -D`), fleet offline lease ceiling (`GET`/`PUT /api/v1/admin/fleet-config`, `D-065`, `#176`, `#179`, `60..86400` s, `fleet_config.update` audit, and lease renewal timing), fleet update batches (`D-068` `#189`: `needs_attention` / `unconfirmed` / null-only pre-result seeding / current-job-only attribution / incarnation-wide accepted-result authority / `update_observation.unexpected_release`) and `D-053` / amended `D-064` health attestation with `probe_omitted` evidence, rollback recovery `blankHealth` / `probe_omission` pruning (`#192`), and separate candidate/restored health (`#177`, `#186`, `#212`), threat-feed and resolver-document troubleshooting (`D-054`, `D-056`), ledger freeze/adjustments (`#214`, `#221`, `#242`), member suspension, `D-076`/`D-077`/`D-081` (`#227`, `#238`, `#242`, `#244`) post-restore device authorization fences (`device_authorization_fences`, `00188_device_authorization_fences.sql`, `GET /api/v1/admin/devices?authorization_unconfirmed=true`, `POST /api/v1/admin/members/{member_id}/devices/{device_id}/authorize`), Fair-Use enforcement reach and `fair_use.applying` convergence (`#222`), identity continuity and duplicate pre-checks, per-class rate limiters (`#190`, `#215` `urn:fvpn:node:` URI SAN mTLS key with `sha256(leaf.Raw)` fallback, full-table LRU tail walk, `/48` anonymous resident cap `min(max_rate_principals/2, 64)` (#252), zero-width `::` parse rule, single-walk body identity, and `D-078` `#229`/`#233` confirming `browser_rate` `10/s` burst `30`), `trusted_proxies`, 60-peer admission and counted-traffic figures (qualified as shared development host, not candidate hardware, `#178`, `#203`), request-body limits (`D-060`, `#169`, `#174`, `#178`, `#182`, `#190`, `#203`, `#215`, `SECOPS-15` closed), and key rotation.\n",
+ "after": "- [**Operator Guide (`../handover/operator-guide.md`)**](../handover/operator-guide.md) — Daily/weekly checklists, reading operations (worker contention is not failure `#205`/`#208`), audit trails (transition-only discovery denial audits on `fleet_config`), and current OpenAPI `1.11.0` revision 15 contract status (`50` operations; all 50 are wired on `main` after `revokeMemberGrant` registration in #297, including `listAdminDevices` and `authorizeMemberDevice` in `#238`/`#244` (`D-077`, `D-081`), `MemberDevice.authorization_unconfirmed` always emitted on `GET /api/v1/member/devices` (`D-077`, `D-076`), `NodeDetail.usage_outbox` (`#243`, `00189_node_incarnation_usage_outbox.sql`, `SECOPS-19` closed, with `ETag` participation), `listNodeIncarnations` `#200`, `Enrollment.token_sha256` `#195`, `awaiting_member_grants` / `ErrorCode.AWAITING_MEMBER_GRANTS` `D-071` `#213`/`#216`/`#223`/`#238`/`#243`, `NodeDetail.identity_conflict` `D-072` `#211`/`#213`/`#217`/`#223`/`#235` with `ETag` participation, and the original 12 node enforcement verification reasons plus `TC_FOREIGN_FILTER` in `ErrorCode` (#261)), node lifecycle (`#239` `fvpn-node-install` `docs/node/install.md`, `D-055`, `D-057`, `D-058`, `D-061`, `D-067` provisional grant-less lease renewal and central `60 s` expiry backstop `#193`/`#198`/`#206`/`#216`, `D-070` revoke `nodes` step `#206`, whose reason is set to `conntrack_delete_pending` when, after the capture is finished, an `ISOLATION_POLICY_INVALID` target is `pending` while the step has not succeeded and the operation is not superseded, whose per-target `node.revoke_isolation_resolved` resolutions are `conntrack_delete_succeeded`/`node_failed_closed`, and which succeeds only after a finished capture with no remaining `pending` target ([publishing exits](../handover/operator-guide.md#33-publishing-disabling-and-unpublishing-exits-put-apiv1adminnodesnode_idpublication)), `D-075` `#228` one-shot stale-generation grace column `node_incarnations.stale_generation_grace_at` (`00187_identity_roaming_and_readiness_grace.sql`), `D-072`/`D-073` cloned-identity conflict runbook `#211`/`#213`/`#217`/`#223`/`#228` with durable roaming candidate in `node_identity_endpoints`, `D-074` `#224` gated `node.publish` waiting state, `#225`/`#232` pure-read `fvpn-agent usage snapshot -config /etc/vpn-node/agent-run.json [-json]` and `ledger_epoch` `null` until `ApplyCheckpoint`, `SECOPS-19` `#226`/`#243` `ObservationReport.usage` and `NodeDetail.usage_outbox`, `#220`/`#241` `D-079` whole-ruleset nftables read-back and `loopback_scoped` rule, 12-attempt `conntrack -D` fail-closed bound `#193`/`#202`, `empty_exception` vs. `populated_verified` publication attachment basis, `data_path_probe` reasons, and `ISOLATION_POLICY_INVALID` on pending `conntrack -D`), fleet offline lease ceiling (`GET`/`PUT /api/v1/admin/fleet-config`, `D-065`, `#176`, `#179`, `60..86400` s, `fleet_config.update` audit, and lease renewal timing), fleet update batches (`D-068` `#189`: `needs_attention` / `unconfirmed` / null-only pre-result seeding / current-job-only attribution / incarnation-wide accepted-result authority / `update_observation.unexpected_release`) and `D-053` / amended `D-064` health attestation with `probe_omitted` evidence, rollback recovery `blankHealth` / `probe_omission` pruning (`#192`), and separate candidate/restored health (`#177`, `#186`, `#212`), threat-feed and resolver-document troubleshooting (`D-054`, `D-056`), ledger freeze/adjustments (`#214`, `#221`, `#242`), member suspension, `D-076`/`D-077`/`D-081` (`#227`, `#238`, `#242`, `#244`) post-restore device authorization fences (`device_authorization_fences`, `00188_device_authorization_fences.sql`, `GET /api/v1/admin/devices?authorization_unconfirmed=true`, `POST /api/v1/admin/members/{member_id}/devices/{device_id}/authorize`), Fair-Use enforcement reach and `fair_use.applying` convergence (`#222`), identity continuity and duplicate pre-checks, per-class rate limiters (`#190`, `#215` `urn:fvpn:node:` URI SAN mTLS key with `sha256(leaf.Raw)` fallback, full-table LRU tail walk, `/48` anonymous resident cap `min(max_rate_principals/2, 64)` (#252), zero-width `::` parse rule, single-walk body identity, and `D-078` `#229`/`#233` confirming `browser_rate` `10/s` burst `30`), `trusted_proxies`, 60-peer admission and counted-traffic figures (qualified as shared development host, not candidate hardware, `#178`, `#203`), request-body limits (`D-060`, `#169`, `#174`, `#178`, `#182`, `#190`, `#203`, `#215`, `SECOPS-15` closed), and key rotation.\n"
+ },
+ {
+ "path": "docs/ops/README.md",
+ "offset": 86213,
+ "before": "[Security/operations evidence](../e2e/at/secops/README.md) ([`summary.md`](../e2e/at/secops/summary.md), [`requests.md`](../e2e/at/secops/requests.md), [`AT30.md`](../e2e/at/secops/AT30.md), [`restore-reconcile.md`](../e2e/at/secops/restore-reconcile.md)) retains the follow-up 2 isolated physical PITR across ledger, grant and audit boundaries (`history/follow-up-6/pitr.json`). Follow-up 4 ([`limiter.md`](../e2e/at/secops/limiter.md), [`publication.md`](../e2e/at/secops/publication.md)), follow-up 5 (`#165`, [`history/follow-up-5/counted-flow.json`](../e2e/at/secops/history/follow-up-5/counted-flow.json), [`history/follow-up-5/post-revoke.json`](../e2e/at/secops/history/follow-up-5/post-revoke.json), [`history/follow-up-5/deadlines.json`](../e2e/at/secops/history/follow-up-5/deadlines.json)), follow-up 6 (`#178`), follow-up 7 (`#203`, run `ab96acac-8713-485a-9c29-88f20110e2e5`, [`capacity.json`](../e2e/at/secops/capacity.json), [`deadlines.json`](../e2e/at/secops/deadlines.json), [`limiter.json`](../e2e/at/secops/limiter.json), [`node-telemetry.json`](../e2e/at/secops/node-telemetry.json), [`gateway-inventory.json`](../e2e/at/secops/gateway-inventory.json), [`secret-scan.json`](../e2e/at/secops/secret-scan.json)), follow-up 8 (`#221`, run `0f5fb60d-f6a7-45c6-8ebe-175e0a480bd8`), and follow-up 9 (`#242`, run `42396951-2d9a-49f4-95c3-45f33d9519d5`, [`AT30.md`](../e2e/at/secops/AT30.md), [`restore-reconcile.md`](../e2e/at/secops/restore-reconcile.md), [`restore-reconcile.json`](../e2e/at/secops/restore-reconcile.json)) prove per-class limiter boundaries, trusted-proxy principal isolation (`gateway-principals`), and post-`#169`/`#190` cross-class limiter isolation (`120` anonymous webhook requests -> `110 × 429` while admin and mTLS lease requests return `200`), the `8 MiB` `SubmitUsageBatch` body boundary (`8,388,607` / `8,388,608` / `8,388,609` B -> `200` / `200` / `413`, `SECOPS-15` closed), live zero-binding publication (`SECOPS-11`, with `#160` adding the `empty_exception` vs. `populated_verified` attachment basis gate), live counted serving flow (`SECOPS-09` closed), post-revoke coherence (`F3-02` passing), `AT29` deadline/watchdog fault cutover through the `D-065` fleet API (`GET`/`PUT /api/v1/admin/fleet-config` `428`/`412`/replay/audit and finite grace `FVPN_E2E_GRACE_SECONDS=90`), **`SECOPS-10` 60-peer native admission and counted traffic (`20×3` = `60` peers, `904.360 s` sequential and `300.386 s` / `296.017 s` concurrent `ScaleNativeMembers` wall, `60/60` counted peers, `5,960/5,960` HTTP `200` device reads with `0` wrong-member responses, and `82` node telemetry samples at `5 s` cadence — measured on the shared development host, not candidate hardware)**, `SECOPS-16` secret-scan verification (`0` leaks across ordinary streams, `60` root-owned `0600` pre-delete login files classified under `D-066`), and **live `AT30` passed (`#242` run `42396951-2d9a-49f4-95c3-45f33d9519d5`: `7.17 s` isolated `T0` restore, `6/6` checklist sections, `120.12 s` fail-safe negative, 5-step `fvpn-usage-admin` protocol replaying `3/3` retained-node events `78833` B + `1` post-`T1` event `10160` B with `0` lost / `0` double-counted / `0` gaps, `90.301 s` pre-replay DB RPO, `0 s` / `0 B` post-replay service usage RPO, `112.35 s` protocol RTO, `121.88 s` total outage RTO, `SECOPS-19` observation payload and local snapshot `3` unacked / `\"2352\"` B -> `0`, `SECOPS-18` `D-076` fence on `peerM2D2` `01a18f9b-a2a0-728f-8482-b08cc9b1a3ee` + `AuthorizeDevice` re-grant + 2 negatives, `SECOPS-05` closed, and `SECOPS-21` remains open after `#245`)**. **`AT30` is `passed`** (`1 pass / 4 blocked / 0 fail` across `AT28`–`AT32`: `AT29` recorded as blocked on `SECOPS-17` `past_due` payment truth (lab fix merged in `#240`; acceptance record remains dated), established TCP/UDP transports, and `needs operator run` guest clock rollback; `AT31` blocked on forced-relay control and candidate hardware; `AT32` blocked on bulk final per-stream attribution and physical origins/platforms). [Updates follow-up 4](../e2e/at/updates/history/follow-up-9/follow-up-4.md) passes `AT23`, `AT24`, `AT25`, `AT26`, and `AT27` on `main`, [updates follow-up 5 (`#158`)](../e2e/at/updates/history/follow-up-5/summary.md) ([`pre-result.md`](../e2e/at/updates/pre-result.md), [`probe-issuance.md`](../e2e/at/updates/probe-issuance.md)) verifies `AT23`, `AT25`, and `AT26` plus pre-result observation seeding and probe-issuance revalidation, [updates follow-up 6 (`#177`)](../e2e/at/updates/history/follow-up-6/summary.md) and [follow-up 7 (`#186`)](../e2e/at/updates/history/follow-up-7/summary.md) ([`requests.md`](../e2e/at/updates/requests.md)) pass `AT24`, `AT26` (`rolled_back` with revision 7 evidence), and `AT27` and resolve `F5-01` under `F6-02` and `D-068` (`#189`), and [updates follow-up 8 (`#212`, previously reported run `d50da75fd14fc72c`)](../e2e/at/updates/history/follow-up-8/summary.md) (the archive lists a different run) on a fresh `#204` stack (`w4-updates` / `42000`, after devstack follow-up 13 `#204` exported `Stack.ProbePeer`, `Stack.ProbeWatchContainer`, and `Stack.WaitForProbeDatagram`, resolving `F5-02`) passes all five `AT23`, `AT24`, `AT25`, `AT26`, and `AT27` in one live run; physical `arm64` and published member traffic during updates remain unmeasured. Read these records with their source revision; later code merges alone do not change acceptance verdicts.\n",
+ "after": "[Security/operations follow-up 6 evidence](../e2e/at/secops/history/follow-up-6/README.md) ([`summary.md`](../e2e/at/secops/history/follow-up-6/summary.md), [`requests.md`](../e2e/at/secops/history/follow-up-6/requests.md), [`AT30.md`](../e2e/at/secops/history/follow-up-6/AT30.md)) keeps the follow-up 2 isolated physical PITR across ledger, grant and audit boundaries in [`pitr.md`](../e2e/at/secops/history/follow-up-6/pitr.md) (`history/follow-up-6/pitr.json`). Follow-up 4 ([`followup4-publication.json`](../e2e/at/secops/history/follow-up-9/followup4-publication.json)), follow-up 5 (`#165`, [`history/follow-up-5/counted-flow.json`](../e2e/at/secops/history/follow-up-5/counted-flow.json), [`history/follow-up-5/post-revoke.json`](../e2e/at/secops/history/follow-up-5/post-revoke.json), [`history/follow-up-5/deadlines.json`](../e2e/at/secops/history/follow-up-5/deadlines.json)), follow-up 6 (`#178`), follow-up 7 (`#203`, run `ab96acac-8713-485a-9c29-88f20110e2e5`, [`limiter.md`](../e2e/at/secops/limiter.md), [`capacity.json`](../e2e/at/secops/capacity.json), [`deadlines.json`](../e2e/at/secops/deadlines.json), [`limiter.json`](../e2e/at/secops/limiter.json), [`node-telemetry.json`](../e2e/at/secops/node-telemetry.json), [`gateway-inventory.json`](../e2e/at/secops/gateway-inventory.json), [`secret-scan.json`](../e2e/at/secops/history/follow-up-7/secret-scan.json)), follow-up 8 (`#221`, run `0f5fb60d-f6a7-45c6-8ebe-175e0a480bd8`), and follow-up 9 (run `42396951-2d9a-49f4-95c3-45f33d9519d5`, [`AT30.md`](../e2e/at/secops/history/follow-up-9/AT30.md), [`restore-reconcile.md`](../e2e/at/secops/history/follow-up-9/restore-reconcile.md), [`restore-reconcile.json`](../e2e/at/secops/history/follow-up-9/restore-reconcile.json)) prove per-class limiter boundaries, trusted-proxy principal isolation (`gateway-principals`), and post-`#169`/`#190` cross-class limiter isolation (`120` anonymous webhook requests -> `110 × 429` while admin and mTLS lease requests return `200`), the `8 MiB` `SubmitUsageBatch` body boundary (`8,388,607` / `8,388,608` / `8,388,609` B -> `200` / `200` / `413`, `SECOPS-15` closed), live zero-binding publication (`SECOPS-11`, with `#160` adding the `empty_exception` vs. `populated_verified` attachment basis gate), live counted serving flow (`SECOPS-09` closed), post-revoke coherence (`F3-02` passing), `AT29` deadline/watchdog fault cutover through the `D-065` fleet API (`GET`/`PUT /api/v1/admin/fleet-config` `428`/`412`/replay/audit and finite grace `FVPN_E2E_GRACE_SECONDS=90`), **`SECOPS-10` 60-peer native admission and counted traffic (`20×3` = `60` peers, `904.360 s` sequential and `300.386 s` / `296.017 s` concurrent `ScaleNativeMembers` wall, `60/60` counted peers, `5,960/5,960` HTTP `200` device reads with `0` wrong-member responses, and `82` node telemetry samples at `5 s` cadence — measured on the shared development host, not candidate hardware)**, `SECOPS-16` secret-scan verification (`0` leaks across ordinary streams, `60` root-owned `0600` pre-delete login files classified under `D-066`), and **live `AT30` passed (run `42396951-2d9a-49f4-95c3-45f33d9519d5`: `7.17 s` isolated `T0` restore, `6/6` checklist sections, `120.12 s` fail-safe negative, 5-step `fvpn-usage-admin` protocol replaying `3/3` retained-node events `78833` B + `1` post-`T1` event `10160` B with `0` lost / `0` double-counted / `0` gaps, `90.301 s` pre-replay DB RPO, `0 s` / `0 B` post-replay service usage RPO, `112.35 s` protocol RTO, `121.88 s` total outage RTO, `SECOPS-19` observation payload and local snapshot `3` unacked / `\"2352\"` B -> `0`, `SECOPS-18` `D-076` fence on `peerM2D2` `01a18f9b-a2a0-728f-8482-b08cc9b1a3ee` + `AuthorizeDevice` re-grant + 2 negatives, `SECOPS-05` closed, and `SECOPS-21` remains open after `#245`)**. **`AT30` is `passed`** (`1 pass / 4 blocked / 0 fail` across `AT28`–`AT32`: `AT29` recorded as blocked on `SECOPS-17` `past_due` payment truth (lab fix merged in `#240`; acceptance record remains dated), established TCP/UDP transports, and `needs operator run` guest clock rollback; `AT31` blocked on forced-relay control and candidate hardware; `AT32` blocked on bulk final per-stream attribution and physical origins/platforms). [Updates follow-up 4](../e2e/at/updates/history/follow-up-4/summary.md) passes `AT23`, `AT24`, `AT25`, `AT26`, and `AT27` on `main`, [updates follow-up 5](../e2e/at/updates/history/follow-up-5/summary.md) ([`pre-result.md`](../e2e/at/updates/history/follow-up-5/pre-result.md), [`probe-issuance.md`](../e2e/at/updates/history/follow-up-5/probe-issuance.md)) verifies `AT23`, `AT25`, and `AT26` plus pre-result observation seeding and probe-issuance revalidation, [updates follow-up 6](../e2e/at/updates/history/follow-up-6/summary.md) ([`requests.md`](../e2e/at/updates/history/follow-up-6/requests.md)) records the original follow-up 4 checks passing and the extended `AT24` and `AT27` blocked, with `AT26` pass and `F5-01` resolved, and [follow-up 7 (`#186`)](../e2e/at/updates/history/follow-up-7/summary.md) ([`requests.md`](../e2e/at/updates/history/follow-up-7/requests.md)) records fresh `AT24`, `AT26`, and `AT27` pass and `F6-02` resolved, and [updates follow-up 8 (`#212`, previously reported run `d50da75fd14fc72c`)](../e2e/at/updates/history/follow-up-8/summary.md) (the archive lists a different run) on a fresh `#204` stack (`w4-updates` / `42000`, after devstack follow-up 13 `#204` exported `Stack.ProbePeer`, `Stack.ProbeWatchContainer`, and `Stack.WaitForProbeDatagram`, resolving `F5-02`) passes all five `AT23`, `AT24`, `AT25`, `AT26`, and `AT27` in one live run; physical `arm64` and published member traffic during updates remain unmeasured. Read these records with their source revision; later code merges alone do not change acceptance verdicts.\n"
+ },
+ {
+ "path": "docs/ops/README.md",
+ "offset": 91631,
+ "before": "[Enrollment follow-up 9 runbook](../e2e/at/enrollment/RUN.md) ([`summary.md`](../e2e/at/enrollment/summary.md), [`requests.md`](../e2e/at/enrollment/requests.md), [`AT06.md`](../e2e/at/enrollment/AT06.md), [`AT07.md`](../e2e/at/enrollment/AT07.md)); earlier enrollment acceptance (`#173`, `#187`, `#210`, `#229`) runs on stack `w4-enroll` / port base `12000` (`6000 + 6000*n`, `n = 0..9`), passed `95/95` subchecks in follow-up 1 (`#187`) and `105/105` (`46/46` in `AT06`, `59/59` in `AT07`, run `20261030T203711Z`) in follow-up 2 (`#210`, verifying `ENR-02` `Enrollment.token_sha256` and `ENR-03` `listNodeIncarnations`), and in follow-up 3 (`#229`, run `60a7102e-b824-4927-a576-62033f458157`) closed `ENR-08` on the production `nodes.Service` caller (`ObserveEndpointTx` + `NodeDetail.identity_conflict` ETag participation) and recorded `AT06` as `254 pass / 1 blocked / 0 fail` (the one blocked item is `rate_limit_review`: browser-class `429`s on `GET /api/v1/admin/audit-events` and `GET /api/v1/admin/nodes/{id}/incarnations` under `BrowserRate` `10/s` burst `30`, retried after `Retry-After` per `D-078`; in control follow-up 21 `#233`, [`docs/control/AUTH.md`](../control/AUTH.md#browser-class-calibration) and `TestFollowup21_BrowserClassCalibration` confirmed `browser_rate` stays `10/s`, burst `30`) and `AT07` as `15 pass / 7 blocked / 0 fail` (`w5-node-installer` `#239` subsequently delivered `fvpn-node-install`, `deploy/node/install.sh`, and `deploy/node/systemd/` in [`docs/node/install.md`](../node/install.md)). [Isolation acceptance follow-up 3 (`#207`, previously reported run `c359fa37-61e0-4469-9f73-5a1e60949c3b`)](../e2e/at/isolation/history/follow-up-3/summary.md) and [follow-up 4 (`#237`, run `fa0074cc-3b1a-403d-b8c2-3a3439fe2b7e`)](../e2e/at/isolation/history/follow-up-4/summary.md) ([follow-up 4 run record](../e2e/at/isolation/history/follow-up-4/AT10.json); the follow-up 3 archive lists a different run) ([`README.md`](../e2e/at/isolation/README.md), [`requests.md`](../e2e/at/isolation/requests.md), [`AT10.md`](../e2e/at/isolation/AT10.md), [`AT11.md`](../e2e/at/isolation/AT11.md), [`AT12.md`](../e2e/at/isolation/AT12.md), [`AT13.md`](../e2e/at/isolation/AT13.md)) recorded `AT10`–`AT13` on commit `205633f` (before `#240` and `#241` `D-079`) as `0 pass / 4 blocked / 0 fail` (`14/4/0` subchecks) because Docker's embedded DNS `ip nat` (`127.0.0.11`) rules triggered `FLOWTABLE_BYPASS` before `#241`'s `D-079` `loopback_scoped` rule landed, while all four kernel-enforcement mechanism controls (`lab-AT10`–`lab-AT13`) passed; follow-up 5 (`#246`) later measured the #240 lab fix; see the acceptance table below for its remaining case blockers. [Current usage acceptance follow-up 7](../e2e/at/usage/README.md); the earlier [usage follow-up 2 (`#214`, previously reported run `2393df75-6261-42bc-99b4-df3c57c4b741`)](../e2e/at/usage/history/followup2/summary.md) (the archive lists a different run) ([`requests.md`](../e2e/at/usage/history/followup2/requests.md)) recorded `AT14`–`AT18` passing live on counted serving flow while `AT19` was **subset passed, case blocked** (the #214 record names Fair-Use recompilation and ACK-reader defects; #222 fixes the implementation, this historical record is superseded by follow-up 4 (#257) below). [Members acceptance follow-up 5 (`#201`)](../e2e/at/members/history/follow-up-5/summary.md) and [follow-up 6 (`#231`, run `80db103b-622c-42b1-946d-4628daaa213d`)](../e2e/at/members/history/follow-up-6/summary.md) ([`README.md`](../e2e/at/members/README.md), [`requests.md`](../e2e/at/members/requests.md)), [portal follow-up 10 (`#175`), follow-up 13 (`#208`), follow-up 14 (`#223`), and follow-up 15 (`#235`)](../../apps/portal/e2e/portal.spec.ts), [agent follow-up 14–19 (`#181`, `#193`, `#198`, `#202`, `#216`, `#226`) and usage-agent follow-up 1–2 (`#225`, `#232`)](../../node/agent/review_d063_test.go), [devstack follow-up 9 (`#153`)](../e2e/followup9-verification.md), [devstack follow-up 10 (`#170`)](../e2e/RUN.md), [devstack follow-up 11 (`#182`)](../e2e/followup11-verification.md), [devstack follow-up 12 (`#196`, `#199`)](../e2e/scenarios/device-revoke.md), [devstack follow-up 13 (`#204`, `#219`, run `4c97ebef`)](../e2e/RUN.md), and [devstack follow-up 14 (`#240`, acceptance run `4e3e9487-fe0f-4d88-a396-d5d5fa4a8e1d` `29 pass / 0 blocked / 0 fail`, exports run `0a687f3a-2351-4234-b43d-882109267967` `16 pass / 0 blocked / 0 fail`)](../e2e/RUN.md) ([`gateway-principals.md`](../e2e/scenarios/gateway-principals.md), [`device-revoke.md`](../e2e/scenarios/device-revoke.md), [`requests.md`](../e2e/requests.md)) verify `AT02` (`42/0` subchecks in `#231` including strict `fvmb0` ingress injection via `Stack.ObserveMemberIngress` where the revoked device raises `ctunku` `0 -> 1` with nothing forwarded while the admitted sibling moves `u_` `31 -> 32`), `AT03`, and `AT08` (`3 pass / 7 blocked / 0 fail`, `384` passing subchecks in `#231`), `D-067` same-generation cold-restart lease recovery (`44 s` in `#201` resolving `F4-01`, and in `#231` `AT09` `36.976 s` to serving-ready and `41.695 s` to first counted byte on unchanged generation `23`), counted Linux lab member forwarding, real device revocation (`PauseNativeControl` stale-client revocation with 3-point `tcpdump` capture confirming `peer_tx_packets > 0`, `mor0_rx_packets == 0`, `uplink_packets == 0`, plus `#219` strict post-revoke member-ingress proof on `fvmb0` via `Stack.InjectMemberIngress` / `Stack.ObserveMemberIngress` where a revoked device frame raises `ctunku` by `1` while an admitted sibling moves `u_` by `1`), 4th-device replacement, dedicated updater probe peer traversal (`update-good` with `probe_omission_count=0` and exported `Stack.ProbePeer`), a second real exit hook (`StartSecondExit` / `EnrollAt`), lab `trusted_proxies` (`/32` gateway trust) and nginx `X-Forwarded-For` (`gateway-principals`, `SECOPS-13`), the **TEST ONLY** finite-grace prepare option (`fvpn-e2e-prepare -grace-seconds N`, `SECOPS-04`), read-only node telemetry (`StartNodeTelemetry`, workload measurement only), and 60-peer native admission (`SECOPS-10`, `SECOPS-16`); the earlier `AT02`, `AT03`, `AT04`, and `AT08` records in [`docs/e2e/at/members/requests.md`](../e2e/at/members/requests.md) are historical pre-`#153` records (`DOC15`), and native four-platform checks (`AT01`, `AT09`, `AT21`) remain `needs operator run`.\n",
+ "after": "[Enrollment follow-up 9 runbook](../e2e/at/enrollment/RUN.md) ([`summary.md`](../e2e/at/enrollment/summary.md), [`requests.md`](../e2e/at/enrollment/requests.md), [`AT06.md`](../e2e/at/enrollment/AT06.md), [`AT07.md`](../e2e/at/enrollment/AT07.md)); earlier enrollment acceptance (`#173`, `#187`, `#210`, `#229`) runs on stack `w4-enroll` / port base `12000` (`6000 + 6000*n`, `n = 0..9`), passed `95/95` subchecks in follow-up 1 (`#187`) and `105/105` (`46/46` in `AT06`, `59/59` in `AT07`, run `20261030T203711Z`) in follow-up 2 (`#210`, verifying `ENR-02` `Enrollment.token_sha256` and `ENR-03` `listNodeIncarnations`), and in follow-up 3 (`#229`, run `60a7102e-b824-4927-a576-62033f458157`) closed `ENR-08` on the production `nodes.Service` caller (`ObserveEndpointTx` + `NodeDetail.identity_conflict` ETag participation) and recorded `AT06` as `254 pass / 1 blocked / 0 fail` (the one blocked item is `rate_limit_review`: browser-class `429`s on `GET /api/v1/admin/audit-events` and `GET /api/v1/admin/nodes/{id}/incarnations` under `BrowserRate` `10/s` burst `30`, retried after `Retry-After` per `D-078`; in control follow-up 21 `#233`, [`docs/control/AUTH.md`](../control/AUTH.md#browser-class-calibration) and `TestFollowup21_BrowserClassCalibration` confirmed `browser_rate` stays `10/s`, burst `30`) and `AT07` as `15 pass / 7 blocked / 0 fail` (`w5-node-installer` `#239` subsequently delivered `fvpn-node-install`, `deploy/node/install.sh`, and `deploy/node/systemd/` in [`docs/node/install.md`](../node/install.md)). [Isolation acceptance follow-up 3](../e2e/at/isolation/history/follow-up-3/summary.md) records `AT10` passing on main baseline `dde4aa6` (the previously reported run `c359fa37-61e0-4469-9f73-5a1e60949c3b` is not the run that archive lists). [Follow-up 4](../e2e/at/isolation/history/follow-up-4/summary.md) (run `fa0074cc-3b1a-403d-b8c2-3a3439fe2b7e`, [run record](../e2e/at/isolation/history/follow-up-4/AT10.json); [`README.md`](../e2e/at/isolation/history/follow-up-4/README.md), [`requests.md`](../e2e/at/isolation/history/follow-up-4/requests.md), [`AT10.md`](../e2e/at/isolation/history/follow-up-4/AT10.md), [`AT11.md`](../e2e/at/isolation/history/follow-up-4/AT11.md), [`AT12.md`](../e2e/at/isolation/history/follow-up-4/AT12.md), [`AT13.md`](../e2e/at/isolation/history/follow-up-4/AT13.md)) records `AT10`–`AT13` blocked on main baseline `205633f`, because a foreign `postrouting` chain for Docker's embedded DNS `127.0.0.11` fail-closes as `FLOWTABLE_BYPASS`, while the four mechanism controls (`lab-AT10`–`lab-AT13`) pass; follow-up 5 (`#246`) later measured the #240 lab fix; see the acceptance table below for its remaining case blockers. [Current usage acceptance follow-up 7](../e2e/at/usage/README.md); the earlier [usage follow-up 2 (`#214`, previously reported run `2393df75-6261-42bc-99b4-df3c57c4b741`)](../e2e/at/usage/history/followup2/summary.md) (the archive lists a different run) ([`requests.md`](../e2e/at/usage/history/followup2/requests.md)) recorded `AT14`–`AT18` passing live on counted serving flow while `AT19` was **subset passed, case blocked** (the #214 record names Fair-Use recompilation and ACK-reader defects; #222 fixes the implementation, this historical record is superseded by follow-up 4 (#257) below). [Members acceptance follow-up 5](../e2e/at/members/history/follow-up-5/summary.md) ([`README.md`](../e2e/at/members/history/follow-up-5/README.md), [`requests.md`](../e2e/at/members/history/follow-up-5/requests.md)) and [follow-up 6 (run `80db103b-622c-42b1-946d-4628daaa213d`)](../e2e/at/members/history/follow-up-6/summary.md) ([`README.md`](../e2e/at/members/history/follow-up-6/README.md), [`requests.md`](../e2e/at/members/history/follow-up-6/requests.md)), [portal follow-up 10 (`#175`), follow-up 13 (`#208`), follow-up 14 (`#223`), and follow-up 15 (`#235`)](../../apps/portal/e2e/portal.spec.ts), [agent follow-up 14–19 (`#181`, `#193`, `#198`, `#202`, `#216`, `#226`) and usage-agent follow-up 1–2 (`#225`, `#232`)](../../node/agent/review_d063_test.go), [devstack follow-up 9 (`#153`)](../e2e/followup9-verification.md), [devstack follow-up 10 (`#170`)](../e2e/RUN.md), [devstack follow-up 11 (`#182`)](../e2e/followup11-verification.md), [devstack follow-up 12 (`#196`, `#199`)](../e2e/scenarios/device-revoke.md), [devstack follow-up 13 (`#204`, `#219`, run `4c97ebef`)](../e2e/RUN.md), and [devstack follow-up 14 (`#240`, acceptance run `4e3e9487-fe0f-4d88-a396-d5d5fa4a8e1d` `29 pass / 0 blocked / 0 fail`, exports run `0a687f3a-2351-4234-b43d-882109267967` `16 pass / 0 blocked / 0 fail`)](../e2e/RUN.md) ([`gateway-principals.md`](../e2e/scenarios/gateway-principals.md), [`device-revoke.md`](../e2e/scenarios/device-revoke.md), [`requests.md`](../e2e/requests.md)) verify `AT02` (`42/0` subchecks in `#231` including strict `fvmb0` ingress injection via `Stack.ObserveMemberIngress` where the revoked device raises `ctunku` `0 -> 1` with nothing forwarded while the admitted sibling moves `u_` `31 -> 32`), `AT03`, and `AT08` (`3 pass / 7 blocked / 0 fail`, `384` passing subchecks in `#231`), `D-067` same-generation cold-restart lease recovery (`44 s` in `#201` resolving `F4-01`, and in `#231` `AT09` `36.976 s` to serving-ready and `41.695 s` to first counted byte on unchanged generation `23`), counted Linux lab member forwarding, real device revocation (`PauseNativeControl` stale-client revocation with 3-point `tcpdump` capture confirming `peer_tx_packets > 0`, `mor0_rx_packets == 0`, `uplink_packets == 0`, plus `#219` strict post-revoke member-ingress proof on `fvmb0` via `Stack.InjectMemberIngress` / `Stack.ObserveMemberIngress` where a revoked device frame raises `ctunku` by `1` while an admitted sibling moves `u_` by `1`), 4th-device replacement, dedicated updater probe peer traversal (`update-good` with `probe_omission_count=0` and exported `Stack.ProbePeer`), a second real exit hook (`StartSecondExit` / `EnrollAt`), lab `trusted_proxies` (`/32` gateway trust) and nginx `X-Forwarded-For` (`gateway-principals`, `SECOPS-13`), the **TEST ONLY** finite-grace prepare option (`fvpn-e2e-prepare -grace-seconds N`, `SECOPS-04`), read-only node telemetry (`StartNodeTelemetry`, workload measurement only), and 60-peer native admission (`SECOPS-10`, `SECOPS-16`); the living [members requests page](../e2e/at/members/requests.md) is the 2026-11-11 portal delivery and does not carry `DOC15`, and native four-platform checks (`AT01`, `AT09`, `AT21`) remain `needs operator run`.\n"
+ },
+ {
+ "path": "docs/reviews/README.md",
+ "offset": 55,
+ "before": "**Archived cut:** [follow-up 54](../handover/follow-up-54.md), #533, #534, #535 and #536 at `2f5159f3`; consolidated deliveries and guide revisions.\n**Earlier archived cut:** [follow-up 53](../handover/follow-up-53.md), #529, #528, #530, #531 and #532 at `e055143e`; the registers below retain that cut's content.\n",
+ "after": "**Archived cut:** [follow-up 55](../handover/follow-up-55.md), #537 and #538 at `f57183f1`; consolidated deliveries and guide revisions.\n**Earlier archived cut:** [follow-up 54](../handover/follow-up-54.md), #533, #534, #535 and #536 at `2f5159f3`; the registers below retain that cut's content.\n"
+ },
+ {
+ "path": "docs/updates/release-process.md",
+ "offset": 2874,
+ "before": "fvpn-release build-manifest -in release-input.json -out signed.json\n",
+ "after": "fvpn-release build-manifest -in build-input.json -out signed.json\n"
+ },
+ {
+ "path": "docs/updates/release-process.md",
+ "offset": 3365,
+ "before": "`release-input.json` is a `release.BuildInput`: release id, product version, sequence, created time, source commit, component versions, compatibility (control API major, policy and usage schemas, minimum updater version, state schema from/to, whether the previous release can read the new state), rollback reserve and health profile, evidence URLs, and the two artifact paths and `https` URLs. Evidence URLs and artifact URLs must be `https`.\n",
+ "after": "`build-input.json` is a `release.BuildInput`. `build-manifest -in` reads the path given after `-in`. The input carries release id, product version, sequence, created time, source commit, `build_id`, component versions, compatibility (control API major, policy and usage schemas, minimum updater version, state schema from/to, whether the previous release can read the new state), rollback reserve and health profile, evidence URLs, and the two artifact paths and `https` URLs. `build_id` is required and matches `^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$`. `BuildManifest` copies it onto the manifest, and `ValidateSigned` rejects a missing or non-matching value through the release manifest schema. Evidence URLs and artifact URLs must be `https`.\n"
+ }
+]
diff --git a/tests/handover/testdata/followup55-historical.json b/tests/handover/testdata/followup55-historical.json
new file mode 100644
index 000000000..50d71599c
--- /dev/null
+++ b/tests/handover/testdata/followup55-historical.json
@@ -0,0 +1,79 @@
+[
+ {
+ "name": "roadmap_conntrack",
+ "path": "docs/ROADMAP.md",
+ "heading": "Task board",
+ "passage": "12 consecutive failed conntrack -D attempts or a missing binary fail isolation closed",
+ "erratum": "- `docs/ROADMAP.md`, [“Task board”](../ROADMAP.md#task-board), the done row `w2-agent-core follow-up 15`: the row still says twelve consecutive failed `conntrack -D` attempts, or a missing binary, fail isolation closed, and that the count persists across restarts. The current bound is twelve durably reserved serving-Apply delete batches (`maxConntrackDeleteAttempts`). The reservation is stored before Apply. A crash or an earlier failure consumes a reservation. A missing `conntrack` binary does not use this count; `LookPath` fails closed at once. See [desired state and leases](../node/README.md#desired-state-and-leases-147-163)."
+ },
+ {
+ "name": "roadmap_capture",
+ "path": "docs/ROADMAP.md",
+ "heading": "Task board",
+ "passage": "revoke completion fence matches only peers that share an exit group with the member plan",
+ "erratum": "- `docs/ROADMAP.md`, [“Task board”](../ROADMAP.md#task-board), the done row `w3-wire-nodes follow-up 22`: the row still says revoke completion matches only peers that share an exit group with the member plan and were observed inside 90 seconds, and that an ungrouped exit never holds a revoke. A member or device `nodes` step succeeds after its capture is finished and no captured target remains `pending`. One reporting node's clean observation does not settle another node's pending target. An `unconfirmed` target does not block success. See [publishing exits](operator-guide.md#33-publishing-disabling-and-unpublishing-exits-put-apiv1adminnodesnode_idpublication)."
+ },
+ {
+ "name": "updates_followup4",
+ "path": "docs/e2e/at/updates/history/follow-up-9/follow-up-4.md",
+ "heading": "Follow-up 4: target evidence and observation authority",
+ "passage": "Follow-up 4: target evidence and observation authority",
+ "erratum": "- `docs/e2e/at/updates/history/follow-up-9/follow-up-4.md`, [“Follow-up 4: target evidence and observation authority”](../e2e/at/updates/history/follow-up-9/follow-up-4.md#follow-up-4-target-evidence-and-observation-authority): the `summary.md` link beside this copy opens [updates follow-up 9](../e2e/at/updates/history/follow-up-9/summary.md#updates-follow-up-9). The run this heading names is [updates follow-up 4](../e2e/at/updates/history/follow-up-4/summary.md#updates-follow-up-4)."
+ },
+ {
+ "name": "followup52_capture",
+ "path": "docs/handover/follow-up-52.md",
+ "heading": "Guide revisions at this cut",
+ "passage": "advanceNodeOperationsOnObservation",
+ "erratum": "- `docs/handover/follow-up-52.md`, [“Guide revisions at this cut”](follow-up-52.md#guide-revisions-at-this-cut): the operator-guide row says revoke-step completion follows `advanceNodeOperationsOnObservation`, and that one clean counting observation can complete the step while another fresh exit has not applied its generation. `advanceNodeOperationsOnObservation` selects operations whose `resource_type` is `node`. Member and device targets are handled by `observeOperationTargets`, which acknowledges only the reporting node's own targets. Success requires a finished capture and no remaining `pending` target. See [publishing exits](operator-guide.md#33-publishing-disabling-and-unpublishing-exits-put-apiv1adminnodesnode_idpublication)."
+ },
+ {
+ "name": "followup54_pool",
+ "path": "docs/handover/follow-up-54.md",
+ "heading": "Merged deliveries",
+ "passage": "pool connections scan timestamps in UTC",
+ "erratum": "- `docs/handover/follow-up-54.md`, [“Merged deliveries”](follow-up-54.md#merged-deliveries), the #533 effect: the sentence says pool connections scan timestamps in UTC. Pool connections scan scalar `timestamptz` values, and ranges and multiranges of it, in UTC; arrays of `timestamptz` keep pgx's default element codec, so elements scanned into `pgtype.Timestamptz` can carry the host's zone, while elements scanned into `time.Time` are UTC; no product query scans such an array (`internal/db/db.go` `ConfigureUTC`, lines 76–85 and 94–98). See [`ConfigureUTC`](../../internal/db/db.go)."
+ },
+ {
+ "name": "node_deadline",
+ "path": "docs/node/README.md",
+ "heading": "Follow-up 23 timing evidence (2026-10-31)",
+ "passage": "TestISOF603_WholeSecondRendererLimit",
+ "erratum": "- `docs/node/README.md`, [“Follow-up 23 timing evidence (2026-10-31)”](../node/README.md#follow-up-23-timing-evidence-2026-10-31), under [“待實測”](../node/README.md#待實測): the note says `decide.go` and `deadline.go` floor remaining member allowances to whole seconds, and it names `TestISOF603_WholeSecondRendererLimit`. Member allowances truncate to `DeadlineGranularity` (1 millisecond) after the install reserve. `probeTimeout` still uses whole seconds, and only for synthetic probes. nft 1.0.9 JSON read-back remains whole seconds. `TestISOF603_WholeSecondRendererLimit` is not in the tree. `TestISOF603_RenewalFailureAndDeadline` is the expiry test, and `TestD104_SubsecondDeadline` covers a sub-second render (`node/agent/followup23_expiry_test.go`). See [what the agent sends and installs](../node/2026-10-31-d104-d106-agent.md#what-the-agent-sends-and-installs) and [the deadline contract interface](../poc/G2-deadline-contract-2026-10-31.md#interface-for-agent-core-follow-up-24)."
+ },
+ {
+ "name": "ops_isolation",
+ "path": "docs/ops/README.md",
+ "heading": "Follow-up 13 acceptance snapshot (2026-10-30 EDT)",
+ "passage": "Isolation follow-up 5 (`#246`)",
+ "erratum": "- `docs/ops/README.md`, [“Follow-up 13 acceptance snapshot (2026-10-30 EDT)”](../ops/README.md#follow-up-13-acceptance-snapshot-2026-10-30-edt): the “Isolation follow-up 5 (`#246`)” link opens the living [isolation summary](../e2e/at/isolation/summary.md#isolation-follow-up-19--2026-11-03), a later run. The run the label names is [isolation follow-up 5](../e2e/at/isolation/history/follow-up-5/summary.md#follow-up-5--publication-served-three-cases-stay-blocked). Neither file contains `#246`."
+ },
+ {
+ "name": "ops_usage",
+ "path": "docs/ops/README.md",
+ "heading": "Follow-up 13 acceptance snapshot (2026-10-30 EDT)",
+ "passage": "Usage follow-up 2 (`#214`)",
+ "erratum": "- `docs/ops/README.md`, [“Follow-up 13 acceptance snapshot (2026-10-30 EDT)”](../ops/README.md#follow-up-13-acceptance-snapshot-2026-10-30-edt): the “Usage follow-up 2 (`#214`)” link opens the living [usage summary](../e2e/at/usage/summary.md#usage-acceptance--follow-up-7), which is follow-up 7 and does not identify `#214`. The follow-up 2 record is [usage follow-up 2](../e2e/at/usage/history/followup2/summary.md#wave-4-usage-acceptance-summary-w4-at-usage--follow-up-2)."
+ },
+ {
+ "name": "ops_secops",
+ "path": "docs/ops/README.md",
+ "heading": "Follow-up 13 acceptance snapshot (2026-10-30 EDT)",
+ "passage": "Security-ops follow-up 9 (`#242`)",
+ "erratum": "- `docs/ops/README.md`, [“Follow-up 13 acceptance snapshot (2026-10-30 EDT)”](../ops/README.md#follow-up-13-acceptance-snapshot-2026-10-30-edt): the “Security-ops follow-up 9 (`#242`)” link opens the living [AT30 record](../e2e/at/secops/AT30.md#at30-restore--follow-up-13), which is follow-up 13. The follow-up 9 record is [AT30 follow-up 9](../e2e/at/secops/history/follow-up-9/AT30.md#at30--follow-up-9). That history file does not contain `#242`."
+ },
+ {
+ "name": "ops_requests",
+ "path": "docs/ops/README.md",
+ "heading": "Follow-up 15 acceptance snapshot (2026-10-31 EDT)",
+ "passage": "Updates follow-up 9 (#283), run `89fc6769-0a09-403d-ae88-84f736ee1dce`",
+ "erratum": "- `docs/ops/README.md`, [“Follow-up 15 acceptance snapshot (2026-10-31 EDT)”](../ops/README.md#follow-up-15-acceptance-snapshot-2026-10-31-edt): the Requests link on the updates follow-up 9 row opens the living [updates requests](../e2e/at/updates/requests.md#updates-requests--follow-up-15-2026-11-03), which is follow-up 15 and has no F9 rows. The follow-up 9 request table is [updates follow-up 9 requests](../e2e/at/updates/history/follow-up-9/requests.md#requests-to-orchestrator--follow-up-9)."
+ },
+ {
+ "name": "review_provisional",
+ "path": "docs/reviews/r32-dedup-records-review.md",
+ "heading": "Authoritative Citations",
+ "passage": "issues a provisional grant-less lease with members: [] while the node is not yet ready",
+ "erratum": "- `docs/reviews/r32-dedup-records-review.md`, [“Authoritative Citations”](../reviews/r32-dedup-records-review.md#authoritative-citations): the quoted provisional-lease sentence omits a frozen mapping. The operator guide states that the grant-less lease is issued only to a published, registered node that is not yet ready or whose mapping is frozen. See [the fleet offline lease ceiling](operator-guide.md#36-configuring-the-fleet-offline-lease-ceiling-getput-apiv1adminfleet-config-d-065-d-067-176-179-206-145-163-at29-docsnodesreadmemd-docsnodeswiringmd-internalnodeshttpwirefleet_configgo)."
+ }
+]
diff --git a/tests/handover/testdata/followup55-main.json b/tests/handover/testdata/followup55-main.json
new file mode 100644
index 000000000..74d0c0b14
--- /dev/null
+++ b/tests/handover/testdata/followup55-main.json
@@ -0,0 +1,25 @@
+{
+ "source_commit": "f57183f1d3e1003d69a388b3be25458c331bc44c",
+ "merged_prs": [
+ 537,
+ 538
+ ],
+ "prs": [
+ {
+ "number": 537,
+ "title": "handover: follow-up 54 — cut #533–#536, and correct the operator, member, deployment, operations, node and network-lab documents against the code and the records",
+ "merge_commit": "8d4327d125027a129552a69521652536c41b831b",
+ "pre_merge_head": "f369e5764c35d1381b4635897fc36868f594c7f9",
+ "merged_at": "2026-11-14T13:31:21Z",
+ "roadmap_commit": "2b4d5e5356a6fa61f01d744a443a8d3c012d281d"
+ },
+ {
+ "number": 538,
+ "title": "tests: assert that globally reachable special-purpose destinations are accepted, and give a members binary test the handler's 30-second deadline",
+ "merge_commit": "7de6dd6612659af894caee15adcf06f6d1eff6ae",
+ "pre_merge_head": "cfa699be569fdf3dbbb76f993b0d851dea98bb72",
+ "merged_at": "2026-11-14T14:04:10Z",
+ "roadmap_commit": "f57183f1d3e1003d69a388b3be25458c331bc44c"
+ }
+ ]
+}
diff --git a/tests/handover/testdata/followup55-prior-assertions.json b/tests/handover/testdata/followup55-prior-assertions.json
new file mode 100644
index 000000000..2ef25028e
--- /dev/null
+++ b/tests/handover/testdata/followup55-prior-assertions.json
@@ -0,0 +1,21 @@
+[
+ {
+ "source": "tests/handover/handover_test.go",
+ "source_commit": "f57183f1d3e1003d69a388b3be25458c331bc44c",
+ "function": "TestHandover_Followup54Claims",
+ "bytes": 12544,
+ "sha256": "b00e65f30dd361049a0ad2cb3aa48c7b440f7c5cf340210c425d04c6db69e76f",
+ "redirects": [
+ {
+ "before": "readOwnedDoc(t, root, path)",
+ "after": "readOwnedDoc(t, root, followup55InputPath(path))",
+ "count": 4
+ },
+ {
+ "before": "readOwnedDoc(t, root, p.Path)",
+ "after": "readOwnedDoc(t, root, followup55InputPath(p.Path))",
+ "count": 1
+ }
+ ]
+ }
+]
diff --git a/tests/handover/testdata/followup55-snapshots.json b/tests/handover/testdata/followup55-snapshots.json
new file mode 100644
index 000000000..d976e389a
--- /dev/null
+++ b/tests/handover/testdata/followup55-snapshots.json
@@ -0,0 +1,156 @@
+[
+ {
+ "source": "README.md",
+ "snapshot": "tests/handover/testdata/history/follow-up-55/prior-README.md.txt",
+ "source_commit": "f57183f1d3e1003d69a388b3be25458c331bc44c",
+ "bytes": 7885,
+ "sha256": "a1b090d52e1cb2083bff0b408c6af47005d634de7bf375b56793ed2cd6d2c84e"
+ },
+ {
+ "source": "README.zh-TW.md",
+ "snapshot": "tests/handover/testdata/history/follow-up-55/prior-README.zh-TW.md.txt",
+ "source_commit": "f57183f1d3e1003d69a388b3be25458c331bc44c",
+ "bytes": 7283,
+ "sha256": "bda6950095999242ea8b89d336aca605db2627ccac77deb0421afa0e1ec6edf7"
+ },
+ {
+ "source": "docs/DELIVERY.en.md",
+ "snapshot": "tests/handover/testdata/history/follow-up-55/prior-docs_DELIVERY.en.md.txt",
+ "source_commit": "f57183f1d3e1003d69a388b3be25458c331bc44c",
+ "bytes": 11416,
+ "sha256": "871da10a18d0608c51051c48b8be221df87df8a96580ebba8f4e3b18db8aff02"
+ },
+ {
+ "source": "docs/DELIVERY.md",
+ "snapshot": "tests/handover/testdata/history/follow-up-55/prior-docs_DELIVERY.md.txt",
+ "source_commit": "f57183f1d3e1003d69a388b3be25458c331bc44c",
+ "bytes": 9938,
+ "sha256": "4fe008cfe1fe130edadec4b6bdd3d4a19c231d0a57616813fa6408b525f541c1"
+ },
+ {
+ "source": "docs/handover/00-index.md",
+ "snapshot": "tests/handover/testdata/history/follow-up-55/prior-docs_handover_00-index.md.txt",
+ "source_commit": "f57183f1d3e1003d69a388b3be25458c331bc44c",
+ "bytes": 1807,
+ "sha256": "1fe21ff0552293f9cddc2c1e2ca5e60b5016ab9da9658abdbaf818bf962f59a5"
+ },
+ {
+ "source": "docs/handover/11-database-and-retention.md",
+ "snapshot": "tests/handover/testdata/history/follow-up-55/prior-docs_handover_11-database-and-retention.md.txt",
+ "source_commit": "f57183f1d3e1003d69a388b3be25458c331bc44c",
+ "bytes": 6261,
+ "sha256": "683660eef318a7f11bb4318a772101c8d22b19beb0fec13c9f6ebdb5c945cf43"
+ },
+ {
+ "source": "docs/handover/README.md",
+ "snapshot": "tests/handover/testdata/history/follow-up-55/prior-docs_handover_README.md.txt",
+ "source_commit": "f57183f1d3e1003d69a388b3be25458c331bc44c",
+ "bytes": 127613,
+ "sha256": "eba0d39f747b445011e10931c440faeb7dbcb0bc55cc6ec57a35d0f78ce0e327"
+ },
+ {
+ "source": "docs/handover/deploy.md",
+ "snapshot": "tests/handover/testdata/history/follow-up-55/prior-docs_handover_deploy.md.txt",
+ "source_commit": "f57183f1d3e1003d69a388b3be25458c331bc44c",
+ "bytes": 91849,
+ "sha256": "2aaa43ad42fe3cfc07839f30d4ffe78dc72f531ce71aa2b5f082c0e8583823aa"
+ },
+ {
+ "source": "docs/handover/member-guide.md",
+ "snapshot": "tests/handover/testdata/history/follow-up-55/prior-docs_handover_member-guide.md.txt",
+ "source_commit": "f57183f1d3e1003d69a388b3be25458c331bc44c",
+ "bytes": 87179,
+ "sha256": "1fb486bbbbb8eca25d4f64747ff41a9cd5d05aef91abd8cc351fabd97265151a"
+ },
+ {
+ "source": "docs/handover/operator-guide.md",
+ "snapshot": "tests/handover/testdata/history/follow-up-55/prior-docs_handover_operator-guide.md.txt",
+ "source_commit": "f57183f1d3e1003d69a388b3be25458c331bc44c",
+ "bytes": 247790,
+ "sha256": "6e07680e9a322c0fd546f7f767d6c3f921cb25a53cb359dadb2db29298456db7"
+ },
+ {
+ "source": "docs/handover/restore-drill.md",
+ "snapshot": "tests/handover/testdata/history/follow-up-55/prior-docs_handover_restore-drill.md.txt",
+ "source_commit": "f57183f1d3e1003d69a388b3be25458c331bc44c",
+ "bytes": 48349,
+ "sha256": "d6668cd57456d217425f8ab6d0eaff3fe2fd05994a0b8b945659e234feb40fe8"
+ },
+ {
+ "source": "docs/node/README.md",
+ "snapshot": "tests/handover/testdata/history/follow-up-55/prior-docs_node_README.md.txt",
+ "source_commit": "f57183f1d3e1003d69a388b3be25458c331bc44c",
+ "bytes": 71453,
+ "sha256": "ffd2def2322f686762a91500352df7513d189e82a54a989b8c5d3300516b3c41"
+ },
+ {
+ "source": "docs/nodes/README.md",
+ "snapshot": "tests/handover/testdata/history/follow-up-55/prior-docs_nodes_README.md.txt",
+ "source_commit": "f57183f1d3e1003d69a388b3be25458c331bc44c",
+ "bytes": 70856,
+ "sha256": "3c29de43c193d4e4c42fd1633a5a2e42e9cd72b4a6b313eae03e6d7387dd4e84"
+ },
+ {
+ "source": "docs/nodes/WIRING.md",
+ "snapshot": "tests/handover/testdata/history/follow-up-55/prior-docs_nodes_WIRING.md.txt",
+ "source_commit": "f57183f1d3e1003d69a388b3be25458c331bc44c",
+ "bytes": 56935,
+ "sha256": "89cc32163dd5c8c51f9979dc2282dc05d34e4db7069b571c3b014d471fe523b4"
+ },
+ {
+ "source": "docs/ops/README.md",
+ "snapshot": "tests/handover/testdata/history/follow-up-55/prior-docs_ops_README.md.txt",
+ "source_commit": "f57183f1d3e1003d69a388b3be25458c331bc44c",
+ "bytes": 127101,
+ "sha256": "13b2832338a7b14f5207e062c43d07c0a58519df8c7846a17a785e8e27d0bb72"
+ },
+ {
+ "source": "docs/reviews/README.md",
+ "snapshot": "tests/handover/testdata/history/follow-up-55/prior-docs_reviews_README.md.txt",
+ "source_commit": "f57183f1d3e1003d69a388b3be25458c331bc44c",
+ "bytes": 124622,
+ "sha256": "34c2ff4d39d4cdf6d914b4cef3879abe51d69a0f821ff539f6d583d9dc80f64e"
+ },
+ {
+ "source": "docs/updates/release-process.md",
+ "snapshot": "tests/handover/testdata/history/follow-up-55/prior-docs_updates_release-process.md.txt",
+ "source_commit": "f57183f1d3e1003d69a388b3be25458c331bc44c",
+ "bytes": 18845,
+ "sha256": "44b7472e2e16b4cf6a220917760adae43b2cab84df88bdcfe8e968ed302e8c85"
+ },
+ {
+ "source": "docs/ROADMAP.md",
+ "snapshot": "tests/handover/testdata/history/follow-up-55/prior-docs_ROADMAP.md.txt",
+ "source_commit": "f57183f1d3e1003d69a388b3be25458c331bc44c",
+ "bytes": 390894,
+ "sha256": "939f29326413f3cbc0bb2d96b8e0f747d3a10ee618d216170ef508444155f9c2"
+ },
+ {
+ "source": "docs/e2e/at/updates/history/follow-up-9/follow-up-4.md",
+ "snapshot": "tests/handover/testdata/history/follow-up-55/prior-docs_e2e_at_updates_history_follow-up-9_follow-up-4.md.txt",
+ "source_commit": "f57183f1d3e1003d69a388b3be25458c331bc44c",
+ "bytes": 3638,
+ "sha256": "3df2431379cb745049a698654e50933bcbf14c8d7a506fa24723c77c78cc54aa"
+ },
+ {
+ "source": "docs/handover/follow-up-52.md",
+ "snapshot": "tests/handover/testdata/history/follow-up-55/prior-docs_handover_follow-up-52.md.txt",
+ "source_commit": "f57183f1d3e1003d69a388b3be25458c331bc44c",
+ "bytes": 12262,
+ "sha256": "50ff42a3fe4a4d851f395023fc558db7df89720d7877c74199afc742ac38c797"
+ },
+ {
+ "source": "docs/handover/follow-up-54.md",
+ "snapshot": "tests/handover/testdata/history/follow-up-55/prior-docs_handover_follow-up-54.md.txt",
+ "source_commit": "f57183f1d3e1003d69a388b3be25458c331bc44c",
+ "bytes": 4711,
+ "sha256": "092c780b2ccb2f7a860057e7440fa76929da23ebc40071228a44acd4613ab6b3"
+ },
+ {
+ "source": "docs/reviews/r32-dedup-records-review.md",
+ "snapshot": "tests/handover/testdata/history/follow-up-55/prior-docs_reviews_r32-dedup-records-review.md.txt",
+ "source_commit": "f57183f1d3e1003d69a388b3be25458c331bc44c",
+ "bytes": 31981,
+ "sha256": "5b7ec63eecbe64e278e16bf24ef3a8e9ea3e625d6bde701d6d0c0e5735e1960f"
+ }
+]
diff --git a/tests/handover/testdata/history/follow-up-55/prior-README.md.txt b/tests/handover/testdata/history/follow-up-55/prior-README.md.txt
new file mode 100644
index 000000000..309113c8d
--- /dev/null
+++ b/tests/handover/testdata/history/follow-up-55/prior-README.md.txt
@@ -0,0 +1,157 @@
+# Freedom VPN
+
+**English** · [繁體中文](README.zh-TW.md)
+
+[Project website](https://ted-h-com.github.io/Freedom-VPN/en/) · [專案網站](https://ted-h-com.github.io/Freedom-VPN/) · [Delivery guide](docs/DELIVERY.en.md)
+
+**Your nodes. Your VPN service.**
+
+Freedom VPN is an open-source platform for teams building a membership-based VPN
+on their own infrastructure. It brings subscriptions, devices, usage and Ubuntu
+exit nodes across locations into one place, using self-hosted NetBird and its
+official apps for VPN connections.
+
+- **Members** review subscriptions, manage devices and track usage in the portal,
+ then connect through the official NetBird app.
+- **Administrators** manage membership and decide which exits are available to
+ each member group.
+- **Operators** enroll and maintain nodes through shared deployment, update and
+ recovery workflows.
+
+NetBird provides the overlay network and connection coordination. Freedom VPN adds
+the membership, accounting, policy and node management around it.
+
+## What it does
+
+| Area | Capabilities |
+|---|---|
+| Membership and devices | Connect subscriptions to service access, manage device allowances, suspend members and revoke devices |
+| Exits across locations | Enroll Ubuntu nodes, assign member groups, check readiness and choose when to publish or disable exits |
+| Usage and fair use | View usage across a member's devices and exits, with configurable fair-use speed adjustments |
+| Exit isolation | Apply Internet-only forwarding rules at the node to separate member traffic from the host, private networks and other members |
+| DNS and domain policies | Manage domain block and allow lists and malicious-domain protection through the service's DNS resolvers |
+| Updates and recovery | Assign target releases, track signed updates and health checks, and recover from update failures with rollback and restore guides |
+
+## Connect with the official app
+
+For a configured service, your operator supplies the member portal and NetBird
+management URLs. The portal manages your account; the app handles the VPN connection.
+
+1. **Sign in to the member portal.** Confirm active service access, your device
+ allowance and the exits available to you.
+2. **Set up NetBird.** Install the official app version listed in the
+ [member guide](docs/handover/member-guide.md), set its **Management URL** to your
+ operator's address, and sign in with the same identity used in the portal.
+3. **Check device authorization.** Return to the portal's device list and wait for
+ the device to show **authorized**. Authorization is automatic when identity,
+ membership and device allowance checks pass; contact the operator if it stays pending.
+4. **Choose an exit.** Manually select an available exit in NetBird to send traffic
+ through it. Use the portal to review usage and fair-use status.
+
+See the [member guide](docs/handover/member-guide.md) for platform-specific setup
+and DNS settings, and the [version matrix](docs/netbird/VERSIONS.md) for app versions.
+
+## How it fits together
+
+```mermaid
+flowchart LR
+ Portal[Admin and member portal] --> Central[Freedom VPN API and worker]
+ Central --> DB[(PostgreSQL)]
+ Central -. API synchronization .-> NetBird[Self-hosted NetBird]
+ NetBird -. Connection coordination .-> App[Official NetBird app]
+ NetBird -. Connection coordination .-> Exit[Ubuntu exit node]
+ Central -. Signed policy and leases .-> Exit
+ Exit -. Usage and observations .-> Central
+ App == WireGuard tunnel: direct or relay ==> Exit
+ Exit == Member traffic ==> Internet[Internet]
+```
+
+The control plane manages identity, configuration and accounting; ordinary member
+traffic travels through the selected exit. Each exit runs the node agent and
+updater, with nftables and traffic control for enforcement. The
+[product specification](docs/spec/PROJECT_SPEC.zh-TW.md) (Traditional Chinese)
+describes the full architecture.
+
+## Start here
+
+| Task | Guide |
+|---|---|
+| Explore the service and its current scope | [Delivery guide](docs/DELIVERY.en.md) · [交付導覽](docs/DELIVERY.md) |
+| Run the isolated development stack | [Dev-stack bring-up and teardown](docs/e2e/README.md#bring-up) |
+| Prepare a deployment | [Deployment](docs/handover/deploy.md) and [configuration calibration](docs/handover/calibration.md) |
+| Operate members and nodes | [Operator guide](docs/handover/operator-guide.md) |
+| Connect a member device | [Member guide](docs/handover/member-guide.md) (Traditional Chinese and English) |
+| Back up and recover | [Restore drill](docs/handover/restore-drill.md) |
+| Develop against the API | [API contracts](docs/contracts/README.md) |
+
+## Project status and support
+
+Freedom VPN is under development and validation; it is **not a production-ready
+release**. Windows, macOS, Android and iOS apps still need real-device validation.
+Linux lab results and arm64 cross-compilation do not establish platform or hardware
+support. Production identity/MFA, payment, domains/TLS, DNS lists and operating
+parameters also need configuration and verification. The
+[delivery guide](docs/DELIVERY.en.md) records the remaining work.
+
+Server-side isolation covers traffic passing through an exit; it does not provide
+an OS kill switch or control a member device's local Wi-Fi/LAN. If the VPN route is
+lost, the device may use its ordinary Internet connection. DNS protection applies
+domain policies without TLS interception. See the
+[member guide](docs/handover/member-guide.md) for connection and DNS limitations.
+
+## Development lab
+
+Review the [lab setup](docs/e2e/README.md) and [runtime prerequisites and assigned
+port slots](docs/e2e/RUN.md) before starting. From the repository root, the documented
+bring-up, acceptance and cleanup sequence is:
+
+```sh
+make -f mk/e2e.mk e2e-up
+make -f mk/e2e.mk e2e-test
+make -f mk/e2e.mk e2e-down
+```
+
+The Docker lab uses test identities, payment fixtures and policy settings, and
+includes privileged node containers. Run teardown even when validation fails.
+
+## Repository map
+
+The central API, worker and node services use Go; the portal uses TypeScript,
+React and Vite. Central state is in PostgreSQL; nodes keep durable local state
+in SQLite. The node target is Ubuntu 24.04 LTS on amd64 and arm64.
+
+| Location | Responsibility |
+|---|---|
+| `apps/control`, `apps/worker` | Central API and background work |
+| `apps/portal` | Administrator and member interface |
+| `internal`, `pkg` | Domain services and shared libraries |
+| `node/agent`, `node/updater` | Node enforcement, accounting and updates |
+| `contracts`, `db/migrations` | API definitions and persistent data |
+| `deploy`, `packaging`, `tests` | Deployment, release tooling and verification |
+| `docs` | Specifications, component guides, runbooks and evidence |
+
+## Contributing
+
+Read the [product specification](docs/spec/PROJECT_SPEC.zh-TW.md),
+[engineering contract](AGENTS.md) and [API documentation](docs/contracts/README.md)
+before changing behavior. Keep code, contracts and documentation aligned, run the
+checks relevant to the change, and describe how the result was verified.
+
+## Project history
+
+The [delivery guide](docs/DELIVERY.en.md) and [roadmap](docs/ROADMAP.md) describe
+current implementation and verification limits. [Findings and decisions](docs/handover/README.md)
+and [acceptance records](docs/e2e/README.md) retain the engineering history.
+
+
+Recorded engineering checkpoints
+
+**Latest archived checkpoint:** [follow-up 54](docs/handover/follow-up-54.md), #533, #534, #535 and #536 at 2f5159f3.
+**Previous archived checkpoint:** [follow-up 53](docs/handover/follow-up-53.md), #529, #528, #530, #531 and #532 at e055143e.
+
+
+
+## License
+
+Apache License 2.0; see [LICENSE](LICENSE). Third-party components, including
+NetBird, retain their own licenses, recorded in the [version matrix](docs/netbird/VERSIONS.md).
diff --git a/tests/handover/testdata/history/follow-up-55/prior-README.zh-TW.md.txt b/tests/handover/testdata/history/follow-up-55/prior-README.zh-TW.md.txt
new file mode 100644
index 000000000..aa3eed8f2
--- /dev/null
+++ b/tests/handover/testdata/history/follow-up-55/prior-README.zh-TW.md.txt
@@ -0,0 +1,143 @@
+# Freedom VPN
+
+[English](README.md) · **繁體中文**
+
+[專案網站](https://ted-h-com.github.io/Freedom-VPN/) · [Project website](https://ted-h-com.github.io/Freedom-VPN/en/) · [交付導覽](docs/DELIVERY.md)
+
+**以自己的節點,管理會員 VPN。**
+
+Freedom VPN 是供團隊在自有基礎設施上建立會員制 VPN 的開源平台,集中管理訂閱、
+裝置、用量與不同地點的 Ubuntu 出口節點,採用自架 NetBird 與官方 App 提供 VPN 連線。
+
+- **會員**在入口網站查看訂閱、管理裝置與掌握用量,再透過 NetBird 官方 App 連線。
+- **管理員**管理會員資格,決定各會員群組可使用哪些出口。
+- **維運者**依同一套部署、更新與復原流程,註冊及維護節點。
+
+NetBird 提供覆疊網路與連線協調;Freedom VPN 在此基礎上加入會員、帳務、政策
+與節點管理。
+
+## 提供哪些功能
+
+| 領域 | 功能 |
+|---|---|
+| 會員與裝置 | 將訂閱與服務資格串接,管理裝置額度、會員停權與裝置撤銷 |
+| 各地出口 | 註冊 Ubuntu 節點、指定會員群組、檢查就緒狀態,並決定出口上架或停用 |
+| 用量與公平使用 | 彙總同一會員跨裝置、跨出口的用量,搭配可設定的公平使用調速政策 |
+| 出口隔離 | 在節點套用 Internet-only 轉送規則,將會員流量與宿主、內網及其他會員分開 |
+| DNS 與網域政策 | 經由服務的 DNS 解析器,管理網域封鎖、允許清單與惡意網域防護 |
+| 更新與復原 | 指定目標版本、追蹤簽章更新與健康檢查,並依版本回退及還原指南處理更新失敗 |
+
+## 使用官方 App 連線
+
+服務設定完成後,營運人員會提供會員入口與 NetBird 管理伺服器網址。
+入口網站管理帳號,App 負責 VPN 連線。
+
+1. **登入會員入口。** 確認有效的服務資格、裝置額度與可使用的出口。
+2. **設定 NetBird。** 依[會員指南](docs/handover/member-guide.md)安裝指定版本的官方
+ App,將 **Management URL(管理伺服器網址)** 設為營運人員提供的位址,並使用
+ 與會員入口相同的身分登入。
+3. **確認裝置授權。** 回到入口網站的裝置清單,等待狀態顯示為 **authorized(已授權)**。
+ 身分、會員資格與裝置額度檢查通過後,系統會自動授權;若持續待處理,請聯絡營運人員。
+4. **選擇出口。** 在 NetBird 手動選擇可使用的出口,讓流量經由該節點轉送。
+ 回到會員入口即可查看用量與公平使用狀態。
+
+各平台安裝及 DNS 設定詳見[會員指南](docs/handover/member-guide.md);
+App 版本列於[版本表](docs/netbird/VERSIONS.md)(英文)。
+
+## 架構如何運作
+
+```mermaid
+flowchart LR
+ Portal[管理員與會員入口網站] --> Central[Freedom VPN API 與 Worker]
+ Central --> DB[(PostgreSQL)]
+ Central -. API 同步 .-> NetBird[自架 NetBird]
+ NetBird -. 連線協調 .-> App[NetBird 官方 App]
+ NetBird -. 連線協調 .-> Exit[Ubuntu 出口節點]
+ Central -. 簽章政策與租約 .-> Exit
+ Exit -. 用量與觀測回報 .-> Central
+ App == WireGuard 隧道:直連或 Relay ==> Exit
+ Exit == 會員流量 ==> Internet[網際網路]
+```
+
+控制平台管理身分、設定與帳務;一般會員流量經由選定的出口轉送。每個出口執行
+Node Agent 與 Updater,並透過 nftables 和流量控制執行政策。
+[產品規格](docs/spec/PROJECT_SPEC.zh-TW.md) 說明完整架構。
+
+## 從哪裡開始
+
+| 目的 | 文件入口 |
+|---|---|
+| 認識服務與目前範圍 | [交付導覽](docs/DELIVERY.md) · [Delivery guide](docs/DELIVERY.en.md) |
+| 啟動隔離開發環境 | [開發環境啟停程序](docs/e2e/README.md#bring-up)(英文) |
+| 準備部署 | [部署指南](docs/handover/deploy.md)與[參數校準表](docs/handover/calibration.md)(英文) |
+| 管理會員與節點 | [營運指南](docs/handover/operator-guide.md)(英文) |
+| 連線會員裝置 | [會員指南](docs/handover/member-guide.md)(繁體中文與英文) |
+| 備份與故障復原 | [還原演練](docs/handover/restore-drill.md)(英文) |
+| 串接或開發 API | [API 契約](docs/contracts/README.md)(英文) |
+
+## 專案狀態與支援範圍
+
+Freedom VPN 仍在開發與驗證中,**尚未達到正式營運條件**。
+Windows、macOS、Android 與 iOS App 仍待真機驗收;Linux 實驗結果與 arm64
+交叉編譯不能代表平台或硬體支援已驗證。正式身分服務/MFA、付款、網域/TLS、
+DNS 清單與營運參數也需設定及驗證。待完成項目詳見[交付導覽](docs/DELIVERY.md)。
+
+伺服器端隔離管理經出口轉送的流量,不提供會員裝置的 OS kill switch,也不控制
+裝置本身的 Wi-Fi/LAN;VPN 路由中斷時,裝置可能改走原有的網際網路連線。
+DNS 防護採用網域政策,不進行 TLS 中間人解密。連線與 DNS 限制詳見
+[會員指南](docs/handover/member-guide.md)。
+
+## 開發實驗環境
+
+執行前先閱讀[實驗環境說明](docs/e2e/README.md)及[執行條件與連接埠分配](docs/e2e/RUN.md)
+(英文)。在儲存庫根目錄,依文件執行啟動、驗收與清理:
+
+```sh
+make -f mk/e2e.mk e2e-up
+make -f mk/e2e.mk e2e-test
+make -f mk/e2e.mk e2e-down
+```
+
+Docker 實驗環境使用測試身分、付款替身與政策設定,並包含具有特權的節點容器。
+即使驗證失敗,也應執行清理。
+
+## 儲存庫導覽
+
+中央 API、Worker 與節點服務使用 Go;入口網站使用 TypeScript、React 和 Vite。
+中央狀態存於 PostgreSQL,節點以 SQLite 保存本機持久狀態。節點目標環境為
+Ubuntu 24.04 LTS 的 amd64 與 arm64。
+
+| 路徑 | 職責 |
+|---|---|
+| `apps/control`、`apps/worker` | 中央 API 與背景工作 |
+| `apps/portal` | 管理員與會員介面 |
+| `internal`、`pkg` | 領域服務與共用函式庫 |
+| `node/agent`、`node/updater` | 節點政策執行、計量與更新 |
+| `contracts`、`db/migrations` | API 定義與資料庫結構 |
+| `deploy`、`packaging`、`tests` | 部署、發行工具與驗證 |
+| `docs` | 規格、元件指南、維運文件與證據 |
+
+## 參與開發
+
+變更行為前,請先閱讀[產品規格](docs/spec/PROJECT_SPEC.zh-TW.md)、
+[工程規範](AGENTS.md)與 [API 文件](docs/contracts/README.md)(後兩者為英文)。
+程式、契約與文件應同步更新,執行與變更相關的檢查,並說明結果如何驗證。
+
+## 專案歷史
+
+[交付導覽](docs/DELIVERY.md)與[開發路線](docs/ROADMAP.md)說明目前實作及驗證界線。
+[問題與決策紀錄](docs/handover/README.md)及[驗收紀錄](docs/e2e/README.md)
+保留詳細工程歷史(英文)。
+
+
+工程交付紀錄
+
+**最近封存的交付切點:**[follow-up 54](docs/handover/follow-up-54.md),#533、#534、#535 與 #536,版本 2f5159f3。
+**前次封存的交付切點:**[follow-up 53](docs/handover/follow-up-53.md),#529、#528、#530、#531 與 #532,版本 e055143e。
+
+
+
+## 授權
+
+本專案採用 Apache License 2.0,詳見 [LICENSE](LICENSE)。NetBird 等第三方元件
+各自保留原有授權,主要元件資訊列於[版本表](docs/netbird/VERSIONS.md)(英文)。
diff --git a/tests/handover/testdata/history/follow-up-55/prior-docs_DELIVERY.en.md.txt b/tests/handover/testdata/history/follow-up-55/prior-docs_DELIVERY.en.md.txt
new file mode 100644
index 000000000..88820e2ae
--- /dev/null
+++ b/tests/handover/testdata/history/follow-up-55/prior-docs_DELIVERY.en.md.txt
@@ -0,0 +1,102 @@
+# Freedom VPN delivery guide
+
+**English** · [繁體中文](DELIVERY.md) · [Project overview](../README.md)
+
+Freedom VPN builds on self-hosted NetBird and its official apps to manage members,
+exit nodes and day-to-day operations. This consolidation preserves the existing
+membership, metering, shaping and update features while focusing on integration,
+necessary corrections and documentation.
+
+**This remains a development and validation version, not a production-ready
+release.** Existing implementation, recorded verification and outstanding device
+or deployment prerequisites are separated below. A feature's presence does not
+mean every platform and failure scenario has passed acceptance.
+
+## Existing features and operating guides
+
+| Use case | Existing implementation scope | Detailed guide |
+|---|---|---|
+| Use the service as a member | Sign-in, subscription entry points, device management, exit selection, usage and fair-use status | [Member guide](handover/member-guide.md) (Traditional Chinese and English) |
+| Manage members and nodes | Membership eligibility, node enrollment and publication, access withdrawal and asynchronous operation results | [Operator guide](handover/operator-guide.md) |
+| Manage VPN traffic | NetBird connection coordination, exit isolation, usage accounting, shaping and DNS policy | [Product specification](spec/PROJECT_SPEC.zh-TW.md) (Traditional Chinese) |
+| Maintain the service | Node installation, signed updates, failure recovery, backup and restore | [Deployment](handover/deploy.md), [restore drill](handover/restore-drill.md) |
+| Manage central signing keys and release trust | Initialize a vault (`fvpn-vault-init`), inspect it and export public trust (`fvpn-vault inspect`, `fvpn-vault export-trust`), rotate and revoke central keys (`fvpn-vault-keys rotate`, `fvpn-vault-keys revoke`), and create and check release trust updates (`fvpn-release trust-update`, `fvpn-release trust-verify`); an update is applied at the centre with `fvpn-vault-keys apply-release-update` as the [rotation runbook](pki/rotation.md#release-verification-trust) describes | [Vault initialization](pki/initialize.md), [vault inspection and export](pki/inspect.md), [central key commands](pki/keys.md), [rotation and restore](pki/rotation.md), [release process](updates/release-process.md) |
+
+## Where to start
+
+1. **Understand the full workflow:** use the isolated lab through the
+ [development bring-up and teardown procedure](e2e/README.md#bring-up). Test
+ identity, payment and policy settings are for validation and cannot serve
+ directly as production configuration.
+2. **Prepare a deployment:** follow the [deployment guide](handover/deploy.md) and
+ [parameter calibration guide](handover/calibration.md) to confirm identity
+ services, domains, payment, plans and node settings.
+3. **Run daily operations:** administrators use the
+ [operator guide](handover/operator-guide.md); members use the
+ [member guide](handover/member-guide.md). Follow the
+ [restore drill](handover/restore-drill.md) for backups and failure recovery.
+4. **Maintain the code:** read the [engineering contract](../AGENTS.md),
+ [API contracts](contracts/README.md) and relevant component documentation first.
+
+## Handover guide revisions
+
+[Follow-up 54](handover/follow-up-54.md) revises deployment, operator, member, database, operations and contracts guides, and the node and network-lab engineering documents at `2f5159f3`: it records worker pool sizing and connection capacity planning, and corrects names, links, and current safety and lease behavior. Four dated passages stay unchanged, with errata in the cut. This cut adds no procedure or deployment evidence; carried gaps remain as follow-up 53 recorded them.
+
+[Follow-up 53](handover/follow-up-53.md) revises deployment, operator, calibration, restore, member, database and backup statements at `e055143e`: central receipt-age status and portal summaries; enrollment verifier encoding; lease fields, configured renewal lead, retry gates and same-generation repair; captured per-node operation outcomes and migration 00196; historical member acceptance qualifications; isolated restore configuration, cipher inputs, identifier grammar and drill/scanner limits. Five dated passages stay unchanged, with errata linked to living guidance. This cut adds no procedure or deployment evidence; carried gaps remain as follow-up 52 recorded them.
+
+[Follow-up 52](handover/follow-up-52.md) corrects deployment, calibration, restore, operator and backup statements at `6972be03`: enrollment and release-policy fields, the two-resolver resilience recommendation (one is accepted without redundancy), fair-use acknowledgement versus current liveness, the policy event pipeline, HTTP helper names, a repeated recovery-gap notice, node checks and token-file selection, enforcement names and reserved conntrack batches, revoke-step eligibility and public/audit diagnostics, updater space and attempt bounds and rollback health, the member-usage read-back route, configuration defaults and bounded LRU scanning, current incarnation/discovery/probe/schema names, provisional health and central expiry conditions, eligible renewal attempts, and a member-guide link to provisional reports and renewal spacing, fence audit fields and separate peer/identity denial tracking with resource fallbacks, rejected/accepted update-result projections and omitted/null error-code receipt differences, revocation address filters, stale-observation grace, the public-key digest encoding and baseline attempts versus confirmed isolation in deployment and operator guidance, Apply/dependency acknowledgement gates, eligible same-generation repair, quarantine prerequisites, containment confirmation and wrapper/Apply evidence and separate meter-path failures, and the linux/amd64 backup migrator. The dated restore record stays unchanged; the cut records the `UploadOnce` / `Uploader.Once` erratum. This cut adds no procedure or deployment evidence; carried gaps remain as follow-up 51 recorded them.
+
+[Follow-up 51](handover/follow-up-51.md) corrects deployment, calibration, restore-drill and backup statements at `66de6a24`. It records staging authority and grants, installer/DNS behavior, actual configuration and retention bounds, and bounded recovery/reconciliation. The second review adds control-before-worker recovery ordering with its remaining authorization exposure, grant withdrawal, explicit recovery credentials, repository-environment gaps, updater space accounting and credential-only SIGHUP reload. Class review passes looked for credential, reload, process, name, cleanup and gap-notice errors and corrected the cases recorded in the cut. A third review and scripted inventories add repository-environment and retention notices, the node response field, conntrack batch accounting and quoted Go names. These passes are review records, not proof that every statement or dependency has been found. Production procedures and product support absent from the repository remain carried work; no new deployment or acceptance evidence is claimed.
+
+[Follow-up 50](handover/follow-up-50.md) retains the earlier revisions to operator key inspection (§1.2), central rotation/revocation (§8.1), release trust updates (§8.2), and member shadow mode (§5.3, both languages).
+
+Living guides can receive scoped corrections. Each cut freezes its pre-revision inputs and checks every other byte; dated snapshots retain their scope. Current procedures are in [vault initialization](pki/initialize.md), [inspection and export](pki/inspect.md), [central key commands](pki/keys.md), [rotation and restore](pki/rotation.md), [release process](updates/release-process.md), [node installation](node/install.md), the [API contract](../contracts/openapi.yaml) and [portal documentation](portal/README.md).
+
+## Verification scope and known limits
+
+The [merge record](ROADMAP.md) tracks current implementation;
+[follow-up 54](handover/follow-up-54.md) preserves #533, #534, #535 and #536
+at `2f5159f3`. The earlier [follow-up 53](handover/follow-up-53.md)
+retains #529, #528, #530, #531 and #532 at `e055143e`. Later results have their own acceptance records.
+Unit and integration tests, Linux lab
+tests, actual app devices and production deployments each establish different
+evidence. This guide does not announce a production release or replace unfinished
+acceptance with documentation.
+
+Retained node verification results (`serving_read`) now flow from node reports
+through Central storage and projection to the admin interface and diagnostic
+exports ([#492](https://github.com/TED-H-com/Freedom-VPN/pull/492),
+[#493](https://github.com/TED-H-com/Freedom-VPN/pull/493),
+[#494](https://github.com/TED-H-com/Freedom-VPN/pull/494)). They preserve the original
+read time and result. A retained read alone does not authorize current forwarding;
+the existing safety checks and lease decisions still apply.
+
+| Area | Current boundary and acceptance reference |
+|---|---|
+| Official apps | The [NetBird version matrix](netbird/VERSIONS.md) lists pinned components and candidate apps. Windows, macOS, iOS and Android still need real-device acceptance. |
+| Exit and member isolation | [D164 acceptance](e2e/at/isolation/d164-acceptance.md) records the complete lab and assembled verification on 2026-11-06: 27 rows passed, 2 remain blocked, and F17-01 is closed. The IPv6 platform and full fault-transition matrices remain unverified; [historical isolation records](e2e/at/isolation/summary.md) retain earlier failure verdicts. |
+| Member connectivity | [Member acceptance](e2e/at/members/README.md) records upstream connection and network limitations. Server-side isolation does not provide an OS kill switch on member devices. |
+| Updates and hardware | [Update acceptance](e2e/at/updates/summary.md) and [security operations acceptance](e2e/at/secops/summary.md) record gaps including physical arm64, candidate-hardware capacity and a guest with an independent clock. Cross-compilation cannot replace hardware measurements. |
+| Production operations | Production IdP/MFA, payment provider, domains/TLS, DNS lists and operating parameters still need configuration and verification. Test defaults do not define production policy. |
+
+Earlier consolidation records remain available:
+[isolation acceptance corrections](e2e/at/isolation/followup27-2026-11-05.md)
+preserve failed results and evidence; [network lab corrections](poc/G2-followup37-2026-11-05.md)
+provide scoped local verification of packet attribution and blocking verdicts.
+The latter does not rewrite the original scheduled failure, and neither record
+establishes completed final integration verification for the entire system.
+
+## Preserved extension points
+
+Existing modules, APIs, data and historical evidence remain available. Later work
+should follow concrete requirements or demonstrated defects; the existence of a
+design proposal does not automatically add implementation scope.
+
+NetBird API client reuse, other architecture changes and advanced
+diagnostics remain for later evaluation. Necessary completion fixes are
+handled according to actual issues.
+
+The [delivery history and known issues](handover/README.md) preserve the full
+context, and the [development roadmap and merge record](ROADMAP.md) track individual
+deliveries. Results and limits stated at each acceptance entry point remain
+authoritative.
diff --git a/tests/handover/testdata/history/follow-up-55/prior-docs_DELIVERY.md.txt b/tests/handover/testdata/history/follow-up-55/prior-docs_DELIVERY.md.txt
new file mode 100644
index 000000000..29b65ddea
--- /dev/null
+++ b/tests/handover/testdata/history/follow-up-55/prior-docs_DELIVERY.md.txt
@@ -0,0 +1,81 @@
+# Freedom VPN 交付導覽
+
+[English](DELIVERY.en.md) · **繁體中文** · [專案簡介](../README.zh-TW.md)
+
+Freedom VPN 以自架 NetBird 和官方 App 為基礎,提供會員、出口節點與日常維運管理。
+這次收尾保留已建立的會員、計量、限速與更新功能,集中完成整合、必要修正和文件整理。
+
+**目前仍是開發與驗證版本,尚未達到正式營運條件。** 已有實作、已取得的驗證與待完成的
+實機/部署條件分列如下;功能存在不代表所有平台及故障場景均已驗收。
+
+## 現有功能與操作入口
+
+| 使用情境 | 現有實作範圍 | 詳細入口 |
+|---|---|---|
+| 會員使用服務 | 登入、訂閱入口、裝置管理、出口選擇、用量與公平使用狀態 | [會員指南](handover/member-guide.md) |
+| 管理會員與節點 | 會員資格、節點註冊與上架、撤權及非同步操作結果 | [營運指南](handover/operator-guide.md) |
+| 管理 VPN 流量 | NetBird 連線協調、出口隔離、用量計量、限速與 DNS 政策 | [產品規格](spec/PROJECT_SPEC.zh-TW.md) |
+| 維護服務 | 節點安裝、簽章更新、失敗回復、備份與還原 | [部署指南](handover/deploy.md)、[還原演練](handover/restore-drill.md) |
+| 管理中央簽章金鑰與發行信任 | 初始化金鑰庫(`fvpn-vault-init`)、檢查與匯出公開信任(`fvpn-vault inspect`、`fvpn-vault export-trust`)、輪替與撤銷中央金鑰(`fvpn-vault-keys rotate`、`fvpn-vault-keys revoke`),以及建立與驗證發行信任更新(`fvpn-release trust-update`、`fvpn-release trust-verify`);更新依 [輪替操作手冊](pki/rotation.md#release-verification-trust) 所述於中央以 `fvpn-vault-keys apply-release-update` 套用 | [金鑰庫初始化](pki/initialize.md)、[金鑰庫檢查與匯出](pki/inspect.md)、[中央金鑰指令](pki/keys.md)、[金鑰輪替與還原](pki/rotation.md)、[發行流程](updates/release-process.md) |
+
+## 從哪裡開始
+
+1. **了解整套流程:**依 [開發環境啟停程序](e2e/README.md#bring-up) 使用隔離實驗環境。
+ 測試身分、付款與政策設定僅供驗證,不能直接作為正式環境。
+2. **準備部署:**依 [部署指南](handover/deploy.md) 和 [參數校準表](handover/calibration.md)
+ 確認身分服務、網域、付款、方案及節點設定。
+3. **日常操作:**管理員看 [營運指南](handover/operator-guide.md),會員看
+ [會員指南](handover/member-guide.md);備份與故障回復依 [還原演練](handover/restore-drill.md)。
+4. **維護程式:**先讀 [工程規範](../AGENTS.md)、[API 契約](contracts/README.md) 與相關元件文件。
+
+## 交接指南修訂
+
+[Follow-up 54](handover/follow-up-54.md) 修訂 `2f5159f3` 的部署、營運、會員、資料庫、維運與契約指南,以及節點與網路實驗工程文件:記錄 worker 連線池大小與連線容量規劃,並修正名稱、連結、目前的安全防護與租約行為。四段有日期的紀錄保持不變,切點另列勘誤。此切點不新增程序或部署證據;既有缺口維持 follow-up 53 的紀錄。
+
+[Follow-up 53](handover/follow-up-53.md) 修訂 `e055143e` 的部署、營運、參數校準、還原、會員、資料庫與備份敘述:中央收件時間的存活狀態與入口網站摘要、註冊驗證值的編碼、租約欄位與可設定的提前續租時間、重試限制與同世代修復、逐節點擷取的操作結果與遷移 00196、會員歷史驗收狀態的限定,以及隔離還原設定、加密輸入、識別名稱規則與演練/掃描器限制。五段有日期的紀錄保持不變,勘誤連至現行指南。此切點不新增程序或部署證據;既有缺口維持 follow-up 52 的紀錄。
+
+[Follow-up 52](handover/follow-up-52.md) 修正 `6972be03` 的部署、參數校準、還原、營運與備份敘述:註冊與發行政策欄位、兩台 resolver 的韌性建議(程式接受一台,但沒有備援)、公平使用確認與目前存活狀態的區別、政策事件流程、HTTP 函式名稱、重複的復原缺口提示、節點檢查與權杖檔案選擇、執行層名稱與預留的 conntrack 批次、撤銷步驟的條件與公開回應/稽核診斷、更新程式空間與次數界限及回滾健康狀態、會員用量讀回路由、設定預設值與有界 LRU 掃描、目前的 incarnation/探索/探測/schema 名稱、暫候 grant 的健康前提與中央到期條件、符合條件的續租嘗試,以及會員指南中連至暫候狀態回報與續租間隔的連結、保護性 fence 稽核欄位與分別追蹤的 peer/identity 拒絕及資源回退、拒收/接受更新結果的投影與省略/null 錯誤碼的收據差異、撤銷位址篩選、過期世代觀測的寬限、公開金鑰摘要的編碼、部署與營運指南中 baseline 嘗試與隔離確認的區別、Apply/相依項目失敗的世代確認條件、符合條件的同世代修復、隔離的前提、圍堵確認與 wrapper/Apply 證據及獨立的計量路徑失敗,以及 linux/amd64 備份遷移工具。有日期的還原紀錄保持不變;切點另記 `UploadOnce` / `Uploader.Once` 勘誤。此切點不新增程序或部署證據;既有缺口維持 follow-up 51 的紀錄。
+
+[Follow-up 51](handover/follow-up-51.md) 修正 `66de6a24` 的部署、參數校準、還原演練與備份說明,記錄測試部署的金鑰庫與授權、安裝程式/DNS 行為、實際設定及保留界限,以及有明確限制的復原/對帳。第二次審查補上先啟動 control、重建撤銷意圖後才啟動 worker 的順序與仍存在的授權風險、grant 撤回、明確的復原憑證、備份儲存庫環境缺口、更新程式空間計算及僅重新讀取憑證內容的 SIGHUP 行為。分類審查尋找憑證、重新載入、程序職責、名稱、自動清理及缺口提示的錯誤,並修正切點記錄的個案。第三次審查及腳本清單補上儲存庫環境與保留設定提示、節點回應欄位、conntrack 批次計數及 Go 名稱。這些是審查紀錄,不是已找出所有敘述或依賴的證明。儲存庫未提供的正式環境程序與產品支援仍列為後續工作;不宣稱新增部署或驗收證據。
+
+[Follow-up 50](handover/follow-up-50.md) 保留先前對營運指南金鑰檢查(§1.2)、中央輪替與撤銷(§8.1)、發行信任更新(§8.2),以及會員觀測模式(§5.3,中英兩版)的修訂紀錄。
+
+現行指南可以接受限定範圍的修正。各切點封存修訂前輸入並檢查其餘所有位元組;有日期的快照保留原有範圍。目前程序見 [金鑰庫初始化](pki/initialize.md)、[檢查與匯出](pki/inspect.md)、[中央金鑰指令](pki/keys.md)、[金鑰輪替與還原](pki/rotation.md)、[發行流程](updates/release-process.md)、[節點安裝](node/install.md)、[API 契約](../contracts/openapi.yaml) 與 [入口網站文件](portal/README.md)。
+
+## 驗證範圍與已知限制
+
+[合併紀錄](ROADMAP.md) 追蹤目前實作;[follow-up 54](handover/follow-up-54.md)
+保存 `2f5159f3` 的 #533、#534、#535 與 #536 交付切點;較早的
+[follow-up 53](handover/follow-up-53.md) 保留 `e055143e` 的 #529、#528、#530、#531 與 #532。後續成果以各項驗收紀錄為準。
+單元/整合測試、Linux 實驗環境、真實 App 裝置和正式部署各有不同的驗證範圍。
+本導覽不宣告正式發行,也不以文件整理替代尚未完成的驗收。
+
+節點保留的驗證結果 `serving_read` 已完成節點回報、中央儲存與投影、管理介面顯示及
+診斷匯出([#492](https://github.com/TED-H-com/Freedom-VPN/pull/492)、
+[#493](https://github.com/TED-H-com/Freedom-VPN/pull/493)、
+[#494](https://github.com/TED-H-com/Freedom-VPN/pull/494))。它保留原始讀取時間與結果,
+不能單獨視為目前可轉送流量的許可;原有安全檢查與租約判定仍適用。
+
+| 事項 | 目前界線與驗收入口 |
+|---|---|
+| 官方 App | [NetBird 版本表](netbird/VERSIONS.md) 列出固定元件及候選 App;Windows、macOS、iOS、Android 的真機驗收仍待執行。 |
+| 出口與會員隔離 | [D164 驗收](e2e/at/isolation/d164-acceptance.md) 記錄 2026-11-06 的完整實驗環境與組合驗證:27 項通過、2 項待驗,並關閉 F17-01 缺口。IPv6 平台與完整故障轉換矩陣仍待驗;[歷史隔離紀錄](e2e/at/isolation/summary.md) 保留原有失敗判定。 |
+| 會員連線 | [會員驗收](e2e/at/members/README.md) 記錄上游連線與網路條件限制;伺服器端隔離不提供會員裝置的 OS kill switch。 |
+| 更新與硬體 | [更新驗收](e2e/at/updates/summary.md) 和 [安全維運驗收](e2e/at/secops/summary.md) 記錄實體 arm64、候選硬體容量與獨立時鐘 guest 等實測缺口;交叉編譯不能替代硬體實測。 |
+| 正式營運 | 正式 IdP/MFA、付款供應商、網域/TLS、DNS 清單與營運參數仍需設定及驗證;測試預設不代表正式政策。 |
+
+較早的收尾紀錄中,[隔離驗收修正](e2e/at/isolation/followup27-2026-11-05.md)
+保留失敗結果與證據;[網路實驗環境修正](poc/G2-followup37-2026-11-05.md)
+提供封包歸屬與阻擋判定的局部本機驗證。後者不改寫原始排程失敗,兩者也不代表
+整套系統已完成最終整合驗證。
+
+## 保留的延伸空間
+
+現有模組、API、資料與歷史證據持續保留。後續工作以具體需求或已證實的缺陷為依據,
+不因已有設計提案就自動追加實作。
+
+NetBird API 客戶端重用、其他架構調整及進階診斷留待後續評估,
+必要的完成性修正另依實際問題處理。
+
+[歷史交付與已知問題](handover/README.md) 保存完整脈絡,
+[開發路線與合併紀錄](ROADMAP.md) 保存逐項交付。各驗收入口標明的結果與限制為準。
diff --git a/tests/handover/testdata/history/follow-up-55/prior-docs_ROADMAP.md.txt b/tests/handover/testdata/history/follow-up-55/prior-docs_ROADMAP.md.txt
new file mode 100644
index 000000000..a4db4bb42
--- /dev/null
+++ b/tests/handover/testdata/history/follow-up-55/prior-docs_ROADMAP.md.txt
@@ -0,0 +1,601 @@
+# Roadmap
+
+Milestones, gates and work packages come from the Project Plan v1.0. Durations are planning aids, not commitments.
+
+## Milestones
+
+| ID | Goal | Exit condition |
+|---|---|---|
+| M0 | Baseline ready | Scope, open decisions and P0 cases are consistent |
+| M1 | Technical feasibility | Core risks have measured evidence (WP02) |
+| M2 | Basic service loop | Enrollment, classification, publication, login, devices and revocation work with real apps |
+| M3 | Billing and policy | Sandbox billing and policy acceptance pass |
+| M4 | Fleet update | One action updates every node and tracks every result |
+| M5 | Pilot | P0 cases pass; service limits and parameters are explicit |
+| M6 | Delivery | Delivery inventory and acceptance report are complete |
+
+## Evidence gates
+
+| Gate | Question | Evidence |
+|---|---|---|
+| G1 | Can the official apps on all four platforms log in to the self-hosted service and pick a given exit? | NetBird pinning and API spike, then real-device runs |
+| G2 | Does one package block internal networks while nftables and tc really see forwarded packets? | Privileged network lab, then real amd64 and arm64 nodes |
+| G3 | Can billing state revoke access, and are replays and offline periods never double counted? | Ledger and entitlement suites |
+| G4 | Do all nodes update, catch up after being offline, and keep a disabled state? | Updater fault-injection suite |
+| G5 | Do all P0 cases pass, with production parameters and known limits explicit? | Acceptance report |
+
+## Task board
+
+| Task | Work package | Status |
+|---|---|---|
+| w0-bootstrap: repositories, contract, spec | WP01 | done |
+| w1-contracts: OpenAPI, schemas, vectors, shared leaf packages | WP03 | done (#4) |
+| w1-db: PostgreSQL schema, DB foundation, CI | WP03 | done (#1) |
+| w1-db follow-up 1 | isolated test databases named fvpn_t_<32hex>; dbtest.Sweep drops idle leaked databases older than a bound (legacy fvpn_ only with FVPN_TEST_DB_SWEEP_LEGACY=1) in one zero-connection-checked batch; FVPN_TEST_DB_SWEEP=1 sweeps once per process; fvpn-db-sweep command and db-test-sweep target | done (#97) |
+| w1-db follow-up 2 | db-lint (mk/db.mk + db workflow) requires a -- +goose Down section with at least one real SQL statement in every migration above the shared round-trip floor 00188 (the floor constant names the nodes test TestSECOPS19_D077 that does goose DownTo(188) → Up; the base set 00001–00183 stays exempt), plus a db-owned Up → DownTo(188) → Up integration proof on one isolated database; README invariant 16 (evidence tables introduced above the floor are dropped by their Down; test-time invariant distinct from the production forward-only policy); proven on a scratch migration (exit 2 for a missing Down and for a comment-only Down); prompted by fleet-update follow-up 10 shipping 00191 without a Down (gates ABORT, send-back) | done (#280) |
+| w1-netlab: G2 isolation, metering and shaping lab | WP02, WP05, WP07 | done (#16) |
+| w1-netbird: NetBird pinning, adapter, dev deployment (G1 server side) | WP02, WP04 | done (#6), G1 open |
+| w1-portal: Admin and Member portal on a mock API | WP10 | done (#2) |
+| w1-deps-bump: current pgx, goose and transitive module pins | WP03 | done (#3) |
+| w1-dnspolicy: domain rules, bundle compiler, AdGuard Home backend | WP08 | done (#5) |
+| r1-db-review: adversarial review of the merged schema (read-only) | WP03 | done (3 blockers, 8 majors → w2-db-fixes) |
+| w2-db-fixes: review fixes F-01..F-15 in migrations 00001–00005, regressions, service invariants doc | WP03 | done (#7) |
+| r1-contracts-review: adversarial review of OpenAPI, schemas, canonjson, envelope (read-only) | WP02 | done (5 majors, 7 minors → w2-contracts-r2) |
+| w2-contracts-r2: review fixes, agent bootstrap endpoint, reinstall target, UpdateTarget flags, ledger-epoch purpose, consumer adaptation (41 endpoints, presence types) | WP02 | done (#20) |
+| w2-control-core: HTTP framework, auth, idempotency, ETag, operations, audit, worker | WP04, WP09 | done (#13) |
+| w2-pki-enroll: node CA, enrollment, CSR issuance, revocation, signing service | WP04 | done (#11) |
+| w2-members-billing: members, entitlement, devices, billing adapter and webhooks | WP06 | done (#9) |
+| w2-nodes-desiredstate: node registry, desired state compiler, serving leases, exits | WP04, WP05 | done (#17) |
+| w2-nodes-desiredstate follow-up 2: review fixes (compile without release target, fair-use state, dns_profile, lease locking, signed generation) | WP05 | done (#27) |
+| w2-usage-central: usage ledger ingest, checkpoints, projection, rollups | WP07 | done (#15) |
+| w2-usage-central follow-up: checkpoint initialisation race under concurrent first events (MTR03 flake) | WP07 | done (#21) |
+| w2-usage-central follow-up 3: review fixes (freeze fence, gap and replay scoping, overflow, ledger-epoch purpose) | WP07 | done (#66) |
+| w2-usage-central follow-up 4 | D-105 retired-stream hand-off accepted (contracts revision 14): a batch carrying `origin_incarnation_id` is accepted only when the origin is a retired incarnation of the same node, the presenting incarnation is current and enrolled strictly after the retirement, and every nested event ends within retirement + the central bound; ACK per original stream (`UsageBatchResult.node_incarnation_id` = origin); one origin per batch (mixed streams rejected), same-key replay returns the stored result, rejections audited, retired certificate refused at mTLS; D-112: the bound is a central setting `sampling_interval_bound_seconds` (default 10, positive) flowing LoadUsage → NewUsageHandler → `usage.Config.SamplingIntervalBound` — no migration, no historical per-stream interval; D-115: `internal/httpapi/middleware.go` delegates body identity/origin checks to the usage service only for `submitUsageBatch` with a schema-valid origin (everything else unchanged); dated note docs/usage/2026-10-31-d105-retired-stream-handoff.md; usage-verify extended with the middleware/service integration test | done (#296) |
+| w2-usage-central follow-up 5 | D-130 central side (ENR-07): the stored interval columns are a microsecond projection of nanosecond canonical values whose strict order stays validated on the canonical bytes; migration 00193 changes the stored interval checks on usage_events, usage_samples and usage_ledger_gaps to `<=` at microsecond precision (Down refuses accepted equal-endpoint rows); row arguments truncated, projection rebuild buckets collapsed intervals without inventing bytes; the exact sealed ENR-07 1 ns gap persists, its retry advances ACK to 1 and sequence 2 to ACK 2 with 908 bytes attributed once; constraint failures stay retryable 503, no definitive rejection; dated note docs/usage/2026-10-31-d130-interval-precision.md | done (#331) |
+| w2-policies-fup: plan, fair-use, DNS and release-support policies, FUP tiers | WP07, WP08 | done (#12) |
+| w2-fleet-update: releases, manifests, update batches, serving-version policy | WP09 | done (#10) |
+| w2-updater: node updater, update journal, release packaging | WP09 | done (#18) |
+| w2-agent-core: node agent, watchdog, control client, time anchor | WP05 | done (#25) |
+| w2-usage-agent: node meter, usage store, upload with contiguous ACK | WP07 | done (#24) |
+| w2-usage-agent follow-up 1: read-only `fvpn-agent usage snapshot [-json]` of the local ledger (epochs, sequences, ACK watermark, per-event canonical hashes); torn-free single read transaction, byte-identical repeats, exit codes 2/3/4/5; AT07 withheld-ACK restart proof; lab contract `UsageLedgerSnapshot` for ENR-05 | WP07 | done (#225) |
+| w2-usage-agent follow-up 2: OutboxStatus is a pure read (the gate is evaluated only by meter.Health on the run loop; status and threshold reads never persist gate_stopped; byte-identical-db proof in every gate state); ledger_epoch stays null until a verified checkpoint (§10.5/§10.6/§17.3) | WP07 | done (#232) |
+| w2-usage-agent follow-up 3 | D-105 node side (contracts revision 14): a verified same-node re-enrollment retains the previous stream in the same `usage.db`; retained events upload first under the current mTLS identity with `origin_incarnation_id`, original bytes/hashes and per-origin ACKs, without re-minting or advancing the current ACK; the new cursor starts at 1; terminal rejections are audited once, while transient failures use bounded backoff; retired bytes count in the forwarding gate and archives retain normal purge rules. **Active on main as of 2026-10-31** via agent-core follow-up 25 / #312, D-118 (`Engine.ensureUsage` supplies `RetirePreviousAt: e.clock.Wall()`); activation and restart proof pass in agent-core and usage-agent follow-up 4. Retained recovery gaps are reported with the hand-off, never re-fetched (idempotent retries until ACK; gap-only origins stay local under revision 14). D-112 pins the production meter to 10 s; raise central `sampling_interval_bound_seconds` first, then the meter interval. Real ENR-05 reinstall and arm64 evidence remain with usage AT follow-up 5 and enrollment follow-up 8. | done (#299; activation #312) |
+| w2-usage-agent follow-up 4 | D-118 active hand-off proved from the lane's own tests (agent-core 25 / #312 supplies `RetirePreviousAt`): retained stream uploaded first under the current identity with `origin_incarnation_id`, per-origin ACKs, new cursor at 1, restart-safe; "activation pending" wording closed; retained recovery gaps are **reported with the hand-off, never re-fetched** (idempotent retries until ACK; gap-only origins stay local under revision 14), documented and tested; D-112 ordering stated (raise central `sampling_interval_bound_seconds` before the 10 s meter interval); follow-up 3 row rewritten to its active state (request 1); `docs/node/README.md` usage-ledger paragraph routed to agent-core 26 (request 2); real ENR-05 reinstall and arm64 evidence remain with usage AT 5 / enrollment 8 | done (#314) |
+| w2-usage-agent follow-up 5 | D-130 node side (ENR-07): one helper `eventInterval` gives every newly minted interval UTC whole-microsecond endpoints and a minimum width of 1 µs at all four former 1 ns sites (planBaseline — the measured `unknown counter continuity` gap, correcting the proof's planSwitch attribution — planSample, planClockGap, planSwitch); SampledAt / LastSample follow the minted end so streams stay contiguous; a legacy nanosecond checkpoint is truncated only for the new start; sealed events, schema_version 1, revision 14 and the uploader untouched; ENR-07 regression at the exact clock value; recovery of sealed 1 ns events is central's (usage-central 5) | done (#330) |
+| w2-db-fixes-2: isolated migration CLI test, contract-conformant retention audit rows, one-time incarnation binding | WP03 | done (#14) |
+| w3-toolchain: Go 1.27.3 in go.mod and every CI pin | WP01 | done (#19) |
+| r2-control-review: adversarial review of the merged control plane (read-only) | WP04, WP06 | done (7 blockers, 7 majors, 2 minors → owner follow-ups) |
+| r2-updater-review: adversarial review of updater, enforcement and packaging (read-only) | WP05, WP09 | done (4 blockers, 9 majors, 3 minors → owner follow-ups) |
+| r2-ledger-review: adversarial review of ledger, desired state, policies and DNS (read-only) | WP05, WP07, WP08 | done (1 blocker, 9 majors → owner follow-ups) |
+| w3-wire-members: members, devices, entitlements, billing behind control and worker; NetBird devices adapter; composition seam (D-026) | WP06 | done (#22) |
+| w3-wire-nodes: PKI authenticator, enrollment and bootstrap, desired state, leases, observations, exits, releases, update batches | WP04, WP05, WP09 | done (#32) |
+| w3-wire-policies-usage: policies and Fair-Use operations, fup worker, usage mount with PKI signer, audit reader | WP07, WP08 | done (#40) |
+| w3-dns-publish: DNS policy compiler, node applier with evidence, lab scenario | WP08 | done (#30) |
+| w3-wire-nodes follow-up 1: adopt the composition seam | WP04, WP05, WP09 | done (#32) |
+| w3-dns-publish follow-up 1: adopt the worker seam, split document types from the store | WP08 | done (#30) |
+| w2-members-billing follow-up 1: review fixes (operations and audit conformance, exit-group eligibility reader, synchronous checkout, patch status) | WP06 | done (#29) |
+| w2-control-core follow-up 1: review fixes (conformance helpers, role cookies, limiter split, agent receipts) | WP04 | done (#42) |
+| w2-updater follow-up 1: review fixes (symlink escape, forwarding gate, persistent-data check, nodelock, downloads) | WP09 | done (#33) |
+| w1-netlab follow-up 1: review fixes (HTB class cleanup, deadline fail-closed, reset detection, IPv4 validation, evidence dir) | WP02, WP05 | done (#35) |
+| w1-dnspolicy follow-up 1: compiled bundle round-trip, source fetch SSRF | WP08 | done (#26) |
+| w3-wire-policies-usage follow-up 1: adopt the composition seam over the ledger fixes, single-format audit reader, FUP cap removal | WP07, WP08 | done (#40) |
+| w2-db-fixes-2 follow-up 1: canonical purge_retained audit row (D-035), accepted domain relaxations documented (D-033) | WP03 | done (#28) |
+| w2-agent-core follow-up 1: usage ledger integration, required host reserve, fake control usage endpoints | WP05, WP07 | done (#36) |
+| w2-control-core follow-up 2: members fixture on role cookies, module-wide integration suite | WP02 | done (#42) |
+| w3-wire-members follow-up 1: retire legacy session job, composition guide refresh | WP02 | done (#31) |
+| w3-contracts-r3: additive enums (node.enroll, device_authorize, grant_revoke, admin_identity), node-reported codes, revoked_release_ids, policy_generation, checkout 201-only, role selector, policy schema promotion | WP02 | done (#34) |
+| w2-nodes-desiredstate follow-up 3: entitlement serving readers (D-030), dns_generation from publication heads, RenewTx, audit conformance | WP04, WP05 | done (#39) |
+| w3-wire-nodes follow-up 2: D-039 fixture isolation (nodestest), dual-stack resolver configuration | WP04, WP05 | done (#32) |
+| w2-control-core follow-up 3: terminal dead-lettering with fleet singleton fallback (D-040); follow-up 4: members dead-letter test on D-029; follow-up 5: revision 3 adoption (admin_identity, report-only codes, strict audit.Append, nil-tx guard) | WP04 | done (#42, together with fleet-update follow-up 2) |
+| w1-netlab follow-up 2: idle counters are not meter-epoch changes (D-041), exported DetectMeterResets | WP02, WP05 | done (#35) |
+| w1-netlab follow-up 3 | D-063 §13.9 synthetic-probe exception in node/enforce: /32 test peer with exact destination tuples, optional resolver DNS on port 53 only, mandatory expiry with a 300 s ceiling enforced by kernel set timeouts, rendered in both the full and the fail-closed baseline rulesets behind the deny/host drops, own probe counters outside member usage, Verify/VerifyBaseline accept exactly the declared rules; lab proves the positive flow and the sibling/destination/port/admin-port/expiry negatives | done (#110) |
+| w1-netlab follow-up 4 | r10 review H-3/M-2/M-3: probe and allow sets fail closed on wide prefixes, range objects and over-long lifetimes (remaining lifetime vs model window, original timeout vs 300 s); ProbeMaxDestinations=4, no overlap with member bindings, TimeoutCeilSeconds + State.ProbeRemain stop a re-render extending a live probe; model bounds report PROBE_UNBOUNDED | done (#144) |
+| w1-netlab follow-up 5 | SpecDeniedV4 adds 192.88.99.0/24 per IANA (three globally reachable /24s stay allowed); probe DNS carve-out verified as exactly one tcp + one udp to the configured resolvers; conntrack delete failure after a verified ruleset no longer installs the baseline (ruleset-stops proof); RequireConntrack preflight | done (#156) |
+| w1-netlab follow-up 6 | ApplyResult.Verified (serving ruleset left installed) and typed ConntrackDeleteError{Pending} wrapping the ISOLATION_POLICY_INVALID CheckError, IsConntrackDeleteFailure marker; consumer is agent follow-up 12 | done (#159) |
+| w1-netlab follow-up 7 | VerifyServing accepts only the rendered model (accept vocabulary, both allow-set drops ahead of accepts, renderer chain set, no nat prerouting, duplicate chains rejected, interval flags rejected, resolver exact match and non-53 drop required without a probe); Samples skip unbound devices; counters and samples survive a conntrack failure, Pending counts all failed addresses; SNAT/32 always in host_v4 (r12 H-1, M-3, L-2, §3) | done (#172) |
+| w1-netlab follow-up 8 | r13 H-1: verifier fails closed on out-of-model statements (jump/goto, vmap, negated matches, anonymous sets, meta l4proto / meta mark narrowing on drops, flow/xt offload without the offload substrings, second accept at another priority) and requires one bound /32 per device accept at the assigned class; L-1: fq_codel leaf only under HTB major 1, tc class text with comments/continuations/duplicates rejected; member-ingress injection hook (InjectMemberIngress, fvpn-netlab inject) with counter evidence for the strict post-revoke proof (devstack f13) | done (#196) |
+| w1-netlab follow-up 9 | `ConntrackDeleteError.Failed` lists the revoke addresses whose `conntrack -D` failed (`Pending == len(Failed)`), for the agent to persist and retry (§8.2); G2 note | done (#197) |
+| w1-netlab follow-up 10 | r14 M-3: VerifyServing reads the whole ruleset; foreign base chains on prerouting/forward/postrouting or member/uplink ingress/egress that can mangle, mark, notrack, NAT, queue, drop, reject or jump into such a chain fail closed (ISOLATION_POLICY_INVALID / MARK_SEMANTICS_VIOLATED / FLOWTABLE_BYPASS); accept-only, input/output and arp chains tolerated; nftables accept semantics stated in G2-netlab.md; lab scenario; r14 proof adopted | done (#220) |
+| w1-netlab follow-up 11 | D-079: VerifyServing classifies a foreign rule as `loopback_scoped` when a native ip/ip6 saddr/daddr payload match (address, prefix, range or anonymous set) lies entirely inside 127.0.0.0/8 or ::1 — Docker embedded DNS NAT is that case and publication no longer fails closed on it; xt matches and chain/table names prove nothing, meta l4proto/ports neither prove nor cancel, jump/goto targets are still walked; everything else on a crossed hook keeps the follow-up 10 reason, now with `handle ` in the detail; LoopbackEvidence recorded in the read-back; fixture matrix (prefix boundaries, named sets rejected, scoped beside unscoped) and lab proof TestDockerDNS_LoopbackScopedServes with the embedded DNS present (class=loopback_scoped, ctunku=1, uplink=0); production exit nodes must not run Docker or any non-loopback NAT | done (#241) |
+| w1-netlab follow-up 12 | D-085 (r15 M-6): VerifyServing(ctx, executor, model, assignments) reads live nft and tc on every call — root, ingress/egress, every qdisc and HTB class handle, all chains; any tc filter on the member path is foreign (matchall/flower/u32/bpf × mirred/pedit/nat/skbedit/bpf, empty clsact too) and fails closed with TC_FOREIGN_FILTER naming the attachment, Apply returns Verified=false and installs the nft baseline; default roots and mq children stay default, owned HTB/fq_codel leaves must match the model, policy-routing scans are evidence only, foreign clsact is never deleted; r15 Q8 proofs adopted (pre-fix: verify 0 while a non-admitted UDP packet reached fv-ih; post-fix: verify and apply 3); full lab 200.964 s green; limits → agent-core f21 (read-to-heartbeat window, D-090 quarantine for a retained ingress redirect), contracts r13 (TC_FOREIGN_FILTER code; agent sends HEALTH_CHECK_FAILED + message until then) | done (#256) |
+| w1-netlab follow-up 13 | D-090 quarantine: enforce.Quarantine(ctx, executor, model) withdraws serving, installs and verifies the no-probe baseline, sets every member-facing link of the applied model administratively down (uplink and control path untouched, foreign tc objects never deleted) and persists the recovery intent as an empty owned nft marker set; Apply checks tc ownership before mutating, verifies while held down, raises the link only on a clean fully verified Apply and clears the marker; lab proof — the redirect that leaked one packet past nft leaks zero after quarantine while node control keeps passing; link-down drops member routes/addresses, reconciliation stays with the topology owner (production decision open); agent-core follow-up 22 consumes | done (#262) |
+| w1-netlab follow-up 14 | D-096 measured on real NetBird 0.82.0: 10 clean recoveries, median 54.4 ms / worst 78.6 ms from link-up to verified topology without route repair; 0/10 spontaneous raises, 10/10 deliberate reconnects raise the link (window 1.80–2.01 s incl. harness hold) with real ingress, zero redirected frames and next-Step re-containment → D-108: NetBird stays route/address owner for the pinned native IPv4 path, agent waits, no D-100 override; ISO-F6-01 original object not reproduced (20 cycles) but a node/agent recovery latch after TC_FOREIGN_FILTER + newer generation is reproduced (TestISO_F6_RetainedFailureBlocksNewGeneration → agent-core f24); node/enforce retains bounded sanitized tc rejection evidence before rollback (deciding object first, RFC 8785 digest; failed-report tc_evidence rows populated); exact contracts rev14 ObservationReport.tc_evidence proposal in docs/poc/G2-followup14.md | done (#285) |
+| w1-netlab follow-up 15 | D-104 monotonic member deadline contract measured and implemented in node/enforce: 1 ms set-element quantum on kernel 7.0.0-38 / nft 1.0.9 (JSON read-back is lossy → one strict text listing, +1.5 ms), monotonic absolute deadlines (MemberLease.DeadlineMono + Model.NowMono), integer-millisecond rendering truncated toward earlier, 100 ms render→installed-by budget behind a temporary atomic member-forwarding drop guard (a stalled install never extends forwarding), sub-quantum/expired denial; enforce-level trace with 2.9 s remaining: last positive D−100.707 ms, first drop D−0.837 ms, 26/7, no later positive (docs/poc/G2-deadline-contract-2026-10-31.md + retained one-clock trace); assembled AT13 stays open for agent-core f24/f25 + isolation f8; other kernels / physical arm64 / suspend 待實測 | done (#290) |
+| w1-netlab follow-up 16 | ISO-F6-01: the verifier does not latch — after the foreign tc filter is removed a clean newer-generation Apply verifies clean in the lab (`tests/netlab/scenario_tc_recovery_test.go`, retained trace); the stale `TC_FOREIGN_FILTER` / `policy_missing` latch is in the agent (noteApply retains the error, needRenew / ackApplied / renewAppliedLease return on applyError, leaseGenerationStale blocks the candidate; zero Apply calls across five steps) → agent-core follow-up 25; D-106 producer helper `ServingEvidence.TCReadbackEvidence()` (`node/enforce/evidence_contract.go`: detached typed snapshot, actual UTC read completion, candidate decimal generation, ≤16/4/4/1 bounds, canonical digest equal to the contract vectors for verified / rejected / truncated; generated Go round trip + TS vector check); G2-followup14 carries the authoritative field mapping, the consumer hand-off and the six isolation-8 assertions; capture start / immediate-delivery fix, disk-temp wrapper; pre-existing AT10 reload-stream timeouts tracked with the unchanged-base control (D-104 guard correlation unproven) | done (#295) |
+| w1-netlab follow-up 17 | D-116 verifier scope proven in `node/enforce` tests and the lab: a hookless `inet fvpn_install` table (installer marker) is invisible to the four-chain `inet fvpn` verdict for both the success and the broken-owned-ruleset cases, a hooked drop chain in that table is still rejected, an extra chain inside `inet fvpn` stays `HOOK_PRIORITY_MISMATCH`, and the real agent reaches serving with the marker present before enrollment; nft 1.0.9 needs text read-back to see table comments (`docs/poc/G2-installer-marker-2026-10-31.md`). AT10 reload-stream instrumentation (lab-only): JSONL echo sidecar, three namespace `any` traces, lab timing decorator around the unmodified `enforce.Apply` → `docs/poc/G2-at10-reload-stream-2026-10-31.md`: three UDP timeouts over two 100-reload runs, all with node ingress overlapping a verified Apply guard-install bracket, zero outside any bracket, guard upper bounds 18–55 ms, render→installed ≤ 29.5 ms, real agent 20 generations with 0 timeouts; AT10 still fails, criteria unchanged → D-120 continuity rule (netlab 18 implements, isolation 8 applies) | done (#304) |
+| w1-netlab follow-up 18 | D-120 implemented in `tests/netlab`: the AT10 verdict is a pure loss classification over the mandatory JSONL sidecar, node / origin / responder traces and verified Apply brackets (2 µs margin; guard and installation bounds ≤ 100 ms; successful successor; zero TCP timeouts; ≤ 5 losses per 100 reloads); missing sidecar / trace / Apply records, capture drops or count mismatches fail the scenario; every negative path unit-tested (outside, unobserved, either duration over 100 ms, consecutive or terminal loss, TCP timeout, six losses, two matching brackets, unverified Apply). **AT10 PASS under D-120**: full lane one UDP loss among 48 datagrams inside exactly one generation-1039 guard boundary (upper bound 25 ms), 100 reloads / 101 verified Applies, no TCP timeout; focused rerun no losses. F8-02 lab measurement (`docs/poc/G2-f802-mtu1280-2026-10-31.md`): IPv4 at MTU 1280 transfers complete, PMTU / ICMP related-error rules and tc pass in both directions, no missing allow rule or required clamp; IPv6 forwarding is dropped by `render_nft.go`'s two `meta nfproto ipv6 … ctv6 drop` rules with `validate.go` accepting only IPv6Block → **D-123** (v1.0 overlay is IPv6Block by design; no IPv6 MTU / PMTU acceptance row); the native 11,011-byte reconnect failure stays unattributed (devstack capture requested) | done (#308) |
+| w1-netlab follow-up 19 | **F8-02 stays failed and unattributed to a single transport cause** (task base ebbe5dfe, main through #315): members' original 11,011 / 64,064-byte row has no matching pcap; devstack's later IPv4 22,022-byte failure and 64,064-byte control show unchanged member / origin MSS 1240 / 1460 through the node and member-underlay / tunnel MTU 1280 vs node uplink 1500; published text omits ordinary TCP data / ACK / retransmission and outer fragmentation headers; no captured ICMP need-fragmentation is not proof of suppression; partial transfers stay failures; exact handshake timestamps and four raw-pcap size / SHA receipts handed to devstack (`docs/poc/G2-f802-native-attribution-2026-10-31.md`); no product / NetBird MTU or MSS change, both IPv6 drop rules intact, D-123 posture. **Producer timing delivered for isolation 8 request 2**: `ServingEvidence.TimingEvidence()` is a detached local sibling of D-106 (per-operation start / end, final render, exact guarded install / release command brackets, each verifier, nft ruleset read, millisecond precision text read, aggregate tc read, matching D-106 digest; failed / partial operations and both quarantine-recovery verifiers preserved; nanoseconds as decimal strings; no I/O in the guard, no wire-schema / digest change, no `node/agent` edit); hand-off `docs/poc/G2-followup19-netlab-agent-2026-10-31.md` (requested `docs/node/` placement refused: outside the lane). Live: full privileged lane PASS 216.419 s; AT10 PASS under D-120 with 100 reloads / 101 verified Applies / 54 datagrams / zero UDP losses and TCP timeouts, all 101 producer records enclosing the independent executor samples; D-104 exact expiry predicate and deny-all-before-populated recovery assertions pass; independent real Engine run 22.95 s with 23 verified Apply snapshots / 77 datagrams / zero losses (neither clears isolation's historical 17 renewal losses; the finite lab connection proof is distinguished from isolation's assembled counter proof). D-098: 122 byte-identical follow-up 18 artifacts pinned against dd5c8897 | done (#318) |
+| w1-netlab follow-up 20 | Evidence-pin hygiene (members 10 F10-01, D-098 / D-109): the members AT09 source row and its link now name the byte-identical members follow-up 8 archive, and the three isolation pins (deadline-verdict, recovery-verdict, continuity-analysis) name docs/e2e/at/isolation/history/follow-up-8/ (archived by isolation 9, #334) — all six original SHA-256 digests unchanged; tests/netlab/evidence_test.go adds strict offline verification of every retained-file pin (SHA-256 plus optional length) and external archive-path checks with 20 in-memory regression cases; 200 / 200 retained-file pins verify, source archives 6 / 6, Python units 15 / 15; gates 8 / 8 (lint incl. gofmt / vet / pinned staticcheck, amd64 + arm64 builds); the branch was held from 10:37 to 11:57 only for the isolation archives; 0 requests | done (#336) |
+| w1-netlab follow-up 21 | D-098 first (82 follow-up 20 files byte-identical under `docs/poc/G2-followup20-evidence/`). **F8-02 captured on the IPv6 underlay** in the privileged fixture (attempt 1 of 3): 10,010 / 64,064 bytes in 12,012.403 ms, first missing TCP range [2773444484, 2773445712); all 19 reverse outer IPv6 packets of 1,360 bytes absent at the member while the 36 × 1,152-byte, one 928-byte and eleven 144-byte packets arrive; zero kernel drops in all four captures, no ICMPv6 PTB; upload fragmentation succeeds; the MTU-1500 control passes 64,064 bytes in 4.479 ms including all nine 1,360-byte reverse datagrams — **one mechanism explains both underlays** (IPv4's 1,340-byte case = 1,360 with IPv6's 20 extra header bytes): the oversized reverse datagram leaves node and tunnel egress and is lost before member underlay ingress (receive-link MTU rejection, beyond enforcement; no global MTU / MSS fix invented). **Enforcement assessments** (no predicate changed): expiry reserve = the intentional 100 ms installation allowance + 1 ms truncation → conservative transition window [D−101 ms, D], every pre-D loss counted, literal zero pre-D false (own D-104 sample 26 / 7, last positive D−100.730 ms; isolation 10's 161 / 41, last positive D−99.655 ms); outer guard retained as the measured atomic mechanism — 101 completed reload guards p50 / p90 / p99 / max 32.480 / 41.400 / 45.396 / 52.675 ms, installs 16.698 / 21.783 / 28.473 / 30.818 ms — the historical 52.596 ms maximum is not a ceiling, install overrun never opens the guard (baseline replaces it atomically with closed generation-0 rules), the 100 ms budget is intentional under contention → **D-134**. **F11-03**: a real failed-Apply rollback closes the admitted sibling until the next successful Apply — three injected verifier-read faults with a 200 ms hold give baseline→recovery brackets 304.815 / 280.395 / 285.297 ms (failed-Apply guards 34.4 / 28.3 / 24.0 ms), 397 ingresses / 224 egresses / 173 losses retained (150 outside every completed guard) → agent-core 29 / 30. **F11-01**: the first unconfirmed interval is member tunnel egress → node ingress; the native AT01 route is outside this fixture → devstack / members. D-120 unchanged (101 verified reloads, two retained boundary losses). 504 pins; four dated requests (native IPv6 endpoint captures + explicit 1280 constraint → devstack; expiry wording → D-134; F11-03 brackets → agent-core; F11-01 route correlation → devstack with members). | done (#355) |
+| w1-netlab follow-up 22 | D-098 archive of follow-up 21 (132 files, SHA-256 pins). Opt-in TEST ONLY command-lifecycle observation in the enforcement executor (`enforce.WithCommandLifecycleForTest`; disabled it costs one context lookup per call site), accepted by D-138 over two comparison windows: the live A,B,A,B quartet passes; agent suites show no B-only failure (unchanged main fails `TestLab04_RestartKeepsVerifiedLease` in A1 and R-A2), install-command failures 4 A / 4 B, B timing interleaving A across windows; a qualified R-B2 agent leg never ran (host not quiet). D-135 assessment: fail-closed rollback to the generation-0 baseline, never infallible cleanup; fresh two-source rollback brackets 312.9 / 323.5 / 319.0 ms (admitted source 185 losses, 167 outside guards; denied source 0 egress). 3 requests: TEST ONLY engine caller and TestLab04 → agent-core 31; the R-B2 leg closed by D-138. | done (#365) |
+| w1-netlab follow-up 23 | D-098: follow-up 22's 2,604 + 543 retained files verified byte-identical (no archive needed). **r18 L-1 fixed**: opt-in resource sampling is skipped throughout the install phase (`skip_reason=install_bound`; canceled or expired contexts recorded as such; a cancellation during collection discards the sample); the adopted r18 proof `TestReviewR18_EnabledSampleIgnoresInstallDeadline` now asserts the corrected behaviour — fails on unchanged main, passes here; disabled call sites byte-identical, no D-133 A/B needed. **F13-01 origin unproven**: 0 / 3,300 duplicated-chain listings in the owned lab (nftables 1.0.9-1ubuntu0.1; `list table` and `list ruleset` under static, flush / rebuild, atomic delete / recreate and guard churn with 1,336 concurrent transactions); conservative decision — every duplicate owned-chain definition, identical or not, stays rejected, now as a typed `*enforce.DuplicateChainError` (`duplicate_chain`); verifier reasons, acceptance, rollback and retry unchanged; no historical row reclassified. 2 requests: counterread classification → devstack; F13-01 rows stay failed → members / isolation. | done (#377) |
+| w1-netlab follow-up 24 | r19 H-1 fixed: the download path now drops a packet whose source is a current denied, host or resolver address before any generic established/related member or probe accept; exact designated-resolver TCP/UDP source-port-53 replies stay ahead of the guard. Upload diagnostics keep their meanings; a new content-free `diagnostic_v1` counter `ctdenyd` counts the return drops and never enters usage. The verifier now requires the exact five-statement guards on the member, serving-probe and baseline-probe paths. r19's kernel and render proofs adopted and converted (failing on `main`, passing here); its two design-only proofs dropped per D-141. Same-host A,B,A,B (73.87 min, 644 Applies, all OK): both B reloads pass; A2 on unchanged `main` failed D-120 (a lost final datagram with no recorded successor) and stays failed. B renders 3 more rules (+351 B) and its pooled ordinary p50s are 1.2–1.7 ms higher, one window, descriptive under D-138. Final full-lab replay 236.5 s PASS; D-098 109 / 109. Open for the owner: a RELATED ICMP error with a denied, private, host or resolver outer source is now dropped even when its quoted connection is allowed. 4 requests (usage, devstack counterread, agent-core, spec owner). | done (#389) |
+| w1-netlab follow-up 25 | D-120's measurement end fixed in the harness (`tests/netlab/scripts/stream.py`, `trace_capture.py`, `reload_trace_test.go`): the stream ends only after the final generation-1100 guard bracket closes; a stream ending on a lost datagram records at most one more TCP / UDP cycle, so the successor is measured, never retried; a failed successor stays failed; a 15 s parent watchdog fails incomplete evidence. `classify_d120`, its tests, the 100-reload campaign and the loss limit are byte-identical; follow-up 24's A2 replay still fails `(iii): next datagram missing`. Offline stream-loop proofs cover a lost tail with success, timeout and wrong echo. One predeclared live run on a quiet host (23.5 min wait): 100 reloads, 101 verified Applies, 62 UDP datagrams, zero losses, zero extra cycles; max guard bound 51.260 ms, max render-to-installed 30.797 ms. Follow-up 24's 609 files unchanged; new large JSONL as gzip with both hashes (13.6 MB → 0.72 MB). 0 requests. | done (#396) |
+| w1-netlab follow-up 26 | Isolation 16's F16-01 disposition, TEST ONLY, with no production change. D-098 first: follow-up 25's 163 files verified against its final manifest; every earlier G2 tree byte-identical. The mechanism: on the lab kernel each set element takes its own expiration base when it is allocated, before commit (upstream v7.0 source; normal trial 758 shows a raw age decrease that one common base cannot produce; two padded single-transaction controls separate by at least 2 ms and reverse with insertion order), and a dump samples the clock per element before nft sorts by address (2,000 dumps of one unchanged set: two crossings, e.g. dump 399 reads 13 ms then 14 ms inside a 27.8 µs bracket). The exact 1001–1008 ms timeout read-back already carries the 1 ms quantum proof, so `tests/netlab/scripts/deadline.py` keeps it and the text read-back, and replaces the adjacent-expiry equality with each element live and no greater than its configured expiry (`deadline_precision.py`). Campaign, run once with no retry: the old assertion rejected 4 / 1,000 normal listings, the replacement accepted 1,000 / 1,000. Before-fail / after-pass on isolation 16's eight pairs; all 19 historical listings pass both; coarse 2 / 4 / 10 / 1000 ms listings fail both. F16-01's exact shape was not recaptured: run 83b457ef stays failed and its individual cause unproven. Full lab 227.651 s PASS (D104 26 positives / 7 drops, last positive D−100.704 ms); the deadline window, guards, cadence and the D-104 / D-140 predicates are unchanged. 1 advisory request (the orchestrator's host-admission check matched the lane's own waiting wrapper; fixed on the orchestrator's side). | done (#403) |
+| w1-netlab follow-up 27 | r20 H-2 closed in `node/enforce`: Apply verification and periodic live reads now check the exact interval coverage of `denied_v4` and `host_v4` against the model (missing, extra or tainted coverage fails with `ISOLATION_POLICY_INVALID`; interval flags mandatory; set and element timeouts rejected; both baseline forms require empty, untainted member admission; bare baselines remove the retained sets atomically). Before-fail on main `b9439411`: six add / remove / replace mutations passed the old verifier in unit fixtures and on the lab kernel; restart adoption accepted an unrecorded Apply's changed sets; after: fail closed, periodic drift withdraws serving. Predeclared quartet (D-133, one attempt per leg): A1 / B1 / A2 / B2 = PASS / FAIL / PASS / PASS; B1 failed D-120 clause (iv) once (TCP seq43 read timeout 1.501 s, sent 0.4 ms before generation 1064's install ended). Orchestrator, under D-138: not attributable to this change (the serving render and install are unchanged; the new checks run after release and only read; pooled verify p50 A / B 23.147 / 23.239 ms spec and 25.070 / 24.831 ms expanded, no repeated shift; +51 to +78 µs local parse work); B1's failure stays recorded and the TCP install-boundary failure on main becomes F27-01 → netlab 28 (TCP packet observation). Consumer updater test `TestAT25_FileMeterWaitRestartRechecksCurrentFile/missing` exceeded its 1 s wall-time assertion (updater files unchanged; the case does not run the verifier) → F27-02, updater. Full netlab suite and D-104 (26 / 7) pass. 2 requests (F27-01 netlab, F27-02 updater). | done (#405) |
+| w1-netlab follow-up 28 | TEST ONLY F27-01 diagnostic: one predeclared window (`ef58364c`) on the existing 100-reload harness with opt-in TCP observation (`-tcp-observe`, `FVPN_NETLAB_TCP_OBSERVE=1`; ordinary gates leave it off; D-120's probe, timeout, UDP path and analyzer byte-identical). 100 reloads, 101 verified Applies, 118 TCP reads, zero TCP failures and zero UDP losses; all 375 TCP segments correlated across origin, node and responder captures; 11 retransmissions on seven reads, every missing node egress inside an install / release bracket, conntrack ESTABLISHED with one ID throughout; longest read 827 ms. A candidate mechanism (repeated loss at guard brackets with RTO backoff) is recorded; it does not explain B1, which stays FAIL, and F27-01 stays unresolved. Admission waited 21.5 min; another lane's unit test started in the last 1.4 s of the read window, so no uncontended claim. Not all green: the full-lab gate failed `TestAT12_ISO01_ISO04_AllowDeny` (deny-phase usage counter 16,243 → 16,340 bytes, +97) on unchanged AT12 and production code, retained without retry and routed to netlab 29. D-098 verified for follow-ups 25–27 at start and end. Before publication the orchestrator rewrote the unpushed commits to redact a private path from the evidence's `host.py` line 13 (`b398b5a0` → `c91eb3d5`, `20ad4553` → `aa25dd8a`; manifest SHA-256 `dda5a42a…`); the executed copy differed only in that line. Session on codex gpt-6-astra. | done (#411) |
+| w1-netlab follow-up 29 | F28-01 attributed and fixed, TEST ONLY. The first reserved full-suite run on the original assertion and unchanged production enforcement failed AT12 by 97 upload bytes in two packets (15,533 to 15,630), both from AT10's earlier TCP connection to an admitted destination: a 57-byte retransmitted request and a 40-byte RST, matched at origin, node ingress, node egress and responder, strictly between the before and mid reads, so no read-boundary race. AT12 had entered with that socket still in FIN-WAIT-1 (Send-Q 26); flushing node conntrack did not clear the member namespace's retransmit state. The bytes were forwarded under a re-admitted binding, not refused packets billed. Fix: AT12 destroys and verifies prior connected IPv4 TCP sockets in its lab namespace before probes and baseline sampling; the deny assertion is byte-identical (no subtraction, reset, tolerance or settling sleep). Both corrected full suites found and destroyed a pending old socket and counted zero deny-phase bytes (16,669 and 14,349 unchanged). Follow-up 28's gate 2 stays FAIL; its original packets were not captured. F27-01 stays unresolved and B1 FAIL: the single guard diagnostic failed at capture startup (NFLOG rejected nanosecond timestamps), not retried; the microsecond parser fix is offline only. Follow-up 28's publication mapping recorded additively. D-098: 994 earlier payload files and four manifests byte-identical; new manifest d9f9e7d5 (512 payload files). No production change. Session on codex gpt-6-astra. | done (#415) |
+| w1-netlab follow-up 30 | TEST ONLY, evidence under `docs/poc/G2-followup30-evidence/` (313 new files, 19 gzip artifacts, manifest `cd23561b…`); no production, consumer, tool-pin or D-120 change. The corrected NFLOG collector validated live on its second slot: eight expected logs matched once each, an unlogged negative control, zero kernel drops, microsecond precision and kernel timestamps on every record. The single AT10 guard window (100 reloads, 101 verified Applies, 118 TCP reads): all 381 segments correlate, and the seven missing node egresses each match exactly one `fv_deadline_guard` drop (member to responder) inside the install-command bracket of its generation (1002 to 1093); the worst read recovered at 416.7 ms. F27-01's guard-drop mechanism is demonstrated; B1's 1,501.4 ms failed read has no packet trace, is not reconstructed, and B1 stays FAIL. Both host qualifications failed under the foreign-CPU rule (the guard window's first interval at 2.48 cores, dominated by a foreign git process; eleven full-suite intervals above 0.5, max 4.31 cores) while every functional assertion passed. Observed guard cost disclosed, not isolated (install, release and outer-guard medians 13.7, 13.2 and 28.5 ms; outer max 94.7 ms). A hitless guard hand-over is a proposal only. D-098 verified at both ends (1,506 earlier payload files, five manifests). Session on codex gpt-6-astra. | done (#418) |
+| w1-netlab follow-up 31 | Design only (`docs/poc/G2-followup31-design/`): no production, test or tool change, no live run and no reservation. The current guard's guarantees are written down from the code first: G1–G10 with file and line citations, the crash cuts, and follow-up 30's measured cost (install, release and outer-guard medians of 13.7, 13.2 and 28.5 ms). Three candidates. C1, a retained-deadline intersection guard: the old timed admission elements cap unchanged, verified identities while the full candidate installs, and revocations commit in the install transaction. C2, a staged inactive generation switched by one atomic jump: it adds revocation delay. C3, an absolute kernel deadline: rejected, because stock nft `expires` is relative and no proven absolute monotonic primitive exists. None keeps the current all-member closure after a late commit, or a kill before the budget check, while being hitless: under C1, eligible members continue until their unchanged old deadline instead (the G5/G6 trade, with its G4/G8 failure-containment difference), which only the owner can accept. Recommendation: C1 for design review only; production keeps the current guard. The proof obligations, failure injections and a predeclared D-133 A,B,A,B comparison with its fixed decision rule are written for a later follow-up. Implementation waits for review, the owner's decision, and cross-lane provenance and rollout work (agent-core, updater, installer, acceptance). B1 stays FAIL and unexplained; follow-ups 25–30 are byte-identical (1,818 payload files, six manifests). Session on codex gpt-6-astra. | done (#421) |
+| w1-netlab follow-up 32 | r24's enforcement findings judged on `main` before any change (D-141), with its proof file committed alone first. H-4 fixed: rollback installs a self-contained baseline batch that resets the candidate's fixed chains and sets without a fresh state read, and baseline and quarantine cleanup run on a cancellation-independent five-second context. H-2's tc order fixed: classes are prepared before the nft install and retired only after the guarded commit, before release. M-2 confirmed in part: both post-shape clock errors now attempt rollback; its alleged fatal verified return is unreachable today and keeps a regression. The copied M-3 test is dropped, since it did not invoke the tooling. C1 revised, docs only (`docs/poc/G2-followup32-design/`): rate-only fair-share changes may keep eligibility; per-device deadlines and a verified-serving record are agent-core prerequisites; the old bank is deleted at release. r24's cadence and exposure figures are corrected: the renewal jitter is a fixed −12 s, the aggregate loss figures have no source, and the illustrative complement is 99.715%. The owner's G5/G6 question is restated in plain language, and production keeps the current guard. One full lab run passes. The agent fixture simulator (a test-only scope extension) now models idempotent nft adds, atomic batches and staged tc, and the unchanged node and installer gate passes. Follow-ups 25–31 are byte-identical (1,830 files). Sessions on codex gpt-6-astra. | done (#423) |
+| w1-netlab follow-up 33 | Additive corrections to netlab 32, documents only, in one new file (`docs/poc/G2-followup33-design/corrections.md`); both netlab 32 trees stay byte-identical, as handover 36 pins them. The shared lock path is `/var/lib/vpn-node/update.lock` in every default on main (the agent's config, nodelock, the updater and installer layouts, the watchdog), not the `update-journal/update.lock` that netlab 32's protocol adopted; `update-journal` is the update journal's directory. r24 L-1 is confirmed in part: its lock-location half is rejected, since the follow-up 31 line it cites names no lock and its cited `node/updater/config.go` does not exist; its empty eligible-set half stands as netlab 32 specified it. No netlab 32 conclusion depends on the path string. New: r24 M-3's description of B1 as a `TCP_RTO_MIN`/socket-pacing follow-up has no source in the tree it reviewed; B1 is the first candidate arm of the D-133 quartet, and the no-transport-change constraint stays. Every other r24 citation that netlab 32 adopted was re-checked against main and the reviewed tree. The wrong path's only adoption is netlab 32's protocol line; handover's documents quote it as the corrected claim. Session on agy gemini-4-argon-high, with four continuations: three returned by the orchestrator (invented test names and figures, one row's attribution, the search refreshed for current main) and one correcting a phrase the orchestrator's brief had wrong. | done (#426) |
+| w1-netlab follow-up 34 | Owner decisions D-146 and D-147 in the node's rendered rules, with parser and live-verifier enforcement (`docs/poc/G2-followup34-2026-11-03.md`). D-146: a 1160-byte IPv4 TCP MSS ceiling, on SYN and SYN-ACK only when an existing MSS option exceeds it, as one non-verdict clamp before each admitted address's general upload accept and one before its download accept; no MTU changed; 1160 fits the IPv6-underlay worst case (inner 1200, outer 1280). D-147: three per-address accepts before the download source-deny drops, for ICMP type 3 code 4 that conntrack marks RELATED, from resolver, denied or host sources to the admitted address, on the existing download counter and priority; no upload, probe, unsolicited, other ICMP or IPv6 exception. Lab, fixed IPv4 underlay: receive-only 1280 TCP download from 0 to 64,064 bytes; member SYN 1380 to 1160, origin SYN-ACK 1460 to 1160, a smaller 1000 unchanged; UDP still lost, QUIC untested. A private-router upload completes with learned PMTU 1000, its 10 errors forwarded and metered once as 5,760 download bytes; time-exceeded still dropped at ctdenyd, an unsolicited error at ctinv, the member's ping to the router at ctdeny. The full netlab gate and all 13 agent scenarios pass, D-087 and D-104 included. The node consumer gate first failed in netlab's own agent test translator, through the orchestrator's brief wording; one continuation extended it faithfully, with an atomic negative test, and the unchanged gate passed. IPv6 underlay, native, relay and platforms are left to members' and isolation's reruns; historical F8-02 rows stay failed. 7 commits, 769 owned files. Session on codex gpt-6-astra, with one continuation. | done (#432) |
+| w1-netlab follow-up 35 | F22-01's diagnosis and new TCP evidence (`docs/poc/G2-followup35-2026-11-04.md`). The agent has no positive minimum Apply spacing: binding-deadline wake-ups, a zero remaining Step delay and a closed recovery's second Apply in the same Step can all apply within 400 ms. So D-159's condition is false, and the campaign's cadence is unchanged. Measured retry offsets (+208, +416 and +826 ms), transplanted onto F22-01's and F27-01/B1's sends, meet later install brackets: timing-compatible, not proven, since neither run retained TCP packets. The three collectors now keep combined TCP/UDP headers with absolute sequence numbers and their original counters; a checked projection feeds the byte-identical D-120 analyzer, and the stream records each TCP echo as match, EOF, stale or mismatch. Five standalone attempts: the first failed on the new splitter and stays failed (fixed, with a regression test); four passed with zero TCP timeouts and a TCP p95 of 205 to 209 ms; attempts 3 to 5 conservatively confounded. In attempt 3, sequence 47 entered the node twice inside generations 1069 and 1070's install brackets before a 613 ms read. The full netlab gate and all 13 agent scenarios pass. Historical failures stay failed. 7 commits, 397 owned files, mostly evidence. Session on codex gpt-6-astra. | done (#462) |
+| w1-netlab follow-up 36 | D-161 in the pure D-120 classifier (docs/poc/G2-followup36-2026-11-04.md): a TCP read timeout counts as a guard loss only when the complete checked combined captures attribute every lost transmission of the stalled bytes to exactly one verified guard bracket within 100 ms, the bytes and the in-order echo then arrive on the same connection, and no reset or close occurs. Any other TCP failure, or missing TCP captures, still fails (iv), and guard-attributed timeouts count toward the five-loss allowance. Verdict strings, exit status and existing fields are unchanged. Gate 2: AT10 PASS under D-120, with 64 TCP reads, 0 timeouts, 8 guard-attributed transmissions recovered without a timeout, a 217.7 ms longest stall and 0 UDP losses. Replays: live2 to live5 and follow-up 35's gate 2 stay PASS, live1's original failure stays recorded, and F22-01 (7b0db5f2) and B1 stay FAIL for missing TCP captures. 76 offline tests; all 13 agent lab scenarios pass. Isolation's AT10 wording is handed off. | done (#465) |
+| w1-netlab follow-up 37 | Replaced shared-counter equality with exact injected-tuple and trace-ID drop evidence for the existing policy-routing admission test; retains complete zero-egress capture and existing tc quarantine/recovery checks. Offline negative proofs and the corrected focused live parent passed. Initial collector syntax failure retained; historical scheduled extra-counter cause remains unknown. No production change; bundled with final delivery consolidation. | done (#487) |
+| w2-fleet-update follow-up 1: review fixes (SubmitResult generation compare, signed intent issued_at, node_name, Register validation order, applied policy_generation) | WP09 | done (#37) |
+| w2-pki-enroll follow-ups 1–2: review fixes (bootstrap verdict, node_id binding, trust bundle filter), migration 00111 guarded reinstall, node.enroll operations, core audit builders | WP04 | done (#43) |
+| w2-pki-enroll follow-up 3 | ENR-02 (contract revision 10): api.Enrollment.TokenSha256 populated from encode(token_hash, hex) on create, replay, get and revoke (plaintext still returned once); enrollment.created after-set carries token_sha256; audit redactor exempts names ending _sha256 on write and read while token/access_token/refresh_token/token_hash stay redacted; docs/pki states the rule | done (#195) |
+| w3-wire-members follow-up 2: adopt revision 3 kinds (member.device_authorize, member.grant_revoke), D-029 audit conformance | WP06 | done (#38) |
+| w3-wire-members follow-up 3: production `netbird_user_bindings` writer (D-052) — shared-issuer public-subject discovery, read-only NetBird user list, native peer admission through the product | WP06 | done (#76) |
+| w3-wire-members follow-up 5 | D-052 review fixes: 00183 UNIQUE(issuer, subject) with loud duplicate refusal, canonical issuer package, review proofs green on main, standalone members lint gate | done (#125) |
+| w3-wire-members follow-up 6 | 00186: client_scope becomes mutable diagnostic metadata (trigger keeps id/member_id/issuer/subject immutable); rotation stores the new scope with one proof_updated audit; Up/Down round-trip proven | done (#134) |
+| w3-wire-members follow-up 7 | issuer.Canonical trims only literal trailing slashes of the escaped path; a percent-encoded slash is preserved (r9 Low); review table ported; Validate unchanged | done (#139) |
+| w3-wire-members follow-up 8 | worker self-contention no longer fails operations: member-level advisory lock, ErrLeaseLost/ErrConflict retried by the dispatcher, discovery denials audited once per decision transition, attribution stays fleet_config (D-029); root cause of the Portal CI intermittency (#199) | done (#205) |
+| w3-wire-members follow-up 9 | D-076 / SECOPS-18: a restored older device authorization never re-grants by itself — SyncDevice confirms an unexplained withdrawal with a second ObservePeer, forces allow=false, inserts device_authorization_fences (00188), audits device.authorization.external_withdrawal once; re-grant only through AuthorizeDevice (system/admin); restored revocations still win; restore-mode log + counter | done (#227) |
+| w3-wire-members follow-up 10 | D-077 handlers: MemberDevice.authorization_unconfirmed projected from device_authorization_fences (always emitted; AdminDevice adds authorization_unconfirmed_since), GET /admin/devices keyset list with a filter-bound cursor, POST /admin/members/{member_id}/devices/{device_id}/authorize re-grants a fenced device / authorizes a pending one (202 member.device_authorize, fence deleted in the grant transaction; 404, 409 STATE_CONFLICT, 409 DEVICE_LIMIT_REACHED = D-081); revocation clears the fence | done (#244) |
+| w3-wire-members follow-up 11 | revision 14 `revokeMemberGrant` registered through the strict composition: `POST /api/v1/admin/members/{member_id}/grants/{grant_id}/revoke` returns the durable 202 `member.grant_revoke` operation (was 501); revocation, projection recompute (`revoked_at IS NULL` predicate unchanged, revoked rows retained), operation, audit (`member.grant_revoke` with admin/request/operation correlation and revoked_at diff) and queued `member.grant_revoked` work share one HTTP transaction; conflicts on revoked/expired, 404 unknown or other-member grant, same-key replay retains the operation, forced audit failure rolls everything back; D-077 fence preserved through withdrawal and restoration (AT30 central portion); worker: `member.grant_revoked` joins the fence-reconciliation batch from #291 so overlapping exits compile once before the receipt audit; D-117: no open-ended grants (valid_until NOT NULL + isfinite since 00001) — the obsolete vector label is excluded and a far-future finite grant is withdrawn through the real route instead; contract-vector-driven AT29 central matrix; docs/members/README.md | done (#297) |
+| w3-wire-members follow-up 12 | Convergence-only test repair after a binary-startup CI failure: use the actual loopback control listener address instead of preselecting released ports, observe early subprocess exit without consuming cleanup state, and retain bounded startup diagnostics. Existing product behavior and business assertions preserved; original CI cause remains unknown because its startup logs were not emitted. | done (#488) |
+| w2-updater follow-up 2: enforce signed revoked_release_ids, ARTIFACT_INVALID reporting, applied policy_generation (D-043) | WP09 | done (#41) |
+| w3-wire-policies-usage follow-up 2: fail-closed signing and explicit policies/usage settings (D-045), fixture helpers | WP07, WP08 | done (#40) |
+| w2-agent-core follow-up 2: revision 3 node codes, external meter resets via DetectMeterResets (D-041), per-event usage conflicts | WP05, WP07 | done (#44) |
+| w2-agent-core follow-up 3: baseline safety separated from serving, unpublished generations acknowledged, data-path probe (publication deadlock, agent side) | WP05, WP07 | done (#75) |
+| w2-agent-core follow-up 4: health attestation producer — the running candidate agent answers the updater challenge from its own checks (D-053) | WP05, WP07 | done (#84) |
+| w2-agent-core follow-up 5 | Resolver-document consumer with digest/size verification and restart cache, dns_policy_evidence in observations (D-056); signed egress probe overriding the local target and sanitized check detail (D-058); fails closed without an injected DNS applier | done (#92) |
+| w2-agent-core follow-up 6 | D-053 producer fixes (review MED-3): desired ETag only after signature and validity-window verification, no health answer before a verified desired state is held, transient first-sync errors no longer attest dns_policy failed; D-061 resolver admin wiring (agent.json dns.resolvers[] + root-only 0600 credentials file, reloaded on SIGHUP, host-local admin origins only) | done (#99) |
+| w2-agent-core follow-up 7 | D-062e: updater journal snapshot on every observation (update object, release pointers from the journal, bounded uncached read, classed error log) | done (#115) |
+| w2-agent-core follow-up 8 | D-056: dns_policy fails until the named resolver document is applied (revoked/lease-revoke paths); D-063 §13.9 probe-exception consumer on health challenges; r8 agent review proofs | done (#126) |
+| w2-agent-core follow-up 9 | lease renewal in the step that applies a new generation; lease for another generation = policy_missing / STALE_GENERATION, lease_expired keeps its meaning; bare allowed_ipv4 admitted as /32; lab: lease gap closed, member bytes still not counted (devstack f9 traces) | done (#146) |
+| w2-agent-core follow-up 10 | r10 review + D-064: probe exception authorized by the live challenge without the update lock, once per issuance inside issued_at/expires_at with a remaining-seconds ceiling; cleanup failure fails closed (probe_clear_failed); decision recomputed after enforcement changes; dns_policy applied only when read-back digest and generation match the signed reference; serving-probe resets open a meter epoch; journal pointers override current_release_id only after locally_succeeded/rolled_back; credentials need 0:0 and one link; lab 17/6/0 with serving 1 on the no-probe path | done (#150) |
+| w2-agent-core follow-up 11 | r11 agent findings: amended D-064 (exception only under a foreign update lock, baseline model for install and removal, trustedNow), node-local and SpecDeniedV4 destination refusal, durable probe issuance across restarts, RenewLeaseOnce with Retry-After backoff that never blocks heartbeats, apply-failure and missing-executable (nft/tc/ip/conntrack) fail-closed evidence (DEPENDENCY_UNAVAILABLE) | done (#162) |
+| w2-agent-core follow-up 12 | a verified serving ruleset stays installed while a conntrack delete is retried and reported (ISOLATION_POLICY_INVALID, revision 8); Retry-After backoff keeps a still-fresh lease; conntrack preflight via enforce.RequireConntrack | done (#166) |
+| w2-agent-core follow-up 13 | Agent side of updater follow-up 11 (#168): the tunnel check reports an omitted synthetic probe as a bounded probe_omitted detail; attestation keeps the fixed reason vocabulary | done (#171) |
+| w2-agent-core follow-up 14 | test fixtures only: the D-063 external-reset proof joins the engine sampler before sampling directly (meter ErrBusy window seen once in a gate); new proof that a busy tick is skipped without logging or counter loss; probe-exception test pins the fakecontrol lease clock to the frozen challenge clock (generated_in_future under -race load); -count=20 and -race -count=5 green | done (#181) |
+| w2-agent-core follow-up 15 | D-067: a grant-less same-generation lease with non-empty desired bindings is provisional — renewed after one heartbeat, then doubling, capped at 60 s (monotonic, separate from Retry-After); r13 M-2: applied_address keyed (addr, device_id, member_id) (user_version 3), same-IP device/member swaps queue conntrack -D before serving; r13 M-3: 12 consecutive failed conntrack -D attempts or a missing binary fail isolation closed, count persisted across restarts; requests routed to wire-nodes f20 (RenewTx 60 s backstop, revoke step under the bound), netlab f9 (ConntrackDeleteError.Failed), agent f16 (awaiting_member_grants) | done (#193) |
+| w2-agent-core follow-up 16 | provisional grant-less lease reports `awaiting_member_grants` (never `lease_expired`/`LEASE_EXPIRED` while in force); lease check detail kept, error_code null until revision 11 (D-071) | done (#198) |
+| w2-agent-core follow-up 17 | pending conntrack revocations are exactly `ConntrackDeleteError.Failed` (other addresses retired), retried on the next Apply, restart-safe; attempt bound and fail-closed shape unchanged | done (#202) |
+| w2-agent-core follow-up 18 | revision 11 adopted: the D-067 provisional lease reports AWAITING_MEMBER_GRANTS on the lease/qos/source_binding checks with one errors[] entry (stage lease), safety passed, renewal schedule unchanged, four negatives re-proven; r14 M-1: a nil-identity migrated address reassigned to another device is queued for conntrack -D and kept pending until the delete succeeds; central tolerance verified read-only | done (#216) |
+| w2-agent-core follow-up 19 | SECOPS-19 — observation reports carry the live UsageOutboxStatus from the open store (bounded 2 s read, zero shape or last good value when unavailable, never changes safety/provisioning/forwarding); fakecontrol end-to-end + restart invariance | done (#226) |
+| w2-agent-core follow-up 20 | D-067 renewal cadence: grant-less leases re-request after one heartbeat then doubling, every wait capped at 60 s and measured from request send, the lease lead never bypassed, due renewals before observation / desired-state work, all empty leases on the schedule (engine proof: populated grant 60 s from request / 55 s from ready under a 90 s heartbeat); the archived 80.6 s included ≥70.3 s before publication → D-087 amendment; r15 Q5/Q7 proofs adopted; node CI gains node-test-integration with PostgreSQL 17 | done (#250) |
+| w2-agent-core follow-up 21 | D-085 consumer: VerifyServing reads the live nft/tc state three times per serving step (before reconciliation, after Apply before the generation ACK, immediately before the heartbeat) against the retained applied model and class assignments, each read bounded by min(1 s, min(heartbeat, poll)/2) with elapsed step work subtracted from the next sleep; any rejection withdraws serving through the existing baseline path with the specific reason and never acknowledges the offered generation; fake-plane injection regressions and a real-kernel netlab injection test (52.6 ms added per serving step); AWAITING_MEMBER_GRANTS capture recipe for isolation; identity_frozen, the TC_FOREIGN_FILTER code and the D-090 quarantine consumer are follow-up 22 | done (#260) |
+| w2-agent-core follow-up 21 hotfix | the three D-085 proofs in node/agent/followup21_test.go expect TC_FOREIGN_FILTER after contracts revision 13 (#261) made it a real error code (D-093 class; main was red in node/agent from #261 until this merge; no behaviour change) | done (#264) |
+| w2-agent-core follow-up 22 | identity_frozen consumer (D-088 ii): durable incarnation latch — forwarding withdrawn, non-serving heartbeat, immediate renewal, no generation ACKs while frozen, absent/false never unfreezes, restart cannot reopen; D-090 wired at rejectServing through the Apply executor with retained applied models as containment evidence, cleared only by a clean full Apply plus a passing member-path check; D-096 member-path check from pre-Apply topology hashes and the applied peers' member route; TC_FOREIGN_FILTER end to end; lab: zero bypass packets after quarantine, control intact, recovery gated on restored topology; D-100 answered | done (#272) |
+| w2-agent-core follow-up 23 | D-100 implemented: a newer published generation captures a topology candidate before Apply, verifies Apply + member path, then durably replaces the local hashes/generation; same-generation retries, failed Apply/verification, changed post-Apply route, restarts and legacy state never recapture; real HTTP/database freeze-readiness emission under authenticated TLS drives the latch and immediate renewal (D-088/D-084 consumer integration, replay flags verified); deadline wakeup/withdrawal fixed so a read straddling expiry cannot refresh an expired heartbeat; ISO-F6-03 / AT13 still FAILED — root cause reproduced on a real kernel: whole-second truncation in decide.go and the independent node/enforce renderer (2.9 s left → 2 s element; last positive −938 ms, first drop −838 ms before the deadline; 19 forwarded / 15 dropped, none after the deadline) → D-104: sub-second deadline contract owned by netlab (node/enforce), agent consumes it in follow-up 24; dated note docs/node/followup23-2026-10-31.md + timestamp JSON for isolation/handover; lane lint/unit/integration/build + real-kernel lab exit 0 | done (#276) |
+| w2-agent-core follow-up 24 | ISO-F6-01 latch broken: the retained tc failure blocked generation ACK / renewal while the stale lease blocked the verified Apply that would clear it — a deny-all candidate now breaks the cycle without reusing old grants for new forwarding; same- and newer-generation retries need fresh verification (real-kernel suite: injection → contained 897 ms, removal → clean link-up 494 ms, removal → counted serving observation 3.161 s, applied and lease generations 3). Revision 13 observation transport (schema-validated clean / rejected / post-rollback bodies, bounded `qos` ReportDetail, D-106 `tc_evidence`); durable FileMeter checkpoint (`node/internal/usagestore/checkpoint.go`: nonzero admission delta → durable usage before an atomic fsynced publication; write failure / repetition / stale-file invalidation covered); candidate release identity matches the running executable, current pointer and journal record; signed fake-control health fixtures (`node/internal/fakecontrol.UpgradeHealthFixture`) with a real TCP probe; D-087 provisional transition (Retry-After honoured, bounded full-window jitter, coalesced pending states); r16 M-1 durable freeze (locked-store restart, Step retry, lost-response replay guard); D-122 r16 quarantine proof in `node/enforce` (test only). Installer boundary: the unchanged privileged `TestD089_RealSeedThenJournaledUpgrade` now consumes the real checkpoint but fails health / rollback on the w5-control fixture 404 → installer follow-up 5; D-104 continuity deferred; D-118 activation hook → follow-up 25 | done (#305) |
+| w2-agent-core follow-up 25 | D-104 consumed: the agent passes the precise absolute per-member/node/policy/offline/binding minimum through `MemberLease.DeadlineMono` with paired `Model.NowMono`, whole-second gate/cap removed, applied model retained for live reads, final expiry/heartbeat withdrawal kept; real-kernel deadline trace: last positive D − 100.65 ms, first dropped send D − 0.72 ms, no positive at/after D; guard-inclusive dense trace 74,796/76,000 probes (98.4158 %) across two timed renewals and 75 Applies with every loss inside a guarded nft bracket (median 31.5 ms / worst 55.2 ms; TEST ONLY 1 s Apply cadence, not a production availability claim); D-106: authoritative `TCReadbackEvidence()` snapshot from Apply / live verification / blocked audits, null before any retained read, historical `tc_evidence` rows unchanged; F8-01: same-generation restart recovered via follow-up 24's deny-all candidate (1.419 s from object removal, no generation bump or fabricated ACK) and `needRenew` now compares to the valid desired generation while an Apply error is retained; D-118 active via `RetirePreviousAt`: same-node re-enrollment keeps the genuine 4,096-byte final sample, retained stream uploaded first with origin_incarnation_id, current stream restarts at sequence 1; `docs/node/2026-10-31-d104-d106-agent.md`; consumed by isolation 8 / members 9 / usage 5 / enrollment 8; does not promote AT13 / AT09 / ENR-05 by itself; D-124: the central `internal/nodes/publication_evidence_test.go` fixture (which calls the real `agent.Decide`) given a valid desired window, fixture-only, because a zero `Desired.ExpiresAt` is now already expired | done (#312) |
+| w2-agent-core follow-up 26 | **D-125 implemented**: `MeterCheckpoint.BarrierID` (`barrier_id`, omitempty, `node/internal/usagestore/checkpoint.go`) echoes the exact updater latch UUID (opaque spelling validated); verified member withdrawal and durable finalization are repeated for every new identity; published bytes are pinned across a same-identity agent restart; checkpoint evidence is removed before forwarding resumes; an absent or malformed latch publishes nothing (malformed/unreadable keeps forwarding blocked); a latch appearing after a serving decision is rechecked under the node lock before Apply; the four existing JSON members and their order stay byte-identical when the id is empty; `Store.ClosedCheckpoint` stays identity-unaware; no contract or generated API type changed; hand-off `docs/node/followup26-updater-2026-10-31.md` for updater 17. **Devstack 18 request 2 fixed a real D-118 gap**: follow-up 25 adopted `RetirePreviousAt` without the node lock; the agent now takes the node lock around adoption and holds a separate `usage.db.lock` for the lifetime of its meter / uploader / store, so a replacement cannot open or retire until final sampling, cancellation and join of both old loops, meter close and SQLite close finish; same-incarnation candidate restarts stay usable while the updater holds the node lock; busy locks leave initialization retryable with forwarding blocked; historical attribution stays once-only after ACK. Usage-agent follow-up 4 request 2 applied verbatim to `docs/node/README.md`. Gates: node lint / test / integration / build, unchanged consumers `./node/updater/... ./packaging/installer/...`, `go test ./...`, root lint, vet, R16, netlab + live-netlab, Docker clean | done (#320) |
+| w2-agent-core follow-up 27 | D-126 confirmed as deliberate single-decision composition (no reporter race): captured AT09 report replayed unchanged, members hand-off with the revision-11 predicate; D-087 fixed-generation provisional transition proved with counted forwarding (no producer fix); TimingEvidence retained after every real Apply / VerifyServing / blocked audit with run, boot and clock anchors; process netlab case 12/1,518 losses with 10 loss windows inside install brackets (guard median 32.271 ms, worst 51.114 ms), no D-120 applied; D-106 fixture lifetime decay fixed (test only); historical 17 losses cannot be re-timestamped | done (#325) |
+| w2-agent-core follow-up 28 | signed same-boot kernel adoption across restart and same-generation repair with the original lease; bounded control I/O and serving verification under process cancellation; fresh watchdog reads under the Apply lock with baseline reason logs; meter epoch kept open across an ordinary stop; ISO-F6-03 historical writer stays unattributed (all 955–961 operations inside process run 0b191fdd, Boot not the initial writer, watchdog decision evidence never retained); D-133 same-host A/B of the live install bound: all four live gates and four full agent suites pass at a CPU-quiet host (live install max A 25.49 / 24.76 ms vs B 29.01 / 27.93 ms; live outer p99 A 38.07 / 40.34 vs B 51.67 / 50.46 ms, assembled outer p99 B lower); the earlier 152.125 ms failure is attributed to host contention; two pre-D expiry drops (first ingress D−63.3 ms) and the 52.596 ms historical outer ceiling (B1 57.92 ms) stay as measured limits for the enforcement owner | done (#344) |
+| w2-agent-core follow-up 29 | **Controlled CPU contention does NOT reproduce the install overrun**: same-source quiet / loaded / quiet / loaded live + agent suites (Q2, Q3 / Q3r1 pass; L2 / L3 live pass with separately retained agent-test failures) plus six two-source interventions with host / container busy-loop workers up to 384 on 24 logical CPUs at 0 % idle — all 40 loaded Applies per intervention completed without a 100 ms overrun, maximum render→installed 53.133 ms (a 184.078 ms outer guard is a different measurement); the earlier correlation of overruns with chain-gate load (follow-up 28's 152 ms, isolation 10's 49 failed installs, members 11's generation-13 Applies) is **not** a causal conclusion and the historical cause stays unproven; the loaded meter / restart / expiry failures are retained, not diagnosed. **Additive TEST ONLY host context** around every Apply (`node/agent/measurement_host.go`: before / after samples — runnable queue, idle excluding iowait, load, unavailable samples explicit — plus sanitized returned command status), opt-in, outside the measured Apply operation, every existing row / sequence rule / D-106 digest input unchanged; producer audit validates 1,874 Apply host brackets. **Rollback is the node-wide baseline by design, not the previous generation**: a failed Apply closes every member (including the admitted sibling) until the next successful Apply; repeated failures keep the baseline indefinitely; the 100 ms bound is an install budget, not an outage ceiling; S2 observed a real sibling baseline drop after a successful Apply AND successful live verifier with a later `member_path_unconfigured` rejection — not the historical F11-03 mechanism, and proof that not every `verification_HEALTH_CHECK_FAILED` baseline means nft / tc verification failed; AT02's admitted positive control stays failed → the stronger admitted-sibling availability contract is an explicit enforcement design decision (**D-135**). No D-133 A/B invoked (no Apply / rollback ordering, timeout, policy or production forwarding change). Follow-up 28's four Sources links now point at the byte-identical `history/follow-up-9/` archive. Three requests: command-lifecycle evidence in `node/enforce/executor.go` / `apply.go` → netlab 22; the sibling availability contract → D-135; consumers label "fail-closed install overrun with recorded host contention" only when bounds and host samples support it, `cause_status=unproven` otherwise → members 12 / isolation 11. | done (#356) |
+| w2-agent-core follow-up 30 | Month-boundary fix: `TestUsageCheckpointRoundTrip` failed on unchanged `main` from 2026-11-01 00:00 UTC (literal period `2026-10` paired with a wall-clock interval) and stopped every chain at 23:09 EDT. Fake control, checkpoint verification and the usage store now share one fixed `2026-11-01T00:00:00Z` clock; the interval `[2026-10-31T23:59:00Z, 23:59:10Z)` takes its period from its own start; product validation unchanged. Owned calendar sweep: 87 test files, 1 fix, 23 candidates kept with reasons. Six other-lane findings routed (usage AT live cases a / b and hand-off, secops PITR and rate classes, members usage trace). | done (#357) |
+| w2-agent-core follow-up 31 | D-136 confirmed with one correction: the verified deny-all candidate applies only when an Apply error is retained; the ordinary stale-lease transition installs the baseline and ACKs, renews, then Applies, verifies and heartbeats, with no finite outage ceiling. 80 desired-first generation changes measured (final population: baseline→Apply p50 / p99 173.8 / 195.6 ms; 501 sibling losses counted, 435 outside completed guards). `TestLab04_RestartKeepsVerifiedLease` failed 5 in 30 on unchanged main with leases about 3,599 s from expiry: cancelling the caller after SIGTERM manufactured Apply and member-path failures. `Engine.Step` now stops at the safe boundary, then finishes bounded local work (at most 10 s) while control I/O stays cancellable; real failures still fail closed; the lab restart requires a graceful exit. Netlab 22 request 1: the TEST ONLY lifecycle caller, only under `TestMode` and `TestTimingPath`. The design note recommends intersection serving, for the r18 review only. | done (#369) |
+| w2-agent-core follow-up 32 | r18 fixes (grok review archived by #374): M-1 — the deferred finalizer gets the control-budget context, so no observation POST after the caller cancels; M-2 — one local deadline per Step (min(5 s, stale/3) + 5 s, at most 10 s) shared by reads, quarantine (one shared 5 s allowance), baseline, persistence and the final observation, Close at most 3 s: cooperative SIGTERM-to-exit worst case 13 s (installer asked for TimeoutStopSec=15s); M-3 — the baseline stays; every stale-lease hold observation carries `policy_missing` plus `STALE_GENERATION` at stage lease, and a node-side streak from the durable ACK raises a warning and an alarm observation after 3 Steps or 30 s (existing vocabulary; central side → wire-nodes); L-2 — the design note's D-133 rule fails a leg on any higher or missing ceiling. ISO-F6-01: `observationState` omitted the rejected candidate generation, so a newer rejection coalesced into the old pending report — fixed (an `apply_candidate` error with `verified=false`; seven-attempt regression); not attributed to #369. r18 proofs adopted (`node/agent/review_r18_generation_test.go`). Agent netlab 189 s and live netlab 91 s pass; no live timing gate failed. 4 requests. | done (#376) |
+| w2-agent-core follow-up 33 | D-139 design track: `docs/node/followup33-intersection-serving-design-2026-11-01.md` specifies option (b) for adversarial review — a state machine with revocation at E before any renewal, shaping or probe work, original anchored deadlines, freeze precedence, a crash table at every kernel / durable boundary and baseline-only restart; the last full ACK stays at g while a typed transition / subset hash identifies partial service (the full-generation lease check still fails `STALE_GENERATION`; D-106's TC digest stays byte-compatible; the OpenAPI change exists only as an in-note diff). Stated limits: today's desired document lacks per-member entitlement revisions, so a signed `intersection_constraints` snapshot is required or the node baselines; the conservative profile restricts nft only at E and baselines before the final full Apply and on every feature-enabled restart — no uninterrupted AT02 transition is promised. Test-only reference `node/agent/followup33_intersection_spec_test.go`: 7 tests, 558 table subtests. Option (c) stays in production. 5 requests (contracts / D-106, wire-nodes, netlab, AT lanes, the D-139 decision after r19). | done (#379) |
+| w2-agent-core follow-up 34 | r19 M-2 is production-reachable: after a due renewal signs lease h, a busy Apply lock (`nodelock` ErrBusy after three 50 ms attempts) leaves g installed and serving, and the end-of-Step report sent an ACK of g carrying h's live refs. Fixed: the agent keeps a minimal applied snapshot (generation, binding revision, policy refs), committed atomically with the ACK in the existing metadata table and reported only when it matches the applied generation; restart-safe, unknown legacy refs stay null, frozen identities still suppress them. No central classification reads these refs. r19 L-2 fixed: a conntrack delete batch's count and identities are reserved in one transaction before Apply; a crash or a pre-delete failure consumes the reservation, generation changes keep pending accounting, and the 12-attempt bound is unchanged. The write costs about 1.1 ms (p99 1.59 ms) before the restricting install on Steps with queued deletes; same-host A,B,A,B 12 / 12 pass with 6 qualified legs, judged under D-138: no B-only failure, no attributable regression, cost explicit. r19's production proofs adopted (two converted: failing on `main`, passing here; eight design-only proofs dropped per D-141). 2 requests (isolation and members timelines). | done (#388) |
+| w2-agent-core follow-up 35 | Netlab 24's `ctdenyd` proven inert for usage: the meter and reset matchers select only `u_` / `d_` device counters, so a nonzero, growing, decreasing, vanishing or restarted `ctdenyd` creates no member usage, epoch, gap or reset (meter selection, reset matcher, persisted readings, usage snapshot and observation consumers covered). Restart with a larger configured deny set: the first full Apply renders it (pinned). But same-boot adoption (`node/agent/restart.go` `adoptStoredServing`) verifies the retained kernel rules with a verifier that never reads `denied_v4` / `host_v4` contents, so serving can resume on the old, smaller sets until that Apply, which a busy lock or control timeout can delay; pinned as a known gap by `TestAT13_F35_RestartFirstApplyRendersConfiguredDenyGrowth/same_boot_adoption`. Tests and one dated document only, no production change. 1 request (the adoption gap, routed to agent-core 36 then netlab 26). | done (#393) |
+| w2-agent-core follow-up 36 | Agent-core 35's same-boot adoption gap closed on the agent side: `adoptStoredServing` refuses unless the retained installed model and the candidate have equal `DeniedV4` (nil = the spec defaults), `ExtraDeniedV4` and `HostV4` sets as masked IPv4 prefixes; any growth, shrink or replacement takes Boot's baseline, then the first full Apply. A busy lock and a real control timeout keep the baseline; equal sets still adopt; 35's known-gap assertion flipped; a live established-UDP restart gets 0 / 56 replies during the baseline and 0 / 12 after Apply. Signal handling installed before open / Boot / Start and held until `Close` returns: isolation 15's signal-15 exit reproduced before, exit 0 after; a real `Engine.Close` interrupted by signal 15 leaves durable state intact and the pending counter delta is recovered once on the same boot when the next boot adopts (r20 H-1). D-133 same-host A,B,A,B judged under D-138: window 1 (11-01) expired with no quiet admission; window 2 (11-03) ran a clean quartet, 4 / 4 full suites pass, 8 / 8 host samples qualify, so no attributable B regression and the earlier D087/D104 failures are attributed to host contention (comparison attribution; every failure kept). r20 (agy gemini) found 2 High / 3 Medium / 1 Low and recommended fixing first; merged with the fixes routed, because 36 closes a security gap and what it introduces fails closed or is recorded: H-1 (a refused adoption turns pending same-boot usage bytes into an unattributed gap), M-1 (a TERM during Boot rewrites the heartbeat to not-serving without a Baseline, exit 0), M-2, M-3 (pre-existing) and L-1 to agent-core 37; H-2 (the verifier blind spot, with four requirements) to netlab 27. 1 request: the verifier's content check, now netlab 27 (the lane's "netlab 26"). | done (#401) |
+| w2-agent-core follow-up 43 | Agent-core follow-ups 37 to 43 merged together; six adversarial reviews judged before their fixes (D-141). 37 (r20 of #401): refused same-boot adoption settles retained usage, TERM during Boot completes a bounded baseline, generation, clock and set checks before the node lock and probe, withdrawal heartbeat; L-1 rejected, kept as guards. 38 (r21): pre-refresh desired snapshot with the live generation, Apply and refresh held until final settlement, open and closed epochs, one 10 s Boot budget with a bounded worker and a 3 s Close. 39 (r22): withdraw and commit outgoing attribution before an identity change, a pending-settlement gate for every failed hand-off, false restart gaps removed. 40 (r23): intent accepted through reset-only counting continuity, epochClosed separated from finalDone, transient marker errors keep durable attribution. 41 (r24 H-1, H-3): an unchanged 304 tick no longer runs a full Apply, element completeness verified, each binding keeps its own ValidUntil cap. 42 (r25, F32-01): a sibling binding's deadline no longer withdraws the whole node (two deadlines, a same-tick survivor Apply, an expired-only removal fast path), retention survives an epoch rotation, uniform millisecond renewal jitter. 43: r26 found 0 Critical, 0 High, 0 Medium, 0 Low; its proofs imported; the owed D-133 A,B,A,B ran in two reservations and no leg qualified (foreign CPU from periodic jobs outside the project). D-150 (orchestrator, provisional): merged without it, since no delivery failed a live D087 or D104 gate; agent-core 44 measures it after the merge, marking breached intervals and excluding overlapping spans from both arms. 43's ordinary B lab passed all 13 scenarios, D087 and D104 included; no production change in 43. 65 non-merge commits, 95 owned files. | done (#429) |
+| w2-agent-core follow-up 44 | D-150's post-merge measurement of agent-core 37 to 43 (A 567080be, B 38420dad, the same frozen arms as 43), attempted in two reservations with a new runner that marks foreign-CPU intervals instead of stopping legs. No leg produced a scenario, so A and B each have zero pooled legs and no comparison is drawn. Window 1 stopped at its preflight on another lane's running lab container, which admission had not reported. Window 2 admitted A3, whose clock-reader wrapper failed before any scenario: an admission message reached Docker stdout. The wrapper is repaired, with admission diagnostics on stderr, and regression-tested (24 synthetic tests). A separate probe found the lab containers in their own time namespace, with zero monotonic and boottime offsets and aligned monotonic brackets; the brief's no-separate-namespace prerequisite therefore failed as written. The orchestrator's reading: that wording was stricter than the same-clock requirement, and the next attempt accepts a zero-offset namespace with aligned brackets; reservations now also refuse while another lane's container runs. Main's ordinary production lab passed all 13 scenarios, D087 and D104 included; all ordinary gates pass. Test runner and records only; no production change. 7 commits, 21 owned files. | done (#431) |
+| w2-agent-core follow-up 45 | D-150's post-merge measurement of agent-core 37 to 43 retried with the same frozen arms (A 567080be, B 38420dad; B's production code re-proved equal to #429's merge). The corrected clock condition, a zero-offset time namespace with aligned brackets, passed the dry preflight and all three A3 samples. No leg reached a scenario, so A and B each have zero pooled legs and no comparison is drawn. Window 1 refused A1 because the parent shell that wrote the declaration carried a suite-pattern literal in its command text. Window 2 admitted A3, but the frozen lab harness reads Docker's combined output and expects exactly true, and the admission wrapper's stderr added free; make exited 2 after 14.0 s. Both are harness failures, not product or clock failures; both reservations were released, no third. The lane requests a runner follow-up that keeps admission text out of both Docker streams, tests that exact consumer and launches the driver standalone (agent-core 46, with a full dry leg before any reservation). Main's ordinary production lab, now with netlab 34's D-146 and D-147 rules, passed all 13 scenarios, D087 and D104 included; renewal delivered 1,517 of 1,518 probes, the one loss inside the guards. Runner and records only; no production change. 5 commits, 21 owned files. | done (#436) |
+| w2-agent-core follow-up 46 | D-150's post-merge measurement of agent-core 37 to 43, third attempt, with the same frozen arms (A 567080be, B 38420dad; B's production code re-proved equal to #429's merge). The runner keeps admission receipts out of both Docker streams the frozen harness reads, tested against that exact consumer; it excludes its own ancestors from the suite-process check while their CPU stays foreign; and it launches the driver standalone. 65 runner tests pass. The brief required a full dry A and B leg before any reservation, in at most three rounds, with no reservation for the dry legs themselves. All three rounds ran between 18:36 and 18:40 and stopped on foreign activity: another lane's e2e containers at preflight; another lane's check shell, whose command text matched the suite pattern, 88.4 s into A-dry2 (one of 13 scenarios had passed); and a merge-queue gate process at preflight. B never started. No declaration, reservation or measured leg followed, so both arms have zero pooled legs and no comparison is drawn. The orchestrator scheduled all three activities alongside the dry rounds; agent-core 47 is to run its dry pair under a reservation. Main's ordinary production lab passed all 13 scenarios on 7cfeb4c9, and renewal delivered 1,518 of 1,518 probes. Runner and records only; no production change. 5 commits, 17 owned files. | done (#439) |
+| w2-agent-core follow-up 47 | D-150's post-merge measurement of agent-core 37 to 43, fourth attempt, on the same frozen arms (A 567080be, B 38420dad). The runner implements the orchestrator's suite-program ruling: a suite is a make with AT, node-test-netlab or netlab-test arguments, a go test, or an interpreter running gates.sh, judged by argv program; an inline waiting shell is not a suite, its suite descendants are. It is tested on synthetic process tables, with bounded preflight waits inside the reservation; 32 runner tests pass. The first dry reservation was granted in 0.06 s and its preflight cleared in 4 s with no foreign activity. Dry leg A ran all 13 scenarios and passed 12: TestLabExternalMeterReset found no recovery after 12.393 s, where main's lab passes it in 1.466 s. Under the brief's rule a frozen scenario failure stops the timing item: B, the second dry reservation, the declaration and both measured windows did not run, both arms have zero pooled legs, and no comparison, B-only failure or attributable shift exists. A's dry distributions (outer guard p99 56.486 ms, maximum 67.369 ms) are kept as diagnostics only. The ordinary main lab passed 13/13 on 6548329f: expiry's last positive at −100.281 ms, first drop at −63.766 ms, no late positive; renewal 1518/1518 with zero loss. One full-module run failed R23's checkpoint-read/restart subtest on a heartbeat deadline; a targeted recheck and a full retry passed, and the failure is retained. No production change. 5 commits, 15 owned files. Codex gpt-6-astra. | done (#444) |
+| w2-agent-core follow-up 48 | Five confirmed defects fixed, each with its imported proof failing before and passing after: r28 H-1 and isolation F20-01 (the tunnel probe ran on the step's control budget, so hanging control requests withdrew a node within its lease; local work now has its own context), r27 H-1 (an absent member interface at boot was read as a foreign filter; absence now needs an independent link inventory), r27 M-1 (closed recovery missed its renewal slot and re-baselined; the grant-less deadline now schedules the Step), r27 L-1 (one containment attempt per Step) and R23's boot heartbeat (its 100 ms child deadline removed; Boot's own deadline applies). The six Held proofs still pass. D-150's code reading not determined. Ordinary lab 12 pass, 1 fail, 1 skip: `TestLabD087_D104_GrantRenewalExpiryCorrelation` stopped forwarding 2.86 s before D after an agent restart. The orchestrator's reading is F48-01, a watchdog pass on the successor's startup heartbeat (r22 M-3, #429) that withdrew the retained rules; routed to agent-core 49 under D-156. Codex gpt-6-astra. | done (#447) |
+| w2-agent-core follow-up 49 | Review r29's two agent findings and F48-01, each with its proof failing before and passing after. r29 H-1, F30-01's agent half under D-155: a candidate agent booting while its parent updater held update.lock latched recovery_required; it now probes the lock, defers recovery and retries it on later Steps, then serves after the commit, and terminal failures stay terminal. r29 M-1: recovery runs as one tracked child with a 250 ms first wait, so it no longer blocks Boot or Step while it waits for this agent's own checkpoint or health attestation; real updater recoveries from all three crashed stages pass. F48-01 under D-156: a same-boot successor's pending-adoption receipt keeps the predecessor's heartbeat age and kernel deadline without a serving claim, so a watchdog pass before adoption no longer withdraws the verified retained rules, and a stalled successor is still withdrawn by the old staleness limit or the original deadline. Agent and watchdog ship together. Lab 13/13 on one attempt. | done (#454) |
+| w2-agent-core follow-up 50 | D-157 for members 21's AT02 availability finding. Diagnosis first: central restores a node's readiness synchronously from its clean observation, not in a job, so members 21's 4.968 s deny-all after a closed recovery was central's readiness and D-067's five-second slot in series. The agent now binds one renewal to a verified closed Apply and central's acceptance of that recovery's newly queued clean report, and renews at once. The opportunity is consumed on dispatch; Retry-After and one request per Step still hold, and an empty answer continues D-067's streak. Forwarding still opens only on a populated lease and a verified Apply. F48's closed-recovery proof now expects exactly that one early renewal, with the orchestrator's approval; its other invariants are unchanged. Lab 13/13 on one attempt. | done (#461) |
+| w2-agent-core follow-up 51 | r30's H-1, M-2 and M-3, diagnosed first (D-141). H-1: Boot stored its caller as the engine's run context, so a cancelled per-call Boot could skip recovery and admit forwarding, or wedge `recovery_required`; neither CLI mode reaches it, since run and once use one context for Boot and Step. Only `Run` sets that context now: the recover child's parent is Run's context, or none outside Run, and Close still cancels and joins it; uploads keep their previous parent; forwarding stays blocked until a configured recovery completes. M-2: a grant-less lease attempt earlier in the same Step no longer uses up a closed recovery's catch-up request at a new generation. The agent records the ACK each attempt sent and allows one request for a newly available ACK; the retry bound and Retry-After are unchanged. Reachable in run, and in once mode only after Boot retains a quarantine. M-3: a closed recovery waiting to bind its report always queues its own report; dedup is unchanged otherwise. Reachable after a full outbox and a partial drain. r30's proofs imported byte-for-byte; every assertion kept, with two manual-clock corrections recorded (D-155's one-second retry floor, the 503's default Retry-After). Lab 13/13 on one attempt. 5 commits, 12 owned files. Codex gpt-6-astra. | done (#470) |
+| w2-agent-core follow-up 52 | Review r31 M-1 and members 23 request 2. D-141 diagnosis first, on the unchanged base: r31 case A (an isolation error in the report) is reachable and persistent through a historical isolation containment and caused the unchanged-report flood; B (a failed meter path) is withdrawn and disarmed by enforcement before the next observation, so normal Steps do not reach it; C (a stale lease) is reachable for one enforcement pass. The fix is one predicate, canBindRecoveryReport, extracted exactly from the existing binding rules: at an unchanged state with a report pending, a new report is built only when an armed, unbound closed recovery can bind it, so ordinary dedup holds otherwise; the report body, the 32-entry outbox, cadence, retry, backoff, agent-core 51 binding, D-067, D-135/D-136, D-155/D-156 and D-157 are unchanged. r31 proofs imported byte-identically first; the updater file stays identical, and the agent file changes only three comment labels and case C setup, which now crosses the existing 30 s stale-lease alarm before its baseline, every assertion kept; all three M-1 subtests fail on the unfixed code. Own whole-Step proofs: 210 Steps (35 default intervals) end with one pending report and no outbox_full. Two stable log records, documented in docs/node/README.md: observation enqueued (report_id, observed_at, due_reason) and observation submission (report IDs, per-process attempt numbers, process and boot IDs, start, duration, outcome, accepted IDs, HTTP status, Central error code, transport class, next retry, Retry-After), with no body, URL, error text or credential; offline tests cover accepted, 5xx, 429, transport error and timeout. Ordinary lab 13/13; both records seen in the lab agent log. No live claim. Codex gpt-6-astra. | done (#477) |
+| w2-agent-core follow-up 53 | Diagnoses six recorded Node CI failures with immutable source/log evidence: local Boot deadlines, D118 initial-503 ordering, unchanged restart checkpoints, and held-sample scheduling. Preserves the original deadline, Boot-return, fail-closed and ledger assertions while correcting test setup; no production local-budget change remains. The meter accepts unchanged restart checkpoints at equality or rollback within one sample interval, preserving the open epoch and ledger; reset/boot handling precedes this branch, ordinary sampling still holds, and final sampling closes. Failed development, mutation and historical gate attempts remain recorded. Corrected focused count50 and full-agent count3 pass under 24 joined workers; normal gates and one final agent lab pass (13 scenarios plus one installer-marker skip). Corrected independent r33 meter review found no product defect; exact final-tree replay passes 10 parent tests and 33 subtests, and full integrated gates pass. F17 diagnostics and F31 structural verification are design-only here; no implementation, packet-origin assurance or new live acceptance claim. Corrections by Codex gpt-6-astra; final gate/evidence continuation by agy gemini-4-argon-high under D143. | done (#484) |
+| w1-deps-bump follow-up 1: golang.org/x/crypto GO-2026-5932 | WP01 | done (no change: GO-2026-5932 is the unused x/crypto/openpgp packages, no fixed release exists, govulncheck symbol scan clean) |
+| w3-portal-live: portal on the real control plane, Playwright end-to-end | WP10 | done (#56; all screens on live endpoints, Playwright e2e against real control/worker in CI, dev stack seeds inputs and awaits product projection per D-050) |
+| w3-portal-live follow-up 3: dev-stack node readiness through the agent observation path (fixes main Portal CI after #62) | WP10 | done (#67) |
+| w3-portal-live follow-up 4: pending-apply banner derived from the PATCH response (Portal CI race), DOC12 device-id label, update-target policy evidence | WP10 | done (#74) |
+| w3-portal-live follow-up 5: dev-stack member device discovery through the production identity writer (D-052); Portal CI on main green again | WP10 | done (#82) |
+| w3-portal-live follow-up 6 | Update-target policy evidence on batch targets, target detail and node detail (D-048); portal dev stack drives update batches, desired state, update results and observations through the product APIs instead of hand-written rows (D-050); two documented fixture deviations remain | done (#91) |
+| w3-portal-live follow-up 7 | member groups admin and exit attachment with publication intent (D-057; members never see group identity, unit + Playwright proof), NodeCheck.detail and threat_feed_status surfaces with update_interval_seconds (D-058), Playwright dev stack without raw SQL seeds: groups via API, second node enrolled with its own identity, publication through the endpoint with fake-agent observation (D-050); 7 e2e tests pass three times | done (#108) |
+| w3-portal-live follow-up 8 | dev-stack fake agent reports SECOPS-11 forwarding evidence (Portal CI green again), typed D-056 DNS evidence card on node detail, D-062 candidate health on rolled-back targets | done (#123) |
+| w3-portal-live follow-up 9 | dev-stack fatal diagnostics before teardown + tolerant PostgreSQL cleanup (failure-injection proof); plan rate seeded through the policy API; revision 7 rollback evidence (restored health, failed candidate health, previous_release_id) and explicit no-receipt state; Playwright 7/7 | done (#147) |
+| w3-portal-live follow-up 10 | Playwright post-operation assertions are web-first and auto-retrying (audit-row count flake on #167); operation-settled state observed through the banner the page polls | done (#175) |
+| w3-portal-live follow-up 11 | operator settings view for the fleet configuration resource (D-065, API 1.5.0): /admin/settings with If-Match, idempotency key, mandatory reason, 412/422/428/409 handling, sub-900 s warning and audit link; dev-stack seed honours Retry-After, paces observations and sets lab heartbeat/lease/login rates (Portal CI 429 on #175) | done (#185) |
+| w3-portal-live follow-up 12 | Portal CI intermittency root-caused and fixed: dev-stack worker self-contention + 1 s schedules, OperationBanner polls through transient failed, session restore in finally, fleet_config audit row filter; worker ErrLeaseLost fix routed to wire-members | done (#199) |
+| w3-portal-live follow-up 13 | dev stack back on the product default worker concurrency 4 after #205; banner latches on a terminal status again; live suite asserts device.revoke and member.suspend are never observed failed (3 concurrent + 3 consecutive runs green) | done (#208) |
+| w3-portal-live follow-up 14 | revision 11 consumer: awaiting_member_grants / AWAITING_MEMBER_GRANTS render as a waiting state with the 60 s renew copy (lease_expired keeps failure copy); NodeDetail.identity_conflict three states with revoke link, no unfreeze control (D-067/D-071/D-072) | done (#223) |
+| w3-portal-live follow-up 15 | post-save refetch race behind TestOperator_NodePatchAnd412PreconditionConflict (Portal CI red on the #228 merge commit, green on re-run): a 202 node save left the page on the pre-save ETag and showed the saved banner before the refetch settled, so the test's version bump could land first; page caches the ETag from 202 responses and shows the banner after the refetch, the three 412 tests wait for the post-save GET before bumping; reproduced with a 35 ms delay, 3× live suite green | done (#235) |
+| w3-portal-live follow-up 16 | revision 12 consumers: member device states authorized / fresh pending / fenced pending (D-076), admin /admin/devices list with true/false/status/member filters and filter-bound cursors, confirmed Re-authorize with distinct idempotency keys, neutral receipt for an existing member.device_authorize operation plus a separate paginated read-back until the grant is visible (D-077), DEVICE_LIMIT_REACHED copy keyed on error.code for 409 and 422 (D-081), node usage-outbox block with observation-relative age (SECOPS-19); 51 unit tests, live 9/9 twice against real control + worker; Playwright SIGTERM teardown so stacks drop their databases; 67 older fvpn_w3_portal_live_* databases predate the lane → orchestrator housekeeping | done (#255) |
+| w3-portal-live follow-up 17 | Portal CI fix (red on main since #259): the dev-stack live node obtains its serving lease from central through the agent mTLS lease-renewal endpoint and reports the issued lease_id / expires_at byte-for-byte (D-101); the reporter heartbeat renews ahead of expiry and on generation change, seed polling renews while an observation is pending; D-067/D-071 provisional observations use the revision 11+ reasons/checks/error shape (AWAITING_MEMBER_GRANTS / STALE_GENERATION / LEASE_EXPIRED); publication-timeout diagnostics read the admin operation + NodeDetail (no specific gate cause in the API → wire-nodes request); D-093 audit table of the 15 remaining harness-written values; 4 lease unit tests + 51 Vitest, portal-e2e 9/9 twice locally; merged through the CI-gated path | done (#275) |
+| w3-portal-live follow-up 18 | publication-gate cause shown next to the pending step`s error_code during a publication polling timeout (free-text `message`, D-074 unchanged: operation stays running) in the UI and in the Playwright publication-timeout diagnostic; mock fixture + view-model test; D-093 audit table published in docs/portal/DEV.md (D093-06 applied-generation fallbacks and D093-10 DNS hash/count fallbacks retired; 13 entries open, D093-12 release verification via the API blocked on a fixture transport for release.verify — wire-nodes / devstack view requested); local portal-e2e 9/9 | done (#293) |
+| w3-portal-live follow-up 19 | Dependabot #22 (minimatch < 11.0.1, GHSA-g3hv-75wg-m249, scope development) investigated and documented in docs/portal/DEV.md: npm audit fix changes nothing (exit 1); the only complete override (^11.0.1 → 11.0.3 on every path) clears the audit but breaks eslint-plugin-jsx-a11y's nested-label linting after a clean npm ci, so both dependency files stay byte-identical to main; all four paths are dev tooling (eslint 9.39.5 / @eslint/config-array / @eslint/eslintrc / eslint-plugin-jsx-a11y → 3.1.5, @typescript-eslint/typescript-estree → 9.0.9), no minimatch in the production bundle; portal-verify 74 / 74 and portal-e2e 9 / 9 on the restored lockfile; owner disposition requested (keep #22 open until upstream dependents adopt 11.x; no dismissal on the agent's authority); no functional change | done (#349) |
+| w5-member-inactive-screens | Member service page follows the entitlement state returned by the server, in both languages: translated state label, a statement of whether the entitlement allows exit access now, suspension shown apart from account closure, dates named only when the response supplies them, next steps taken from the server's actions. Bilingual DOM regression over all eight states; live browser tests against the real control service compare the member's own page with the member API for a suspended member and for a member whose grant has expired. The members acceptance item F4-04 stays open: its record is not edited by this change. | done (#512) |
+| w5-f404-register-note | Members request register: one dated section records the portal evidence delivered for F4-04 by #512 (live checks, how they run, the Portal CI run on the merge commit, what they do not cover). AT04 keeps its recorded result until a members acceptance run consumes this evidence; no existing register text changes. | done (#514) |
+| w5-member-fair-use-notice | Member service and usage pages share one fair-use notice that follows the usage response, in both languages: the reason (fair-use tier with the spec sentence, an administrator's adjustment without a usage cause, neutral otherwise), the recalculation date from `fair_use.resets_at` only, and a statement while the setting is still being applied to the exits; the usage card names a non-tier reason next to the tier and uses translated fallbacks. Billing shows the translated entitlement label, with the raw state in `data-state`, beside the checkout-return indicator. Bilingual DOM tests; the live member journey checks the billing state's `data-state` and zh-TW label. No live test of the notices and no enforcement on nodes. | done (#516) |
+| r2-ledger-review confirmation pass on main 3224345: probes re-run read-only, 11 of 12 findings closed; finding 9 (uint64 clamp) still open in internal/fup → policies follow-up | WP05, WP07, WP08 | done (read-only) |
+| w3-devstack-e2e: compose dev stack and first end-to-end acceptance run | WP11 | done (#50; 6 scenarios pass, lab gaps → follow-up 2) |
+| w3-devstack-e2e follow-up 2: policies/usage settings in the lab, side-by-side stacks (prefix + port base), NetBird signal via gateway, plan catalog, forwarding baseline check | WP11 | done (#59; 7/12 scenarios pass, 5 blocked on the serving-node and device-binding preconditions) |
+| w3-devstack-e2e follow-up 3: publish step in the scenarios, member admission as a native user peer, usage replay with the real device | WP04, WP05, WP09 | done (#68): publish and native member join driven through the product; publication deadlock and missing NetBird user mapping found |
+| w3-devstack-e2e follow-up 4: one embedded Dex issuer for the portal and NetBird clients (D-052), publication blockers captured, boot release allowlist aligned, redacted evidence | WP04, WP05, WP09 | done (#81) |
+| w3-devstack-e2e follow-up 5: real candidate releases through the D-053 health path (update-good passes), central threat-feed scenario, neutral image cache, re-run on main (9 pass / 6 blocked) | WP04, WP05, WP09 | done (#88) |
+| w3-devstack-e2e follow-up 6 | Lab adopts the pgBackRest Postgres image with a physical PITR scenario, authenticated payment-truth hooks (fvpn-e2e-payment snapshots/events), exported PrepareServingBaseline for harness owners (real signed releases, API-activated serving policy, no SQL seeds), served built Portal with a browser-verified billing return, bounded control metrics probe; four runs 12 pass / 8 blocked on the D-057 group API (wire-nodes follow-up 11 landed after these runs) / 0 fail | done (#102) |
+| w3-devstack-e2e follow-up 7 | real exit interfaces, persistent recovery config, API publication groups, host-local resolver, native admission, 2×2 scale smoke; 16 pass / 5 blocked / 0 fail ×3; gates: agent lease renewal on generation change, resolver_document reference in signed desired state | done (#118) |
+| w3-devstack-e2e follow-up 8 | node restart keeps identity and network namespace (node-netns holder), D-061 runtime resolver record, healthy portal landing, threat-feed-node/threat-feed-tamper split, payment hooks; three stacks 17/6/0 on dd09a79 (six blocked on member forwarding → agent f9) | done (#143) |
+| w3-devstack-e2e follow-up 9 | Native exit selection repairs the counted member flow (0 to 2633 bytes, origin 200); TEST ONLY resolver corruption over node mTLS with last-good retained; 300 s feed cadence; control-loss withdrawal 30 to 0; admin re-login before revoke; conntrack and tcpdump in the node image; three fresh stacks 23 pass / 0 blocked / 0 fail | done (#153) |
+| w3-devstack-e2e follow-up 10 | real device revocation and replacement, dedicated updater probe peer with exception observer (probe traversal verified on the merged tree), second real exit hook (StartSecondExit/EnrollAt), 60-peer native admission, value-free gateway diagnostics, separate dynamic address pool; device-revoke strict ingress proof blocked (harness measurement) | done (#170) |
+| w3-devstack-e2e follow-up 11 | gateway X-Forwarded-For with exact /32 proxy trust proven through the real gateway (control f18), finite-grace prepare option (SECOPS-04), controlled stale-native-client revocation case (strict post-withdrawal ingress still blocked: independent ingress fixture with netlab), read-only node telemetry for capacity runs, port slots 12000/6000 (ENR-01); 26 pass / 1 blocked / 0 fail | done (#182) |
+| w3-devstack-e2e follow-up 12 | harness exports: updater probe peer (F5-02), own-key enrollment join + peer inventory (ENR-04), cloned-identity fixture (ENR-07 setup; conflict blocked on a missing ObserveEndpoint caller), per-stream secret-scan results (SECOPS-16); three live export defects fixed; 15/1/0 on e2e and e2e-exports | done (#204) |
+| w3-devstack-e2e follow-up 13 | strict post-revoke member ingress proven with the netlab inject hook on fvmb0 (revoked frame: ctunku +1, nothing on the uplink or at the origin; admitted sibling and replacement counted on the same agent PID), exported as Stack.InjectMemberIngress / ObserveMemberIngress for members f6 and isolation f4; exact-prefix e2e-down keeps fvpn-e2e-exports-* and image tags; live 26 pass / 1 blocked (forwarding ordering) / 0 fail on run 4c97ebef; ENR-05/ENR-06 rechecked, still blocked on product hooks | done (#219) |
+| w3-devstack-e2e follow-up 14 | supervisor-owned agent stop/start (agent-service.sh waits on the supervisor and never forks; pause-agent marker kept for harnesses), restart unless-stopped on worker/control/netbird with the worker-restart scenario (SIGKILL pid 1, readyz within 30 s, no duplicate claim or outbox insert), forwarding sampled right after the first counted flow, clone-conflict on the production D-072 path from a second /24 (`fvpn--node-clone-net`, lab-hosts pins instead of --add-host), fake-provider past_due keeps paid (SECOPS-17); lab node entrypoint deletes Docker embedded-DNS `ip nat` before the agent starts (lab fix for the #220 FLOWTABLE_BYPASS, node/enforce untouched); acceptance 29/0/0 run 4e3e9487, exports 16/0/0 run 0a687f3a; D-067 ready→populated lease 80.6 s recorded for the lease owner; AT29/AT31/exit DNS/IPv6/ENR-05/ENR-06 → follow-up 15 | done (#240) |
+| w3-devstack-e2e follow-up 15 | lab exports for the acceptance lanes: persistent member transports (established TCP/UDP across steps), bounded forced relay with restoration, exit-traversing TCP/UDP DNS through the permitted loopback resolver client, usage hold / snapshot / backlog hooks, dedicated real-systemd installer wrappers (ENR-06); node entrypoint keeps the Docker ip-nat deletion; all six request logs answered with dated responses — acceptance 32 pass / 1 blocked (IPv6) / 0 fail, exports 21 pass / 1 fail: on the real installer node the product service fails its first start after enrollment because NetBird's default socket is outside the packaged write allowlist (installer follow-up 3) | done (#266) |
+| w3-devstack-e2e follow-up 16 | acceptance fixtures, assembled run 16/16 pass: finite-grant transition hook (production revoke + admin grant, 3/0 → 2/1 → 3/0, replays verified), native IPv4/IPv6/dual underlay with MTU 1500/1280 transfers and explicit unavailable QUIC/non-Linux selectors, two-resolver native DNS (fallback 2.5 s, both-down 12 s, 28 RR negatives: blocked direct CNAME/SVCB → NODATA, others NXDOMAIN; cache TTL + rebinding controls), retained pre-enrollment third node (offline attempt persists key/CSR/pending incarnation; mid-run boot binds the same identity); D-102 answers in docs/e2e/RESPONSES.md; requests: DNS wording for direct blocked CNAME, platform clients + QUIC tooling (operator) | done (#284) |
+| w3-devstack-e2e follow-up 17 | ENR-06 wrappers on the #279 layout (install, rerun, re-enrolment, hash preservation, service restoration, retired-certificate rejection pass), ENR-05 installer-node exports + service-restoration fixtures, F9-06 kernel boot id across an ordinary node restart, tcpdump + streamed exports with diagnostic bounds, AT29 guest-clock operator row, portal D-093 audit read, docs/e2e/RESPONSES.md answers (D-102); live 8 pass / 1 blocked / 3 fail — the journaled installer upgrade stays failed until the genuine meter checkpoint lands (agent-core follow-up 24), and the ENR-05 serving/usage proof is blocked by the installer `owner` chain failing `verifyChainSet` with HOOK_PRIORITY_MISMATCH (packaging/installer/isolation.go ensureTable vs node/enforce/verify.go; proof installer-owner-chain.md) | done (#294) |
+| w3-devstack-e2e follow-up 18 | ENR-05 passes on the real D-116 installer node: installer-owned legacy-marker migration, clean four-chain enforcement plus hookless ownership table, counted traffic, nonzero held CLI events, unchanged wrapper ledger bytes, ACK catch-up and fresh post-wrapper traffic (serving campaign 13 pass / 0 blocked / 1 fail — the remaining failure is the serving-node updater handshake: apply exits 0 while sealing final_sample/failed/rolled_back with no checkpoint and no switch → updater 17); isolated candidate health passes all five checks with a genuine shutdown checkpoint (13/0/1 — post-upgrade re-enrollment fails baseline seed `HASH_MISMATCH`, run 8a1124a1 → installer 6 / updater 17); SECOPS-21 first-offer proof 2/0/0 (first delivery 4 > retained 3, exact local digest/applied state, central 202 receipt) via `ArmFirstDesiredOffer` / `ReleaseDesiredOffer` / `FirstDesiredOffer` exports; `RestartNodeNamespace90` (generation-3 unchanged-generation second-exit fixture recovers serving; generation-30 history not closed → members 9); `ObserveSelectedNativeExit` + exported captures for the native MTU 1280 failure (both families, reproduced standalone and matrix; cause unresolved → netlab 19); `journal-copy` coherent SQLite+WAL snapshot; D-102 answers in `docs/e2e/RESPONSES.md` (retirement/reinstall path, retired/current ACK selection, D-105 activation hook, fixture fetcher view, SECOPS-21 export); all 15 portal D-093 audit rows agree (13 open, 2 retired within simulator scope); `docs/e2e/runs/2026-10-31/followup18/`; harness confined to `tests/e2e`, no product change | done (#313) |
+| w3-devstack-e2e follow-up 19 | Serving-node upgrade rerun on main through #326: run d6aaa798 14/0/0 with apply exit 0 (real member withdrawal, byte-equal correlated barrier UUID — D-125, durable finalization, candidate switch, five health checks, sealed receipt; candidate seed exit 0 without HASH_MISMATCH or tree repair); stopped-agent sequence 04de29d3 13/0/1 exit 1 (sealed CHECKPOINT_FAILED, apply / replay 1, recover 2, journal byte-identical); F8-02: four historical pcaps match their pins with payload-free decodes, two fresh native reconnect campaigns 7/0/0, DNS campaign 15/0/1 (exact NODATA and SOA TTL 5 pass; MTU-1280 bulk fails at 12,012 bytes; receive-link MTU rejection stays an inference); D-118 origin retention 8/8; D-093 15 agree; D-102 answers published; D-087 blocked on the central grant-eligibility seam (wire-nodes 33); D-124 item mis-addressed (fixed since #312); follow-up 18 archived | done (#332) |
+| w3-devstack-e2e follow-up 20 | D-098 archive of follow-up 19 (168 files) first; D-087 / D-131 seam composed in a TEST ONLY control (WithTestOnlyGrantEligibilityReaderFactory + nodestest.NewMemberGrantEligibility, FVPN_E2E_GRANT_SEAM=1) exporting SetMemberGrantsReady / MemberGrantEvidence / MemberGrantInvariants: fixed-generation runs 5ab1f11c and 79e59c20 pass 7/0/0, true to accepted serving 3,980 / 4,112 ms, 47 original wire hashes + 103 contiguous detached timing records; F10-02: 247 every-read-success counter samples with same-boot monotonic brackets (historical failure not reproduced); F10-03: 36 complete per-query DNS traces, TTL assertions unchanged (historical responder unrecoverable); F10-01 shared side: regular release-root artifacts + state/meter.checkpoint, switching 11/0/0 (updates 11 adopts live_test.go:221/:436); broader fixture 15/0/1 with an instrumented MTU-1280 failure retained (10,010/64,064 bytes, no global MTU fix); D-102 answers in docs/e2e/RESPONSES.md | done (#343) |
+| w3-devstack-e2e follow-up 21 | D-098 first: follow-up 20's 114 files archived byte-identically (`docs/e2e/followup20-archive.sha256`). **Updates 11 F11-01 fixed in the shared installer spec**: `installerSpec.AllowLoopback` plus the exact local `ControlURL` gate `--allow-loopback` (TEST ONLY, default false elsewhere); fresh run 33b9621a 3 / 0 / 0 — install exit 0, the generated `result_url` read back unchanged (config SHA-256 unchanged), certificate-free POST 403, authenticated invalid body 400; verifies the authenticated endpoint, not a new delivery (updates 11's 27 / 27 stands). **dns-publish 9 request 1**: the shared DNS trace writes a request start before dispatch, retains outstanding requests and joins late completions by identity across the whole closed-case sequence (cumulative authority history, three outstanding sets, restart stream boundaries, per-role read bounds; BACKEND §2.1.5 adopted; the 4 KiB fixture cache is explicit, not the pin's 4 MiB default); final run cba88bbc 13 / 0 / 0 with 36 / 36 complete query traces, 85 distinct authority requests, 70 identities retained — validates the export, does not reproduce F9-INFLIGHT. **Members 11 historical analysis** (`docs/e2e/followup21-members.json`, static, six original evidence pins): F11-01 bounded to after inner member egress and before observable inner node ingress (the encrypted sub-hop was never captured); F11-03's eight failed generation-13 Applies all exceed the 100 ms guarded install bound with `install_ok=false`, an unreleased guard and no verification — the failure stage, not its cause (raw nft errors / load unavailable) → agent-core 29. F18-01 documented as the intended D-125 negative 1 / 1 / 2. A first installer attempt aborted on the origin-slot .24 collision with the DNS third node — retained; the two campaigns run on separate reset stacks. D-102 answers for members 11 / updates 11 / dns-publish 9. One request: the F11-02 offline-installation paragraph (already corrected by updater 19, #351). | done (#352) |
+| w3-devstack-e2e follow-up 22 | D-098 first (all 63 follow-up 21 evidence files archived). Final run 9b3a89e7: 13 / 0 / 2 (exit 1); the original four-row members mutation sequence passes. **F8-02 native IPv6 side reproduced**: 16,016 / 64,064 bytes in 12,011 ms, all 15 reverse 1,360-byte outer packets absent at the member underlay while smaller packets and all 52 upload fragment pairs arrive, no PTB anywhere (first run 004d6156 lost all 23); a separate selected /128 route with MTU 1280 on the sender delivers 64,064 bytes in 1 ms three times by sender fragmentation (no reactive PMTU discovery proven) — the member-only receive-MTU topology stays labelled a fixture artifact, not real-device proof. **F11-01 five-SYN pattern reproduced**: the node's matching IPv6 handshake response reaches the member underlay with a loopback source distinct from its selected native endpoint and no WireGuard transport data follows; the first unconfirmed step narrows to member inner egress → transport-data emission, before node inner ingress. Native capture / sample / stop exports and readbacks for members; 27 final captures complete with zero drops; 155 pins on immutable run subtrees; full pcaps private only. 2 requests. | done (#362) |
+| w3-devstack-e2e follow-up 23 | Follow-up 22's 155 evidence pins verified byte-identical before the run. D-137 routed 1280: a separate native router hop with a 1280 member-facing link passes the unchanged 64,064-byte bounded transfer in 1 ms on IPv6 (one PTB; the sender's route learns MTU 1280; all 84 fragments arrive) and on IPv4 (DF=0; 34 oversized outer packets fragmented in transit into 68) — the sender-learnable scope; the receive-only no-PTB link still fails (IPv4 10,010 B / 12,011 ms, IPv6 10,010 B / 12,006 ms) as the reported limitation, the known-PMTU control unchanged. F11-01 traced to the pinned NetBird 0.82.0 client's retained-relay `RedirectAs` loopback proxy (an IPv6 initiation injected to `::1`, a `::1`-source response on the member underlay, no type-4 data) — evidence only. Positive IDNA A-label UDP / TCP fixture; F12-04 not reproduced and still unattributed; the tcpdump singular-statistics parser fixed with the original failure kept. Native run a26d9b0f 14 / 0 / 3 and DNS run 9bb2098e 11 / 0 / 1 (retained limitation, reproduction and parser rows). Members 12 requests 1, 5, 7, 11, 12 answered. 3 requests (members AT09 hop adoption and F12-04 instrumentation; the NetBird proxy trace). | done (#367) |
+| w3-devstack-e2e follow-up 24 | Follow-up 23's 154 pins verified before the run. F11-01: the node's `::1`-source handshake response reaches the member's netdev ingress and is dropped before IPv6 prerouting (Ip6InHdrErrors 0→1; ingress 1, prerouting 0, input 0; exact hash join in run cacad79c), consistent with the kernel's receive validation of a loopback source on a non-loopback interface (no drop tracepoint captured); the same request still succeeds with one SYN in 9 ms, type-4 data first. The old IPv6 five-SYN timeout did not reproduce in four complete attempts; a separate IPv4 first request (d556673b) timed out with five SYNs and type-4 traffic, kept failed and unattributed. Repair options with cost and risk for the owner, none applied; NetBird 0.82.0 stays pinned (latest stable, no fix identified). F13-01: an exit-0 parse rejection keeps the raw bytes and the exact parser error in private mode-0600 files, exported before teardown; public evidence carries digest, size, line count, structural class and error kind; regression tests for each class. D-102 answers for members 13 requests 1, 5, 7, 9, 10. 3 requests. | done (#370) |
+| w3-devstack-e2e follow-up 25 | F11-01 first-selection campaign: 32 predeclared fresh attempts, every one kept — kernel IPv4 7 / 1, kernel IPv6 7 / 1, TEST ONLY node-userspace IPv4 7 / 1, userspace IPv6 5 / 3 (pass / timeout). The `::1`-source response with its IPv6 header error occurs only on two successful kernel IPv6 requests and is absent from all eight userspace IPv6 captures. Every fresh timeout has five SYNs at the member tunnel and the node's fvmb0, no origin receipt, completed handshakes and member type-4 data, and ends on a closed node (generation 0 / serving=false; four already sampled generation 0 / serving=false before the request, 1d253f8d had an earlier true heartbeat, 0c27cac0 went from generation 5 / serving=true to 0 / false); the closure cause is unproven, and follow-up 24's IPv4 d556673b stays unattributed. TEST ONLY parent-owned agent wait receipt (launch ID, PID / start ticks, raw wait status, exit code vs signal, wait-observation time) with live exit-0 and SIGKILL readback; D-102 answer for updates. Follow-up 24's 122 files byte-identical; 906 new pins. 2 requests (owner decision / closed-node investigation; updates adopts the receipt). | done (#381) |
+| w3-devstack-e2e follow-up 26 | The closed node in devstack 25's timeouts is explained: the TEST ONLY node nft tracer (unscoped IPv6 UDP `meta nftrace set 1` in a foreign mangle table) trips the agent's unchanged fail-closed verifier — `ISOLATION_POLICY_INVALID`, deny baseline, kernel generation 0 while central applied generation stays 5 — and the node recovers at the same generation after removal. Campaign on the kernel fixture, every attempt kept (22 measured fresh stacks): historical tracer IPv4 8 / 0 and IPv6 7 / 1 — ce8ccbe1 closed 1.65 s after proven generation-5 admission, and its first SYN reached the node only after 10.444 s against a 5.003 s deadline; corrected member-only observation 4 / 0 with no closure; two declared tracer-hold probes fail as designed. Every native first selection now starts only after independently proven serving. F14-style passive re-grants 17 / 1: af718646 kept generation 7 serving with handshake 0 through the deadline, a loopback-source type-2 response and one member IPv6 header error, and first node delivery at 5.671 s after a later handshake; 258ba504's cause stays unproven. counterread classifies duplicate owned chains as `duplicate_chain` (`errors.As`, `ambiguous_listing`). The harness stop path matches the shipped budget: supervisor 15 s after TERM, PID1 forwards TERM / INT, 25 s compose grace; live proof exit 0 in 509 ms and a forced SIGKILL after 15.2 s. 4 requests. | done (#386) |
+| w3-devstack-e2e follow-up 27 | TEST ONLY populated stale-lease hold seam in `labstack.Stack` (`ArmMatchingLeaseHold` / `MatchingLeaseHold` / `ReleaseMatchingLeaseHold`, `GenerationHoldSnapshot`, `LocalLeaseReadback`): the proxy withholds only successful matching lease-renewal responses for a bounded time and never edits, replays or synthesizes a signed document. Final proof 13 / 0 / 0: two members, applied 8 / signed lease 7, incident 50.000298 s, Step-3 alarm, one central escalation at incident age 9.887 s (alarm-triggered), genuine generation-8 lease forwarded and matched locally, incident ended `generation_matched`; two earlier runner failures kept. Serving-node campaign, four fresh stacks per family: 8 / 8 first selections, 58,619 sends with zero missing node ingress (largest gap 27.761 ms), 183 ingress-without-origin losses counted; IPv6 `::1`-source type-4 data (eight) and type-2 responses (two) kept as anomalies; no historical F15-F11-01 / F15-AT02 / F14-01 cause assigned. 443 new pinned files. 2 requests (consumers' hold rows; the owner's F11-01 evidence). | done (#394) |
+| w3-devstack-e2e follow-up 28 | AT14 counterread coverage of netlab 24's `ctdenyd` (`TestAT14_CtdenydExcludedFromMemberUsage`): a nonzero `ctdenyd` (80 packets / 80,000 bytes) survives `enforce.ParseState` exactly and changes neither upload / download usage nor member presence across five fixture shapes with and without it (ten variants); incomplete pairs stay absent, a complete zero pair stays present. Coverage only, no leak found, no production change; closes netlab 24's request 2. No stack started: the brief also listed `e2e-test`, which starts the stack (the orchestrator's error), so the lane ran `e2e-lint` and the direct e2e package tests instead. 1 request (that gate template, accepted). | done (#397) |
+| w3-devstack-e2e follow-up 29 | The nightly `e2e` `stack` job's `portal-billing-return` + `billing` failures (all four scheduled runs, 10-30 → 11-02) traced to `browser_error`: a fresh `ubuntu-24.04` runner has no Playwright headless shell (`chromium_headless_shell-1248`, pinned by the Portal lockfile), and the job had no `setup-node` or `playwright install` step; this host passed only because the revision was cached. Reproduced exactly with an empty browser cache and a fresh stack and Portal build. Fixed: a new `e2e-browser` target (`playwright install --only-shell --no-remove`, no sudo; a no-op when cached) that `e2e-test` runs after `e2e-up`, and the job gains Node 24 plus `npx playwright install --with-deps --only-shell chromium`. Before-fail 4 pass / 2 fail; after-focus 6 / 0; one full `e2e-test` on another empty browser cache 31 pass / 2 blocked / 0 fail. The probe now names its failing stage, records carry the scrubbed cause, runs write `acceptance-summary.md`, and the nightly uploads its `nightly` records with `if: always()` (7 days). No assertion changed. `member-ipv6` and `lease-expiry` stay blocked, so the job stays red until D-144's expected-blocked list. 2 requests (the nightly signal, decided as D-144; confirm the next nightly). First delivery by agy opus. | done (#402) |
+| w3-devstack-e2e follow-up 30 | D-144 for the scheduled `e2e` `stack` job: it fails on any fail, error, unlisted blocked row or missing summary, and stays green on listed blocked rows, each named with owner, reason and source in the step summary and the uploaded `nightly-gate.md`; a listed row that passes is reported as unblocked. Committed list `tests/e2e/nightly_expected_blocked.json`: `member-ipv6` (devstack / platform operators: the default member joins with IPv6 disabled and no IPv6 underlay is provisioned) and `lease-expiry` (agent-core: the candidate agent's boot `recoverOnce` hits `UPDATE_BUSY` while the updater still holds `update.lock` in `stepStart`, and latches `recovery_required` until the next restart). Local, PR and manual runs and `TestE2E_Acceptance` semantics unchanged; 7 `TestD144_*` unit tests. Members 16's request: opt-in TEST ONLY `Stack.ArmMatchingLeaseHoldSurvivor` in the D-102 seam holds only the eligible survivor's matching renewals through one further generation (released on `survivor_mismatch` or a second advance), never edits a signed document; default callers byte-identical. Live proof on a fresh stack, one attempt, 10 / 0 / 0: a real sibling suspension advanced the desired generation to 11 and an accepted post-command survivor hold report arrived while the incident was open, which then closed `generation_matched`. 2 requests (F30-01 `lease-expiry` defect → agent-core with the updater; the survivor API → members 17). Merge-gate fix: the list is read at run time (no `//go:embed` in `tests/e2e/*.go`, which isolation's lint copies); a missing, unreadable or malformed list fails the job. | done (#406) |
+| w3-devstack-e2e follow-up 31 | Members 17's two requests. (1) TEST ONLY source-binding fault for the separate source-address populated-hold row: stopped at the brief's feasibility condition, no hook or Stack option added, zero stack attempts. From the source (`docs/e2e/runs/2026-11-03/followup31/source-binding.md`): `bindingOK` in `node/agent/decide.go` comes from signed binding / lease model construction, not a live source-address check; both of its false paths also fail qos; a retained Apply error fails lease, qos and source_binding together; and during a generation hold `source_binding` already fails through `leaseOK`, so no TC-free namespace fault can fail it alone or show it passing after removal. Routed to agent-core: a genuine cause-specific source-binding verification with its own reporting, separate from Apply / qos and the lease. The row stays not exercised. (2) `docs/e2e/at/poc/G1-app-checklist.md` added as a relative symlink to `docs/poc/G1-app-checklist.md`: all 14 archived members `OPERATORS.md` files carrying the link (follow-ups 3 to 16) now open the real checklist, verified per file with digests; no pinned byte changed. Follow-up 31's evidence is in the committed-evidence hygiene scan. 1 request (independent source-binding verification, agent-core). Session on codex gpt-6-astra, 10 minutes. | done (#412) |
+| w3-devstack-e2e follow-up 32 | Isolation 19's F19-02. On exactly HTTP 412 RESOURCE_VERSION_CONFLICT the shared publisher re-reads the node: if the re-read already has the intended values the command succeeds with no further write, otherwise it retries with the fresh ETag, the same Idempotency-Key and the same body. At most three writes and ten seconds per command; other statuses, other 412 codes, a failed re-read and transport errors stop at once, and Go's implicit replays and redirects are off for these writes. The same key is valid because the idempotency reservation shares the action's transaction: a 412 rolls both back, and only durable successes are stored. Every attempt and re-read is recorded with UTC times, sent If-Match, status, code and body SHA-256. Eight owned node-write sites use the helper; four writes no observation can race stay unchanged. Live: the first forced invocation (e22872b7) died before enrollment when the lane's admission wrapper put free into Docker's JSON output; ordinary c52b760c passed 8/8. Resumed under the orchestrator's one-invocation authorization: af726b13 recovered from both 412s but its own proof check wrongly demanded a version detail, fixed with a stub test and retained blocked; forced 95fb7eab sent "0" on the capacity PATCH and the publication PUT, each got a real 412, one re-read and a same-key retry returning 202, and passed 8/8; ordinary 3ad796d4 passed 8/8 with no conflict. The zero header is rejected before any version lookup, so the observation race itself is not reproduced. Requests: the AT-owned node-write sites to their owners (isolation's six go to isolation 20); the API owner reviews the contract's "0" pattern and the empty 412 details. Session on codex gpt-6-astra, resumed once. | done (#438) |
+| w3-devstack-e2e follow-up 33 | Offline follow-up for devstack 32's audit and members 19's request. The shared publisher's bounded conflict handling is exported on the AT surface as `Stack.WriteNode`, which takes the AT package's own cookie-and-CSRF session and keeps every property of `writeNode`: only exact 412 RESOURCE_VERSION_CONFLICT re-reads, an already-intended re-read ends the command, retries use the fresh ETag with the same key and body, three writes and ten seconds at most, no implicit replay or redirect, and typed receipts an AT record can embed; `NodeFieldsMatch`, `NodePublished` and `NodeRevoked` are exported as read-back predicates, and `writeNode`'s own tests are unchanged. `ReplaceFiniteGrant` now restores what it revoked when a later step fails: it withdraws a replacement whose create response was lost, recreates each original plan and validity once through the public grants API, requires operation success and a live read-back, and returns the original error joined with any recovery failure; the normal path restores nothing, and expired input is still refused before any state is touched. `PrepareNativeRouter1280` undoes completed steps in reverse order when a step fails, with a receipt per inverse, tested at each of its ten steps. An adoption note in RESPONSES routes the AT sites to secops, enrollment, members, usage and updates; members' own fallback restoration stays compatible. No stack, Docker or live run; consumers prove it in their next assembled runs. 6 commits, 26 owned files. Codex gpt-6-astra. | done (#441) |
+| w3-devstack-e2e follow-up 34 | One full acceptance run, `af4c130b`, on updater 24 (#446), agent-core 48 (#447) and agent-core 49 (#454): 31 pass, 2 blocked, 0 fail, make exit 2, no rerun. `lease-expiry` passes: `countedFlow` found admission in 244 ms, the node kept serving through the control outage, and forwarding stopped at the desired policy's deadline D, about ten minutes after the stop, with replies and bytes flat while senders kept sending. Its entry leaves `tests/e2e/nightly_expected_blocked.json`; `member-ipv6`'s entry stays byte-identical, and the nightly gate tests that read follow-up 29's list now read a frozen copy. `update-good` is newly blocked: `fvpn-updater run` exited 3 (`ExitBusy`) before it started a candidate. The lock samples show the running agent holding `update.lock` for about half a second at each new generation, every 5 s, against the updater's 80 ms acquisition window. So the candidate's deferred recovery under D-155 was never exercised, F30-01 stays open, and the run's nightly verdict is fail on `update-good`; routed to updater 25 under D-158. New observers retain the lock holder and heartbeat about every 215 ms, the control stop and restart, and the closed-path quiet samples. The window is confounded under D-133, and three setup sub-makes bypassed the admission wrapper; both are disclosed. `publisherTrace32`'s comment now describes D-154. 4 commits, 115 owned files. Codex gpt-6-astra. | done (#458) |
+| w3-devstack-e2e follow-up 35 | One full acceptance run, 8a436a87, on updater 25 (#463): 32 pass, 1 blocked (member-ipv6), 0 fail, make exit 2, no rerun; the unchanged nightly evaluator passes. Only update-good changed from follow-up 34 (blocked to pass): fvpn-updater run exited 0 with no lock-wait record, so its first acquisition was uncontended, and no merged change is credited with avoiding follow-up 34's collision. F30-01 closed by updater 24, agent-core 49 and updater 25 on this run: the candidate (PID 181291) started at 09:52:31.986Z while its parent updater held update.lock, reported recovery_required at 09:52:32.243Z, cleared by 09:52:42.112Z after the parent released the lock at about 09:52:37.5Z, and wrote its first serving heartbeat at 09:52:42.903Z; lease-expiry then passed (countedFlow in 1.293 s; forwarding closed at D, 558 to 0 member accept rules; closed-path replies and bytes flat while senders advanced; control restarted). update-bad exits 1 on HASH_MISMATCH. Every updater invocation's complete output, times and exit status are retained. D-160 in the harness: 30 named timed sections, each admitted before it starts, with zero admission checks inside; follow-up 34's run had none inside either. e2e-test now runs under deploy/devstack/admission.py, a pass-through when no admission script is configured, as in the scheduled workflow. Codex gpt-6-astra. | done (#468) |
+| w3-devstack-e2e follow-up 36 | D-162 in the fixture (TEST ONLY): writeAgentConfigs sets observation_seconds to 5 beside heartbeat and poll, so both prepared regular-node configs report every 5 s; the product default stays 30 s, every predicate and the 15 s bound are unchanged, and the installer node's existing override is extracted unchanged with offline tests. One full acceptance run, c17589fa, on 52b93845 plus this branch: 32 pass, 1 blocked (member-ipv6), 0 fail, make exit 2, no rerun; the unchanged nightly evaluator passes; every status matches follow-up 35. The stack database held 123 accepted regular-node observations in the run window, intervals min 0.081 s, median 5.162 s, max 10.255 s, with none after lease-expiry stopped the control plane. No 15 s freshness read ran in the acceptance path, so F22-D146 is not re-scored here. Three If-Match node writes (capacity, publication, revocation) each got 202 on the first attempt, zero 412s. The consumer audit tables every observation and If-Match consumer by file and line; the one missing bounded retry is isolation's operator assist (tests/e2e/at/isolation/assist.py:22), routed to isolation. update-good exited 0 after a 446 ms D-158 lock wait on the running agent (PID 894), and its candidate started under the parent's lock, deferred boot recovery, cleared by 14:46:04.707Z and served at 14:46:05.437Z; stale-then-live contention is unobserved. update-bad exits 1 on HASH_MISMATCH with no wait record. lease-expiry passes as in 35. First run with agent-core 51, updater 26 and D-162 together; no change is credited to one of them. Codex gpt-6-astra. | done (#476) |
+| w3-devstack-e2e follow-up 37 | D-141 shared fixture correction, offline only: etc/agent-run.json points at the container resolver proxy on 9444; etc/agent-enroll.json keeps its portal control URL; copied agent release configs change only control_url and retain copied SNAT as an explicit gap. Existing etc SNAT rewrites remain. JSON non-target values and durable-state bytes are preserved, with compact/formatted clone and fresh-mode regression coverage under the e2e tag. Historical analysis inventories 30 evidence files rather than 30 runs; total rows and clone-observation rows are separate, F19 retains a copied F18 capture, and distinct stop reviews cover F16–F18. The 9445/9444 static mismatch is supported, but old dial errors and the selected clone release are absent from the identified records. No Docker, live pass or historical re-score. Isolation receives live transport/consumer-latch validation and before/after-stop log-retention work. AT29 operator-run and member-ipv6 gaps remain. Original three commits preserved, followed by three Codex gpt-6-astra correction commits. | done (#482) |
+| w2-policies-fup follow-up: reconcile embedded policy schemas with contracts/schemas/policies (D-044), fup uint64 overflow instead of clamp, D-029 audit conformance for policies and fup writers | WP07 | done (#46) |
+| r2-updater-review re-run: confirm the updater follow-ups 1–2 against main (read-only) | WP09 | done (16/16 findings closed; regressions R-01..R-05 → updater follow-up 3) |
+| w2-updater follow-up 3: review re-run regressions (revoked-current rescue path, artifact origin allowlist D-046, extract caps and ./ root D-047, resume semantics, nodelock start time) | WP09 | done (#47) |
+| r2-updater-review confirmation: R-01..R-05 against main after updater follow-up 3 (read-only) | WP09 | done (5/5 closed; 2 minor → updater follow-up 4) |
+| w2-updater follow-up 4: reject internal `..` segments at extract, one origin-allowlist rule for IP literals and DNS names, ForceQuery/`#` entries | WP09 | done (#54) |
+| w2-updater follow-up 5: challenge-bound health attestation from the candidate agent for isolation, DNS and tunnel checks (D-053); first health report retained in the journal | WP09 | done (#78) |
+| w2-updater follow-up 6 | D-053 adversarial review fixes: revocation rollback issues and binds a health challenge under the production adapter and reports previous_release_id truthfully; LastGood/state_schema committed in the stage-advance transaction (no crash-window lies); one private-directory validator for challenge/attestation files (symlink, shared-writable, owner, 0600, same-file, bounded reads); poll keeps the latest valid answer until the deadline; future GeneratedAt rejected; fixed check-reason vocabulary | done (#96) |
+| w2-updater follow-up 7 | D-062 result evidence on the node side: pre-health failures carry health=null with the error code (D-062a), rolled-back results carry the restored release checks with the candidate as previous_release_id and the candidate checks in journal schema v2 candidate_health (D-062b), permanent 4xx rejections are recorded with status and API code while later results keep flushing in order (D-062d), read-only updatejournal.Snapshot for the agent (D-062e), D-034e empty allowlist pinned; fvpn-updater status shows the journal | done (#105) |
+| w2-updater follow-up 8 | D-062b: candidate_health on rolled-back results (explicit null before any candidate check, omitted elsewhere); pending v2 rollbacks enriched atomically before flush; status shows the wire field | done (#116) |
+| w2-updater follow-up 9 | D-063 issuer: optional validated probe_peer config (one source /32, one to four public /32 destinations, deny-list checked, fixed bounded errors) copied into candidate and rollback challenges with issued_at=now and a 45 s window; unset attest TTL now really defaults to 45 s | done (#142) |
+| w2-updater follow-up 10 | D-063 probe validation gets node interface, control and resolver addresses (r11): node-address sources and node/control/resolver destinations refused at load, engine and every issuance; a refused probe is omitted with one fixed reason class per engine; special-purpose ranges arm when netlab follow-up 5 lands | done (#154) |
+| w2-updater follow-up 11 | D-063 issuer refuses an empty global-unicast node address list (node_addresses_unavailable) and any non-regular or replaced agent.json (Lstat, O_NOFOLLOW, SameFile); a refused probe is recorded as probe_omitted in the challenge, the SQLite journal and the local health detail (r12 H-2) | done (#168) |
+| w2-updater follow-up 12 | r13 M-4: recovery results keep the recorded error stage and a rollback-stage recovery without stored checks carries a blank failed health profile (accepted by a real SubmitResult instead of a permanent 422); r13 L-3: probe-omission journal rows pruned with apply history, probe_omitted events kept | done (#192) |
+| w2-updater follow-up 13 | D-080 installer hand-off: the journaled apply path consumes pending-release.json (automatic on run or `fvpn-updater apply --pending`), manifest re-verified and the archive extracted from an updater-owned snapshot, installer job UUIDv5 bound to release + manifest hash + canonical record + incarnation, result recorded locally without advancing the accepted central generation, forwarding stays blocked, crash recovery consumes once (prepared/switched/checking) and cleans orphan snapshots; kernel boot id with configured fallback; missing desired state = exit 0 no work; node/nodelock exported; proven open → installer f2 / contracts / fleet-update: the #239 pending writer omits the signed manifest envelope (fails closed ARTIFACT_INVALID), a freshly installed node has no verified updater baseline (CHECKPOINT_FAILED), central rejects installer-local job ids (RESOURCE_NOT_FOUND) | done (#253) |
+| w2-updater follow-up 14 | fvpn-updater seed (D-089 (b)): verified post-install baseline from the signed archive (staged or signed URL) with tree-hash comparison, atomic release/current/schema/seed evidence, idempotent replay, fail-closed on conflicts/invalid signatures/changed trees/lock contention; status shows the seeded baseline; installer results carry source: installer with durable capped 404 retries and terminal logged 409; TestD089_RealUpdaterConsumesWriterRecord unchanged | done (#269) |
+| w2-updater follow-up 15 | D-110: installer receipts carry the central `internal/installerjob` job id and are verified against the central catalog; D-114: legacy outbox receipts get one real `job_id_mismatch` 409 then their replacement, unknown seal members byte-identical, a mismatch is a terminal diagnostic row (no resend); F9-02: deterministic extraction modes under any umask (directories 0755, file archive bits, zero → 0644, fsync after chmod, final-root symlink refusal); F9-03: `apply` seals CHECKPOINT_FAILED and exits 1 with the outcome on stderr, exit 2 only for the forwarding-blocked sentinel; candidate-health compatibility keeps unknown seal members; real updater ↔ central receipt interoperability test on PostgreSQL (`updater-integration` target + workflow job); **D-121** `packaging/installer/handoff_test.go` `TestD089_RealUpdaterConsumesWriterRecord` aligned with the D-110 replay semantics (failed replay, unchanged seal and cardinality) so the uncached consumer gate is green; F9-05 lower-sequence refusal located in `packaging/installer/upgrade.go` → installer follow-up 5 | done (#307) |
+| w2-updater follow-up 16 | FileGate→FileMeter bounded wait: durable deadline, boot and opaque latch identity persisted before blocking (default 30 s, `meter_checkpoint_wait_ms` 1..300000, 100 ms poll); withdrawal → `STATE_CONFLICT` at `final_sample`, absent/invalid/uncorrelated evidence → `CHECKPOINT_FAILED`, baseline retained with no stop/start/switch, failure receipt carries a null checkpoint and forwarding disabled; recovery rechecks current evidence before stopping services and cannot renew the wait; legacy `final_sampled` without a wait note is not trusted; subprocess crash / sealed-replay / restart tests (`TestAT25_FileMeter*`); agent-core 24's genuine checkpoint carries no block correlation, so every current-format checkpoint is refused fail-closed — fresh / late-fresh FileMeter success and F9 / live upgrade acceptance are NOT claimed, pending agent-core follow-up 26 `MeterCheckpoint.BarrierID` (`barrier_id`) plus a paired updater resume | done (#310) |
+| w2-updater follow-up 17 | D-125 consumed: barrier_id must be a valid UUID byte-equal to the persisted block identity, fresh and late-within-bound FileMeter applies succeed with real post-block accounting, invalid or foreign or withdrawn or other-boot evidence stays fail-closed; apply exits 1 on an already sealed nondestructive final-sample failure (recover stays 2); seed HASH_MISMATCH reproduced only with the pre-#307 extractor, resolved by #307; live F9 acceptance via installer 6 and devstack 19 | done (#323) |
+| w2-updater follow-up 18 | docs/updates/node-followup18-2026-10-31.md consumes devstack 19 (serving upgrade 14/0/0, installer extension 23/23, stopped-producer 1/1/2 kept as the D-125 negative) and updates 10 with only immutable UUID-run pins (D-132); silent nil-sink delivery fixed: explicit Engine.Flush without a sink fails VALIDATION_FAILED, sealing without reporting config logs result_url_missing and keeps the receipt pending, later config repair transmits the identical receipt once (TestUPD05_MissingResultURLKeepsReceiptPending, TestUPD05_ResultConfigPolicyAndServerTrust); release fixtures aligned to root fvpn-agent with whole-root integrity (TestAT25_ReleaseRootCandidateSwitchAndHealth); race/load 40/40; installer 7 F10-02 hand-off recorded | done (#342) |
+| w2-updater follow-up 19 | Consumed updates 11 (#346, run daddad24 on main 96ec0630): installer-generated reporting measured without an adapter — 27 / 27, 13 route POSTs (11 stimuli + 1 automatic success + 1 automatic failure), no repeat-flush POST, result_url_missing never observed; regular AT23–AT27 5 / 5 with the physical AT26 rollback witnessed by AT27; acceptance record docs/updates/node-followup19-2026-10-31.md separates measured claims from still-unmeasured injections / deployments (physical arm64, power loss, fleet rollout, production central, 30 s / 100 ms worst-case bounds); new TestUPD05_InstallerReportingConfigShape feeds literal installer JSON keys (full renderUpdater shape) through LoadConfig / URL policy / HTTPSink with a run-generated client identity and an authenticated local TLS fixture — exact origin policy, CGNAT permission and TEST ONLY loopback exercised, removing the applicable permission fails construction, server CA trust distinct from client issuer trust, so result_url_missing is unreachable with an intact installer-shaped config (the absent-result_url pending / repair negative unchanged); no reporting-field divergence between follow-up 18's spec, installer 7's rendering and updates 11's observation; F11-02 corrected in docs/updates/node-updater.md (initial and same-release installs retain a verified archive, only absence chooses the guarded signed-URL download, corrupt archives fail with the documented errors — no behaviour change); D-132 audit 37 + 8 test files with zero docs/e2e reads; two nonblocking hand-offs (installer 8, updates / devstack) | done (#351) |
+| w2-updater follow-up 20 | F27-02 (netlab 27's consumer failure) diagnosed as a fixture defect: the one-second assertion in `TestAT25_FileMeterWaitRestartRechecksCurrentFile` timed all of Recover (lock fsync, failure sealing, cleanup), not the persisted meter-wait deadline it claimed to guard. The unchanged one-second ceiling now bounds the wait itself in `TestAT25_FileMeterWaitRestartKeepsDeadline` (synctest, real FileMeter / FileGate and persisted note, exact remaining budgets for 0 / 200 / 250 / 1000 ms downtime, note never rewritten); the full-path test keeps its recovery, error, receipt and forwarding checks and logs Recover's wall time. Controls: a 1.1 s post-wait sealing delay fails the old assertion (1355.440 ms) while the corrected test passes; a one-minute renewal mutation fails all four deterministic cases. Four 200-iteration runs retained, none qualified as quiet (other lanes' suites joined); the bounded load leg never started, so the qualified comparison stays open. Historical F27-02 stays failed, its latency source unproven. F30-01 updater-side facts (`docs/updates/node-followup20-2026-11-03.md`): under a live apply, `recover` exits 1 with UPDATE_BUSY after five attempts, and the candidate cannot tell its parent's live apply from a leftover journal; a transaction-bound apply-in-progress signal with D-064 TxnID binding is proposed, not implemented. No production change. 2 requests (a reserved quiet window; F30-01 to agent-core). | done (#408) |
+| w2-updater follow-up 21 | F27-02's qualified comparison, in two reserved windows (the first use of the orchestrator's exclusive host reservation), declaration committed before any measured run. Inputs re-checked on main: the follow-up 20 overlay maps only the original test plus elapsed logging, node/updater unchanged since #408, and the deterministic meter-wait budget exact before and after (0 to 250 ms, 200 to 50 ms, 250 ms to 0, 1 s to 0, every sample). Quiet legs: baseline 200 / 1 (expired, 1443.3 ms) and 200 / 0; corrected 200 / 0 and 178 / 1 (stopped when another lane's go test appeared, 90 s after its failure); none qualified (one in-leg vmstat interval each at r 4 to 5 with only the test's own process, and the foreign go test). Bounded load legs: baseline 50 / 0 (qualified, 88.4 s of agent-suite load); corrected 50 / 0 twice (unqualified by a foreign gate wrapper, then qualified, 88.8 s). Verdict by the declared rule: the fixture-defect reading FAILED, because the corrected parent test failed once. Its mechanism is F21-01, a second wall-clock dependency: the replaced subcase's own setup (simulated crash, SQLite reopen, replacement checkpoint) took about 533 ms against the 250 ms persisted deadline, so Recover (15.1 ms) found it expired and failed closed with meter_checkpoint_timeout instead of meter_checkpoint_uncorrelated. Not a renewal. Whole-Recover stalls of 0.27 to 1.44 s occur both quiet and under load. Historical F27-02 and follow-up 20's runs stay as recorded. No source change. 2 requests (reservation enforcement and the quiet-leg rule; F21-01 fixture fix and re-measurement). Session on agy claude-opus-5-5-high. | done (#413) |
+| w2-updater follow-up 22 | F21-01 fixed in the test fixtures by its mechanism, no product change: the persisted meter deadline is wall-clock time from the block, and the tests' own setup (crash, SQLite reopen, meter close, fsync publication, publisher and withdrawer goroutines) ran on that clock. The parent test, `TestAT25_FileMeterWaitFailsClosedWithoutCorrelation` and `followup17_test.go`'s `correlatedApply` now run on a `synctest` bubble clock with budgets and assertions unchanged; the parent test gains a remaining-budget guard and a bubble bound, so a deadline renewal fails deterministically again. Controls (blocking-syscall stalls, removed): pre-fix, 16 timing-dependent cases fail with `meter_checkpoint_timeout`, including #411's CI failure `TestD125_RuleMalformedIdentity`; fixed, all 26 pass. Re-measurement under the foreign-CPU rule: quiet leg qualified 200/0; the bounded-load leg unqualified in both reservations (33/0 and 50/0), each stopped by non-lane foreign CPU (a `git` process, then host jobs after the test had exited); deterministic budget exact in all 283 iterations. F27-02's fixture-defect reading for the fixed test UNDECIDED by the declared rule; follow-up 21's verdict stays failed. `node/updater` runs in 17 s, against 28 s. Session on agy claude-opus-5-5-high. | done (#417) |
+| w2-updater follow-up 23 | The missing bounded-load leg, under an end rule declared before any measured run (the leg ends when the measured test process exits): reservation 1 was stopped by non-lane foreign CPU (0.996 cores) at 20/0 and stays unqualified; reservation 2 qualified at 50/0, with foreign CPU at most 0.105 cores before the process exited and 0.385 after, and both meter fixture files byte-identical to updater 22's tip. Pooled with updater 22's qualified quiet leg (200/0), and with the deterministic budget exact in all 352 logged parent `Recover` calls, F27-02's fixture-defect reading for the fixed test HOLDS; updater 21's failed and updater 22's undecided verdicts stay recorded. Item 2, judged before fixing (D-141): of the short `AttestWindow` waits, only `TestUPD_D053_Review_PollBreaksOnTransientFailedCheckBeforeWaitExpires` depends on its own work finishing inside its 80 ms real-clock window (F23-01, a fixture defect). A 250 ms stall in the test's clock fails it before the fix and passes after; the test now runs on a `synctest` bubble clock with its window, poll interval, TTL and assertion unchanged (+10/−1 ignoring whitespace), and a first-attestation mutation still fails it; a package-wide stall control passes all 176 tests with 88 stalls. Erratum to #417: its row said 16 timing-dependent cases; the retained control log, the dated table and the timing JSON show 15 (the parent test's `replaced`, four `FailsClosedWithoutCorrelation` scenarios and ten `TestD125_Rule` tests), and 26 counts test and subtest results (24 cases plus two parent tests). Sessions: agy claude-opus-5-5-high (declaration, both reservations, diagnosis), whose model quota ran out at 07:30 EST; codex gpt-6-astra completed it from the retained records, with no new reservation or measurement. | done (#420) |
+| w2-updater follow-up 24 | D-155, the updater's half of F30-01, from review r29 (Option B). fvpn-updater exits 3 (ExitBusy) only for UPDATE_BUSY with detail exactly "lock", a live same-boot holder of update.lock; ErrMembersBlocked stays 2 and wins over busy, the stale-holder details (lock boot id, lock pid, lock process, lock start time) and every other error stay 1, usage stays 64, and stderr is unchanged. run, recover, apply, seed and configured flush can return 3; status takes no lock. Every lock-taking entry point (Run, Recover, ApplyPending, Seed, Flush, Retain) now acquires update.lock before opening or migrating the journal (r29 L-1); nested holders, first boot and read-only status keep their behaviour. r29's four updater proofs imported byte-identical: both TODO proofs failed before and pass after, both Held proofs pass throughout. Consumer audit: the agent's recoverOnce and the installer's seed baseline treat 3 exactly as 1, so nothing changes in behaviour until agent-core's half lands. F30-01 stays open until that half merges and an acceptance run passes without the nightly lease-expiry quarantine. Operator-guide text requested from handover. Session on codex gpt-6-astra. | done (#446) |
+| w2-updater follow-up 25 | F30-01's update-good exit 3, diagnosed and addressed under D-158 as revised (`docs/updates/node-followup25-2026-11-04.md`). Ordinary agent Apply contention is the supported explanation: the agent's hold is bounded by its Step's local deadline, about 10 s, not by the sampled half-second, so the brief's 2 s bound was not supported and the lane stopped; the orchestrator revised D-158. Now `run`, `seed`, `apply` and standalone `flush` wait for a live `update.lock` holder within one 10 s budget, polling every 20 ms; past it they exit 3 with the unchanged `UPDATE_BUSY: lock` line. `recover` and standalone `Retain` keep five attempts 20 ms apart; nested calls reuse ownership; stale details keep exit 1 after five attempts counted from the first stale answer; unreadable metadata stays busy; cancellation ends the wait. One JSON record, `update lock wait` with command, waited_ms, acquired and budget_ms, only after a missed first attempt; an uncontended command's stderr is unchanged. Proofs with a real second holder: a 600 ms holder gave exit 3 at about 81 ms before the change and exit 0 at about 617 ms after it, for all four commands; the CLI's real default budget exits 3 at 10.006 s. Common lock APIs, the exit table and the agent, installer and update AT consumers are unchanged. F30-01 stays open until an acceptance run reaches the candidate. 8 commits, 9 owned files. Session on codex gpt-6-astra, with one resume. | done (#463) |
+| w2-updater follow-up 26 | r30's H-2 and M-1 under D-158 as clarified, diagnosed first (D-141). H-2 is reachable in production: nodelock takes the flock before it rewrites the holder record, and Release leaves the record, so a new owner can hold the lock while its predecessor's stale record is still readable. One stale answer then started a five-attempt window that later live answers could not leave, so a live holder gave exit 3 at about 80 ms. Now five consecutive stale answers, 20 ms apart, give exit 1 with the final stale detail; every live answer, including empty or unreadable metadata, resets that count and is governed by the 10 s budget from the first attempt, and the first live answer at or past it gives exit 3; stale answers can extend the wait nominally about 100 ms. M-1: the one `update lock wait` record is written only when the first attempt misses on `ErrBusy`, so a non-busy first error emits none. The only production change is in `acquireCommandLock`. r30's proofs imported byte-for-byte, with only their TODO markers removed; the lane's proofs script real metadata changes on a virtual clock, with a real holder process. Recover, Retain, nested calls, the exit table and the error lines are unchanged. Live, D-158's wait stays unmeasured: devstack 35 closed F30-01 without a contended acquisition. 4 commits, 5 owned files. Codex gpt-6-astra. | done (#471) |
+| w2-fleet-update follow-up 2: core audit builders for every fleet/releases writer, system singleton actor, zero-anomaly read-back | WP09 | done (#42) |
+| w2-fleet-update follow-up 3 | D-062 central acceptance: terminal evidence a–d, immutable rejection receipts, nullable observations (e), reconciled with wire-nodes f12 by one merge commit (union of stricter rules, both D-062 suites kept) | done (#117) |
+| w2-fleet-update follow-up 4 | AT26: validated terminal rollback straight from queued closes job and target (apply phase traversed in the same savepoint, no fabricated receipt); direct-path regressions from the real capture; fences retained | done (#129) |
+| w2-fleet-update follow-up 5 | contract revision 7 target evidence: previous_release_id, health and candidate_health (rolled_back only) projected from the latest current accepted receipt in one lateral join; explicit nulls; history and rejected receipts never overwrite; real admin GET JSON tests | done (#136) |
+| w2-fleet-update follow-up 6 | r9 review: accepted results own the serving release and recovery (heartbeat seeding ends at the first accepted result; a disagreeing heartbeat withholds confirmation; jobless reports record arrival only); conflict row and audit once per hash; every failed result needs error_code; observation enums validated in the domain | done (#140) |
+| w2-fleet-update follow-up 7 | Pre-result heartbeat seeding restricted (r11): current may be seeded only with the job target or a recorded version, last-good only by accepted results; unexpected releases audited once per job and release; proofs imported verbatim | done (#155) |
+| w2-fleet-update follow-up 8 | pre-result seeding and unexpected-release audits use the reported job; a target seeds current only when its job is current, issued to this incarnation, and reported last-good agrees with recorded last-good (r12 H-3); harness case (c) keeps one audit | done (#167) |
+| w2-fleet-update follow-up 9 | D-068: pre-result heartbeat seeding fills only a null nodes.current_release_id (r13 H-4: superseding batch no longer snapshots a poisoned attempt release); heartbeats attributed to the current non-superseded job only (r13 M-1: a late superseded-attempt heartbeat no longer unconfirms the retry); central-lifecycle.md updated; ten earlier cases re-read | done (#189) |
+| w2-fleet-update follow-up 10 | D-089 central acceptance of installer-applied results (source: installer from the node mTLS identity for node-minted job ids, eligible releases only: unknown 404 / ineligible 409), immutable receipts in the append-only installer_update_results table (migration 00191), exact ACK replay, 409 ACK_CONFLICT on conflicting replay, node version promoted on verified success, central jobs/batches untouched; D-097: NodeUpdateSummary projects the current incarnation's latest accepted installer result as source: installer, batch_id null (a current central job wins) | done (#273) |
+| w2-fleet-update follow-up 11 | r16 M-2 (accepted installer `rolled_back` restores current/last-good to the rolled-back release), D-110 (installer job id = UUIDv5 over the claim namespace, manifest digest and authenticated incarnation via the new leaf package `internal/installerjob`; mismatch → 409 STATE_CONFLICT `job_id_mismatch`; one accepted row per (incarnation, release) — r16 L-1), D-111 (null-baseline installer-sourced result for an eligible release seeds current = last-good = that release, failure evidence kept, candidate not promoted), pointer writes fenced by the central generation high-water, node ETag changes only on pointer/summary change (`internal/nodes/update_view.go` export), migration 00191 Down/Up round-trip test, r16 proofs adopted, receipt-interop CI on updater changes; D-113: the nodes keyed-replay fixture bound to the D-110 id; main`s updater still mints the legacy whole-record id → updater follow-up 15 | done (#300) |
+| w2-fleet-update follow-up 12 | D-127 (r17 M-1): a later eligible installer outcome on the same incarnation is a bounded correction that moves current_release_id / last_good_release_id, first receipt kept as history, correction stored as its own evidence under the r16 L-1 cardinality bound, replay of either payload returns its stored ack, everything else ACK_CONFLICT; migration 00192; no contract or updater change | done (#322) |
+| w2-fleet-update follow-up 13 | D-132 lane side: D062 harness tests read fleetupdate-owned testdata copies (byte-identical to the follow-up-9 archives, archive path + SHA-256 in a one-line comment), explicit empty-result failure before indexing; evidence_paths_test rejects mutable docs/e2e/at reads outside history/ across all package files; 27+1 test files audited (only shared contract examples and the signing vector remain external); docs/updates/central-acceptance.md records updates 10 measured D-110 / D-127 central acceptance (202 / replay / 409, unchanged pointers on checkpoint failure, TEST ONLY correction with stable replay ETags); no product code, contract, migration or dependency change | done (#340) |
+| r2-control-review re-run: confirm control-core follow-ups 1–5, pki and fleet-update against main (read-only) | WP04, WP09 | done (16/16 closed; 2 wiring findings → nodes httpwire follow-up 3, usage replay follow-up 3) |
+| w3-wire-nodes follow-up 3: real wiring behind the httpwire 503 gates (member policies in desired state, keyed agent receipts, transactional lease renewal) | WP04, WP05 | done (#49; publish gate remains until the exits seam lands) |
+| w2-nodes-desiredstate follow-up 4: SetPublicationTx seam for all publication intents, one member rate algorithm (fup builder) | WP05, WP07 | done (#53) |
+| w3-wire-nodes follow-up 4: route SetNodePublication through the exits seam, remove the last placeholder 503 | WP04, WP05 | done (#57) |
+| w3-contracts-r4: UpdateTarget applied-policy evidence members (D-048), positive DomainRule.revision (D-049), writer survey re-run | WP02 | done (#58) |
+| w3-contracts-r5: contracts revision 5 — resolver-document delivery (D-056), member groups and publication membership (D-057), signed egress probe, check detail, feed status, feed cadence default (D-058); 44 operations, info 1.1.0 | WP02 | done (#85) |
+| w3-contracts-r6: contracts revision 5.1 — member_group audit resource type (D-059), API 1.1.1, stale operation counts corrected | WP02 | done (#87) |
+| w3-contracts-r7: contracts revision 6 (API 1.2.0, additive, 44 operations) — typed NodeDetail.dns_policy_evidence (D-056), UpdateResult health/rolled_back/candidate_health evidence (D-062), ObservationReport.update from durable updater state (D-062e), rollback.allowed_release_ids empty = no restriction (D-034e), ResolverDocument example as canonical bytes, generated code regenerated (clears control-drift on main) | WP02 | done (#103) |
+| w3-contracts-r8: TestDNS03 encodes the generated NodeDetail directly (no source-text guard on the nodes wrapper); README names dnspolicy.ValidateAttributionNote | WP02 | done (#119) |
+| w3-contracts-r9: revision 7 (API 1.3.0) UpdateTarget previous_release_id/health/candidate_health; controlgen separator; step-message vocabulary documented | WP02 | done (#131) |
+| w3-contracts-r10: revision 8 (API 1.4.0) — ErrorCode carries all twelve node enforcement verification reasons (agent heartbeats with ISOLATION_POLICY_INVALID etc. validate); apierr mirror; portal messages; handover version statements | WP02 | done (#164) |
+| w3-contracts-r11: revision 9 (API 1.5.0, 46 operations) — fleet configuration admin resource: GET/PUT /admin/fleet-config for max_offline_lease_seconds with If-Match precondition and audit (D-065) | WP02 | done (#176) |
+| w3-contracts-r12: revision 10 (API 1.6.0, 47 operations) — Enrollment.token_sha256 required read-only digest of the stored token hash, recorded in the enrollment.created after-set, names ending _sha256 never redacted (ENR-02); GET /admin/nodes/{node_id}/incarnations listNodeIncarnations with derived state, retire reason and retained usage per incarnation, composite 501 until wire-nodes f19 (ENR-03); ForwardingBlockReason awaiting_member_grants beside lease_expired (D-067); handover statements 1.6.0/47 | WP02 | done (#191) |
+| w3-contracts-r13: revision 11 (API 1.7.0, 47 operations) — ErrorCode AWAITING_MEMBER_GRANTS for the D-067 provisional lease on the lease/qos/source_binding checks and errors[] (D-071); NodeDetail.identity_conflict {mapping_frozen, conflict_count, last_conflict_at} for cloned-identity freezes, resolution revoke + re-enroll (D-072); handover statements 1.7.0/47 | WP02 | done (#213) |
+| w3-contracts-r13: revision 12 (API 1.8.0, 49 operations) — MemberDevice.authorization_unconfirmed (optional read-only boolean, true while a D-076 fence row exists, absent until the server projects it), GET /admin/devices (listAdminDevices; filters member_id / authorization_unconfirmed / status; AdminDevice adds member_id + authorization_unconfirmed_since), POST /admin/members/{member_id}/devices/{device_id}/authorize (authorizeMemberDevice → 202 member.device_authorize; 409 STATE_CONFLICT on revoked; 422 DEVICE_LIMIT_REACHED) — the only re-grant path for a fenced device (D-077); NodeDetail.usage_outbox (UsageOutboxStatus + observed_at, SECOPS-19); the awaiting-member-grants example carries the one AWAITING_MEMBER_GRANTS error (D-071); handover pins 1.8.0/49 | WP02 | done (#238) |
+| w3-contracts-r13: revision 12 erratum — authorizeMemberDevice limit response is 409 DEVICE_LIMIT_REACHED, not 422 (D-081); operation description, docs/contracts/README.md, an erratum sentence in info.description and the Revision 12 history, the embedded spec regenerated; declared responses, API 1.8.0 and 49 operations unchanged | WP02 | done (#247) |
+| w3-contracts-r13: revision 13 (API 1.9.0, 49 operations) — ObservationAccepted.identity_frozen (optional boolean: the reporting incarnation is frozen, drop every member grant and renew at once; D-088); UpdateResultSource enum [central, installer] (default central) as optional source on UpdateResult, NodeUpdateSummary, UpdateJobSummary and UpdateTarget — node-minted UUIDv5 job ids for installer-staged releases become installer-applied evidence on the node, never a batch result; 404 RESOURCE_NOT_FOUND declared on submitUpdateResult (D-089); ErrorCode TC_FOREIGN_FILTER mapped like HEALTH_CHECK_FAILED (D-085); examples, generated Go/TS, portal messages, handover pins 1.9.0/49 | WP02 | done (#261) |
+| w3-contracts-r13: revision 14 (API 1.10.0, 50 operations) — revokeMemberGrant: POST /admin/members/{member_id}/grants/{grant_id}/revoke (admin session + CSRF + required idempotency key, ReasonRequest; 202 Operation kind/audit member.grant_revoke; 404 unknown or other-member grant, 409 STATE_CONFLICT for revoked/expired; the generated composition returns 501 until wire-members registers it — AT29 explicit withdrawal); D-105 retired-stream hand-off: optional UsageBatchRequest.origin_incarnation_id (same node, presenting incarnation enrolled strictly after the retirement, event interval end ≤ retirement + one sampling interval, immutable events, ACK per original stream via UsageBatchResult.node_incarnation_id, late events rejected + audited); D-106 ObservationReport.tc_evidence (TCReadbackEvidence: closed bounded objects, uint64 decimal candidate generation, UTC read time, verifier outcome, nullable error/rejection, ≤16 attachments / 4 objects / 4 actions / 1 deciding object, netlab canonical digest); publication-gate cause considered, not added (Operation.steps[].message, #287); vectors member-grant-revoke / usage-retired-handoff / tc-readback-evidence, 177 TS vector checks; version pins + secops scope-review hashes updated | WP02 | done (#289) |
+| w3-contracts-r13 follow-up 15 | Revision 15 (API 1.11.0, 50 operations): D-164 optional nullable ServingReadEvidence on ObservationReport and NodeDetail (read_at, apply/live source, decimal-string candidate generation, verified, bounded diagnostic); preserve absent/null/value, original old-report canonical hashes and retained rejected/old diagnostic meaning. D-112 hand-off bound default 10 s with the existing 30 s fixture override; D-117 finite-grant revoke cases corrected without changing endpoint behavior. Generated contracts/control artifacts, examples and 201 TS vector checks. Six immutable inputs and scoped read redirects preserve all 42 historical handover claim bodies; seven current files refresh 120 secops digest scalars only. Contract compatibility phase only: Central projection, diagnostic consumers and producer rollout follow in that order; F17-01/D-163 remains open. | done (#485) |
+| w3-wire-nodes follow-up 5: worker execution of node.publication_changed via exits.ExecuteOperation, applied-policy evidence on update targets (D-048) | WP04, WP05, WP09 | done (#60; worker executes node.publication_changed through the exits executor with a real NetBird adapter; UpdateTarget policy evidence populated) |
+| w3-wire-nodes follow-up 6: terminal `failed` for publication operations once the dispatcher's retry budget is exhausted | WP04, WP05 | done (#61) |
+| w3-wire-nodes follow-up 7: worker members-domain jobs receive the desired-state compiler (member changes recompile desired state) | WP04, WP05 | done (#62) |
+| w3-wire-nodes follow-up 8: retire the legacy withdraw handlers; node.revoke/node.retire through the publication executor | WP04, WP05, WP09 | done (#70) |
+| w3-wire-nodes follow-up 9: baseline readiness without a management peer id (central side of the publication deadlock) | WP04, WP05, WP09 | done (#77) |
+| w3-wire-nodes follow-up 10: management peer discovery through one-off enrollment correlation groups (D-055), fenced worker discovery with terminal conflicts | WP04, WP05, WP09 | done (#83) |
+| w3-wire-nodes follow-up 11 | D-057 immutable exit groups (/admin/groups) and atomic publication membership with replay-safe hashes; D-056 reported DNS evidence projection and authorized resolver document reads over the DNS owner reader; D-058 sanitized check detail and egress_probe configuration; D-055 adapter documentation; the three composition stubs replaced by real handlers. Compiler seam for signed resolver references/probes prepared, not yet in the production compiler (follow-up 12) | done (#98) |
+| w3-wire-nodes follow-up 12 | D-055 adversarial review fixes (13 proofs pass unchanged: fresh key/group reads, isolation, bounded retries, rollback of tentative bindings, durable withdrawal receipts), revocation before recordPeer withdraws the correlated peer with read-back and truthful audit, resolver-document issuance in the compiler transaction (D-056, closes r8 High), publication requires agent forwarding evidence (SECOPS-11, member_forwarding_unconfirmed), removed-group recompile (D-052 F-02), D-062 central acceptance | done (#109) |
+| w3-wire-nodes follow-up 13 | r8 review routed: eight central proofs retained, disappeared-group race returns 422 with rollback (D-057), typed dns_policy_evidence through the generated GetNode response (revision 6), WIRING member-route owners | done (#121) |
+| w3-wire-nodes follow-up 14 | D-056 periodic resolver-document reconcile (min(reconcile_seconds,60) s) compiles newly eligible documents into signed state without a publication command; devstack gate (b) closed, 15 pass / 6 blocked / 0 fail | done (#127) |
+| w3-wire-nodes hotfix | test-only: SECOPS-11 recorded-baseline unit test reads a frozen owner fixture, not the harness live record (SECOPS-13) | done (#130) |
+| w3-wire-nodes follow-up 15 | publication data-path probe: not_run lease/qos/source_binding accepted only for the issued published generation with an empty device_bindings list (signed envelope of the current incarnation); any failed check blocks; one predicate for executor and observation progress; bounded step reason vocabulary | done (#148) |
+| w3-wire-nodes follow-up 16 | r11 publication finding with the attachment-basis rule: routes attached under the zero-binding exception are withdrawn-and-confirmed before the first populated generation is delivered (per-node publish lock, bounded retry, D-029 audits, recovery re-attaches); populated_verified attachments are never withdrawn or held, revocation generations deliver during NetBird outages | done (#160) |
+| w3-wire-nodes follow-up 17 | D-065 fleet configuration admin resource: GET/PUT /admin/fleet-config served by the nodes handler set (strong ETag, If-Match 428/412, idempotent replay from the immutable audit row, audit fleet_config.update with both snapshots and the reason, 422 validation); only max_offline_lease_seconds / resource_version / updated_at are written; existing leases keep their signed window and renewals copy the new value; release-writer interleaving proof | done (#179) |
+| w3-wire-nodes follow-up 18 | r13 M-3 central half: member/entitlement_grant/member_device revoke node steps stay pending (ISOLATION_POLICY_INVALID, member_forwarding_unconfirmed) while a node forwards with a pending conntrack delete, complete on a clean observation or the node failing closed (audit node.revoke_isolation_resolved); publication evidence reports isolation_unconfirmed / degraded; SubmitObservation no longer downgrades a ready incarnation to applying on a concurrent desired-generation advance (isolation gen 8→12→13 timeline); readiness/lease contract proven (grant-less lease before ready, grants on the next renew after the ready observation) | done (#194) |
+| w3-wire-nodes follow-up 19 | `listNodeIncarnations` wired (single-query read model, retained usage per incarnation, retire reasons, cursor paging; ENR-03) — all 47 revision-10 operations implemented; `token_sha256` asserted end to end (ENR-02); `awaiting_member_grants` accepted and projected (D-067) | done (#200) |
+| w3-wire-nodes follow-up 20 | D-067 central backstop: a grant-less provisional lease on a not-ready published exit expires at min(max_offline, 60 s), ready nodes keep the full window; D-070: revoke nodes step keyed on ISOLATION_POLICY_INVALID+apply, pending under the conntrack bound stays pending, the agent real fail-closed shape completes as node_failed_closed; fixtures built from agent.Decide | done (#206) |
+| w3-wire-nodes follow-up 21 | D-072 production caller: agent mTLS ingress (lease-renewals, observations) observes the /24 v4 and /48 v6 compatibility domain inside the request transaction; single switch X→Y = roaming (120 s activeWindow), X→Y→X or a third domain inside the window = conflict row + mapping_frozen; freeze honored by peer observe/discover, provisioning, PublishExit; one node.identity.conflict audit per new row; revoke + re-enroll proof; roaming candidate state in process memory until a migration lands | done (#211) |
+| w3-wire-nodes follow-up 22 | r14 H-1: revoke completion fence matches only peers that share an exit group with the member plan and are fresh (online, observed inside 90 s); ungrouped exits never hold a revoke. r14 M-2: at most one stale safety=passed report keeps ready, the second downgrades to applying. D-072: NodeDetail.identity_conflict projected in getNode for the current incarnation, ETag rotates on endpoint/conflict/freeze, If-None-Match 304; revoke + re-enroll resets | done (#217) |
+| w3-wire-nodes follow-up 23 | D-074: a gated node.publish waits — agent_policy / data_path_probe stay pending with NODE_NOT_SERVICEABLE and the operation running while retries remain; failed + publication_observed=error only at retry-budget exhaustion; acknowledging observations wake the delayed worker retry | done (#224) |
+| w3-wire-nodes follow-up 24 | D-073 + D-075 (migration 00187): roaming-candidate state persisted on node_identity_endpoints under SELECT … FOR UPDATE (replica- and restart-safe, in-memory map removed); the r14 M-2 one-shot stale-generation grace moves from the audit payload to node_incarnations.stale_generation_grace_at — SubmitObservation no longer reads audit_events | done (#228) |
+| w3-wire-nodes follow-up 25 | NodeDetail.usage_outbox projected from accepted observations (SECOPS-19, D-075, D-077 §2): migration 00189 adds node_incarnations.usage_outbox JSONB + usage_outbox_observed_at (CHECK both-or-neither, object), written by SubmitObservationTx in the transaction that accepts a non-stale report carrying a usage block (zero shape projected as zeros; a later report without the block leaves it intact), null — never absent — on a new incarnation, served in the node strong ETag (resource_version bump, 304 on If-None-Match); informational only, never touches safety_status, readiness, leases or publication; awaiting-member-grants example aligned with D-071 (one AWAITING_MEMBER_GRANTS error at stage lease; check_failed before forwarding_disabled documented as the provisional semantics); handover migration index 00189 → handover f13 | done (#243) |
+| w3-wire-nodes follow-up 26 | r15 H-1 (fresh issuance) / M-1 / M-2 / M-3 / M-4: the clone-conflict transaction fails provisioning + safety with the freeze and RenewTx reads mapping_frozen, so a fresh renewal on a frozen incarnation is grant-less with the 60 s backstop (ordinary roaming keeps grants); both HTTP lease paths and standalone RenewTx take fleet before node (40P01 reproduced, gone); the empty-projection grant fallback skips revoked plan revisions (91 s freshness kept); current-generation failed/expired safety fails the publish step on attempt 1 with NODE_NOT_SERVICEABLE (stale generation still wins, unknown waits); frozen incarnations store observations with failed safety/provisioning (raw payload + replay receipt kept); nine r15 proofs adopted as hard assertions; OPEN → follow-up 27: the D-084 clamp of previously issued grant-bearing leases is rejected by serving_leases_immutable (SQLSTATE 23514) and needs a narrow trigger migration (00190 granted); an agent holding such a lease has no early clamp signal (D-088) | done (#254) |
+| w3-wire-nodes follow-up 27 | D-088 (i) / D-084 completion: migration 00190 narrows serving_leases_immutable so an UPDATE may only make expires_at strictly earlier with every other column identical (DELETE/TRUNCATE and all other mutations still 23514); the clone-conflict freeze transaction clamps every unexpired stored lease of the frozen incarnation to least(expires_at, now() + 60 s) atomically with mapping_frozen and failed provisioning/safety; signed envelopes and both replay paths return the original bytes (stored expires_at is the authoritative central deadline); the shared publication reader fails closed on it; committed clamp proof; identity_frozen emission is follow-up 28 | done (#259) |
+| w3-wire-nodes follow-up 28 | D-088 (ii): observation acceptance emits identity_frozen: true as a live annotation (absent otherwise) on new reports, report-ID replays and HTTP idempotency-key replays, read from the current incarnation's node_identity_endpoints.mapping_frozen without changing the durable receipt; TC_FOREIGN_FILTER classification and stored projections proved against the revision 13 registry; D-084 complete end to end on the server side | done (#267) |
+| w3-wire-nodes follow-up 29 | D-099 (SECOPS-21 blocker): the HTTP desired-state cache never elides a required generation advance — reuse is fenced by the proposed generation and outstanding restore-observation operations, a higher applied/stored generation forces signing and cache replacement (reproduced: restored 2 / retained 5 / stale 304 offer 2 → D-095 503 hold, then first offer above retained with a new signature/ETag); accepted interpretation: the cached generation or its ordinary one-step proposal may reuse the cache because CompileTx always proposes +1, strict equality would kill every ordinary cache hit; installer-receipt replay keyed by normalized node UUID identity (D-089); enrollment next fixed to /api/v1/agent/desired-state (revision 13 / §14.7, production bug); dated note docs/nodes/2026-10-31-secops-21-handover.md for the secops rerun (simulated ACK in the fixture, live closure = secops follow-up 12); mk/nodes.mk nodes-test/nodes-integration split; nodes lint/unit/integration/build + fleetupdate integration + handover tests exit 0 | done (#277) |
+| w3-wire-nodes follow-up 30 | Publication-gate cause projected into revision 13 `Operation.steps[].message` for `node.publish` (admin + node readers; bounded vocabulary, e.g. `member_forwarding_unconfirmed (lease_unconfirmed)`); D-074 hold unchanged; `internal/operations` edited under D-107; dated portal note `docs/nodes/2026-10-31-publication-gate-cause.md` (D-101 follow-through) | done (#287) |
+| w3-wire-nodes follow-up 31 | r16 H-1 fixed on #289 base: fenced devices excluded from signed desired-state bindings (open-fence predicate in `internal/desiredstate/interfaces.go`) and from lease device lists (`internal/leases`, initial and locked eligibility queries); worker replaces every current-incarnation signed envelope still binding a fenced member device through the existing revocation fanout before the detecting sync job is acknowledged (concurrent first compilation serialized); five r16 proofs adopted byte-identical; unfenced siblings, ordinary revocation and explicit re-authorization preserved; live propagation timing unmeasured | done (#291) |
+| w3-wire-nodes follow-up 32 | D-126 central side proved from members 9 captured AT09 report: SubmitObservation accepts the mixed safety_check_failed + awaiting_member_grants report, stores and projects every value unchanged (JSON-value / JCS equality; report_payload is JSONB so literal wire bytes are not retained), publication stays blocked, replay returns the stored ACK; D093-12 fixture fetching recommendation (ii); no revision-15 marker; D-113 unchanged; tests only | done (#321) |
+| w3-wire-nodes follow-up 33 | D-087 TEST ONLY grant-eligibility seam: httpwire.Open accepts WithTestOnlyGrantEligibilityReaderFactory(func(pgx.Tx) leases.EntitlementReader), sampled once per lease-renewal transaction so the initial read and the pre-commit recheck see one fixture decision; the default stays the production leases.DBEntitlementReader, a nil reader fails closed (DependencyUnavailable), there is no config / env / HTTP control surface; nodestest.MemberGrantEligibility offers SetMemberGrantsReady(false/true) with a per-renewal snapshot; desired-state compilation keeps its production DB reader so bindings and generation never move (D-131); followup33_integration_test.go proves the production constructor, a real HTTP false→true transition, invariants, replays and fail-closed; hand-off docs/nodes/followup33-d087-seam-2026-10-31.md for devstack 20 → isolation 10; 1 request | done (#335) |
+| w3-wire-nodes follow-up 34 | Stale-lease generation hold, central side (r18 M-3, agent-core 32 request 2): a report carrying `policy_missing` plus `STALE_GENERATION` in the lease check or a `stage=lease` error is a hold whatever the applied ACK says, joined only to its own signed lease on the current incarnation (unknown or cross-incarnation leases cannot borrow evidence). `PublicationDataPathFailure` returns `stale_generation` before generic `check_failed` / `forwarding_disabled`; only the agent's two dependent qos / source_binding checks yield, and any other failed check, error or isolation failure still wins (D-126). Migration 00194 keeps incidents across agent boots: central first / last seen, applied and lease generations, the node's steps / elapsed_ms / alarm exactly as reported (an unparseable summary fails closed and keeps unknown counters), report IDs and boot. One transactional admin audit escalation on a reported alarm or 30 s of central age, never repeated; it ends on a matching-lease report, identity freeze or revocation, or the revocation of every leased member. D-075 grace unchanged. 3 requests (isolation, members, an optional typed contract diagnostic). | done (#382) |
+| w3-wire-nodes follow-up 35 | Devstack 32's request, under the orchestrator's revised provisional ruling. Spec §14.5 and the contract give zero no special meaning, so `nodes.ParseIfMatch` now accepts `"0"` and every caller compares it as it compares any other version: a row at version 0 matches and is written, and every other row gets the ordinary 412 RESOURCE_VERSION_CONFLICT with `details.current_resource_version`. The first session stopped at the brief's precondition, correctly: explicit inserts may store version 0 in `nodes` and `exits`, while production enrollment defaults to 1; the dated note keeps that counterexample. Integration tests on all four guarded routes (capacity PATCH, revoke POST, retire DELETE, publication PUT) prove that zero and stale non-zero conflicts return the current version with no state, operation, audit, outbox or idempotency change, and that the same key and body with the read ETag then succeed once; a zero-row test proves a matching `"0"` writes and advances to 1; standalone service entry points cover all six audited call sites. Missing or empty headers keep 428; malformed values keep today's 412, now also tested for leading zeros, weak and list tags, and overflow. No schema, contract or contract-version change. One nonblocking hand-off: devstack's publisher proof comment. 3 commits, 4 owned files. Codex gpt-6-astra. | done (#443) |
+| w3-wire-nodes follow-up 36 | D164 Central serving-read validation and atomic current-incarnation projection with selected observations; preserves canonical payloads, replay semantics and independent health decisions. | done (#492) |
+| w5-serving-read-consumers | Bilingual retained-verifier display and diagnostic exports preserve absent/null/value, exact read metadata and causal check details. | done (#493) |
+| w2-serving-read-producer | Node reports retain independent serving-read diagnostics while preserving causal check detail, legacy compatibility and queued observation contents. | done (#494) |
+| w4-clone-runtime-readiness | Clone evidence waits for a coherent source launch within a bounded deadline, preserving failed reads and strict same-launch review. | done (#495) |
+| w2-tc-read-diagnostics | Preserve bounded TC command failure diagnostics and allowlisted recovery context without changing enforcement decisions or public evidence hashes. | done (#496) |
+| w4-d164-live-acceptance | Fresh same-run hold and clone evidence completes serving-read acceptance; retire the pure-stale exemption while retaining platform and full fault-matrix limits. | done (#496) |
+| w2-recovery-text-format | Read actual agent text logs and watchdog JSON through the same bounded privacy projection; verify retained production input. | done (#497) |
+| w3-dns-failure-evidence | Preserve bounded DNS query failure classes and explicit counter availability without relaxing acceptance. | done (#497) |
+| w5-delivery-current | Align bilingual delivery entry points with completed serving-read integration and its recorded acceptance; distinguish archived checkpoints from current guidance. | done (#498) |
+| w3-apply-startup-diagnostics | Preserve bounded Apply failure and member transport startup diagnostics without changing safety deadlines or acceptance criteria. | done (#499) |
+| w3-apply-startup-diagnostics follow-up 2 | Correct the diagnostic regression fixture to use a consistent monotonic clock on freshly booted CI runners; retain safety assertions. | done (#500) |
+| w3-coredns-fixture-modes | Make public CoreDNS fixtures readable by the nonroot service under restrictive umasks while preserving private files and caller permissions. | done (#501) |
+| w5-runbook-current | Route runbooks to current bilingual delivery guidance, distinguish archived checkpoints and explain retained node-verifier evidence without changing historical outcomes. | done (#502) |
+| w3-e2e-install-timing | Reuse existing test-only Apply timing for bounded recovery diagnostics, preserving deadline guards and acceptance verdicts. | done (#503) |
+| w3-e2e-observer-fixture | Align the offline recovery observer Docker fixture with bounded timing reads and test explicit read failures. | done (#504) |
+| w5-deploy-config-clarity | Align deployment examples with installer origin exceptions and separate control/worker database credentials. | done (#505) |
+| w5-release-keygen-validation | Validate requested release trust before writing keygen outputs; preserve files on invalid trust windows. | done (#506) |
+| w5-vault-init | Add explicit fresh FileProvider initialization with key-use checks, public artifacts and exclusive completion receipt. | done (#507) |
+| w5-backup-shellcheck | Annotate trap-invoked backup cleanup for ShellCheck 0.11; preserve executable bytes and cleanup behavior. | done (#508) |
+| w4-isolation-probe-diagnostics | Retain bounded socket/send diagnostics and structured incomplete-probe reports; missing ingress remains failure, without invented guard attribution or rewritten historical evidence. | done (#509) |
+| w5-vault-inspect | Add read-only inspection and exclusive public trust export for an existing FileProvider vault; metadata results stay separate from actual key-use checks. | done (#510) |
+| w5-release-trust-update | Offline `fvpn-release trust-update` and `trust-verify`: produce and check one signed release trust update that adds, retires or revokes one root; in tests the outputs are applied by a real FileProvider, including a root handover (add, retire, revoke). The central apply command and node delivery are separate work. | done (#511) |
+| w5-vault-rotate | `fvpn-vault-keys rotate` and `revoke` change one of the four central Ed25519 keys of a FileProvider vault only when the ledger revision and active key match what the operator states, checked inside the provider lock; one JSON outcome document per run with distinct exit codes (applied, already revoked, refused, not applied, durability not confirmed, unknown); every ledger save sets mode 0600 explicitly. Delivering the new node trust bundle stays a separate step. | done (#513) |
+| w5-release-keygen-signer-id | `fvpn-release keygen` refuses a non-empty `-key-id` that cannot appear in a signature (the signer-ID syntax `trust-update` and `sign` already enforce) before generating a key or touching either output path; an empty ID keeps its existing message; keys created earlier with such IDs stay usable as retirement and revocation targets. | done (#515) |
+| w5-device-auth-fixture-clock | Database integration fixtures that authorize a device take their entitlement windows from the run's clock, because the authorization trigger compares the entitlement with the database clock: the two desired-state compiler tests (with their fair-use `effective_at` dates and accounting period), the AT18 fair-use HTTP test (with its period and override validity) and the shared usage fixtures. Fixed dates had made the first test fail on every run from 2026-11-11. Test files only; no assertion changed. | done (#518) |
+| w5-release-trust-apply | `fvpn-vault-keys apply-release-update` applies one signed release trust update (as produced by `fvpn-release trust-update`) to a FileProvider vault: the file is schema-checked before the vault opens; inside the provider lock the envelope must verify against the stored release roots, an update already stored is a no-op, the ledger revision must match what the operator states, and the last usable release root is kept unless the operator allows otherwise; one JSON outcome document per run with distinct exit codes (applied, already applied, refused, rejected with a reason class, not applied, durability not confirmed, unknown) and a read-back after an uncertain save. Node delivery stays manual. | done (#517) |
+| w5-real-clock-fixtures | Two more integration tests whose fixed dates met a clock the test does not control take their scenario dates from the run: the policies HTTP test's fair-use override and `effective_at` (the production store validates the override against the current time; it would have failed from 2026-11-15), and the DNS publication test's feed window (the publisher and the document lookup check it against real clocks; it would have failed from 2026-11-28). Test files only; no assertion changed. | done (#520) |
+| w5-delivery-key-guidance | Delivery guides (Traditional Chinese and English): one operating-guide row for central signing keys and release trust (`fvpn-vault-init`, `fvpn-vault inspect` and `export-trust`, `fvpn-vault-keys rotate` and `revoke`, `fvpn-release trust-update` and `trust-verify`, and `fvpn-vault-keys apply-release-update` as the central apply step that the rotation runbook describes), and a section listing the statements of the archived operator and member guides that are out of date (Go vault calls in §8.1 and §8.2, the weekly key check, the fair-use shadow-mode portal view) with what applies now. The hash-pinned guides are unchanged. | done (#521) |
+| w5-node-trust-docs | Node install guide: a section on the three node trust files (`trust.json`, `release-trust.json`, `desired-trust.json`) that names, for each, the installer input, the reader and when it reads the file, the key purposes it needs and what a failed verification does, and then the files to replace and the process to restart or rerun after each kind of central key or release trust change. The install example passes the central `fvpn-vault export-trust` output to `--trust-bundle` and `--desired-trust`, and the rotation runbook links to the section and names `release-trust.json` as the node file a release trust update replaces. Two new tests pin what it describes: the updater verifies desired state with the central export, and with the installer's release-only fallback it fails with a permanent `KeyUntrusted` and blocks forwarding; the installer writes `--desired-trust` as given, or a byte copy of `--trust` without it. No behaviour change. | done (#522) |
+| w5-desired-trust-default | Node installer: when `--desired-trust` is omitted, `desired-trust.json` is now a byte copy of `--trust-bundle`, the central export the agent already verifies desired state with, instead of `--trust`, the release root, which holds no desired-state key and so made the updater block member forwarding on the first desired state. Every `install` run, including an `already_current` rerun, refuses with exit 64 before identifying the host or running any host command when that file cannot be read, is not a node trust store, or holds no non-revoked `desired-state` key valid at the installer clock; the message names `--desired-trust` or, when it is omitted, `--trust-bundle`. `pkg/envelope` adds `TrustStore.HasUsableKey`, which applies the same key rule as verification. The install guide documents the default and the check, and how to repair a node installed earlier without `--desired-trust`. Tests cover each refusal on fresh installs and reruns, with no host change. | done (#523) |
+| w5-secops-guards | Tests: the three one-shot secops guard scripts (`followup11_guards.py`, `followup12_guards.py`, `followup13_guards.py`), which CI never ran, are replaced by tests CI runs and deleted. `tests/e2e/at/secops/test_evidence_guards.py`, in the secops job, checks every snapshot pin of `docs/e2e/at/secops/history/index.json` and runs the existing secret scan over all committed secops JSON and Markdown, history included. `TestHandover_ScopeReviewEveryPin`, in the Go job that runs on every push and pull request, checks every `{path, sha256}` pair in `docs/e2e/at/secops/scope-review.json`, so a pull request that changes a pinned file outside the secops paths fails in its own checks. Checks bound to one past run, the files of that time, a lane branch or full git history are retired; the dated records keep their results. | done (#524) |
+| w5-date-bomb-fix | Tests: no test fails any more because the calendar passes a fixed instant. The shared fake-control, release-installer and W5 control fixtures no longer carry the fixed 2026-01-01 to 2028-01-01 window. Where the code under test takes a clock (the installer's updater engines and the usage checkpoint uploader), the fixture window and that clock come from one test clock; elsewhere the window is derived from the run's clock with margins. The release and vault CLI fixtures are dated from each run, and their refusal cases derive an extended end from the fixture's end. Production behaviour does not change. | done (#525) |
+| w5-handover-cut50 | Handover: cut 50 (`docs/handover/follow-up-50.md`) consolidates the 37 pull requests merged after follow-up 49's range, #486 to #518 and #520 to #523, cut at `fe9bb436`; #519 was closed without merging. The guide statements that the delivery guides listed as out of date are revised in place: operator guide §1.2, §8.1 and §8.2 now lead to the vault inspection, key rotation, trust export and release trust-update commands, and member guide shadow mode follows the current fair-use status. The delivery guides say the guides are revised in place at a cut, and the entry points name follow-up 50 as the latest cut. `TestHandover_Followup50Claims` checks the cut against its manifest, compares the twelve changed files with frozen pre-cut copies allowing exactly 19 edits, and resolves the links and anchors of the revised text. | done (#526) |
+| w5-handover-cut51 | Handover: cut 51 (`docs/handover/follow-up-51.md`) records the three pull requests merged after follow-up 50's range, #524 to #526, cut at `66de6a24`, and corrects the deployment guides in place against the code and contracts: the deployment runbook, the calibration guide, the restore drill and the backup guide. The runbook now initializes the vault with `fvpn-vault-init` and provisions nodes through `fvpn-node-install`, and the routes, fields, configuration keys and command names that the reviews found wrong are corrected; the recovery guides select separate migrator and recovery credentials, and re-apply recorded revocations, suspensions and grant withdrawals with control alone before the worker starts. Steps found to depend on a procedure this repository does not have carry a `Carried gap:` notice inside the step, and the cut lists the 27 carried gaps; the reviews do not prove that every statement is correct. `TestHandover_Followup51Claims` checks the three rows against the manifest, compares the 14 changed sources with frozen pre-cut copies allowing exactly 220 named edits, and resolves the relative links and anchors of the 14 live sources. Documentation and tests only; no deployment or restore result is claimed. | done (#527) |
+| w5-handover-cut52 | Handover: cut 52 (`docs/handover/follow-up-52.md`) records the one pull request merged after follow-up 51's range, #527, cut at `6972be03`, and corrects in place guide statements that were wrong against the code: in the deployment runbook, the enrollment result field, the nested serving-release list, the resolver count (two resolvers stay the specification's starting point; the code accepts one, without redundancy) and what the agent does at the conntrack retry bound; in the calibration guide, the fair-use status path, acknowledgement and recompilation events, and the limiter, request-body and identity names; in the restore drill, a duplicated carried-gap paragraph, now kept once; 51 corrections in the operator guide, among them the fair-use acknowledgement, which does not show that a carrying exit is live now, the revoke `nodes` step, whose success does not prove that every serving exit applied the generation, the condition of the central 60-second cap, same-generation repair, and names that do not exist in the code; in the member guide, in English and Chinese, eligible renewal attempts, with a link to the operator entry for provisional reports; and in the backup guide, the architecture of the prebuilt `fvpn-migrate`. The dated restore-drill record keeps `UploadOnce` as written, and the cut records the erratum. `TestHandover_Followup52Claims` replays exactly 91 named edits onto frozen pre-cut copies of the 14 changed sources, and checks the six earlier claims functions whose 13 reads now use frozen copies against their size and SHA-256 at the base. Documentation and tests only; no deployment or restore result is claimed. | done (#529) |
+| w5-backup-isolated-config | Backup: the isolated restore that the daily verification uses (`restore-pitr.sh --isolated-container`) starts PostgreSQL from main, HBA and ident files that it writes itself, root-owned and readable by `postgres`, with listener, port, socket, SSL, archiving, preload libraries and both recovery hooks pinned on the command line; it no longer depends on configuration files restored from the backup or on where the primary keeps them, so a host primary whose `postgresql.conf` lives outside the data directory can be verified. After the pgBackRest restore, `postgresql.auto.conf` keeps only the block pgBackRest wrote for this restore, limited to five recovery keys, and any other content stops the run before PostgreSQL starts. Only the repository cipher passphrase and type are passed into the containers. Restored resource settings are read from the control file with PostgreSQL's defaults as floors, and an insufficient-resource failure ends the run at once with its diagnostic. Role and database names must match a fixed grammar. A failed run removes the containers and the volume it created, checked by an ownership label, and never a pre-existing or foreign object. Every input guard of the backup scripts lists its ASCII characters instead of using a regular-expression range, so a locale such as `en_US.UTF-8` no longer lets non-ASCII letters or digits through. `TestAT30_IsolatedHostConfig` restores a primary with its configuration outside the data directory and hostile restored settings; `TestAT30_BackupLocaleGuards` checks every guard in the backup image under C, C.UTF-8 and en_US.UTF-8, after controls that show the locale Bash actually uses; `backup-drill` fails unless all 14 required tests and subtests ran and passed; unit tests cover the rewrite, names, forwarding, resources, cleanup ownership, any new locale mention in the scripts, and any new code loading or environment write in them that the literal patterns match; a destination built by expansion is flagged only in the argument layouts the classifier recognizes, and is otherwise left to review. Documentation changes follow in the next handover cut. | done (#528) |
+| w5-node-stale-sweep | Worker: the node staleness sweep (`SweepStaleNodes`), which had no production caller since #17, now runs as the scheduled outbox job `node.staleness.sweep`. `RunNodeSchedule` seeds it with the other node jobs; each run commits the sweep under its claim and leaves one successor, due after `reconcile_seconds` (at most 60 s). A node becomes `offline` once its last accepted report is `online_seconds` old, and `stale` once it is 90 s old, or `online_seconds` when that is shorter; an accepted report sets it `online` again, and publication intent is unchanged. A failed sweep is retried without a successor while the other node jobs keep running. Six database integration tests cover scheduling and coalescing, both thresholds, recovery, unchanged published intent and failure isolation. | done (#530) |
+| w5-portal-node-summary | Portal: the admin node summary (`deriveNodeSummaryPhrase`) states only what the node's own fields show. Thirteen ordered rules, first match wins: revoked or retired, enrolling, offline (route withdrawn or not), stale, then for online nodes a failed or expired isolation check, disabled, unpublished (provisioning ready or not), rolled back or serving, and published but not serviceable. A release mismatch alone no longer reads as rolled back. The list badge is success only for serving, warning for rolled back and stale. The admin overview's time is the latest node report, compared as an instant, with an explicit text when no node has reported, and its safety card no longer says the counted nodes are online. Six unit tests, including all 207,360 node state combinations, in both languages. | done (#531) |
+| w5-revoke-nodes-ack | Nodes: the `nodes` step of a member or device operation (update, suspend, unsuspend, grant, grant revoke, device authorize, device revoke) no longer completes on the first clean report from any exit. The member worker captures the operation; each compile it covers pins, for every exit that carries or carried the subject, the node, incarnation and generation that exit must apply, and every compile records the subjects it removes from an exit, so a former carrier counts even when the operation's own event does not recompile it. A target is acknowledged only by an accepted report at a generation issued to that node and incarnation, at least its pin and received after the compile by the database clock; an addition needs a clean, ready report. An outstanding target on a revoked, retired, offline or silent node (90 s) is recorded `unconfirmed` with its reason, never acknowledged. The step completes when capture has finished and no target is pending; an operation with no target completes at capture. A database-wide compile fence, shared by compiles and taken exclusively by capture, keeps the selection and the final capture consistent, and a compile reads the resolver document on its own transaction. Migration 00196 adds three tables; 36 database integration tests. | done (#532) |
+| w5-api-times-utc | Database: every pool the product opens scans `timestamptz` in UTC (`db.ConfigureUTC`, called by `db.Open` and by the test helper before the pool is created, after any earlier `AfterConnect`), so API times end in `Z` as the contract requires on a host in any time zone; before, the admin node list returned `last_seen_at` and `created_at` with the host's offset. Arrays of `timestamptz` scanned into `pgtype.Timestamptz` keep pgx's default codec; no product query scans one. Two integration tests with a non-UTC local zone: the pool's scans in both result formats with and without an earlier callback, and the node list and detail responses against the contract. | done (#533) |
+| w5-handover-cut53 | Handover: cut 53 (`docs/handover/follow-up-53.md`) records the five pull requests merged after follow-up 52's range, in merge order #529 (follow-up 52 itself), #528, #530, #531 and #532, cut at `e055143e`, and makes 37 named corrections in place to guide statements that were wrong against the code at the cut, among them statements those five changes made stale: in the deployment, calibration and operator guides, central receipt-age status, which comes from the configured online window and the scheduled staleness sweep and stays apart from local heartbeat and watchdog timing, and the configured, clamped renewal lead; in the operator and deployment guides, `token_sha256`, the lowercase hex encoding of the stored SHA-256 verifier, not a digest of it; in the operator guide, forwarding field names, retry and repair eligibility, the provisional central expiry, the device list's rate class, the admin node summary, and operation completion from captured per-exit targets with acknowledged or unconfirmed outcomes; in the database index, the compile fence's names, reads on the fenced transaction and migration 00196; in the restore drill and the backup guide, with a note in the deployment guide, the isolated verifier's own configuration, the host-primary example's database user, the staleness sweep in the restore worker inventories, the drill's identifier, inventory and locale checks, and the static scanner's limits; and in the member guide, in English and Chinese, the historical follow-up 7 qualification and a link that now opens that run's archived summary. Five dated records stay as written, and the cut records an erratum for each. `TestHandover_Followup53Claims` replays exactly 51 named edits onto frozen pre-cut copies of the 15 changed documents, and checks the two earlier claims functions whose 15 reads now use frozen copies against their size and SHA-256 at the cutoff. Documentation and tests only; no deployment, restore, measurement or CI result is claimed. | done (#534) |
+| w5-agent-adoption-timing | Agent tests: the same-boot adoption test (`TestR24_Held_Q1_MonotonicAnchorAndSameBootAdoption`) and 13 other tests that expect a successful adoption or preservation across a restart run inside `testing/synctest` bubbles, so a CPU stall on a loaded host no longer uses up the adoption read's real-time budget. Each bubble builds the whole fixture, a new helper (`closeAdoptionControl`) closes the fake control server after the last control request so the bubble's timers can advance, and engines close with the bubble's test. Test names and assertions are unchanged, and tests whose subject is a real-time bound keep the real clock. Test files in `node/agent` only; no production change. | done (#535) |
+| w5-worker-pool-budget | Worker: the PostgreSQL pool is sized from `worker_concurrency` and the connection peak that every event type and runner states, plus one connection for the readiness check: 5 × `worker_concurrency` + 4, so 24 at the default of 4 (it was a fixed 10). The worker refuses a `worker_concurrency` above 11, where the pool would pass 60 connections, and exits before it reads the database secret. PostgreSQL tests run every event type and runner on a pool of its stated peak, and four member events at once on the derived pool. | done (#536) |
+| w5-handover-cut54 | Handover: cut 54 (`docs/handover/follow-up-54.md`) records the four pull requests merged after follow-up 53's range, in merge order #533, #534 (follow-up 53 itself), #535 and #536, cut at `2f5159f3`, and corrects 57 exact edit spans in place in 18 guides and engineering documents against the code and the acceptance records. Earlier claims tests read frozen copies of the changed files at the cutoff. | done (#537) |
+| w5-test-hygiene | Tests: `TestReviewR11_IssuerSpecialPurposeDestinations` no longer skips 192.31.196.0/24, 192.52.193.0/24 and 192.175.48.0/24. It asserts that these globally reachable prefixes are absent from `SpecDeniedV4` and that a destination inside each is accepted, while 192.88.99.0/24 stays denied. The members binary composition test sends its requests with a 30-second client, the control handler's own default deadline, and both its readiness waits allow 30 seconds. | done (#538) |
+| w4-at-members: acceptance tests for members, devices, entitlements and billing against the lab | WP10 | harness merged (#64): 75 live subchecks pass; AT01–AT22 blocked on member admission (setup-key peer has no NetBird user), the serving node and operator runs |
+| w4-at-members follow-up 1 | Members harness re-run on main: native admission through the shared issuer (D-052), last-slot race, device isolation, usage receipts, billing permutations, D-054 feed readback; ten full ATs stay blocked on serving, forwarding and resolver-document delivery | done (#89) |
+| w4-at-members follow-up 2 | product-API inputs + shared serving baseline, real payment truth, D-056/D-061 typed delivery evidence; 202 subchecks pass, 10 ATs blocked on F2-01 lease renewal (agent f9) and F2-05 node restart token wait (devstack) | done (#133) |
+| w4-at-members follow-up 3 | re-run on main after #146/#143/#145/#148: counted member forwarding proven once the client selects the advertised exit (0→2214/2411 bytes, origin 200); F2-01/F2-05/B9 retired; 242 subchecks pass; ten ATs blocked on F3-02 (lab node image lacks conntrack → first revocation drops the node to baseline; agent report incoherent) and F3-03 operator/lab fixtures | done (#151) |
+| w4-at-members follow-up 4 | second exit adopted (AT08 pass), AT02/AT03 pass, AT04 TCP stop subset on both exits; AT09 cold restart finds an empty same-generation lease kept until its renewal lead (F4-01 → agent f15, D-067); platform/operator matrices remain | done (#183) |
+| w4-at-members follow-up 5 | complete suite on D-067 (#193): AT02/AT03/AT08 pass, 7 blocked on operator/fixture boundaries, 0 failed subchecks; F4-01 resolved — same-generation cold restart recovers 7 grants in 44 s (provisional renewals 1×/2×/4×) | done (#201) |
+| w4-at-members follow-up 6 | AT02 strict post-withdrawal ingress proven with the devstack f13 ObserveMemberIngress export (revoked device ctunku +1, nothing forwarded; admitted sibling counted +1); AT09 asserts the D-067 / revision 11 provisional window (awaiting_member_grants, one AWAITING_MEMBER_GRANTS lease error, 36.976 s to ready on an unchanged generation); run 80db103b: 3 pass (AT02, AT03, AT08) / 7 blocked on F4 lab resources / 0 failed subchecks | done (#231) |
+| w4-at-members follow-up 7 | D-077 / D-081 proved through the production HTTP path on a fresh full baseline (run 297faa31, product d9e28f8): member and admin device lists (cursor paging, fence filter), explicit admin authorize 202 with same-key replay taking the fence 1→0, 409 STATE_CONFLICT on a revoked device, 409 DEVICE_LIMIT_REACHED at the limit, 401/403/404 negatives, counted forwarding restored after re-grant; 3 pass / 7 externally blocked (F4-03/04/05/06/07/10) / 0 fail, 471 passing subchecks; AT09 D-067 same-generation restart 36.997 s to serving-ready, 41.729 s to first counted byte; worker restart-policy note closed; follow-up 6 evidence archived | done (#268) |
+| w4-at-members follow-up 8 | live run 69f92f49 on devstack follow-up 16 fixtures (#284; `w4-members` / 24000): AT02, AT03, AT08 pass (558 pass / 5 blocked / 4 fail subchecks over ten cases); AT02 consumes `ReplaceFiniteGrant` — final-slot contention, ownership, revoked ingress, D-077 fence / re-grant, finite replacement with single-audit replay and expired-input rejection, both persistent transports stop 0.944 s after downgrade (5 s heartbeat bound), real expiry moves 3/0 → 0/3 with three audit rows and restore to 3/0 with counted traffic (last replies 0.842 s before the deadline); AT03 paid-event replay / orders / exact paid interval / restore-fence re-grant; AT04 persistent TCP / UDP refund / expiry / suspension cutoff on both exits (99 checks, rendered screens blocked); AT01 / AT04 / AT05 / AT20 / AT21 / AT22 blocked only on platform / operator / selector rows while every executed check passes (AT20–AT22 DNS rows on the native dual-stack / two-resolver / negative fixtures); **AT09 fail**: native IPv4 / IPv6 / dual at MTU 1500 each transfer 64,064 bytes with the expected family selection, forced relay and same-socket TCP / UDP recovery pass, but three same-generation namespace-restart recoveries fail (F8-01 → agent-core / devstack with wire-nodes) and the dual-stack MTU-1280 transfer completes only 11,011 bytes in 12.0 s (F8-02 → devstack / netlab with wire-nodes); follow-up 7 archived byte-identically (31 files, D-098); open: the finite-expiry interpretation and DNS wording, F4-08 / F4-09 definitions missing from the member records | done (#303) |
+| w4-at-members follow-up 9 | Authoritative run 11e305fe (harness 49fbb48e, product base 7e044c71): **3 complete cases pass / 6 blocked / 1 fail** (560 / 5 / 2 subchecks). **F8-01 closes in the original generation-30 full mutation sequence** with `RestartNodeNamespace90`: desired and applied stay 30 → 30, fresh serving 15.728602 s after the restart, first counted byte at 21.373814 s, new lease with seven member grants, 88 heartbeat samples over 90.337 s, boot / final nft and tc, all observations and the agent log retained (initial TC_FOREIGN_FILTER kept; no state, topology or generation repair). The dual-underlay MTU-1280 IPv4 transfer passes this time (64,064 / 64,064 bytes, direct IPv4 before and after); the historical 11,011-byte F8-02 failure stays unattributed (this pass is no fix proof); D-123 posture kept. **AT09 still fails on new F9-01**: a transient report at 12:06:32.527615Z carries both `safety_check_failed` and `awaiting_member_grants` with lease / qos / source_binding checks on TC_FOREIGN_FILTER while its stage=lease error carries AWAITING_MEMBER_GRANTS; the unchanged D-067 revision-11 predicate rejects it and the composite recovery step fails through it (routed to agent-core 27 / wire-nodes 32 under D-126). DNS rows now assert dns-publish 8's exact per-type RCODE / SOA / TTL table; D-119 and the undefined F4-08 / F4-09 references retired with dated notes; follow-up 8 run 69f92f49 archived byte-identically (32 files, SHA256SUMS) with all 13 handover snapshots matching; revoke audit selector aligned; interrupted attempt retained; six resource requests carried forward | done (#317) |
+| w4-at-members follow-up 10 | Run 2be2d32f on #325 / #321 / #318: F9-01 CLOSED under D-126 / D-128 (the archived generation-30 sequence incl. the mixed TC_FOREIGN_FILTER report passes the offline predicate replay; invalid variants still rejected); fresh AT09 blocked 38 / 5 / 0 (recovery at generation 29, F10-04 exact generation-30 qualification not obtained; serving 15.75 s, first counted byte 21.36 s); all four native bulk rows pass (64,064 bytes at MTU 1280, F8-02 stays unattributed); new F10-02 AT02 121 / 0 / 1 (one persistent-expiry sample read_ok=false) and F10-03 AT20 80 / 0 / 1 (before-TTL answer change, responder not captured); 2 pass / 6 blocked / 2 fail; follow-up 9 archived (33 files) | done (#328) |
+| w4-at-members follow-up 11 | Run 7edb263f on #343 / #344 / #336 (w4-members / 24000): F10-02 new finite-expiry row passes 186 / 186 (last increment 408 ms before the deadline, 798 producer records joined with no gaps) and F10-03 new cache row passes (AT20 blocked 81 / 0 / 0, 39 / 39 traces match primary, before-TTL inferred hit with TTL 9, after-TTL private_ipv4 with observed exchange); the historical F10-02 / F10-03 failures stay failed and unattributed; F10-04 CLOSED under D-129 (generation-29 recovery qualifies at its yielded generation); full AT02 fails 121 / 0 / 2 on new F11-02 (positive forwarding at generation 10 with zero member grants / AWAITING) and F11-03 (admitted sibling hits baseline during generation-13 failed Applies, HEALTH_CHECK_FAILED cause unattributed); complete fresh AT09 fails 37 / 5 / 1 (desired / applied 30 → 30, serving 6.03 s, first counted byte 11.40 s, all three provisional reports pass D-126; the dual / 1280 row returns 13,013 / 64,064 bytes in 12,010 ms = F8-02 recurring over an IPv6 underlay, distinct from devstack 20's IPv4 capture → netlab 21; five QUIC / platform selectors blocked); new F11-01 (AT01 selected route: five member packets, no node / origin receipt); 2 pass / 6 blocked / 2 fail (558 / 5 / 3); follow-up 10 archived (35 files, D-098); the trailing probe build hit the 14:34 host GOCACHE relocation, remaining gates passed on an isolated cache; 82 owned files; nine request groups (six carried, three new) | done (#348) |
+| w4-at-members follow-up 12 | D-098 first (all 43 root files of run 7edb263f under `history/follow-up-11/`). The F11-02 readiness gate joins the latest accepted report, a populated unexpired lease, generation equality, the live grant and the same-boot serving heartbeat; the suite-count admission is a hard stop. One assembled run b98b78ee on #356's tree: 0 pass / 4 blocked / 4 fail, 468 / 0 / 14 subchecks (AT01 / AT09 not re-run, follow-up 11 records kept). **F11-02 closed by fresh rows** (two re-grants pass readiness and counted traffic at generations 10 / 21); **F11-03 blocked — no failed Apply observed** (all 89 AT02 Applies succeeded); the sibling capture keeps 3,976 attempts / 21 losses, 13 inside completed guards and 8 outside — all 8 inside a new **F12-01** 236.970 ms successful `policy_missing` baseline→successful Apply bracket with 9 losses (cause open → agent-core); **F12-02**: the cumulative timing export hit its 1 MiB diagnostic limit and caused 11 readiness failures in AT03 / AT04 / AT08 plus AT04's monitor failure — the owned streamed reader correction is not yet live-qualified; AT20 keeps two failures — **F12-03** negative SOA TTL 2 then a same-primary positive refetch after 1.229 s, **F12-04** native UDP SERVFAIL after 5,001 ms with positive receipts from both resolvers (both unattributed). 12 requests routed. | done (#361) |
+| w4-at-members follow-up 13 | D-098 archive of run b98b78ee under `history/follow-up-12/` (52 files). Assembled run 4182dd3d (10 cases incl. AT01 and AT09): AT03 and AT08 pass, AT02 and AT04 fail, six blocked; 616 / 7 / 3 subchecks. AT02 under provisional D-135 + D-136: 95 successful Applies and none failed (F11-03 stays blocked), all 61 baseline calls paired to the next successful Apply, 21 sibling losses counted (13 inside guards, 8 outside), first fresh `policy_missing` bracket 219.395 ms — the no-loss row stays failed. AT04: new F13-01, two `nft_parse` failures with exit 0 in persistent-withdrawal reads, cause unproven. F12-02's streamed reader live-qualified (22 readiness and 12 monitor checks, streams to 2.46 MB); F12-03 quiet window passes (the historical row stays failed). AT09 blocked under provisional D-137: known-PMTU 1280 passes (64,064 B in 1 ms), receive-only rows reported as limitations, reactive PTB not on this baseline. F11-01: first selection succeeded with one SYN this time; no cause inferred. 10 requests. | done (#368) |
+| w4-at-members follow-up 14 | D-098 first (all 61 follow-up 13 root files of run 4182dd3d byte-identical under `history/follow-up-13/`). Assembled run 258ba504 on #369 + #370: 2 pass (AT03, AT08) / 5 blocked / 3 fail, 628 / 6 / 5 subchecks. AT02 fails the provisional D-135 / D-136 check (96 successful Applies, 0 failed, `commands` on all 96; 58 baselines paired to recovery; 21 losses counted, 7 outside guards; baseline 410 → Apply 414 215.2 ms). AT04 fails on a fresh F13-01 sample: valid JSON with four duplicated identical chain definitions that `parse_nft.go` rejects (raw bytes private, public digest; parser compatibility → netlab, cause unproven). AT09 fails its relay row (`relayed=1 direct=1`) because the harness added the routed hop before the eth0-only relay hold — confounded, reordered in 682d4434, not live-qualified; routed IPv6 PTB and IPv4 DF=0 rows pass, receive-only rows stay limitations. New F14-01: the first D-077 re-grant's forwarding attempt failed after valid readiness (five member packets, no node ingress; cause unproven). F12-04's original query and the IDNA probe succeed (the historical row stays unattributed); F12-03's quiet window passes. 9 requests. | done (#375) |
+| w4-at-members follow-up 15 | D-098 first (all 70 follow-up 14 root files of run 258ba504 byte-identical under `history/follow-up-14/`). Assembled run e80bb592 on #382 (9dde5eeb): 2 pass (AT03, AT08) / 6 blocked / 2 fail, 644 / 6 / 2 subchecks. AT02 fails the provisional D-135 / D-136 check: 93 successful Applies, 0 failed; 65 baselines paired to recovery; 4,131 attempts, 277 without egress — 249 absent at node ingress (sequences 1108–1356, one 5.0975 s gap between observed ingresses, zero capture drops; cause unproven) and 28 ingress-without-egress (12 inside guards / 16 outside). AT01's F11-01 first selection fails after proven serving readiness (generation 5; five member SYNs, zero node / origin packets); three D-077 re-grants pass; F14-01 stays failed historically. AT04: 1,377 withdrawal samples, no fresh parser rejection. 682d4434's routed-after-relay order is live-qualified (relay row passes, Relayed=2 / Direct=0); AT09's new receive-only dual MTU-1280 row fails (12,012 bytes in 12,011 ms). #376: SIGTERM-to-exit 33.5 ms (cooperative sample); three hold samples carry policy_missing + STALE_GENERATION, alarm and escalation not exercised. Large evidence as lossless gzip (AT02.json 62.2 MB → 3.4 MB). 0 new requests, 7 carried. | done (#385) |
+| w4-at-members follow-up 16 | D-098 first (all 64 follow-up 15 root files of run e80bb592 byte-identical under `history/follow-up-15/`). Assembled run 0ffb355a on #396's tree (harness `3a8b6159`, published as `5d9e5f04` after a one-line host-path redaction in the branch history): 2 pass (AT03, AT08) / 6 blocked / 2 fail, 679 / 6 / 7 subchecks; the host powered off after the run and cleanup, and the resume finished the joins and gates with no new run. The orchestrator's chain gates (17:32:43–17:37:12 UTC on 11-01) overlapped the run: every timing observation inside that window is marked contention-confounded under D-133, with no cause assigned. AT02 fails the provisional D-135 / D-136 check: 4,724 writes each joined to member / node / origin packet headers, zero absent node ingresses, 19 ingress-without-egress (11 inside guards / 8 outside), 185 successful Applies, 0 failed; the 249 absent ingresses of e80bb592 stay as recorded. AT01's F11-01 first selection still misses the 5 s deadline: the first SYN reaches the node after 5.222 s (late TCP is not an HTTP receipt); the three original re-grants pass; F11-01 / F14-01 stay unproven. AT09 fails four subchecks, reviewed: a 401 on member/exits (reason not retained), two provisional-predicate rows and the receive-only dual MTU row (12,012 bytes in 12,011 ms, again); no predicate relaxed. Populated holds through devstack 27's seam: 13 accepted samples, four alarms, one escalation per incident, each before the 30 s central fallback; the sole-member row closes `members_revoked`; the survivor continuation after a real sibling suspension is not exercised (the seam releases on `generation_superseded`). Three harness fixes apply from the next run. 1 new request (devstack seam), 7 carried. | done (#400) |
+| w4-at-members follow-up 17 | D-098 first (`4d73c80a`): run 0ffb355a's 81 root files archived byte-identically with SHA-256 pins, with an additive published-commit mapping for follow-up 16's pre-publication rewrite; earlier archives untouched; relocated archive links restored additively by 18 in-repo relative symlinks, no pinned byte changed. One assembled run 81b638e8 (harness `3ba08564`, baseline #406 `a7497ddf`), no retry: 2 PASS (AT03, AT08) / 6 BLOCKED (AT01, AT04, AT05, AT20, AT21, AT22, on recorded operator or resource requirements) / 2 FAIL (AT02, AT09); 691 / 7 / 5 subchecks. D-102 survivor continuation evidenced live: sibling suspension, the survivor's accepted report in the same open incident, recovery at generation 11. All three follow-up 16 harness fixes qualified with original records; AT09's 401 did not recur after fresh OIDC, and follow-up 16's cause stays unknown. AT02 fails: three failed Applies on the primary continuous stream during its own bounded TC stimulus leave the unchanged availability evaluator measurement_valid=false (D-135 / D-136 and F11-03 fail; all 1,253 losses stay counted), and the first re-grant's counted forwarding fails. AT09 fails its D-067 provisional predicate and the combined same-generation restart (serving readiness 6.01 s, counted recovery 12.70 s at generation 63); receive-only dual MTU blocked. Historical failures unchanged. Requests to devstack: a TEST ONLY independent source-address fault hook, and one archive navigation reference under docs/e2e. Session on codex gpt-6-astra. | done (#410) |
+| w4-at-members follow-up 18 | D-098 first (`50f4403b`): run 81b638e8's 77 root files archived byte-identically with SHA-256 pins; earlier archives untouched. Run 1 118271c1 (harness `b4317bd4`, baseline #432 `27ff6392`) is confounded by the members producer reader: it rejected production's tc `retire` command phase (since netlab 32, #423) and with it the whole stream from sequence 582 on, so every later node readiness check lacked its producer record and the 70-minute context expired before AT09's native matrix; 0 PASS / 3 BLOCKED / 7 FAIL (442 / 0 / 35), retained byte-identically under history/follow-up-18-run1 (`71dc60ac`), failures unchanged. Reader fix (`4eb5d7d3`): `retire` accepted with every other lifecycle rule unchanged, unknown phases still reject the stream, and a closed-value audit found no other mismatch. Run 2 50117c68 (harness `4eb5d7d3`, baseline #432), the orchestrator's one authorized rerun: 2 PASS (AT03, AT08) / 6 BLOCKED (AT01, AT04, AT05, AT20, AT21, AT22) / 2 FAIL (AT02, AT09); 699 / 5 / 4. Under the orchestrator's provisional D-146 reading, the dual (IPv4 selected), IPv6 and new IPv4 receive-only 1280 rows qualify in the same run: member SYN MSS 1240 and origin SYN-ACK 1460 arrive as 1160, reverse datagrams 73/73, 74/74 and 72/72 all within 1280, no PTB at any capture point, 64,064 bytes with 64 exact echoes; so they pass on their unchanged byte predicate. Smaller-MSS control not exercised; UDP and QUIC stay limitations; historical F8-02 stays failed. AT02's D-077 re-grant now passes; D-135 / D-136 and F11-03 still fail (1,242 losses counted). AT09's D-067 predicate and same-generation restart still fail (serving readiness 6.02 s, counted recovery 12.55 s, generation 66). New request: grant restoration on early failed-readiness paths. Session on codex gpt-6-astra. | done (#433) |
+| w4-at-members follow-up 19 | Answers follow-up 18's request: finiteExpiry's two early returns (after a failed finite-grant replacement, and after a failed forwarding trace) now restore member A to 3 authorized / 0 pending through POST /admin/members/{id}/grants on the same plan revision, relying on the product's same-plan overlap rule (members.Service.Grant), entitlement.Compute's same-plan merge and reconcileDevices' re-admission of previously authorized devices. The original failed check stays failed unchanged; the restoration is recorded as two separately named checks, and the normal path still restores once with its checks unchanged. The same-pattern audit fixed six more sites in the lane's paths: reauthorizationLimit's lower-plan and fence returns, reauthorization's fence return, populatedHolds' member B device, the entitlements case's node2 publication when no paid member exists, and startSibling's capture and sampler. Two shared-helper sites outside its paths (ReplaceFiniteGrant revokes before replacing; PrepareNativeRouter1280 has no rollback) are routed to devstack. Offline tests (TestAT02_FiniteExpiryRestoresOnEveryEarlyReturnAndOnceOnNormalPath, six cases; TestAT02_AuditedEarlyReturnRestorations, five) pass with and without the e2e tag. Dated notes after run 50117c68; committed run records untouched; no assembled run. Session on agy Gemini 4 Argon. | done (#437) |
+| w4-at-members follow-up 20 | Review r27's two members findings, offline. M-2 (AT09): the restart's timeline starts at the restart, each non-serving observation is judged by the lease it was sent under, index 25 records D-067 as blocked/not exercised when no grant-less lease follows the restart, index 26 accepts either lease sequence, and a new subcheck rejects TC_FOREIGN_FILTER after a restart with no foreign filter (it fails on run 50117c68's evidence until agent-core fixes r27 H-1). M-3 (AT02): D-135/D-136 as confirmed, applied by the orchestrator. Failed Applies link for apply_rollback and apply_quarantine; brackets close at the first verified Apply that serves the sibling; the D-136 deny-all Apply is a step inside; interface-down losses are placed by send time. 190 judges the accounting and 191 the recovery after the close. Zero loss is not the criterion. Replayed on run 2 offline as a proof, not a verdict: three brackets, 1,242 losses, all recovered. Five node writes use devstack 33's WriteNode, with receipts and an AST audit; the grant fallback is kept. Historical runs stay failed. Session on codex gpt-6-astra. | done (#445) |
+| w4-at-members follow-up 21 | D-098 archive of run 50117c68's 81 root records, then one assembled run (5715939e) on main after agent-core 48 (#447), judged by follow-up 20's unchanged predicates: 2 PASS / 8 BLOCKED / 0 FAIL and 705 / 8 / 0 subchecks, with no rerun. AT09: the new TC_FOREIGN_FILTER subcheck passes, so r27 H-1 is fixed on this run; index 25 is blocked because D-067 was not exercised; index 26 passes. AT02: loss accounting and sibling recovery pass under D-135/D-136, but closed recovery still leaves 4.968 s and 241 losses of deny-all until the next grant-less renewal slot. Newly blocked: AT08's first selected-route transfer (F21-AT08) and native IPv6 1280 indexes 49 and 51 on serving_read_ok=false (F21-D146), both routed to devstack. 30 node writes, all first-attempt. A verification fix restored the dated follow-up 20 note that handover 42 pins. | done (#455) |
+| w4-at-members follow-up 22 | D-098 archive of run 5715939e's 98 root records, then F21-AT08's sanitized peer summaries and native capture, F21-D146's later-read classification and the G2 archive alias; then one assembled run (3eb3960d) on main after agent-core 50 (#461), judged by unchanged predicates: 3 PASS / 7 BLOCKED / 0 FAIL and 702 / 8 / 0 subchecks, after one allowed own-harness pre-check rerun. AT08's first selected-route transfer passes. AT02: one early renewal 67.8 ms after closed-recovery Apply 586, as D-157 intends; deny-all lasts 205 ms with 8 losses, down from 4.968 s and 241. IPv6 receive-only 1280 indexes 49 and 51 stay blocked: the later read's only failed condition is observation age, 22.39 s against 15 s, and control accepted no observation for 34.85 s (F22-D146). AT01's first transfer is uncounted: on its IPv6 peer pair, the member's traffic reached the node and none of the node's reached the member, with no handshake (F22-AT01). 30 node writes, all first-attempt. Measured on 55f2765d; #462 changed only docs and netlab tests. | done (#467) |
+| w4-at-members follow-up 23 | D-098 archive of run 3eb3960d's 122 root records, then paired path and native-window instrumentation; then one assembled run (6a25221b) on main after devstack 35 (#468), judged by unchanged predicates and with no retry: 3 PASS / 7 BLOCKED / 0 FAIL and 706 / 8 / 0 subchecks. F22-D146 is located: the regular node's prepared config sets no observation_seconds, so its agent reports every 30 s (successive intervals 30.015–30.019 s), while the members serving query needs an observation under 15 s old; the 5 s override in installer_fixture.go applies only to the installer node. IPv6 1280 indexes 49 and 51 now pass; dual 1280 indexes 44 and 46 are blocked, the later read's only failed condition an observation 22.61 s old. F22-AT01: node packet 158 and member packet 161 share one IP hash, so the node's 140-byte IPv6 WireGuard response, with an IPv6 loopback source, reached member ingress; member header errors rose 0 → 1 and WireGuard received nothing; where it was dropped is unproven (to the D-148 owner; F11-01 stays open). AT01's and AT08's first transfers are counted. AT02: one early renewal 63.9 ms after the closed-recovery Apply; deny-all 179 ms with 7 losses. 30 node writes, all first-attempt. Observation submissions are not logged per attempt (agent-core request). 3 requests. | done (#473) |
+| w4-at-members follow-up 24 | D-098 archive of run `6a25221b` first: its 145 root records byte-identical, with SHA-256 pins; earlier archives and dated notes untouched. The native-window extraction now joins agent-core 52's `observation enqueued` and `observation submission` records to the stored observations by report ID, through an allowlisted parser with offline tests (accepted, retried and overwritten logs). One assembled run, `dee8492f` on `df61fd68` (source `55588821`), after the one allowed pre-check retry (its own admission wrapper missed main advancing; stopped before the first acceptance check): 3 pass, 7 blocked, 0 fail; 708 passed, 6 blocked, 0 failed subchecks. F22-D146 answered for the cadence under D-162: dual 1280 indexes 44 and 46 pass under the unchanged 15 s bound; the prepared configs carry observation_seconds 5; the nine native windows hold 18 stored observations with 18 enqueues and 18 accepted attempts, all joined, none overwritten; serving-read ages 0.740, 6.849 and 1.442 s. AT01 and AT08 initial transfers counted with paired paths; F11-01 stays open under D-148. AT02: closed Apply 540, renewal 545, populated generation-14 lease, serving Apply 546; deny-all 187.3 ms with seven losses; its report enqueued for closed_recovery_binding and accepted on attempt 1. AT09: index 25 blocked, 26 and 27 pass; the D-067 provisional predicate stays unexercised. 30 node writes, all first-attempt 202, zero 412s. No F48-01 signature retained. Four foreign windows, all during teardown, marked confounded under D-133. Codex gpt-6-astra. | done (#481) |
+| w4-at-security-ops: acceptance tests for sessions, PKI, leases, recovery and operations against the lab | WP10 | harness merged (#63): AT28 passed live; AT29–AT32 blocked on the serving node, WAL archiving, the IdP identity fixture and operator runs |
+| w4-at-security-ops follow-up 1 | Secops harness D-050 rerun on main: grants and native admission through product inputs, 149 live checks and 342 supporting tests pass, AT28 passed; AT29/AT31 blocked on a counted serving flow (watchdog recovery_required, zero accept rules; 20-way sign-in burst all 429), AT30 on physical PITR, AT32 on physical runs | done (#90) |
+| w4-at-security-ops follow-up 2 | AT30 physical PITR on the lab stack (API-derived source, pgBackRest backup, restore-pitr.sh into a disposable copy, ACK 7→10 replay with duplicates, grant/audit boundary verified; recovery window 1.04 s, restore 5.3 s), AT28 + 19 supporting suites pass; AT29/AT31/AT32 blocked with owners named (serving flow → devstack f7, D-060 re-measure → next follow-up, operator runs) | done (#112) |
+| w4-at-security-ops follow-up 3 | SECOPS-06 resolved under D-060 (exact Retry-After), AT28 pass with secret scan, SECOPS-11 blocked at 422 before an operation, AT29/31/32 gated on counted serving; SECOPS-13 owner fixture request | done (#132) |
+| w4-at-security-ops follow-up 4 | AT31 under the corrected D-060 classes (per-class buckets and metrics measured live, 20/20 login burst), readiness after #146/#143, SECOPS-11 live halves on #148; new SECOPS-15 (usage bodies over 1 MiB fail MALFORMED_REQUEST because whole-body canonicalization is bound by canonjson.MaxBytes; the 8 MiB usage cap is unreachable → control f16) and SECOPS-16 (gateway error log carries a device-flow user_code → devstack); SECOPS-10 nginx worker_connections 256 exhausted at 50 peers; AT28–AT32 blocked | done (#152) |
+| w4-at-security-ops follow-up 5 | counted serving flow through the selected exit (SECOPS-09, F3-02 resolved), AT29 deadline faults, AT31 counted-capacity subset, SECOPS-15 retest (8 MiB boundary); AT28–AT32 full cases still blocked, DOC15 requested | done (#165) |
+| w4-at-security-ops follow-up 6 | 60-peer admission on two fresh phases (sequential profile and ScaleNativeMembers; 600/600 owned-device reads, zero foreign devices; SECOPS-10 resolved for admission); AT28 limiter subset after #169 (anonymous saturation never touches admin/lease buckets; 8 MiB body boundary); run observer and renderer; AT29/AT31 rows wait for devstack f11 (finite grace, node telemetry) and the D-065 API | done (#178) |
+| w4-at-security-ops follow-up 7 | AT29 via the D-065 fleet API with finite grace (428/412/replay/audit, cutoffs + recovery), AT28 trusted-proxy principal isolation, AT31 60-peer counted cohort + telemetry + two exits, SECOPS-16 under D-066; verdicts blocked on devstack exports/operator runs; SECOPS-17 + transports routed | done (#203) |
+| w4-at-security-ops follow-up 8 | AT30 second half live: central restored to T0 (isolated PITR, 6/6 checklist), 2-minute fail-safe negative, 5-step fvpn-usage-admin protocol, retained-node replay 5/5 with service usage RPO 0 s, protocol RTO 105.94 s; provider reconciliation passed; #205 unmapped-peer dedup verified; SECOPS-18 found (restored stale authorization re-grants a withdrawn peer → wire-members f9), SECOPS-19 informational (zeroed UsageOutboxStatus) | done (#221) |
+| w4-at-security-ops follow-up 9 | AT30 passed live on #231 (run 42396951): central restored to T0 while peerM2D2 was revoked in T0..T1 → fenced, not re-granted (device_authorization_fences=1, worker log with 4 fields, fvpn_device_restore_fence_decisions_total=2, external_withdrawal audit, member status pending, data plane withdrawn); T0 idempotency replay keeps the fence, a fresh AuthorizeDevice clears it and restores counted flow; central-revoked and post-restore-enrolled devices stay unfenced; SECOPS-19: 3 unacked events (2352 B) visible in node_observations and fvpn-agent usage snapshot during the hold, 0 after complete-recovery and replay; usage replay 3/3 hashes, 0 lost/dup/gap, RPO 0 B, protocol RTO 112.4 s, total 121.9 s; provider reconciliation passed; SECOPS-18/19/05 closed; new SECOPS-20 (Docker NAT FLOWTABLE_BYPASS → #240/#241) and SECOPS-21 (post-restore desired-state compiler ignores applied_config_generation → stale generations rejected by the agent → wire-policies-usage f5); follow-up 8 archived | done (#242) |
+| w4-at-security-ops follow-up 10 | run 0e8ff9a4 on d9e28f8: AT30 passed again with the D-076 fence; SECOPS-16/17/20 closed (#240/#241), SECOPS-18/19 revalidated, SECOPS-05 retained, D-077 proved through the production HTTP path; SECOPS-21 open (first post-restore offer 11 vs retained 14 → D-095, policies follow-up 7); AT29/AT31 deferred to the devstack follow-up 15 exports; follow-up 9 records archived; D-098: the handover follow-up 13 AT30 claim reads the archived follow-up 9 snapshot | done (#265) |
+| w4-at-security-ops follow-up 11 | follow-up 10 evidence archived byte-identical from #265 under history/follow-up-10/ (104 files, SHA-256 index; D-098), AT28 role inventory derived from the loaded contract (49 operations, 47 protected; no pinned counts), AT29 established-transport and AT31 forced-relay harnesses plus the AT30 regression mode (D-095 503 / drift status, D-099 closure guards for SECOPS-21) prepared, compiled and linted; live AT29/AT31/AT30 NOT run — the brief named the wrong Docker prefix (fvpn-w4-at-security-ops-* vs the lane's fvpn-w4-secops-*) → D-103, follow-up 12; SECOPS-21 open pending wire-nodes follow-up 29 (D-099); requests: revokeMemberGrant missing from revision 13, independently clocked guest for the AT29 clock-rollback row | done (#274) |
+| w4-at-security-ops follow-up 12 | two independent live runs on main 510a4ab (D-099 present) under the lane prefix `fvpn-w4-secops-*` (D-103): transport run cf81f6f8 — AT29 sub-cases pass (finite-grant cutoff on the original TCP/9446 and authenticated UDP/9445 flows with authorized recovery and counters unchanged during cutoff; short lease with control lost and agent SIGKILL, independent mechanism retained, counted-flow recovery; device revoke cutoff after HTTP 202) and AT31 bounded relay passes (direct→relay observed 6.41 s, direct restoration 32.22 s from start); restore run dd845a7f — **AT30 pass** (PITR, 120.07 s negative window, freeze-before-start protocol, retained archive replay, provider reconciliation, D-076 fence / re-grant and both negatives) with pre-replay database RPO 106.45 s, post-replay service-usage RPO 0, protocol RTO 66.90 s, total outage RTO 74.53 s, replay 5 events / 5 hashes / 0 lost / 0 duplicate / 0 gaps; D-095 exact (503 `DEPENDENCY_UNAVAILABLE` / pending fresh observation, drift field, desired 10 vs stored 9 unchanged while the agent is stopped); **SECOPS-21 stays open**: probe and stored compiler generation 16 > retained 15 did not regress, but first delivery / local acceptance / applied ACK of 16 are unproven — a first-offer capture is requested from devstack / wire-nodes before closure; full AT29 / AT31 still blocked (guest wall-clock rollback, manual grant-withdrawal export, candidate hardware / 60-peer mixed relay); 105 follow-up 11 records archived byte-identically under history/follow-up-11 (D-098); zero lane inventory after both runs; `docs/e2e/at/secops/2026-10-31-follow-up-12-handover.md` | done (#301) |
+| w4-at-security-ops follow-up 13 | **SECOPS-21 closed** on the FIRST delivered post-restore desired-state offer via devstack 18's `ArmFirstDesiredOffer` / `ReleaseDesiredOffer` / `FirstDesiredOffer` exports with the lane's retained-generation ordering and greater-than guard: first delivery generation 19 > retained 15, matching local store digest, applied HTTP 202 receipt (first HTTP probe and first new stored compiler row still labelled separately); **AT30 pass** in follow-up mode on the lane prefix `fvpn-w4-secops-*` (D-103): stopped central services before freeze, PITR, retained archive replay, D-095 HTTP 503 and the exact `pending fresh observation after restore` drift status with the retained agent briefly stopped, unchanged desired generation / row count / envelope fingerprint, resume, HTTP probe after fresh observation; measured restore deltas vs the follow-up 12 development-host baseline: pre-replay RPO 92.163 s (−14.287 s), total outage RTO 81.016 s (+6.486 s), no new SLA; follow-up 12 runs cf81f6f8 / dd845a7f archived byte-identically under `history/follow-up-12/` with SHA-256 pins (D-098); committed-evidence hygiene scoped to the lane merge base; full AT29 (independently clocked disposable guest for wall-clock rollback; explicit manual grant-withdrawal export) and full AT31 (candidate hardware, 60-device mixed relay window) stay blocked on resources; dated note `docs/e2e/at/secops/2026-10-31-follow-up-13-handover.md` | done (#316) |
+| w4-at-security-ops follow-up 14 | Month-boundary fix in owned test code (agent-core 30 findings 3–4): the ten PITR events and the rate-class event take their period from their own interval start through one shared UTC helper (`usagePeriodForStart`); `TestMTR03_UsagePeriodOverlapsInterval` (offline, no stack) proves 44 one-second intervals at a month start, inside its first ten seconds, mid-month and the 2026→2027 year boundary under ingestion's exact overlap predicate; the sweep also fixed `restore_test.go`'s single-month replay assumption (bytes and quality per retained period, combined 3,000 bytes kept). Product ingestion unchanged. No live suite ran; recorded rows unchanged (SECOPS-21 closed, AT30 pass, full AT29 / AT31 blocked on owner resources). | done (#363) |
+| w4-at-security-ops follow-up 15 | AT29's manual grant withdrawal, unblocked by revokeMemberGrant (#297), through the public API only. One live run, 35116d25 on dd052c60 (#441), no rerun: the four runnable sub-cases pass (grant expiry, lease expiry, device revoke, manual withdrawal). The withdrawal's operation completes; both original transports, the established TCP/9446 connection and the authenticated UDP/9445 socket, first show quiet 2.48 s after the request, inside §16.5's 60-second online revocation starting target counted from the request; with the Agent killed they stay quiet (TCP 11 → 11 replies over 83 → 93 attempts, UDP 11 → 11 over 155 → 176) and the watchdog keeps running; a new grant's applied ACK (generation 22) brings fresh TCP and UDP replies; the member's original finite standing is restored through public APIs on every path. AT29 overall stays blocked, only on guest_clock_rollback (an independently clocked disposable guest). The lease-expiry pass records continued_before_expiry true over a 3 s sample after control stopped, without asserting it; a hanging control plane (r28 H-1) is not exercised. Six node writes use labstack's Stack.WriteNode with exact predicates and receipts, guarded by an AST audit; capacity and publication ran live. D-098 archive of 112 root records with SHA-256 pins; AT31's bounded relay row re-emitted and passed (AT31 stays blocked); zero owned Docker. Session on codex gpt-6-astra. | done (#448) |
+| w4-at-security-ops follow-up 16 | AT29's new control_lost_agent_alive case: established TCP/9446 and authenticated UDP/9445 flows with independent senders, the agent's accepted lease deadline D, its process identity, heartbeat and timeout evidence. Synthetic tests accept continuity to D then quiet, and reject an r28 H-1-style withdrawal at loss plus 5 s, replies after D plus 3 s, agent replacement and missing evidence. Its one live run (1bfd5cff) failed at setup: the fleet lease cap was lowered to 60 s, but the node kept its earlier 24-hour lease, because issued leases keep their cap, and no fresh short lease arrived within the 90 s wait. AT29 is recorded failed, with no rerun (SECOPS-F16-01, routed to secops 17). The four original cases pass; guest_clock_rollback stays blocked. The D-098 archive of the pre-run records came first. | done (#456) |
+| w4-at-security-ops follow-up 17 | SECOPS-F16-01 diagnosed from the product: a fleet cap change is non-retroactive and changes no generation, so a running node keeps its 86,400 s lease until its own renewal falls due; public routes that change a node's generation exist, so there is no product finding. The control-loss case's setup now writes the 60 s cap before its finite grant and native device admission, whose new generation makes the node take a fresh lease. Its wait accepts only a locally accepted lease issued after the cap's read-back, signed at 60 s, with a serving heartbeat whose policy deadline is D, and fails closed naming what it saw. Offline: run `1bfd5cff` still fails naming its 86,400 s lease, a post-cap 60 s lease passes, pre-cap and equal-time leases fail, and follow-up 16's continuity proofs are unchanged. D-098 archive of 127 root records first. One live AT29 run, `b2de46c8`, on agent-core 49 (#454), confounded under D-133 by other lanes from 06:29:11Z, no rerun. The control-loss case passed on lease `bef669a3` (60 s, issued 13 s after the cap), with one agent identity throughout and both transports continuous to D − 0.94 s and quiet by D + 1.06 s. Grant expiry, device revoke, manual withdrawal and forced relay passed; guest clock rollback stays blocked. The old killed-agent lease-expiry case failed: two 60 s admission holds inside it delayed its fault 60.7 s past its cached deadline, after the node had renewed, so replies still flowed. AT29 stays failed; routed as SECOPS-F17-01 to the lane's own harness. No node_write conflicts. 3 commits, 183 owned files. Codex gpt-6-astra. | done (#460) |
+| w4-at-security-ops follow-up 18 | SECOPS-F17-01 answered, under D-160 (`docs/e2e/at/secops/2026-11-04-follow-up-18.md`). Diagnosis first: run b2de46c8's old killed-agent lease-expiry case used a stale cached deadline; its two held checks were retries of one admission read; its records show no accepted-deadline overrun, and the renewed lease's ID and issue time were not retained. The case now reads D after the control stop, from the node's accepted local lease and its serving heartbeat, requiring a 60 s cap, a lifetime in (0, 60 s] and a matching future monotonic D; every traffic predicate is unchanged. D-160 is committed harness code: an admission journal, a free check right before each of six timed sections, execution receipts and no admission inside a section, and an offline validator; 509 checks (507 free, 2 held), none inside a section. Live run 9d927350, after one allowed pre-subject rerun (the first dispatch's admission helper recursed through a wrapped PATH and its 11,215 owned processes were stopped; fixed with a regression test): the old case quiet from D + 0.39 s, the watchdog having withdrawn first; the live-agent case continuous to D - 0.99 s and quiet by D + 2.01 s on one agent; grant expiry, device revoke with bounded relay and manual grant withdrawal pass. AT29 goes from failed to blocked: guest clock rollback still needs an independently clocked guest. The lane recorded the run as confounded under D-133. Earlier failed runs stay failed. 6 commits, 217 owned files, mostly records. Session on codex gpt-6-astra. | done (#464) |
+| w4-at-isolation: acceptance tests for publication, forwarding, isolation and leases against the lab (netlab) | WP10 | harness merged (#65): netlab mechanism cases pass for AT10/AT13; assembled-stack AT10–AT13 blocked (publication 422: provisioning applying, safety failed); gate semantics and AT12 capture in follow-up 1 |
+| w4-at-isolation follow-up 1: non-zero exit while blocked; AT12 netlab capture; re-run on main | WP10 | done (#69) |
+| w4-at-isolation follow-up 2 | counted positive controls across the assembled AT10–AT13 runner on the real release baseline (D-057 groups/plans, D-052 native admission); AT12 8/10 and AT13 4/7 subchecks pass; convergence finding (empty lease membership at generation 12) → agent f15 (D-067); short whole-node expiry waits for the D-065 API (isolation f3) | done (#184) |
+| w4-at-isolation follow-up 3 | fresh assembled run on D-067 main: AT10 pass with counted positives on all six destination cases; AT13 60 s whole-node expiry through fleet-config (both audits, ceiling restored) and finite-member expiry under control loss pass; 14-sample convergence timeline; AT11/12/13 remaining subchecks blocked on designed devstack/netlab gaps | done (#207) |
+| w4-at-isolation follow-up 4 | fresh assembled run on main 205633f fails closed before any member is admitted: Docker's embedded DNS NAT in the node netns (ip nat OUTPUT→DOCKER_OUTPUT xt DNAT / POSTROUTING→DOCKER_POSTROUTING xt SNAT for 127.0.0.11) is classified FLOWTABLE_BYPASS since #220, publication stays NODE_NOT_SERVICEABLE; AT10–AT13 blocked with the read-only ruleset evidence (routed as D-079 to netlab); mechanism controls lab-AT10–13 pass; follow-up 3 records archived under history/follow-up-3 | done (#237) |
+| w4-at-isolation follow-up 5 | fresh assembled run on the post-#240 lab node: publication succeeds and the serving gate passes with Docker's embedded-DNS NAT deleted (D-079 not in the tree, recorded verbatim); AT10–AT13 subsets pass (six destination cases, interface change, metadata, deprecated 6to4, peer / management / withdrawal / forged source, post-revoke, finite-member and whole-node expiry); cases stay blocked on the AWAITING_MEMBER_GRANTS window (agent-core, D-067 timing), the IPv6 matrix and the designated DNS exception (devstack); teardown removes the destination fixture | done (#246) |
+| w4-at-isolation follow-up 6 | two assembled runs on 5d1e5ce: AT10 provisional window measured (19 samples at 250 ms, ready → populated lease 4,767 ms) during an assisted recovery from a latched TC_FOREIGN_FILTER (not an unattended clean pass); mechanism cases pass; product AT10/AT11/AT12 blocked, AT13 fail (near-deadline continuity; post-deadline drop passed); ISO-F6-01 tc rejection evidence, ISO-F6-02 tc read-back evidence, ISO-F6-03 near-deadline loss routed; inventory 0/0/0/0; D-098: the handover follow-up 13 isolation claims read the archived follow-up 5 records | done (#271) |
+| w4-at-isolation follow-up 7 | one full assembled run on c6e3eca (through #272), assisted (lab route restoration + extra API generation did not restore serving before the clone test; not an unattended clean pass): AT12 pass 10/0/0 (peer, management, UDP/TCP designated DNS with counter attribution, spoofed source, group withdrawal — resolver-path blocker closed), AT10 blocked 7/2/0 (TC containment ≤ 628 ms, one explicit pre-quarantine packet; clean Apply / D-096 recovery not reached: ISO-F6-01 open), AT11 blocked 2/1/0, AT13 fail 5/1/1 (baseline missed the one-second tick; last SYN-ACK 229 ms before signed expiry, zero successes after → D-104); D-087 recipe: no qualifying provisional report, 3031 HTTP 429s retained; clone freeze latched from a non-serving source; pre-enrollment transparent receiver + continuous deadline capture + explicit assist record; follow-up 6 archived byte-identical 44/44 (D-098); inventory 0/0/0/0 | done (#281) |
+| w4-at-isolation follow-up 8 | one assembled run on main 62f24e6d (netlab #308 D-120 + agent-core #312), run 7779d83c, 950.65 s, assembled gate 2 (lab 0 / stack 1 = blocked scope, zero failed checks, no rerun): **ISO-F6-01 pass** — unattended foreign-tc removal / recovery meets all six G2 assertions with agent-core 24/25's deny-all candidate recipe (recovery-verdict.json + raw node any/wire/state records); **ISO-F6-03** whole-node expiry passes the exact D-104 packet predicate (deadline-verdict.json; exact producer Apply/executor timestamps still requested); **ISO-F6-02 / D-106** present on the real wire, 539/539 retained read digests recompute (tc-evidence-index.json, receiver-capture.json); **AT10** reload passes under D-120 with zero losses (8/1/0 — the D-087 clean provisional trigger stays blocked: zero qualifying reports among 544 observation POSTs, historical 4767 / 5021 / 5025 ms untouched); **AT12 pass** 10/0/0 (counted peer, DNS, management, spoof and withdrawal controls); AT11 2/1/0 blocked on the native IPv6 / member-platform matrix (D-123: v1.0 overlay is IPv6Block); AT13 6/1/0 blocked on the full continuous fault / platform matrix and physical arm64; D-098 archives of final follow-up 6 (bf671f3a, 44/44) and follow-up 7 (041e9e48, 52/52) with SHA-256 manifests, no pins moved, handover tests unchanged; requests: fixed-generation provisional-grant transition export (agent-core 27 / devstack 19), Apply / render / install / guard precision samples for the 17 renewal losses (netlab 19 / agent-core 27), platform matrix and fault matrix (Ted) | done (#315) |
+| w4-at-isolation follow-up 9 | Run 2be2797b on baseline fb5e0025 (product tree byte-identical): AT12 10 / 0 / 0; AT10 8 / 1 / 0 blocked on the D-087 seam (562 POSTs, zero qualifying accepted reports, no driven false/true transition; historical 4,767 / 5,021 / 5,025 ms stand); AT11 2 / 1 / 0 blocked on native IPv6 / member-platform routes; AT13 5 / 1 / 1 — FAIL ISO-F6-03: whole-node expiry under generation 30 shows 96 early drops, 65 positives, 41 final drops with 95 early drops outside every completed guard — verify 958 reports GENERATION_MISMATCH and the periodic kernel read sees a generation-0 baseline under a still-valid lease until Apply 961 restores generation 30 (agent-core Engine.Step / finishServingStep / verifyCurrentServing; watchdog needsBaseline inferred, its log empty); exact TEST ONLY producer timing 3,289 snapshots / 810 Applies / 41 failed operations with clock-namespace proof; renewal 1,396 probes / 3 losses (IDs 54 / 294 / 1315) all inside install brackets of 36–50 ms, no D-120 tolerance; recovery 6 / 6; D-106 557 / 557; D-120 100 reloads / 1 UDP loss; follow-up 8 archived 80 / 80 byte-identical incl. the three netlab 20 pins; 5 requests | done (#334) |
+| w4-at-isolation follow-up 10 | Run bfcc3880 on baseline 96ec0630 (through #344; live source cd2e8974): AT10 PASS 9 / 0 / 0 on the real D-087 transition (wire-nodes 33 seam + devstack 20 export: false → natural signed empty lease → HTTP 202 ready / passed observation with forwarding false and awaiting_member_grants → true → distinct serving receipt joined to a new populated signed lease → counted native forwarding; true → accepted serving 962.448 ms, generation 13 and all 297 wire hashes byte-identical; historical 4,767 / 5,021 / 5,025 ms stand); AT12 PASS 10 / 0 / 0; AT13 BLOCKED 6 / 1 / 0 — the fresh whole-node D-104 row passes (161 positives / 41 drops, last positive D−99.655 ms, first drop D−63.565 ms, one pre-D ingress loss counted, literal zero pre-D loss false), the historical ISO-F6-03 failure (96 / 65 / 41) stays failed and its writer unattributed, the full fault matrix stays the carried operator item; AT11 BLOCKED 2 / 1 / 0 (native IPv6 / member-platform routes); renewal 1,396 probes / 30 losses all inside completed command guards; D-120 unchanged (100 reloads, one eligible loss); ISO-F6-01 6 / 6; D-106 654 / 654; completed-guard distributions p50 / p90 / p99 / max 31.09 / 40.53 / 48.85 / 52.93 ms outer and 16.11 / 22.32 / 27.70 / 30.62 ms install over 968 guards (attempts 1 / 2: 678 / 931 guards, outer max 57.63 / 49.84 ms) as an independent sample after agent-core 28's A/B; two earlier attempts retained (first: D-087 2,035 ms, finite-member setup did not await renewal, 49 failed installs incl. Apply 712 at 215.891 ms during the 14:1x–15:0x chain-gate load → agent-core 29 / netlab 21 under D-133; second: counted flow after the stability wait triggered projection 12 → 13, predicate correctly failed); f9 archived 86 / 86 (D-098); exit 2 for the two operator gaps; 384 owned files; four requests | done (#350) |
+| w4-at-isolation follow-up 11 | D-098 first (all 100 root files of run bfcc3880 byte-identical under `history/follow-up-10/`, SHA-256 pinned). The producer consumer validates and joins agent-core 29's per-Apply host samples and sanitized command status by run / boot / sequence; the first attempt's 49 historical failed installs replay with host and verification **unavailable** and `cause_status=unproven`, all 279 historical renewal losses stay counted. One assembled run edd986c4 on #356's tree, no product change: **AT10 PASS 9 / 0 / 0** on the real D-087 transition (true→accepted serving 379 ms), **AT12 PASS 10 / 0 / 0**, AT11 2 / 1 / 0 and AT13 6 / 1 / 0 blocked only on the operator gaps; the fresh whole-node D-104 row passes 161 / 41 (last positive D−99.872 ms, first drop D−62.925 ms, one pre-D ingress loss counted); renewal 1,396 probes / 18 losses, all inside completed guards; 7,885 producer records, 952 Applies, **0 install overruns**, 7 failed Applies = the intended ISO-F6-01 foreign-tc rejections before install, each with timing, host samples and command status; completed-guard distributions over 945 guards outer p50 / p90 / p99 / max 31.55 / 41.57 / 48.39 / 56.77 ms, install 16.52 / 22.59 / 28.10 / 30.35 ms; ISO-F6-01 6 / 6; D-106 639 / 639; D-134 / D-135 wording, no predicate change; the historical ISO-F6-03 writer stays unattributed. 2 carried operator requests (AT11, AT13). | done (#360) |
+| w4-at-isolation follow-up 12 | D-098 first (all 103 follow-up 11 root files of run edd986c4 byte-identical under `history/follow-up-11/`; 655 archive pins verify). Assembled run 1c25ee44 on #369's tree: **AT12 PASS 10 / 0 / 0**; AT10 BLOCKED 8 / 1 / 0 — real D-087 and D-104 pass (last positive D−99.6 ms, one pre-D loss counted) and ISO-F6-01 assertions 1–5 pass, but assertion 6 is blocked: kernel denial held in all twelve dirty samples, yet central never received a generation-30 TC_FOREIGN_FILTER report (the generation-29 rejection was accepted after the removal) → agent-core; AT11 2 / 1 / 0 and AT13 6 / 1 / 0 blocked on operator rows. The producer consumer joins #369's per-Apply `commands` records: 956 Applies, 53,754 commands, seven failed pre-install Applies (verifier unavailable, cause unproven); 949 completed guards, outer p99 49.8 ms. 15 stale-lease windows read under the corrected D-136 (baseline→Apply 205.9–264.8 ms; losses not captured there, never zero). Producer stream published as lossless gzip. 3 requests. | done (#373) |
+| w4-at-isolation follow-up 13 | D-098 archive of run 1c25ee44 (108 files) first; one assembled run 38074149 on #376's tree: AT10 PASS 9 / 0 / 0 with ISO-F6-01 6 / 6 — assertion 6 met by accepted reports (HTTP 202 transactions 1498 / 1499: dirty candidate 32, ACK 31, forwarding=false, `stage=apply_candidate` `TC_FOREIGN_FILTER` `verified=false`, joined to desired transaction 1496 and producer sequence 2329) within the original 90 s restoration budget and twelve-sample limit, every assertion expression unchanged; AT12 PASS 10 / 0 / 0; AT11 2 / 1 / 0 and AT13 6 / 1 / 0 blocked on operator rows. Whole-node D-104 passes (one pre-D ingress loss counted); D-120 unchanged; renewal 27 losses, all inside completed guards; 951 guards outer / install p99 48.91 / 27.19 ms. #376 regression: hold reports carry `policy_missing` + `STALE_GENERATION` at stage lease (alarm not exercised); direct SIGTERM→exit 9.1 / 13.7 ms with stored leases kept; M-1 not observable here. Historical 1c25ee44 stays blocked. 0 new requests (AT11 / AT13 carried). | done (#380) |
+| w4-at-isolation follow-up 14 | D-098 archive of run 38074149 (112 root files) first; one assembled run 56d20530 on #382's tree: AT10 PASS 9 / 0 / 0 with ISO-F6-01 6 / 6 (accepted transactions 1566 / 1567, readiness 4.55 s, three dirty samples); AT12 PASS 10 / 0 / 0; AT11 2 / 1 / 0 blocked on operator rows; **AT13 FAIL 5 / 1 / 1** — isolation F14-01: the unchanged whole-node D-104 predicate needs a positive leaving at or after D−101 ms, but the last positive left at D−162.220 ms and packet 161 (scheduled D−101 ms) reached ingress at D−97.638 ms and was dropped, so closure lies in (D−162.2, D−97.6] ms, undecided and failed (D-140: only the boundary probe schedule may change). Wire-nodes 34's central hold: one bootstrap hold (zero-member lease, applied == desired) joined exactly by report, lease and incident and ended `generation_matched`, classified `stale_generation` in both array orders (read-only replay); no populated hold was produced (17 populated windows, none with a hold report), so alarm / escalation, active-stop retention and live precedence are not exercised (devstack fixture requested). Renewal 15 losses, four outside guards in the 30→31 baseline bracket, all counted; 979 guards outer / install p99 49.22 / 27.44 ms; D-120 and mechanism D-104 pass. 2 new requests. | done (#383) |
+| w4-at-isolation follow-up 15 | D-098 archive of run 56d20530 (117 root files and subtrees) first. D-140: 103 same-run calibration samples (member-send → ingress 0.103 / 0.777 / 3.779 ms min / median / max; maximum node transit 0.222 ms), then 344 dense boundary probes at 0.6 ms beside the unchanged phased and arbitrary_37ms cadences. Run 0b9e4510: the byte-identical `EvaluateDeadline` passes (173 positives, 373 drops including 163 before D; last positive D−98.630 ms, first drop D−97.598 ms), but D-140's no-interleaving qualification fails: packet 171's egress followed packet 172's ingress by 3.821 µs, so the row is not qualified; the corrected spacing (latency spread included, 4.3 ms here) is unmeasured. AT10 PASS 9 / 0 / 0 (ISO-F6-01 6 / 6), AT12 PASS 10 / 0 / 0, AT11 and AT13 blocked on operator rows. Parent wait receipts adopted (25 s grace, `docker cp`): three agent exits 0; the terminal source's agent ended by signal 15, cause unproven. Agent-core 34's pre-Apply reservation shown in AT13's timelines. No stale-lease hold formed; the populated hold is not exercised (devstack 27's fixture pending). Isolation F14-01 stays failed. 3 requests (2 carried operator rows, 1 next D-140 sample). | done (#392) |
+| w4-at-isolation follow-up 16 | D-098 archive of run 0b9e4510 (123 root files and subtrees) first. Run 83b457ef on #394's tree: the D-140 sample at a 2.2 ms spacing chosen before the run from 103 same-run calibration packets (member-send → ingress 0.142 / 0.723 / 1.841 ms); the byte-identical `EvaluateDeadline` passes (last positive D−99.797 ms, first drop D−97.671 ms) but the no-interleaving qualification fails once (packet 162, latency 3.151 ms, egress 3.609 µs after packet 163's ingress, both positives at D−106.3 ms), so the row stays unqualified; nothing retried. F16-01: the shared D-104 precision fixture (`tests/netlab/scripts/deadline.py`) failed before its packet window (one 2 ms `expires` step), cause unproven, routed to netlab. Populated stale-lease holds through devstack 27's TEST ONLY seam: two explicit incidents, alarm-triggered single escalation (1.900 s / 1.869 s), unrelated-failure precedence, stop retention, `generation_matched` recovery, a distinct second incident; pure `stale_generation` and the 30 s fallback not exercised. AT10 PASS 9 / 0 / 0 (ISO-F6-01 6 / 6), AT12 PASS 10 / 0 / 0, AT11 / AT13 blocked on operator rows. One install exceeded the 100 ms guard (120.467 ms; rollback and recovery). Five stop receipts exit 0. Isolation 15's and 16's samples and F14-01 stay failed. 4 requests (2 carried operator rows, the next D-140 sample → D-142, F16-01 → netlab). | done (#399) |
+| w4-at-isolation follow-up 17 | D-098 archive of run 83b457ef (129 root files and subtrees) first. Run 0ec14b39 on #403's tree (`b9439411`): the D-140 whole-node sample qualifies under D-142 and the byte-identical `EvaluateDeadline` passes, the first qualified pass (2.4 ms spacing chosen before the run from 103 same-run calibration packets, send → ingress 0.086 / 1.017 / 2.003 ms; 166 positives / 119 drops judged from packet 166; zero overlaps anywhere; no positive at or after D or after the first drop). D-104 fresh mechanism trace passes on netlab 26's fixture (26 positives / 7 drops). Populated holds through devstack 27's TEST ONLY seam: the two explicit incidents again, plus a third reaching central's 30 s age fallback (30.770 s, one escalation, no alarm report); 8 of 9 categories pass, pure `stale_generation` not exercised (F17-01). AT10 PASS 9 / 0 / 0 (ISO-F6-01 6 / 6), AT12 PASS 10 / 0 / 0, AT11 / AT13 blocked on operator rows; no install over 100 ms; six stop receipts exit 0. Nightly `at-isolation`: actual block reasons logged, D-144 expected-blocked exit mapping, records-only upload kept 7 days; the historical short-expiry block cause is unrecoverable from status-only logs, so it is not listed and the job stays red until a scheduled run names it. Isolation 15's and 16's samples and F14-01 stay failed. 3 requests (2 carried operator rows; F17-01 pure `stale_generation` row → agent-core / wire-nodes). | done (#404) |
+| w4-at-isolation follow-up 18 | Diagnosis of scheduled run 41640196805, the first with reason logging (dated `docs/e2e/at/isolation/nightly-diagnosis-2026-11-03.md`; the log lines it relies on are copied in, since the artifact expires on 2026-11-10). Both unlisted blocked rows have one cause in the harness: `deadline()` restarted control and the worker in a deferred `docker start` without waiting for readiness. The next row's admin login and its pre-enrollment fleet audit then hit the gateway's 502 about 0.4 s after the restart (control served its first request about 7.9 s later), and the readiness record that AT10's foreign-redirect row reads was never written, so that row blocked with no injection although the agent had drained its retry queue about 17 s earlier. The previous night's run is consistent with the same cause; its AT10 pass rested on a readiness file inherited from the checkout and is not a qualified result. Outcome (a), fixed in owned paths: every control restart now waits for current-run readiness (main's predicate, plus a non-empty desired generation), stale or foreign readiness records are not trusted, and the review script no longer crashes when no injection ran. `expected-blocked.json` is unchanged. One local assembled run (9f1bc0ff): AT10 9/0/0, AT11 2/1/0, AT12 10/0/0, AT13 6/1/0; only the two listed operator rows block, and the short whole-node expiry passes with its D-140 sample qualified. Follow-up 17's root snapshot is archived first (138 files). The runner sees the fix at the next scheduled run. Session on agy gemini-4-argon-high, with one documents-only correction. | done (#424) |
+| w4-at-isolation follow-up 19 | D-098 first (`f5a5a425`): follow-up 18's 140 root files archived byte-identically with SHA-256 pins; earlier archives untouched. D-147 in its own test and record (TestAT13_D147RelatedFragNeeded, lab-AT13-d147), on production rules through the normal Apply and live verifier: fresh lab run 1d746f9a on committed `3e12f913` passes all four source sets, resolver_v4 only (203.0.113.53), denied_v4 only (192.168.34.2), host_v4 only (203.0.113.33) and the denied_v4 plus host_v4 overlap (192.168.34.1). In each, a router with MTU 1000 sends ten genuine fragmentation-needed errors (5,760 IP bytes) that reach the member, PMTU 1000 is learned, the 64,064-byte upload completes, usage matches an independent capture exactly in each direction in class 1:2f, and the overlap counts once. Negatives per source: time-exceeded dropped at ctdenyd, an unsolicited fragmentation-needed at ctinv, and the member's upload to that source dropped with no upload usage, at ctdeny for the denied and overlap sources and at production's earlier ctbadns and cthost for the resolver and host sources (literal ctdeny not exercised there, F19-01). Forward view: 27 member accepts, 9 D-147 accepts and 6 D-146 clamps for three admitted addresses; the legacy member-accept predicate unchanged. AT10 to AT13 lab rows pass unchanged in the same lab session; failed fixture attempts retained. Producer reader accepts production's tc retire phase (orchestrator note 2). One assembled run 70beb28e: its lab phase passes, but the shared publisher's capacity PATCH returned 412 RESOURCE_VERSION_CONFLICT and publication never reached serving, so all 12 checks are blocked (AT10 to AT13) and real-node D-147 is not exercised; initial window confounded under D-133, no retry (F19-02, to devstack). Sessions on agy Gemini 4 Argon, then codex gpt-6-astra after a content-filter stop. | done (#434) |
+| w4-at-isolation follow-up 20 | D-098 archive of follow-up 19's root records (113 byte-identical files with SHA-256 pins) committed first. The six driver node writes call devstack 32's shared `writeNode` with exact read-back predicates and per-attempt receipts; an AST audit test fails on any capacity or publication write that bypasses it. Early-abort diagnostics report "unavailable" stages instead of exceptions or borrowed text, with synthetic tests shaped like run 70beb28e. F19-01 recorded as answered by D-152: 19's resolver-only and host-only rows were dropped at ctbadns and cthost with zero upload usage. One assembled run, c52bea6c on 037f4418 (1,569.9 s, no other suite overlapping): 26 pass, 2 blocked, 1 fail. The shared publisher's capacity PATCH and publication PUT both returned 202 on the first attempt and serving was observed, so F19-02 is answered by devstack 32; 14 logical node writes, 14 attempts, no 412. AT10 9/0/0, AT11 2/1/0 (native platform matrix blocked), AT12 10/0/0, AT13 5/1/1. F20-01, the failure: in the short whole-node expiry, the agent installed a safety_check_failed baseline after tunnel_probe HEALTH_CHECK_FAILED, 40.99 s before the still-valid generation-33 lease's deadline, so the boundary window saw 0 positives and 202 drops; routed to agent-core with devstack, the row stays failed. D-147's native path was reached and counted (18 member accepts, four MSS clamps, six PMTU accepts). Two recording gaps of the lane's own (the operation collector, and a discarded setup publication trace) fixed offline afterwards in 4fc47dd1, since acceptance had been reached; no rerun. Zero owned Docker inventory. 5 commits, 307 owned files. Codex gpt-6-astra. | done (#442) |
+| w4-at-isolation follow-up 21 | D-098 archive of follow-up 20's root records (165 byte-identical files with SHA-256 pins) committed first. Review r28's M-1: AT13's member expiry now requires direct heartbeat and forward-chain reads that show a serving node before the probes and after each one; run 20's original evidence replays as a fail under it, and synthetic cases cover withdrawal, a baseline, read errors and a conflicting heartbeat. One assembled run, 7599576e on fe2c68ec over agent-core 48 (1,602.7 s, no overlap observed): 26 pass, 3 blocked, 0 fail. AT10 9/0/0, AT11 2/1/0 (native platform matrix blocked), AT12 10/0/0, AT13 5/2/0. F20-01 answered by agent-core 48: the short whole-node expiry passes D-140 and qualifies under D-142, last positive at D−99.54 ms and first drop at D−96.36 ms; run 20's failure stays recorded. F21-01: the member-expiry window was not reached, because no node lease renewal extended more than 25 s (152 samples, maximum 23.06 s), so the new check has no live coverage yet; no bound was relaxed and no rerun taken. Follow-up 20's request 2 answered: 15 node writes, all first-attempt 202. No F48-01 signature in the retained logs. Codex gpt-6-astra. | done (#452) |
+| w4-at-isolation follow-up 22 | D-098 first: run `7599576e`'s 173 root files archived byte-identically under `history/follow-up-21/`. F21-01 diagnosed from the product: for a 60 s window the agent renews 27 to 33 s after its request (lead 30 s, jitter ±3 s), so whether a renewal landed in the member-expiry window was a matter of phase; run 21's next issue came 80.5 ms after the cutoff. The schedule now anchors on a freshly accepted 60 s lease at most 5 s old and creates the finite grant once with D = floor(issue + 55 s). Every bound, probe and serving read is unchanged, with an original-time replay and synthetic interval, jitter and early-renewal proofs. One assembled run, `7b0db5f2`, on agent-core 49 (#454): 27 pass, 2 blocked (the two operator matrices), 0 fail, exit 2, no rerun. r28 M-1's first live pass: after the member's deadline all five of its requests timed out with bytes flat, while all six reads showed the node still serving, 26.3 s before its own lease expired; F21-01 is answered. The short whole-node expiry again passes D-140 and qualifies under D-142 (165 positives, 90 drops). 15 node writes in 16 attempts, one 412 answered by a re-read. No F48-01 signature. The included D-120 reload/revoke lab failed on one TCP read timeout at sequence 101, with all 101 Applies verified and no UDP loss; it stays failed, routed to netlab as F22-01. 4 commits, 444 owned files. Codex gpt-6-astra. | done (#459) |
+| w4-at-isolation follow-up 23 | D-098 first: run `7b0db5f2`'s 184 root files archived byte-identically under `history/follow-up-22/`. D-160 checked without a harness change: every admission check in the committed runner comes before the lab, test, stack and driver launch, and none falls inside the D-120 campaign or AT13's expiry sections; the run's records confirm none ran inside them. Netlab 36's D-161 wording is in the living AT10 procedure; archived procedures are unchanged. One assembled run, `328ab9e0`, on `main` after netlab 36 (#465): 27 pass, 2 blocked (the two operator matrices), 0 fail, exit 2, no rerun, and no wait or overlap. F22-01 is answered: the included D-120 lab passes under D-161 on complete combined captures, with 65 TCP reads, zero TCP timeouts, six lost transmissions attributed to a guard and recovered, zero UDP losses and a longest stall of 210.1 ms; D-161's accepted-timeout branch did not run live, and `7b0db5f2` stays failed with its cause unproven. r28 M-1's second live pass: after the member's deadline all five requests timed out with bytes flat while all six reads showed the node serving, 13.9 s before the node's lease expired. The whole-node expiry passes D-140 and qualifies under D-142 (164 positives, 69 drops). 15 node writes in 15 attempts, zero conflicts. No F48-01 signature. 4 commits, 476 owned files. Codex gpt-6-astra. | done (#469) |
+| w4-at-isolation follow-up 24 | D-098 first: run `328ab9e0`'s 203 root, support and reload-stream files archived byte-identically under `history/follow-up-23/`. Scheduled run `41836274140` diagnosed (D-141): on the runner, generations 29 and 30, at A + 2.1 s and A + 3.1 s, already carried the finite member, and generation 31 at A + 19.1 s was the first to carry its device binding, most of the delay preceding the binding's publication; no record connects it to agent-core 51, and no specification bounds it. AT13's member-expiry plan, not its predicate, is fixed: D = floor(A + 44 s) admits a binding-bearing renewal from A + 10 s to A + 34 s seen within 2 s (TEST ONLY), with the runner's and two local runs' renewals replayed offline. D-163 in the scheduled summary: a committed `expected-not-exercised.json` with one entry, populated holds' `pure_stale_generation` (F17-01); that review's exit 1 maps to expected not exercised only when its same-run result names that item alone, every other item passing with no join problem; the review stays incomplete, and on the 11-04 records the only error left is AT13's row. One assembled run, `df9dbad7`, in scheduled mode: 27 pass, 2 blocked (the two operator matrices), 0 fail, all 29 statuses as in `328ab9e0`; exit 2, no rerun, no observed overlap. AT13's member expiry qualified at the window's first sample; after the member's deadline all five requests timed out with bytes flat while all six reads showed the node serving. The whole-node packet verdict passes (161 positives, 41 drops), but D-142's qualification is not established: new F24-01, all 14 added boundary probes excluded by the original cadence and the boundary reviewer crashing on the empty schedule, keeps the run's scheduled verdict red. The D-120 lab passes under D-161 (65 TCP reads, 0 timeouts, nine guard-attributed losses). 15 node writes in 15 attempts, zero conflicts. 7 commits, 518 owned files. Codex gpt-6-astra. | done (#475) |
+| w4-at-isolation follow-up 25 | D-098 first: run `df9dbad7`'s 213 root, support and reload-stream files archived byte-identically under `history/follow-up-24/`. F24-01 diagnosed (D-141): packet 56's 15.176 ms capture-read transit, against 0.167 ms for the next sample, set a 33.2 ms spacing that excluded all 14 added candidates from the 37 ms and 63 ms cadence gaps; tcpdump shows the packet crossing the node in 23 µs, so the delay was in the capture reader, cause unestablished, and the sample is kept. The observer now calls one pure planner, `boundaryplan.Plan`, with the formula, cadences and D-142 unchanged: the added schedule is always an array, qualified only when non-empty, and an unqualified plan names its reason and every excluded candidate. The reviewer validates the plan first and, on an unqualified or malformed plan, writes a failed review and exits 1, which the scheduled summary reports as an error (not a D-163 entry). Offline replays: `df9dbad7` gives an explicit empty plan and a failed review; `328ab9e0` and the 11-04 runner keep their added schedules byte for byte. One assembled run, `bd73d7a4`, in scheduled mode on `034c82cf` plus this lane: 27 pass, 2 blocked (the two operator matrices), 0 fail, exit 0, scheduled job PASS; all 29 statuses as in `df9dbad7`; no rerun, no observed overlap. The whole-node expiry passes (164 positives, 72 drops) and qualifies under D-142 with zero overlaps, on a 5.5 ms spacing and 34 added probes. AT13's member expiry passes under the unchanged plan, its binding-bearing renewal at A + 22.1 s. The D-120 lab passes under D-161 (58 TCP reads, 0 timeouts, seven guard-attributed losses, one UDP loss within the allowance). 15 node writes in 15 attempts, zero conflicts. F24-01 closes for the planning record and the reviewer only; `df9dbad7` stays failed. 7 commits, 529 owned files. Codex gpt-6-astra. | done (#478) |
+| w4-at-isolation follow-up 26 | Offline only. The operator assist's capacity PATCH (formerly assist.py:22, now `assist.go.txt`) uses the shared `writeNode` helper with `nodeFieldsMatch`, starting from the initial GET's ETag, and its evidence retains the helper's receipt with every attempt and reread. `api_ok` now means the helper accepted the command (before, any reply without a transport error, a 412 or 500 included), and is never an observed-state result; capacity values, action text, restore and `assisted: true` unchanged. Five fake-server cases pass in the lane's test target: direct 202; an exact conflict, a reread, then 202 (two attempts, one key, one body); HTTP 500 and a 412 with another code (one attempt each, `api_ok` false); and already intended. An AST check confirms one node write and no bypass. D-162 audited for every routed line and every written or inherited config: the main agent's runtime stays 1 s before and after, the boot-release auxiliary and the clone runtime inherit 1 s, and only the enrollment files carry 5 s; no coherent-window, sample or incident check changed. The assist never ran live; no Docker, lab or run. Request to devstack: review the shared clone receiver wiring (static concern). AT11 and AT13 operator matrices and F17-01 carried. Codex gpt-6-astra. | done (#480) |
+| w4-at-isolation follow-up 27 | Preserved the existing f25 campaign and archived the single failed f27 campaign; added clone/runtime and stop-receipt evidence with offline regression coverage. The new live result remains 26 pass / 2 blocked / 1 fail (AT13 socket_error), and the source-latch bracket remains unestablished. Corrected unsupported prose without changing archived evidence or acceptance criteria. | done (#486) |
+| w4-at-updates: acceptance tests for releases, update batches, rollback and recovery against the lab | WP10 | harness merged (#73): AT23–AT27 blocked on the serving baseline and on the updater health check that fails for a not-yet-serving node (no last-good); arm64 needs an operator run |
+| w4-at-updates follow-up 1 | AT23–AT27 re-run against real signed 0.1.0/1.0.1/1.0.2 candidates through the D-053 health path: local update, tamper rejection, same-transaction recovery and last-good rollback proven; all five blocked on central reporting (observations carry null update fields → unconfirmed; failure results with health=null rejected 422 → target stays queued, needs_attention=false) | done (#95) |
+| w4-at-updates follow-up 2 | D-062 rerun on real signed candidates: AT23/24/25/27 pass with immutable receipts; AT26 blocked (rollback ACK accepted_as_history, target stays queued) routed to fleet-update f4; Python launcher retired | done (#124) |
+| w4-at-updates follow-up 3 | AT23–AT27 all pass on main after fleet-update f4 (#129): AT26 rollback closes with a current ACK, target rolled_back + needs_attention, unconfirmed clears; harness exits zero | done (#135) |
+| w4-at-updates follow-up 4 | AT23–AT27 pass on main after fleet-update f5/f6: revision 7 target evidence present/null then filled from the accepted rollback, disagreeing heartbeat withholds confirmation, jobless report = arrival only, conflicts bounded per hash, failed-without-cause 422; probes paced within the agent rate limits | done (#149) |
+| w4-at-updates follow-up 5 | Rerun on #155: AT23/AT25/AT26 pass; AT24/AT27 blocked on the recorded-boot prerequisite for pre-result case (c) (F5-01); one unexpected_release audit per job/release proven for cases (a)/(b); no lab probe peer so D-063 issuance untested (F5-02) | done (#158) |
+| w4-at-updates follow-up 6 | Rerun on #170: AT26 pass; fresh pre-result case (c) passes (F5-01 resolved); AT23/AT25 blocked on the probe-peer lab export (F5-02 → devstack); AT24/AT27 blocked on recorded c2/c3 expectations that contradict accepted-result authority (F6-02 → follow-up 7) | done (#177) |
+| w4-at-updates follow-up 7 | accepted-result authority restated (F6-02): AT24 offline catch-up and post-batch node inheritance, AT26 rollback and AT27 post-acceptance claims pass on one fresh run; AT23/AT25 retained blocked on F5-02 (devstack f12 probe-peer export) | done (#186) |
+| w4-at-updates follow-up 8 | AT23–AT27 all pass in one live run with the devstack f12 updater probe peer (D-063 probe traversal verified, tampered archive rejected pre-health, offline catch-up + inheritance, rollback, D-068 authority); F6-02 #TBD → #186; follow-up 7 archived | done (#212) |
+| w4-at-updates follow-up 9 | AT23–AT27 all pass in one complete live run on 5575470 (through #273) on a systemd lab node (real candidate locally_succeeded + central confirmed with the D-063 probe peer, 180 s offline catch-up + first-sync inheritance, tampered archive HASH_MISMATCH pre-health, real tunnel-failure rollback with needs_attention, stale ACK replay 202 without overwrite); D-080 fresh-node subchecks + kernel boot-identity source pass; installer hand-off extension blocked with measured defects F9-01 NetBird socket allowlist, F9-02 umask-dependent seed, F9-03 missing meter barrier → CHECKPOINT_FAILED rolled_back while apply exits 0, F9-04 installer null-baseline failure rejected 422, F9-05 upgrade accepts a downgrade as staged (→ installer f4 / updater f15 / fleet-update f11); first diagnostic run retained (random vs kernel boot UUID → devstack F9-06); live gate exit 2; inventory zero | done (#283) |
+| w4-at-updates follow-up 10 | Run 695f977c on product main fb5e0025: the installer → updater → central extension passes 23 / 23 mandatory checks (D-110, D-111, D-125, D-127: seed umask replay, staged sequence 11, apply --pending with the real agent kept alive to the final sample, sealed receipt source=installer accepted 202 with current = last-good = sequence 11, same-key / new-key receipt replays 202 with ETag stable, modified receipt and wrong job ID 409, withdrawn checkpoint CHECKPOINT_FAILED with sequence 11 retained and no duplicate receipt, TEST ONLY D-127 rollback correction 202 with ETag 9 → 10, tampered archive HASH_MISMATCH, DOWNGRADE refused, boot identity equal to the kernel); live target RED exit 2 — AT23 blocked because the candidate exits "active release identity is inconsistent": the shared regular fixture places bin/fvpn-agent while node/agent/release.go verifies the release-root fvpn-agent (updates F10-01 → devstack, agent-core consult; journal ends recovery_required / ROLLBACK_FAILED with no last-good), so AT24–AT27 stay blocked behind it and no earlier pass is carried forward; F10-02: installer generated config leaves result_url empty (→ installer); follow-up 9 archived byte-identical (65 files, SHA-256 pinned) plus three retained diagnostic attempts; 2 requests | done (#337) |
+| w4-at-updates follow-up 11 | D-098 / D-132 archive of run 695f977c (39 root files, byte-identical, SHA-256 pins) under history/follow-up-10/ first; regular **AT23–AT27 5/5 pass** in one live run daddad24 on devstack 20's aligned shared fixture with installer 7's generated reporting consumed without the former URL / CA / origin adapter (shared wrapper refuses loopback exit 64; the documented TEST ONLY --allow-loopback via the owned harness installs; generated result_url = the authenticated split-listener proxy; exact origin, server CA, client paths and file hash read back unchanged; result_url_missing never observed; route capture 13 result POSTs = 11 curl stimuli + one automatic success + one automatic failure, repeat flush adds none); installer 27/27; AT26 physical rollback (candidate tunnel_probe failed → last-good restored, health 5/5, central rolled_back / needs_attention) is AT27's mandatory witness; the anticipated artifact-origin rejection did not occur — allowed_artifact_origins grants private / CGNAT exceptions, the lab's non-private release origin needs none (cached hand-off and uncached seed both succeed; no hosting or policy change); F18-01 stays the intended stopped-producer 1/1/2 negative; D-132 audit: the four internal/ mentions are comments / a frozen fixture, no runtime read of a living root; requests F11-01 (devstack: installer_exports.go loopback opt-in, D-102 answer) and F11-02 (updater: node-updater.md Offline installation paragraph) | done (#346) |
+| w4-at-updates follow-up 12 | D-098 first (all 43 root files of run daddad24 byte-identical under `history/follow-up-11/`). Final live run 2babf9b6 on #356's tree through the **shared** installer wrapper with devstack 21's explicit TEST ONLY loopback opt-in (installed, exit 0, no adapter): **regular AT23–AT27 PASS 5 / 5** including physical rollback, installer 27 / 27; the generated `result_url`, origin, enrollment server CA and client paths read back unchanged; 13 result POSTs (11 explicit stimuli + one automatic success + one automatic stopped-producer failure); the uncached-origin fallback exits 0 with the unchanged config and signed release URL. **F11-01 CLOSED** by this result, **F11-02 CLOSED** by #351; F18-01 stays the intended D-125 negative 1 / 1 / 2. A first attempt (a path bug in the lane's new uncached-seed probe: make exit 2 despite 5 / 5) is retained under `history/follow-up-12-first-attempt/` with an erratum; no pass row is carried across runs. 0 requests. | done (#359) |
+| w4-at-updates follow-up 13 | D-098 first (all 44 follow-up 12 root files of run 2babf9b6 byte-identical under `history/follow-up-12/`). Regression run 759d244a on #369's tree (agent shutdown change; #365's observation not enabled here): **regular AT23–AT27 PASS 5 / 5**, installer 27 / 27, shared-wrapper install exit 0, 13 result POSTs, physical AT26 rollback, uncached-fallback probe. All 11 updater agent stops timed: every stop command returned success (switch stops about 440 ms, repeat stops about 230 ms, in line with run 2babf9b6's stage brackets, which never recorded direct durations); no command timeout; the stored lease kept at every stop and start; five observed exits status 0, five already stopped, AT23's first exit unobserved (reaped before the observer). A pre-test port collision kept under `history/follow-up-13-startup/`; configurable port slot. 1 request (exit-status readback → devstack). | done (#372) |
+| w4-at-updates follow-up 14 | D-098 archive of run 759d244a (48 root files) first. Devstack 25's parent wait receipt and devstack 26's 15 s stop path adopted in `stopobserve`: launch ID, PID and start ticks captured before the stop; raw wait status with exit versus signal; `docker cp` after whole-container stops; `.sigkill.json` an attempt, not an outcome; a container's exit never read as the agent's. Run 2704600f on #387's tree: regular AT23–AT27 PASS 5 / 5, installer 27 / 27, shared-wrapper install exit 0, 13 result POSTs, physical AT26 rollback, uncached-fallback probe. All 11 stop commands returned 0 in 3–449 ms; six agent terminations each have their own parent receipt (exit 0, AT23's first included, a new sample), and the five repeated stops reuse the prior receipt. No SIGKILL attempt, no signal exit, stored lease present at every stop and start. Updates F13-01 stays recorded for run 759d244a. 0 requests. | done (#390) |
+| w4-at-updates follow-up 15 | Offline adoption of devstack 33's `Stack.WriteNode` (#441) at updates' one audited site: the installer fixture's retirement DELETE in `handoffRun.retire`. Its read-back requires `lifecycle_state` `retired` exactly; its receipt sits beside `fixture_retirement_http`; the `fixture_retired` observed-state gate is unchanged; and only 202 is accepted, as the contract defines. The shared helper is unchanged. An untagged AST audit rejects any bypass, proved with injected regressions, and lists every other call site in the package as an exception with its reason. Follow-up 14's records stay as they are, and the live proof waits for the next authorized assembled run. Session on agy gemini-4-argon-high. | done (#451) |
+| w4-at-usage: acceptance tests for usage metering, fair use and billing against the lab | WP10 | harness merged (#80): AT14–AT19 blocked on the serving baseline and on exit-group bootstrap (no admin path creates member groups or attaches exits; D-057 in contracts revision 5) |
+| w4-at-usage follow-up 2 | AT14–AT18 pass live on the counted serving flow (kernel counters of real member traffic only, out-of-order/idempotent/conflicting ingest, agent restart without counter reset, member usage API with the UTC month split, tc classes with FUP Tier 2 convergence); AT19 blocked: Fair-Use activation and member generation changes do not recompile desired state, and the per-node ACK query reads checks instead of report_payload (→ wire-policies-usage f4); measured on a #170 baseline, re-run on current main is follow-up 3 | done (#214) |
+| w4-at-usage follow-up 3 | live run e1f8c483 on the pre-#240 node image: every sub-check passed live (contiguous ack and out-of-order missing_ranges, idempotent replay, USAGE_EVENT_CONFLICT rows, >2^53 fail-closed and recovery, LEDGER_EPOCH_MISMATCH / INCARNATION_MISMATCH / STATE_CONFLICT, SQLite truncation recovery via the signed checkpoint, D-067 provisional-lease cycles 5021 / 5025 ms, Fair-Use recompile and fair_use.applying clearing 5387 / 6151 ms (#222), ENR-03 per-incarnation retained usage (#210), counter-reset clamp, outbox cap, disk watermark, member usage API with the UTC month split); AT14–AT19 blocked on FLOWTABLE_BYPASS from Docker's table ip nat, fixed on main by #240/#241 after this image — the re-run on the fixed lab is follow-up 4 | done (#249) |
+| w4-at-usage follow-up 4 | AT14–AT19 all pass live on the fixed serving lab (run 351d59aa, product e8a5e04): #240's Docker DNS NAT cleanup made the node serve, D-079 present but not exercised; D-067 issuance 5021/5022 ms, serving read-back 5848/5819 ms, counted flow 6837/6135 ms, no LEASE_EXPIRED; AT19 on two carrying exits plus a non-carrying node — enforce transition 7.0 s and threshold transition 29.9 s to applying=false, ENR-03 retained per-incarnation usage across re-enrollment; synthetic ACK/traffic workarounds removed; follow-up 3 evidence archived under history/followup3 | done (#257) |
+| w4-at-usage follow-up 5 | **AT14–AT20 pass** in live run 170ea3e3 (harness 3a59beb4, image built from 7e044c71 = #313, agent-core 25 / D-118 #312 included; no product change): the retired-stream hand-off exercised on a controlled installer exit (D-105 origin ACK on the original stream, immutable tail across production adoption during reinstall, separate before / after attribution evidence, AT20 same-key agent batch replay with independent ACKs, live over-window rejection and audit); installer evidence bound to the running image and service configuration; revocation worker effects observed while partial operation status is retained; stored replay compared through canonical JSON; follow-up 4 archived (D-098) and the D-124 deadline fixture refreshed (`Decide` inputs carry a valid desired expiry); one nonblocking documentation request to devstack (RESPONSES.md step 4: D-118 now runs during bootstrap, so usage DB / WAL hashes may change before ControlledReinstall returns — assert retained canonical payloads / origin sequence, hash and ACK instead of file equality) | done (#324) |
+| w4-at-usage follow-up 6 | **AT14–AT20 pass** in live run 71b1a160 on product base fb5e0025 with both D-130 halves (#330, #331) and D-118 origin retention (#332): the first event of the fresh stream is the production planBaseline unknown-continuity gap (sequence 1, zero records, 1 µs wide at 16:05:33.253516Z → .253517Z) accepted at local and central ACK 1 before counted traffic — not skipped or re-minted; counted event 2 carries 1,066 upload + 1,513 download = 2,579 bytes exactly equal to the kernel direction-counter deltas with exact member / device / binding attribution, canonical bytes and same-key replay; D-118 origin-retention rows consumed; existing D-105 / D-112 / D-118 assertions intact; the harness asserts newly minted events only (legacy sealed-event recovery stayed with enrollment 9); follow-up 5 run 170ea3e3 plus three diagnostics archived byte-identically (59 files, SHA256SUMS); two fixture corrections (incarnation-scoped replay evidence, post-rejection attribution baseline) retained with their diagnostics; physical arm64 unmeasured; 0 requests | done (#338) |
+| w4-at-usage follow-up 7 | D-098 archive of run 71b1a160 under `history/follow-up-6/71b1a160/` (19 files, SHA-256 pins). The month-boundary bugs agent-core 30 found in the live tests are fixed: AT17 takes its daily request and half-open month bounds from the summary's returned period (`2026-13` still rejected with 422), AT15 derives each record's period from its own interval start, AT20 selects the accounting period from the held events and reuses it for every comparison query; an offline table proof covers month starts, first seconds, offsets crossing a month, mid-month and the 2026-12-31 → 2027-01-01 boundary. **AT14–AT20 pass** in the November live run b8a6e9e1 on product baseline de6d2e02 (summary and daily totals agree, 31,103 bytes; held 41,417 bytes; fresh 2,580 bytes attributed once). Product period rule unchanged; 0 requests. | done (#366) |
+| w4-at-usage follow-up 8 | Netlab 24's request 1 delivered as coverage: AT14's synthetic counter input now carries a nonzero `ctdenyd` (80 packets / 80,000 B); `enforce.Samples` returns identical samples with and without it, and none from it alone. The rendered download order is asserted on complete statements: designated-resolver TCP / UDP source-port-53 `nd_` replies, then the `denied_v4`, `host_v4` and `resolver_v4` source guards, then every device's `d_` admission. Excluded synthetic bytes 3,000,000 (was 2,920,000). Unit and lint gates only; no live run owed; root records of run b8a6e9e1 and all history unchanged. 0 requests. | done (#391) |
+| w4-at-usage follow-up 9 | Offline adoption of devstack 33's `Stack.WriteNode` (#441) at usage's audited node-mutation helper, `nodeMutation`, which carries all 16 node-write call sites. It replaces the helper's own loop of up to four read-and-write rounds on any 412, each with a new idempotency key. Each command has an exact read-back predicate: the capacity fields for the PATCH, the published groups or the disabled intent for the publication PUT, `NodeRevoked` for the revoke and `retired` for the DELETE. Each accepts only the contract's statuses: 200 or 202 for the PATCH, and 202 for the others. Receipts are embedded in the records of the checks that use them, and every caller's observed-state checks are unchanged. An untagged AST audit rejects any bypass, and `at-usage-test` now also runs the `e2e`-tagged offline tests. One orchestrator review fix restored the exact 202 checks that the first delivery had widened. The committed run records stay as they are, and the live proof waits for the next authorized assembled run. Session on agy gemini-4-argon-high, with one review fix. | done (#453) |
+| w4-at-enrollment: acceptance tests for enrollment code replay and image-clone reinstall (AT06, AT07) against the lab | WP10 | harness merged (#173): AT06/AT07 blocked on the lab binding (ENR-01: all eight legal port slots taken; devstack follow-up 11 adds slots 12000/6000); ENR-02..07 triaged |
+| w4-at-enrollment follow-up 1 | slot corrected to w4-enroll/12000 (ENR-01); fresh AT06/AT07 live run: 95 subchecks pass, 13 blocked, 0 failed; ENR-02 (stored-token digest field, pki-enroll) and ENR-03 (incarnation history and retained usage surface, wire-nodes) narrowed to exact API questions; ENR-04..07 wait for devstack f12/f13 exports | done (#187) |
+| w4-at-enrollment follow-up 2 | ENR-02 token_sha256 equalities (48 admin bodies, 0 plaintext) and ENR-03 incarnation history (newest-first, revocation/reinstall reasons, retained usage) closed on the live stack; devstack f12 exports measured (ENR-04/ENR-07); AT06 blocked on retained prior 429 review, AT07 blocked on ENR-08 (no production ObserveEndpoint caller → wire-nodes f21) | done (#210) |
+| w4-at-enrollment follow-up 3 | ENR-08 closed on the production cloned-identity caller (#211/#217): AT06 254 pass / 1 blocked (browser-class 429 review recurs, retried after Retry-After), AT07 15 pass / 7 blocked (one-/24 clone cannot reach the conflict half); ENR-05/06 blocked on product hooks, ENR-07 second-/24 fixture requested from devstack f14 | done (#229) |
+| w4-at-enrollment follow-up 4 | D-078: a browser-class 429 with Retry-After whose retry succeeds is the limiter working — AT06 305 pass / 0 blocked (follow-up 3 re-scored resolved); ENR-07 second half measured on the exported clone-presentation /24: mapping frozen, forwarding withdrawn, revoke + node-entrypoint re-enroll recovered it, the clone's old certificate got 403 IDENTITY_REVOKED — AT07 16 pass / 6 blocked (ENR-05 usage hold hooks, ENR-06 installer wrappers: devstack f15 → enrollment f5) | done (#248) |
+| w4-at-enrollment follow-up 5 | AT06 344 pass / 0 blocked / 0 fail on the devstack follow-up 15 hooks (replay/race, hash/privacy, expiry/revoke, incarnation history, fresh join; 0 HTTP 429 in both phases), D-078 limiter classification read from #233/#252 and verified, ENR-05 network-side proxy-hold subset (503 DEPENDENCY_UNAVAILABLE retryable, desired-state 200, released empty POST 422), prior AT07 process rows bebfe230/35e542f8/1d5c02a4 reviewed resolved (history kept); AT07 19 / 6 blocked / 0 fail — the real installer enrolls then exits 1 (ENR-06 NetBird socket write permissions + RuntimeDirectory lifecycle, reproduces #266) → installer follow-up 3; requests: ENR-05 same-slot exports + post-wrapper service restoration for installer-node (devstack), retired-event delivery protocol after revocation (usage / control-pki); follow-up 4 archived; live make exit 2 is the documented blocked state | done (#282) |
+| w4-at-enrollment follow-up 6 | AT06 376 pass / 0 blocked / 0 fail (344 + 32 archive/attempt scan rows, 0 HTTP 429) and AT07 26 / 5 / 0 on 945eff8 (run 1af27741): the installer-startup half of ENR-06 verified fixed on #279 (install / idempotent rerun / controlled reinstall exit 0, socket path+mode as fixed, reinstall keeps the Node id with a fresh incarnation, old certificate denied on both routes); five rows blocked on dev-stack installer-node exports (usage hold/release, ledger snapshot, member transport, service restoration → devstack follow-up 17) and ENR-05 (D-105 → revision 14); follow-up 5 archived byte-for-byte (D-098) with self-describing digest labels; RESPONSES.md has no enrollment answer yet (D-102) | done (#288) |
+| w4-at-enrollment follow-up 7 | AT06 424 pass / 0 blocked / 0 fail (0 HTTP 429 in both phases; per-phase shared-host admission), AT07 36 pass / 5 blocked / 0 fail — run 59ef4bf8 on main 5412e25; the five blocked rows keep their two product blockers: installer_rerun / controlled_reinstall / counted_unacked_usage on **D-116** (installer marker trips `verifyChainSet`, proof devstack f17 `installer-owner-chain.md`; installer follow-up 4 relocates it) and identity_ledger_preserved / historical_usage_retained on **D-105 / D-112** (central acceptance #296 and the node hand-off were not yet on the measured main); ENR-02/03 serving-source identity freeze: native member matched and authorized, one signed lease member and six live accept rules withdrawn with `identity_frozen` within 227 ms of the central conflict (< 5 s heartbeat), real receipt replay true, SQLite latch survives a supervisor restart (fresh heartbeat with identity_frozen, zero rules, zero lease members); ENR-06 stopped rerun before=after, same incarnation on rerun, new incarnation on reinstall with newest-first history and mode-0700 retired state, three shared service restorations incl. the inactive updater oneshot; ENR-05 hold/release subset on the installer-node proxy (503 held, 200 desired-state, 422 after release; three byte-equal CLI ledger snapshots; zero un-ACKed bytes, no counted-traffic claim); retired certificate 403 IDENTITY_REVOKED; follow-up 6 archived byte-identically under history/follow-up-6 (D-098); 23 Python harness tests; requests 2 (both already owned: installer f4, usage-central f4 / usage-agent f3) | done (#298) |
+| w4-at-enrollment follow-up 8 | Run f27a81a0 on the hookless installer marker (#302) with the active usage hand-off (#312) and usage AT 5 (#324): AT06 501 / 0 / 1 (all 501 rows pass; the one fail is the shared AT07 process exit), AT07 43 / 1 / 2 with four of the five blocked rows closed (installer_rerun, counted_unacked_usage, identity_ledger_preserved, historical_usage_retained 908 + 1,816 = 2,724 bytes; freeze withdrawal 334 ms); controlled_reinstall blocked by ENR-07, the 1 ns gap event from planSwitch collapsing at PostgreSQL microsecond precision against usage_events_interval_check (D-130: usage-agent meter + usage-central ingest); follow-up 7 archived (8 files) | done (#329) |
+| w4-at-enrollment follow-up 9 | Run 891ee9b8 on main with both D-130 halves (#330 meter 1 µs endpoints, #331 central microsecond projection): AT06 662 / 0 / 0, AT07 48 / 0 / 0 — controlled_reinstall and all five previously blocked rows pass; the fresh gap event is accepted at ACK 1 and sequence 2 at ACK 2 with 550 + 358 = 908 bytes on a strictly ordered 1 µs stored interval; four AT20 assertions re-executed (retired 2,724 bytes / ACK 3 preserved); the historical gap attribution corrected to planBaseline (not planSwitch); freeze withdrawal 187 ms; follow-up 8 archived under history/follow-up-8/ (51 byte-identical files, D-098); physical arm64 / OS reboot unmeasured; 0 requests | done (#333) |
+| w4-at-enrollment follow-up 10 | Offline adoption of devstack 33's `Stack.WriteNode` (#441) at enrollment's three audited sites, five node commands: AT06's incarnation-history revoke, and AT07's freeze and installer capacity and publication commands and its clone/reinstall revocation. Each command has an exact read-back predicate and embeds its receipt in the record; the shared helper is unchanged. An untagged AST audit rejects any bypass, proved with injected regressions. Stopped rate-limit evidence and the ordinary operation lookup are now covered. No live run: follow-up 9's records stay as they are, and the live proof waits for the next authorized assembled run. Codex gpt-6-astra. | done (#450) |
+| w4-handover: production deployment runbook, AT30 restore drill record, calibration guide, operator and member guides | WP12 | done (#55) |
+| w4-handover follow-up 1: security-ops review documentation mismatches DOC01–DOC11 and DOC13 resolved (member guide, README, references) | WP12 | done (#72) |
+| w4-handover follow-up 2 | self-verifying handover docs: tests/handover + mk/handover.mk check Markdown links, repo paths, make targets, fvpn-* binaries, SQL blocks executed against a migrated database, and a migration inventory derived from db/migrations (no literal counts in the owned docs); drift fixed against current main (endpoints and fields from OpenAPI 1.2.0, D-056/D-057/D-061 behaviour, PostgreSQL 17 casts) | done (#107) |
+| w4-handover follow-up 3 | operator and member guides match main through #133 (forwarding evidence, update journal and rollback diagnosis, identity continuity, 00185 role, login limiter numbers, resolver delivery, portal evidence locations); DOC14 resolved in scope-review.json; handover test parses the OpenAPI version and operation count | done (#138) |
+| w4-handover follow-up 4 | Docs catch up with #136–#152 (client_scope in place, issuer canonical rule, observation authority, probe_peer, forwarding reasons, zero-binding publication, limiter classes, host prerequisites incl. conntrack, counted forwarding); adversarial reviews r3–r10 archived under docs/reviews with TestHandover_ReviewsArchive | done (#157) |
+| w4-handover follow-up 5 | Docs catch up with #153–#162 (exit selection, probe issuance inputs, pre-result version authority, SpecDeniedV4 and conntrack requirement, publication attachment basis, body-limit table, amended D-064 and host-tool preflight); adversarial review r11 archived under docs/reviews | done (#163) |
+| w4-handover follow-up 6 | docs catch up with #164–#174 (ErrorCode verification reasons, scoped SECOPS evidence, conntrack preflight, bound heartbeat seeding, probe refusal classes and probe_omitted, large-JSON check and per-class limiters, device revocation and probe-peer lab, rendered-model verifier, trusted_proxies); DOC15 resolved; r12 archived; merged with the contract revision 9 statements | done (#180) |
+| w4-handover follow-up 7 | fleet-config operator section (D-065: what max_offline_lease_seconds governs, 60–86400, new value applies to leases issued or renewed after the change, If-Match/Idempotency-Key/reason, audit fleet_config.update); catch-up #173–#182; r13 review archived in docs/reviews with provenance; TestHandover_Followup7Claims | done (#188) |
+| w4-handover follow-up 8 | control f19 operator statements, contract revision 10 with all 47 operations wired, D-067 provisional leases, D-068 release advancement, updater f12 rollback recovery, secops f7 pins, DOC16 member-guide evidence pinned to history/follow-up-5; TestHandover_Followup8Claims | done (#209) |
+| w4-handover follow-up 9 | operator statements for #204–#216: D-072 cloned-identity runbook (detection, freeze, revoke + re-enroll), revision 11 pins, D-067 60 s backstop and D-070 revoke outcomes, the AWAITING_MEMBER_GRANTS provisional window after #216, control f20 limiter facts (node-keyed ingress, full-table eviction, /48 reserve of one), worker self-contention and portal never-failed assertion, harness cross-references (isolation f3, enrollment f2, updates f8, usage f2); TestHandover_Followup9Claims | done (#218) |
+| w4-handover follow-up 10 | operator statements for #217–#224: D-072 identity_conflict runbook + portal §6 cross-ref, r14 revoke fence and one-shot stale grace, whole-ruleset nft read-back, Fair-Use recompilation reach, the D-074 publish-wait sentence, devstack 4c97ebef and live AT30 restore protocol with measured RTO/RPO | done (#230) |
+| w4-handover follow-up 11 | operator statements for #225–#231: D-076 fence runbook + deploy.md restore step + member sentence, D-073/D-075 durable columns (00187), fvpn-agent usage snapshot usage, SECOPS-19 observation usage fields, D-078 with browser_rate 10/30 and agent_rate 5/10 corrected in calibration.md §1.8, enrollment f3 and members f6 numbers | done (#234) |
+| w4-handover follow-up 12 | hotfix for the Backup & PITR Drill red on #234: the D-076 fence review query in restore-drill.md selected member_id / peer_id / reason from device_authorization_fences (schema: device_id, fenced_at, observed_group_ids) — now a join on member_devices, prose aligned in restore-drill.md and operator-guide.md; tests/handover executes every unmarked SQL fence of docs/handover/*.md and docs/ops/README.md read-only against a migrated database (markers for cluster-role DDL and mutating maintenance SQL); TestHandover_Followup12Claims | done (#236) |
+| w4-handover follow-up 13 | revision 12 operator workflow (fenced devices → explicit admin re-authorize, existing-operation receipt, 409 STATE_CONFLICT / 409 DEVICE_LIMIT_REACHED per D-081, worker read-back), SECOPS-19 NodeDetail.usage_outbox + migration 00189, installer lifecycle (#239), D-079 production restriction, latest AT30 measurement (#242: replay 3/3, RPO 0 B, RTO 121.88 s) beside #221, SECOPS-21 (#245) recovery check on config_generation.desired/applied, r14 archive corrected, r15 archived as open; TestHandover_Followup13Claims; the stale 47/45 pin in tests/e2e/at/secops/security_test.go routed to security-ops | done (#251) |
+| w4-handover follow-up 14 | operator claims reconciled against #261–#272 (revision 13 derived API/49-operation checks with identity_frozen / UpdateResultSource / TC_FOREIGN_FILTER; D-084 #254/#259; D-085/D-090 #260/#262/#264/#272; D-087 #250 + #252 limiter tables; D-080/D-089 #253/#258/#269; members #268 run 297faa31 3/7/0; devstack #266 32/1/0 + ENR-06 export fail; secops #265 run 0e8ff9a4 AT30 RPO/RTO keys; D-091 #263; r15 dispositions; isolation #271 bf671f3a AT13 fail) with byte-identical SHA-256 snapshots (followup14-snapshots.json) and the merged roadmap boundary pinned (followup14-main.json); D-098 applied to measurement evidence (AT30 stays on secops history/follow-up-9, isolation on history/follow-up-5; missing final archives pinned by run-ID files); coming-work boundaries explicit (no central installer acceptance, SECOPS-21 closure, installer lifecycle or full isolation pass inferred); containment-recovery wording clarified; requests: final-run archives from usage f4 / members f7 / isolation f6, netlab G2 doc TC_FOREIGN_FILTER wording | done (#278) |
+| w4-handover follow-up 15 | operator claims reconciled against #273–#290 (revision 14 derived API 1.10.0 / 50-operation checks, revokeMemberGrant 501 pending wire-members registration; D-104 renderer delivery keeps assembled AT13 open; D-105 / D-106 wording; D-110 / D-111 wording as decided, fleet-update follow-up 11 still coming; isolation 7 as a new dated claim set; enrollment 6 AT06 376/0/0 + AT07 26/5/0 with five rows blocked; updates 9 regular pass and blocked extension; devstack 16 fixture counts) with 197 byte-identical SHA-256 snapshots (followup15-snapshots.json) and the merged roadmap boundary pinned at #290 (followup15-main.json, 17 exact rows); D-109 pin ownership (cross-lane prose pins moved to roadmap rows / PR numbers / Go test names, the policies-note pins retired); r16 archived byte-identical under docs/reviews/ with owner dispositions, `r16 has not run` retired; D-074 paragraph rolled to the publication-gate cause suffix; scope-review digests (160) regenerated after merging revision 14 | done (#292) |
+| w4-handover follow-up 16 | operator claims reconciled against main through #303 (#291–#303: enrollment 7 #298, usage-agent 3 #299 with D-118 — the D-105 activation hook is agent-core 25's, fleet-update 11 #300, secops 12 #301, installer 4 #302 D-116 marker table, members 8 #303 with D-119); D-112–D-119 wording in the operator docs; immutable evidence pins and D-098 archive digests regenerated from the merged tree; claims tests 7/7; #304 (netlab 17, D-120) noted for the next evidence cut | done (#306) |
+| w4-handover follow-up 17 | Main reconciled through #313 (every #304–#309 / #312 / #313 delivery plus the #310 / #311 boundaries); operator evidence now separates harness-proved ENR-05 and the SECOPS-21 first-offer capture from unproved consuming acceptance; the three devstack 18 live failures stay failures (serving-node checkpoint handshake, post-upgrade seed HASH_MISMATCH, native MTU 1280 in both underlay families); AT10 recorded as failed under the pre-D-120 rule and passed only in the #308 D-120 runs; D-123 keeps IPv6Block without erasing native underlay failures; D-121 / D-122 listed as process decisions; DNS blocking documented as per-type NXDOMAIN / NODATA with the configured SOA TTL in both member-guide languages; `docs/handover/follow-up-17.md`, register, operator / member / deploy / restore guides, numbered index, `docs/ops/README.md`, `docs/reviews/README.md`, root README; `TestHandover_Followup17Claims` (11 subtests incl. `post_cutoff_secops_notice`), `followup17-main.json` pins 10 roadmap rows, `followup17-snapshots.json` pins 59 inputs (register archive as a contiguous byte excerpt with full-source digest, offset and length); merged with security-ops follow-up 13 (#316): the shared `docs/e2e/at/secops/scope-review.json` keeps secops content with all 242 SHA-256 entries across 141 paths recomputed from the merged tree; one dated post-cutoff paragraph reserves the SECOPS-21 closure and AT30 numbers for follow-up 18 | done (#319) |
+| w4-handover follow-up 18 | Main reconciled through #324 at a fixed cutoff (#316 SECOPS-21 closure and AT30 deltas, #317 F8-01 closed with F9-01 under D-126, #318 F8-02 unattributed and TimingEvidence, #320 D-125 with #323 consuming it and D-118 locking, #321 D-126 central side with D-128 value equality, #322 D-127 with migration 00192 rollout guidance, #324 usage AT14 to AT20 live); exact r17 archive (M-1 to #322); D-124 to D-128 register entries with D-124 process-only; D-118 activation-pending drift fixed as a historical cutoff label; TestHandover_Followup18Claims 12 subtests, 26 snapshots, 254 digests over 143 paths; #325 and #326 left for the next cut | done (#327) |
+| w4-handover follow-up 19 | Main reconciled through #337 at a fixed cutoff (57a8cc9f): #325 agent-core 27 (D-126 cumulative report confirmed), #326 installer 6 (13 / 13), #328 members 10 (F9-01 closed, D-129), #329 + #333 enrollment 8 / 9 (ENR-07 → D-130 → CLOSED: AT06 662 / 0 / 0, AT07 48 / 0 / 0), #330 + #331 usage-agent / usage-central 5 (both D-130 halves, migration 00193 with projected stored <= and guarded Down), #332 devstack 19 (serving-node 14 / 0 / 0 closes the devstack 18 serving failure), #334 isolation 9 (AT12 10 / 0 / 0; **AT13 5 / 1 / 1 FAIL — ISO-F6-03 OPEN** as a real product defect, baseline writer unknown), #335 wire-nodes 33 (D-131 lease-only TEST ONLY seam), #336 netlab 20 (200 / 200 pins), #337 updates 10 (installer extension 23 / 23, regular AT23–AT27 blocked, D-132); register D-129–D-132 beside D-124–D-128; operator entrypoints, bilingual member notice and migration 00193 rollout / Down guidance refreshed; TestHandover_Followup19Claims 16 subtests, 13 pinned roadmap rows, 37 immutable inputs (30 byte-exact snapshots, two merged-PR message excerpts with byte offsets, five enrollment archives); follow-up 18 register frozen (12 subtests / 26 snapshots intact); live manifest 266 digests across 144 paths; 0 requests | done (#339) |
+| w4-handover follow-up 20 | Main reconciled through #344 at a fixed cutoff (96ec0630): #338 usage AT 6 (fresh planBaseline 1 µs gap at ACK 1, event 2 = 2,579 bytes), #339 handover 19 (frozen), #340 fleet-update 13 (D-132 lane side), #341 installer 7 (updates F10-02 FIXED), #342 updater 18 (nil-sink fix), #343 devstack 20 (D-087 seam exported, F10-01 shared side FIXED, F8-02 instrumented), #344 agent-core 28 (D-133 applied after equal-host A/B/A/B, ISO-F6-03 writer unattributed, two measured limits kept open for netlab 21); register D-133 beside D-124–D-132; findings register updated (F10-01 / F10-02 / D-087 seam closed, F8-02 instrumented, ISO-F6-03 open, Dependabot #22 portal-owned hygiene pending reachability); reporting / restart guidance and bilingual member notice refreshed; TestHandover_Followup20Claims 18 subtests / 7 pinned roadmap rows / 38 immutable inputs (27 byte-identical main files, nine exact excerpts, one merged-PR D-133 excerpt, one dated Dependabot capture); follow-ups 18 / 19 frozen intact; live manifest 279 digests across 145 paths; updates 11 / isolation 10 / members 11 / dns-publish 9 pending at the cutoff; 0 requests | done (#347) |
+| w4-handover follow-up 21 | Reconciled `main` through #351 at the fixed cutoff 6d1e320d (#352 merged after it): `TestHandover_Followup21Claims` 21 subtests / 7 exact roadmap rows (#345–#351) / 13 immutable owned snapshots (12 exact excerpts + one byte-identical dated hand-off) and 350 owner-archive files verified (members 35, updates 39, isolation 86 + the 92 / 98 retained attempts); the cut records regular AT23–AT27 5 / 5 and the real D-087 AT10 9 / 0 / 0, closes the artifact-origin question by measurement, updates F10-01 / F11-02 and members F10-04, opens F9-INFLIGHT and members F11-01 / F11-02 / F11-03, keeps the IPv6 F8-02 recurrence separate from the IPv4 capture, leaves every historical failure failed and unattributed, and records Dependabot #22 as open for owner disposition (development dependency hygiene, no production-bundle path); no new decision (D-133 latest). Current AT measurements are pinned only through roadmap rows / PRs, never living root evidence; follow-up 20's 18 subtests keep their expectations with live reads redirected to frozen excerpts. Entrypoints (`README.md`, handover `00-index.md`, `deploy.md`, `operator-guide.md`, `member-guide.md`, `restore-drill.md`, `docs/ops/README.md`) point at the follow-up 21 cut; guidance limited to positive-cache semantics, the retained installation archive and the Dependabot status; secops `scope-review.json` digests refreshed for owned paths. 0 requests. | done (#354) |
+| w4-handover follow-up 22 | Reconciled `main` through #356 at the fixed cutoff 45209609 (#352 devstack 21, #353 installer 8, #354 handover 21, #355 netlab 21, #356 agent-core 29): `TestHandover_Followup22Claims` 19 subtests / 5 exact roadmap rows / 22 immutable snapshots plus the 114-file devstack 20 and 82-file netlab 20 archive inventories and two run-scoped installer / DNS records; records updates F11-01 closed (#352), installer-side F10-01 closed (#353), F8-02's common reverse oversized-datagram mechanism on both fixture underlays with the native capture pending (#355), and the install-overrun cause unproven after negative controlled reproductions (#356); **D-134** registered and **D-135** registered as provisional pending the owner's confirmation; every historical failure stays failed and unattributed; follow-up 21's 21 subtests intact (live register / entrypoint inputs redirected to frozen excerpts, a whole-function hash proves the original assertions unchanged); entrypoints point at the follow-up 22 cut. 1 request: owner confirmation of D-135. | done (#358) |
+| w4-handover follow-up 23 | Reconciled `main` through #362 at the fixed cutoff bc011b6f (#357 agent-core 30, #358 handover 22, #359 updates 12, #360 isolation 11, #361 members 12, #362 devstack 22): `TestHandover_Followup23Claims` 16 subtests / 6 exact roadmap rows / 18 immutable snapshots / 421 archive and run file checks; follow-up 22's 19 subtests stay true. Records the 2026-11-01 00:00 UTC month-boundary incident and its fix (lesson: never pair a calendar literal with the wall clock); registers D-136 and D-137 as provisional (D-135 stays provisional); F8-02 rows stay failed; entrypoints point at the follow-up 23 cut. #363 merged after the cutoff. 2 owner-decision requests (D-135 + D-136; D-137 hardening option). | done (#364) |
+| w4-handover follow-up 24 | Reconciled `main` through #369 at the fixed cutoff 5bd75102 (#363 security-ops 14, #364 handover 23, #365 netlab 22, #366 usage AT 7, #367 devstack 23, #368 members 13, #369 agent-core 31): `TestHandover_Followup24Claims` 21 subtests / 7 exact roadmap rows / 21 immutable snapshots / 357 archive and run file checks; every earlier claims test stays true. Registers the D-136 correction (the verified deny-all candidate only on a retained Apply error; no finite outage ceiling) and provisional D-138; members AT02 / AT04 stay failed, F13-01's cause unproven; the F11-01 trace and one-SYN success keep their limits; TestLab04's cancellation fix does not reassign historical failures. Entrypoints point at the follow-up 24 cut; operator guidance adds the agent's bounded graceful stop. #370 merged after the cutoff. 3 owner-decision requests (D-135 + D-136; D-137 hardening; D-138). | done (#371) |
+| w4-handover follow-up 25 | Reconciled `main` through #373 at the fixed cutoff 9cd7a053 (#370 devstack 24, #371 handover 24, #372 updates 13, #373 isolation 12): `TestHandover_Followup25Claims` 18 subtests / 4 exact roadmap rows / 15 immutable snapshots / 270 archive and run file checks; every earlier claims test stays true. r18 archived byte-for-byte as `docs/reviews/r18-generation-change-review.md` (commit 1a65598f; no proof files adopted; review statements are not acceptance results). Findings register: F11-01 located (kernel cause consistent, not proven), members F13-01 raw bytes kept privately, updates F13-01 registered separately (unobserved exit), ISO-F6-01 assertion 6 blocked (the #360 pass is historical), five r18 findings open with owners. No new decision since D-138; entrypoints point at the follow-up 25 cut, no new operator guidance. 4 owner-decision requests. | done (#374) |
+| w4-handover follow-up 26 | Reconciled `main` through #382 at the fixed cutoff 9dde5eeb (#374 handover 25, #375 members 14, #376 agent-core 32, #377 netlab 23, #378 installer 9, #379 agent-core 33, #380 isolation 13, #381 devstack 25, #382 wire-nodes 34, plus the row correction 5f4b455c): `TestHandover_Followup26Claims` 21 subtests / 9 exact roadmap rows / 17 immutable snapshots / 1,075 archive and run file checks; every earlier claims test stays true. D-139 registered (provisional design track; D-135–D-138 unchanged). Findings register: r18's five findings fixed (#376–#378, #382; alarm and central escalation not yet exercised in an assembled run), ISO-F6-01 met by AT10's pass (#380), F11-01 closed-node signature (cause unproven), members F14-01 new, members F13-01 origin unproven with typed rejection, updates F13-01 receipt delivered, and the TEST ONLY harness stop-path gap. One dated operator-guide §3.1 line for installer 9. 5 owner-decision requests. | done (#384) |
+| w4-handover follow-up 27 | Reconciled `main` through #385 at the fixed cutoff 37db5405 (#383 isolation 14, #384 handover 26, #385 members 15): `TestHandover_Followup27Claims` 19 subtests / 3 exact roadmap rows / 14 immutable snapshots / 182 owner archive file checks; earlier claims kept true, and follow-up 26 now reads #381's row from the frozen snapshot `history/follow-up-27/roadmap381.md`. r19 archived byte-for-byte as `docs/reviews/r19-intersection-design-review.md` (41,050 B, sha256 14caf019…). Decisions: D-140 (isolation's D-104 predicate byte-identical; only the boundary probe schedule may densify by measured latency) and D-141 (option (b) not implemented, option (c) stays; D-139's design track closed) registered as provisional. Findings register: isolation F14-01 (AT13 closure undecided in (D−162.2, D−97.6] ms, failed), members 15's serving-node signature (AT01 first selection at generation 5, AT02's 249-sequence 5.0975 s ingress gap; with members F14-01 three samples, cause unproven), AT09's receive-only dual MTU-1280 row (D-137 limitation), r19 H-1 / M-2 / L-2 routed and in progress, the design-only r19 findings as D-141's reconsideration conditions. The plain members `AT02.md` is recorded as a navigation index. Seven entrypoints and secops digests current. 6 owner-decision requests. | done (#387) |
+| w4-handover follow-up 28 | Cut #386–#390 at `aae6763f`. Devstack 26: the closed node was its own TEST ONLY tracer, and F11-01's native ~5 s handshake delay remains. Agent-core 34: r19 M-2 and L-2 fixed, with the ~1.1 ms pre-install reservation accepted under D-138. Netlab 24: r19 H-1 fixed, `ctdenyd` added, A2's D-120 missing successor kept failed. Updates 14: parent receipts and the 15 s stop path, with updates F13-01 not filled. `TestHandover_Followup28Claims`: 19 subtests, five final rows, 16 immutable snapshots, 1,644 archived owner-file checks. Operator guide §3.4: a foreign nft rule closes a node by design, and traceroute shows no reply for deny-listed hops. Findings register at 47 rows (D-120 missing successor and RELATED ICMP added); no decision row changed. 7 requests (owner decisions). | done (#395) |
+| w4-handover follow-up 29 | Cut #391–#396 at `d640ce96` (usage 8, isolation 15, agent-core 35, devstack 27, handover 28, netlab 25). `TestHandover_Followup29Claims`: 22 subtests, six final rows, eight immutable snapshots, 731 archived owner-file checks, four dated evidence documents; every earlier claims test still passes. Findings register at 51 rows: agent-core 35's same-boot adoption gap open (fix routed to agent-core 36, then netlab 26), the live-drift reading unconfirmed; isolation 15's evaluator pass kept apart from its failed qualification; devstack 27's fixture proof kept apart from the consumers' rows; D-120's measurement end fixed with every failed run kept failed. The operator guide warns that a restart with changed deny / host sets can serve on the old sets until the first successful Apply, with no procedure promised. Decisions unchanged through D-141. 7 owner requests (unchanged). | done (#398) |
+| w4-handover follow-up 30 | Cut #397–#403 at `b9439411` (devstack 28 and 29, handover 29, isolation 16, members 16, agent-core 36, netlab 26). `TestHandover_Followup30Claims`: 23 subtests, seven final rows, nine frozen snapshots, 449 archive and run file checks, six dated evidence and review documents; every earlier claims test still passes. Review r20 archived byte-for-byte (`af15fb7c…`) as merged with routed fixes: H-1, M-1, M-2, M-3 and L-1 to agent-core 37, H-2 to netlab 27, none confirmed before owner judgment. D-142 and D-144 registered as provisional, D-143 as Ted's decision; every earlier decision row byte-identical. The operator guide's restart warning revised for agent-core 36 (same-boot adoption refused on changed deny / host sets, baseline until the first full Apply; live drift still open), with r20 H-1's unattributed usage gap stated as known behaviour. An operators' guide to reading nightly results (records artifact, read and never re-run, no D-144 list on main at the cut). Findings register at 61 rows. 9 owner requests (7 carried, plus D-142 and D-144 overturn options). Session on agy opus, finished on agy gemini in the same conversation after the opus quota ran out. Merge-gate fix: the five scheduled workflows are frozen as of the cut, so later workflow changes cannot break the claims (D-098). | done (#407) |
+| w4-handover follow-up 31 | Cut #404–#407 at `3573f396` (isolation 17, netlab 27, devstack 30, handover 30). `TestHandover_Followup31Claims`: 21 subtests, four final rows, nine frozen handover snapshots, nine frozen nightly inputs, 596 archive and run file checks, three dated documents; every earlier claims test still passes, with follow-up 30's register, entrypoint and operator-guide reads moved onto frozen copies of the #407 bytes and its claims function otherwise pinned unchanged. Review r21 archived byte-for-byte (`0fcf888b…`, 29,439 bytes) as returned to agent-core 38 before merge, none of its five findings confirmed before owner judgment. Isolation 17's run 0ec14b39 recorded as D-140's first qualified pass, no historical failure upgraded; netlab 27 recorded as closing r20 H-2 and live drift, B1 still failed. Both D-144 expected-blocked lists on main; no scheduled-run result claimed. The operator guide states F30-01 (an updated node serves no members until its agent restarts) as known behaviour, routed to agent-core with the updater, no fix date promised; the restart warning updated for live-drift detection, r20 H-1's gap still open on main. Errata for follow-up 30's quota stall and #401's launch time. Findings register at 72 rows; 9 owner requests carried. Session on codex gpt-6-astra. | done (#409) |
+| w4-handover follow-up 32 | Cut #408–#412 at `b7449ec1` (updater 20, handover 31, members 17, netlab 28, devstack 31). `TestHandover_Followup32Claims`: 20 subtests, five final roadmap rows, nine frozen handover inputs, 301 archive payload checks (81 members, 220 netlab), seven dated or additive documents, 19 relative symlinks inside the repository (members' 18 plus the G1 checklist) and 14 archived navigation sources; follow-up 31's claims verified from its function and manifests and pinned by its normalized function hash, earlier assertions unchanged except frozen input redirects. Updater 20's F27-02 fixture diagnosis recorded as #408 states it (four 200-iteration runs unqualified, load leg never started, netlab 27's F27-02 still failed); updater 21 (#413, after this cut) found that reading failed by its declared rule. Members 17 recorded as D-102's first live survivor-continuation consumer, AT02 and AT09 still failed, source-address row not exercised. Netlab 28's publication mapping and main's manifest digest pinned additively, B1 unresolved. F28-01 routed to netlab 29 and F31-01 to agent-core (design first), neither judged. Findings register at 75 rows; 47 decisions byte-identical, nothing after D-144; 9 owner requests carried; no scheduled-run result claimed. Session on codex gpt-6-astra. | done (#414) |
+| w4-handover follow-up 33 | Cut #413–#415 at `339db172` (updater 21, handover 32, netlab 29). `TestHandover_Followup33Claims`: 16 subtests, three final roadmap rows, ten frozen handover inputs, 512 netlab payload checks (42 gzip originals included), three documents (updater 21's two dated documents and the raw r22 review) and three PR excerpts; follow-up 32's claims verified from its function and manifests and pinned by its normalized function hash, earlier assertions unchanged except frozen input redirects to #415 bytes. Updater 21 recorded as #413 states it: F27-02's fixture-defect reading failed by its predeclared rule, with F21-01 (the replaced setup consumed about 533 ms of a 250 ms meter budget) as the mechanism; the original F27-02 reading supported, not closed. Netlab 29's F28-01 closed as test isolation (AT10's admitted socket: a 57-byte retransmission and a 40-byte RST), follow-up 28's gate 2 still FAIL; F27-01 and B1 unresolved, the guard diagnostic failed at startup. r22 archived byte-for-byte (37,600 bytes) and returned to agent-core 39 before merge, none of its five findings confirmed; the stop-budget erratum added in the reviews index without editing the archive. Findings register at 81 rows (F21-01 and r22's five unconfirmed findings added; F27-02, F28-01 and F27-01 updated); 47 decisions unchanged, nothing after D-144; 9 owner requests carried; no scheduled-run result claimed. Session on codex gpt-6-astra. | done (#416) |
+| w4-handover follow-up 34 | Cut #416–#418 at `cc0ed4ae` (handover 33, updater 22, netlab 30). `TestHandover_Followup34Claims`: 14 subtests, three final roadmap rows, ten frozen handover inputs, 312 netlab payload hashes and lengths (19 gzip originals included), two dated updater documents and three PR excerpts; follow-up 33's claims verified from its function and manifests, earlier assertions unchanged. Updater 22 recorded as #417 states it: F21-01 fixed in the test fixtures by its mechanism (a synctest bubble clock; budgets and assertions unchanged), and its coverage of the three F21-01-class CI failures on `main` attributed to the PR; the quiet leg qualified at 200/0 and both load legs did not, so F27-02's fixed-test reading stays undecided. Netlab 30: the NFLOG collector passed live, and each of the seven missing TCP egresses in AT10's 100-reload window matched exactly one `fv_deadline_guard` drop inside its install bracket (worst read 416.7 ms); F27-01 unresolved with no fix, B1 FAIL and unexplained, both live runs host-unqualified. Seven entrypoints at follow-up 34; the operator guide now says in-flight member TCP segments can be dropped while a ruleset generation installs and recover by retransmission, with no bound promised; F30-01 and r20 H-1 stay open. Findings register at 81 rows (F21-01, F27-02 and F27-01 updated); 47 decisions, nothing after D-144; 9 owner requests carried; new request: #417's control count (16 reported, 15 failing cases enumerated). Session on codex gpt-6-astra. | done (#419) |
+| w4-handover follow-up 35 | Cut #419–#421 at `dff6bdb0` (handover 34, updater 23, netlab 31). `TestHandover_Followup35Claims`: 16 subtests, three final roadmap rows, ten frozen #421 input snapshots, three documents (updater 23's dated hand-off and timing JSON, the exact r23 archive), all six netlab 31 design files, three public PR excerpts and a separate frozen source audit; follow-up 34's claims verified from its function and manifests, earlier assertions unchanged. Updater 23: F27-02 recorded as a fixture defect with F21-01's mechanism, fixed by #417, its fixed-test reading holding by #420's declared process-exit rule (reservation 2 qualified at 50/0, pooled with updater 22's quiet 200/0); F23-01 fixed in its fixture by a synctest bubble clock, no product change; #420's additive erratum gives #417's count as 15 failing cases. Netlab 31, design only: G1–G10 from the code, C1 recommended for review, C2 and C3 not; the G5/G6 trade is the owner's and production keeps the current guard; F27-01 unresolved, B1 FAIL. Review r23 archived byte for byte (41,791 bytes) and returned to agent-core 40 with its five findings unconfirmed; errata to its citations in the reviews index only. Seven entrypoints at follow-up 35, no hitless hand-over promised; F30-01 and r20 H-1 stay open. Findings register at 87 rows (3 updated, 6 added); 47 decisions, nothing after D-144; ten owner requests, netlab 31's G5/G6 trade the tenth. Session on codex gpt-6-astra. | done (#422) |
+| w4-handover follow-up 36 | Cut #422–#423 at `d7867928` (handover 35, netlab 32). `TestHandover_Followup36Claims`: 16 subtests, two final roadmap rows, ten frozen #423 input snapshots, the exact r24 archive, all 174 netlab 32 design and evidence files (12 gzip originals), two public PR excerpts and a separate frozen source audit; follow-up 35's claims verified from its function and manifests, earlier assertions unchanged. Netlab 32 recorded as #423 states it: r24's H-4, H-2's tc order and both M-2 post-shape rollback paths fixed after D-141 judgments; C1 revised as documents only; production keeps the current guard and the G5/G6 trade stays the owner's. Review r24 archived byte for byte (46,001 bytes): H-4, H-2's tc order and M-2 fixed by #423; H-2's eligibility, M-1, M-3 and L-1's empty-set half in the C1 revision; H-1 and H-3 returned to agent-core 41. Errata to its unsourced figures and citations in the reviews index only; among them L-1's lock path has no source either way: the follow-up 31 line it cites names no lock, and main uses /var/lib/vpn-node/update.lock, not the update-journal path netlab 32 adopted; an additive netlab correction is requested. r24 H-1, a full Apply on every healthy tick, recorded as open known behaviour on main. Findings register at 96 rows (1 updated, 9 added, Netlab F32-01 among them); 47 decisions, nothing after D-144; ten owner requests, netlab 32's G5/G6 paragraph the tenth. Codex gpt-6-astra, with two continuations: the lock-citation correction and its digest refresh. | done (#425) |
+| w4-handover follow-up 37 | Cut #424–#426 at `792e3e41` (isolation 18, handover 36, netlab 33). `TestHandover_Followup37Claims`: 16 subtests, three final roadmap rows, ten frozen #426 inputs, three public PR excerpts, two immutable documents (isolation's dated diagnosis and netlab 33's corrections), all 138 payloads of isolation's follow-up 17 archive and a separate frozen source audit; follow-up 36's counts verified from its function and manifests, earlier assertions unchanged. Isolation 18 recorded as #424 states it: scheduled run 41640196805 failed as D-144 requires, its two unlisted blocks one harness defect (a control restart with no readiness wait), fixed in the harness with expected-blocked.json unchanged; local run 9f1bc0ff blocks only the two listed operator rows; the previous night's AT10 pass is not a qualified result; the runner's first exercise is pending. Netlab 33 recorded as #426 states it: the lock path is /var/lib/vpn-node/update.lock in every main default, r24 L-1 confirmed in part, and r24 M-3's B1 characterization unsourced with the no-transport-change constraint kept; linked from r24's entry in the reviews index, with additive L-1 and M-3 errata. D-132: isolation's living root is now run 9f1bc0ff. Findings register at 97 rows (r24 L-1 and M-3 updated; Isolation F18-01 added, FIXED by #424); 47 decisions, nothing after D-144; ten owner requests, the G5/G6 trade still undecided. Review r25 recorded as running at briefing. Codex gpt-6-astra. | done (#427) |
+| w4-handover follow-up 38 | Cut #427 at `77626af4` (handover 37 only; no unbriefed PR). `TestHandover_Followup38Claims` pins the final roadmap row and public PR excerpt, ten frozen #427 inputs, the exact r25 archive and a separate frozen source audit; follow-up 37's counts verified from its function and manifests, earlier assertions unchanged. Handover 37 recorded as #427 states it. Review r25 (agy gemini-4-argon-high, reviewing agent-core 40 and 41 at 8cc27609, not on main) archived byte-for-byte from 1afecb29: 31,868 bytes, 0 Critical, 1 High, 1 Medium, 0 Low; its recommendation, merge after fixing H-1 and M-1, is the reviewer's. Both findings RETURNED, not yet judged, to agent-core 42 before merge; which part of H-1 already exists on main is left open for agent-core 42's D-141 judgment. Additive citation errata in the reviews index: M-1's switchEpoch location and mechanism, two absent proof names, the edited-test inventory, the presence margin, the binding-clock and wake description, and one rule quote. Findings register at 99 rows (r25 H-1 and M-1 added; 97 unchanged); 47 decisions, nothing after D-144; ten owner requests, the G5/G6 trade still undecided. Operator guidance unchanged. Agent-core 42 recorded as running at briefing. Codex gpt-6-astra. | done (#428) |
+| w4-handover follow-up 39 | Cut #428 to #429 at `1b87ab32` (handover 38 and agent-core 37 to 43; no unbriefed PR). `TestHandover_Followup39Claims` (11 subtests) pins two final roadmap rows, two PR excerpts, ten frozen #428 inputs, the exact r26 archive, a separate source audit, 15 dated documents and 75 Go test declarations; earlier claims tests stay true, with their live-document reads moved to frozen #428 bytes. Agent-core 37 to 43 recorded as #429 states it: all 25 judged rows (r20 to r25 and netlab F32-01) carry their verdicts, sub-traces, rejected claims, corrected attributions, fixes and Go proofs on main; 42 closes handover 38's open r25 H-1 question; 43's D-133 windows recorded with zero qualified legs and no comparison. Review r26 (agy gemini-4-argon-high, on agent-core 42 at 8dec4100) archived byte-for-byte from 5c6d6abe: 19,545 bytes, 0 Critical, 0 High, 0 Medium, 0 Low; AQ1 to AQ7 as the reviewer's claims, its three unexamined items with what 43 supplied, and additive citation errata. Decisions at 53: owner decisions D-145 to D-149, the orchestrator's provisional D-150 (37 to 43 merged without the A,B,A,B; agent-core 44 measures after the merge), and eight owner confirmations by status and date only; all ten owner requests answered, the open list empty. Findings register at 99 rows: 25 agent-core rows and five owner or status rows updated (RELATED ICMP decided by D-147, F11-01 open and upstream-dependent under D-148, Dependabot 22 dismissed under D-149), 69 unchanged. Seven entrypoints updated; current guard kept under D-145; D-146 and D-147 not on main at this cut. Netlab 34 and agent-core 44 recorded as running. Codex gpt-6-astra. | done (#430) |
+| w4-handover follow-up 40 | Cut #430 to #434 at `3f7dbc25` (handover 39, agent-core 44, netlab 34, members 18 and isolation 19; no unbriefed PR). `TestHandover_Followup40Claims` (14 subtests) pins five final roadmap rows and PR excerpts, ten frozen #430 inputs, 76 immutable records, 11 frozen run snapshots, members' ten-case and 77-subcheck inventory and 84 Go test declarations; the 33 earlier claims functions stay exact, with six reads moved to frozen #430 bytes. r26's errata gain one additive correction: `baselineDecision` spans watch.go 170 to 209 at 8dec4100. Agent-core 44 recorded with no comparison (zero pooled legs) and 45 repeating it; netlab 34's D-146 clamp at 1160 and D-147's three RELATED accepts recorded with their limits; members 18's two runs (run 1 lost to the reader's missing retire phase; run 2 2 pass, 6 blocked, 2 fail, with three receive-only 1280 TCP rows qualifying under D-151); isolation 19's four D-147 source rows passing and its assembled run blocked at the capacity PATCH 412. Decisions at 55: D-146 and D-147 on main (#432), D-150's status, and the orchestrator's provisional D-151 (receive-only 1280 TCP rows pass only with same-run clamp evidence) and D-152 (D-147 upload negatives judged at production's applicable deny rule, answering F19-01). Findings register at 102 rows: four updated, three added (isolation F19-01 answered, F19-02 open with devstack 32, members' grant restoration open with members 19), 95 unchanged. Seven entrypoints updated, including the operator guide's MSS 1160 and traceroute paragraphs. Agent-core 45, devstack 32 and members 19 recorded as running. Codex gpt-6-astra. | done (#435) |
+| w4-handover follow-up 41 | Cut #435 to #438 at `c359d4a9` (handover 40, agent-core 45, members 19 and devstack 32; no unbriefed PR). `TestHandover_Followup41Claims` (14 subtests) pins the four final roadmap rows and PR excerpts, ten frozen #435 inputs, 101 immutable records and 36 Go test declarations, with seven frozen copies of producer prose for its D-109 token checks; the 34 earlier claims functions stay exact, with four reads moved to frozen #435 bytes. Handover 40's counts verified as main has them. Agent-core 45 recorded with no comparison (zero pooled legs: a parent-shell self-match, then admission text in the frozen harness's combined Docker read) and 46 repeating it. Members 19's same-plan public restoration on both finite-expiry early returns and six more audited sites, with AT02's and AT09's recorded failures unchanged. Devstack 32's exact-code 412 handling (re-read, same key and body, three writes in ten seconds), its eight converted writes and every live invocation, forced 95fb7eab passing 8/8, with the zero-header limit. Decisions stay at 55; only D-150's status changes. Findings register at 105 rows: three updated (D-150's measurement; members 18's grant restoration, answered by #437; F19-02, answered on the publisher side with isolation 20's assembled run pending) and three added (the shared e2e helpers' early returns, to devstack; the AT-owned node-write sites, to their owners; the zero If-Match detail, to the contract and node-API owners), 99 byte-identical. Seven entrypoints point at the cut; no operator or member procedure changed. Isolation 20, agent-core 46 and the orchestrator's review r27 recorded as running. Codex gpt-6-astra. | done (#440) |
+| w4-handover follow-up 42 | Cut #439 to #445 at `5a942aa1` (agent-core 46 and 47, handover 41, devstack 33, isolation 20, wire-nodes 35 and members 20; no unbriefed PR). `TestHandover_Followup42Claims` (15 subtests) pins the seven final roadmap rows and PR identities, frozen #440 inputs, dated producer records, immutable isolation history, the r27 and r28 raw archives by digest, and Go test declarations; the 35 earlier claims functions stay exact, with six reads moved to frozen bytes. D-153 closes D-150 without a comparison, and D-154 compares a zero `If-Match` like any version: 57 decisions, every other one unchanged. Reviews r27 and r28 archived unchanged with their dispositions; isolation 20's recorded `memberExpiry` pass stays recorded but is not evidence for per-member expiry under a serving node, and F20-01 stays failed. Findings register at 113 rows: seven updated, eight added (F20-01 among them), 98 byte-identical. One new operator-behaviour paragraph, r28 H-1's control-outage withdrawal with no merged fix at the cut, sits next to the unchanged F30-01; seven entrypoints point at the cut. Secops 15, agent-core 48 and review r29 recorded as running. Codex gpt-6-astra. | done (#449) |
+| w4-handover follow-up 43 | Cut #446 to #456 at `04d31ea5` (updater 24, agent-core 48 and 49, secops 15 and 16, handover 42, enrollment 10, updates 15, isolation 21, usage 9 and members 21; no unbriefed PR). `TestHandover_Followup43Claims` (16 subtests) pins the eleven final roadmap rows and PR excerpts, 35 frozen inputs, Go test declarations, archived code readings, and the r29 raw archive with its two imported proof files by digest; the 36 earlier claims functions stay exact, with follow-up 42's two lane-file reads now on frozen bytes. D-155 (F30-01 by r29 Option B), D-156 (a same-boot replacement keeps verified retained rules until the successor adopts or refuses them) and D-157 (one early renewal after a closed recovery): 60 decisions, the 57 earlier rows unchanged. Review r29 archived byte-for-byte (180 lines). Findings register at 124 rows: 11 updated, 11 added (AT29's current failure among them), 102 byte-identical; the AT-owned node-write sites close; F30-01 stays open until an acceptance run passes lease-expiry without the nightly quarantine entry. Operator guide: the F30-01 paragraph states both halves merged, updater 24's exit-status paragraph is added verbatim, r28 H-1 is fixed in place, and the D-156 release rule and AT02 deny-all behaviour get their own anchors; seven entrypoints point at the cut. Devstack 34, isolation 22, secops 17 and agent-core 50 recorded as running. Codex gpt-6-astra. | done (#457) |
+| w4-handover follow-up 44 | Cut #457 to #463 at `5c21e670` (handover 43, devstack 34, isolation 22, secops 17, agent-core 50, netlab 35 and updater 25; no unbriefed PR). `TestHandover_Followup44Claims` (15 subtests) pins the seven final roadmap rows and PR excerpts, 25 frozen inputs, 30 Go test declarations on main and 16 archived code readings; the 37 earlier claims functions stay exact, with follow-up 43's reads of the register, the reviews index, the operator guide and the ops index moved onto frozen #457 bytes. D-158 (the update-lock wait), D-159 (its condition false), D-160 (no admission wait inside a timed section) and D-161 (guard-attributed TCP timeouts in D-120): 64 decisions, the 60 earlier rows unchanged. Findings register at 126 rows: 10 updated, 2 added (F22-01 and SECOPS-F17-01), 114 byte-identical; F30-01 stays open until one acceptance run starts the candidate through update-good, defers and then clears its boot recovery, serves members, and passes lease-expiry afterward. Operator guide: F30-01's paragraph, updater 25's D-158 sentence verbatim after updater 24's exit statuses, AT02's merged D-157 change with no live measurement yet, and netlab 35's TCP reload-guard sentence under its own anchor; seven entrypoints point at the cut. Secops 18, members 22, netlab 36 and devstack 35 recorded as running. Codex gpt-6-astra. | done (#466) |
+| w4-handover follow-up 45 | Cut #464 to #468 at `c148cf34` (secops 18, netlab 36, handover 44, members 22 and devstack 35; no unbriefed PR). `TestHandover_Followup45Claims` (15 subtests) pins the five final roadmap rows and PR excerpts, 27 frozen inputs, 13 Go test declarations on main and 17 frozen code readings; the 38 earlier claims functions stay exact, with follow-up 44's reads of the documents this cut rewrites moved onto frozen #466 bytes. Decisions stay at 64: D-158 gains the orchestrator's clarification (five consecutive stale answers give exit 1, a live answer resets the count, the 10 s budget from the first attempt governs live answers, the wait record only after a first-attempt `ErrBusy`), with the earlier counting still on main at the cutoff; D-161 is marked implemented by #465; the other 62 rows are unchanged. Findings register at 133 rows: 7 updated, 7 added (members F22-AT01 and F22-D146, and r30's five findings), 119 byte-identical. F30-01 is closed by devstack 35's run under the refined condition, credited to #446, #454 and #463; its first acquisition was uncontended, so D-158's wait has not run live. SECOPS-F17-01 answered, with AT29 blocked on the operator's guest clock; AT02 answered at 205 ms with eight losses; F22-01 stays open. Review r30 archived byte-for-byte (216 lines), its findings routed to agent-core 51 and updater 26. Operator guide: F30-01's and AT02's measured outcomes in place; updater 25's D-158 sentence and the TCP reload-guard paragraph unchanged; seven entrypoints point at the cut. Isolation 23, members 23, updater 26 and agent-core 51 recorded as running. Codex gpt-6-astra. | done (#472) |
+| w4-handover follow-up 46 | Cut #469 to #473 at `52b93845` (isolation 23, agent-core 51, updater 26, handover 45 and members 23; no unbriefed PR). `TestHandover_Followup46Claims` (15 subtests) pins the five final roadmap rows and PR excerpts, 21 frozen inputs (nine #472 documents and twelve producer records), 23 Go test declarations on main, 18 frozen source readings and ten archived artifacts; the 39 earlier claims functions stay exact, with follow-up 45's reads of the documents this cut rewrites moved onto frozen #472 bytes. Decisions at 65: D-162 added (provisional, TEST ONLY: the lab's regular node reports observations every 5 s; the 30 s product default and every predicate, the 15 s bound included, unchanged), and D-158's clarification marked implemented by #471; the other 63 rows are unchanged. Findings register at 133 rows: 10 updated, none added, 123 byte-identical. F22-01 answered by isolation 23's complete-capture run `328ab9e0`, with `7b0db5f2` still failed; r30's five findings fixed by agent-core 51 (H-1, M-2, M-3) and updater 26 (H-2, M-1); F22-D146 located in the regular node's 30 s observation default against the 15 s bound; F22-AT01's response reaches member ingress with its drop point unproven, and F11-01 stays open under D-148; AT02 adds a second sample, 179 ms with seven losses. Operator guide: updater 25's D-158 sentence replaced by updater 26's, with the one-record logging rule; AT02's second sample in place; the TCP reload-guard paragraph unchanged; seven entrypoints point at the cut. Review r31 and devstack 36 recorded as running. Codex gpt-6-astra. | done (#474) |
+| w4-handover follow-up 47 | Cut #474 to #477 at `1c39a0e7` (handover 46, isolation 24, devstack 36 and agent-core 52; no unbriefed PR). `TestHandover_Followup47Claims` (17 subtests) pins the four final roadmap rows and PR excerpts, 13 frozen document snapshots (nine #474 documents and four producer documents), 20 Go test declarations on main, 20 frozen source readings, 92 archived artifacts and 38 exact JSON values; the 40 earlier claims functions stay exact, with four of follow-up 46's input reads moved onto frozen #474 bytes. Review r31 archived byte-for-byte (302 lines); its one medium finding fixed by agent-core 52. Decisions at 66: D-163 added (provisional: in the scheduled job only, a review's nonzero exit maps to expected not exercised only when its own run names a listed item, and only that item), and D-162 marked implemented by #476; the other 64 rows are unchanged. Findings register at 136 rows: 9 updated, 3 added (F24-01, r31 M-1 and the 11-04 scheduled job), 124 byte-identical. The scheduled job's two harness causes fixed by #475, the historical job still failed; F24-01 keeps the local run `df9dbad7` red at the cutoff; F22-D146 stays open, with no re-score under D-162; F17-01 still not exercised. Operator guide: the old D-158 sentence replaced, devstack 36's first live wait (446 ms, acquired) quoted from its dated run analysis, and #477's observation records documented from frozen sources; seven entrypoints point at the cut. Isolation 25 recorded as merged after the cutoff (#478), its results excluded; members 24 and review r32 as running. Codex gpt-6-astra. | done (#479) |
+| w4-handover follow-up 48 | Cut #478–#481 at b921c75f (four PRs, none unbriefed): isolation 25 and 26, handover 47, members 24. Followup48Claims has 16 subtests, four roadmap rows and PR excerpts, 23 immutable snapshots, 22 main test declarations, 22 frozen source readings, 62 artifacts and 122 exact JSON values; 41 prior claims preserved. Review r32 archived byte-for-byte, zero findings, with its raw identifier errors disclosed separately. Decisions remain 66: D-162 and D-163 gain the measured results; owner confirmation of D-150–D-163 belongs to follow-up 49. Findings 138: six updated, two added, 130 unchanged. F24-01 planning/reviewer fix and local scheduled-mode pass, F22-D146 serving-read qualification, and AT02/observation evidence recorded without changing historical verdicts. Six Node workflow failures route to agent-core 53; clone receiver wiring routes to devstack. Scope inventory changes 241 SHA-256 scalars across 11 paths: 238 owned-path updates plus three stale pins for the unchanged secops history index. Seven entrypoints updated. Original delivery and corrections preserved; final corrections by Codex gpt-6-astra. | done (#483) |
+| w4-handover follow-up 49 | Consolidated the existing #482–#485 handover with corrected source-backed claims, a concise README and Traditional Chinese delivery guide. Preserved prior assertions and immutable evidence, retained existing functionality and marked pending field/production prerequisites. Bundled the accepted netlab37 packet-attribution repair for one final integration check and PR; no new product feature. | done (#487) |
+| w4-ops-backups: central PostgreSQL backups — pgBackRest WAL archiving, base backups, point-in-time restore drill in CI, post-restore checklist and runbook (SECOPS-05, AT30) | WP12 | done (#86) |
+| w4-ops-backups follow-up 1 | PITR drill reentrant and race-free: per-run FVPN_BACKUP_DRILL_PREFIX (CI gha-; bare family name and fvpn-pg rejected), prefix-scoped cleanup, one readiness helper on the final ready line; two concurrent drills pass | done (#94) |
+| w4-ops-backups follow-up 2 | D-025 review r5 fixes: the drill proves WAL replay past the backup stop (A,M restored, B excluded), restore refuses non-empty targets, live PGDATA and its descendants, full/diff backups gated on pgBackRest verify, verify reads real primary/repository archive ages and never passes without a primary, handover SQL executed against the restored schema, evidence writes opt-in (FVPN_BACKUP_DRILL_RECORD=1), adversarial proof script runs in CI | done (#100) |
+| w4-ops-backups follow-up 3 | review_proof.sh passes shellcheck 0.10 (SC2317/SC2086/SC2012) so the Backup & PITR Drill workflow is green again; the orchestrator gate now runs shellcheck locally | done (#104) |
+| w4-ops-backups follow-up 4 | restore-drill and ops runbooks verified against current main: migration inventory stated as the invariant the drill checks (no literal counts), real table/column names, real endpoints with contract headers and bodies, worker job names; review_proof.sh drops its fixed-migration-id predicate | done (#111) |
+| w3-wire-policies-usage follow-up 3: durable idempotent replay for usage batches (stored first response, no in-memory map) | WP08 | done (#48) |
+| w3-wire-policies-usage follow-up 4: Fair-Use enforcement reaches the serving exits — `policy.activated` and `fup.member_generation_changed` recompile desired state for the exits that carry the member (duplicates do not bump the generation twice); `GetMemberNodeAckStatus` reads the observation `report_payload` and compares the right generations so `fair_use.applying` clears (usage harness AT19 blockers) | WP08 | done (#222) |
+| w3-wire-policies-usage follow-up 5: SECOPS-21 — after a central PITR restore the compiler bases the next config generation on max(nodes.desired_config_generation, nodes.applied_config_generation, max(desired_states.generation)) read on the locked nodes row, so the first post-restore offer is accepted by the agent (desired 11 / stored 13 / applied 14 → 15) instead of ErrStaleGeneration; deciding unit + integration tests; docs/policies/README.md | WP08 | done (#245) |
+| w3-wire-policies-usage follow-up 6 | D-091: the Fair-Use ACK reader counts only current, safe carrying exits — zero published carrying exits ⇒ applying=false, summary "no published exit carries this member" (registered-node fallback reading checks.applied_policy_refs deleted; r15 M-5); an exit whose node safety is not passed or whose current incarnation mapping (node_identity_endpoints.mapping_frozen) is frozen stays pending despite an old passing observation (r15 M-4 reader side); "pending desired-state compilation" only for a non-empty carrying set without envelopes; r15 proofs adopted as hard assertions; restore runbook Step 6 — post-restore review and explicit re-authorization of fenced devices (D-076/D-077/D-081), no SQL fences | done (#263) |
+| w3-wire-policies-usage follow-up 7 | D-095: the compiler holds a node's first post-restore compile until a fresh observation from its current incarnation arrives after the ledger left normal (durable per-node cutoff + pending fresh_observation step installed by FreezeIngest/BeginRecovery; CompileTx answers retryable DEPENDENCY_UNAVAILABLE "pending fresh observation after restore", then advances past the fresh receipt's applied generation); restore runbook Step 1 orders freeze-ingest before services start; SECOPS-21 still open: the HTTP desired-state cache suppresses the required generation advance (wire-nodes follow-up 29, D-099) | done (#270) |
+| w3-wire-policies-usage follow-up 8 | SECOPS-21 regression after D-099 (#277): the saved follow-up 7 HTTP cache probe passes unchanged on 510a4ab and is promoted to a permanent integration regression (restored 2/2/5 → first offer 6; SECOPS-21 shape 11/13/14 → first offer 15 with new verified signature/ETag after the exact retryable 503 hold; recovery completion before fresh evidence also 15; replayed pre-freeze report keeps the hold; unchanged GET → 304 without signing); a test-only overlay of the pre-#277 HTTP files fails with 304 / generation 11 (negative control); compiler unchanged; docs/policies/2026-10-31-secops-21-handover.md carries the live closure checklist for secops f12 — live SECOPS-21 still open (ACKs simulated) | done (#286) |
+| w2-control-core follow-up 6: httpapi command-record accessor for keyed handlers, system actor constant moved to internal/audit | WP04 | done (#51) |
+| w2-control-core follow-up 7 (hotfix): migrate the DNS publish fixture to audit.SystemActor and drop the deprecated releases alias (dns-lint SA1019 on main) | WP04 | done (#52) |
+| w2-control-core follow-up 8: control loopback metrics listener; config example with all five domain files | WP04, WP09 | done (#71) |
+| w2-control-core follow-up 10 | D-060 login burst limiter: browser sign-in routes no longer share the per-address anonymous burst (SECOPS-06 20 concurrent sign-ins from one address complete), dedicated login limiter with its own metric, r7 F-05/F-11 auth fixes with the review proofs, resolver-document GET exempt from the cache rule, config example loader test | done (#106) |
+| w2-control-core follow-up 11 | D-052 F-04: one member per canonical (issuer, subject); client_scope is diagnostic; advisory lock + savepoint retry schema-independent; admin identities aligned | done (#114) |
+| w2-control-core hotfix | test-only: D-052 F-04 review proof checks pg_constraint before adding the (issuer, subject) unique key so it survives migration 00183 | done (#122) |
+| w2-control-core follow-up 12 | 00185 oidc_login_flows.role with prefix backfill and one-release compatibility; admin operations project only bounded failure causes (SECOPS-11); issuer canonicalizer deferred to f13 | done (#128) |
+| w2-control-core follow-up 13 | login uses internal/members/issuer.Canonical (private canonicalIssuer removed); client_scope and verified_at updated in place after 00186 with one proof_updated audit per rotation; r9 IPv6 /64 login-bucket finding deferred to f14 | done (#137) |
+| w2-control-core follow-up 14 | r9 review (D-060): login, ingress and anonymous limiters key IPv6 on the /64, IPv4 per address; unparseable connection addresses fail closed with 429 and never occupy a principal slot; review proof adopted | done (#141) |
+| w2-control-core follow-up 15 | D-060: classify matched camelCase ids while the router loads PascalCase, so enrollment/webhook/observation/lease/usage routes had fallen into the agent or browser buckets (usage body 1 MiB instead of 8 MiB); fixed and pinned by a test over the loaded spec; secops f4 reruns AT31 | done (#145) |
+| w2-control-core follow-up 16 | SECOPS-15 closed: canonjson 1 MiB bound applies to signed documents only; usage bodies up to the 8 MiB class cap pass one bounded single-value JSON decode (trailing data 400); cap−1/cap/cap+1 agreement test for every class; 2 MiB usage batch accepted end to end; AUTH.md body-limit table | done (#161) |
+| w2-control-core follow-up 17 | bodies above 1 MiB keep the canonjson subset through a streaming walk (duplicate keys, invalid UTF-8, lone surrogates, depth, integer range rejected); per-class ingress tables, a separate anonymous table and certificate-before-insert on the agent listener; O(1) idle eviction; concurrency 429s counted (r12 M-1, M-2, L-1) | done (#169) |
+| w2-control-core follow-up 18 | Connection principals honour X-Forwarded-For only from configured trusted proxies; mTLS subject keys and the agent listener unchanged | done (#174) |
+| w2-control-core follow-up 19 | r13 H-2: forwarded/RemoteAddr IPv6 parse rule (bracketed never split; unbracketed parsed whole before a trailing port; zero-width :: with eight hextets collapsed) closes the trusted-proxy bypass; H-3: agent-listener ingress keyed by leaf-certificate SHA-256 and class concurrency slot taken before AuthenticateAgent (no chain = 401, no insert); M-5: eight-bucket eviction window + anonymous /48 budget of half max_rate_principals; L-2: identity read in the single streaming walk, no second Unmarshal; AUTH.md/README.md updated | done (#190) |
+| w2-control-core follow-up 20 | r14 M-4: agent mTLS ingress budget keyed on the verified leaf's urn:fvpn:node SAN (fingerprint only as fallback), so renewal-overlap leaves share one burst; L-1: idle eviction walks the whole table from the tail (window of 8 removed); L-2: an anonymous /48 may hold all but one reserved slot (max/2 share removed); r14 proofs adopted as regression tests | done (#215) |
+| w2-control-core follow-up 21 | browser limiter class kept at 10/s burst 30 after measuring the portal fan-out (heaviest mount 3 GETs, composed view 5, operation second 7; subject bucket = half the 20/60 ingress table so two sessions per address fit); TestFollowup21_BrowserClassCalibration pins the numbers and classify; docs/control/AUTH.md calibration section (D-078) | done (#233) |
+| w2-control-core follow-up 22 | D-083: anonymous /48 resident cap min(max_rate_principals/2, 64) at both anonymous tables (one /48 admits 5 of 10 and 64 of 10 000; same-group idle replacement only, never evicts another group; enroll and webhook proven; max_rate_principals=1 fail-closed to zero IPv6 slots); admin list reads in a read class read_rate 30/s burst 60 keyed by the authenticated session UUID, browser 10/s burst 30 now also keyed by the session UUID (the previous session scope held the account id), ingress unchanged 20/s burst 60; r15 Q1/Q6 proofs adopted as hard assertions; TestAT06_BrowserBucketsUseAuthenticatedSessionRows; GET /admin/operations collection absent from the contract → contracts owner; the brief was numbered 21 by mistake | done (#252) |
+| w3-dns-publish follow-up 2: D-029 audit conformance for publication and withdrawal writers | WP08 | done (#45) |
+| w3-dns-publish follow-up 3: threat-feed content pipeline (D-054): bootstrap pin, cadence refresh with last-good, failure observations, Layer 3 rules published to the resolver document | WP08 | done (#79) |
+| w3-dns-publish follow-up 4 | Feed cadence default and null attribution (D-058), threat_feed_status projected from real refresh observations, resolver-document delivery reads for the nodes owner (D-056), revision 5 evidence names | done (#93) |
+| w3-dns-publish follow-up 5 | D-025 review r4 fixes (F-01–F-07): removal deltas checked against last-good and the approved snapshot with bounded additions and public-suffix wildcard boundaries; SSRF guard (TCP 443 only, special/zoned IPv6, redirects classified ssrf_refused); streaming bounded feed parser; activation operations carry dns_feed_refresh/dns_document steps and never succeed on a failed refresh or publish; lineage fan-out with generation fencing; atomic observations and outbox receipts; migration 00182; proofs kept in CI | done (#101) |
+| w3-dns-publish follow-up 6 | contract revision 6 alignment: attribution null accepted and only non-null blanks rejected consistently across source metadata, policy validation and refresh (B9); canonical ResolverDocument vector pinned by recomputing Compile bytes and digest (ResolverDocumentRef and DnsPolicyEvidence examples bound to it) | done (#113) |
+| w3-dns-publish follow-up 7 | r8 review: node/dns admin client refuses every redirect (D-061); fixed error sentence without URL or credential; review proof retained | done (#120) |
+| w3-dns-publish follow-up 8 | block-response shape measured on the pinned AdGuard Home with the production `/control/dns_config` (`blocking_mode nxdomain`): blocked `A` / `AAAA` / `HTTPS` return NXDOMAIN, blocked `CNAME` / `SVCB` / `TXT` / `MX` / `NS` return NODATA (NOERROR, empty answer, SOA in authority), the SOA TTL honours the configured `blocked_response_ttl` (60 in production, 5 in the fixtures); CNAME-chain exception documented; `docs/dns/BACKEND.md` §2.1 corrected with dated per-type expected-response tables, evidence and the answers for devstack follow-up 16 and members follow-up 8 (AT20–AT22, F4-05 / F4-07); CI conformance probe over 432 exchanges against the pinned image so a pin bump that changes the shape fails a test | done (#309) |
+| w3-dns-publish follow-up 9 | F10-03 measured on the pinned AdGuard Home v0.107.59 through the real node/dns Apply on two owned resolvers (36 per-query traces + the complete authority history): ordinary primary hits keep the TTL-10 data with per-second decrement and no authority exchange, fresh fetch after 10.1 s; the secondary caches independently; whole-second expiry permits a same-primary fresh answer at 9.35 s (precision, not optimistic caching); a delayed first fetch of 2,502 ms caches normally, one dropped upstream packet 10,001 ms then retry success, two drops SERVFAIL at 20,001 ms, controlled client fallback 2,501 ms — latency alone does not select the cause; **F9-INFLIGHT**: a late upstream reply arriving after the client abandons the request but before AdGuard's 10 s timeout replaces a newer cache entry (new→old within 1.3 s; inherent insertion ordering, no exposed cache / mode / timeout setting fixes it; TTL is a maximum lifetime, not a minimum retention or cross-query consistency guarantee); defaults read back live after Apply (cache_size 4194304, cache_ttl_min/max 0/0, cache_optimistic false, upstream_timeout 10 s, fallback_dns []); BACKEND §2.1.5 + row F9-CACHE with the fetch-vs-fallback / outstanding-request attribution rule; dns-positive-cache conformance target + mandatory DNS PR gate (a future pin that changes the behaviour fails); the historical members F10-03 run 2be2d32f stays failed and unattributed; production blocked_response_ttl still 待決策; requests to devstack (dns_trace outstanding-request correlation) and members (AT20 attribution) | done (#345) |
+| w2-portal-wire: portal on generated contract types, auth session, CSRF, contract-example mocks | WP10 | done (#8) |
+| w5-node-installer: `fvpn-node-install` for Ubuntu 24.04 nodes (§6.3, PKG01, ENR03, §18.2) — install / idempotent re-run (`already_current`) / check / upgrade staged for fvpn-updater / remove / reenroll (identity retired, `usage.db` kept) / image-prepare + firstboot; journal-first rollback that never flushes the host ruleset; signed-release bootstrap refusing `latest`; systemd units (watchdog without PartOf/BindsTo/Requires on the agent); privileged ubuntu:24.04 container proofs; AT07 re-run / controlled-reinstall / image-clone preconditions enabled; updater apply hook, boot_id source and the fresh-node no-desired-state oneshot routed to the updater lane, ENR-06 wrappers to devstack | WP09 | done (#239) |
+| w5-node-installer follow-up 2 | D-089 installer side: the pending record retains the exact verified signed manifest envelope (manifest_path, 0600) plus a per-invocation request_id, written atomically and exposed by check; install/reenroll probe the installed updater and run `fvpn-updater seed` when present, recording the outcome in install/baseline.json and `check --json` ("not seeded (updater without seed)" against the merged updater, exit 64 — no fabricated baseline); every lock through node/nodelock; refresh-boot-id ExecStartPre removed from both updater units and /etc/vpn-node dropped from ReadWritePaths; docs/node/install.md corrected; the real merged-updater consumer proves CHECKPOINT_FAILED / exact-record idempotence / HASH_MISMATCH; the systemd container lifecycle gate did not execute this run (host inotify exhaustion) — re-run in follow-up 3 once updater follow-up 14 ships seed | done (#258) |
+| w5-node-installer follow-up 3 | ENR-06 root cause fixed: the packaged NetBird daemon bound /var/run/netbird.sock outside the ProtectSystem=strict allowlist and shared runtime cleanup could remove the agent heartbeat path → the daemon owns /run/fvpn-netbird/netbird.sock (0700), probes use it, the shared runtime survives every consumer stop/start, firstboot ordering fixed; real-daemon container evidence (socket bound → enrollment → services active → check healthy; install / re-run / repair / check / removal pass), offline seed + signed higher-release verification pass, check reconciles seeded installs against the updater journal; the full journaled upgrade stays a required RED test — final_sample finds no /var/lib/vpn-node/state/meter.checkpoint (agent/updater owners: durable metering barrier, candidate release identity after a journaled switch); dated note docs/node/install-followup3-2026-10-31.md for devstack ENR-06 reruns and handover; privileged suite 9 pass / 1 fail, lint/unit/build exit 0 | done (#279) |
+| w5-node-installer follow-up 4 | **D-116**: the ownership marker leaves `inet fvpn` — a separate hookless table `inet fvpn_install` holds only the empty regular `owner` chain with the installer comment; the agent table receives no new object; same-release install (incl. `already_current`) and upgrade migrate the legacy follow-up 3 marker under the update lock (the sole mutation in `inet fvpn` deletes the exact old empty chain), unfamiliar ownership shapes fail closed, creation / migration / removal are verified by read-back in an atomic nft transaction; remove, purge and legacy journal rollback preserve `inet fvpn`; `check` exposes marker table / presence / legacy presence and prints the updater terminal state (missing marker after reboot informational, legacy or malformed marker = drift); privileged suite 10 pass / 1 fail — D-116 passes on a real install / enroll with the production baseline verifier (exactly four rendered chains, separate hookless marker, legacy migration, two idempotent reruns, agent-table JSON unchanged), F9-01 passes (real pinned NetBird daemon on the new socket path through the strict packaged unit, shared runtime lifecycle preserved), remove / purge and seeded-image firstboots pass; the one failure is the known full journaled upgrade (`final_sample` `CHECKPOINT_FAILED`, apply exit 0 — pending updater follow-up 15 / agent-core follow-up 24, no fake checkpoint); serving not claimed (enrollment-only control, generation-0 baseline) — devstack follow-up 18 re-runs the serving installer fixture; docs/node/install.md records today's seed umask, accepted unit exits and terminal-result interpretation as temporary contract paragraphs; dated note docs/node/install-followup4-2026-10-31.md | done (#302) |
+| w5-node-installer follow-up 5 | Full local journaled upgrade GREEN in the privileged amd64 suite (13/13, 134 s): `TestD089_RealSeedThenJournaledUpgrade` with the real durable meter checkpoint, candidate executable identity, signed desired-state/lease fixtures (`fakecontrol.UpgradeHealthFixture`), a real isolated TCP probe and all five candidate health checks passed; `TestUPD05_StoppedProbeFailsRealHealth` proves the genuine health stage fails closed (ROLLBACK_FAILED exit 1, old release current, recovery required); F9-05: lower sequences refused with `DOWNGRADE` / exit 1 under the shared lock before marker reconciliation, extraction or staging, also after a journaled switch (`TestF905_CLIDowngradeHasNoStagingEffects`), decimal comparison; seed replays under umask 022/077 keep baseline/hash/timestamp; container consumer aligned with D-110 job identity and the exit-2 forwarding-blocked sentinel while the D-121 library test stays unchanged; temporary install.md wording replaced by the merged updater contract; `docs/node/install-followup5-2026-10-31.md`; NetBird management status TEST ONLY — native membership/traffic, held usage, central acceptance, live meter-barrier handshake and physical arm64 not claimed; ENR-05 consumption → installer follow-up 6 | done (#311) |
+| w5-node-installer follow-up 6 | ENR-05 consumed; the journaled upgrade runs through a real correlated FileMeter success (D-125 barrier_id, #320 producer / #323 consumer) with the post-switch revoke and re-enrollment seed passing on the combined source without tree repair (devstack 18 seed HASH_MISMATCH was the pre-#307 extractor), 13/13 privileged tests; evidence docs/node/install-followup6-2026-10-31.md; serving-node rerun handed to devstack 19 | done (#326) |
+| w5-node-installer follow-up 7 | updates F10-02 fixed: generated updater config derives result_url (POST /api/v1/agent/update-results) from the required validated HTTPS control origin with the enrollment server CA, enrolled mTLS cert/key and allowed_artifact_origins = exact control origin; loopback TEST ONLY opt-in; invalid inputs fail before host changes; same-release reruns repair reporting fields only; privileged 13/13 incl. real generated-config delivery read-back, distinct server / client-issuer CAs, wrong-trust and unauthenticated rejection; docs/node/install-followup7-2026-10-31.md consumes devstack 19 (closes installer 6 request 1) and updates 10, seven UUID-scoped pins, D-132 audit clean; no contract or updater field change | done (#341) |
+| w5-node-installer follow-up 8 | No installer behaviour change: `renderUpdater` and same-release reporting repair match updater 18's hand-off (#342) and updater 19's `TestUPD05_InstallerReportingConfigShape` (#351) field by field — exact origin, enrollment server CA, enrolled client certificate / key paths, explicit TEST ONLY loopback — with the comparison table in `docs/node/install-followup8-2026-10-31.md`; new producer-side literal-JSON regression `packaging/installer/followup8_test.go` (CGNAT and loopback origins; initial install, stale reporting repair, identical rerun) catches drift independently of the updater's JSON tags and reads no living AT evidence; installer archive wording and the per-distinct-archive cost corrected in `docs/node/install.md` / `install-followup3-2026-10-31.md`, linking the updater's Offline installation paragraph; empty `mtls_ca` = system roots with normal verification, the installer always renders the explicit enrollment server CA. **F10-01 CLOSED** (devstack 20 #343, updates 11 #346). Gaps unchanged: distinct-endpoint CA / private-mirror deployments, physical arm64, power loss, production rollout. Privileged suite 13 / 13; 0 requests. | done (#353) |
+| w5-node-installer follow-up 9 | r18 M-2 unit side (agent-core 32 request 1): `fvpn-agent.service` sets `TimeoutStopSec=15s` (13 s cooperative budget + 2 s margin); `fvpn-watchdog.service` gains `Before=fvpn-agent.service` so a joint stop takes the agent down first and the watchdog outlives it (no new Requires / PartOf / BindsTo). Binary replacement waits with a fresh 20 s per-unit stop deadline (15 s + 5 s), journals `stop-failed` on error or timeout and rolls back before touching the candidate, `current` or units (previously stop errors were ignored); other installer stop paths unchanged. The updater's rendered `stop_command` runs under its CLI's `context.Background()` — no shorter bound. Real installed agent in the privileged suite: SIGTERM→exit 7.8 / 8.0 ms, `systemctl stop` 11.8 / 17.9 ms (agent only / with watchdog), `TimeoutStopUSec=15s` loaded; installer-test 13 / 13. 0 requests. | done (#378) |
+| w5-project-pages | Bilingual GitHub Pages introduction, English and Traditional Chinese READMEs, and English delivery guide; responsive static pages preserve NetBird attribution and validation limits. | done (#489) |
+| w5-project-pages copy | Rewrote the bilingual introduction around audience, capabilities and onboarding; retained one concise development note with detailed scope in documentation. | done (#490) |
+| w5-project-readme | Aligned both READMEs with the public introduction and added official-app onboarding with focused documentation and support guidance. | done (#491) |
+
+Later waves cover the control API, enrollment and PKI, node agent, usage ledger, entitlements and billing, fair-use policy, fleet updates, installer and images, end-to-end and fault-injection suites, backups and acceptance reporting.
+
+## Needs real-world resources
+
+These items cannot be proven in CI and need real resources:
+
+- Official NetBird apps on Windows, macOS, iOS and Android (G1; AT01, AT09, AT21).
+- Ubuntu 24.04 nodes on amd64 and arm64 on real networks, including double NAT (AT05, AT09, AT23).
+- A payment provider sandbox account (AT03, AT04).
+- A commercially licensed DNS threat feed (AT22).
+- A production domain, TLS certificates and identity provider clients.
diff --git a/tests/handover/testdata/history/follow-up-55/prior-docs_e2e_at_updates_history_follow-up-9_follow-up-4.md.txt b/tests/handover/testdata/history/follow-up-55/prior-docs_e2e_at_updates_history_follow-up-9_follow-up-4.md.txt
new file mode 100644
index 000000000..a8452c10f
--- /dev/null
+++ b/tests/handover/testdata/history/follow-up-55/prior-docs_e2e_at_updates_history_follow-up-9_follow-up-4.md.txt
@@ -0,0 +1,45 @@
+# Follow-up 4: target evidence and observation authority
+
+The current run and results are in [summary.md](summary.md). The previous
+passing rollback capture is preserved under [history/follow-up-3](history/follow-up-3/README.md);
+the earlier blocked capture remains under [history/follow-up-2](history/follow-up-2/README.md).
+
+The suite still builds and registers real signed candidates through
+`tests/e2e.PrepareServingBaseline`. D-053 health comes from the running agent.
+The rollback candidate performs a real TCP probe against its closed loopback
+port. Neither journal health nor projector-owned database fields are written.
+The additional API stimuli below are TEST ONLY negative cases explicitly
+requested by the orchestrator; they are separate from updater-generated evidence.
+
+| Scenario | Follow-up 4 extension | Evidence in the AT record |
+|---|---|---|
+| AT25 | A failed result at stage `check` with null `error_code` must return 422 `VALIDATION_FAILED`; the newly authorized job remains queued without attention | `failed_without_cause`, `check_failed_requires_cause` |
+| AT26 | The three revision 7 fields are present and null before a current receipt; after rollback they exactly match the accepted result | `batch_api_without_receipt`, `revision7_batch_api_response`, `check_revision7_*` |
+| AT26 | Two changed payloads reuse the accepted result ID; the second is replayed three more times. All five requests must return 409 `ACK_CONFLICT`, with exactly one conflict row and one audit per hash | `conflict_*`, `conflict_persistence_counts`, `accepted_receipt_unchanged` |
+| AT27 | A disagreeing heartbeat cannot replace the accepted release or recovery flag and must withhold confirmation; an agreeing heartbeat confirms | `authority_before`, `disagreeing_heartbeat`, `agreeing_heartbeat` |
+| AT27 | A report with a generation 100 above the accepted generation and null job ID records arrival without advancing the high-water or changing the serving release | `jobless_generation_report`, `restored_confirmation`, `check_observation_authority` |
+
+The observation probes pause the real agent and copy its last real report,
+retaining its checks. They change only report ID, time, and the requested
+release/update fields. After the arrival-only probe an additional agreeing
+report restores confirmation, then the real restored agent resumes. The node's
+private key stays on the node: the probe invokes its HTTP client inside the
+owned container. Only request evidence, response bodies and HTTP status return
+to the harness. Database queries are read-only.
+
+The missing-cause probe copies a real result's restored health and binds the
+negative request to a new API-authorized job. It does not assert that an updater
+produced this malformed result. Conflict probes change only `boot_id` and
+recompute the canonical payload hash, leaving the immutable accepted receipt
+untouched. No progress result is posted to make rollback pass.
+
+The records-first exit gate also requires every extension's evidence. An older
+base-scenario pass cannot hide a skipped or failed follow-up check. Run with
+`make -f mk/at-updates.mk at-updates`; it tears down the owned stack even when
+any assigned scenario remains blocked. See [scope mapping](follow-up-1.md) for
+the broader §19 cases that these narrower scenarios do not claim to complete.
+
+The [initial follow-up 4 run](history/follow-up-4-rate-limit/README.md) was
+blocked by one 429 during an unpaced conflict burst. The probe now waits two
+seconds before each node POST to stay within the existing rate buckets; no
+product limit is changed and no response is hidden by an automatic retry.
diff --git a/tests/handover/testdata/history/follow-up-55/prior-docs_handover_00-index.md.txt b/tests/handover/testdata/history/follow-up-55/prior-docs_handover_00-index.md.txt
new file mode 100644
index 000000000..0aa95678e
--- /dev/null
+++ b/tests/handover/testdata/history/follow-up-55/prior-docs_handover_00-index.md.txt
@@ -0,0 +1,17 @@
+# Handover index
+
+**目前交付:**[交付導覽](../DELIVERY.md)整理現有功能、操作入口與驗證範圍。下列 follow-up 快照保留各自當時的範圍與結果。
+
+**Current delivery:** The [delivery guide](../DELIVERY.en.md) covers current capabilities, operating entrypoints and verification scope. The follow-up snapshots below retain their historical scope and outcomes.
+
+**Archived cut:** [follow-up 54](follow-up-54.md), #533, #534, #535 and #536 at `2f5159f3`; source-backed changes, verification boundaries and carried gaps.
+**Earlier archived cut:** [follow-up 53](follow-up-53.md), #529, #528, #530, #531 and #532 at `e055143e`; source-backed changes, verification boundaries and carried gaps.
+
+Historical follow-up 17 cutoff: [follow-up 17 operator evidence](follow-up-17.md). #313
+harness-proves the SECOPS-21 first-offer capture (2/0/0, delivery 4 > retained 3,
+matching local digest and central 202); full restore was open for secops 13 at that cutoff.
+Earlier restore measurements below retain their original cutoff.
+
+Start with the [runbook catalogue](README.md). The [database and retention index](11-database-and-retention.md) includes `00189_node_incarnation_usage_outbox.sql` (`#243`, SECOPS-19 / D-075 / D-077 §2). The migration inventory comes from `db/migrations/*.sql`; use the deployment checklist to compare the complete inventory with the target database.
+
+D-084 adds `00190_serving_leases_clamp.sql` (#259): run the forward migration before deploying the freeze clamp. Fleet-update follow-up 10 (#273) adds `00191_installer_update_results.sql` with Down for D-089 / D-097. Apply it before the new control binary, whose node summary reads the table. Db follow-up 2 (#280) enforces the test-time Down rule above 00188; production migrations remain forward-only.
diff --git a/tests/handover/testdata/history/follow-up-55/prior-docs_handover_11-database-and-retention.md.txt b/tests/handover/testdata/history/follow-up-55/prior-docs_handover_11-database-and-retention.md.txt
new file mode 100644
index 000000000..7591b0062
--- /dev/null
+++ b/tests/handover/testdata/history/follow-up-55/prior-docs_handover_11-database-and-retention.md.txt
@@ -0,0 +1,43 @@
+# Database and retention index
+
+**Current cut:** [follow-up 54](follow-up-54.md).
+
+**[Follow-up 18](follow-up-18.md) (2026-10-31 EDT):** Deploy migration 00192 before the new control binary; installer corrections require the new evidence key and bound.
+
+The complete forward inventory is `db/migrations/*.sql`, embedded by the migrator. Follow [deployment §3](deploy.md) for migration status and role separation and the [restore drill](restore-drill.md) for read-only reconciliation queries. `TestHandover_MigrationInventory` derives the count and highest number from the files; examples intentionally abbreviate status output instead of pinning a count that becomes stale.
+
+| Migration | Operator significance |
+|---|---|
+| `00187_identity_roaming_and_readiness_grace.sql` | Durable roaming candidate and stale-generation readiness grace (D-073 / D-075). |
+| `00188_device_authorization_fences.sql` | Restored authorization fence; list and explicitly re-authorize devices after recovery (D-076). |
+| `00189_node_incarnation_usage_outbox.sql` | `node_incarnations.usage_outbox` JSONB and `usage_outbox_observed_at` timestamp (`#243`, SECOPS-19 / D-075 / D-077 §2). Both are null on a new incarnation. An accepted usage observation updates them transactionally; an omitted usage block preserves the prior summary. `NodeDetail.usage_outbox` is projected from this domain row and participates in the strong ETag. |
+| `00190_serving_leases_clamp.sql` | D-084 (#259): the immutable-row guard permits only strictly shortening `expires_at`, with every other column unchanged. The freeze transaction clamps matching stored leases at transaction time + 60 s; signed envelopes and replay stay unchanged. Run this forward migration before the new freeze code. |
+| `00191_installer_update_results.sql` | D-089 / D-097 (#273): append-only installer receipts, exact ACK replay and current-incarnation installer summary. Includes Down; apply before the new control binary. |
+| `00192_installer_outcome_corrections.sql` | D-127 (#322): payload-derived UUID result_id key plus unique outcome_sequence bounded to 1..2 per node/job. First receipt and stored ACKs remain immutable. Apply before control; Down refuses once corrections exist. |
+| `00196_node_operation_targets.sql` | Apply before the new worker and control binaries, through [deployment §3.3](deploy.md#33-running-forward-migrations-fvpn-migrate). Adds operation captures, per-node targets and coalesced outstanding subject removals, with node/subject indexes. Removals have a UUID primary key and a unique node/subject key; both generation columns are positive uint64-bounded numerics. All three tables have spec comments. Eligible ACKs delete outstanding removals; revocation retains them, permanent retirement removes them in the sweep. Down drops all three tables; the wildcard embedded migration round-trip includes 00196 and `DownTo(188)`, without a run/pass claim here. Evidence history remains subject to retention guards. |
+
+The outbox summary is informational and independent of audit retention; it does not alter readiness, leases, or publication. See [operator guide §2.3](operator-guide.md) and [database retention policy](../db/README.md). Historical usage remains attributed to its original node incarnation after reinstall; do not move its ledger to a replacement identity.
+
+Db follow-up 2 (#280), invariant 16: every migration above 00188 must have a working Down. `db-lint` rejects missing/comment-only/empty Down sections; `Test15_5_MigrationsRoundTrip` proves Up → DownTo(188) → Up. This test-time reversibility requirement does not authorize production rollback of evidence tables.
+
+## Compile and capture transaction constraints
+
+The database-wide two-int advisory fence is named by `CompileFenceNamespace` and `CompileFencePurpose` in [compile_fence.go](../../internal/nodes/commandtx/compile_fence.go). Compilation takes the shared fence as its transaction’s first lock; capture takes it exclusively before selection and again at final capture, draining in-flight compiles. Under either fence, all reads and writes stay on the fenced transaction and acquire no extra pool connection, including the resolver publication lookup through `LatestPublishedTx`.
+
+The per-member session lock uses nonblocking `pg_try_advisory_lock` on `hashtextextended(member ID, 165)`; contention returns `ErrLeaseLost` for retry. After the compile fence, row order is node → removal → target → operation. Capture and sweep lock nodes in UUID order; separate removal reads preserve acknowledgements that commit while capture waits. See [capture locking](../../internal/nodes/operation_targets.go) and [removal locking](../../internal/nodes/subject_removals.go).
+
+## Operation captures and evidence
+
+`node_operation_capture:` is completion evidence even for zero targets. `node.operation_target_acknowledged` and `node.operation_target_unconfirmed` audit individual outcomes; `member.nodes_completed` records the capture and target outcomes, alongside `node.revoke_isolation_pending` and `node.revoke_isolation_resolved`. A succeeded step can include unconfirmed targets. Per-target detail is stored in the database/audit trail; no target-detail API/UI is implemented. Ordinary audit/evidence retention guards still apply; capture history authorizes neither an immutable-evidence purge nor a blanket retention/replay bypass. See [operation target evidence](../../internal/nodes/operation_targets.go) and [retention policy](../db/README.md).
+
+## D-130 interval projection rollout — #331 / #333
+
+Apply `00193_usage_events_interval_precision.sql` through the normal migration
+runner before ingestion resumes, including after restoring a pre-00193 schema.
+The stored checks on usage_events, usage_samples and usage_ledger_gaps use <=
+at microsecond precision; strict order still applies to the canonical
+nanosecond interval (`interval_order`). Constraints are never bypassed.
+Unexpected constraint errors stay retryable 503 with no ACK; a valid sealed
+1 ns event recovers on the next retry after deployment without spool edits,
+event skipping or re-enrollment. Down refuses equal-endpoint rows atomically;
+never delete evidence to downgrade. [Current operator evidence](follow-up-19.md).
diff --git a/tests/handover/testdata/history/follow-up-55/prior-docs_handover_README.md.txt b/tests/handover/testdata/history/follow-up-55/prior-docs_handover_README.md.txt
new file mode 100644
index 000000000..f6c00d139
--- /dev/null
+++ b/tests/handover/testdata/history/follow-up-55/prior-docs_handover_README.md.txt
@@ -0,0 +1,482 @@
+# Wave 4 Hand-Over Documentation (`docs/handover/`)
+
+**Archived cut:** [follow-up 54](follow-up-54.md), #533, #534, #535 and #536 at `2f5159f3`; consolidated deliveries and guide revisions.
+**Earlier archived cut:** [follow-up 53](follow-up-53.md), #529, #528, #530, #531 and #532 at `e055143e`; the registers below retain that cut's content.
+
+This directory contains the production deployment, backup/restore, parameter calibration, operator, and bilingual member guides for Freedom VPN v1 (`§16`–`§22`, Work Package `WP12`). Lab and acceptance evidence across the repository is recorded as dated JSON and Markdown pairs under `docs/e2e/runs//.json` and `.md` sharing a `run_id` and `source_commit` (`docs/e2e/README.md`).
+
+## Deliverables Index
+
+| Document | Scope & Audience | Spec References |
+|---|---|---|
+| [**Production Deployment Runbook (`deploy.md`)**](deploy.md) | Transitioning from `deploy/devstack` to production hosts: PostgreSQL 17 with WAL archiving and role separation, `fvpn-control` (`:8443` / `:9443`) and `fvpn-worker`, OIDC with Admin MFA (`issuer.Canonical` literal-slash rule), NetBird CE (`0.82.0`), AdGuard Home (`v0.107.59`), immutable release origin, all 5 domain settings files (`members_config_file`, `nodes_config_file`, `dns_config_file`, `policies_config_file`, `usage_config_file`), key ceremonies (`node-ca`, `release`, `ledger-epoch`), node host prerequisites (`nft` with `D-079` `#241` `loopback_scoped` rule, `tc`, `ip`, `conntrack`), `fvpn-node-install` host installer & lifecycle commands (`#239`, `docs/node/install.md`), first node enrollment, fleet offline lease ceiling configuration (`GET`/`PUT /api/v1/admin/fleet-config`, `D-065`, `#176`, `#179`), `D-073` (`#228`) two-replica durable roaming candidate (`node_identity_endpoints` `candidate_hash` / `candidate_first_seen_at` / `candidate_last_seen_at` under `SELECT ... FOR UPDATE`), and post-`complete-recovery` review and re-authorization of devices fenced in `device_authorization_fences` (`D-076`, `D-077`, `D-081`, `#227`, `#238`, `#242`, `#244`, `GET /api/v1/admin/devices?authorization_unconfirmed=true` and `POST /api/v1/admin/members/{member_id}/devices/{device_id}/authorize`). Includes complete `TEST ONLY` replacement inventory (including `-grace-seconds` from `#182`). | `§3`, `§5`–`§8`, `§12`–`§13`, `§15`–`§17`, `§21`, `D-065`, `D-073`, `D-076`, `D-077`, `D-079`, `D-081` |
+| [**Backup & Restore Drill Record (`restore-drill.md`)**](restore-drill.md) | Repeatable `AT30` point-in-time restore checklist, Wave 4 measured RPO and RTO evidence (`2026-10-29`, `#221` live `2026-10-30` `AT30` second half, and `#242` live **`AT30` `passed`** run `42396951-2d9a-49f4-95c3-45f33d9519d5`: `7.17 s` isolated `T0` restore, `112.35 s` protocol RTO, `121.88 s` total outage RTO, `90.301 s` pre-replay DB RPO, `0 s` / `0 B` post-replay service usage RPO, `SECOPS-18`, `SECOPS-19`, and `SECOPS-05` closed, `SECOPS-21` closed on the assembled restore harness in `#316`), usage ledger freeze & `ledger_epoch` rotation (`fvpn-usage-admin`), node checkpoint signature verification & replay (`replay_unavailable` zero-byte tombstones), post-restore reconciliation for payments (`billing.reconcile`) and NetBird (`members.reconcile` and node state reconciliation), and `D-076` / `D-077` / `D-081` (`#227`, `#238`, `#242`, `#244`) post-`complete-recovery` step to list fenced devices via `GET /api/v1/admin/devices?authorization_unconfirmed=true` (`00188_device_authorization_fences.sql`) and re-authorize explicitly via `POST /api/v1/admin/members/{member_id}/devices/{device_id}/authorize` (`409 DEVICE_LIMIT_REACHED` per `D-081`) where the member is entitled. | `§9.3`, `§10.8`, `§17.2`–`§17.4`, `§19 AT30`, `D-076`, `D-077`, `D-081` |
+| [**Parameter Calibration Guide (`calibration.md`)**](calibration.md) | Master calibration table for prices/plans, device limits, fair-use thresholds/tiers (`shadow` vs. `enforce`, `minimum_rate`, and `#222` serving-exit recompilation & `fair_use.applying` convergence), serving lease ceiling (`max_offline_lease_seconds` `60..86400`, `D-065`), `D-074` (`#224`) gated `node.publish` retry budget (`worker_attempts = 10`, `~4.3–8.5 minutes`), PKI/token lifetimes, updater synthetic `probe_peer` bounds, whole-ruleset nftables foreign-chain verification (`#220`, `#241` `D-079` `loopback_scoped` rule in `127.0.0.0/8` and `::1`), DNS list sources, cadence & node resolver credentials (`D-054`, `D-058d`, `D-061`), retention periods, per-node capacity ceilings (`host_reserve_bps`, `down_bps`, `up_bps`), and per-class HTTP rate limiters (`D-060`, `browser_rate` `10/s` burst `30` confirmed in `#233`, `agent_rate` `5/s` burst `10`, and `D-078` `#229` on `429` with `Retry-After`) with location, default status (`none`, `test only`, `proposed`), spec constraint, and decision owner (`Ted` or `core team`). | `§4`, `§5`–`§13`, `§16.1`–`§16.5`, `§20`–`§21`, `D-065`, `D-074`, `D-078`, `D-079` |
+| [**Operator Guide (`operator-guide.md`)**](operator-guide.md) | Daily and weekly operator checklists, reading asynchronous `Operation` receipts (worker contention is not failure `#205`/`#208`), `audit_events` (transition-only discovery denial audits on `fleet_config`), and current OpenAPI `1.11.0` revision 15 contract status (`50` operations; all 50 are wired on `main` after `revokeMemberGrant` registration in #297, including `listAdminDevices` and `authorizeMemberDevice` in `#238`/`#244` (`D-077`, `D-081`), `MemberDevice.authorization_unconfirmed` always emitted on `GET /api/v1/member/devices` (`D-077`, `D-076`), `NodeDetail.usage_outbox` (`#243`, `00189_node_incarnation_usage_outbox.sql`, `SECOPS-19` closed, with `ETag` participation), `listNodeIncarnations` `#200`, `Enrollment.token_sha256` `#195`, `awaiting_member_grants` / `ErrorCode.AWAITING_MEMBER_GRANTS` `D-071` `#213`/`#216`/`#223`/`#238`/`#243`, `NodeDetail.identity_conflict` `D-072` `#211`/`#213`/`#217`/`#223`/`#235` with `ETag` participation, and the original 12 node enforcement verification reasons plus `TC_FOREIGN_FILTER` in `ErrorCode` (#261)), enrolling/installing/reinstalling/classifying/publishing/revoking/retiring nodes (`#239` `fvpn-node-install` `docs/node/install.md`, `D-055`, `D-057`, `D-058`, `D-061`, `D-067` provisional grant-less lease renewal and central `60 s` expiry backstop `#193`/`#198`/`#206`/`#216`, `D-070` revoke `nodes` step outcomes `conntrack_delete_pending`/`conntrack_delete_succeeded`/`node_failed_closed` `#206` with `#217` exit-group + `90 s` freshness fence, `D-075` `#228` one-shot stale-generation grace column `node_incarnations.stale_generation_grace_at` (`00187_identity_roaming_and_readiness_grace.sql`), `D-072`/`D-073` cloned-identity conflict runbook `#211`/`#213`/`#217`/`#223`/`#228` with durable roaming candidate in `node_identity_endpoints`, `D-074` `#224` gated `node.publish` waiting state, `#225`/`#232` pure-read `fvpn-agent usage snapshot -config /etc/vpn-node/agent-run.json [-json]` and `ledger_epoch` `null` until `ApplyCheckpoint`, `SECOPS-19` `#226`/`#243` `ObservationReport.usage` and `NodeDetail.usage_outbox`, `#220`/`#241` `D-079` whole-ruleset nftables read-back and `loopback_scoped` rule, 12-attempt `conntrack -D` fail-closed bound `#193`/`#202`, zero-binding `empty_exception` vs. `populated_verified` publication attachment basis, `data_path_probe` reasons, and `ISOLATION_POLICY_INVALID` on pending `conntrack -D`), configuring the fleet offline lease ceiling (`GET`/`PUT /api/v1/admin/fleet-config`, `D-065`, `#176`, `#179`, `60..86400` s, `fleet_config.update` audit, and lease renewal timing), running `all_nodes` update batches (`#212` `AT23`–`AT27` passing live with `#204` probe peer export), `D-053` / amended `D-064` health attestation, `probe_omitted` evidence, and rollback recovery `blankHealth` / `probe_omission` pruning (`#192`), update observation authority (`D-068` `#189`: `unconfirmed`, null-only pre-result seeding, current-job-only attribution, incarnation-wide accepted-result authority, and `update_observation.unexpected_release`), triaging `needs_attention` and rolled-back targets (`#177`, `#186`, `#212`), threat-feed and resolver-document troubleshooting (`D-054`, `D-056`), freezing/recovering/adjusting the usage ledger (`#214` `AT14`–`AT18` passing live, `#221` & `#242` `AT30` passed live, `SECOPS-21` closed on the assembled restore harness in `#316`), suspending members, `D-076`/`D-077`/`D-081` (`#227`, `#238`, `#242`, `#244`) post-restore device authorization fences (`device_authorization_fences`, `00188_device_authorization_fences.sql`, `GET /api/v1/admin/devices?authorization_unconfirmed=true`, `POST /api/v1/admin/members/{member_id}/devices/{device_id}/authorize`), Fair-Use enforcement reach and `fair_use.applying` convergence (`#222`), per-class rate limiters (`#190`, `#215` `urn:fvpn:node:` URI SAN mTLS key with `sha256(leaf.Raw)` fallback, full-table LRU tail walk, `/48` anonymous resident cap `min(max_rate_principals/2, 64)` (#252), zero-width `::` parse rule, single-walk body identity, and `D-078` `#229`/`#233` confirming `browser_rate` `10/s` burst `30`), `trusted_proxies`, 60-peer admission and counted-traffic figures (qualified as shared development host, not candidate hardware, `#178`, `#203`), request-body limits (`D-060`, `#169`, `#174`, `#178`, `#182`, `#190`, `#203`, `#215`, `SECOPS-15` closed), and rotating signing keys and secrets. | `§5`–`§16`, `§17`–`§18.3`, `D-065`, `D-067`, `D-068`, `D-070`–`D-079`, `D-081` |
+| [**Member Guide (`member-guide.md`)**](member-guide.md) | Bilingual (`zh-TW` and `en`) guide covering candidate client versions (`needs operator run`), explicit exit selection (`netbird networks select `), and automatic central device authorization (`D-052` shared-issuer public-subject discovery) for Windows (`0.82.0`), macOS (`0.82.0`), iOS (`0.4.1 build 2` TestFlight candidate), and Android (`0.6.2`), manual verification scripts (`AT01`, `AT09`, `AT21`, `AT29`, including `#231` members follow-up 6 `AT02` `42/0` strict `fvmb0` ingress injection and `AT09` `36.976 s` / `41.695 s` provisional window, `#240` devstack `29/0/0`, and `#242` `AT30` passed live), device limits, self-service revocation (`AT02`, `AT04`), and `D-076`/`D-077` (`#227`, `#238`, `#244`) post-restore `pending` state with `authorization_unconfirmed: true` until operator re-authorization, usage (`IPv6Block` mode) & fair-use display (`AT17`–`AT19`), DNS behaviour & explicit technical limits (DoT/DoQ vs. DoH), and support contact flow. | `§7.3`, `§8.1`–`§8.3`, `§9.4`, `§10`–`§12`, `§16.3`, `§16.5`, `§18.4`–`§18.5`, `§19`, `D-076`, `D-077`, `D-081` |
+| [**Adversarial Review Archive (`../reviews/README.md`)**](../reviews/README.md) | Self-contained archive of the thirteen Wave 3 and Wave 4 adversarial review reports (`r3-d055-review` through `r15-d072-d075-review`), recording the review date, model, scope, invariants that held, findings with status and closing PRs against `main`, and proof tests. | `D-052`–`D-070`, `§5`–`§17` |
+
+## Self-Verification (`tests/handover` and `mk/handover.mk`)
+
+To prevent documentation drift, the handover, operations, and review-archive Markdown files (`docs/handover/README.md`, `docs/handover/deploy.md`, `docs/handover/calibration.md`, `docs/handover/operator-guide.md`, `docs/handover/member-guide.md`, `docs/ops/README.md`, `docs/reviews/*.md`, and `README.md`) are mechanically verified by `tests/handover` and `mk/handover.mk`:
+
+1. **Plain Lint & Structural Verification (offline, no database or Docker required)**:
+ ```sh
+ make -f mk/handover.mk handover-lint
+ go test -v ./tests/handover/...
+ ```
+ Asserts that across all owned handover, ops, and review Markdown files:
+ - The member guide states the current `contracts/openapi.yaml` `info.version`, and stated OpenAPI versions and operation counts match the parsed contract.
+ - Every relative Markdown link resolves to an existing file in the repository.
+ - Every repository path in backticks (`deploy/…`, `mk/…`, `docs/…`, `contracts/…`, `db/migrations/…`, `apps/…`, `node/…`, `internal/…`, `pkg/…`, `packaging/…`, `tests/…`) exists.
+ - Every `make -f mk/.mk ` command names an existing target in `mk/.mk`.
+ - Every `fvpn-*` command names a built binary under `apps/*/cmd/*`, `node/*/cmd/*`, `internal/*/cmd/*`, `packaging/*/cmd/*`, or `tests/e2e/cmd/*`.
+ - Every file in `docs/reviews/` contains the review date, reviewing model, and a findings table with the four columns `Severity`, `Finding`, `Status`, and `Closing PR` (`TestHandover_ReviewsArchive`).
+ - The migration inventory is referenced as `db/migrations/*.sql` (one goose version per file) with no hardcoded literal migration count or last-migration ID, and `deploy.md` shows the abbreviated `fvpn-migrate status` example (`00001 applied` … ` applied`).
+ - Any SQL fence (` ```sql `) in `docs/handover/*.md` or `docs/ops/README.md` that is not a read-only query executable under `SET LOCAL default_transaction_read_only = on` must carry an explicit classification comment on its first line: `-- [mechanical-check: cluster-role-ddl]` for cluster-level role/database creation and `GRANT` statements in `deploy.md` (`D-039`: schema only), or `-- [mechanical-check: mutating-maintenance-sql]` for the scheduled retention purge (`SELECT purge_retained(...)`) in `operator-guide.md` (which is still executed against the migrated schema inside a rolled-back read-write transaction). No marker exemption is permitted in `docs/handover/restore-drill.md`, because `TestAT30_BackupPITRDrill` (`tests/backup/drill_integration_test.go`) extracts every ` ```sql ` fence from `restore-drill.md` and executes it under `SET default_transaction_read_only=on;`.
+
+2. **PostgreSQL Schema & SQL Execution Verification (`integration` tag)**:
+ ```sh
+ go test -v -tags integration ./tests/handover/...
+ make -f mk/handover.mk handover-verify
+ ```
+ Creates a freshly migrated, isolated PostgreSQL 17 database via `internal/db/dbtest` (`D-039`: schema only, using `$FVPN_TEST_DATABASE_URL`), asserts that the applied migration set in `goose_db_version` equals the files in `db/migrations/*.sql`, extracts every ` ```sql ` fence from `docs/handover/*.md` (including `restore-drill.md`) and `docs/ops/README.md` using the same line-based `handoverSQL` rule as `tests/backup/drill_integration_test.go`, and executes each read-only fence inside a rolled-back transaction with `SET LOCAL default_transaction_read_only = on` (and each `-- [mechanical-check: mutating-maintenance-sql]` fence inside a rolled-back transaction) so any table, column, function, or type drift fails immediately.
+
+[Database and retention index](11-database-and-retention.md) / [numbered index](00-index.md) cover the `00189_node_incarnation_usage_outbox.sql` addition. See the [dated acceptance table](../ops/README.md#follow-up-13-acceptance-snapshot-2026-10-30-edt) for isolation #237/#246, usage re-run status, devstack #240, and AT30 #242.
+
+## Follow-up 14 historical cutoff (2026-10-31 EDT)
+
+Historical status at main `c6e3eca`, superseded where stated by follow-up 15 below; [acceptance numbers and limits](../ops/README.md#follow-up-14-acceptance-snapshot-2026-10-31-edt) are pinned in `TestHandover_Followup14Claims`.
+
+- D-093: a shared error-code enum change changes behavior for lanes looking codes up dynamically; `TC_FOREIGN_FILTER` is the real code after #261/#264.
+- D-098: claims tests read a pinned history snapshot or a file named by run id, never a lane's current evidence file. Live documentation hash checks are maintained separately.
+- D-097 **coming**, fleet-update follow-up 10: `NodeUpdateSummary.source` will project the latest accepted installer result of the current incarnation as `source: installer`, `batch_id: null`; a current central job's projection wins. No merged row yet, so no accepted-installer projection is claimed.
+- D-089 **coming**, fleet-update follow-up 10 central acceptance; the retained envelope (#258) and verified seed (#269) are merged. Keyed HTTP replay is wire-nodes follow-up 29.
+- D-088 / D-090 merged, agent-core follow-up 22 (#272): consumes the #267 freeze annotation with a durable latch and quarantine integration. D-096 member-route/address recovery measurement is netlab follow-up 14; D-100 requires topology expectations to refresh only through a clean verified Apply of a newer published generation, with no out-of-band override. The agent check is merged; recovery measurement and uninterrupted containment remain unclaimed.
+- D-095 is merged (#270); D-099 HTTP desired-state cache fix is **coming**, wire-nodes follow-up 29. SECOPS-21 remains open until the retained-node first offer is verified end to end.
+- Isolation follow-up 6 (#271) records assisted recovery and an AT13 failure; see the acceptance snapshot. Enrollment follow-up 5 (ENR-05/06, D-089) has no roadmap row at this snapshot; no acceptance result from it is claimed. Installer follow-up 3 owns ENR-06 and the systemd lifecycle rerun. r16 had not run at this cutoff; its delivered report and current dispositions are indexed below.
+
+
+
+
+
+The [follow-up 19 register](../../tests/handover/testdata/history/follow-up-20/register19.md) is frozen at #337.
+
+
+
+The [follow-up 23 register](../../tests/handover/testdata/history/follow-up-24/register23.md) is frozen at #362.
+
+
+
+
+
+The [follow-up 25 register](../../tests/handover/testdata/history/follow-up-26/register25.md) is frozen at #373.
+
+
+
+The [follow-up 26 register](../../tests/handover/testdata/history/follow-up-27/register26.md) is frozen at #382.
+
+
+
+The [follow-up 27 register](../../tests/handover/testdata/history/follow-up-28/register27.md) is frozen at #385.
+
+The [follow-up 28 register](../../tests/handover/testdata/history/follow-up-29/register28.md) is frozen at #390.
+
+
+
+The [follow-up 29 register](../../tests/handover/testdata/history/follow-up-30/register29.md) is frozen at #396.
+
+
+
+The [follow-up 30 register](../../tests/handover/testdata/history/follow-up-31/register30.md) is frozen at #403, including its original snapshot-count prose.
+
+
+
+
+The [follow-up 31 register](../../tests/handover/testdata/history/follow-up-32/register31.md)
+is frozen at #407, with its 72 findings and nine owner requests.
+
+
+
+
+The [follow-up 32 register](../../tests/handover/testdata/history/follow-up-33/register32.md)
+is frozen through #412, with its 75 findings and nine owner requests.
+
+
+
+
+The [follow-up 33 register](../../tests/handover/testdata/history/follow-up-34/register33.md)
+is frozen at #418, with its 81 findings and nine owner requests.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Follow-up 49 decisions register (2026-11-05 EST)
+
+Cut **#482–#485**, ending at main **aaffdc7f**: four merges and four final
+roadmap rows (`#482` devstack 37, `#483` handover 48, `#484` agent-core 53, and
+`#485` contracts revision 15 — `#485` merged atomically outside the expected
+three-lane list before this cut). [Evidence cut](follow-up-49.md),
+[acceptance snapshot](../ops/README.md#follow-up-49-acceptance-snapshot-2026-11-05-est),
+and [owner-confirmation provenance](../../tests/handover/testdata/history/follow-up-49/owner-confirmation-provenance.json).
+There are **67 decisions**: **14 authority-only updates** (`D-150`–`D-163`
+confirmed by Ted on `2026-11-04 17:1x EST`, relayed by the orchestrator, with
+both provisional authority occurrences in `D-158` confirmed and all technical
+decision text unchanged), **1 new provisional decision** (`D-164`, Option (i)
+serving-read evidence from agent-core 53's F17-01 design note, contract phase
+merged in `#485`), and **52 rows byte-identical** to `#483` (`D-098`–`D-149`).
+Other rows retain their historical status prose. Running follow-ups and dated
+hand-offs are in [follow-up 49](follow-up-49.md#requests-to-orchestrator).
+
+| Decision | Operator meaning and delivery boundary |
+|---|---|
+| D-098 | Claims read byte-identical owner archives or run-ID-named snapshots, never current lane evidence; members follow-up 7, enrollment follow-up 6 and secops follow-up 11 now have final archives. Live document digests remain separate. |
+| D-099 | Do not close SECOPS-21 from the compiler tests alone. Merged #277; SECOPS-21 closed by security-ops 13 (#316) using the first delivered restore offer 19 > retained 15, matching local digest and applied 202 receipt. Harness-proved on the assembled stack, not a live-fleet guarantee. |
+| D-100 | Merged #276: changed topology expectations refresh only through a clean verified Apply of a newer published generation; no out-of-band override. |
+| D-101 | Merged #275: fixtures obtain real central serving leases and report the issued ID/expiry unchanged. Portal #293 displays the publication-gate cause; polling timeout leaves the operation running. |
+| D-102 | Only the owning lane writes its requests; devstack answers in `docs/e2e/RESPONSES.md`. Fixture delivery is not consuming-case acceptance. |
+| D-103 | Security-ops #301 ran two independent live runs under its existing `fvpn-w4-secops-*` namespace; full AT29/AT31 remain blocked. |
+| D-104 | Netlab #290 ships the 1 ms quantum and 100 ms installation bound; agent-core #312 consumes absolute deadlines. D-120 leaves the installation bound unchanged. Isolation #334 fails AT13 on ISO-F6-03 early expiry; exact timing is now delivered. Three fresh renewal losses remain counted; the 17 historical losses cannot be assigned new timestamps. |
+| D-105 | Central acceptance #296 and active #312 hand-off retain immutable retired-origin identity/hash and independent ACKs; #320 fixes lifetime ownership. Usage #324 passes the controlled-installer hand-off. Enrollment #333 passes all five composed AT07 rows with both D-130 halves; retired 2,724 bytes / ACK 3 stay separate from current 908 bytes / ACK 2. |
+| D-106 | Revision 14 defines optional nullable `ObservationReport.tc_evidence`; #295 supplies `ServingEvidence.TCReadbackEvidence()`. #305 transports bounded revision 13 details; #312 retains the authoritative Apply/live/blocked snapshot with actual read time, candidate generation, full result and original digest. Null before any retained read; historical rejection rows survive recovery. |
+| D-107 | Merged #287, displayed by #293: `Operation.steps[].message` supplies the gate cause next to `error_code`; D-074 still holds publication running. |
+| D-108 | D-096 closes only the measured native IPv4 NetBird-owned path; installer transit, IPv6 and uninterrupted containment are not promoted by this mechanism proof. |
+| D-109 | Pin tokens only in handover-owned documents, D-098 archives, roadmap rows / PR numbers / contract versions, or Go test names on main; another lane's living prose is not a pin target. |
+| D-110 | Merged #300: deterministic catalog-bound job UUID, adopted by updater #307; mismatched new IDs return 409 STATE_CONFLICT / job_id_mismatch. D-127 (#322) now bounds one node/job to the first receipt plus one eligible correction, preserving both stored ACKs. Legacy replay and visible-change-only resource versions remain. |
+| D-111 | Merged #300: a null central baseline can be seeded from an eligible installer-reported release as `current_release_id = last_good_release_id = that release`; failure evidence remains stored without promoting the candidate or inventing health. Rollback restores both pointers, generation fences remain, and migration 00191 has a Down/Up round-trip proof. |
+| D-112 | Merged #296: central sampling_interval_bound_seconds defaults to 10 s, with node sampling ≤ that bound; activation merged #312 under D-118, locking fixed #320, live usage hand-off passes #324. Raise the central bound before raising the node interval. |
+| D-113 | The one-file test-fixture ownership extension let fleet-update bind the nodes keyed-replay fixture to D-110 so the merge kept main green; #300 also records the second r16 replay fixture corrected after integration with #291, with production replay unchanged. |
+| D-114 | Merged #307: legacy unaccepted outbox receipts get one job_id_mismatch 409 and then a replacement; the mismatch is terminal and not resent. Accepted legacy receipts keep stored replay semantics. |
+| D-115 | Merged #296: middleware delegates body identity checks to the usage service only for `submitUsageBatch` with a schema-valid origin; mTLS, schema/body-size validation, idempotency, no-origin recursive checks and other operations remain enforced. |
+| D-116 | Merged #302: keep enforcement strict; marker in hookless `inet fvpn_install`, exact legacy empty marker migrated, four rendered chains in `inet fvpn`. #304 proves verifier scope and serving with the marker before enrollment; #313 proves the real installer rerun and counted serving. |
+| D-117 | Merged #297: there are no open-ended grants; `valid_until` is NOT NULL with `isfinite` since migration 00001, and far-future finite grants use the real withdrawal route. |
+| D-118 | Active in agent-core follow-up 25 (#312): activation hook in node/agent/usage.go sets RetirePreviousAt. #320 fixes adoption under the node lock and lifetime usage.db.lock; replacement waits for predecessor close. #324 passes live retired-stream hand-off; #332 retains 8/8 origin events and #333 closes the five enrollment rows. |
+| D-119 | No scheduled plan-change contract exists: a finite grant's deadline means expiry; a plan change at a boundary is a billing-issued replacement grant. |
+| D-120 | AT10 test-acceptance definition, not a product guarantee: loss must fall inside/boundary of exactly one verified outer guard bracket; both bracket upper bound and render → installed ≤ 100 ms; successful successor, zero TCP timeouts, ≤ 5 losses per 100 reloads, complete checked captures. #304 remains failed under the old rule; #308 passes under D-120. D-104's 100 ms installation bound unchanged. |
+| D-121 | Orchestration process only: one-follow-up ownership extension for updater 15 to align packaging/installer/handoff_test.go TestD089_RealUpdaterConsumesWriterRecord with D-110 failed-replay semantics, unchanged seal and cardinality (#307). Test-only; no operator guarantee. |
+| D-122 | Orchestration process only: node/enforce/review_r16_quarantine_test.go accepted as a test-only ownership exception for agent-core 24 (#305). No enforcement production change. No operator guarantee. |
+| D-123 | v1.0 overlay is IPv6Block by design: no IPv6 forwarding through the node, no end-to-end IPv6 MTU / PMTU acceptance row. IPv6 overlay support is separately scheduled work, never deletion of the guard rules. Native IPv6 underlay failures remain applicable. |
+| D-124 | Orchestration process only: agent-core 25's resume edited internal/nodes/publication_evidence_test.go fixture-only under a one-resume ownership extension (#312); the real Decide now needs a valid desired expiry. Usage #324 also refreshes its deadline fixture. Devstack #332 found no Decide call in its brief's named file on that base; a process fact only. No operator guarantee. |
+| D-125 | Product mechanism (#320 / #323): every checkpoint names the updater latch identity it finalized against. MeterCheckpoint.BarrierID (barrier_id, omitempty) echoes the exact UUID spelling; each new identity repeats verified withdrawal and durable finalization, same-identity restart pins bytes, resume removes evidence. Installer #326 passes 13/13; devstack #332 serving rerun passes 14/0/0; updates #337 extension passes 23/23. Regular AT23–AT27 re-measurement remains pending with updates 11; #343 closes the shared fixture side. |
+| D-126 | Observation reasons are cumulative. Per-check code precedence is safety failure > provisional / awaiting > ok; each stage error carries its own cause. #321 proves central value preservation and stored-ACK replay with 202 Accepted. #325 confirms deliberate single composition, no reporter race; #328 closes F9-01 by accepting the cumulative report. A safety failure never authorizes serving. |
+| D-127 | #322 permits one eligible installer correction on the same incarnation: succeeded after an applied D-111 pre-health seed, or rolled_back after succeeded. Current/last-good move under the unchanged generation fence; first receipt and both ACKs stay immutable. Every other distinct outcome, including a third, is ACK_CONFLICT. Deploy 00192 before control; outcome_sequence is 1..2 and Down refuses once corrections exist. #337 captures real success/replays and a TEST ONLY rollback correction; regular physical AT26 rollback remains pending with updates 11. |
+| D-128 | D-126 stored unchanged means complete JSON-value equality: byte-identical JCS output and same SHA-256. report_payload is JSONB; literal whitespace / key order is not retained, and no schema change is planned. |
+| D-129 | AT09 same-generation restart qualifies on desired == applied across the restart under D-126 at whatever generation the unchanged sequence yields. 30 is not a contract value. #328's 29 → 29 row qualifies under this test-acceptance definition; full AT09 remains blocked. No product change. |
+| D-130 | #330 mints UTC whole-microsecond intervals ≥ 1 µs via eventInterval at all four former 1 ns sites. #331 validates strict nanosecond canonical interval_order and stores a microsecond projection. Migration 00193 changes all three stored checks to <=, never bypasses them; Down refuses equal-endpoint rows. Unexpected storage constraint failures remain retryable 503, never definitive event rejection. Already sealed valid 1 ns events recover on the next retry after deployment without operator data edits. #333 closes ENR-07; #338 closes newly minted-event measurement: planBaseline sequence 1, zero records, 1 µs, ACK 1 before traffic; counted event 2 is 1,066 + 1,513 = 2,579 bytes. |
+| D-131 | #335's TEST ONLY WithTestOnlyGrantEligibilityReaderFactory on httpwire.Open substitutes the lease-issuance reader once per renewal transaction. Default leases.DBEntitlementReader; a nil reader fails closed. No production config / env / HTTP surface. Desired-state compilation retains its production reader, keeping bindings/generation unchanged. #343 composes the TEST ONLY FVPN_E2E_GRANT_SEAM=1 control and exports the seam (7/0/0 twice); central-seam blocker closed, assembled AT10 pending isolation 10. |
+| D-132 | Product tests pin AT evidence only at immutable docs/e2e/at//history// paths, never living roots. Two internal/fleetupdate/d062_integration_test.go reads broke the chain; #337's dated one-file exception pins the follow-up 9 archive. Fleet-update 13 (#340) closes the lane follow-up with byte-identical owned testdata, explicit empty-result failure and a package-wide mutable-reference guard. Evidence hygiene does not promote acceptance. |
+| D-133 | A failed live timing gate is attributed before a delivery is accepted. The lane runs back-to-back A/B on the same host: unchanged main vs the branch, in order A, B, A, B, on a CPU-quiet host defined by runnable queue and idle, never by load average. Retain full p50 / p90 / p99 / max over completed guards, list failed operations separately, and record host state per leg. If the branch is worse, the lane fixes its own regression; “outside my ownership” is accepted only with that A/B and routes to the owner with both distributions. If both pass under equal quiet conditions, attribute the failure to host contention and proceed with the distributions retained. A product change never merges on an ownership claim alone. Decided 12:4x EDT, applied 14:0x EDT on #344; process / test-acceptance decision, no product value changed. See the [retained application and measured limits](follow-up-20.md#agent-core-28--344-historical-writer-still-unattributed). |
+| D-134 | Decided 16:0x EDT, 2026-10-31, from netlab 21 (#355). Absolute expiry reserves 100 ms for installation plus 1 ms truncation: conservative transition window [D−101 ms, D]. Every pre-D and renewal loss stays counted; never claim literal zero pre-D loss. Retain the atomic outer guard and report the full p50 / p90 / p99 / max distribution per run; historical 52.596 ms is a measurement, not a guarantee. An install overrun never opens the guard: baseline atomically replaces it with closed generation-0 rules. D-104 / D-120 / AT13 / AT29 predicates unchanged. |
+| D-135 | 17:2x EDT, 2026-10-31 — **confirmed by Ted, 2026-11-03 about 12:30 EST**, from agent-core 29 request 2 (#356). A failed Apply installs the node-wide generation-0 baseline by design; no previous-generation restoration, revocation always preserved. Every member closes, and the admitted sibling returns with the next successful Apply. Repeated failures keep baseline indefinitely; 100 ms is an install budget, not an outage ceiling. Proposed AT02 positive control asserts revoked-source drop and brackets the sibling outage baseline→recovery ending at the next successful Apply, every loss counted; the bracket is reported, never waived. Historical AT02 stays failed. Any stronger availability guarantee is a separate enforcement design under D-133. Owner confirmation remains required. |
+| D-136 | 23:15, 2026-10-31 — **confirmed by Ted, 2026-11-03 about 12:30 EST**. Correction **04:3x EST, 2026-11-01**, from agent-core 31 (#369), checked against code: the verified deny-all candidate is used only when an Apply error is retained. The ordinary stale-lease transition installs the node-wide baseline and ACKs, renews, then Applies, verifies and heartbeats. No finite outage ceiling. The fail-closed reading and D-135 bracket rule are unchanged: baseline → next successful Apply, every loss counted, recovery required, never waived. `policy_missing` alone is not per-call causal proof; historical F12-01 keeps cause_status=unproven. Stronger availability is separate design work under D-133 and adversarial review; intersection serving is a proposal for r18 only. Historical failures stay failed. |
+| D-137 | 23:15, 2026-10-31 — **supported scope confirmed by Ted, 2026-11-03 about 12:30 EST**. §8.3 spec line 365 and §19 AT09 judge usability within the supported scope or a clearly reported limitation. Supported scope: sender-learnable 1280 path (known PMTU or reactive PTB from a router hop). #367 delivers the routed hop: IPv6 PTB with learned PMTU 1280; IPv4 DF=0 fragmentation in transit, not IPv4 PMTU discovery. #368 known-PMTU passes; members routed-hop adoption pending. A receive-only no-PTB link is a PMTU black hole: limitation, never a pass; historical F8-02 rows stay failed. No global MTU / MSS clamp; lower tunnel MTU or an MSS clamp is an owner hardening option. |
+| D-138 | **03:0x EST, 2026-11-01, orchestrator — confirmed by Ted, 2026-11-03 about 12:30 EST**. Refines how a D-133 comparison is judged; D-133 itself unchanged. Accept netlab 22 (#365) opt-in TEST ONLY observation without a qualified second B agent leg after two 90-minute windows: disabled cost one context lookup per call site; no B-only failure in either window's qualified comparison (selected failures only unchanged-main TestLab04, mechanisms/fix explained by #369); install-command failures 4 on A and 4 on B; B legs interleave with A across windows. The two-leg envelope rule is withdrawn as underpowered. Pool every qualified leg per arm across windows; a shift is attributable only when it repeats in direction in each window and the code can explain it. Excluded legs stay excluded; historical failures stay failed. Owner overturn option remains. |
+| D-139 | **06:00 EST, 2026-11-01, orchestrator — provisional design track, now closed by D-141.** Agent-core 33 delivered the option (b) design and test-only reference (#379); r19 reviewed it. The one representation decision is D-141: no implementation on this evidence; option (c) stays in production. The design and reference remain on main as history. |
+| D-140 | **07:42 EST, 2026-11-01, orchestrator — confirmed by Ted, 2026-11-03 about 12:30 EST.** Isolation’s whole-node D-104 predicate in tests/e2e/at/isolation/deadline_trace.go stays byte-identical. Only the boundary probe schedule may change: dense probes timed by measured member-send → node-ingress latency around D−101 ms, with the schedule and latencies recorded. A closure interval that still straddles D−101 ms stays failed. Run 56d20530 stays failed; no retry waiver. Isolation F14-01 → isolation 15. Owner overturn option remains; no operator procedure changes. |
+| D-141 | **07:5x EST, 2026-11-01, orchestrator — confirmed by Ted, 2026-11-03 about 12:30 EST**, the one D-139 representation decision taken on r19. Option (b) intersection serving is not implemented on this evidence; option (c) stays in production. Agent-core 33’s design note and test-only reference stay on main as history. Grounds: 0 / 80 merged restrictive changes qualify; conservative promotion baseline is the same order as today’s baseline-to-Apply (173.8 / 195.6 ms p50 / p99); missing signed intersection witness, v2 heartbeat, partial-service cause, baseline-on-422 and nft-only revocation transaction. Reconsideration needs a desired-state intersection witness, a measured qualifying share above zero whose promotion costs less than (c), and r19’s design-only findings closed. AT02’s sibling outage on a restrictive generation change rests on the owner’s D-135 / D-136 confirmation or a requirement change. D-139 closed. Owner overturn option remains; no operator procedure changes. |
+| D-142 | **12:5x EST, 2026-11-01, orchestrator — confirmed by Ted, 2026-11-03 about 12:30 EST**; isolation 16's request 3. D-140's no-interleaving qualification applies to every adjacent probe pair from the earlier of the last positive and the first drop through the end of the sweep. There, no probe's ingress→egress transit may overlap the next probe's ingress. An overlap between two positives that both come before that point is recorded with both latencies, and does not disqualify. Unchanged: the predicate (tests/e2e/at/isolation/deadline_trace.go, byte-identical), D-140's schedule rule, a closure interval that still straddles D−101 ms stays failed, and no retry. The schedule and the qualification scope are declared before the run. Isolation 15's and 16's samples stay failed qualification, as judged. Next sample: isolation 17. Owner overturn option remains. |
+| D-143 | **23:1x EST, 2026-11-02, Ted.** Coding and review lanes are shared by codex `gpt-6-astra`, agy `claude-opus-5-5-high` and agy `gemini-4-argon-high`. Supersedes D-086's codex-only routing. Every commit's `Agent:` trailer names the session's tool and model. Process decision; no product value or operator procedure changes. |
+| D-144 | **00:25 EST, 2026-11-03, orchestrator — confirmed by Ted, 2026-11-03 about 12:30 EST**; the nightly signal, from devstack 29's request 1. A scheduled job fails on any fail, any error or traceback, and any blocked row that is not on the job's committed expected-blocked list. Each list entry names the row, the reason and the owner; a row is listed only once its block is established as expected on GitHub's runner. Listed blocked rows keep the job green; the job summary and the uploaded records name them. A listed row that passes is reported as unblocked, to be removed from the list. Unchanged: acceptance status (the rows stay blocked in records, RUN.md files and roadmap rows), and pull-request and local runs. Why: an always-red nightly hid devstack's real billing failures for four nights. No list is on main at #403; devstack 30 (e2e stack) and isolation 17 (at-isolation accept) apply it. Owner overturn option remains. |
+| D-145 | **Ted, 2026-11-03 about 12:30 EST — owner decision, relayed by the orchestrator.** G5/G6 and C1: production keeps the current guard. C1 is not implemented. Reopen only with field complaints, or measured member-visible impact after r24 H-1's fix merges. Netlab 31's C1 design and netlab 32's revision stay on main as history. |
+| D-146 | **Ted, 2026-11-03 about 12:30 EST — owner decision, relayed by the orchestrator.** D-137 hardening: approve a TCP MSS clamp; no lower tunnel MTU. Netlab designs the value and placement against the receive-only MTU-1280 row. UDP and QUIC over a receive-only link without PTB stay a documented limitation; historical F8-02 rows stay failed. Status 2026-11-03 EST: on `main` (#432), netlab 34. |
+| D-147 | **Ted, 2026-11-03 about 12:30 EST — owner decision, relayed by the orchestrator.** Accept IPv4 ICMP fragmentation-needed (type 3, code 4) from a spec-denied outer source only when conntrack marks it RELATED to an allowed member connection. Time-exceeded and every other ICMP from spec-denied sources stay dropped. Status 2026-11-03 EST: on `main` (#432), netlab 34. |
+| D-148 | **Ted, 2026-11-03 about 12:30 EST — owner decision, relayed by the orchestrator.** F11-01: no product, pin, daemon or architecture change now. Report the ::1 response-source boundary to NetBird upstream with public evidence. The orchestrator filed [NetBird discussion 8473](https://github.com/netbirdio/netbird/discussions/8473) on 2026-11-03. Members F11-01 stays OPEN, upstream-dependent. |
+| D-149 | **Ted, 2026-11-03 about 12:30 EST — owner decision, relayed by the orchestrator.** Dismiss Dependabot #22 (minimatch < 11.0.1, GHSA-g3hv-75wg-m249, development scope) as a tolerable risk, per #349. Revisit when eslint-plugin-jsx-a11y accepts minimatch ≥ 11.0.1. |
+| D-150 | **2026-11-03, orchestrator — confirmed by Ted, 2026-11-04 17:1x EST.** Agent-core 37–43 merge as #429 without the D-133 A,B,A,B. D-133 attributes a failed live timing gate; none of these deliveries has one: every delivery's full production node-test-netlab passed, D087 / D104 included. Follow-up 43's two reservations qualified no leg; both stopped on foreign CPU from periodic jobs outside the project, which the orchestrator never pauses. Under agent-core follow-up 39's every-interval rule this host cannot qualify a full lab leg. The comparison is not dropped: agent-core 44 measures the same arms after the merge, marks intervals where foreign CPU exceeds 0.5 cores instead of stopping, and excludes overlapping spans from both arms. Every other rule of agent-core 39 and D-138 is unchanged. An attributable B shift or B-only failure routes a fix to a later agent-core follow-up. Lab-only measurement; no operator procedure. **Status 2026-11-03 EST: closed by D-153.** Attempts 44 (#431), 45 (#436) and 46 (#439) produced no comparison through harness/admission failures; 46's three dry rounds stopped on foreign activity, with no reservation. In 47 (#444), the suite-program ruling is implemented: a suite is judged by its argv program, not by command-line text. One dry reservation ran A's thirteen scenarios; twelve passed and TestLabExternalMeterReset failed after 12.393 s, stopping the timing item under the brief's rule. Both arms have zero pooled legs. Main's ordinary lab passes 13/13, functional evidence only. No comparison, B-only failure or attributable shift; no further A/B attempt scheduled. |
+| D-151 | **2026-11-03 EST, orchestrator — confirmed by Ted, 2026-11-04 17:1x EST.** AT09 receive-only MTU 1280 TCP rows under D-146: D-146 is the D-137 hardening the owner approved for that row. Such a row may pass on its unchanged byte predicate only when the same run proves the clamp did the work: SYN MSS above 1160 arrives as 1160; every reverse datagram fits 1280 and none is missing; no PTB appears. Without that evidence the row stays blocked under D-137, with measurements retained. UDP and QUIC over a receive-only link stay D-146’s documented limitation. Historical F8-02 rows stay failed. |
+| D-152 | **2026-11-03 EST, orchestrator — confirmed by Ted, 2026-11-04 17:1x EST.** Answers isolation 19’s F19-01: judge D-147’s upload negative at production’s applicable destination-deny rule: `ctbadns` for a resolver-only source; `cthost` for a host-only source; `ctdeny` for a denied source and for a source in both denied and host sets. The isolation brief’s literal `ctdeny` meant that applicable rule. No rule order changes. The requirement is unchanged: the member’s upload to the source is dropped, with zero upload usage. |
+| D-153 | **20:4x EST, 2026-11-03, orchestrator — confirmed by Ted, 2026-11-04 17:1x EST.** D-150 closes with no comparison. D-133 owes an attribution only for a failed live timing gate, and none exists. Four attempts, agent-core 44–47, produced no comparison: harness failures in 44–46 and a frozen-arm scenario failure in 47. The ordinary main lab passes 13/13, functional evidence only. Nothing is claimed about 37–43's timing, and no further A/B attempt is scheduled. Frozen A's TestLabExternalMeterReset failure goes to agent-core 48 as a code reading, for the record only. |
+| D-154 | **19:4x EST, 2026-11-03, orchestrator — confirmed by Ted, 2026-11-04 17:1x EST.** `If-Match: "0"` is compared like any other version. Spec §14.5 and the contract give zero no special meaning and set no minimum version. A row at version 0 matches `"0"` and is written; every other row gets ordinary HTTP 412 `RESOURCE_VERSION_CONFLICT` with `details.current_resource_version`. No schema change, positive-version invariant or contract change. Replaces the orchestrator's first ruling for wire-nodes 35, which assumed no resource could hold version 0. Implemented in #443. |
+| D-155 | **21:0x EST, 2026-11-03, orchestrator — confirmed by Ted, 2026-11-04 17:1x EST.** F30-01 is fixed by review r29's Option B. `fvpn-updater` exits `3` (`ExitBusy`) only for a live same-boot `update.lock` holder: `UPDATE_BUSY` with detail exactly `lock`. Stale-holder details stay `1`; `ErrMembersBlocked` stays `2` and wins. The agent defers boot recovery while the live lock is held or on exit `3`, retries at the top of Step as one tracked background recovery with a short first wait (r29 M-1); exit `0` clears, exits `1` and `2` stay terminal. Rejected: A, exit `0` on busy, breaks invariants 2 and 6; C, a narrower lock; D1, a restart after seal, conflicts with D-053; D2, a completion marker, breaks invariant 2. Updater half #446, agent half #454. F30-01 remains open until an acceptance run passes `lease-expiry` with the nightly quarantine entry removed; devstack 34 running at the cutoff. |
+| D-156 | **21:3x EST, 2026-11-03, orchestrator — confirmed by Ted, 2026-11-04 17:1x EST.** A same-boot process replacement keeps a verified retained ruleset until the successor adopts or refuses it. Startup uncertainty must not let the watchdog withdraw rules the successor has not judged. A stalled successor remains bounded by the predecessor's watchdog staleness limit and kernel timeout at D; r22 M-3's protection is kept. Agent-core 49 #454 fixes F48-01 with a pending-adoption receipt retaining the original age and deadline without a serving claim. See the [agent/watchdog release rule](operator-guide.md#d156-release-rule). |
+| D-157 | **00:2x EST, 2026-11-04, orchestrator — confirmed by Ted, 2026-11-04 17:1x EST.** After a closed recovery, send the node's first renewal as soon as central holds every input its grant decision reads, rather than at D-067's next provisional slot. At most once per closed recovery. D-067's cadence is unchanged for every other grant-less lease, including a grant-less answer to that early renewal. The trigger must be something the agent observes. If central moves readiness in a job the agent cannot observe, stop and route the change; no polling faster than D-067. Answers members 21's AT02 deny-all interval; diagnosis first in agent-core 50, running at the cutoff, no merged fix. See [known behaviour](operator-guide.md#at02-closed-recovery). |
+| D-158 | **01:4x EST, 2026-11-04; revised 02:2x EST, orchestrator — confirmed by Ted, 2026-11-04 17:1x EST.** `run`, `seed`, `apply` and standalone `flush` wait for a live `update.lock` holder within one 10 s budget, polling every 20 ms, before exit 3. `recover` and standalone `Retain` keep five attempts 20 ms apart; nested callers reuse ownership and wait for nothing. Stale details retain exit 1 after five attempts counted from the first stale answer, never after the live budget; unreadable metadata counts as a live holder. One `update lock wait` record only after a missed first attempt. The common lock library and its other consumers are unchanged. Basis: the agent's ordinary hold is bounded by its Step's local deadline, about 10 s; the first version's 2 s was not supported by the code. Updater 25 #463 implements the first-stale window above; F30-01 is closed by #468. **Clarified 05:3x EST, 2026-11-04, orchestrator — confirmed by Ted, 2026-11-04 17:1x EST:** stale detail ends the command with exit 1 after **five consecutive stale answers**. A live answer, detail `lock` (including an empty or unreadable record), resets the stale count. The 10 s budget, counted from the first attempt, governs live answers: never give up on a live holder before it; past it, the first live answer ends the command with exit 3. Emit `update lock wait` only when the first attempt missed on `ErrBusy`. Source: review r30 H-2 and M-1. Updater 26 #471 implements this clarification; five consecutive stale answers and first-attempt ErrBusy logging are on main. D-158's wait remains unit-proven, not measured live in devstack 35. |
+| D-159 | **01:5x EST, 2026-11-04, orchestrator — confirmed by Ted, 2026-11-04 17:1x EST.** If the campaign's back-to-back cadence resonates with TCP's retry interval, and the agent's minimum Apply spacing is at least about 1 s, the D-120 campaign reloads no faster than that minimum spacing; otherwise nothing changes. Netlab 35 #462 found no positive minimum Apply spacing (binding-deadline wake-ups, zero remaining Step delay, second Apply in the same closed-recovery Step). The condition is false and the campaign cadence is unchanged. |
+| D-160 | **02:2x EST, 2026-11-04, orchestrator — confirmed by Ted, 2026-11-04 17:1x EST.** A timed sub-case never waits for host admission inside its timed section, from reading the deadline it measures to its last cutoff sample. Admission is checked before that section. Overlap that happens anyway is confounded under D-133, never delayed. Source: SECOPS-F17-01, the two admission holds that delayed the killed-agent fault beyond its cached deadline. Secops 18 running at cutoff; no result imported. |
+| D-161 | **03:0x EST, 2026-11-04, orchestrator — confirmed by Ted, 2026-11-04 17:1x EST.** D-120's “zero TCP timeouts” becomes “zero TCP timeouts not attributed to the guard”. A TCP read timeout is a guard loss only if the run's complete, checked captures show every lost transmission of the stalled bytes entering the node inside, or on the boundary of, exactly one verified outer guard bracket, within both 100 ms bounds, and never leaving it; a later transmission delivers the bytes in order on the same connection; and that connection is never reset or closed. Guard-attributed timeouts count toward “≤ 5 losses per 100 reloads”. Every campaign reports its longest TCP stall and guard-attributed TCP drops. Every other D-120 predicate is unchanged; historical failures stay failed. Basis: D-145 keeps the guard; TCP needs retransmission to recover a dropped segment and a retry can hit a later reload's guard; D-120 is a test-acceptance definition, not a product guarantee. Implemented by netlab 36 #465. Gate 2 passes AT10 with 64 reads, zero TCP timeouts, eight recovered boundary losses and longest stall 217.7 ms; its timeout path is synthetic-proven only. Missing combined TCP captures fail as an evidence error. F22-01 stays open until isolation's complete-capture run is judged under D-161; isolation 23 runs at cutoff. |
+| D-162 | **08:1x EST, 2026-11-04, orchestrator — confirmed by Ted, 2026-11-04 17:1x EST.** The lab's regular node reports observations every 5 s, like its heartbeat, its poll and the installer node: `observation_seconds: 5` in both prepared configs. **TEST ONLY:** the product default of 30 s and every acceptance predicate, including the 15 s freshness bound, remain unchanged. The bound was written for a lab reporting every 5 s; widening it would let a stale node pass. Every accepted observation increments the node's ETag, so the lab's `If-Match` writers meet a newer ETag six times as often; devstack 36 audits those writers and the fixture's consumers. **Status at cutoff:** implemented by devstack 36 #476, run c17589fa: 123 accepted regular-node observations, 122 intervals, min 0.081 s / median 5.162 s / max 10.255 s. The final 622 s had no receipt; the last preceded the lease-expiry control stop by 1.7 s. In #480, isolation 26 audits every routed line and inherited config: the main runtime stays 1 s through `configureObservation()`, the boot-release auxiliary and clone runtime inherit 1 s, only enrollment files carry 5 s (0 check changes), and the operator assist (`assist.go.txt`) moves onto shared `writeNode` with `nodeFieldsMatch`. In #481, members 24 run dee8492f answers F22-D146 for the cadence under D-162: dual 1280 indexes 44 and 46 pass under the unchanged 15 s bound; serving-read ages are 0.740 s, 6.849 s and 1.442 s on rows 46, 51 and 59; and all nine native MTU windows hold 18 stored observations, 18 enqueues and 18 accepted attempts with 0 missing joins. |
+| D-163 | **08:5x EST, 2026-11-04, orchestrator — confirmed by Ted, 2026-11-04 17:1x EST.** In the scheduled job only, a review's nonzero exit maps to **expected not exercised** only when that same run's own result names a listed item, and only that item, as not exercised; every other item must pass, with no join problem and no error. The explicit list, `tests/e2e/at/isolation/expected-not-exercised.json`, is committed beside `expected-blocked.json`, with one entry: populated-holds / `pure_stale_generation` (Isolation F17-01). List an item only once the runner shows it, D-144's rule. Everything else stays red. Review outputs, acceptance records and D-144's row mapping are unchanged; a listed item that passes is reported as **no longer needed**. Why: under D-144 the job is green only when known owned gaps remain; a carried gap that no run can exercise must not turn it red every night, and stays visible in the summary. **Status:** implemented by isolation 24 #475; only review exit 1 with incomplete, current-run, complete coverage and no other failure qualifies. Qualified live in scheduled mode by isolation 25 #478, run bd73d7a4: status "pass", exit_code 0, sole listed gap pure_stale_generation mapped to expected not exercised, and 0 unexpected failures. |
+| D-164 | **2026-11-05, orchestrator — provisional; the owner may overturn.** F17-01: preserve each check's existing causal detail and carry every retained serving read separately in optional nullable `ObservationReport.serving_read`, projected from the same selected current-incarnation observation as `NodeDetail.serving_read`. Use one shared diagnostic shape: original read time, apply/live source, decimal-string candidate generation, full verifier result and the existing bounded/redacted diagnostic. Preserve the existing absent/null/value convention and old report canonical hashes. Missing/null is no success evidence. Retain rejected and old reads; do not clear them on Baseline or treat them as current serving permission, a generation ACK or a new independent health decision. Attach the legacy QoS diagnostic only when its existing detail is nil. Keep TC evidence, check/error status, independent-failure precedence, lease policy and historical verdicts. Contracts and Central acceptance/projection precede diagnostic consumers, which precede producer rollout. F17 closure and D-163 gap retirement require a fresh qualifying owner run. **Rationale and status:** Orchestrator selects option (i) from the independently audited F17 design at `57c8a759ff0fdd8173e3beac4b5c2ec55e50e293`, unchanged at `d1ad15333856e03c854b3f99cd02968967aa9335`. Current Central rejects unknown properties and typed persistence cannot preserve an unknown field; projection and compatibility must precede the producer. This accepts that design separately, not the pending agent-core 53 delivery or its meter change. Implementation dispatch must resolve contract revision/generator and handover pin ownership first. Contracts revision 15 is merged as #485 (`82dda8a8`), the first D-164 phase. Ted may overturn this provisional decision. |
+
+Current contract is revision 15: OpenAPI `1.11.0`, `50` operations (#289).
+Wire-members follow-up 11 (#297) registers `revokeMemberGrant` at
+`POST /api/v1/admin/members/{member_id}/grants/{grant_id}/revoke` with admin
+session, CSRF, required `Idempotency-Key` and reason; `202` returns the durable
+`member.grant_revoke` operation. Worker `member.grant_revoked` joins #291's
+fence-reconciliation batch. Compilation or a 202 receipt is not observed cutoff.
+Revision 15 updates the contract wording for D-117 (all entitlement grants are
+finite) and D-112 (Central configured `sampling_interval_bound_seconds`, default
+10 s) and adds optional nullable `serving_read` (`ServingReadEvidence`) on
+`ObservationReport` and `NodeDetail` (D-164).
+See the [usage acceptance note](../usage/2026-10-31-d105-retired-stream-handoff.md),
+[installer result note](../updates/2026-10-31-installer-results-d110-d111.md),
+and [portal's 15-entry D-093 audit](../portal/DEV.md): D093-06 / D093-10 are
+retired, D093-12 stays open because the harness still writes
+`release_verifications.state=verified` by SQL; wire-nodes #321 recommends option (ii), an explicit `nodes.release_fetcher = fixture`
+selector compiled only into a dev-tag worker. Design advice, not implemented;
+the SQL shortcut stays labelled.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+The [follow-up 35 register](../../tests/handover/testdata/history/follow-up-36/register35.md)
+is frozen at #423, with 87 findings, 47 decisions and ten owner requests.
+
+
+
+The [follow-up 36 register](../../tests/handover/testdata/history/follow-up-37/register36.md)
+is frozen at #426, with 96 findings, 47 decisions and ten owner requests.
+
+
+
+The [follow-up 37 register](../../tests/handover/testdata/history/follow-up-38/register37.md)
+is frozen at #427, with 97 findings, 47 decisions and ten owner requests.
+
+
+
+The [follow-up 38 register](../../tests/handover/testdata/history/follow-up-39/register38.md)
+is frozen at #428: 99 findings, 47 decisions and ten then-open owner requests.
+
+
+
+The [follow-up 39 register](../../tests/handover/testdata/history/follow-up-40/register39.md)
+is frozen from #430: 99 findings and 53 decisions, all ten owner requests answered.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Findings register at the follow-up 49 cutoff
+
+| Finding | Status at #463 | Evidence / next owner |
+|---|---|---|
+| ENR-07 | CLOSED | D-130 #330/#331 plus enrollment #333: AT06 662/0/0, AT07 48/0/0, fresh gap ACK 1 then sequence 2 ACK 2, 908 bytes; planBaseline attribution corrected. |
+| Members F9-01 | CLOSED | #325 / #328 under D-126 / D-128; deliberate cumulative report accepted. Full AT09 fails in #348; provisional acceptance is a separate row. |
+| Members F10-04 | CLOSED under D-129 | #348 records the generation-29 qualification from #328; 30 is not a contract value. Fresh generation-30 recovery passes, but full AT09 fails on F8-02. |
+| Devstack 18 serving-node failure / candidate seed HASH_MISMATCH | CLOSED by combined-source rerun | #326 privileged 13/13; #332 serving 14/0/0 with candidate seed exit 0 and no tree repair. Historical extractor diagnosis retained; no open pre-#307 binary caveat. |
+| Members F10-01 pin path | CLOSED | Netlab #336 moves the AT09 link/pin and three isolation pins to byte-identical archives, digests unchanged. |
+| ISO-F6-03 | OPEN — real product defect | #350 fresh D-104 passes, but historical 96 / 65 / 41 stays failed and its writer unattributed. #344 restart proofs do not identify that writer retrospectively. |
+| D-087 central seam | CLOSED | #343 TEST ONLY composed seam, two fixed-generation runs 7/0/0, 3,980 / 4,112 ms. |
+| D-087 assembled AT10 | CLOSED | #350 real transition, AT10 PASS 9 / 0 / 0; 962.448 ms, generation 13 and 297 wire hashes byte-identical. |
+| Updates F10-01 | CLOSED | #343 aligned fixture plus #346 regular AT23–AT27 5 / 5; #353 closes the installer-side reconciliation, no behaviour change, privileged 13 / 13. |
+| Updates F10-02 | CLOSED | #341 generated reporting, #346 no-adapter installer 27 / 27 and 13 result POSTs; #351 config-shape proof. No reporting-field divergence. |
+| Members F10-02 | HISTORICAL FAIL — unattributed | #348 new finite-expiry row passes 186 / 186; the unreadable historical sample stays failed in the follow-up 10 archive. Re-measurement delivered; no retrospective fix. |
+| Members F10-03 | HISTORICAL FAIL — unattributed | #348 new cache row passes, AT20 blocked 81 / 0 / 0 with 39 / 39 traces; #345 documents positive-cache semantics. Historical missing responder remains unrecoverable. |
+| F8-02 / native MTU 1280 | HISTORICAL FAIL; D-146 on `main` (#432), fresh TCP rows PASS under provisional D-151 | #385’s receive-only dual failure (12,012 bytes in 12,011 ms) and every historical F8-02 stay failed. Members 18 (#433) run 1 never reached the matrix; run 2 qualifies dual/IPv4-selected, IPv6 and IPv4-only 1280 TCP: 64,064 bytes / 64 exact echoes each, SYN 1240→1160 and SYN-ACK 1460→1160, reverse 73/73 (1132 B), 74/74 (1152 B), 72/72 (1132 B), no PTB. D-151 requires this same-run evidence plus the unchanged byte predicate; otherwise D-137 blocked. Clamp only on new handshakes with an existing MSS >1160, IPv4 forwarding and standard WireGuard headers; no tunnel MTU change. UDP/QUIC receive-only without PTB remain limited; no complete platform qualification. |
+| F18-01 | INTENDED D-125 NEGATIVE | #346 / #351 retain 1 / 1 / 2; #352 explicitly documents stopped-producer negative coverage. Historical failed candidate-success row stays failed; no passing upgrade. |
+| D-133 measured limits | ASSESSED — D-134 | #355 records [D−101 ms, D] reserve and full guard distributions; every pre-D / renewal loss counted, no fixed historical 52.596 ms ceiling. Predicates unchanged; no tolerance or retrospective pass. |
+| Dependabot #22 | DISMISSED — tolerable risk, D-149 | #349: minimatch < 11.0.1 / GHSA-g3hv-75wg-m249, development only, no production-bundle path. Audit fix changes nothing; 11.0.3 blanket override breaks jsx-a11y after clean npm ci. No dependency change. Revisit when eslint-plugin-jsx-a11y accepts minimatch ≥ 11.0.1. |
+| Artifact-origin question | CLOSED by measurement | #346 no rejection; private / CGNAT exceptions only, measured non-private origin needs no exception. No policy or hosting change. |
+| Updates F11-02 | CLOSED | #351 corrects offline-install documentation: retained verified archive on initial / same-release installs; only absence downloads the signed URL. |
+| Updates F11-01 | CLOSED — fix + regular-run result | #352 fixes the shared TEST ONLY loopback gate; #359 run 2babf9b6 passes regular AT23–AT27 5 / 5 and installer 27 / 27 through that wrapper, unchanged generated config, no adapter. |
+| F9-INFLIGHT | OPEN — inherent backend finding, documented | #345 late upstream reply before the 10 s timeout replaces newer cache data. No exposed setting fixes insertion ordering; TTL is a maximum lifetime. |
+| Members F11-01 | OPEN — upstream-dependent under D-148 | #386 explains the TEST ONLY tracer closure; native delivery delay remains and historical d556673b stays unattributed. #394 request 2 adds IPv6 ::1-source type-4 data and type-2 responses to the owner’s repair-direction / upstream-report evidence. Its 8 / 8 fresh first selections and 58,619 sends reproduce neither the five-SYN failure nor the five-second gap; no common cause is assigned to members F15-F11-01, F15-AT02 or F14-01. D-148 makes no product, pin, daemon or architecture change. The orchestrator filed the ::1 response-source boundary with public evidence in [NetBird discussion 8473](https://github.com/netbirdio/netbird/discussions/8473) on 2026-11-03, and posted the [follow-up 23 retrospective sample comment](https://github.com/netbirdio/netbird/discussions/8473#discussioncomment-19411545) on 2026-11-05T04:30:00Z (2026-11-04 23:30 EST) pinned to commit `52b93845b5cfeac1dd63e04c700857fcd098a7f6` (#473 run 3eb3960d-c411-4648-8d77-bba40b436ae3: node eth2 egress packet 158 at 08:22:37.385050Z and member eth1 ingress packet 161 at 08:22:37.385059Z share IP SHA-256 8c35343b6d681435b86c5ab3fb03283d215a1ac3f665ce4727cb854a4a244d69, WireGuard type-2 payload 92 B / UDP 100 B / IPv6 140 B, ports 51820 → 51820, enclosing Ip6InHdrErrors 0 → 1 and WireGuard rx 0; no packet-specific kernel-drop trace and source-selection mechanism unproven; 1 comment / 0 replies when checked at 2026-11-05T10:11:17Z). Later clean initial transfers in 6a25221b and dee8492f do not close F11-01 or F22-AT01. |
+| Members F11-02 | CLOSED — fresh populated-grant rows | #361 run b98b78ee qualifies generations 10 / 21 with fresh accepted reports, populated lease, live grants and serving heartbeat. Historical generation-10 zero-grant / AWAITING failure stays failed. |
+| Members F11-03 | HISTORICAL FAIL — #410 unchanged; fresh AT02 passes in #455 | Members 17's three failed Applies, measurement_valid=false, all 1,253 losses and first re-grant failure remain recorded; #368 remains historical. #445 applies confirmed D-135/D-136 without an outage ceiling or zero-loss criterion; run-2 offline replay remains a proof, not a verdict. In #455 run 5715939e, accounting index 190 and sibling recovery 191 pass: all 1,237 losses among 6,165 sends are inside measured brackets. Remaining deny-all after a closed recovery is a separate availability row under D-157. |
+| Install-overrun cause | OPEN — unproven | #356 controlled interventions did not reproduce the overrun. #365 lifecycle observation and #369 TEST ONLY caller add evidence capacity, not retrospective causality. TestLab04 cancellation mechanisms are a separate finding; historical overrun cause stays unproven. |
+| Members F12-01 | CONSISTENT — provisional D-136; cause_status=unproven | policy_missing baseline during generation 11→13; stale-lease path consistent with code; no failed Apply. #369 corrects the branch reading; missing historical desired input/branch observation prevents definitive causal attribution. Original 236.970 ms / nine losses and every historical failure stay failed. |
+| Members F12-02 | LIVE-QUALIFIED — historical failures stay failed | #368 streamed reader passes 22 readiness / 12 monitor checks, reaching 2,455,378 bytes. #361 historical readiness/monitor failures stay failed. |
+| Members F12-03 | QUIET WINDOW PASSES — historical row stays failed | #368 six-second quiet setup passes the unchanged before-TTL assertion. Historical exact cause unproven; production blocked_response_ttl remains the owner value. |
+| Members F12-04 | OPEN — not reproduced by #367 | Fresh joined DNS delivery succeeds; historical native UDP SERVFAIL stays unattributed. Members instruments its original query next using StartNativeDNSCapture. |
+| Members F13-01 | OPEN — origin unproven; typed rejection | #375 fresh AT04 failure: four duplicated identical chain definitions, raw bytes private / public digest. #377 lab 0 / 3,300 duplicates; every duplicate owned-chain definition stays rejected as *enforce.DuplicateChainError (duplicate_chain). No historical row reclassified; distinct from updates F13-01. |
+| TestLab04_RestartKeepsVerifiedLease | CAUSE / FIX — #369, historical failures retained | Unchanged main fails 5 of 30 with leases about 3,599 s from expiry. Deterministic cancellation regressions establish manufactured Apply/member-path/storage failures. Step stops at the safe boundary then finishes bounded local work (at most 10 s); control I/O stays cancellable, real failures fail closed. Lab restart requires recorded graceful exit. Exact historical A1/R-A2 cancellation points remain unproven. |
+| Updates F13-01 | HISTORICAL GAP — receipt adopted in #390 | Run 759d244a’s first AT23 exit remains unobserved and was not filled. Run 2704600f is a new sample: all 11 stop commands returned 0; six terminations have parent receipts, including AT23’s first, and five repeats reuse them. No SIGKILL attempt; stored lease present at every stop/start. Distinct from members F13-01; no agent/updater defect inferred. |
+| ISO-F6-01 assertion 6 | FIXED — AT10 passes in new run | #376 fixes observationState omitting the rejected candidate generation. #380 run 38074149 AT10 PASS 9 / 0 / 0, ISO-F6-01 6 / 6, assertion 6 met by accepted reports. Historical 1c25ee44 block stays blocked. |
+| r18 M-1 | FIXED — #376 | No observation POST after caller cancellation; deferred finalizer carries the control budget. |
+| r18 M-2 | FIXED on both sides — #376 + #378 | One Step-local deadline plus Close: 13 s cooperative worst case. Agent TimeoutStopSec=15s; watchdog Before=fvpn-agent.service. Replacement stop 20 s per unit, stop-failed journal and rollback before candidate/current/units. |
+| r18 M-3 | FIXED on both sides — #376 + #382; fixture proof #394 | TEST ONLY populated hold: 13 / 0 / 0, two members, 50.000298 s; Step-3 alarm, one alarm-triggered escalation at 9.887 s (not 30 s fallback), generation_matched recovery. Consumer rows remain open: unrelated-failure precedence, active-stop retention, recovery inside a full row, distinct later incident and sole-member members_revoked closure. |
+| r18 L-1 | FIXED — #377 | Corrected TestReviewR18_EnabledSampleIgnoresInstallDeadline proves install-phase resource sampling skipped. |
+| r18 L-2 | FIXED — #376 | D-133 candidate rule fails a leg on any higher or missing member/node ceiling in either direction. |
+| Members F14-01 | OPEN — new #375 | First D-077 re-grant forwarding attempt failed after valid readiness; cause unproven. Routed to devstack 26. |
+| Harness stop-path gap | FIXED — TEST ONLY, #386; adoption #390 | Supervisor waits the shipped 15 s after TERM, PID1 forwards TERM / INT, compose grace 25 s. Parent receipt distinguishes agent outcome from container exit. Updates adopts this support. Historical SIGKILL / exit-137 and missing first-exit observations remain unchanged. |
+| Isolation F14-01 | FAIL — #383, unchanged historical run 56d20530 | Distinct from members F14-01. AT13 5 / 1 / 1: last positive D−162.220 ms; packet 161 scheduled D−101 ms arrived D−97.638 ms and dropped. Closure (D−162.2, D−97.6] ms straddles D−101 ms, undecided and failed; no retry waiver. #392 and #399 are separate unqualified samples; #404's first qualified pass is a separate result; this historical failure stays failed. |
+| Members 15 serving-node signature | OPEN — #385; cause unproven | AT01 first selection at generation 5: five member SYNs, zero node or origin packets. AT02: 249 absent ingresses, sequences 1108–1356, 5.0975 s gap, zero capture drops. Together with members F14-01 these are three serving-ready missing-ingress samples. #394 reproduced neither five-SYN failure nor five-second gap; 183 ingress-without-origin losses remain counted. Historical files are byte-identical and members’ rows unchanged; ::1 anomalies establish no common cause. |
+| r19 H-1 | FIXED — #389 | Current denied, host or resolver download sources drop before generic established / related accepts; exact designated-resolver TCP / UDP source-port-53 replies stay ahead. ctdenyd is diagnostic_v1, never usage; exact guards verified on member, serving-probe and baseline-probe paths. |
+| r19 M-2 | FIXED — #388; production-reachable | A due renewal signs h while busy Apply retains g; ACK g carried h’s live refs. Minimal applied snapshot is committed atomically with the ACK; refs reported only when matching the applied generation, including restart; unknown legacy refs stay null. |
+| r19 L-2 | FIXED — #388 | Conntrack delete batch reserved in one transaction before Apply; crash/pre-delete failure spends the reservation. About 1.1 ms (p99 1.59 ms) before restricting install on Steps with queued deletes, accepted under D-138 with cost explicit. |
+| r19 design-only | D-141 RECONSIDERATION CONDITIONS | H-2, M-1, M-3–M-8, L-1, L-3 and L-4. Design-only findings must close before reconsidering option (b); no implementation or fix claimed. |
+| Netlab D-120 missing successor | MEASUREMENT END FIXED — #396; failed runs retained | Stream closes after the final guard bracket, at most one lost-tail successor cycle, 15 s parent watchdog fails incomplete evidence. classify_d120 and tests byte-identical. A2, earlier branch attempt and gate2-replay stay failed; replay generation 1087 / sequence 57 still reports (iii): next datagram missing. One quiet-host run: 100 reloads, 101 verified Applies, zero UDP losses / TCP timeouts / extra cycles; lost-tail extension proven offline only. |
+| RELATED ICMP outer source | ON `main` — D-147 (#432); isolation 19 mechanism PASS | Three per-admitted-address RELATED IPv4 type 3/code 4 accepts from resolver_v4 / denied_v4 / host_v4, before source-deny drops, metered once as download at the existing priority. #434’s four exact source sets, including overlap, pass: ten errors / 5,760 IP bytes each, learned PMTU 1000, 64,064-byte upload, exact usage / class 1:2f. Time-exceeded still drops at ctdenyd, unsolicited error at ctinv; upload denies use D-152’s applicable destination rule with zero upload usage. No upload reachability, probe exception, other ICMP or IPv6 forwarding granted. Fixed IPv4 lab evidence only; assembled real-node row not exercised after the capacity PATCH 412. |
+| Agent-core 35 same-boot adoption | CLOSED — restart #401; verifier content check #405 | Changed DeniedV4, ExtraDeniedV4 or HostV4 refuses adoption, taking baseline until a full Apply; busy lock/control timeout retain baseline. #405 also detects changed kernel coverage after an unrecorded Apply and refuses restart adoption. |
+| Agent-core 35 live set drift | CLOSED — #405 | Periodic live reads compare exact denied_v4 / host_v4 coverage; missing, extra or tainted coverage withdraws serving without another Apply (TestAT13_F27_PeriodicLiveSetDriftWithdrawsServing). |
+| Isolation 15 D-140 sample | UNQUALIFIED — failed qualification, #392 | Run 0b9e4510: unchanged EvaluateDeadline passes, last positive D−98.630 ms, first drop D−97.598 ms. Packet 171 egress follows packet 172 ingress by 3.821 µs once; whole-node row stays unqualified. Stays failed qualification under D-142. Historical isolation F14-01 stays failed; isolation 16's sample (#399) is also unqualified; #404 is a separate qualified pass, not a historical upgrade. |
+| Isolation 15 signal-15 receipt | EXPLAINED AND FIXED — #401; receipt retained | Three agent exits 0; terminal source agent ended by signal 15 with no exit code. Agent-core 36: the old signal windows reproduce signal-15 exits; with NotifyContext before open / Boot / Start and stop after Close, both exit 0. The receipt stays recorded as it was, not relabelled cooperative. No stale-lease hold formed; populated hold unexercised in this run. |
+| r20 H-1 | FIXED — #429 | Confirmed refused-adoption pending-byte loss. 37 restores/settles retained usage; its claim that an Apply-before-retained-write crash could only gap was false. 38 corrects provenance using pre-refresh desired/live generation, closes settlement before refresh/Apply, clears retired bindings and opens an unbound epoch. Later 39/40 refinements remain in the merged branch. Unknown attribution still gaps; no invented owner. Proof: `TestR20_H1_RefusedAdoptionAttributesPendingDeltaOnce`; [full record and proofs](../reviews/README.md#r20-to-r25-dispositions-at-the-follow-up-39-cutoff-2026-11-03-est). |
+| r20 H-2 | CLOSED — netlab 27, #405 | Apply verification and periodic reads enforce exact interval coverage, mandatory interval flags, no timeouts, SNAT /32 and empty untainted baseline admission; missing, extra or tainted contents fail ISOLATION_POLICY_INVALID. |
+| r20 M-1 | FIXED — #429 | Confirmed TERM could leave live rules under a false heartbeat. Local baseline completion is bounded; 38 corrects 37’s false 13 s claim to one 10 s Boot budget and 3 s Close, preserves nonzero Boot failures, and stops Run entering another Step after TERM. Successful completed baseline plus TERM still exits zero. Proof: `TestR20_M1_TermDuringBootInstallsBaselineAndExitsZero`; [full record and proofs](../reviews/README.md#r20-to-r25-dispositions-at-the-follow-up-39-cutoff-2026-11-03-est). |
+| r20 M-2 | FIXED — #429 | Confirmed delayed refusal. Generation, clock and set checks precede lock/probe and sets are checked again after evaluation. An already-held adoption node lock is not mistaken for an updater lock, avoiding a self-conflicting probe baseline. Proof: `TestR20_M2_RefusalPrecedesLockAndProbe`; [full record and proofs](../reviews/README.md#r20-to-r25-dispositions-at-the-follow-up-39-cutoff-2026-11-03-est). |
+| r20 M-3 | FIXED — #429 | Confirmed heartbeat and stale-error defects; original two-hour monotonic rewind proof rejected and replaced. Withdrawing handoff writes its heartbeat; a verified Boot baseline clears refused-adoption error, quarantine keeps it. 38 corrects orphan member-path diagnostics without discarding topology evidence. Proof: `TestR20_M3_ShutdownHandoffRecordsWithdrawal`; [full record and proofs](../reviews/README.md#r20-to-r25-dispositions-at-the-follow-up-39-cutoff-2026-11-03-est). |
+| r20 L-1 | CLOSED — rejected; guards in #429 | Empty installed DeniedV4 is unreachable because enforce rejects it. Retained generation ahead of ACK is harmless: persisted desired already makes adoption refuse. Explicit equality guards remain. 38 replaces the retired-binding assertion with closed-epoch/empty bindings because that assertion encoded 37’s regression. Proof: `TestR20_L1_EmptyDeniedV4NeverEqual`; [full record and proofs](../reviews/README.md#r20-to-r25-dispositions-at-the-follow-up-39-cutoff-2026-11-03-est). |
+| Isolation 16 D-140 sample | UNQUALIFIED — failed qualification, #399 | Run 83b457ef, 2.2 ms spacing from 103 calibration packets: unchanged EvaluateDeadline passes, last positive D−99.797 ms, first drop D−97.671 ms. Packet 162 (3.151 ms) left 3.609 µs after packet 163's ingress, both positives at D−106.3 ms; nothing retried. Isolation 15's sample and isolation F14-01 stay failed. #404 is a separate qualified pass under D-142; this sample stays failed. |
+| Isolation F16-01 | FIXTURE DISPOSITION MERGED — #403; the original run stays failed | Shared D-104 precision fixture failed before the packet window on one 2 ms expires step. Netlab 26 shows per-element expiry bases and the per-element dump clock; exact 1001–1008 ms read-back kept, each expiry bounded on its own (TEST ONLY). Exact shape not recaptured; run 83b457ef's individual cause unproven. |
+| Isolation 16 120.467 ms install | OBSERVATION — no fix routed | One install exceeded the 100 ms guard in run 83b457ef, with rollback and recovery. Recorded, not waived. |
+| Members 16 run 0ffb355a | FAIL — AT02 and AT09, #400; historical verdict unchanged | 2 pass / 6 blocked / 2 fail, 679 / 6 / 7 subchecks. AT02 fails provisional D-135 / D-136; AT09 fails four reviewed subchecks; AT01 first SYN 5.222 s. F11-01 / F14-01 stay unproven and the 17:32:43–17:37:12 UTC contention stays confounded under D-133. Survivor row was not exercised here; #410 exercises it separately. AT09's 401 did not recur after fresh OIDC in #410; follow-up 16's cause stays unknown. All 81 roots archived with additive publication mapping, measured harness 3a8b6159 = published 5d9e5f04. |
+| r21 H-1 | FIXED — #429 | Confirmed 37 regression: crash after counting Apply before retained persistence can charge the old member. Boot captures desired before refresh and live generation, initially intersects plausible identities; 39’s appended correction replaces over-restrictive/unscoped intersection with durable boot/epoch intent. Unknown identities gap individually; unchanged devices retain records. Proof: `TestR21_H1_CrashBetweenApplyAndRetainedAppliedMisattributesToPreviousMember`; [full record and proofs](../reviews/README.md#r20-to-r25-dispositions-at-the-follow-up-39-cutoff-2026-11-03-est). |
+| r21 H-2 | FIXED — #429 | Confirmed pre-existing failed-settlement/rebinding mischarge; 37 narrowed the restart window. Pending final settlement holds refresh and Apply, closes the interval and prepares an unbound epoch. A persistent source/storage failure keeps forwarding off. 39 extends the pending gate to runtime handoff as the appended correction states. Proof: `TestR21_H2_FailedSettlementThenRebindingApplyMisattributesToNewMember`; [full record and proofs](../reviews/README.md#r20-to-r25-dispositions-at-the-follow-up-39-cutoff-2026-11-03-est). |
+| r21 M-1 | FIXED — #429 | Both confirmed: open-head rebinding gap pre-existed; restoring retired identities into a closed epoch was a 37 regression. Close the old interval, clear identities and prepare an unbound baseline before new traffic. Original proof’s pre-Apply traffic and nil-binding close were corrected; the old r20 retained-ahead assertion was corrected too. Proof: `TestR21_M1_RefusedAdoptionLeavesOpenRetainedBindingCausingFalseConflictOnRebind`; [full record and proofs](../reviews/README.md#r20-to-r25-dispositions-at-the-follow-up-39-cutoff-2026-11-03-est). |
+| r21 M-2 | FIXED — #429 | All four confirmed: uploader cancellation pre-existed (37 exposed entry-canceled/lock wait); canceled recovery latch pre-existed; stacked phases were 37’s design with older cleanup/Run-to-Step paths; false exit zero/stale failure heartbeat pre-existed. Caller-bound upload/lock, shared 10 s Boot worker plus 3 s Close, no spurious recovery latch, nonzero ErrBoot and failure receipts; 39’s correction publishes conservative receipts before blocking work. Proof: `TestR21_M2_BootUnderSIGTERMUncanceledUploadAndRecoverBlocked`; [full record and proofs](../reviews/README.md#r20-to-r25-dispositions-at-the-follow-up-39-cutoff-2026-11-03-est). |
+| r21 L-1 | FIXED — #429 | Confirmed 37 orphan reason; earlier main retained the actual error. Keep pending topology evidence, but heartbeat override requires a current member-path error. Non-serving decision/heartbeat agree; later serving attempts still verify and eventual repair clears it. Proof: `TestR21_L1_RefusedAdoptionMemberPathLeavesOrphanMemberPathPending`; [full record and proofs](../reviews/README.md#r20-to-r25-dispositions-at-the-follow-up-39-cutoff-2026-11-03-est). |
+| Netlab F27-01 / B1 | UNRESOLVED — no fix; B1 FAIL and unexplained; D-150 measurement closed by D-153 | #423 revises C1 as documents only. D-145 keeps the production guard; no C1 or hitless hand-over. Netlab 30 remains host-unqualified; historical B1 is not explained or upgraded. Four attempts, agent-core 44–47 (#431/#436/#439/#444), yielded no comparison on frozen A 567080be / B 38420dad: harness/admission failures in 44–46, then frozen A's TestLabExternalMeterReset failed in 47. Both arms have zero pooled legs. Main's 13/13 is functional evidence only; no claim about 37–43 timing, B-only failure or attributable shift. D-153 schedules no further A/B; agent-core 48 reads the frozen failure for the record only. C1 reopening still requires D-145's field complaints or measured member-visible impact after r24 H-1's fix. |
+| Netlab F27-02 | FIXED — fixture defect, #417; fixed-test reading HOLDS by #420 | F21-01’s mechanism: test setup consumed the persisted wall-clock budget, fixed by synctest. Updater 23 predeclared process-exit end rule: r1 20/0 unqualified at 0.996 foreign cores; r2 50/0 qualified (0.105 before exit, 0.385 after), pooled with updater 22’s quiet 200/0; all 352 logged parent Recover calls have exact budgets. Updater 21’s failed verdict, updater 22’s undecided verdict and netlab 27’s failed run stay recorded; every unqualified leg stays unqualified. |
+| Devstack F30-01 | CLOSED — #468 run 8a436a87; credited to #446, #454 and #463 | Candidate started under its parent-held update.lock, reported recovery_required while held, cleared after release, served members, and lease-expiry passed afterward. update-good exits 0 with no update lock wait record: first acquisition succeeded. No merged change is credited with avoiding devstack 34's collision; #476 run c17589fa records the first live D-158 wait: 446 ms, acquired, budget 10000 ms; the running agent held update.lock during the wait. Stale-then-live contention is unobserved. F30-01 stays closed. [Update behaviour](operator-guide.md#f30-01). |
+| Isolation F17-01 | ACCEPTANCE-COVERAGE GAP — D-164 contract phase in #485; Central, consumer and agent phases pending | #484's demonstrated stale-lease fixture shows attachServingRead replacing the QoS detail required by Central's pure_stale_generation classification. This is a conditional diagnosis, not a universal claim about nodes with retained reads; independent failures retain precedence. Provisional D-164 separates retained serving-read evidence from causal check details. #485 adds only the optional nullable contract surface; Central acceptance/projection, diagnostic consumers and producer rollout remain pending. F17-01 and D-163's expected-not-exercised entry remain open. [Source and boundary](follow-up-49.md#diagnostic-boundary-and-contracts-484485). |
+| Isolation 17 D-140 sample | FIRST QUALIFIED PASS — #404 | 0ec14b39, one run/no retry, 2.4 ms from 103 calibration packets; D-142 from packet 166, zero overlaps anywhere; byte-identical EvaluateDeadline passes. Isolation 15/16 and F14-01 stay failed; fresh D-104 26/7 does not close original F16-01. |
+| Members 16 survivor continuation | EXERCISED LIVE — first consumer members 17, #410 | #406 ArmMatchingLeaseHoldSurvivor consumed in run 81b638e8: sibling suspension, survivor accepted report inside the same open incident, recovery at generation 11. The separate source-address populated-hold row remains not exercised (F31-01). |
+| Netlab F28-01 | CLOSED — test-isolation defect, netlab 29 #415 | Reproduced +97 upload bytes (15,533 → 15,630): AT10's old admitted TCP flow, 57-byte retransmitted request + 40-byte RST, matched at all four capture points strictly between reads. FIN-WAIT-1 survives node conntrack flush. AT12 destroys/verifies old sockets before probes and baseline; assertion byte-identical, both corrected full suites found old sockets and counted zero deny bytes. Not refused-packet billing. Follow-up 28 gate 2 stays FAIL; original packets not captured. |
+| Devstack F31-01 | DESIGN DELIVERED — #484; owner implementation and devstack hook pending | #412 finds no live source-address verification behind bindingOK, with source_binding coupled to qos / lease. In #484 (`docs/node/followup53-2026-11-04.md`), agent-core 53 delivers the design-only note: `bindingOK` (`node/agent/decide.go:208-245`) comes from signed model construction and couples `source_binding` to `qos` and `lease`; it proposes independent structural verification (`ReasonSourceBinding`, `SOURCE_BINDING_INVALID`, `SourceBindingError`, `ObservationReport.source_binding_evidence`) combining nft accept/class (`node/enforce/verify.go:822-858`, `verify_tc.go:130-155`), `allowed_v4` element presence/lifetime (`node/agent/allowed_presence.go:43-94`, `node/enforce/deadline_read.go`) and kernel `ip route get /32` (`node/agent/memberpath.go:37-132`, `3 + A` subprocess reads), keeping kernel route resolution rather than user-space LPM over `ip route show` and stating that structural reads do not prove per-device packet-origin authentication. Unadopted design only: no contract, Central, `node/enforce`, `node/agent`, or `deploy/devstack` change is merged, and the separate source-address populated-hold row remains not exercised. |
+| Members 17 D-067 / AT09 | HISTORICAL FAIL — #410/#433 unchanged; fresh restart subchecks in #455 | #445 judges observations from restart under each observation's held lease. In #455 run 5715939e, index 25 is blocked / not exercised (no grant-less lease); 26 passes and 27 passes with no TC_FOREIGN_FILTER in four post-restart reports, live evidence for #447 r27 H-1. Overall AT09 remains blocked. 81b638e8 and members 18 runs 1 and 2 (50117c68) stay failed; follow-up 16's 401 cause remains unknown. |
+| Updater F21-01 | FIXED — test fixtures only, updater 22 #417 | Persisted wall-clock deadline began at the block; test setup could consume it before the engine’s first read. Parent, FailsClosedWithoutCorrelation and correlatedApply now use synctest; budgets and assertions unchanged, remaining-budget guard and bubble bound detect renewal deterministically. #420 corrects #417’s count to 15 failing cases: replaced, four correlation scenarios, ten Rule tests. 26 counts test/subtest results (24 cases plus two parents); #417’s row stays final. No product change. |
+| r22 H-1 | FIXED — #429 | A/B confirmed pre-existing: same-pass lease refresh can rebind before a sample commits; failed runtime handoff bypassed settlement. Withdraw, settle outgoing identities, prepare unbound epoch and persist scoped intent before identity change; all failed handoffs gate refresh/Apply. B’s permanent paused-sampling explanation is rejected: successful Apply already calls resumeSampling unconditionally; retain ErrHold/source-failure recovery and periodic sampling guards. Proof: `TestR22_H1_UnsettledGenerationTransitionAndHandoffMisattributeUsage`; [full record and proofs](../reviews/README.md#r20-to-r25-dispositions-at-the-follow-up-39-cutoff-2026-11-03-est). |
+| r22 H-2 | FIXED — #429 | All five confirmed with corrected traces: .1 live marker excludes unapplied desired; .2 unpublished desired cannot admit; .3 omitted devices have no counting rule, unique identities recover but older reuse needs provenance; .4 failed retained write triggers Baseline, then crash before settlement; .5 real first Apply counts before retained persistence, replacing artificial deletion. 38 introduced the over-restrictive/unscoped intersection/nil-model return; older restart loss and 37’s stale model existed. Pre-Apply boot/epoch intent plus qualified legacy recovery fixes false gaps; unknown older ownership still gaps. 40’s appended reset-continuity correction is retained. Proof: `TestR22_H2_CaptureRestartBindingsFalseGapsAcrossCrashWindows`; [full record and proofs](../reviews/README.md#r20-to-r25-dispositions-at-the-follow-up-39-cutoff-2026-11-03-est). |
+| r22 M-1 | FIXED — #429 | Confirmed pre-existing early initialization latch, made persistently wedged by 38’s pending gate. Publish initialization only after success, release partially initialized resources and retry meter/store construction. Proof: `TestR22_M1_TransientBootMeterOpenFailureWedgesRetainedPendingSettlement`; [full record and proofs](../reviews/README.md#r20-to-r25-dispositions-at-the-follow-up-39-cutoff-2026-11-03-est). |
+| r22 M-2 | FIXED — #429 | Pre-existing irreversible adoption ordering confirmed: prepare meter read-only with an existing continuous open epoch, defer bindings/activation/upload until final gates. Original false-gap trace rejected: nil-bound FinalSample created its gap before Boot and closed while forwarding remained live. Reachable open-epoch late-abort proof replaces it; no pre-decision mutation/upload. Proof: `TestR22_M2_AdoptionPreparationHasNoUsageEffectsBeforeLateAbort`; [full record and proofs](../reviews/README.md#r20-to-r25-dispositions-at-the-follow-up-39-cutoff-2026-11-03-est). |
+| r22 M-3 | FIXED — #429 | A/B confirmed: 38’s bounded worker exposed older late/failure publication gaps; publish conservative startup before blocking stages and verified baseline before ledger work, with capped writes inside the shared budget. C confirmed pre-existing: failed probe clear falsely burned nonce and left stale receipt; keep uncleared, retry without reinstall/extension and report failure. DatapathValue is production-unreachable after LoadConfig validation, retained only as ErrBoot/heartbeat guard. Existing kernel expiry still bounds failed-clear exposure. Proof: `TestR22_M3_FailedOrTimedOutBootAndProbeClearLeaveUntruthfulHeartbeat`; [full record and proofs](../reviews/README.md#r20-to-r25-dispositions-at-the-follow-up-39-cutoff-2026-11-03-est). |
+| Updater F23-01 | FIXED — fixture defect, updater 23 #420 | TestUPD_D053_Review_PollBreaksOnTransientFailedCheckBeforeWaitExpires depended on its own work finishing in 80 ms real time. A 250 ms clock stall fails before / passes after the synctest bubble-clock fix; window, poll interval, TTL and assertion unchanged. First-attestation mutation still fails; package stall control passes all 176 tests. No product change. |
+| r23 H-1 | FIXED confirmed sub-traces — #429; H-1b guard retained | H-1a confirmed extra mapping gap, rejecting zero-gap/reset-byte demand: 8192 attributed, one legitimate counter_discontinuity gap, not 9216. H-1b is a confirmed provenance limitation; absent-idle-counter fixture is a guard, real zero-counter trace already passes 39, so no healthy-renderer outage proven. H-1c confirmed 39 transient-marker gate losing intent. Accept only proven same-boot reset continuity, load durable intent independently, reject contradictory marker and settled boundaries; exercise real repair/nudge. Switching is incident-driven, no measured frequency. Proof: `TestR23_H1a_EpochSwitchDuringServing_InvalidatesUsageIntentAndCreatesFalseConflictOnRestart`; [full record and proofs](../reviews/README.md#r20-to-r25-dispositions-at-the-follow-up-39-cutoff-2026-11-03-est). |
+| r23 H-2 | FIXED — #429 | Confirmed interrupted barrier/checkpoint publication after a committed close. Dual-purpose flag pre-existed; 39 added the false admission error. Separate epochClosed from finalDone/barrier completion, always prepare next epoch before admission after interruption; main’s passing serving assertion did not prove preparation. Proof: `TestR23_H2_HandoffBarrierRaceLeavesFinalDoneFalse_NextServeFailsAdmission`; [full record and proofs](../reviews/README.md#r20-to-r25-dispositions-at-the-follow-up-39-cutoff-2026-11-03-est). |
+| r23 H-3 | FIXED — #429 | a/b/b′ confirmed: stale decision after settlement failure; unverified serving after failed Baseline; checkpoint-removal failure bypassing withdrawal. 39 added pre-Apply exposure, underlying ordering pre-existed. Latch/clear serving before fallible work, baseline before invalidation, recompute reports including early returns and keep retry. A failed kernel command is not verified closure. Healing-final-sample reason guard preserves the withdrawal cause; its receipt is after initial 40 edits, not an unchanged-39/main introduction proof. Proof: `TestR23_H3a_PreApplyHandoffSettleFailure_EmitsCorruptObservationAndDashHeartbeat`; [full record and proofs](../reviews/README.md#r20-to-r25-dispositions-at-the-follow-up-39-cutoff-2026-11-03-est). |
+| r23 M-1 | FIXED — #429 | Confirmed pre-existing missed settlement latch (38’s pending state omitted this return): first Baseline fails, second succeeds. Latch before withdrawal and preserve second fail-closed attempt; restart/recovery must not depend on a later incidental sample. Proof: `TestR23_M1_WithdrawSecondBaselineSuccess_LeavesOpenEpochUnsettledWithRetainedPendingFalse`; [full record and proofs](../reviews/README.md#r20-to-r25-dispositions-at-the-follow-up-39-cutoff-2026-11-03-est). |
+| r23 L-1 | CLARIFIED — #429 | Ordering clarified additively in 39 records: latch removes orphan checkpoint before adoption and under node lock; read-only ExistingEpochOnly preparation precedes final gates; bindings and activateUsage wait. Reviewer’s quoted sentence and loadUsageIntent/prepareAdoptionUsage/resumeAdoptionUsage names are absent. No standalone L-1 proof exists; the named M-2 guard supports ordering, not a newly invented L-1 test. Proof: `TestR22_M2_AdoptionPreparationHasNoUsageEffectsBeforeLateAbort`; [full record and proofs](../reviews/README.md#r20-to-r25-dispositions-at-the-follow-up-39-cutoff-2026-11-03-est). |
+| r24 H-1 | FIXED — #429 | Confirmed pre-existing unchanged-poll Apply; timeout-only retention dates to 28. Compare complete renderer inputs and pending work under node lock, freshly verify serving/member path and allow-element completeness. Healthy genuine 304 ticks retain enforcement; renewals, changed models or required repair still Apply. Original fake-signing fixture was actually 200 with a real 1 ms expiry change; orchestrator approved setup-only genuine-304 correction. Missing-element live drift was an additional confirmed verifier dependency. Proof: `TestR24_H1_SteadyStateNoOpStepReappliesEveryPollTick`; [full record and proofs](../reviews/README.md#r20-to-r25-dispositions-at-the-follow-up-39-cutoff-2026-11-03-est). |
+| r24 H-2 | tc order FIXED — #423; eligibility design correction, documents only | Confirmed tc defect: prepare before nft, retire after guarded commit and budget check before release; failed retirement attempts baseline, final extra/missing classes fail verification. Eligibility confirmed in part: stable class and non-tightening ceilings allow rate-only fair-share changes in the C1 revision, not implemented. |
+| r24 H-3 | FIXED — #429 | Deadline collapse confirmed pre-existing in member aggregation (25), with earlier binding window. Correct mechanism: renderer already caps ValidUntil; agent collapsed every binding into shared DeadlineMono and first binding supplied wall ends. Keep member-only caps plus independent device timeout in either order. Retained model after withdrawal/reboot and Apply value-copy clock are true C1 design warnings, not new production authorization defects; no C1 receipt/eligibility. Distant deadline arithmetic caps before anchor addition. Proof: `TestR24_H3_AppliedModelRetainedAcrossWithdrawAndMultiDeviceDeadlineCollapse`; [full record and proofs](../reviews/README.md#r20-to-r25-dispositions-at-the-follow-up-39-cutoff-2026-11-03-est). |
+| r24 H-4 | FIXED — #423 | Confirmed: one self-contained baseline resets fixed candidate chains/sets without fresh state, retains counters and touches no foreign table. Baseline/quarantine cleanup independent of cancellation, five-second budget. Not a recovery bound or C1 bank cleanup. |
+| r24 M-1 | DESIGN CORRECTION — C1 revision, documents only | Counterexample trace; old bank deleted at release and delayed fallback installs fenced by lock plus child reaping. No C1 implementation. |
+| r24 M-2 | CONFIRMED IN PART — post-shape rollback FIXED by #423 | Both post-shape clock errors attempt independent rollback. Alleged fatal Verified:true return rejected as currently unreachable; invalid-address pre-mutation regression retained. |
+| r24 M-3 | TOOLING PREREQUISITE — C1 revision, documents only | Confirmed by trace.go inspection. Copied classifier proof dropped because it did not invoke tooling. Real classifier/decorator tests and ctunku/ctunkd deltas required. #426's [additive correction](../poc/G2-followup33-design/corrections.md) rejects r24's unsourced TCP_RTO_MIN/socket-pacing characterization of B1: it is the first D-133 candidate arm, including F27-01's failed read. No transport/socket change in any C1 acceptance run or comparison arm; no tooling change. |
+| r24 L-1 | CONFIRMED IN PART — netlab 33 #426, documents only | [Additive correction](../poc/G2-followup33-design/corrections.md): lock-location half rejected, empty eligible-set half specified by follow-up 32 retained. The cited follow-up 31 line names no lock, node/updater/config.go does not exist, and main defaults to /var/lib/vpn-node/update.lock. No conclusion depends on the path string; shared locking and child reaping fence delayed fallback. Archive unchanged; no C1 implementation. |
+| Netlab F32-01 | FIXED — #429 | Confirmed pre-existing two-byte nanosecond modulus effectively fixed at minus 12 s and re-drawn on checks. Uniform integer-millisecond jitter is drawn once per lease and saved atomically: default lead 108–132 s, 24,001 points; zero offset on random failure/legacy row, restart reuse and configuration clamp. Half-window cap permits at most 0.55 of window, subject to existing 1 s base floor. Grant-less D-067 schedule unchanged. Proof: `TestAT13_F32_01_UniformMillisecondRenewalJitter`; [full record and proofs](../reviews/README.md#r20-to-r25-dispositions-at-the-follow-up-39-cutoff-2026-11-03-est). |
+| Isolation F18-01 | FIXED — harness defect, #424; first scheduled exercise pending | Both unlisted blocks in 41640196805 came from restart without readiness: AT13 login/audit 502, AT10 missing readiness/no injection. Current-run readiness waits and no-injection blocked verdict fixed; expected-blocked.json unchanged. Local 9f1bc0ff passes both rows and qualifies D-140 under D-142; only operator rows block. Previous night's 41456092596 AT10 pass inherited checkout readiness and is not qualified. [Dated diagnosis](../e2e/at/isolation/nightly-diagnosis-2026-11-03.md). Distinct from bare F18-01. |
+| r25 H-1 | FIXED — #429 | Confirmed device/member siblings at Step entry, verify and retained read. Correct attribution: verify-path whole-node withdrawal/contradictory report and watchdog earliest-deadline closure pre-existed on main; 41 added entry/retained variants. Earliest wake stays separate from last-installed-binding watchdog cap; re-decide and Apply survivors same tick, exact expired-only removal checkpoints old bytes without intermediate baseline. Last expiry/node caps and errors fail closed; current reasons replace false dash. Follow-up 38’s main-overlap question is closed. Proof: `TestR25_H1a_SiblingExpiryOnStepEntryTearsDownWholeNodeToBaselineBeforeControlPass`; [full record and proofs](../reviews/README.md#r20-to-r25-dispositions-at-the-follow-up-39-cutoff-2026-11-03-est). |
+| r25 M-1 | FIXED — #429 | Confirmed 41 strict retention equality for both post-Apply switch and sampler discontinuity. SameCountingInterval proves continuity; persist refreshed intent before memory. Real final-sample/boot/closed-epoch boundaries reject, and failed durable refresh withdraws. Restart can interpret either side of the write. Proof: `TestR25_M1_EpochSwitchDuringServingLeavesIntentEpochStaleAndForcesRedundantApplyOnNext304Tick`; [full record and proofs](../reviews/README.md#r20-to-r25-dispositions-at-the-follow-up-39-cutoff-2026-11-03-est). |
+
+| Isolation F19-01 | ANSWERED — provisional D-152 | #434’s literal ctdeny subcase was not exercised for resolver-only / host-only sources; actual upload denial passed at ctbadns / cthost with zero usage. D-152 confirms those applicable production rules; denied-only and denied+host use ctdeny. No rule order or requirement changes, and no historical record is rewritten. |
+| Isolation F19-02 | ANSWERED — publisher #438, six-site adoption and assembled run #442 | Historical 70beb28e and all 12 blocked checks stay unchanged; the suspected observation race remains unproven. In c52bea6c, shared capacity PATCH and publication PUT each return 202 on their first attempt with observed serving. Fourteen retained logical node writes take fourteen attempts, no 412. Successful extra setup publication lost its temporary trace, so a complete run-wide audit is not claimed; offline recording fixes await live proof. New overall result 26 pass / 2 blocked / 1 fail is separate; F20-01 stays failed. |
+| Members 18 grant restoration | ANSWERED — members 19 #437; offline proof only | finiteExpiry restores member A to 3 authorized / 0 pending on both failed-replacement and failed-forwarding-trace returns through the public grants API on the same plan revision. The original failed check and normal path's single restoration/two checks stay unchanged; early cleanup has separate checks. Six additional owned sites fixed. Offline tests pass with and without e2e; no assembled run, all committed run records and AT02/AT09 failures unchanged. Shared-helper rollback is a separate open row. |
+
+| Shared e2e helpers early returns | ANSWERED — devstack 33 #441; offline | Stack.ReplaceFiniteGrant withdraws any lost-response replacement, then restores each original plan/validity through public grants, requiring operation success and live read-back; original error retained, recovery failures joined. Stack.PrepareNativeRouter1280 rolls back completed setup steps in reverse order with bounded receipts. Members keeps its permitted fallback. Consumer live proof belongs to the next authorized assembled run. |
+| AT-owned node-write sites | CLOSED — all audited AT sites answered on main | Isolation #442 and members #445, secops #448 (six sites), enrollment #450 (three sites / five commands), updates #451 (one retirement DELETE), and usage #453 (16 nodeMutation callers) use Stack.WriteNode with exact read-back predicates, embedded receipts and AST bypass audits. PATCH accepts 200 or 202; publication PUT, revoke and DELETE accept 202 only; usage's review fix restores seven checks. Exact-code conflicts, same key/body and operation/observed-state separation remain. Enrollment, updates and usage are offline only; closure is adoption, not new live coverage. |
+| Zero If-Match contract detail | ANSWERED — wire-nodes 35 #443 under D-154 | The first session correctly stopped on a zero-row counterexample to its brief's precondition. The revised ruling accepts zero before lookup: an actual version-0 row matches and advances; every other row gets ordinary 412 RESOURCE_VERSION_CONFLICT with details.current_resource_version. Four guarded routes, the zero-row case and standalone entry points cover all six parser callers. No schema or contract change. Historical #438 zero-header proof remains as recorded; its observation race was not reproduced. The publisherTrace32 comment is a separate nonblocking hand-off. |
+
+| Isolation F20-01 | FIXED — #447; qualified live short expiry #452 | Historical c52bea6c in #442 remains failed: safety_check_failed baseline 40.99 s before D. Agent-core 48 separates local work from the exhausted control context. In #452 run 7599576e, short whole-node expiry passes unchanged D-140 and qualifies under D-142. The independent member-expiry coverage gap is Isolation F21-01. See [operator disposition](operator-guide.md#r28-h-1). |
+| r27 H-1 | FIXED — #447; holds live in #455 | Independent successful link inventory establishes a missing member interface without falsely latching TC_FOREIGN_FILTER, containment or quarantine; real foreign filters remain contained. Members 21 index 27 passes. [Review disposition](../reviews/README.md#r27-and-r28-dispositions-at-the-follow-up-43-cutoff-2026-11-04-est). |
+| r27 M-1 | FIXED — #447; remaining availability item separate | The grant-less deadline schedules Step and freshly verified deny-all recovery rules are retained while waiting. In #455 no baseline is written between closed-recovery Apply 558 and serving Apply 564; the re-baseline is gone. The remaining wait for the renewal slot is the new members AT02 availability row under D-157. [Review disposition](../reviews/README.md#r27-and-r28-dispositions-at-the-follow-up-43-cutoff-2026-11-04-est). |
+| r27 L-1 | FIXED — #447 | One containment attempt per local pass; its verified baseline is reused until the next rules mutation. Imported proof fails before and passes after; Held proofs pass. [Review disposition](../reviews/README.md#r27-and-r28-dispositions-at-the-follow-up-43-cutoff-2026-11-04-est). |
+| r28 H-1 | FIXED — #447; live short whole-node expiry #452 | Local probe and usage-store lock have a local work context independent of the hung HTTP budget; R21 adoption_probe budget remains protected. The D-140/D-142-qualified #452 result supplies live coverage. Historical F20-01 remains failed. [Review disposition](../reviews/README.md#r27-and-r28-dispositions-at-the-follow-up-43-cutoff-2026-11-04-est) and [operator disposition](operator-guide.md#r28-h-1). |
+| r28 M-1 | ANSWERED — check #452; first live pass #459 | Run 7b0db5f2 reaches the fresh-renewal window: member deadline 06:19:21Z, accepted node lease ends 06:19:47.33Z, 26.3 s later; all five requests time out, bytes stay flat, six reads show a serving node. Original run 20 still replays as fail and its historical pass is not serving-node evidence; run 21 stays blocked. |
+| R23 boot heartbeat flake | FIXED — #447 | Boot heartbeat uses Boot's enclosing deadline after removal of its independent 100 ms child cap; pre-publication expiry check remains. TestF48_R23_BootHeartbeatUsesOneBudget fails before and passes after. The original #444 interrupted-checkpoint failure and passing targeted/full retries remain recorded; no particular delayed syscall is inferred. |
+| publisherTrace32 comment | FIXED — #458 | The comment now describes the API after #443: If-Match zero receives ordinary 412 with details.current_resource_version. The existing two-shape proof is unchanged for the historical pre-#443 receipt. |
+| Agent-core F48-01 | FIXED — #454 under D-156 | Agent-core 48 #447 found, but did not cause, the same-boot startup-heartbeat/watchdog race. A pending-adoption receipt keeps the predecessor's original age and kernel deadline, with no serving claim; stall/refusal remain fail-closed and r22 M-3 stays protected. Agent-core 49 ordinary lab passed 13/13 on one attempt. [Release rule](operator-guide.md#d156-release-rule). |
+| r29 H-1 | FIXED — updater #446 and agent #454 under D-155 | ExitBusy 3 only for live same-boot UPDATE_BUSY detail lock; boot recovery defers on the lock or exit 3 and retries on Steps. Terminal 1/2 stay terminal. F30-01's acceptance closure remains separate. [Review disposition](../reviews/README.md#r29-dispositions-at-the-follow-up-43-cutoff-2026-11-04-est). |
+| r29 M-1 | FIXED — #454 | One tracked background recovery child: short first wait, later Steps poll without waiting, stop cancels and joins. Real updater recovery from blocked, switched and checking stages keeps the agent running. [Review disposition](../reviews/README.md#r29-dispositions-at-the-follow-up-43-cutoff-2026-11-04-est). |
+| r29 L-1 | FIXED — #446 | All six lock-taking entry points check update.lock before journal access. Five open/migrate only while holding it; Retain never opens one. Imported TODO proofs fail before and pass after; Held proofs pass, all byte-identical. [Review disposition](../reviews/README.md#r29-dispositions-at-the-follow-up-43-cutoff-2026-11-04-est). |
+| r29 L-2 | ANSWERED — #458 | The stale citations and inaccurate ordering note left with the removed lease-expiry nightly entry after run af4c130b passed that row. member-ipv6 remains. This does not close F30-01: no candidate started. [Current disposition](../reviews/README.md#follow-up-44-dispositions). |
+| Isolation F21-01 | ANSWERED — #459; harness schedule | Fresh-renewal anchor and offline replay/jitter/failure proofs replace the phase-dependent schedule. Run 7b0db5f2 gives r28 M-1 its first live pass: all five post-deadline requests time out with six serving-node reads; member deadline is 26.3 s before node expiry. Run 21 stays blocked and run 20's pass remains unqualified as serving-node expiry evidence. Distinct from Updater F21-01. |
+| Members F21-AT08 | ANSWERED — #467 | AT08 passes with paired safe peer summaries, original native capture, one origin receipt and both counter increments. Historical run 5715939e's blocked first transfer keeps its outcome and unknown cause; no merged-change cause inferred. |
+| Members F21-D146 | ANSWERED — #467 new-run diagnosis; historical condition undetermined | The later read in 3eb3960d identifies freshness as the only failed condition: latest observation 22.39 s old against 15 s. Original serving read stays failed. Historical run 5715939e indexes 49 and 51 retained only the combined failed read and stay undetermined. Continuing freshness failure is Members F22-D146. |
+| Members AT02 deny-all after closed recovery | ANSWERED — #461 under D-157, measured live by #467 and #473 | Run 3eb3960d has one early renewal 67.8 ms after closed-recovery Apply 586, then a one-member lease and verified serving Apply 592. Deny-all lasts 205 ms with 8 losses, down from historical 4.968 s and 241 losses. Exact central readiness timing was not retained. [Known behaviour](operator-guide.md#at02-closed-recovery). Members 23 run 6a25221b adds one early renewal 63.9 ms after closed Apply 544, then a populated lease and verified serving Apply 550: 179 ms with 7 losses, one intervening request and no baseline write. D-157 is in both runs; no timing change is credited to a merge. |
+| SECOPS-F16-01 | ANSWERED — #460 | Fleet cap is set before admission, constructing a fresh 60 s lease. Run b2de46c8 control_lost_agent_alive passes on lease bef669a3 with one agent identity throughout and both transports continuous to about D − 1 s. D-133 confounded; original run 1bfd5cff stays failed. AT29 still fails on SECOPS-F17-01. |
+| AT29 current acceptance | BLOCKED — #464 run 9d927350; operator guest clock | Every runnable case passes; live-agent continuity uses one identity, both transports continuous to D − 0.99 s and quiet from D + 2.01 s. Guest clock rollback still needs an independently clocked disposable guest. The lane's D-133 confounded record stays as written; the orchestrator's PR reading finds no foreign suite overlapped. Historical failures and full AT31's block remain. |
+
+| Isolation F22-01 | ANSWERED — #469 run 328ab9e0 | D-120 passes under D-161 on complete checked combined TCP captures: 65 reads, zero TCP timeouts, zero UDP losses, six verified-guard losses recovered by retransmission, longest stall 210.1 ms. The accepted-timeout branch did not run live. Historical 7b0db5f2 stays failed and its cause unproven; its 184 files are archived under D-098. #475 adds a second pass under D-161 on complete checked captures: 65 TCP reads, zero TCP timeouts, zero UDP losses, nine guard-attributed lost transmissions, longest TCP stall 209.6 ms. The finding stays answered by #469. |
+| SECOPS-F17-01 | ANSWERED — #464 | Run 9d927350 reads D after the control stop from the accepted local lease and serving heartbeat. Old case: read 90 ms after stop, 58.48 s remaining; watchdog heartbeat_stale withdrew first, quiet from D + 0.39 s. D-160 journal and validator reject admission inside timed sections. Lane's D-133 confounded record remains; orchestrator reads no foreign-suite overlap. Historical b2de46c8 and 1bfd5cff stay failed. |
+
+| Members F22-AT01 | OPEN — D-148 upstream response-source boundary; sample posted on #8473 | #473 corrects the #467 reading on original run 3eb3960d-c411-4648-8d77-bba40b436ae3: node eth2 egress packet 158 (08:22:37.385050Z) and member eth1 ingress packet 161 (08:22:37.385059Z) share IP SHA-256 8c35343b6d681435b86c5ab3fb03283d215a1ac3f665ce4727cb854a4a244d69 (IPv6 loopback-source WireGuard type-2 response, payload 92 B, UDP 100 B, IPv6 140 B, ports 51820 → 51820, anonymized labels addr-eff8e7ca506627fe → addr-ab8283067e853f4e). The response reached member underlay ingress and did not reach WireGuard receive accounting; enclosing Ip6InHdrErrors rose 0 → 1, with no packet-specific kernel-drop trace and the source-selection mechanism unproven. Posted to [NetBird discussion 8473 comment 19411545](https://github.com/netbirdio/netbird/discussions/8473#discussioncomment-19411545) on 2026-11-05T04:30:00Z (2026-11-04 23:30 EST) citing commit `52b93845b5cfeac1dd63e04c700857fcd098a7f6` (1 comment / 0 replies when checked at 2026-11-05T10:11:17Z). Original 3eb3960d remains uncounted/blocked; later clean initial transfers in #473 and #481 do not close F22-AT01 or F11-01 under D-148. |
+| Members F22-D146 | ANSWERED — #481 under D-162 | #473 diagnosis: the regular-node prepared config omitted observation_seconds, so its 30 s product default conflicts with the lab serving query's 15 s freshness bound. D-162 (#476) sets observation_seconds: 5 in TEST ONLY fixtures while keeping the 30 s product default and 15 s predicate unchanged. In #481, members 24 run dee8492f passes dual 1280 clamp rows 44 and 46 under the unchanged 15 s bound; serving-read ages are 0.740 s (dual), 6.849 s (IPv6) and 1.442 s (IPv4) on rows 46, 51 and 59; all 9 native MTU windows hold 18 stored observations, 18 observation enqueued records and 18 accepted observation submission attempts joined by report ID with 0 overwritten logs. Historical 3eb3960d and 6a25221b blocked outcomes and F21's undetermined indexes remain unchanged. |
+| r30 H-1 | FIXED — #470; held in r31 | Only Run sets the run context; outside Run no caller context owns the recover child. Close still cancels and joins it; uploads retain Boot's caller. The orchestrator's reachability reading is unchanged: neither CLI mode reaches H-1. Forwarding stays blocked until configured recovery completes. |
+| r30 H-2 | FIXED — #471 under clarified D-158; held in r31 | Five consecutive stale answers 20 ms apart give exit 1 with final stale detail. Every live answer, including empty/unreadable metadata, resets the count. The original first-attempt 10 s budget governs live answers: no exit 3 before it; exit 3 on the first live answer at or past it. #476 records the first live wait, 446 ms acquired; stale-then-live contention remains unobserved. |
+| r30 M-1 | FIXED — #471 under clarified D-158; held in r31 | One update lock wait record only after a first-attempt ErrBusy, including later cancellation. A non-busy first error and cancellation before any attempt write none. Error lines, exit table and nodelock are unchanged. |
+| r30 M-2 | FIXED — #470; held in r31 | A held closed recovery may make one catch-up lease request for a newly available ACK despite an earlier attempt in the same Step. Retry bound and Retry-After stay; recording that ACK prevents a second bypass. The accepted clean report still arms D-157's existing one-shot. |
+| r30 M-3 | FIXED — #477 after r31 M-1 found #470's exception incomplete | Deduplication has one exception: an armed, unbound recovery that can bind its own report, tested by the shared canBindRecoveryReport predicate. At unchanged state with a report pending, otherwise ordinary dedup holds. The 32-entry capacity guard still comes first; ordinary coalescing is unchanged. |
+| Isolation F24-01 | CLOSED — #478 | #475 run df9dbad7: packet 56's 15.176 ms capture-read transit (vs 0.167 ms next sample; 22.974 µs node crossing in tcpdump) set a 33.2 ms spacing that excluded all 14 grid candidates from the 37 ms and 63 ms cadence gaps, marshaling added_scheduled_mono_ns: null and crashing review_boundary.py at sorted(None). In #478, boundaryplan.Plan keeps all 103 samples (discounted_samples: []), always emits added_scheduled_mono_ns as an array with qualified: len(added) > 0, and review_boundary.py validates the plan first and exits 1 with status: "fail" and schedule_qualified: false on an unqualified or malformed plan. Offline replay of df9dbad7 emits an empty unqualified plan and its review fails in both variants, while offline replays of 328ab9e0 (31 probes) and the 11-04 runner (49 probes) pass; fresh run bd73d7a4 plans and observes 34 added probes (5.5 ms spacing, 236 total), passes EvaluateDeadline (164 positives, 72 drops, last positive -99.869 ms, first drop -94.561 ms), and qualifies D-142 with 0 overlaps. Closes F24-01 for the planning record and reviewer crash only; df9dbad7 stays failed in its 213-file D-098 archive. |
+| r31 M-1 | FIXED — agent-core 52 #477 | Diagnosis first under D-141: A isolation latch is persistent through Steps; B armed failed meter is not reached in normal Steps; C stale lease lasts one enforcement pass. The exact existing canBindRecoveryReport binding predicate also gates the pending-dedup exception. Report body, 32-entry outbox, cadence/retry/backoff/Retry-After and D-067/D-135/D-136/D-155/D-156/D-157 remain. All three imported subtests fail unfixed; lab 13/13; no assembled live claim. |
+| 11-04 scheduled at-isolation job 41836274140 | HARNESS CAUSES FIXED — #475 and #478; local scheduled-mode run bd73d7a4 PASS; next GitHub scheduled run pending | On d2cb5446: the member-expiry plan missed its unchanged window, and the populated-holds review's sole pure_stale_generation gap made the job red. #475 fixed both causes (D=floor(A+44 s) and D-163 expected-not-exercised.json), and #478's local scheduled-mode run bd73d7a4 passes (status: "pass", exit_code: 0, 27 pass / 2 expected blocked / 0 fail, sole pure_stale_generation mapped to expected not exercised). The next GitHub scheduled run is still pending at the cutoff; historical 41836274140 and df9dbad7 remain fail. |
+| Node workflow agent test failures | FIXED — #484; r33 confirmed zero findings; historical CI failures retained | #484 repairs the six recorded Node CI failures through test Boot budget setup, unchanged restart-checkpoint handling, D118 initial-503/availability ordering and a manual clock for the held-FinalSample fixture. Production local_budget.go is net-unchanged. The R29 helper waits for attestation and a file marker written after Boot; the precise D118 CI interleaving is inferred. The deliberate 250 ms delay reproducer is separate from historical CI evidence. Corrected count50 and full-agent count3 receipts, failed attempts and the final lab remain in the [source note](../node/followup53-2026-11-04.md). The r33 archive records zero accepted findings and final-tree replay of 10 parent tests and 33 subtests. Historical failures remain recorded. |
+| Isolation 26 clone receiver wiring (9445 vs 9444) | SHARED FIXTURE REPAIRED OFFLINE — #482; live isolation validation and copied-release SNAT remain open | #482 corrects the clone runtime URL to https://127.0.0.1:9444 while preserving the enrollment URL and copied-release SNAT. Other JSON values and durable-state bytes are preserved. The [accepted analysis](../e2e/runs/2026-11-04/followup37/analysis.md) inventories 30 files, not runs; retained F16–F25 captures have zero conflicts and frozen false. F19 copied F18; distinct post-change stop reviews cover F16–F18. Historical clone dial errors and selected release remain unrecorded. No historical AT10–AT13 outcome is re-scored. Live transport/consumer-latch validation, before/after-stop logs and copied-release SNAT remain carried gaps. |
+
+Every historical failure stays failed. The register has **138 rows**:
+**6 existing rows updated, 0 added, 132 byte-identical** to #483.
+Every other row retains its exact bytes, including **Isolation F18-01** and
+**11-04 scheduled at-isolation job 41836274140**: no PR in this cut supplies a
+new GitHub scheduled run. Members F22-AT01 and F11-01 stay open under D-148,
+with the [posted NetBird #8473 sample comment](https://github.com/netbirdio/netbird/discussions/8473#discussioncomment-19411545)
+(`2026-11-05T04:30:00Z`) recorded from frozen `52b93845` artifacts.
+[Current review dispositions](../reviews/README.md#r33-dispositions-at-the-follow-up-49-cutoff-2026-11-05-est)
+record `r33`'s review of agent-core 53's meter restart-checkpoint fix
+(`f0bed96a`, zero accepted findings, 10/10 parent and 33/33 subtest replay on
+integrated `9a26725f`).
+
+Follow-up 48's two hand-offs are answered to the exact extent delivered in
+`#482` and `#484`: the six Node workflow `node/agent` test failures are fixed
+and verified in `#484` (with historical failure receipts retained), and the
+shared clone runtime `control_url` is repaired offline in `#482` (with live
+clone transport/consumer-latch validation, clone log retention, and
+copied-release `datapath.snat` routed in [the cut](follow-up-49.md#requests-to-orchestrator)).
+Contract revision 15 (`#485`, API `1.11.0`) ships the D-164 compatibility
+surface (`ServingReadEvidence`) while Central projection, consumer diagnostics,
+and agent emission remain subsequent owner phases. The operator's
+[F30-01 anchor](operator-guide.md#f30-01),
+[AT02 paragraph](operator-guide.md#at02-closed-recovery),
+[observation records section](operator-guide.md#observation-records) and
+[TCP guard limitation](operator-guide.md#tcp-reload-guard) are retained.
+
+**Cut boundary:** #482–#485 are included at `aaffdc7f`. Later unmerged work
+is excluded; the [dated cutoff receipt](follow-up-49.md#decisions-upstream-sample-and-cutoff)
+records the observation boundary.
+
+D-145 keeps the current guard and C1 remains unimplemented. D-148 leaves
+Members F11-01 and F22-AT01 open and upstream-dependent; D-149 is unchanged.
+Ted confirmed D-150–D-163 (`2026-11-04 17:1x EST`), and D-164 is provisional.
+AT11 / AT13 operator matrices, Isolation F17-01, Devstack F31-01, live clone
+validation, AT29 / AT31 resources, physical arm64, power loss and QUIC remain
+carried.
diff --git a/tests/handover/testdata/history/follow-up-55/prior-docs_handover_deploy.md.txt b/tests/handover/testdata/history/follow-up-55/prior-docs_handover_deploy.md.txt
new file mode 100644
index 000000000..d035d6f93
--- /dev/null
+++ b/tests/handover/testdata/history/follow-up-55/prior-docs_handover_deploy.md.txt
@@ -0,0 +1,879 @@
+# Production Deployment Runbook (`docs/handover/deploy.md`)
+
+**目前交付:**[交付導覽](../DELIVERY.md)整理現有功能、操作入口與驗證範圍。下列 follow-up 快照保留各自當時的範圍與結果。
+
+**Current delivery:** The [delivery guide](../DELIVERY.en.md) covers current capabilities, operating entrypoints and verification scope. The follow-up snapshots below retain their historical scope and outcomes.
+
+**Archived cut:** [follow-up 54](follow-up-54.md), #533, #534, #535 and #536 at `2f5159f3`; source-backed changes, verification boundaries and carried gaps.
+**Earlier archived cut:** [follow-up 53](follow-up-53.md), #529, #528, #530, #531 and #532 at `e055143e`; source-backed changes, verification boundaries and carried gaps.
+
+Installer 7 reporting inputs are required: a validated HTTPS control origin
+(`--control-url`) and its readable server CA bundle (`--server-ca`). Generated
+`result_url` appends `/api/v1/agent/update-results`; `mtls_ca` uses enrollment
+server trust, and `mtls_cert` / `mtls_key` use the enrolled node identity.
+`allowed_artifact_origins` contains exactly the control origin. Invalid inputs
+fail before host changes; a same-release rerun repairs reporting fields and
+server CA by rendering the generated configuration again. Durable state is preserved, but manual agent settings such as `dns` are removed; repeat the post-install configuration and read-back in §9.1.
+`install --allow-loopback` is **TEST ONLY**, for an isolated HTTPS lab; leave it
+disabled in production. Updates 11 (#346) closes the distinct artifact-origin
+question by measurement: the list grants private / CGNAT exceptions only;
+the measured non-private origin needs none, and no rejection occurred.
+
+Updater 18 logs `result_url_missing` when sealing without reporting config and
+keeps the original receipt pending. Explicit flush fails `VALIDATION_FAILED`
+without a sink. After configuration repair, flush sends that identical receipt
+once; only the central ACK establishes delivery. Node process restarts may now
+adopt fully verified same-boot serving under the original valid lease and
+deadline; failed qualification or OS reboot still closes forwarding. Use the
+[operator reporting/restart procedure](operator-guide.md#reporting-and-restart-changes-at-344)
+and [installer input reference](../node/install.md#authenticated-updater-reporting-f10-02-136-13103).
+
+Initial and same-release installs retain the verified archive and envelope
+before seed (#351). With the archive present, seed verifies a private copy and
+the whole tree without fetching the artifact; only absence chooses the guarded
+signed-URL download. Corrupt archives fail closed. This is offline seed, not
+offline enrollment. See [operator changes at #351](operator-guide.md#operator-changes-at-351)
+for this correction, the F9-INFLIGHT positive-cache limitation when choosing
+`blocked_response_ttl`, and Dependabot #22's pending owner disposition.
+
+Historical follow-up 17 cutoff: [follow-up 17 operator evidence](follow-up-17.md). #313
+harness-proves the SECOPS-21 first-offer capture (2/0/0, delivery 4 > retained 3,
+matching local digest and central 202); full restore was open for secops 13 at that cutoff.
+Earlier restore measurements below retain their original cutoff.
+
+This runbook guides operators through transitioning Freedom VPN from the local development and E2E lab stack (`deploy/devstack`) to production hosts (`§3`, `§5`–`§8`, `§10`–`§13`, `§15`–`§18`, `§21`).
+
+The labels `[Verified on dev/test stack]` and `[production only]` retain the scope of the passages they accompany. Some configuration examples and inline API instructions have no label; neither an unlabeled example nor a correction in this cut is new execution evidence.
+
+---
+
+## 1. Architecture & Network Topology Overview (`§3`, `§16`, `§18.1`)
+
+Carried gap: production Portal static hosting/SPA routing and endpoint routing between the public/agent listeners and the installer's single control origin have no complete procedure here. Resolve both before using these endpoint examples. See the [carried list](follow-up-51.md#existing-procedures-linked-and-carried-gaps).
+
+Freedom VPN v1 operates as a modular monolith in the central plane (`fvpn-control` + `fvpn-worker` sharing PostgreSQL 17 and a signing vault) paired with stateless/state-split Ubuntu 24.04 LTS exit nodes (`fvpn-agent`, `fvpn-updater`, `fvpn-watchdog`) and self-hosted NetBird CE (`0.82.0`) and AdGuard Home (`v0.107.59`).
+
+| Component | Recommended Host / Placement | Exposed Endpoints / Ports | Documentation Example Address |
+|---|---|---|---|
+| **PostgreSQL 17** | Dedicated DB host or private subnet | `5432/tcp` (internal TLS only, never public) | `198.51.100.10:5432` (`db.internal.example.com`) |
+| **`fvpn-control`** | Central API host (behind reverse proxy or direct TLS; see `trusted_proxies` note below) | `:8443/tcp` (Public HTTPS: OIDC, Webhooks, `/api/v1/agent/enroll`; Portal assets require separate hosting)
`:9443/tcp` (Agent mTLS: `/api/v1/agent/*` except enroll)
`127.0.0.1:9091/tcp` (Prometheus `/metrics`) | `https://vpn.example.com` (`198.51.100.20`)
`https://agent.vpn.example.com:9443` |
+| **`fvpn-worker`** | Co-located with `fvpn-control` or dedicated worker host sharing the signing vault | `127.0.0.1:9092/tcp` (Prometheus `/metrics` & `/healthz`, `/readyz`) | `198.51.100.20` / `198.51.100.21` |
+| **OIDC Identity Provider** | External managed OIDC or self-hosted IdP | `443/tcp` (HTTPS) | `https://id.example.com` |
+| **NetBird CE (`0.82.0`)** | Dedicated overlay coordination host | `443/tcp` (Management API `/api`, gRPC, Signal, Relay)
`3478/udp` (STUN/TURN) | `https://netbird.example.com` (`198.51.100.30`) |
+| **AdGuard Home (`v0.107.59`)** | Two dedicated resolver instances reachable over the overlay are the specification's recommended starting point for resilience (`§12.2`); the code accepts one, which has no redundancy | `53/udp`, `53/tcp` (Overlay DNS for `100.64.0.0/10`)
`8080/tcp` (Admin HTTP API, used by the host-local `fvpn-agent` resolver applier and operator administration) | `100.64.0.53`, `100.64.0.54` (IPv6: `2001:db8::53`, `2001:db8::54`) |
+| **Release Origin** | Immutable HTTPS object storage / static origin (`§13.3`, `§16.2`) | `443/tcp` (HTTPS read-only to nodes) | `https://releases.example.com` (`203.0.113.10`) |
+| **Exit Nodes** | Ubuntu 24.04 LTS (`amd64` or `arm64`) | WireGuard UDP port (`51820/udp`), outbound HTTPS (`443/tcp`, `9443/tcp`) | Public egress `192.0.2.20`, Overlay `100.64.0.100` |
+
+> **Reverse-proxy (`trusted_proxies`) and multi-replica limiter rules (`#141`, `#169`, `#174`, `#182`, `#190`, `#215`, `#228`, `D-073`, `internal/config/proxies.go`, `internal/httpapi/middleware.go`, `internal/enrollment/revoke.go`, `docs/control/README.md`, `docs/control/AUTH.md`, [`docs/e2e/scenarios/gateway-principals.md`](../e2e/scenarios/gateway-principals.md)):** Production either terminates TLS on `fvpn-control` and leaves `trusted_proxies` (`FVPN_TRUSTED_PROXIES`) empty (so `X-Forwarded-For` is ignored and pre-authentication buckets key on the TCP peer `r.RemoteAddr`), or sets `trusted_proxies` to the reverse proxy's source CIDRs; a proxy that connects from several addresses is several CIDRs (each source address as a `/32` or a covering prefix), each at least `/8` (IPv4) or `/32` (IPv6); `0.0.0.0/0`, `::/0`, any shorter prefix, and IPv4-mapped IPv6 CIDRs are rejected by `config.ParseTrustedProxies` because `"trusting the world lets any peer choose its bucket"`; list proxy addresses only (an address inside a trusted CIDR is treated as a hop and skipped during the rightmost `X-Forwarded-For` walk, while `X-Real-IP` and RFC 7239 `Forwarded` stay ignored); under `#190`'s parse rule for `r.RemoteAddr` and `X-Forwarded-For`, bracketed input is never split, an unbracketed multi-colon string is parsed whole before a trailing port is removed, and eight hextets written with a zero-width `::` (`2001:db8:1::2:3:4:5:6`) are `2001:db8:1:2:3:4:5:6`, `/64` `2001:db8:1:2::/64`; on the agent listener (`:9443`), `X-Forwarded-For` is never read and the agent-listener ingress key is the verified leaf certificate's `urn:fvpn:node:` URI SAN (`node:`, so every still-usable serial of a node shares one burst during renewal overlap, with `sha256(leaf.Raw)` as the certificate-fingerprint fallback only for a verified leaf without that SAN, `#215`; taken with the class concurrency slot before `AuthenticateAgent`, while no verified chain is `401` before the limiter and inserts nothing), so an address-rewriting proxy does not choose the bucket; and replicas do not share in-memory limiter state, so replicas multiply the per-process budgets. By contrast (`D-073`, `#228`, `db/migrations/00187_identity_roaming_and_readiness_grace.sql`), cloned-identity roaming and interleaving detection (`D-072`, `#211`, `ObserveEndpointTx` in `internal/enrollment/revoke.go`) is durable in PostgreSQL `node_identity_endpoints` (`candidate_hash`, `candidate_first_seen_at`, `candidate_last_seen_at`) under a row lock (`SELECT ... FOR UPDATE`), so two `fvpn-control` replicas or a process restart never lose the roaming candidate. In the devstack lab (`#182`, `docs/e2e/scenarios/gateway-principals.md`), `control.json` sets `trusted_proxies` to the lab gateway's exact `/32` (`172.28.30.21/32` for `e2e`) and nginx appends `$proxy_add_x_forwarded_for`, verified by `gateway-principals` (`fvpn-e2e-nodeconfig http-burst`, `SECOPS-13`).
+
+---
+
+## 2. Repository `TEST ONLY` Inventory and Production Replacements (`§1`, `AGENTS.md §1, §3, §8`)
+
+By engineering contract (`D-026`, `D-039`, `D-045`), no production binary compiles in signing keys or business defaults. Every `TEST ONLY` value present in repository examples, test fixtures (`*test`), or `deploy/devstack` must be replaced before production startup:
+
+| Repository Location | Setting / Artifact | `TEST ONLY` Value in Repo | Production Replacement |
+|---|---|---|---|
+| `docs/control/config.example.json` | `public_origin`, `oidc_issuer`, `oidc_client_id` | `https://portal.example.com`, `https://idp.example.com`, `fvpn-portal-test` | Real HTTPS portal origin (`https://vpn.example.com`), production OIDC issuer URL, and confidential OAuth client ID |
+| `docs/members/config.example.json` | `live_mode` | `false` | `true` (enforces the Stripe live-mode event check in `Stripe.ParseEvent`) |
+| `docs/members/config.example.json` | `price_ids` | `["price_test_monthly"]` | Approved live Stripe Price IDs (must match active `plan` policy payload [`price.provider_price_ref`](../../contracts/schemas/policies/plan-payload.schema.json)) |
+| `docs/members/config.example.json` | `vault_active_key`, `vault_key_files` | `"v1-test"`, `/etc/fvpn/secrets/billing-vault-v1.key` | Production key ID (e.g., `"vault-prod-2026-01"`) pointing to a `0600` file containing 32 bytes of CSPRNG output |
+| `docs/members/config.example.json` | `grace_seconds`, `trial_max_seconds`, `grant_max_seconds` | `0`, `0`, `86400` | Explicit business-approved durations (see [`calibration.md`](calibration.md)) |
+| `internal/nodes/nodestest/config.go` | `netbird_deployment`, `netbird_token_file` | `"TEST ONLY"`, `"TEST ONLY synthetic token"` | Production deployment identifier (e.g., `"prod-main"`) and restricted NetBird service-user PAT file (`0600`) |
+| `internal/nodes/nodestest/config.go` | `certificate_seconds`, `renewal_overlap_seconds`, `bootstrap_seconds`, `online_seconds`, `stuck_seconds` | `86400`, `300`, `60`, `180`, `600` | `online_seconds` is both the fleet online window and the central receipt-age offline threshold; calibrate production PKI and liveness windows (e.g., 7–30 day node certs with 24–72h overlap; see [`calibration.md`](calibration.md)) |
+| `internal/nodes/nodestest/config.go` | `release_origins` | `["https://releases.example.invalid"]` | Exact HTTPS origin(s) of the immutable production release bucket (`["https://releases.example.com"]`) |
+| `internal/nodes/nodestest/config.go` | `dns_resolver_ipv4`, `dns_resolver_ipv6` | `["100.64.0.53"]`, `["2001:db8::53"]` | Production AdGuard Home overlay listener IPs (at least 2 IPv4 addresses recommended per `§12.2`) |
+| `docs/dns/config.example.json` | `upstreams`, `bootstrap_dns` | `["192.0.2.53:53", "[2001:db8::53]:53"]` | Production recursive upstream resolvers (`IP:port` literals only; never left to AdGuard defaults, `D-028`) |
+| `internal/policies/policiestest/config.go` | `dns_upstream_profile` | `"TEST ONLY"` | Production upstream profile identifier matching `dns_profile` policy payloads (e.g., `"prod-recursive-v1"`) |
+| `internal/usage/usagetest/config.go` | `signing_config_file` | Temp dir `usage-vault` | `/var/lib/fvpn/staging-authority/vault` (persistent `0700` directory outside PostgreSQL backup scope) |
+| `tests/e2e/cmd/fvpn-e2e-prepare/main.go` | `host_reserve_bps` in `agent.json` | `1000000` (1 Mbps) | Measured host control-plane reserve per node NIC capacity (e.g., `20000000` for 20 Mbps; mandatory `> 0`, exits `64` if omitted, `D-034`) |
+| `tests/e2e/cmd/fvpn-e2e-prepare/main.go` | `test_mode`, `test_exempt_v4` in `agent.json` | `true` | Omit or set `false` (`test_exempt_v4` is rejected by `fvpn-agent` when `test_mode` is `false`) |
+| `tests/e2e/cmd/fvpn-e2e-prepare/main.go` | `-grace-seconds N` (`FVPN_E2E_GRACE_SECONDS`, `#182`, `SECOPS-04`) in `members.json` | `0..31622400` (default `0`, writes `grace_reason = "TEST ONLY finite grace override"` when `> 0`) | Lab-only prepare option (requires `E2E_RESET=1` or restarting both `fvpn-control` and `fvpn-worker`); set explicit business-approved `grace_seconds` and `grace_reason` in `/etc/fvpn/members.json` (`calibration.md`) |
+| `node/updater/host.go` | `allow_loopback`, `allowed_artifact_origins` in `updater.json` | `true` / lab RFC1918 exemptions | Keep `allow_loopback: false` outside isolated `TEST ONLY` loopback tests. Preserve the installer-generated exact control origin in `allowed_artifact_origins`, including for private/CGNAT update-result delivery. Use `[]` only when no artifact, manifest or result origin requires a private/CGNAT exception; an origin entry never permits loopback or every private address (`D-046`). |
+| `internal/dnspolicy/cmd/bootstrap/main.go` | AdGuard admin password | `"testonly-"` | One high-entropy username/password pair shared by every resolver target of an exit, supplied through `dns.resolver_credentials_file` under the [node credential rules](../node/README.md#configuration). The agent copies that same pair to every target; resolvers requiring different pairs cannot all authenticate. Carried gap: per-target credentials are unimplemented. |
+| `contracts/vectors/*.json` | Ed25519 seed vectors | `"TEST ONLY - NOT A SECRET"` | Explicit [staging initialization](../pki/initialize.md) via `fvpn-vault-init`; separate offline `fvpn-release keygen` ([release process](../updates/release-process.md)). Production custody and anti-rollback are not implemented by FileProvider. |
+
+---
+
+## 3. PostgreSQL 17 Provisioning, Roles, and WAL Archiving (`§3.1`, `§15.4`, `§17.2`)
+
+### 3.1 PostgreSQL 17 Server & WAL Archiving Configuration
+
+Provision PostgreSQL 17 on a dedicated volume with TLS enabled and continuous WAL archiving to an off-host object store so point-in-time recovery (PITR) meets the RPO target (`≤ 15 minutes` for central control-plane tables, `§17.2`).
+
+For repository configuration, credentials, backup scripts and scheduled units, see the [backup guide](../ops/backups.md).
+
+The isolated verifier starts with its own PostgreSQL configuration, HBA and ident outside restored PGDATA, retaining only this restore’s validated pgBackRest recovery settings. It does not boot restored production configuration or certify a production restart; see [the isolated verification boundary](../ops/backups.md#21-postgresql-17-wal-archiving-fragment-deploybackuppostgresfvpn-archivingconf).
+
+PostgreSQL's connection limit must cover each worker's pool, each control process's pool (the `db.Open` default is 10), the migrator, backup, administrative and other clients, and PostgreSQL's reserved connections. One control and one worker at the default concurrency have a combined pool maximum of 34 connections; these are maxima, not the number of connections already open.
+
+Carried gap: first-host pgBackRest provisioning, initial stanza/base backup, and delivery of repository credentials to PostgreSQL archiving are not completed by the fragment below. See the [carried list](follow-up-51.md#existing-procedures-linked-and-carried-gaps).
+
+In `postgresql.conf` `[production only]`:
+
+Carried gap: database TLS certificate/key installation and client CA distribution (including `/etc/fvpn/certs/db-ca.pem` in the migration DSN) have no production procedure in this repository. Provision and verify them before using these TLS examples. See the [carried list](follow-up-51.md#existing-procedures-linked-and-carried-gaps).
+
+```ini
+ssl = on
+ssl_cert_file = '/etc/postgresql/17/main/server.crt'
+ssl_key_file = '/etc/postgresql/17/main/server.key'
+password_encryption = scram-sha-256
+
+# Continuous WAL archiving (§17.2)
+wal_level = replica
+archive_mode = on
+archive_timeout = 300s
+archive_command = 'pgbackrest --stanza=fvpn archive-push %p'
+max_wal_senders = 5
+```
+
+**Historical follow-up 10 measurement — AT30 passed again (#265), run `0e8ff9a4-4fa1-4154-ae35-847a5be4d985` (`0e8ff9a4`), product `d9e28f8`, on the shared development host:** pre-replay database RPO **95.507504 s**, post-replay service usage RPO **0 s**, protocol RTO **93.532554563 s**, total outage RTO **106.868537734 s**. These are shared-host measurements, not production objectives. Historical #242 and #221 measurements remain separately dated below. SECOPS-16/17 closed against #240 (`past_due` admitted only while `paid` stays true); SECOPS-20 closed against #241 (D-079); SECOPS-18/19 revalidated, SECOPS-05 retained, D-077 proved through HTTP. SECOPS-21 stays open. AT29/AT31 were deferred to devstack follow-up 15 exports; those exports do not by themselves promote the full AT cases. Source: [AT30 Follow-up 10 archive](../e2e/at/secops/history/follow-up-10/AT30.md) and [exact JSON](../e2e/at/secops/history/follow-up-10/restore-reconcile.json). Security-ops follow-up 11 (#274) archived all 104 files byte-identical under D-098; its live AT29 / AT31 / AT30 runs were not executed. D-103 assigns the existing `fvpn-w4-secops-*` namespace to follow-up 12.
+
+**Historical live AT30 (`#242`, run `42396951-2d9a-49f4-95c3-45f33d9519d5`, 2026-10-30 EDT): passed.** Isolated restore `7.17 s` with `6/6` checklist sections; `120.12 s` fail-safe negative without epoch rotation; retained replay `3/3` hashes with zero loss/duplicates/gaps; pre-replay DB RPO `90.301 s`, service RPO `0 s` / `0 B`, protocol RTO `112.35 s`, total outage RTO `121.88 s`. D-076 fenced the T0..T1 revoked device, an old idempotency replay kept the fence, fresh re-grant restored counted forwarding, and both the centrally revoked and newly enrolled negatives behaved correctly (SECOPS-18). During the hold, `node_observations.report_payload.usage` and `fvpn-agent usage snapshot` showed three unacked events / `2352` payload bytes, then zero after replay (SECOPS-19). The run predates the admin HTTP route and `NodeDetail.usage_outbox`; it exercised service-level re-authorization. See [restore drill §2.6](restore-drill.md#26-historical-follow-up-10-measurement--at30-passed-265) and [`docs/e2e/at/secops/AT30.md`](../e2e/at/secops/AT30.md) for the evidence and the separate historical #221 values.
+
+After `complete-recovery`, **review devices fenced as authorization-unconfirmed and re-authorize explicitly** where the member is entitled (`D-076`, `D-077`, `D-081`, `#227`, `#238`, `#244`, `#247`). List them with `GET /api/v1/admin/devices?authorization_unconfirmed=true`; `authorization_unconfirmed_since` is the fence time. Use `POST /api/v1/admin/members/{member_id}/devices/{device_id}/authorize` (admin session, CSRF, fresh `Idempotency-Key`, no body). It returns `202` `member.device_authorize`, including the existing operation for an underlying authorized device; confirm `status: authorized` and `authorization_unconfirmed: false` after worker sync. Errors include `409 STATE_CONFLICT` for revoked devices and `409 DEVICE_LIMIT_REACHED`. Entitlement restoration does not clear the fence; re-authorization or revocation does. Migration `db/migrations/00188_device_authorization_fences.sql` stores the fence; correlate `device.authorization.external_withdrawal`, the worker log `device authorization unconfirmed during ledger restore`, and `fvpn_device_restore_fence_decisions_total`. See [Phase 6.3](restore-drill.md).
+
+Portal follow-up 16 (#255) supplies `/admin/devices` with authorization-unconfirmed, status and member filters, filter-bound cursors, a confirmed Re-authorize action, a neutral receipt for an existing operation, and a separate paginated read-back until the grant is visible. The node detail also has the usage-outbox block. Operators may use the portal page or the API above; a 202 receipt alone is not a completed grant.
+
+**SECOPS-21 remains open. Symptom:** security-ops follow-up 10 (#265) saw first post-restore offer generation `11` while the node retained `14`, despite #245's floor over `nodes.desired_config_generation`, `nodes.applied_config_generation` and stored desired-state history. Older offers raise `ErrStaleGeneration`. **Rule (D-095, #270):** stop control/worker, restore T0, and freeze-ingest before starting either service on the restored database. The compiler holds the first post-restore compile until a fresh observation from the current incarnation arrives after `usage_ledger_state.mode` left `normal`. The observable hold is `pending fresh observation after restore` (retryable `503 DEPENDENCY_UNAVAILABLE`, node drift `desired_state_restore_observation`, operation step `fresh_observation`). **Verification:** after a fresh applied `14` report, require first new offer `15`, node acceptance without `ErrStaleGeneration`, then a separate applied ACK and converged `config_generation.desired` / `config_generation.applied`. Completing recovery alone must not release the hold. D-099 is fixed at the HTTP layer in wire-nodes follow-up 29 (#277). `CompileTx` always proposes `max(desired, applied, stored)+1`; cache reuse is allowed for the cached generation or its ordinary one-step proposal only when no higher applied/stored generation exists and no restore observation is outstanding. Policies follow-up 8 (#286) promotes `TestAT30_D095_HTTPRestoreCacheProbe`: the exact 503 hold precedes offer `15` above retained `14`; the pre-#277 negative control fails with `304 / generation 11`. The fixture ACKs are simulated. Do not close SECOPS-21 from the compiler tests alone. Live closure requires the first delivered offer, a matching node-local accepted envelope/ETag, successful application and a separate real applied ACK; absence of a stale-generation log is insufficient. See the [HTTP fix note](../nodes/2026-10-31-secops-21-handover.md) and [live closure checklist](../policies/2026-10-31-secops-21-handover.md).
+
+### 3.2 Least-Privilege Database Roles (`docs/db/README.md`)
+
+Never run `fvpn-control` or `fvpn-worker` as `postgres` superuser. The six accounts below describe the intended role contract (`§15.3`, `§17.3`); the broad staging grants in §3.3 do not implement that least-privilege boundary.
+
+| Role | Used By | Purpose |
+|---|---|---|
+| `fvpn_migrator` | `fvpn-migrate up` | Schema owner; creates tables, functions, and base triggers (`db/migrations/*.sql`, one goose version per file). |
+| `fvpn_control` | `fvpn-control` | CRUD on operational tables; `INSERT` + `SELECT` on `audit_events` and `usage_events` (no `UPDATE`/`DELETE` on append-only tables, `F-02`–`F-04`). |
+| `fvpn_worker` | `fvpn-worker` | Claims `outbox_events`, reconciles NetBird/Stripe, publishes DNS resolver documents and refreshes threat feeds in `dns_feed_contents` and `dns_feed_refresh_state`, updates `usage_rollups`. |
+| `fvpn_retention` | Retention job | Executes `SELECT purge_retained(...)` (`F-03`) for eligible `usage_event_payloads`, `audit_events` and `usage_rollups` while recording an audit row. It does not purge service logs. |
+| `fvpn_recovery` | `fvpn-usage-admin` | Executes usage ledger freeze, epoch rotation (`usage_recovery_records`, `usage_ledger_epochs`), and adjustments. |
+| `fvpn_backup` | `pg_dump` / read-only verification | Logical read-only role (`pg_read_all_data`). Physical pgBackRest uses the local `postgres` OS/cluster account over the Unix socket; see [backup roles](../ops/backups.md#23-least-privilege-database-roles-docshandoverdeploymd-32-docsdbreadmemd). |
+
+Create the database and roles `[production only]`:
+
+```sql
+-- [mechanical-check: cluster-role-ddl]
+CREATE DATABASE fvpn;
+\c fvpn
+
+CREATE ROLE fvpn_migrator WITH LOGIN PASSWORD 'REPLACE_WITH_SCRAM_SECRET_1';
+CREATE ROLE fvpn_control WITH LOGIN PASSWORD 'REPLACE_WITH_SCRAM_SECRET_2';
+CREATE ROLE fvpn_worker WITH LOGIN PASSWORD 'REPLACE_WITH_SCRAM_SECRET_3';
+CREATE ROLE fvpn_retention WITH LOGIN PASSWORD 'REPLACE_WITH_SCRAM_SECRET_4';
+CREATE ROLE fvpn_recovery WITH LOGIN PASSWORD 'REPLACE_WITH_SCRAM_SECRET_5';
+CREATE ROLE fvpn_backup WITH LOGIN PASSWORD 'REPLACE_WITH_SCRAM_SECRET_6';
+
+GRANT ALL PRIVILEGES ON DATABASE fvpn TO fvpn_migrator;
+ALTER SCHEMA public OWNER TO fvpn_migrator;
+```
+
+Provision separate runtime DSN files readable by the `fvpn` service user, each
+with mode `0600`: `/etc/fvpn/secrets/database-control.url` uses `fvpn_control`,
+and `/etc/fvpn/secrets/database-worker.url` uses `fvpn_worker`. The service
+units in §7.2 select these files with `FVPN_DATABASE_URL_FILE`; the shared
+`control.json` in §6.1 defaults to the control file. Keep the `fvpn_migrator`
+DSN as a separate operator credential, supplied only to the migration commands
+below. Never put it in either runtime DSN file or runtime service environment,
+and leave `migrate_on_start: false` for normal service startup.
+
+### 3.3 Running Forward Migrations (`fvpn-migrate`)
+
+For an existing deployment, first run the [identity duplicate pre-check and remediation procedure](operator-guide.md#73-identity-continuity-client-rotation-and-duplicate-pre-check-d-052-134-137-139-docscontrolauthmd-docsmembersreadmemd). Historical duplicate issuer/subject groups block the uniqueness migration; there is no automatic merge.
+
+Build and run `fvpn-migrate` using `FVPN_DATABASE_URL` (`fvpn-migrate` never logs or prints connection credentials):
+
+`[Verified on dev/test stack]`
+Carried gap: provision database TLS and distribute the client CA before using the migrator DSN below; [§3.1](#31-postgresql-17-server--wal-archiving-configuration) records the missing production procedure.
+
+```bash
+CGO_ENABLED=0 GOTOOLCHAIN=local go build -trimpath -o /usr/local/bin/fvpn-migrate ./internal/db/cmd/fvpn-migrate
+
+FVPN_DATABASE_URL="postgres://fvpn_migrator:PASSWORD@198.51.100.10:5432/fvpn?sslmode=verify-full&sslrootcert=/etc/fvpn/certs/db-ca.pem" \
+ /usr/local/bin/fvpn-migrate up
+
+FVPN_DATABASE_URL="postgres://fvpn_migrator:PASSWORD@198.51.100.10:5432/fvpn?sslmode=verify-full&sslrootcert=/etc/fvpn/certs/db-ca.pem" \
+ /usr/local/bin/fvpn-migrate status
+```
+
+Expected output (`fvpn-migrate status` must list every file in `db/migrations/*.sql` — one goose version per file, including `00006` which aligns `purge_retained()` audit rows with canonical `:` format per `D-035` — as `applied`):
+
+```text
+current_database="fvpn"
+00001 applied
+...
+ applied
+```
+
+After migrations complete, the following **broad staging grant block** keeps staging deployable; it is not a production least-privilege grant set. It grants all-table `SELECT`, `INSERT`, `UPDATE` and `DELETE` to control, worker and recovery, including runtime writes to `usage_checkpoints.ledger_epoch` and `usage_ledger_state.current_epoch`/`mode`. The [database privilege contract](../db/README.md#roles-grants-and-retention) reserves epoch changes for the separately controlled recovery role and forbids broad worker `UPDATE` on `usage_checkpoints`. The checkpoint and ledger-state triggers check data consistency, not the caller's recovery authority. Carried gap: the repository has only partial grant illustrations, not a complete tested contract-conformant production set. Production must not adopt this block as least privilege:
+
+```sql
+-- [mechanical-check: cluster-role-ddl]
+GRANT USAGE ON SCHEMA public TO fvpn_control, fvpn_worker, fvpn_retention, fvpn_recovery, fvpn_backup;
+GRANT SELECT, INSERT, UPDATE, DELETE ON ALL TABLES IN SCHEMA public TO fvpn_control, fvpn_worker, fvpn_recovery;
+GRANT USAGE, SELECT ON ALL SEQUENCES IN SCHEMA public TO fvpn_control, fvpn_worker, fvpn_recovery;
+GRANT EXECUTE ON FUNCTION purge_retained(text, timestamptz, text) TO fvpn_retention, fvpn_worker;
+GRANT pg_read_all_data TO fvpn_backup;
+-- Base triggers in 00004_guards.sql (F-02, F-03, F-04) guard UPDATE/DELETE/TRUNCATE
+-- on audit_events, usage_events and usage_samples regardless of table GRANTs.
+-- usage_checkpoints permit validated INSERT/UPDATE; usage_rollups guard DELETE/TRUNCATE.
+-- The append-only guard permits only authorized retention deletes on its listed targets;
+-- fvpn.restore does not bypass that guard.
+```
+
+---
+
+## 4. External Dependencies Setup
+
+### 4.1 OIDC Provider (`§9.1`, `§16.1`, `D-052`, `docs/control/AUTH.md`, `docs/members/README.md`, `docs/e2e/README.md`)
+
+1. Configure a single OIDC issuer (`https://id.example.com`) shared by the Portal (`fvpn-control` / `fvpn-worker`) and NetBird (`§2 [S36]`, `§7.3`, `§9.1`, `§15.2`, `D-052`):
+ Carried gap: the configured confidential-client secret at `/etc/fvpn/secrets/oidc.secret` must be supplied for control startup; the repository has no production secret-delivery procedure for this path. See the [carried list](follow-up-51.md#existing-procedures-linked-and-carried-gaps).
+ - **Portal Client (`oidc_client_id`)**: Confidential client using Authorization Code + PKCE (`S256`).
+ - Allowed Redirect URI: `https://vpn.example.com/auth/callback`
+ - Subject identifier type: `public` (non-pairwise). The worker's `devices.discover` handler lists NetBird users (`GET /api/users`), excludes service and blocked accounts, and matches the observed NetBird user ID to `identity_bindings.subject` under `oidc_issuer`, writing `netbird_user_bindings` with `mapping_proof = "shared_issuer_public_subject:" + oidc_issuer` (`docs/members/README.md`). Pairwise or unknown subjects fail closed as `identity_unmapped` (`fvpn_netbird_identity_discovery_total{result="identity_unmapped"}`) and are excluded from `GET /api/v1/member/devices`; matching email addresses or display names is never used as identity evidence.
+ - **Lab vs. production issuer note (`docs/e2e/README.md`):** In `deploy/devstack`, `netbird-server:0.82.0` uses its embedded Dex issuer (`https://netbird.example.invalid/oauth2`) and a lab token adapter (`tests/e2e/cmd/fvpn-e2e-idp`) that re-signs portal callback tokens with `TEST ONLY` `roles` and `amr: ["mfa"]`. Production deployments must configure an external OIDC provider shared by both portal and NetBird with real WebAuthn/TOTP MFA.
+ - **Admin Role Claim & MFA (`§9.1`, `§16.1`)**:
+ - Emit claim `roles` containing `"admin"` (or configure `admin_claim` and `admin_value` in `control.json`).
+ - Enforce MFA at the IdP for administrators and emit `amr: ["mfa"]` (or a configured `mfa_acr` value). `/auth/login?role=admin` redirects to the IdP; the callback rejects an admin login with `403 FORBIDDEN` if neither `mfa_amr` nor `mfa_acr` matches (see [browser authentication](../control/AUTH.md)). `fvpn-control` requires re-authentication within `recent_auth_seconds` (`900s`) for high-risk mutations (`POST /api/v1/admin/nodes/{node_id}/revoke`, `DELETE /api/v1/admin/nodes/{node_id}`, `POST /api/v1/admin/update-batches`, `POST /api/v1/admin/policies/{definition_id}/activate`).
+
+Keep `oidc_issuer` canonical and identical for control, worker, and NetBird identity discovery (`internal/members/issuer/issuer.go`, `docs/members/README.md`): lowercase `http`/`https` scheme and host, no default `:80`/`:443` port, no userinfo/query/fragment, and no **literal** trailing slash (`issuer.Canonical` trims only literal trailing `/` from the escaped path and preserves percent-encoded trailing slashes such as `%2F` or `%2f`, so `issuer.Validate` rejects non-canonical strings at startup and an issuer ending in `%2F` remains distinct from the unencoded path, `#139`). A portal client-ID rotation updates `identity_bindings.client_scope` in place and preserves the existing member identity (`#134`, `#137`); see [identity continuity and login role migration](operator-guide.md#73-identity-continuity-client-rotation-and-duplicate-pre-check-d-052-134-137-139-docscontrolauthmd-docsmembersreadmemd) and [control rate limiters](operator-guide.md#74-control-rate-limiters-and-dedicated-operation-classes-d-060-141-145-152-165-169-170-174-190-203-215-docscontrolreadmemd-docscontrolauthmd-internalconfigconfiggo-internalconfigproxiesgo-internalhttpapimiddlewarego-internalhttpapijsondocgo).
+
+### 4.2 NetBird CE (`0.82.0` Management, Signal, Relay, STUN) (`§7.1`, `§7.2`, `docs/netbird/VERSIONS.md`)
+
+1. Pin the server image to `netbirdio/netbird-server:0.82.0` (`sha256:7b5b53b2dc8bc25639f791cf72d47cf86911894ff3f8a97cb79bab9be958109c`) and dashboard `netbirdio/dashboard:v2.96.0`.
+2. Configure `/etc/netbird/config.yaml` with persistent storage, TLS via reverse proxy (`https://netbird.example.com`), and the shared OIDC issuer `[production only]`:
+ ```yaml
+ server:
+ listenAddress: ":8080"
+ exposedAddress: "https://netbird.example.com"
+ stunPorts: [3478]
+ metricsPort: 9090
+ healthcheckAddress: ":9000"
+ logLevel: "warn"
+ logFile: "console"
+ authSecret: "REPLACE_WITH_64_HEX_CSPRNG"
+ dataDir: "/var/lib/netbird"
+ disableAnonymousMetrics: true
+ disableGeoliteUpdate: true
+ auth:
+ issuer: "https://id.example.com"
+ dashboardRedirectURIs:
+ - "https://netbird.example.com/nb-auth"
+ - "https://netbird.example.com/nb-silent-auth"
+ cliRedirectURIs:
+ - "http://localhost:53000/"
+ store:
+ engine: "sqlite"
+ encryptionKey: "REPLACE_WITH_BASE64_32_BYTE_KEY"
+ ```
+3. **Mandatory Security Baseline (`§7.1`, `ISO01`)**:
+ - Create a dedicated NetBird **Service User** with the `admin` role and generate a Personal Access Token (PAT). Write the PAT to `/etc/fvpn/secrets/netbird.token` (`chmod 0600`). Never place this token in `apps/portal` or on exit nodes.
+ - Delete or disable NetBird's built-in `Default` (`All-to-All`) access control policy immediately (`internal/netbird.Client.RemoveDefaultPolicy` / `BootstrapAccess`). Member-to-member traffic must be blocked at both the NetBird control plane and the exit-node `inet fvpn` nftables data plane.
+
+### 4.3 AdGuard Home Resolvers (`v0.107.59`) (`§12`, `docs/dns/BACKEND.md`, `docs/dns/PRIVACY.md`)
+
+1. Deploy **two** AdGuard Home instances (`v0.107.59`, image digest `sha256:5d5e3aef39a8c8906a324f0c2da0a6123929e459b57c1e3f05e401dca5c7bf02`) reachable on the overlay network (e.g., `100.64.0.53` and `100.64.0.54`). Two dedicated resolvers are the specification's recommended starting point for resilience (`§12.2`). The code accepts one resolver; one has no redundancy.
+ Carried gap: production AdGuard bootstrap, service installation and host-local/overlay listener wiring are not provided here. The agent only applies to its configured host-local targets; the settings below alone do not create those resolvers. See the [carried list](follow-up-51.md#existing-procedures-linked-and-carried-gaps).
+2. **Mandatory Privacy Hardening (`SEC02`, `§12.7`)**:
+ Carried gap: the production service and listener provisioning needed to use this configuration is not supplied here; these settings alone do not start or wire the resolvers.
+ - In `AdGuardHome.yaml` (`schema_version: 29`), ensure:
+ - `querylog.enabled: false` and `querylog.file_enabled: false` (never log member DNS queries to disk or memory).
+ - `statistics.enabled: false`.
+ - `dns.anonymize_client_ip: true`.
+ - `dns.fallback_dns: []` (never fall back to unconfigured public resolvers).
+ - `filtering.filtering_enabled: true`, `filtering.protection_enabled: true`, `filtering.blocking_mode: nxdomain`.
+ - Bind the directory `/opt/adguardhome/conf` (not the single file) when running under Docker so atomic `AdGuardHome.yaml` rewrites succeed.
+
+### 4.4 Immutable Release Origin (`§13.3`, `§16.2`)
+
+1. Provision an HTTPS origin (`https://releases.example.com`) backed by object storage or an immutable file server.
+2. Enable write-once / object-lock rules so existing paths under `//*` cannot be overwritten.
+3. Nodes only require outbound HTTPS `GET` access to `https://releases.example.com`; the release signing private key never touches the origin server or central API servers.
+
+---
+
+## 5. Key Ceremonies (`§6.4`, `§13.3`, `§16.2`, `§17.3`, `docs/pki/rotation.md`)
+
+### 5.1 Central Signing Vault & Node CA Ceremony (`FileProvider`)
+
+The central signing directory (`/var/lib/fvpn/staging-authority/vault`, mode `0700`) stores six central key purposes outside PostgreSQL backups (`§16.2`, `§17.2`):
+- `node-ca` (ECDSA P-256): Signs node mTLS client certificates (`§6.4`).
+- `bootstrap-secret` (AES-256-GCM): Encrypts one-time NetBird setup keys at rest in PostgreSQL (`§6.2`).
+- `desired-state` (Ed25519): Signs node desired-state envelopes (`§14.7`).
+- `lease` (Ed25519): Signs node serving leases (`§15.3`, `§16.3`).
+- `recovery` (Ed25519): Signs usage checkpoint envelopes returned on `GET /api/v1/agent/usage-checkpoint` (`§10.8`, `§17.3`).
+- `ledger-epoch` (Ed25519, **central-only**): Signs `usage_recovery_records` when rotating `ledger_epoch` (`§17.3`). Never exported into the node trust bundle.
+
+### 5.2 Offline Release Signing Key Ceremony (`fvpn-release keygen`)
+
+On an isolated build/release workstation (never on a central server or exit node), generate the Ed25519 `release` signing key and export its initial public trust store:
+
+`[Verified on dev/test stack]`
+```bash
+CGO_ENABLED=0 GOTOOLCHAIN=local go build -trimpath -o /usr/local/bin/fvpn-release ./packaging/release/cmd/fvpn-release
+
+/usr/local/bin/fvpn-release keygen \
+ -key-id release-prod-2026-01 \
+ -out /secure/offline/release-prod-2026-01.key.json \
+ -trust-out /tmp/release-trust.json \
+ -not-before 2026-01-01T00:00:00Z \
+ -not-after 2027-01-01T00:00:00Z
+```
+
+Output:
+```text
+key_id=release-prod-2026-01
+purpose=release
+fvpn-release: private key stays on the build machine; do not copy it to nodes
+```
+
+### 5.3 Initializing the Central Vault and Pinning the Release Public Key
+
+Carried gap: production custody and independent anti-rollback are not implemented. The following ceremony is for staging FileProvider only. See the [carried list](follow-up-51.md#existing-procedures-linked-and-carried-gaps).
+
+For explicitly configured **FileProvider staging** environments, follow the [local vault initialization guide](../pki/initialize.md#prepare-the-inputs): build the PKI tools, prepare an operator-owned persistent parent directory, choose explicit key/CA windows, and independently verify the offline release public root. Production custody and anti-rollback are not implemented; FileProvider cannot detect whole-directory rollback or support divergent replicas ([rotation and restore](../pki/rotation.md)).
+
+Run as the intended service account, using the prepared staging configuration and a destination that does not exist:
+
+```bash
+bin/linux_amd64/fvpn-vault-init \
+ -config /secure/staging/ceremony.json \
+ -out /var/lib/fvpn/staging-authority
+bin/linux_amd64/fvpn-vault inspect \
+ -vault /var/lib/fvpn/staging-authority/vault -check-keys
+bin/linux_amd64/fvpn-vault export-trust \
+ -vault /var/lib/fvpn/staging-authority/vault \
+ -out /var/lib/fvpn/staging-authority/node-trust-export.json
+```
+
+Use the binary for the host architecture. The initializer creates six central keys, the matching self-signed node CA, the pinned release public root, `trust.json` and `receipt.json`. Inspection with `-check-keys` checks current active central key use; export reads public metadata only and requires a new output file outside the vault whose parent exists. See [key-use inspection](../pki/inspect.md#key-use-inspection) and [public trust export](../pki/inspect.md#public-trust-export).
+
+Map the generated outputs explicitly, as described in [initialization](../pki/initialize.md#initialize-and-inspect):
+
+- The generated `vault/` directory becomes `nodes.json:provider_directory` and `usage.json:signing_config_file`, both pointing at the same current authority.
+- The generated `agent-ca.pem` becomes `nodes.json:ca_certificate_file` and `control.json:agent_ca_file`; use the receipt's `ca_key_id` as `nodes.json:ca_key_id`. This is the node client-certificate CA, not the server TLS certificate or the node's server trust file.
+- Deliver `trust.json` or the fresh export through an authenticated channel as the agent's `trust_bundle`; the installer uses `--trust-bundle` and defaults `--desired-trust` to that bundle. Keep the offline release public root as the installer's `--trust` input. See [Node trust files](../node/install.md#node-trust-files).
+
+The initializer does not write the runtime JSON configurations or install services. Select runtime certificate and renewal windows separately. Its directories are mode `0700` and files mode `0600`, subject to the invoking umask; verify the intended service account can access the selected paths. A receipt, inspection or export proves local operations at its timestamp, not deployment or node adoption.
+
+---
+
+## 6. Central Configuration Files (`D-026`, `D-045`)
+
+With the §7.2 service configuration, both processes read `/etc/fvpn/control.json`. Control loads members, nodes, policies and usage; worker also loads DNS. Loaded domain configuration files reject unknown JSON fields, trailing data and missing files with a setting error; see [Central composition](../control/COMPOSITION.md).
+
+### 6.1 `/etc/fvpn/control.json`
+
+Carried gap: the public/agent listener and single-origin routing procedure carried in §1 is needed for these endpoint settings to serve the complete installer/browser flow.
+
+Carried gap: create the central configuration/secret directories and service account with the access required in §7.2 before installing this file; that provisioning procedure remains absent.
+
+Carried gap: server TLS issuance, installation, renewal and trust-chain distribution are not provided. Supply the referenced `tls.crt`/`tls.key` and distribute authenticated server trust before startup; `agent-ca.pem` is the separate node-client CA output from §5.3. See the [carried list](follow-up-51.md#existing-procedures-linked-and-carried-gaps).
+
+Carried gap: provisioning the OIDC client-secret file consumed by this control configuration is still required; see [§4.1](#41-oidc-provider-91-161-d-052-docscontrolauthmd-docsmembersreadmemd-docse2ereadmemd).
+
+```json
+{
+ "public_address": ":8443",
+ "agent_address": ":9443",
+ "metrics_address": "127.0.0.1:9091",
+ "public_origin": "https://vpn.example.com",
+ "tls_certificate_file": "/etc/fvpn/secrets/tls.crt",
+ "tls_key_file": "/etc/fvpn/secrets/tls.key",
+ "agent_ca_file": "/etc/fvpn/secrets/agent-ca.pem",
+ "database_url_file": "/etc/fvpn/secrets/database-control.url",
+ "oidc_issuer": "https://id.example.com",
+ "oidc_client_id": "fvpn-portal-prod",
+ "oidc_secret_file": "/etc/fvpn/secrets/oidc.secret",
+ "admin_claim": "roles",
+ "admin_value": "admin",
+ "mfa_amr": ["mfa"],
+ "mfa_acr": [],
+ "recent_auth_seconds": 900,
+ "session_idle_seconds": 1800,
+ "session_absolute_seconds": 43200,
+ "login_ttl_seconds": 300,
+ "idempotency_seconds": 604800,
+ "read_timeout_seconds": 15,
+ "write_timeout_seconds": 30,
+ "idle_timeout_seconds": 60,
+ "shutdown_seconds": 30,
+ "browser_body_bytes": 1048576,
+ "agent_body_bytes": 1048576,
+ "usage_body_bytes": 8388608,
+ "webhook_body_bytes": 1048576,
+ "max_concurrent": 128,
+ "max_rate_principals": 10000,
+ "trusted_proxies": [],
+ "ingress_rate": { "per_second": 20, "burst": 60 },
+ "browser_rate": { "per_second": 10, "burst": 30 },
+ "agent_rate": { "per_second": 5, "burst": 10 },
+ "heartbeat_rate": { "per_second": 1, "burst": 5 },
+ "lease_rate": { "per_second": 1, "burst": 5 },
+ "usage_rate": { "per_second": 2, "burst": 10 },
+ "anonymous_rate": { "per_second": 2, "burst": 10 },
+ "worker_concurrency": 4,
+ "worker_lease_seconds": 60,
+ "worker_job_seconds": 40,
+ "worker_poll_seconds": 1,
+ "worker_attempts": 10,
+ "worker_backoff_seconds": 1,
+ "worker_backoff_max_seconds": 300,
+ "migrate_on_start": false,
+ "members_config_file": "/etc/fvpn/members.json",
+ "nodes_config_file": "/etc/fvpn/nodes.json",
+ "dns_config_file": "/etc/fvpn/dns.json",
+ "policies_config_file": "/etc/fvpn/policies.json",
+ "usage_config_file": "/etc/fvpn/usage.json"
+}
+```
+
+The worker sizes its PostgreSQL pool using `worker_concurrency`, the largest connection peak registered by its event types, the peaks of its scheduled runners, and one connection for readiness. With the current registrations the maximum is 5 × `worker_concurrency` + 4: 24 at the default of 4. The pool limit is 60, so the largest accepted concurrency is 11 (a pool of 59). Configuration validation accepts larger values up to 1000, but the worker refuses 12 through 1000 at startup: it logs the budget error and exits with status 1 before reading its database secret.
+
+### 6.2 `/etc/fvpn/members.json` (`members_config_file`)
+
+Carried gap: create the central configuration/secret directories and service account with the access required in §7.2 before installing this file; that provisioning procedure remains absent.
+
+Carried gap: production payment-provider/webhook setup and provisioning of the API key, webhook secrets and billing-vault key files below remain undocumented deployment work. The runtime reads these inputs; the example does not create them. See the [carried list](follow-up-51.md#existing-procedures-linked-and-carried-gaps).
+
+```json
+{
+ "provider": "stripe",
+ "api_key_file": "/etc/fvpn/secrets/stripe.key",
+ "webhook_secret_files": [
+ "/etc/fvpn/secrets/stripe-webhook-current.secret"
+ ],
+ "vault_active_key": "vault-prod-2026-01",
+ "vault_key_files": {
+ "vault-prod-2026-01": "/etc/fvpn/secrets/billing-vault-2026-01.key"
+ },
+ "live_mode": true,
+ "price_ids": [
+ "price_prod_standard_monthly"
+ ],
+ "return_urls": [
+ "https://vpn.example.com/member/billing"
+ ],
+ "full_refund_policy": "revoke_original_period",
+ "grace_seconds": 259200,
+ "grace_reason": "payment_past_due_grace",
+ "trial_max_seconds": 0,
+ "grant_max_seconds": 2592000,
+ "device_limit": 3,
+ "portal_ttl_seconds": 60,
+ "billing_lease_seconds": 120,
+ "max_webhook_bytes": 1048576,
+ "reconcile_seconds": 900,
+ "device_sync_seconds": 60,
+ "netbird_url": "https://netbird.example.com/api",
+ "netbird_deployment": "prod-main",
+ "netbird_token_file": "/etc/fvpn/secrets/netbird.token",
+ "overlay_scope": "prod-overlay"
+}
+```
+
+### 6.3 `/etc/fvpn/nodes.json` (`nodes_config_file`)
+
+Carried gap: create the central configuration/secret directories and service account with the access required in §7.2 before installing this file; that provisioning procedure remains absent.
+
+Carried gap: this example uses the staging FileProvider authority from §5.3; production custody and independent anti-rollback remain unimplemented.
+
+```json
+{
+ "provider_directory": "/var/lib/fvpn/staging-authority/vault",
+ "ca_certificate_file": "/etc/fvpn/secrets/agent-ca.pem",
+ "ca_key_id": "0196ed00-0000-7000-8000-000000000010",
+ "certificate_seconds": 604800,
+ "renewal_overlap_seconds": 86400,
+ "bootstrap_seconds": 600,
+ "installer_seconds": 900,
+ "preinstalled_seconds": 604800,
+ "authorization_seconds": 3600,
+ "online_seconds": 180,
+ "stuck_seconds": 900,
+ "reconcile_seconds": 60,
+ "fetch_seconds": 30,
+ "desired_state_seconds": 600,
+ "netbird_url": "https://netbird.example.com/api",
+ "netbird_deployment": "prod-main",
+ "netbird_token_file": "/etc/fvpn/secrets/netbird.token",
+ "dns_resolver_ipv4": [
+ "100.64.0.53",
+ "100.64.0.54"
+ ],
+ "dns_resolver_ipv6": [
+ "2001:db8::53",
+ "2001:db8::54"
+ ],
+ "release_origins": [
+ "https://releases.example.com"
+ ]
+}
+```
+
+`online_seconds` also controls central receipt-age classification: stale at `min(90 seconds, online_seconds)`, offline at `online_seconds`. The `180`-second example therefore becomes stale at 90 seconds and offline at 180 seconds, visible only after a successful `node.staleness.sweep`. The sweep is scheduled at `min(reconcile_seconds, 60 seconds)` for valid positive configuration; dispatch and retries can delay it. See [liveness calibration](calibration.md#14-lease-durations-max_offline_seconds-node-lifetimes-and-health-attestation-61-64-13-163-165-d-053-d-058-d-074).
+
+### 6.4 `/etc/fvpn/dns.json` (`dns_config_file`, `D-028`, `D-054`, `D-058d`)
+
+Carried gap: create the central configuration/secret directories and service account with the access required in §7.2 before installing this file; that provisioning procedure remains absent.
+
+```json
+{
+ "upstreams": [
+ "198.51.100.53:53",
+ "[2001:db8::153]:53"
+ ],
+ "bootstrap_dns": [
+ "198.51.100.53:53"
+ ],
+ "feed_update_cadence_seconds": 21600,
+ "feed_max_removal_percent": 50
+}
+```
+> **Note (`docs/dns/FEEDS.md`, `internal/config/dns.go`):** `feed_update_cadence_seconds` (default `21600` seconds / 6 hours, bounds `300..604800`, `D-054`) sets the worker's fallback threat-feed refresh cadence when a `threat_feed` policy revision omits `update_interval_seconds` (`D-058d`). `feed_max_removal_percent` (default `50`, bounds `0..50`, `D-054`) sets the shrink-guard threshold above which a refreshed feed is rejected with `shrink_limit_exceeded` while retaining the last-good approved content in `dns_feed_contents`.
+
+### 6.5 `/etc/fvpn/policies.json` (`policies_config_file`)
+
+Carried gap: create the central configuration/secret directories and service account with the access required in §7.2 before installing this file; that provisioning procedure remains absent.
+
+```json
+{
+ "fup_mode": "shadow",
+ "fup_sweep_seconds": 60,
+ "fup_batch_size": 256,
+ "dns_upstream_profile": "prod-recursive-v1"
+}
+```
+> **Note (`§11.4`, `FUP04`)**: Start v1 production with `"fup_mode": "shadow"` until at least one full billing cycle of usage and tier transition logs is reviewed and calibrated (`calibration.md`).
+
+### 6.6 `/etc/fvpn/usage.json` (`usage_config_file`)
+
+Carried gap: create the central configuration/secret directories and service account with the access required in §7.2 before installing this file; that provisioning procedure remains absent.
+
+Carried gap: this example uses the staging FileProvider for usage/recovery signing; production custody and independent anti-rollback remain unimplemented.
+
+Carried gap: JSON/database retention coordination and audit-event/usage-rollup purge scheduling are absent; setting the following values does not supply those procedures.
+
+```json
+{
+ "signing_config_file": "/var/lib/fvpn/staging-authority/vault",
+ "raw_usage_retention_days": 90,
+ "rollup_retention_months": 24,
+ "audit_retention_days": 365,
+ "projection_batch_size": 256
+}
+```
+
+Carried gap: only `raw_usage_retention_days` drives the scheduled payload-purge cutoff. The database independently checks `retention_config` and rejects a newer cutoff; `rollup_retention_months` and `audit_retention_days` are validated but have no runtime consumer. See [calibration §1.6](calibration.md#16-data-retention-periods-105-154-164-173-21) for all three carried gaps before relying on these retention values.
+
+---
+
+## 7. Deploying `fvpn-control`, `fvpn-worker`, and `apps/portal` (`§3.1`, `§14`, `§18`)
+
+### 7.1 Building Central Binaries and Portal Assets
+
+Carried gap: these commands build central binaries into `dist/`; installing them at the units' `/usr/local/bin/` paths and serving Portal assets with SPA routing remain undocumented production steps. A successful build alone does not install or expose either service. See the [carried list](follow-up-51.md#existing-procedures-linked-and-carried-gaps).
+
+`[Verified on dev/test stack]`
+```bash
+CGO_ENABLED=0 GOTOOLCHAIN=local GOOS=linux GOARCH=amd64 go build -trimpath -o dist/fvpn-control ./apps/control/cmd/fvpn-control
+CGO_ENABLED=0 GOTOOLCHAIN=local GOOS=linux GOARCH=amd64 go build -trimpath -o dist/fvpn-worker ./apps/worker/cmd/fvpn-worker
+CGO_ENABLED=0 GOTOOLCHAIN=local GOOS=linux GOARCH=amd64 go build -trimpath -o dist/fvpn-usage-admin ./internal/usage/cmd/fvpn-usage-admin
+
+(
+ cd apps/portal
+ npm ci
+ npm run typecheck
+ npm run lint
+ npm test
+ npm run build
+)
+```
+
+### 7.2 Starting `fvpn-control` and `fvpn-worker` under systemd
+
+Carried gap: creation of the `fvpn` account/group and configuration/secret directories, with the access required below, remains deployment work. Binary installation from §7.1 must also be complete before the units can run. See the [carried list](follow-up-51.md#existing-procedures-linked-and-carried-gaps).
+
+For the FileProvider staging layout from §5.3, install the following units as the unprivileged `fvpn` service account. Complete initialization first: the vault directory and its `lock` file must already exist, and the service account must be able to traverse the parent and read the private files. systemd rejects a missing `ReadWritePaths` entry. Both processes open `vault/lock` read/write even for reads; worker needs only that writable file. Control also persists incarnation revocations through a temporary `.state-*` file and replacement of `state.json`, so it needs the vault directory writable. The generated CA, receipt and trust exports outside `vault/` need no runtime write allowance. This is the [staging authority layout](../pki/initialize.md#initialize-and-inspect); production custody remains unimplemented.
+`config.Load` reads JSON first, then applies `FVPN_`
+overrides (`internal/config/config.go`). Both units can therefore share
+`control.json` while explicitly selecting their own runtime DSN file:
+
+Carried gap: production startup also depends on the server/database TLS and OIDC/billing-secret provisioning carried in §§3.1, 4.1 and 6.1–6.2. The staging FileProvider and broad database grants do not implement production custody/anti-rollback or the intended least-privilege grant set. Satisfy those prerequisites before treating these units as a production deployment.
+
+```ini
+# /etc/systemd/system/fvpn-control.service
+[Unit]
+Description=Freedom VPN Central Control API
+After=network-online.target postgresql.service
+Wants=network-online.target
+
+[Service]
+Type=simple
+User=fvpn
+Group=fvpn
+Environment=FVPN_DATABASE_URL_FILE=/etc/fvpn/secrets/database-control.url
+ExecStart=/usr/local/bin/fvpn-control -config /etc/fvpn/control.json
+Restart=on-failure
+RestartSec=2s
+NoNewPrivileges=true
+ProtectSystem=strict
+ProtectHome=true
+ReadWritePaths=/var/lib/fvpn/staging-authority/vault
+ReadOnlyPaths=/etc/fvpn
+
+[Install]
+WantedBy=multi-user.target
+```
+
+```ini
+# /etc/systemd/system/fvpn-worker.service
+[Unit]
+Description=Freedom VPN Background Worker
+After=network-online.target fvpn-control.service
+Wants=network-online.target
+
+[Service]
+Type=simple
+User=fvpn
+Group=fvpn
+Environment=FVPN_METRICS_ADDRESS=127.0.0.1:9092
+Environment=FVPN_DATABASE_URL_FILE=/etc/fvpn/secrets/database-worker.url
+ExecStart=/usr/local/bin/fvpn-worker -config /etc/fvpn/control.json
+Restart=on-failure
+RestartSec=2s
+NoNewPrivileges=true
+ProtectSystem=strict
+ProtectHome=true
+ReadWritePaths=/var/lib/fvpn/staging-authority/vault/lock
+ReadOnlyPaths=/etc/fvpn
+
+[Install]
+WantedBy=multi-user.target
+```
+
+Carried gap: central daemon reload, unit enablement and startup are not supplied as a procedure here. Install the binaries and satisfy the account, directory, credential and routing prerequisites before starting services and attempting these readiness checks. See the [carried list](follow-up-51.md#existing-procedures-linked-and-carried-gaps).
+
+Verify readiness `[Verified on dev/test stack]`:
+```bash
+curl -fsS https://vpn.example.com:8443/healthz
+curl -fsS https://vpn.example.com:8443/readyz
+```
+
+---
+
+## 8. Building & Registering the First Release and Seeding Initial Policies (`§13.3`, `§14.5`)
+
+Before enrolling any exit node, register the initial node software release (`amd64` + `arm64`) and activate the baseline policy revisions (`release_support`, `fair_use`, `domain_rule_set`, `dns_profile`, `plan`).
+
+### 8.1 Packaging and Signing the Initial Node Release
+
+Cross-compile the node binaries for both `linux/amd64` and `linux/arm64` (`AGENTS.md §3`, `§13.4`):
+
+`[Verified on dev/test stack]`
+```bash
+for ARCH in amd64 arm64; do
+ mkdir -p "dist/release-${ARCH}"
+ CGO_ENABLED=0 GOTOOLCHAIN=local GOOS=linux GOARCH="${ARCH}" go build -trimpath -o "dist/release-${ARCH}/fvpn-agent" ./node/agent/cmd/fvpn-agent
+ CGO_ENABLED=0 GOTOOLCHAIN=local GOOS=linux GOARCH="${ARCH}" go build -trimpath -o "dist/release-${ARCH}/fvpn-updater" ./node/updater/cmd/fvpn-updater
+ CGO_ENABLED=0 GOTOOLCHAIN=local GOOS=linux GOARCH="${ARCH}" go build -trimpath -o "dist/release-${ARCH}/fvpn-watchdog" ./node/watchdog/cmd/fvpn-watchdog
+ CGO_ENABLED=0 GOTOOLCHAIN=local GOOS=linux GOARCH="${ARCH}" go build -trimpath -o "dist/release-${ARCH}/fvpn-node-install" ./packaging/installer/cmd/fvpn-node-install
+ install -d -m 0755 "dist/release-${ARCH}/lib/systemd"
+ cp deploy/node/systemd/*.service deploy/node/systemd/*.timer "dist/release-${ARCH}/lib/systemd/"
+ /usr/local/bin/fvpn-release package \
+ -dir "dist/release-${ARCH}" \
+ -out "dist/node-ubuntu2404-${ARCH}.tar.zst" \
+ -mtime 1793299200
+done
+```
+
+For the `build-input.json` fields, see the [release command inputs](../updates/release-process.md#commands).
+
+Carried gap: creation of `sbom.spdx.json`, `NOTICES.txt` and `source.tar.zst` remains undocumented. `build-manifest` consumes supplied evidence metadata and an SBOM file/hash; it does not produce those artifacts. Create and check that evidence before building the manifest or uploading the files below. See the [carried list](follow-up-51.md#existing-procedures-linked-and-carried-gaps).
+
+Build, sign, and verify the release manifest envelope (`manifest.envelope.json`):
+
+`[Verified on dev/test stack]`
+```bash
+/usr/local/bin/fvpn-release build-manifest \
+ -in build-input.json \
+ -out dist/manifest.signed.json
+
+/usr/local/bin/fvpn-release sign \
+ -signed dist/manifest.signed.json \
+ -key /secure/offline/release-prod-2026-01.key.json \
+ -out dist/manifest.envelope.json
+
+/usr/local/bin/fvpn-release verify \
+ -envelope dist/manifest.envelope.json \
+ -trust /tmp/release-trust.json \
+ -artifact amd64=dist/node-ubuntu2404-amd64.tar.zst \
+ -artifact arm64=dist/node-ubuntu2404-arm64.tar.zst
+```
+
+If publishing `install.sh`, follow the [verified-download pin requirements](../node/install.md#verified-download-182-pkg01).
+
+Upload `node-ubuntu2404-amd64.tar.zst`, `node-ubuntu2404-arm64.tar.zst`, `manifest.envelope.json`, `sbom.spdx.json`, `NOTICES.txt`, and `source.tar.zst` to `https://releases.example.com//`, then register the release with `fvpn-control` (`POST /api/v1/admin/releases`) and activate a `release_support` policy revision containing `` in both `approved_release_ids` and `minimum_serving_version.serving_release_ids` (`§13.4`).
+
+---
+
+## 9. First Exit-Node Provisioning and Enrollment (`§6`, `§8`, `§13.5`, `§16.3`)
+
+### 9.1 Node Host Prerequisites, Directory Layout, and Configuration (`AGENTS.md §4`, `node/enforce/apply.go`, `node/enforce/executor.go`)
+
+On the Ubuntu 24.04 LTS exit node, install the user-space network executables invoked by `fvpn-agent`'s data-plane enforcement (`node/enforce/executor.go` `System`, `node/enforce/apply.go`):
+- **`nft`** (`nftables` package): atomic `nft -f -` transactions and whole-ruleset `nft -j list ruleset` verification (`NftBatch`, `Executor.Output`, `node/enforce/verify_foreign.go`, [`docs/poc/G2-netlab.md`](../poc/G2-netlab.md), `#220`, `#241`, `D-079`). Under `#220` (`r14` M-3) and **`D-079` (`#241`)**, `VerifyServing` reads the entire host nftables ruleset: any foreign base chain outside `inet fvpn` on `prerouting`, `forward`, or `postrouting` in families `ip`, `ip6`, `inet`, or `bridge`, or on `ingress` or `egress` of `Datapath.MemberIngress` or `Datapath.Uplink` (including a `netdev`/`inet` `ingress`/`egress` chain with no device), that can mangle/rewrite payloads, set `meta mark` or `ct mark` (`MARK_SEMANTICS_VIOLATED`), `notrack`, NAT, `queue`, `drop`, `reject` (or has chain policy `drop` or `reject`), offload via `flow`/`xt` or attach a foreign `flowtable` to `Datapath.MemberIngress`/`Datapath.Uplink` (`FLOWTABLE_BYPASS`), or `jump`/`goto` into such a chain (or has no priority, an unknown hook, or an unresolvable jump target — `ISOLATION_POLICY_INVALID`), fails serving closed with `ISOLATION_POLICY_INVALID`, `MARK_SEMANTICS_VIOLATED`, or `FLOWTABLE_BYPASS` (detail includes `handle `, while tolerating accept-only/match/counter/log foreign chains, `input`/`output` chains, family `arp`, and `ingress`/`egress` chains on other devices). Under **`D-079` (`#241`, `loopback_scoped` rule in `node/enforce/verify_foreign.go`)**, a foreign rule in an `ip`, `ip6`, or `inet` base chain on `prerouting`, `forward`, or `postrouting` whose first expressions are native `ip`/`ip6` `saddr` or `daddr` matches with `"=="` (`""`) on a literal IP or prefix contained in `127.0.0.0/8` or `::1` and whose remaining expressions are only benign or NAT statements is classified as `loopback_scoped` (`LoopbackEvidence`, `table family hook priority chain handle statement `) and tolerated without failing serving closed (`xt` matches and chain/table names prove nothing), whereas non-loopback NAT still fails closed as `FLOWTABLE_BYPASS` with `handle `. Production exit nodes must not run Docker or any other NAT for non-loopback traffic; `loopback_scoped` in the read-back evidence is informational (`deploy/devstack` `#240` is an e2e test lab, not a production topology).
+- **`tc` and `ip`** (`iproute2` package): `tc -batch -` HTB/fq_codel shaping (`TCBatch` for writes and `Executor.Output` for reads) and `ip -j addr show dev ` member-interface address read-back (`node/agent/memberpath.go`).
+- **`conntrack`** (`conntrack` package): `node/enforce/apply.go` `deleteConntrack` runs `conntrack -D -s ` and `conntrack -D -d ` through `Executor.Output` for addresses selected by the agent's `planRevokes`: previous or pending `(addr, device_id, member_id)` identities absent from current bindings, represented by `addrID`, and both `tests/netlab/Dockerfile` and `deploy/devstack/Dockerfile.node` (`#153`, which also carries `tcpdump`) install `conntrack`. `SystemPlane.MissingExecutables()` (`node/agent/plane.go`, `#162`, `#166`) uses `enforce.Executor` directly to preflight `nft`, `tc`, and `ip` and calls `enforce.RequireConntrack(p.executor())` (`#156`, `#166`, `LookPath("conntrack")` -> `ISOLATION_POLICY_INVALID`, detail `"conntrack is not installed"`) at startup before installing the boot baseline: if any binary is missing, the agent keeps forwarding off with `safety_check_failed`, logs only the executable name, and reports `DEPENDENCY_UNAVAILABLE` at stage `preflight` plus failed `lease`, `qos`, and `source_binding` checks (`DEPENDENCY_UNAVAILABLE`). After the combined nftables and tc read-back in `verifyServing` succeeds in `enforce.Apply` (`#156`, `#159`, `#172`, `#196`, `#197`, `#202`), `Apply` populates `verified.Counters` and `verified.Samples` (`Samples` skips unbound devices and zero metadata) before running the `m.Revoke` loop and attempts `deleteConntrack` for every address in `m.Revoke`. If any `conntrack -D` call fails, `enforce.Apply` leaves the verified serving ruleset and QoS installed (`ApplyResult.Verified = true`, because `ip saddr != @allowed_v4` and `ip daddr != @allowed_v4` precede `ct state established,related accept` and drop packets for removed bindings immediately) and returns a typed `*ConntrackDeleteError{Pending, Failed}` (`IsConntrackDeleteFailure`). In `fvpn-agent` (`#166`, `#193`, `#202`, `node/agent/revocation.go`, `node/agent/sync.go`, `node/internal/agentstore/store.go`, `docs/node/README.md`), when `plane.Apply` returns `res.Verified == true` with `enforce.IsConntrackDeleteFailure(err)` and the durably reserved serving-`Apply` delete-batch count remains below 12 (`1..11`), the agent keeps the verified serving ruleset installed (`serving = true`), persists only the failed `(addr, device_id, member_id)` addresses (`Failed` plus any unattempted entries) under `pending_revocations` in local SQLite `meta` (merged with any newly revoked addresses on subsequent generations and retried on every apply tick until `conntrack -D` succeeds), keeps `internet_only`, `qos`, `source_binding`, and `meter_path` checks `passed` and the local watchdog heartbeat `serving`, and reports one `NodeError` (`code: ISOLATION_POLICY_INVALID`, `stage: "apply"`, `message: "conntrack delete pending; serving ruleset verified"` — one of the twelve revision-8 enforcement verification reasons in `contracts/openapi.yaml` `#164`). The agent durably reserves each whole delete batch before serving `Apply` can run a delete; a crash or an earlier failure consumes that slot even if no delete command runs. At **12 reserved batches** (`maxConntrackDeleteAttempts = 12`), including a stored count of 12 after restart, or if `conntrack` is missing after preflight, the agent stops serving and attempts the fail-closed baseline. In this conntrack-blocked state, `member_forwarding_enabled=false`, `safety_status=failed`, and `forwarding_block_reasons` includes `safety_check_failed`. With the baseline in force, `internet_only=failed` reports `ISOLATION_POLICY_INVALID` with the conntrack detail (`Conntrack delete exceeded the retry bound.` at the bound); otherwise it reports `ISOLATION_BASELINE_MISSING`, meaning isolation is not confirmed. Baseline-only cleanup may retry after exhaustion without authorizing forwarding. Successful cleanup of all pending identities clears the count and block; a successful apply with no pending revocations also clears them. A restart or a new generation alone does not reset the counter. For a retained Apply failure, the agent attempts the fail-closed baseline and does not acknowledge the generation while the failure is retained.
+
+`[production only]`
+```bash
+apt-get update && apt-get install -y --no-install-recommends nftables iproute2 conntrack ca-certificates
+```
+
+Create the split directory hierarchy:
+
+`[production only]`
+```bash
+install -d -m 0755 /opt/vpn-node/releases /etc/vpn-node
+install -d -m 0700 /var/lib/vpn-node/identity /var/lib/vpn-node/state /var/lib/vpn-node/update-journal /var/lib/vpn-node/update-staging
+```
+
+Use `fvpn-node-install` for verified release extraction, the `current` symlink, trust files and generated agent/updater configuration; follow [what install changes](../node/install.md#what-install-changes-63) and [Node trust files](../node/install.md#node-trust-files).
+
+Carried gap: real interface, address and route provisioning has no complete procedure here. The installer creates dummy links without addresses or routes; its success does not establish a working member/uplink path. AdGuard service/listener provisioning from §4.3 must also be completed before DNS application. See the [carried list](follow-up-51.md#existing-procedures-linked-and-carried-gaps).
+
+After install, add the `dns` object to `/etc/vpn-node/agent.json` using the [node configuration example](../node/README.md#config-example), including `dns.resolvers` and `dns.resolver_credentials_file`. The installer starts services but does not write `dns`; without it, a referenced resolver document fails closed with `not_run` / `DEPENDENCY_UNAVAILABLE`.
+
+Provide the referenced credentials JSON file with one username/password pair for all resolver targets, following the [node credential rules](../node/README.md#configuration): regular file, mode `0600`, uid/gid `0:0`, exactly one hard link, and no symlink. Restart `fvpn-agent.service` after changing the `dns` configuration (`systemctl restart fvpn-agent.service`); `SIGHUP` reloads only the credential file, not `agent.json`.
+
+Read back `dns_policy_evidence` in the admin node detail as described in [operator DNS evidence](operator-guide.md#51-how-threat-feeds-and-resolver-documents-are-published-and-delivered) and the [resolver outcome table](../node/README.md#config-example): for the referenced document, require matching document ID, digest and generation, outcome `applied`, and a passed `dns_policy` check. Missing evidence or successful document delivery alone does not prove apply.
+
+Carried gap: the installer takes no DNS input. A successful re-run, even for the same release, replaces a hand-edited `agent.json` because the fast path requires exact equality with its rendering; the rewritten file drops `dns`. After any such re-run, repeat the configuration, restart and read-back steps above before treating DNS as applied.
+
+The following `agent.json` fields illustrate configuration inputs; use the installer's generated configuration and [control endpoint guidance](../node/install.md#authenticated-updater-reporting-f10-02-136-13103) for the selected origin. The installer also generates `updater.json`; this example alone is not a manual installation procedure.
+
+Carried gap: complete the single-origin public/agent routing and authenticated server trust distribution carried in §§1 and 6.1 before using the agent endpoint and `server_ca_file` below.
+
+```json
+{
+ "state_dir": "/var/lib/vpn-node/state",
+ "identity_dir": "/var/lib/vpn-node/identity",
+ "journal_dir": "/var/lib/vpn-node/update-journal",
+ "updater_journal": "/var/lib/vpn-node/update-journal/journal.db",
+ "lock_path": "/var/lib/vpn-node/update.lock",
+ "control_url": "https://agent.vpn.example.com:9443",
+ "server_ca_file": "/etc/vpn-node/ca.pem",
+ "trust_bundle": "/etc/vpn-node/trust.json",
+ "datapath": {
+ "member_ingress": "fvmb0",
+ "uplink": "fvup0",
+ "snat": "192.0.2.20"
+ },
+ "egress_probe_target": "192.0.2.10:443",
+ "agent_release": "2026.10.1",
+ "release_id": "0196ed00-0000-7000-8000-000000000701",
+ "renew_lead_seconds": 86400,
+ "heartbeat_seconds": 10,
+ "watchdog_stale_seconds": 30,
+ "watchdog_interval_seconds": 5,
+ "poll_seconds": 10,
+ "observation_seconds": 30,
+ "host_reserve_bps": 20000000,
+ "netbird_backend": "kernel",
+ "updater_recover": "/opt/vpn-node/current/fvpn-updater",
+ "updater_config": "/etc/vpn-node/updater.json",
+ "dns": {
+ "resolvers": [
+ { "id": "agh-primary", "admin_url": "http://127.0.0.1:8080", "dns_addr": "127.0.0.1:53" },
+ { "id": "agh-secondary", "admin_url": "http://127.0.0.1:8081", "dns_addr": "127.0.0.2:53" }
+ ],
+ "resolver_credentials_file": "/etc/vpn-node/resolver-credentials.json"
+ }
+}
+```
+> **Important (`AGENTS.md §4`, `D-034`, `D-058a`, `D-058b`, `D-061`, `docs/node/README.md`, `node/agent/probe.go`)**:
+> - `datapath.member_ingress` and `datapath.uplink` **must** start with `fv` (`^fv[a-z0-9_-]{1,13}$`) and must differ. `enforce.Render` unconditionally merges `datapath.snat/32` into `@host_v4` (`#172`, `node/enforce/render_nft.go`), drops non-53 member traffic to `@resolver_v4` via `ctbadns`, and unions `enforce.SpecDeniedV4()` with `ExtraDeniedV4` (`extra_denied_v4`, `node/enforce/model.go`, `docs/poc/G2-netlab.md`). When an exit node's uplink sits on a public on-link L2 subnet (outside RFC 1918 / `SpecDeniedV4()`), include that on-link prefix and upstream gateway IP in `extra_denied_v4` so `@denied_v4` blocks member packets addressed directly to adjacent uplink hosts or the gateway IP while allowing transit traffic routed through the gateway.
+> - `host_reserve_bps` **must** be greater than zero (otherwise `fvpn-agent` exits with code `64` before touching the kernel).
+> - `dns.resolvers[]` (`1..8` host-local AdGuard Home targets, each with IP-literal `admin_url` and `dns_addr`) and `dns.resolver_credentials_file` (`D-061`, `#150`, `docs/node/README.md`, `node/agent/dnsconfig.go`) configure node-side resolver convergence (`node/dns.Applier`). Never place credentials inline in `agent.json`: `resolver_credentials_file` must be an absolute path to a regular file owned by `0:0` (`uid 0`, `gid 0`) with mode `0600` and a single hard link (`Nlink == 1`) containing `{"username":"...","password":"..."}`. `fvpn-agent run` loads the credentials at startup and reloads them on `SIGHUP` without stopping; wrong file ownership/group, mode, or hard-link count fails `dns_policy` closed (`FORBIDDEN`, detail `"Resolver credentials are not usable."`) without logging the secret or URL.
+> - `egress_probe_target` (`host:port`) is the optional local fallback egress target for the node's `tunnel_probe` check. When the signed `DesiredState.egress_probe` field is non-null on an in-force desired state (`D-058a`), its `1..4` TCP IP-literal targets (default `timeout_ms: 2000`, bounds `100..10000`) override `egress_probe_target`; if a signed `egress_probe` is structurally invalid, `tunnel_probe` fails closed without falling back to the local target. `NodeCheck.detail` (`<= 500` single-line ASCII characters, sanitized by `D-058b` so URLs, tokens, paths, and SQL/stack fragments are never emitted) reports which source ran (`"Egress probe used the signed targets."`, `"Egress probe used the local target."`, `"Egress probe used no extra target."`, or `"Signed egress probe was rejected."`).
+> - `updater_journal` is the absolute updater database **file** path, default `/var/lib/vpn-node/update-journal/journal.db`; URLs and relative paths are rejected. Set it to the database actually used by the updater. It is independent of `journal_dir`, which still locates the forwarding latch and health sidecars. Unavailable snapshots yield `update.generation: null`, not completion; a recovery entered at the `rollback` stage without stored health checks reports `stage: "rollback"` with a blank failed health profile (`blankHealth`, never a passed one, `#192`) so central accepts the failure instead of rejecting it with `422`; see [reading update evidence](operator-guide.md#45-reading-a-rolled-back-update-target-evidence-and-result-rejections-d-062-136-140-147-149-192).
+> - In `/etc/vpn-node/updater.json` (`#142`, `#154`, `#156`, `#168`, `#171`, `#192`, `docs/updates/node-updater.md`, `docs/updates/node-health-attestation.md`, `docs/node/README.md`, `node/updater/probe.go`, `node/updater/probe_addresses.go`, `node/updater/host.go`, `node/updater/retain.go`, `node/enforce/prefixes.go`), the optional `probe_peer` block (`peer_id`, one `/32` `source_v4`, `1..4` public `/32` `destinations` with `proto` `"tcp"` or `"udp"` and `port` `1..65535`, optional `resolver_dns`) and optional `agent_config` path (default `/etc/vpn-node/agent.json`, regular file `<= 1 MiB` verified via `os.Lstat`, `O_NOFOLLOW|O_NONBLOCK`, `fstat` regular check, and `os.SameFile` so symlinks, FIFOs, and replaced files are refused as `agent_config_unavailable`; resolver credentials are never opened) configure `D-063` synthetic-probe health challenges (`45s` default challenge window). `probe_peer` is validated at `LoadConfig`, `Config.Engine()`, and every challenge issuance (`Engine.challengeProbe`) against: (1) `enforce.SpecDeniedV4()` (`#156`, every IANA IPv4 Special-Purpose Address Registry block with `Globally Reachable != True` plus multicast `224.0.0.0/4`, denying `192.88.99.0/24` while allowing globally reachable `192.31.196.0/24`, `192.52.193.0/24`, and `192.175.48.0/24`); (2) the host's live IPv4 global-unicast interface addresses (`net.InterfaceAddrs`, refusing an empty filtered global-unicast IPv4 list with `node_addresses_unavailable` in `#168`, and refusing any matching host IPv4 address as `source_v4` or destination while allowing other private/CGNAT `/32` overlay addresses as `source_v4`); and (3) the resolved/literal addresses of `control_url` (from `agent_config`) and updater `result_url` (when set), plus `dns.resolvers[].dns_addr` and `dns.resolvers[].admin_url` hosts (refused as destinations regardless of `resolver_dns` or port), sharing a `2s` DNS lookup deadline. Config load and `Engine()` fail closed with `updater: invalid probe_peer` (and malformed JSON fails with `updater: invalid config JSON`). If an input becomes unavailable or forbidden at challenge issuance (`#168`, `#171`, `#192`), `Engine.issueChallenge` logs `"health challenge probe omitted"` once per fixed `probeRefusal` class per `Engine`, writes `probe_omitted {peer_id, reason}` into `health-challenge.json` (mutually exclusive with `probe`, included in `Same`), commits `probe_omission//` in SQLite `meta` and `txn_events.detail` (`Journal.ProbeOmissions`) before challenge publication (`probe_omission//` rows in `meta` are pruned with their transaction via `cleanTxnNotes` on seal and `Retain` for terminal `txns` while the `txn_events` `probe_omitted` event stays, `#192`), and includes `probe_omitted` in local `health_attest` diagnostics; on the agent (`#171`), `ObservationReport.checks[name=tunnel_probe].detail` reports `"probe_omitted: "` (taking precedence over the `ProbeSource` sentence, without peer ID or address, retained across sidecar removal/consumption until a later probe/omission challenge) while `tunnel_probe` stays `not_run` and `data_health` stays `unknown` with forwarding closed, and `health-attest.json` is answered with the accepted reason token `"probe refused"`. **One-time compatibility boundary (`#168`):** because `healthattest.ReadChallenge` uses `DisallowUnknownFields`, agent binaries built before `#168` reject an omission-bearing challenge and fail closed; release notes and rollout plans must carry this boundary when updating across `#168`. Omitting `probe_peer` keeps probe-less challenges without reading any of these inputs.
+> - Use the final AdGuard admin origin in `dns.resolvers[].admin_url`: redirects, including HTTP→HTTPS, fail apply. See the [resolver troubleshooting guidance](operator-guide.md#51-how-threat-feeds-and-resolver-documents-are-published-and-delivered).
+> - Never set `test_mode: true` on production nodes.
+
+### 9.2 Issuing a One-Time Enrollment Token (`POST /api/v1/admin/enrollments`)
+
+In the Admin Portal (`/admin/nodes`) or via API, issue an `installer` token (default TTL 15 minutes / `900s`):
+
+`[Verified on dev/test stack]`
+```bash
+curl -fsS -X POST "https://vpn.example.com:8443/api/v1/admin/enrollments" \
+ -H "Cookie: __Host-fvpn-admin=${ADMIN_SESSION}" \
+ -H "X-CSRF-Token: ${ADMIN_CSRF_TOKEN}" \
+ -H "Origin: https://vpn.example.com" \
+ -H "Idempotency-Key: $(uuidgen)" \
+ -H "Content-Type: application/json" \
+ -d '{
+ "delivery": "installer",
+ "name": "tw-tpe-01",
+ "region": "tw-tpe",
+ "notes": "First production exit node tw-tpe-01"
+ }'
+```
+
+The response carries `Cache-Control: no-store` and returns the one-time `token` (`EnrollmentCreated.token`, `§6.1`) on initial `201` creation alongside `token_sha256` (`Enrollment.token_sha256`, `#191`, `#195`, `#200`, the 64-character lowercase hex encoding of the stored SHA-256 verifier `node_enrollments.token_hash`, computed once from the plaintext token, also returned on idempotent replay, `getEnrollment`, and `revokeEnrollment` and recorded unredacted in `enrollment.created` `changes.after.token_sha256`).
+
+### 9.3 Running `fvpn-agent enroll` on the Node
+
+Carried gap: the public/agent listener split still needs endpoint routing compatible with the installer's single authenticated control origin; do not treat the separate example hostnames as that routing procedure. See the [carried list](follow-up-51.md#existing-procedures-linked-and-carried-gaps).
+
+For enrollment, use `fvpn-node-install` and its [token intake procedure](../node/install.md#token-intake-182-enr03): provide an existing regular mode-`0600` token file with `--token-file`, or use its interactive prompt. Follow [what install changes](../node/install.md#what-install-changes-63) for configuration and enrollment; the installer invokes `fvpn-agent enroll` with its generated agent configuration.
+
+What happens during `fvpn-agent enroll` (`§6.1`–`§6.3`, `ENR01`–`ENR04`, `D-055`, `docs/nodes/WIRING.md`):
+1. Generates an ECDSA P-256 private key inside `/var/lib/vpn-node/identity` (`0600`, never leaves the node) and submits a PKCS#10 CSR + `fvpn-enrollment-v1` proof to `POST /api/v1/agent/enroll`.
+2. Receives `node_id`, `node_incarnation_id`, and the signed mTLS client certificate.
+3. Zero-overwrites, syncs, and unlinks the token file passed to the agent (`agent.NeutralizeToken`): either the operator's `--token-file` path, or the installer's mode-`0600` `.enroll-token-*` file under the system temporary directory when it prompts. There is no fixed enrollment-token path.
+4. Enrollment exits after token neutralization. The subsequent `fvpn-agent run` runtime calls `POST /api/v1/agent/bootstrap` over mTLS to fetch the one-time NetBird `setup_key` (subsequent calls return `410 BOOTSTRAP_CONSUMED`). Central (`node.provision.requested`) creates a single-use setup key whose `auto_groups` contain the shared staging group (`fvpn-unpublished-nodes`) and a dedicated empty per-enrollment correlation group (`fvpn-enroll-peer-`, `D-055`, `docs/nodes/WIRING.md`). During `node.peer.discover`, `fvpn-worker` (`DiscoverNodePeer`) correlates the unique non-ephemeral, userless peer in that correlation group without hostname, address, or timing inference, records `node::` in `external_bindings`, detaches and deletes the temporary correlation group with read-back, and commits `peer_readback`.
+
+### 9.4 Node Host Installer (`fvpn-node-install`, `#239`), Installing systemd Units, and Publishing the Exit (`§5.1`, `§6.1`–`§6.5`, `§7.3`, `§13.5`, `§16.3`, `ENR01`–`ENR04`, `AT06`, `AT07`, `D-057`, `docs/node/install.md`)
+
+For host provisioning and lifecycle commands, follow [`docs/node/install.md`](../node/install.md) (`#239`) and [operator guide §3.1](operator-guide.md#31-enrolling-a-new-node-or-reinstalling-an-existing-node-post-apiv1adminenrollments). That runbook covers verified install, `already_current` re-runs, `check`, staged `upgrade`, `remove`, `reenroll --token-file`, and `image-prepare` / `firstboot`. In particular, `/var/lib/vpn-node/update-staging/pending-release.json` is staging evidence, not confirmation that `current` moved; D-080 pending-file consumption is merged (#253), seed is merged (#269), and central installer-result acceptance is merged in fleet-update follow-up 10 (#273, D-089 / D-097), with keyed HTTP replay in #277. Installer mutations use journal-first rollback under `/var/lib/vpn-node/install/` and preserve `usage.db` on re-enrollment. AT07 still needs the assembled and hardware proofs listed in the operator guide.
+
+For unit installation and startup, use `fvpn-node-install` as described in [what install changes](../node/install.md#what-install-changes-63), including the pinned NetBird client, its connection unit and the updater timer; installable archives carry units under `lib/systemd`.
+
+Carried gap: complete the real node network, resolver provisioning and single-origin endpoint routing before enrollment/publication verification; the installer does not supply those production procedures. See the [carried list](follow-up-51.md#existing-procedures-linked-and-carried-gaps).
+
+Create or verify the target member group via `POST /api/v1/admin/groups` (`CreateAdminGroup`, `201 MemberGroup`, audited as `group.create` on `member_group:`, `D-057`, `D-059`) or `GET /api/v1/admin/groups` (`ListAdminGroups`). Once the node reports healthy observations (`provisioning_state: "ready"`, `control_status: "online"`, `safety_status: "passed"`, `data_health: "healthy"`, and `checks` entries `internet_only`, `dns_policy`, and `tunnel_probe` with `status: "passed"`) in `GET /api/v1/admin/nodes/{node_id}`, publish the exit node via `PUT /api/v1/admin/nodes/{node_id}/publication` (`SetNodePublication` -> `exits.SetPublicationTx`, `docs/nodes/WIRING.md`) supplying `publication_intent: "published"`, `group_ids: [""]`, `If-Match: ""`, and `Idempotency-Key` (or pre-attach `member_group_ids` via `PATCH /api/v1/admin/nodes/{node_id}` and omit `group_ids` to preserve existing membership). Wait for the returned `202 Accepted` operation (`node.publish`) to reach `status: "succeeded"` with `publication_observed: "active"` and NetBird route read-back evidence (`netbird_route_readback`) before announcing the exit to members.
+
+Central stale/offline status appears after a successful scheduled sweep; it does not replace the publication operation and route read-back above. Receipt-age classification does not change publication intent.
+
+Historical follow-up 15 cutoff; current dispositions are in [follow-up 19](follow-up-19.md).
+
+Installer ENR-06 (#266) historically failed first start because `/var/run/netbird.sock` was outside the packaged write allowlist and consumers could remove shared runtime state. Installer follow-up 3 (#279) fixes this: the daemon owns `/run/fvpn-netbird/netbird.sock` and shared `/run/vpn-node` survives consumer restarts. Offline seed and firstboot now pass with real daemons, but the required full journaled upgrade stays **red** at the absent meter checkpoint (`final_sample`, `CHECKPOINT_FAILED`, health null). Do not infer success from updater exit 0. See [installer follow-up 3](../node/install-followup3-2026-10-31.md). Devstack follow-up 15 remains historically `21 pass / 1 fail`; enrollment follow-up 6 (#288) now verifies ENR-06 startup on the fixed installer (AT06 376/0/0, AT07 26/5/0). Five AT07 rows remain blocked on installer-node exports and ENR-05; startup success does not close the full upgrade test. Updates follow-up 9 passed regular AT23–AT27 on `5575470`, while its separate installer extension remains blocked on measured F9-01…F9-05; [current dispositions](../ops/README.md#follow-up-15-acceptance-snapshot-2026-10-31-edt).
+
+### 9.5 Configuring the Fleet Offline Lease Ceiling (`GET`/`PUT /api/v1/admin/fleet-config`, `D-065`, `#176`, `#179`, `§14.5`, `§16.3`, `AT29`, `docs/nodes/README.md`, `docs/nodes/WIRING.md`, `internal/nodes/httpwire/fleet_config.go`)
+
+- **What `max_offline_lease_seconds` governs (`§16.3`, [`docs/nodes/README.md`](../nodes/README.md), [`docs/nodes/WIRING.md`](../nodes/WIRING.md)):**
+ The singleton `fleet_config.max_offline_lease_seconds` governs the longest a node keeps serving member traffic on its last signed `ServingLeaseEnvelope` when `fvpn-control` is unreachable ($\text{node\_lease\_end} = \text{signed\_server\_time} + \text{max\_offline\_lease\_seconds}$ and $\text{member\_lease\_end} = \min(\text{signed\_server\_time} + \text{max\_offline\_lease\_seconds}, \text{effective\_service\_end}, \text{node\_lease\_end})$). Operators and acceptance harnesses (`AT29`) manage this ceiling through `GET`/`PUT /api/v1/admin/fleet-config` rather than editing `fleet_config` in SQL (`D-065`).
+- **Range `60`–`86400` and why the floor is `60` (`D-065`, `#176`, `#179`, `node/agent/sync.go`):**
+ `max_offline_lease_seconds` accepts integer values in **`60`–`86400`** seconds. The read-only field `default_max_offline_lease_seconds` is `86400` (`24` hours — the `§16.3` ceiling and migration seed, not a deployment recommendation; see [`calibration.md` §1.4](calibration.md)). The **`60` s floor** exists for test labs (`AT29` deadline faults) because `fvpn-agent` renews its serving lease at the configured `RenewLeadSeconds` lead (`renewLead` in `node/agent/engine.go`), clamped to half the lease window and then to at least one second, plus jitter for ordinary populated leases (`node/agent/sync.go`). The lead defaults to `120 s` and `heartbeat_seconds` to `10 s`; the Admin Portal warns below `900 s` (`15` minutes).
+- **`GET` → strong `ETag` → `PUT` flow, HTTP outcomes (`428`/`412`/`409`/`422`), `fleet_config.update` audit, and lease timing (`internal/nodes/httpwire/fleet_config.go`, `TestD065_FleetConfigHTTPReadWrite`, `TestD065_AT29_FleetConfigOnlyChangesNewLeases`, `TestD065_FleetConfigReleaseWriterInterleaving`, `TestD065_FleetConfigMissingRowUsesIssuerDefault`):**
+ 1. `GET /api/v1/admin/fleet-config` returns `200 OK` `FleetConfig` and strong `ETag: ""` (if the singleton row is absent, `GET` returns `max_offline_lease_seconds: 86400`, `default_max_offline_lease_seconds: 86400`, `resource_version: "0"`, `updated_at: "1970-01-01T00:00:00Z"`, `ETag: "0"` without writing).
+ 2. `PUT /api/v1/admin/fleet-config` requires `If-Match: ""`, a UUID `Idempotency-Key`, `X-CSRF-Token`, `Origin`, and `{"max_offline_lease_seconds": <60..86400>, "reason": "<1..500 chars>"}`. It locks `fleet_config` (`SELECT ... FOR UPDATE`, serializing with `fleetupdate.CreateBatch` without modifying `generation` or release-support columns), increments `resource_version`, appends one `fleet_config.update` audit event on `fleet_config:00000000-0000-0000-0000-000000000001` (`operation_id: null`) containing both `before` (`{"max_offline_lease_seconds"}`) and `after` (`{"max_offline_lease_seconds", "resource_version", "updated_at", "reason"}`) snapshots (even on an accepted same-value write), and returns synchronous **`200 OK`** `FleetConfig` with the new strong `ETag` (creating zero `operations` or `outbox_events` rows).
+ 3. Missing `If-Match` returns `428 PRECONDITION_REQUIRED`; stale `If-Match` returns `412 RESOURCE_VERSION_CONFLICT` with `details.current_resource_version`; reusing an `Idempotency-Key` with a different payload returns `409 IDEMPOTENCY_CONFLICT` (whereas replaying the same key and payload returns the original `200 OK` body and `ETag` reconstructed from the immutable audit row keyed by `idempotency_requests.id`, so keep `audit_days` retention $\ge$ `idempotency_seconds`); and out-of-range values (`< 60` or `> 86400`), weak `If-Match`, bad `reason`, or unknown fields return `422 VALIDATION_FAILED`.
+ 4. Existing signed leases (`serving_leases`) and their replays keep their signed `max_offline_seconds`, `expires_at`, and Ed25519 signature; the next lease renewal (`POST /api/v1/agent/lease-renewals`) copies the updated `max_offline_lease_seconds` (`TestD065_AT29_FleetConfigOnlyChangesNewLeases`; see [`operator-guide.md` §3.6](operator-guide.md#36-configuring-the-fleet-offline-lease-ceiling-getput-apiv1adminfleet-config-d-065-d-067-176-179-206-145-163-at29-docsnodesreadmemd-docsnodeswiringmd-internalnodeshttpwirefleet_configgo) for full curl examples).
+
+### Follow-up 16 restore evidence (2026-10-31 EDT)
+
+Security-ops follow-up 12 (#301), run `dd845a7f-2660-431c-a8e6-c513108cc07d`,
+passes AT30 on the shared development host: pre-replay database RPO **106.45 s**,
+post-replay service usage RPO **0 s**, protocol RTO **66.90 s**, total outage RTO
+**74.53 s**, replay **5 events / 5 hashes / 0 lost / 0 duplicate / 0 gaps**.
+D-095's exact fresh-observation hold is proved. SECOPS-21 remains open: the
+first probe/stored generation 16 exceeds retained 15, but first delivery,
+matching local acceptance and the applied ACK remain unproven; capture is
+pending devstack follow-up 18 / wire-nodes follow-up 32. Earlier measurements
+remain historical, and no candidate-hardware guarantee follows. See the
+[current acceptance snapshot](../ops/README.md#follow-up-16-acceptance-snapshot-2026-10-31-edt).
diff --git a/tests/handover/testdata/history/follow-up-55/prior-docs_handover_follow-up-52.md.txt b/tests/handover/testdata/history/follow-up-55/prior-docs_handover_follow-up-52.md.txt
new file mode 100644
index 000000000..4b5e954eb
--- /dev/null
+++ b/tests/handover/testdata/history/follow-up-55/prior-docs_handover_follow-up-52.md.txt
@@ -0,0 +1,69 @@
+# Handover follow-up 52 — guide statement corrections
+
+This cut records **one merged pull request: #527**, through
+`6972be03e4742a13c3e02e4c612ece37fd314fb8`. The cutoff is the roadmap commit after
+#527, whose squash is `d37bf5a085610bd54597b5e3d09f306ab9a763a9`.
+[Follow-up 51](follow-up-51.md) covered #524–#526 and was itself merged as #527;
+it therefore belongs in this range, just as the preceding cut belonged in its range.
+
+The [source manifest](../../tests/handover/testdata/followup52-main.json) records
+the title, full merge and head commits, merge time and roadmap commit. The
+summary below describes the [merged pull request](https://github.com/TED-H-com/Freedom-VPN/pull/527).
+This cut does not re-verify that delivery or claim a new run, measurement,
+deployment, restore or CI result.
+
+## Merged delivery
+
+| PR | Merged title | Merge commit | Head commit | Effect and boundary |
+|---|---|---|---|---|
+| [#527](https://github.com/TED-H-com/Freedom-VPN/pull/527) | handover: follow-up 51 — cut #524–#526, and correct the deployment, calibration, restore and backup guides against the code | `d37bf5a085610bd54597b5e3d09f306ab9a763a9` | `60a6e81025c469756221230b899e98acc5aadac5` | Publishes follow-up 51 and corrects deployment, calibration, restore and backup guidance, with two targeted operator-guide corrections. Operators get statements tied to the implementation and explicit carried gaps; developers get frozen prior inputs and bounded edit checks, without a new deployment or acceptance claim. |
+
+## Guide revisions at this cut
+
+These are corrections to statements at the cutoff, with no new procedure.
+The [edit manifest](../../tests/handover/testdata/followup52-edits.json) records
+the exact old and new text and its source evidence.
+
+| Guide | Correction and boundary |
+|---|---|
+| [Deployment](deploy.md) | Enrollment returns `node_incarnation_id`; the serving list is `minimum_serving_version.serving_release_ids`. Two dedicated resolvers remain the specification's recommended starting point for resilience (§12.2); the code accepts one resolver, which has no redundancy. See the [API contract](../../contracts/openapi.yaml), [release-support schema](../../contracts/schemas/policies/release-support-payload.schema.json), [node configuration](../../internal/config/nodes.go) and [resolver applier](../../node/dns/applier.go). |
+| [Deployment](deploy.md) | At the conntrack retry bound or with `conntrack` missing after preflight, the agent stops serving and attempts the baseline. Forwarding reasons include `safety_check_failed`; `ISOLATION_POLICY_INVALID` with the conntrack detail requires the baseline to be in force, otherwise `internet_only` reports `ISOLATION_BASELINE_MISSING`, meaning isolation is not confirmed. A retained Apply failure withholds generation acknowledgement. See [agent enforcement](../../node/agent/engine.go) and [agent checks](../../node/agent/decide.go). |
+| [Calibration](calibration.md) | Fair-use status comes through `GetMemberStatus` / `GetAdminMemberStatus`, with the enforce-mode ack-reader check, and the usage query carries `api.FairUseStatus`. Both guides identify `anonymousLim`, `classify`, the inline request middleware, `walkChecked`, `checkLargeJSON` and `identityFieldMatches`. Bodies up to `canonjson.MaxBytes` pass `canonjson.Canonicalize`; only on the agent mTLS listener do those bodies also pass `walkChecked` with an identity callback. Larger bodies use `checkLargeJSON`, with streamable schema checks in the same walk. See the [FUP engine](../../internal/fup/engine.go), [usage query](../../internal/usage/queries.go), [middleware](../../internal/httpapi/middleware.go) and [JSON walker](../../internal/httpapi/jsondoc.go). |
+| [Restore drill](restore-drill.md) | Step 3.2 keeps its restricted-recovery-startup gap notice once. The gap and the recovery ordering remain unchanged. |
+| [Operator guide](operator-guide.md) | Corrects `meter_path`, token-file selection, the executor call, loopback evidence and datapath fields, `addrID` revocation identity, and combined `verifyServing` read-back. The conntrack bound counts durably reserved serving-Apply delete batches, including slots consumed before deletion; it is not a count of consecutive failed commands. See [token intake](../node/install.md#token-intake-182-enr03), [enforcement](../../node/enforce/apply.go) and [revocation accounting](../../node/agent/revocation.go). |
+| [Operator guide](operator-guide.md) | Updater space accounting adds the signed reserve without a 512 MiB floor; check and rollback bounds count transaction-step entries, with no configurable retry intervals. The fair-use read-back is the owning member's usage response; a member with no published carrying exit reports `applying: false` regardless of a `policy.activate` operation's state; configuration defaults use 1 MiB browser/agent/webhook and 8 MiB usage caps. See [updater space accounting](../../node/updater/engine.go), [transaction steps](../../node/updater/apply.go), [fair-use status](../../internal/fup/engine.go) and [configuration defaults](../../internal/config/config.go). |
+| [Backups](../ops/backups.md) | The verify unit's prebuilt migrator is linux/amd64. Without `--migrate-bin`, [verify.sh](../../deploy/backup/verify.sh) builds that architecture. |
+| [Calibration](calibration.md) and [operator guide](operator-guide.md) | Fair-use ACKs use the latest stored observation without checking its age or current node control status. An acknowledged exit becoming offline or stale does not by itself make `applying` true again; false does not establish current liveness. The activation payload uses `type`, evaluation runs as `fup.evaluate`, and the policies worker passes fair-use activation and member-generation events directly to `Compiler.RecompileBatch`. Plan activation runs a batch-limited sweep but has no direct compile call; the plan-only rate-change gap remains when no generation event triggers a compile. See the [ACK query](../../internal/fup/engine.go), [staleness sweep](../../internal/nodes/observations.go) and [policies worker](../../apps/worker/jobs_policies.go). |
+| [Operator guide](operator-guide.md) | Revoke-step eligibility, pending status and completion follow `advanceNodeOperationsOnObservation`. Admin pending-delete diagnostics are `pending`, `ISOLATION_POLICY_INVALID` and `member_forwarding_unconfirmed`; reasons and resolutions are in audit events. One clean counting observation can complete the step while another fresh exit without a pending isolation error has not applied its generation. See [observation processing](../../internal/nodes/observations.go) and [public operation projection](../../internal/operations/operations.go). |
+| [Operator guide](operator-guide.md) | Replaces stale incarnation, error, snapshot-test, renewal, revocation, grace, discovery, probe and schema names with current code references. Concurrency defaults to 128 and eviction scans the LRU tail. `toRecovery` supplies blank rollback health only with no supplied or stored health at `api.UpdateStageRollback`; four checks fail and `identity_and_state` comes from `checkPersistent`, which can pass. See [configuration](../../internal/config/config.go), [limiter](../../internal/httpapi/middleware.go), [recovery](../../node/updater/apply.go) and [blank health](../../node/updater/attest.go). |
+| [Operator guide](operator-guide.md) | Provisional-grant waiting has the healthy description only when otherwise healthy; independent enforcement/probe failures need investigation. Protective-fence audits record success and the actual fence fields; peer-denial and identity-rejection transition tracking are separate; peer denials use device, then member, then fleet fallback resources. Omitting `error_code` gets no result receipt; an otherwise valid, job-bound failed result with `error_code: null` gets a rejection receipt. Both rejections preserve the prior projection, and acceptance distinguishes job advancement from current-observation updates. Revocation retention uses two address filters, stale-observation grace has one outstanding mark with an applied-generation floor, the public-key digest is hex-encoded without another hash, and baseline attempts are distinguished from confirmed isolation. Retained Apply/dependency failures withhold generation acknowledgement; meter-path failures have their own cause and forwarding reason and alone do not withhold it. See [agent decisions](../../node/agent/decide.go), [fence audits](../../internal/devices/fence.go), [denial paths](../../internal/devices/audit.go), [update results](../../internal/fleetupdate/results.go), [revocations](../../node/agent/revocation.go), [grace](../../internal/nodes/observations.go), [incarnations](../../internal/nodes/incarnations.go) and [the plane interface](../../node/agent/plane.go). |
+| [Calibration](calibration.md) and [operator guide](operator-guide.md) | The 60-second central grant-less expiry cap applies only to published, registered nodes that are not ready or have frozen mappings; other grant-less leases keep ordinary expiry. The agent's planned renewal spacing can be shortened by the renewal lead and lengthened by `Retry-After`. See [central lease issuance](../../internal/leases/leases.go) and [agent renewal](../../node/agent/sync.go). |
+| [Operator guide](operator-guide.md) | Retained Apply/dependency failures still withhold acknowledgement; eligible live generation mismatches can be reported and repaired at the same generation with the current lease, without a baseline on successful repair. After datapath validation, quarantine attempts its marker, member-link shutdown and baseline independently. A procedure error can coexist with confirmed containment; evidence distinguishes the first and latest wrapper calls from Apply’s own quarantine. See [serving verification and repair](../../node/agent/serving.go), [quarantine](../../node/enforce/quarantine.go) and [reported containment evidence](../../node/agent/quarantine.go). |
+| [Calibration](calibration.md), [operator guide](operator-guide.md) and [member guide](member-guide.md) | The calibration provisional report is qualified by otherwise healthy state and independent failure codes. Calibration and operator guidance describe planned renewal spacing. The member guide describes eligible renewal attempts and links to the operator entry for provisional reports and renewal spacing; dated records remain unchanged. See [agent decisions](../../node/agent/decide.go) and [renewal scheduling](../../node/agent/sync.go). |
+
+The [Chinese](../DELIVERY.md#交接指南修訂) and
+[English](../DELIVERY.en.md#handover-guide-revisions) delivery guides record
+these revisions alongside the revisions of follow-ups 50 and 51. Latest-cut
+entry points advance to this cut; references to follow-up 51's content remain.
+
+## Dated-record erratum
+
+The [2026-10-30 restore record](restore-drill.md#25-measured-on-the-lab--live-at30-second-half-221-2026-10-30-run-0f5fb60d-f6a7-45c6-8ebe-175e0a480bd8-docse2eatsecopsat30md-docse2eatsecopsrestore-reconcilemd)
+names `UploadOnce`. The method is `Uploader.Once` in the
+[usage uploader](../../node/internal/usageupload/upload.go). The dated record
+stays as written; this name correction adds no recovery evidence.
+
+## Carried gaps and verification boundary
+
+Carried gaps remain exactly as [follow-up 51 recorded them](follow-up-51.md#existing-procedures-linked-and-carried-gaps).
+The [delivery guide's verification limits](../DELIVERY.en.md#verification-scope-and-known-limits) and the dated
+acceptance records retain their original scope. This cut supplies no missing
+procedure and closes no product or acceptance gap.
+
+The [pre-cut provenance](../../tests/handover/testdata/followup52-snapshots.json)
+pins exact copies from `6972be03`. The claims check permits 91 named edits across
+14 source documents, preserves headings and historical passages, resolves
+relative links and heading anchors, and keeps earlier assertions against frozen
+inputs. [Prior assertion provenance](../../tests/handover/testdata/followup52-prior-assertions.json)
+records the read-path-only changes; earlier claims checks still inspect the
+live test source. These are documentation consistency checks, not live-system evidence.
diff --git a/tests/handover/testdata/history/follow-up-55/prior-docs_handover_follow-up-54.md.txt b/tests/handover/testdata/history/follow-up-55/prior-docs_handover_follow-up-54.md.txt
new file mode 100644
index 000000000..ee3ade5b4
--- /dev/null
+++ b/tests/handover/testdata/history/follow-up-55/prior-docs_handover_follow-up-54.md.txt
@@ -0,0 +1,31 @@
+# Handover follow-up 54 — guide and engineering document corrections
+
+This cut records **four merged pull requests, in merge order: #533, #534, #535 and #536**, through `2f5159f377cb807cd4ed203ef6e4d1785f020ba9`. The cutoff is the roadmap commit after #536, whose squash is `e965ea2b2f757afd700dac21c96b9fc8b2c56fcd`. [Follow-up 53](follow-up-53.md) was itself merged as #534 and is therefore included here.
+
+The linked pull requests are the sources for these summaries. This cut does not re-verify them or claim a new run, measurement, deployment, restore or CI result.
+
+## Merged deliveries
+
+| PR | Merged title | Merge commit | Head commit | Effect and boundary |
+|---|---|---|---|---|
+| [#533](https://github.com/TED-H-com/Freedom-VPN/pull/533) | db: every pool connection scans timestamps in UTC, so API times end in Z on a host in any time zone | `6321c3ec13dd0ae3c88efde2985a651d75d57140` | `b1862238836bae9987d66380a4dc0de0b818c923` | PostgreSQL pool connections scan timestamps in UTC, allowing API timestamps to use UTC independently of the host time zone. |
+| [#534](https://github.com/TED-H-com/Freedom-VPN/pull/534) | handover: follow-up 53 — cut #528–#532, and correct the deployment, calibration, operator, member, database, restore-drill and backup guides against the code | `abd0d850b43e623f4f68098127761bb449ed0a8f` | `1d45500bb7866d8b76df7ca664834b7e5acea84b` | Publishes follow-up 53 and corrects guide statements against the code. Its frozen inputs and bounded edits preserve earlier claims. |
+| [#535](https://github.com/TED-H-com/Freedom-VPN/pull/535) | node: run the same-boot adoption test and 13 other positive adoption tests on virtual time | `8b7b15a380077da72e868a7e2f0de30587e341bc` | `741ffd40ea26df019a89beb0c7ede9e97bf50172` | Node adoption tests use virtual time for positive adoption scenarios, reducing their dependence on wall-clock waits. |
+| [#536](https://github.com/TED-H-com/Freedom-VPN/pull/536) | worker: size the database pool from worker_concurrency and refuse a setting above 11 | `e965ea2b2f757afd700dac21c96b9fc8b2c56fcd` | `7ede0c43c217d00672e21f10e366f40786e7d8e5` | The worker sizes its PostgreSQL pool from its concurrency and registered connection peaks, and rejects a budget above the pool limit at startup. |
+
+## Guide revisions at this cut
+
+The deployment, operator, member, database, operations and contracts guides and the node and network-lab engineering documents are corrected against the code at this cutoff. The deployment guide also describes the worker pool budget and PostgreSQL connection planning. The [delivery guide](../DELIVERY.en.md#handover-guide-revisions) retains the earlier revisions.
+
+## Dated-record errata
+
+These passages remain unchanged:
+
+- `docs/handover/follow-up-51.md`, [“Existing procedures linked and carried gaps”](follow-up-51.md#existing-procedures-linked-and-carried-gaps), deployment §9.1: agent datapath interface names must start with `fv`; the installer creates dummy links without addresses or routes, and real interface, address and route provisioning remains a documented gap. See [current node prerequisites](deploy.md#91-node-host-prerequisites-directory-layout-and-configuration-agentsmd-4-nodeenforceapplygo-nodeenforceexecutorgo).
+- `docs/handover/follow-up-51.md`, [“Existing procedures linked and carried gaps”](follow-up-51.md#existing-procedures-linked-and-carried-gaps), restore startup: restricted recovery startup remains absent, and stopping the worker is not a global forwarding fence. Control can issue leases from restored authorization before newer intent is reapplied; see [current restore ordering and exposure](restore-drill.md#phase-3-rotate-ledger_epoch-and-start-central-services-173-steps-26).
+- `docs/handover/member-guide.md`, “3.2 AT09、AT29”, historical follow-up 7 qualification in zh-TW: AT30 first passed in [follow-up 9](../e2e/at/secops/history/follow-up-9/AT30.md), then passed again in [follow-up 10](../e2e/at/secops/history/follow-up-10/AT30.md). The [current AT30 record](../e2e/at/secops/AT30.md#at30-restore--follow-up-13) reports a later pass.
+- `docs/handover/member-guide.md`, “3.2 AT09, AT29”, historical follow-up 7 qualification in English: AT30 first passed in [follow-up 9](../e2e/at/secops/history/follow-up-9/AT30.md), then passed again in [follow-up 10](../e2e/at/secops/history/follow-up-10/AT30.md). The [current AT30 record](../e2e/at/secops/AT30.md#at30-restore--follow-up-13) reports a later pass.
+
+## Carried gaps and verification boundary
+
+Carried gaps remain as [follow-up 53 recorded them](follow-up-53.md#carried-gaps-and-verification-boundary). This cut supplies no missing procedure and closes no product or acceptance gap.
diff --git a/tests/handover/testdata/history/follow-up-55/prior-docs_handover_member-guide.md.txt b/tests/handover/testdata/history/follow-up-55/prior-docs_handover_member-guide.md.txt
new file mode 100644
index 000000000..d0963335a
--- /dev/null
+++ b/tests/handover/testdata/history/follow-up-55/prior-docs_handover_member-guide.md.txt
@@ -0,0 +1,543 @@
+# Freedom VPN 會員使用手冊 / Member Guide (`docs/handover/member-guide.md`)
+
+**目前交付:**[交付導覽](../DELIVERY.md)整理現有功能、操作入口與驗證範圍。下列 follow-up 快照保留各自當時的範圍與結果。
+
+**Current delivery:** The [delivery guide](../DELIVERY.en.md) covers current capabilities, operating entrypoints and verification scope. The follow-up snapshots below retain their historical scope and outcomes.
+
+**Archived cut:** [follow-up 54](follow-up-54.md), #533, #534, #535 and #536 at `2f5159f3`; source-backed changes, verification boundaries and carried gaps.
+**Earlier archived cut:** [follow-up 53](follow-up-53.md), #529, #528, #530, #531 and #532 at `e055143e`; source-backed changes, verification boundaries and carried gaps.
+
+**2026-10-31 服務通知(#351 截止):** DNS 的 TTL 是快取最長有效時間,
+不保證期間內每次查詢答案相同;較早送出的上游請求若較晚完成,可能覆蓋較新的
+快取答案。封鎖回應 TTL 的正式數值仍由營運負責人決定。節點安裝會保留已驗證
+封存檔;檔案存在時,更新基準驗證不需重新下載,但不代表可以離線註冊。
+入口網站的開發工具相依套件警示仍待負責人處置;目前未發現它進入正式版網頁
+程式。會員不需因此重裝客戶端或改動安全設定。
+
+**Service notice (2026-10-31, cutoff #351):** DNS TTL is a maximum cache
+lifetime; answers can change sooner, including when an older outstanding
+upstream reply replaces newer cache data. The production blocked-response TTL
+remains the operator owner's decision. Node installs retain a verified archive,
+so baseline verification can use it without downloading again; this does not
+provide offline enrollment. A portal development-tool dependency alert remains
+open for owner disposition; no path into the production bundle was found.
+Members do not need to reinstall clients or change security settings.
+
+The following restart notice is historical at #344; the #351 notice above
+changes only cache, retained-archive and dependency-status guidance.
+
+**2026-10-31 節點重啟與更新通知(#344 截止):** 短暫重啟節點代理程式後,
+若仍在同一次作業系統開機、原租約尚未到期且安全檢查全部通過,可接續服務,
+但不會延長原到期時間。驗證失敗或作業系統重新開機仍會暫停會員轉送,保留控制
+連線等待安全恢復。更新結果若因缺少回報設定而待送,營運人員修復設定後會送出
+原有收據;本機更新成功不等於中央已確認。安裝程式已產生回報設定,迴路位址
+選項僅供 TEST ONLY 測試。會員不需重做更新或改動安全設定。ISO-F6-03 原因仍未
+確認,完整 AT09、實機平台與其他待測項目並未因此結案。
+
+**Node restart and update notice (2026-10-31, cutoff #344):** After a short node
+agent restart on the same OS boot, service can continue when the original lease
+is still valid and all safety checks pass. Its deadline is unchanged. Failed
+verification or an OS reboot pauses member forwarding while control access
+remains available for safe recovery. If an update receipt is pending because
+reporting settings are missing, operators repair the settings and send the
+original receipt; local update success alone is not central confirmation. The
+installer now generates reporting settings; loopback is TEST ONLY. Members
+need not repeat the update or alter safety settings. ISO-F6-03 remains
+unattributed; full AT09 and physical-platform acceptance remain pending.
+
+本文件包含繁體中文(預設語言,`zh-TW`)與英文(`en`)雙語完整說明(`AGENTS.md §3`、`§7.3`、`§8.1`–`§8.3`、`§9.2`、`§9.4`、`§10`–`§12`、`§16.3`、`§16.5`、`§18.4`–`§18.5`、`§19.1`)。
+This document provides the complete Member Guide in Traditional Chinese (`zh-TW`, primary) followed by English (`en`, secondary).
+
+---
+
+# 第一部分:繁體中文會員手冊 (`zh-TW`)
+
+## 1. 支援平台與候選客戶端版本 (`§3.2`, `§7.3`, `§18.5`, `APP01`, `docs/netbird/VERSIONS.md`)
+
+Freedom VPN v1 設計採用官方 **NetBird 客戶端** 搭配 **Freedom VPN 會員入口網站(Member Portal)**(`https://vpn.example.com/member`)。
+
+> **重要狀態說明(`§7.3`、`§19.1`、`docs/netbird/VERSIONS.md`)**:下表所列之四大原生平台版本目前均為 **候選版本(Candidate Versions — 待實測 / Needs Operator Run)**。Linux 容器環境之測試結果不代表桌面或行動端原生 App 相容性已驗證;正式支援聲明將於完成四平台實機驗收(`AT01`、`AT09`、`AT21`)並附上帶日期之實測紀錄後定案。
+
+| 平台 | 候選客戶端版本 (`docs/netbird/VERSIONS.md`) | 目標作業系統基準 | 實機驗收狀態 (`AT01`, `AT09`, `AT21`) |
+|---|---|---|---|
+| **Windows** | NetBird daemon/CLI 與隨附桌面 UI `v0.82.0` | Windows 10 (22H2+) / Windows 11 (`amd64` / `arm64`) | **候選版本 — 尚未實測(Needs operator run,`AT01`、`AT09`、`AT21`)** |
+| **macOS** | NetBird daemon/CLI 與隨附桌面 UI `v0.82.0` | macOS 14 Sonoma / macOS 15 Sequoia (Apple Silicon & Intel) | **候選版本 — 尚未實測(Needs operator run,`AT01`、`AT09`、`AT21`)** |
+| **iOS / iPadOS** | NetBird iOS 客戶端 `v0.4.1`(`build 2`) | iOS / iPadOS 17.0+ | **候選版本 — 上游標示 `build 2` 為 TestFlight 測試版,尚未斷言 App Store 正式上架狀態;尚未實測(Needs operator run,`AT01`、`AT09`、`AT21`)** |
+| **Android** | NetBird Android 客戶端 `v0.6.2`(獨立行動端版本號,非 `0.82.0`) | Android 12+ | **候選版本 — 尚未實測(Needs operator run,`AT01`、`AT09`、`AT21`)** |
+
+---
+
+## 2. 四大平台安裝、中央自動授權與連線步驟 (`§7.3`, `§9.2`, `§9.4`, `§18.4`, `§18.5`)
+
+### 2.1 第一步:登入會員入口網站並確認有效方案 (`/member`, `/member/billing`)
+
+1. 開啟瀏覽器前往 `https://vpn.example.com/member`,點擊 **登入(Sign In)** 並透過您的 OIDC 帳號完成驗證(`§9.1`、`§16.1`、`ID01`)。
+2. 若尚未啟用訂閱,請至 **帳單與方案(Billing)** 分頁選擇方案並點擊 **前往結帳(Checkout)**(`POST /api/v1/member/checkout-sessions`,回傳 `201 Created` 結帳網址)。待付款供應商 webhook 對帳完成後,入口網站服務資格狀態會顯示為 **`Active`(有效)**(`§9.2`、`§9.3`、`BILL01`、`BILL03`;前端結帳回跳頁本身不直接代表已開通,`AT03`)。
+
+### 2.2 第二步:設定 NetBird 管理網址、登入 OIDC 並由中央自動授權裝置 (`§7.3`, `§9.4`, `D-052`, `docs/members/README.md`)
+
+> **中央自動授權機制與 `D-052` 單一 Issuer 公開 Subject 驗證(`§2 [S36]`、`§7.3`、`§9.4`、`§15.2`、`MEM01`、`MEM02`)**:會員入口網站 `/member/devices` **沒有**手動授權按鈕,API 亦無會員手動新增裝置端點。當您在官方 NetBird 客戶端將 **Management URL(管理伺服器網址)** 指向 `https://netbird.example.com` 並使用與會員入口網站 **相同之 OIDC 簽發者(Issuer)與帳號** 完成 SSO 登入後,中央 `fvpn-worker` 的 `devices.discover` 作業會比對 NetBird 使用者 ID 與中央 `identity_bindings.subject`(寫入 `netbird_user_bindings`,證明格式 `mapping_proof = "shared_issuer_public_subject:" + oidc_issuer`,排除服務帳號與停用帳號,且絕不以 Email 或顯示名稱猜測配對;若為 pairwise 或未知 subject 則以 `identity_unmapped` 失敗關閉並排除於清單外)。驗證通過後,中央在資料庫交易鎖定下檢查您的有效資格與裝置名額上限(`device_limit`),並透過背景作業(`member.device_authorize`)自動配發出口群組與 DNS 權限。您只需在 `/member/devices`(`GET /api/v1/member/devices`)檢視裝置狀態由 `pending`(套用中)自動變為 **`authorized`(已授權)**。
+
+會員身分由相同的標準化 Issuer 與 Subject 決定(`internal/members/issuer/issuer.go` 的 `issuer.Canonical` 僅移除未編碼路徑尾端的字面值 `/`,保留 `%2F` / `%2f`,`docs/members/README.md`);管理員更換入口網站的 OIDC Client ID 時會沿用原會員,不會建立新會員。若身分比對遭拒,請聯絡支援人員,勿改用相同 Email 的另一帳號嘗試合併([身分規則](../control/AUTH.md))。
+
+#### A. Windows(候選版本 `v0.82.0`,待實測 `AT01`)
+1. 安裝官方候選版 `v0.82.0` Windows 安裝程式。
+2. 點擊系統列(System Tray)的 NetBird 圖示 -> **Settings(設定)** -> **Advanced(進階)**。
+3. 在 **Management URL** 輸入 `https://netbird.example.com` 並儲存(或於 PowerShell 執行 `netbird up --management-url https://netbird.example.com`)。
+4. 系統會開啟瀏覽器,請使用您的 Freedom VPN OIDC 帳號完成 SSO 登入。
+5. 開啟會員入口網站 `https://vpn.example.com/member/devices` 檢視裝置列表,確認剛登入的 Windows 裝置已自動出現,且狀態由 `pending`(套用中)轉為 **`authorized`(已授權)**(若名額已滿,請先於該頁面撤銷不再使用的舊裝置,`AT02`)。
+6. 在系統列 NetBird 圖示點擊 **Connect**,並於 **Exit Node / Networks** 選單手動勾選欲使用的出口節點(例如 `tw-tpe-01`,或於 CLI 執行 `netbird networks select `;所有獨立出口預設關閉自動套用 `skip_auto_apply = true`,**裝置僅在手動選取出口後才會透過該出口轉發流量**——在 NetBird `0.82.0` 上 `netbird networks select all` 不會自動選取出口,`§7.2`、`§18.4`、`EXIT02`、[`docs/e2e/RUN.md`](../e2e/RUN.md) § "Native exit selection and traffic trace")。
+
+#### B. macOS(候選版本 `v0.82.0`,待實測 `AT01`)
+1. 安裝官方候選版 `v0.82.0` macOS 套件並啟動應用程式(首次啟動時請允許 macOS 新增 VPN 設定檔與系統網路延伸模組)。
+2. 點擊頂部選單列(Menu Bar)的 NetBird 圖示 -> **Preferences / Settings** -> **Advanced**。
+3. 將 **Management URL** 設為 `https://netbird.example.com` 並儲存,接著點擊 **Connect** 完成瀏覽器 OIDC 登入。
+4. 前往會員入口網站 `https://vpn.example.com/member/devices` 確認該 macOS 裝置已被中央自動納管且狀態顯示為 **`authorized`(已授權)**。
+5. 於選單列 NetBird 圖示手動選擇出口節點(Exit Node,或於終端機執行 `netbird networks select `;裝置僅在選取出口後才會透過出口轉發流量)。
+
+#### C. iOS / iPadOS(候選版本 `v0.4.1 build 2` TestFlight,待實測 `AT01`)
+1. 安裝候選版 **NetBird** iOS App(`v0.4.1, build 2`;注意:上游將 `build 2` 標示為 **TestFlight** 版本,尚未斷言 App Store 正式上架狀態,正式發布前須完成 `AT01` 實機確認,`docs/netbird/VERSIONS.md`)。
+2. 開啟 App,前往 **Settings -> Change Server / Server**,輸入 `https://netbird.example.com`(不輸入 setup key)並儲存。
+3. 點擊連線按鈕,於系統彈窗點擊 **Allow(允許新增 VPN 設定)**,並在彈出的瀏覽器視窗完成 OIDC SSO 登入。
+4. 開啟 `https://vpn.example.com/member/devices` 確認您的 iPhone / iPad 已自動列於清單且狀態轉為 **`authorized`(已授權)**。
+5. 回到 NetBird App 的 **Connection -> Exit node** 手動選擇已授權的出口節點(裝置僅在選取出口後才會透過出口轉發流量)。
+
+#### D. Android(候選版本 `v0.6.2`,待實測 `AT01`、`AT21`)
+1. 安裝候選版 **NetBird** Android App(`v0.6.2`)。
+2. 開啟 App,前往 **Settings -> Profiles -> Add**,將 **Management Server** 設為自架網址 `https://netbird.example.com`(不輸入 setup key)並儲存。
+3. 點擊連線按鈕,核准 Android VPN 連線權限並於瀏覽器完成 OIDC SSO 登入。
+4. 前往 `https://vpn.example.com/member/devices` 確認您的 Android 裝置已由中央自動授權且狀態顯示為 **`authorized`(已授權)**,再於 App 內手動選擇出口節點(裝置僅在選取出口後才會透過出口轉發流量)。
+5. **重要 DNS 設定(`§12.6`、`AT21`)**:Android 的系統「私人 DNS(Private DNS)」預設或開啟時會繞過 VPN 指派的 DNS 解析器。使用本服務之網域防護時,請至 Android **設定 -> 網路和網際網路 -> 私人 DNS(Private DNS)**(實際路徑依手機廠牌與系統版本而異),將其設為 **「關閉(Off)」**(詳見第 6 節說明)。
+
+---
+
+## 3. 手動驗證腳本 (`AT01`, `AT09`, `AT21`, `AT29`) (`§7.3`, `§8.1`–`§8.3`, `§12.1`, `§12.6`, `§16.3`, `§16.5`, `§19`)
+
+> **量測狀態說明(`§19.1`、`docs/e2e/README.md`)**:以下腳本為受控驗收環境與實機測試的操作程序(`docs/e2e/at/members/OPERATORS.md`)。目前四平台客戶端行為(`AT01`、`AT09`、`AT21`)與線上/離線轉發切斷時效(`AT04`、`AT13`、`AT29`)均 **尚未實測(not yet measured — needs operator run)**。
+
+### 3.1 `AT01`、`AT10`、`AT12`:驗證受控出口來源 IP 與跨會員隔離 (`§7.3`, `§8.1`, `§8.2`, `ISO01`, `ISO02`)
+
+1. **驗證會員工作階段與有效資格(`GET /api/v1/member/me`)**:
+ - `/api/v1/member/me` 回傳的是您的會員帳號與服務資格狀態(`status`、`effective_service_end`、`plan`),**並非**用來反映客戶端的出口公網 IP,且呼叫時必須附帶已認證的瀏覽器工作階段 Cookie(請透過權限 `0600` 的 curl 設定檔傳遞,避免將工作階段秘密留在指令歷史中,`§16.1`、`§16.2`):
+ ```bash
+ # 建立 0600 設定檔(測試完成後刪除),內含:header = "Cookie: __Host-fvpn-member="
+ curl -fsS --config ~/.config/fvpn/session.curl https://vpn.example.com/api/v1/member/me
+ ```
+2. **以受控測試端點驗證出口來源 IP 切換(`AT01`、`AT09`)**:
+ - 依據安全與衛生規範(`AGENTS.md §7`、`§19.1`),驗證出口 IP 時必須使用團隊受控的測試/實驗室回應端點(例如 `https://echo.test.example.invalid/ip`,回傳伺服器觀測到的連線來源 IP),不得對未授權第三方網站發起測試。
+ - **步驟**:先在**未開啟隧道(或未勾選出口)**時查詢受控端點並記錄原始來源 IP;接著在 NetBird 客戶端**手動勾選目標出口節點**後再次查詢,確認觀測到的來源位址已切換為該出口節點的對外出口位址(例如文件示例位址 `192.0.2.20`):
+ ```bash
+ # 連線前:顯示設備原本網路的來源位址
+ curl -fsS https://echo.test.example.invalid/ip
+
+ # 選取出口節點連線後:必須顯示所選出口節點的對外位址(如文件示例 192.0.2.20)
+ curl -fsS https://echo.test.example.invalid/ip
+ ```
+3. **具備正向連通對照的跨會員隔離測試(`ISO01`、`AT12`)**:
+ - 單純 `ping` 失敗若發生在隧道中斷時,不能證明隔離規則有效。因此測試跨會員阻擋時,必須**先執行正向連通控制組(Positive Reachability Control)**確認隧道轉發與授權 DNS 正常運作,且另一位測試會員裝置(文件示例 Overlay IP `100.64.0.11`)同時在線,再測試連線至 `100.64.0.11` 是否被拒絕:
+ - **macOS / Linux 終端機指令(候選環境驗收腳本 — 尚未實測 / Needs operator run,`AT01`、`AT12`)**:
+ ```bash
+ # 1. 正向連通控制組:確認透過隧道可正常連線至受控測試端點與授權 DNS (53/tcp, 53/udp)
+ curl -fsS https://echo.test.example.invalid/healthz
+ nslookup example.com 100.64.0.53
+
+ # 2. 跨會員隔離驗證:嘗試連線另一位在線會員裝置的 Overlay IP (示例 100.64.0.11) -> 必須 100% 丟棄
+ ping -c 3 -W 2 100.64.0.11
+ # 預期結果:100.0% packet loss(由 NetBird 存取政策與出口節點 inet fvpn 防火牆阻擋)
+ ```
+ - **Windows PowerShell 指令(候選環境驗收腳本 — 尚未實測 / Needs operator run,`AT01`、`AT12`)**:
+ ```powershell
+ # 1. 正向連通控制組:確認受控測試端點可達
+ Invoke-RestMethod -Uri https://echo.test.example.invalid/healthz
+
+ # 2. 跨會員隔離驗證:嘗試連線另一台在線會員裝置 Overlay IP (示例 100.64.0.11) -> 必須為 False
+ Test-NetConnection -ComputerName 100.64.0.11 -Port 443
+ ```
+
+### 3.2 `AT09`、`AT29`:伺服器端 Fail-Closed 保護、終端無 Kill-Switch 限制與平台網路切換行為 (`§7.3`, `§8.2`, `§16.3`, `§16.5`, `ISO02`, `ENT02`)
+
+1. **重要限制揭露:無終端完整 Kill-Switch 保證(`§7.3`、`§17.1`)**:
+ - Freedom VPN v1 使用未客製之官方 NetBird 客戶端,**不提供完整的作業系統層級「永遠開啟 / 強制斷線保護(Always-On / Kill Switch)」模式**(與會員入口網站 `member.gettingStarted.killSwitchWarningBody` 警告一致)。
+ - **伺服器端 Fail-Closed 與終端路由的區別**:出口節點的 `inet fvpn` 防火牆(Fail-Closed)僅保證**當封包進入 VPN 隧道到達出口節點時**,若節點隔離基線、租約或會員資格失效,**出口節點不會代為轉發流量**。但若您的手機或電腦因隧道中斷、應用程式關閉、睡眠喚醒或切換 Wi-Fi / 行動網路而失去 VPN 路由,客戶端作業系統**可能會改走原本的本地 ISP 網路直接連線**(`§7.3`)。
+2. **三種伺服器端停止轉發機制與時效說明(`§16.3`、`§16.5`、`AT04`、`AT13`、`AT29`)**:
+ - **節點本機 Watchdog 心跳逾時(`§16.3`)**:出口節點上的獨立守護程序 `fvpn-watchdog` 會檢查本機 `fvpn-agent` 的心跳檔案(預設設定 `watchdog_stale_seconds = 30` 秒)。若本機 `fvpn-agent` 卡死或異常退出,`fvpn-watchdog` 會將該節點的 `inet fvpn` 切換回 baseline drop 狀態,停止該節點的會員轉發。
+ - **控制面在線時的主動撤權 / 停用(`§16.5`、`AT04`、`AT13`)**:當中央控制服務與出口節點均在線時,管理員停用出口、會員停權或撤銷裝置的**線上政策收斂設計目標以 60 秒為起點**(`§16.5` 非功能目標,並非瞬間生效,亦非離線保證)。
+ - **控制面失聯時的離線到期界線(`§16.3`、`AT29`)**:當出口節點與中央控制面失聯時,無法即時收到新發生的撤權通知;節點核心透過 `inet fvpn` 的 `@allowed_v4` timeout 集合強制執行 `min(effective_service_end, node_lease_end, signed_server_time + max_offline_seconds)`(預設最長離線租約上限為 `86,400` 秒 / 24 小時),最早期限到達時由核心自動停止轉發,且不受系統牆鐘回調(clock rollback)延長。
+ - **實測狀態(`DOC15`、`DOC16`、`#165`、`#170`、`#196`、`#201`、`#203`、`#231`)**:在目前 `main` 分支上,`deploy/devstack/Dockerfile.node` 已安裝 `conntrack` 與 `tcpdump`、`SystemPlane.MissingExecutables()`(`node/agent/plane.go`)已藉由 `enforce.RequireConntrack` 預檢 `conntrack`、`node/agent/sync.go` 會在套用新期望狀態世代的步驟中,於符合續租條件時嘗試更新服務租約,並受既有的嘗試與重試限制(`#146`、`#153`、`#162`、`#166`),且節點重啟後,若有效的期望狀態含有非空綁定,`fvpn-agent` 會依 `D-067` 將新鮮、仍在效期內、與期望狀態同世代且沒有授權成員的租約(`members: []`)視為暫時租約(`#193`、`#198`、`#200`;回報內容與續租間隔見[營運指南的暫時窗口條目](operator-guide.md#33-publishing-disabling-and-unpublishing-exits-put-apiv1adminnodesnode_idpublication))。先前於 [會員驗收 follow-up 3(`#151`)](../e2e/at/members/history/follow-up-3/README.md)([`docs/e2e/at/members/history/follow-up-3/requests.md`](../e2e/at/members/history/follow-up-3/requests.md))及早期 [devstack follow-up 9(`#153`)](../e2e/followup9-verification.md) 紀錄中因缺少 `conntrack` 或世代切換租約更新而標記為 `blocked` 的 `AT02`、`AT03`、`AT04`、`AT08` 項目均屬當時歷史快照,不再代表目前主線狀態([會員驗收 follow-up 5(`#201`)](../e2e/at/members/history/follow-up-5/summary.md) 與 [follow-up 6(`#231`,執行紀錄 `80db103b-622c-42b1-946d-4628daaa213d`)](../e2e/at/members/history/follow-up-6/summary.md) 已通過 `AT02`(follow-up 6 為 `42/0` 子檢查,包含透過 `Stack.ObserveMemberIngress` 於 `fvmb0` 實測嚴格撤銷後入場阻擋:已撤銷裝置觸發 `ctunku` `0 -> 1` 且 `0` 轉發,同會員已授權旁支裝置則使 `u_` 由 `31 -> 32`)、`AT03`、`AT08`,follow-up 6 並於 `AT09` 不變世代 `23` 冷重啟實測 `D-067` 暫時窗口 `36.976` 秒恢復 `ready`、以及 `41.695` 秒產生首筆計費位元組,其餘 `7` 個案例因實機/實驗室資源維持 `blocked`,兩次執行皆為 `3 pass / 7 blocked / 0 fail`,子檢查分別通過 `382` 與 `384` 項)。歷史雙裝置基準證據固定封存於 [資安與營運驗收 follow-up 5 歷史封存(`#165`)](../e2e/at/secops/history/follow-up-5/README.md) 與 [devstack follow-up 10(`#170`)](../e2e/RUN.md):(1) [`history/follow-up-5/counted-flow.json`](../e2e/at/secops/history/follow-up-5/counted-flow.json)(結案 `SECOPS-09`)驗證選取出口(`netbird networks select`)後之雙裝置計費轉發(`forward_admission_v1` `0 -> 399` 上傳 / `0 -> 678` 下載位元組、`usage_events = 2`、`usage_rollups = 4`,且無 `probe_up`/`probe_down` 診斷流量混入);(2) [`history/follow-up-5/post-revoke.json`](../e2e/at/secops/history/follow-up-5/post-revoke.json)(通過 `F3-02` 一致性)、[`device-revoke.md`](../e2e/runs/2026-10-30/followup10-run3/device-revoke.md)([`docs/e2e/requests.md`](../e2e/requests.md))及 [devstack follow-up 12(`#196`、`#199`)](../e2e/scenarios/device-revoke.md) 驗證真實 `DELETE /api/v1/member/devices/{device_id}` 撤銷、NetBird peer 移除、`@allowed_v4` 成員位址清除、受控凍結客戶端三點 `tcpdump` 驗證(`peer_tx_packets > 0`、`mor0_rx_packets == 0`、`uplink_packets == 0`)與第 4 台裝置替換授權(撤銷前 `409 device_limit_reached`、撤銷後 `202 succeeded`);(3) [`history/follow-up-5/deadlines.json`](../e2e/at/secops/history/follow-up-5/deadlines.json) 與 [2026-10-30 租約到期紀錄](../e2e/runs/2026-10-30/lease-expiry.json) 記錄雙裝置基準下之 `fvpn-watchdog` 心跳逾時接管(35 秒陳舊心跳觸發 `fv-watchdog-enforce`)、期望狀態到期(`policy_missing`)、租約到期(`lease_expired`)與元件層時鐘檢查(component clock tests,與獨立客體 VM 系統牆鐘回調 `clock_settime` 嚴格區分);(4) [`history/follow-up-5/capacity.json`](../e2e/at/secops/history/follow-up-5/capacity.json) 記錄雙裝置計費轉發子集,且 `Stack.StartSecondExit` / `EnrollAt(..., "node2")`([`docs/e2e/RUN.md`](../e2e/RUN.md) `second-exit`)提供雙真實出口節點實驗室掛鉤。歷史資安與營運驗收 follow-up 7 量測數據載於 [資安與營運驗收 follow-up 7(`#203`,執行紀錄 `ab96acac-8713-485a-9c29-88f20110e2e5`)](../e2e/at/secops/history/follow-up-7/summary.md):於 [`deadlines.json`](../e2e/at/secops/deadlines.json) 透過 `D-065` 艦隊 API(`GET`/`PUT /api/v1/admin/fleet-config` 驗證 `428`/`412`/冪等重播/`fleet_config.update` 稽核,將 `max_offline_lease_seconds` 設為 `60` 秒並於測試後恢復為 `86400`)與有限寬限期準備(`FVPN_E2E_GRACE_SECONDS=90`)實測付費/授權/租約到期切斷(`495/869` -> `0/0` 位元組)與恢復(`0 -> 1320/2316` 位元組);並於 [`capacity.json`](../e2e/at/secops/capacity.json) 與 [`node-telemetry.json`](../e2e/at/secops/node-telemetry.json) 實測 60 台原生 peer(`20` 位會員 × `3` 台裝置,`ScaleNativeMembers` `296.017` 秒)全數 `60/60` 產生計費流量(`node1` `39,600`/`69,480` 位元組、`node2` `7,920`/`13,896` 位元組)、`5,960/5,960` 次 `GET /api/v1/member/devices` 併發讀取全數回傳 `200`(`0` 筆跨會員誤配,`p50/p95/p99/max` = `25.81/96.32/149.94/302.18 ms`)及 `82` 筆 `5` 秒週期節點遙測樣本(`0` 錯誤)。**歷史 follow-up 7 的限制與資格條件(當時 `AT28`–`AT32` 為「子集通過、全案 `blocked`」;`AT30` 後於 #265 通過,見[驗收紀錄](../e2e/at/secops/AT30.md))**:`AT29` 之 `past_due` 付款真值對齊(`SECOPS-17`)、既有連線中 TCP/UDP 雙向傳輸切斷、以及獨立可拋棄式客體 VM 系統牆鐘回調(`clock_settime`,維持 `needs operator run` 且不以元件層時鐘測試替代),連同 `AT31` 強制中繼(forced relay)與候選硬體認證、以及四大平台原生實機(`AT01`、`AT09`、`AT21`)及 24 小時完整 `AT29` 戰役,仍為 `blocked` / `needs operator run` 待實測項目。
+3. **四平台斷線、睡眠喚醒與換網行為記錄要求(`§7.3`、`§18.5`、`APP01`、`AT01`、`AT09`)**:
+ - 各平台客戶端在睡眠/鎖定、切換網路及所選出口被停用時的實際路由行為,須依 `docs/e2e/at/members/OPERATORS.md` 逐平台實測並記錄:
+
+| 平台 | 測試動作 (`AT01` / `AT09`) | 觀測重點(是否恢復隧道、是否退回本地 ISP、所需秒數) | 目前狀態 |
+|---|---|---|---|
+| **Windows (`v0.82.0` 候選版)** | 睡眠 2 分鐘後喚醒;於兩個受控 Wi-Fi 網路間切換;連線中停止所選出口節點 | 記錄喚醒與換網後之出口選擇、受控 echo 來源 IP、DNS 解析路徑,以及出口停止時是否發生本地網路直連 fallback | **尚未實測(Not yet measured — 待執行 `AT01`、`AT09`)** |
+| **macOS (`v0.82.0` 候選版)** | 睡眠 2 分鐘後喚醒;於兩個受控 Wi-Fi 網路間切換;連線中停止所選出口節點 | 記錄喚醒與換網後之出口選擇、受控 echo 來源 IP、DNS 解析路徑,以及出口停止時是否發生本地網路直連 fallback | **尚未實測(Not yet measured — 待執行 `AT01`、`AT09`)** |
+| **iOS / iPadOS (`v0.4.1 build 2` 候選版)** | 鎖定螢幕 2 分鐘後喚醒(記錄為行動端背景暫停);切換受控 Wi-Fi 網路;連線中停止所選出口節點 | 記錄喚醒與換網後之隧道狀態、受控 echo 來源 IP、DNS 解析路徑及出口中斷時之行為 | **尚未實測(Not yet measured — 待執行 `AT01`、`AT09`)** |
+| **Android (`v0.6.2` 候選版)** | 鎖定/省電 2 分鐘後喚醒(一併記錄電池最佳化設定);切換受控 Wi-Fi 網路;連線中停止所選出口節點 | 記錄喚醒與換網後之隧道狀態、受控 echo 來源 IP、DNS 解析路徑及出口中斷時之行為 | **尚未實測(Not yet measured — 待執行 `AT01`、`AT09`)** |
+
+### 3.3 `AT20`、`AT21`:驗證 DNS 惡意網域攔截(`NXDOMAIN`)與白名單放行 (`§12.1`, `§12.4`, `§12.6`, `§12.8`, `DNS01`–`DNS04`)
+
+- **macOS / Linux(`dig` 或 `nslookup`,候選環境驗收腳本 — 尚未實測 / Needs operator run,`AT20`、`AT21`)**:
+ ```bash
+ # 1. 查詢受封鎖之測試惡意網域(以文件示例解析器位址 100.64.0.53 為例)-> 預期回傳 NXDOMAIN
+ nslookup malware.test.example.invalid 100.64.0.53
+
+ # 2. 查詢正常網域與白名單覆寫網域 -> 預期回傳 NOERROR 與正常位址
+ nslookup example.com 100.64.0.53
+ ```
+- **Windows PowerShell(候選環境驗收腳本 — 尚未實測 / Needs operator run,`AT20`、`AT21`)**:
+ ```powershell
+ Resolve-DnsName malware.test.example.invalid -Server 100.64.0.53
+ # 預期結果:DNS name does not exist (RCODE=3 NXDOMAIN)
+ Resolve-DnsName example.com -Server 100.64.0.53
+ ```
+- **四大平台系統解析器與瀏覽器路徑(`§12.6`、`AT21`)**:
+ 除指定解析器位址查詢外,各平台實機驗收(`AT21`,**尚未實測 / Needs operator run**)須在關閉 Android 私人 DNS 與關閉瀏覽器自訂安全 DNS 的情況下,直接以一般瀏覽器驗證系統預設 DNS 路徑確實經由受控解析器阻擋測試惡意網域。
+
+---
+
+## 4. 裝置數量上限與自助撤銷 (`/member/devices`, `§7.3`, `§9.4`, `MEM01`–`MEM03`, `ENT02`, `AT02`, `AT04`)
+
+1. **預設裝置上限(`§9.4`、`§21`、`MEM02`)**:每位會員建議預設最多可同時擁有 **3 台已授權裝置**(`device_limit = 3`,實際上限依您的訂閱方案或管理員設定顯示於 `/member/devices` 的已用/上限配額)。
+2. **達到上限時的行為(`409 DEVICE_LIMIT_REACHED`,`AT02`)**:當您在新裝置登入 NetBird 而已授權裝置數已達上限時,中央自動授權交易會在資料庫列鎖定下拒絕授予新裝置出口權限(紀錄 `DEVICE_LIMIT_REACHED`),該新裝置將停留在未授權狀態而無法使用 VPN 出口轉發(`§7.3`、`§9.4`、`AT02`)。
+3. **自助撤銷舊裝置與生效時效(`§9.4`、`§16.3`、`§16.5`、`AT02`、`AT04`、`AT29`)**:
+ - 前往 `https://vpn.example.com/member/devices`,找到不再使用的舊裝置,點擊 **撤銷(Revoke)**(呼叫 `DELETE /api/v1/member/devices/{device_id}`,建立非同步 `member.device_revoke` 操作)。
+ - **撤銷生效時間說明**:點擊撤銷**並非瞬間在全球所有節點同步斷線**。在中央與出口節點皆在線的正常路徑下,系統會非同步撤除 NetBird 權限並下發新政策版本以終止既有與新連線(規格在線撤權目標以 **60 秒**為起點,`§16.5`;實際端到端切斷時間 **尚未實測 / not yet measured**,待執行 `AT02`、`AT04`、`AT29`)。若某台出口節點當時與控制面失聯,該節點上的轉發最長受既有核心租約/服務截止期限(`min(effective_service_end, node_lease_end, signed_server_time + max_offline_seconds)`,預設最長 `86,400` 秒,`§16.3`、`AT29`)約束。
+ - 待 `/member/devices` 頁面上的撤銷操作狀態完成並釋出配額後,即可讓新裝置取得授權。
+
+方案降低裝置名額時,中央保留最早授權的裝置,超額裝置轉為 `pending` 並撤除權限;資格恢復後,只會在現有名額內重新授權先前已授權且未撤銷、身分證明有效的裝置。在服務備份還原後,若某台裝置的授權狀態尚待營運人員確認,該裝置亦可能暫時顯示為 `pending`,直到營運人員完成確認為止,會員端的任何操作均不會改變此狀態。`D-077`(`#238`、`#244`;2026-10-30 EDT)新增 `authorization_unconfirmed` 標記,表示「需營運人員重新授權」。合約中此欄位為選填;省略表示伺服器尚未投影此資訊,不代表已確認。當日 `main` 的 `GET /api/v1/member/devices` 每筆都回傳此布林值:受還原圍欄保護者為 `pending` + `authorization_unconfirmed: true`,其他裝置為 `false`。會員無法自行重新授權;可聯絡營運人員或撤銷裝置(`D-076`、`#227`)。請在 `/member/devices` 確認目前狀態;詳見[會員與裝置規則](../members/README.md#quota-withdrawals-and-finite-binding-history)。
+
+---
+
+## 5. 用量統計與公平使用政策(FUP)顯示說明 (`/member/usage`, `§8.3`, `§10`, `§11`, `MTR01`–`MTR05`, `FUP01`–`FUP04`, `AT14`, `AT17`–`AT19`)
+
+在會員入口網站 **用量與速度(Usage)** 分頁(`/member/usage`)中,您可以查看當月與每日的上傳、下載及總流量:
+
+### 5.1 計量口徑(`forward_admission_v1`)與 v1 IPv6 封鎖模式 (`§8.3`, `§10.1`, `MTR01`, `AT11`, `AT14`)
+- **正式計量位置(`§10.1`)**:`forward_admission_v1` 僅計算解開隧道後通過出口節點授權與隔離檢查、獲准進入轉發路徑(`inet fvpn` forward chain)之內層封包位元組(包含內層 IP 與傳輸層標頭,上行與下行各計一次)。在計量點之前被防火牆拒絕的封包、外層 WireGuard 封裝或節點控制通道流量,均不會計入會員用量;而在通過 admission hook 之後才因佇列(qdisc)或下游網路丟棄的封包則可能已計入,因此此數值為「已記錄的 VPN 轉送入場用量」,不等同應用程式最終下載完成的檔案大小(`§10.1`)。
+- **v1 IPv6 阻擋模式說明(`§8.3`、`node/enforce`)**:雖然跨節點帳本與身分綁定之資料結構(schema)預留了 IPv4 與 IPv6 欄位,但 **Freedom VPN v1 的節點資料平面固定執行 `IPv6Block`(`block`)模式**——出口節點 `inet fvpn` 會無條件丟棄所有會員 IPv6 轉發流量(`meta nfproto ipv6 ... drop`),僅提供會員 **IPv4** 轉發服務。因此在 v1 中,您的實際轉發與計量位元組皆來自獲准通過的內層 IPv4 流量(`AT11`、`AT14`)。
+
+### 5.2 結算週期、跨月歸屬與重置時間 (`§10.4`, `§10.9`, `§11.1`, `MTR04`, `FUP01`, `AT17`, `AT19`)
+- 以 **UTC 自然月**(每月 1 日 `00:00:00Z` 至下月 1 日 `00:00:00Z` 半開區間)為統計與公平使用級距重置週期(`§10.4`、`§11.1`)。
+- 跨月邊界與遲到事件依觀測區間歸屬對應月份,不會因上月遲到事件而延長本月調速(`§10.9`、`AT17`);進入新 UTC 月份時,當期累計用量與調速級距自動從 `Tier 0` 重新計算(`§11.2`、`AT19`)。
+
+### 5.3 公平使用(FUP)調速階層、共享容量限制與強制 Fail-Closed 例外 (`§11.1`–`§11.7`, `FUP01`–`FUP04`, `AT18`, `AT19`)
+- **調速階層與設定底線(`minimum_rate`,`§11.1`、`§11.2`、`AT19`)**:當月跨全部裝置與出口節點累積總流量超過方案門檻時,系統在 `enforce` 模式下會依階層調降您在各出口節點的 HTB 速率上限(`Tier 1`、`Tier 2`...)。政策編譯器要求每個階層的設定上限皆不低於正數設定底線 **`minimum_rate`**(`down_bps > 0`、`up_bps > 0`),代表**公平使用調速本身不會因流量超額而將您的設定速率設為 `0 bps`**。
+- **非保證實得頻寬、且受節點共享容量約束(`§11.3`、`§11.6`、`§11.7`、`FUP02`、`FUP04`、`AT18`)**:
+ - `minimum_rate` 與各級距之 `down_bps` / `up_bps` 僅為出口節點 `tc` HTB 排程器的**設定速率上限/底線(Configured Shaping Floor / Ceiling)**,**並非**對您終端實得下載或上傳速度的保證。
+ - **同出口多裝置共享(`§11.3`、`AT18`)**:同一位會員名下的多台已授權裝置若同時使用**同一台出口節點**,會共同分享該會員在該出口節點的單一 HTB 速率類別(不會每台裝置各拿一份滿額速率)。
+ - **節點總容量共享(`§11.3`、`FUP04`)**:所有連線至同一台出口節點的會員共同受該節點父類別總容量上限(`node_capacity`)以及上游 ISP / Relay 線路條件限制;當節點總容量壅塞時,實際可得吞吐量可能低於個別級距上限。
+- **強制 Fail-Closed 停止轉發之例外情形(`§8.2`、`§10.7`、`§10.8`、`§13.6`、`§16.3`、`ISO02`)**:
+ - `minimum_rate` 絕不覆蓋安全、資格與計量完整性規則。當發生以下任一情況時,出口節點**必然會立即或於期限到達時停止您的流量轉發(Fail-Closed)**:
+ 1. 您的訂閱/人工授權到期、帳號被停權、裝置被撤銷,或節點離線服務租約(`forwarding_deadline`)到期(`§9.2`、`§16.3`、`AT04`、`AT29`);
+ 2. 出口節點之 Internet-only 隔離檢查、DNS 基線檢查或 `fvpn-watchdog` 心跳檢查失敗(`§8.2`、`§16.3`、`AT10`、`AT13`);
+ 3. 出口節點本機計量路徑異常(`METER_PATH_INVALID`)、本機 SQLite 無法寫入,或未獲中央 ACK 之 usage outbox 達到容量/時間保護上限(建議預設 `72 小時` 或 `256 MB`,`§10.3`、`§10.7`、`§10.8`、`AT16`);
+ 4. 出口節點正處於程式更新的切換與健康檢查窗口(`applying` / `checking`,`§13.2`、`§13.6`)。
+- **觀測模式(`shadow` mode,`§11.1`、`§11.2`、`AT19`)**:若系統處於 `shadow` 模式,會員用量回應的 `FairUseStatus` 為 `state: normal`,級距、速率與原因皆為 `null`;入口網站不顯示預估調速級距,僅在 `state: adjusted` 時顯示調速提示。詳見 [API 契約](../../contracts/openapi.yaml) 與 [入口網站文件](../portal/README.md)。
+
+### 5.4 資料品質標記說明 (`§10.6`–`§10.9`, `§18.4`, `AT16`, `AT17`, `AT30`)
+- **`統計截至 (Aggregate as of)`**:中央帳本已完成投影彙總的資料時間點(`§10.6`)。
+- **`對帳中 (Reconciliation in progress)`**:中央資料庫於備份還原後正在執行節點事件重播與對帳,數據將於對帳完成後定案(`§10.8`、`§17.3`、`AT30`)。
+- **`含缺口 (Gap)` / `邊界估算 (Boundary Estimated)`**:`gap` 代表部分區間因節點異常斷電、重啟或超過保存窗口而存在無法重建之未取樣缺口;`boundary_estimated` 代表跨 UTC 月界區間依重疊時間比例整數分攤。系統**絕不會憑空捏造或虛構未知的流量位元組**(`§10.7`–`§10.9`)。
+
+---
+
+## 6. DNS 安全防護行為、資料最小化與技術限制 (`§8.1`, `§12.1`–`§12.7`, `DNS01`–`DNS04`, `SEC02`, `AT12`, `AT20`–`AT22`)
+
+會員入口網站 `/member/dns-protection` 說明 DNS 防護範圍、限制與誤判回報方式;`/member/exits` 顯示可選出口及可用狀態。節點回報的型別化 `dns_policy_evidence` 位於管理員的節點詳細頁,會員頁面尚未顯示;需要確認特定出口的套用結果時,請支援人員查看該證據。入口網站行為以 [portal 文件](../portal/README.md) 為準。
+
+### 6.1 受控解析器配置、防火牆規則與資料最小化 (`§8.1`, `§12.2`, `§12.6`, `§12.7`, `DNS03`, `SEC02`, `AT12`, `AT21`, `AT22`)
+- **受控 DNS 解析器與 `inet fvpn` 規則(`node/enforce/render_nft.go`)**:
+ - NetBird 會將本服務配置的受控 AdGuard Home 解析器位址(例如文件示例位址 `100.64.0.53` 與 `100.64.0.54`;實際位址依部署環境設定而定,`AGENTS.md §8`)下發給已授權的會員裝置(`§12.2`)。
+ - 在出口節點資料平面(`inet fvpn` forward chain)中,規則僅精確放行已授權會員位址(`@allowed_v4`)連往受控解析器集合(`@resolver_v4`)的 **`UDP/53` 與 `TCP/53`** 查詢(計入獨立的 `dns_service_v1` 計數器,不計入會員上網流量),並**強制丟棄**連往解析器位址的所有非 53 埠流量(如管理埠 `8080` 或 SSH,`§8.1`、`DNS03`、`AT12`)。
+ - **無全域 Port-53 DNAT 強制劫持**:出口節點 `inet fvpn` **並未**實作將任意外部 `UDP/53` 或 `TCP/53` 流量透過 DNAT 透明改寫至內部解析器的機制。會員裝置若手動指定外部 Port-53 DNS,其封包是否被阻擋或依政策處理,取決於環境所選定的外部 DNS 政策(`§12.6` 標記為 `待決策`,各平台實際行為 **尚未實測 / not yet measured**,列入 `AT21`)。
+ - 受控解析器針對命中的惡意軟體、釣魚或管理員封鎖網域,A/AAAA/HTTPS 回傳 `NXDOMAIN`,CNAME/SVCB/TXT/MX/NS 回傳 `NODATA`(RCODE 0、零筆答案、authority 含 SOA);當單台受控解析器故障時,僅能切換至另一台套用相同政策的受控解析器,**絕不會**靜默退回未過濾的公共 DNS(`§12.2`、`§12.5`、`AT21`)。
+- **資料最小化與無完整查詢日誌(`SEC02`、`§12.7`、`§16.4`、`AT22`)**:
+ - 受控 AdGuard Home 解析器在組態上關閉查詢日誌與統計功能(`querylog.enabled: false`、`querylog.file_enabled: false`、`statistics.enabled: false`),且一般服務日誌、指標(metrics)與中央資料庫**不記錄**您查詢過的完整網域名稱(qname)、造訪的完整網址(URL)或封包內容(`§12.7`)。
+ - **誠實揭露(`§16.4`)**:本服務**不宣稱完全無日誌(not a complete no-log service)**——系統仍會保存必要的會員資格、裝置授權狀態、匿名化流量計量(`usage_events` / `usage_rollups`)與管理/安全稽核紀錄(`audit_events`)。
+
+### 6.2 您必須了解的技術限制:DoT / DoQ 與 DoH 差異及防護邊界 (`§1.1`, `§12.1`, `§12.6`, `DNS04`, `AT21`)
+我們堅持如實揭露網域層級 DNS 防護的技術邊界:
+1. **區分 DoT / DoQ(連接埠 `853`)與 DoH(HTTPS 連接埠 `443`)的繞過與政策行為(`§12.6`)**:
+ - **DNS-over-TLS(DoT,使用 `TCP/853`)與 DNS-over-QUIC(DoQ,使用 `UDP/853`)**:例如 Android 系統的「私人 DNS(Private DNS)」或特定系統加密 DNS 設定,走專用連接埠 `853`。
+ - **DNS-over-HTTPS(DoH,使用一般 HTTPS `TCP/443` 或 `UDP/443`)**:例如瀏覽器(Chrome、Edge、Firefox、Brave)內建的「安全 DNS(Use Secure DNS)」或應用程式自建的 DoH 查詢,會將 DNS 查詢封裝在一般 HTTPS(`443` 埠)流量中,且常與一般網站共用 CDN 或 IP。
+ - **實際影響與限制(`§12.6`、`AT21`)**:外部 Port-53 DNS、DoT/DoQ(`853` 埠)及已知加密 DNS 端點雖可依部署所選政策加以限制,但對於未受管(unmanaged)會員裝置上的瀏覽器 DoH(`443` 埠)或開啟中的 Android 私人 DNS,本服務**無法保證全面辨識或攔截**。當這類設定開啟時,查詢可能繞過 VPN 指派的受控解析器(導致惡意網域過濾不生效)或因政策阻擋而解析失敗(各平台實際行為 **尚未實測 / not yet measured**,待執行 `AT21`)。
+ - **建議設定**:使用本服務之網域防護時,請將 Android「私人 DNS」設為 **「關閉(Off)」**,並將瀏覽器自訂「安全 DNS / DoH」關閉(改用系統預設解析器),再依 3.3 節確認解析路徑。
+2. **不進行 TLS 中間人解密(No MITM)與網址路徑檢查(`§1.1`、`§12.1`)**:
+ - Freedom VPN **絕不攔截或解密您的 HTTPS / TLS 流量**,因此僅能比對「網域名稱(Domain)」,無法檢查或過濾同一網域下的特定網頁路徑(`/path`)、查詢參數或下載檔案內容。
+3. **不攔截純 IP 直連與本機區域網路(`§1`、`§12.1`、`§12.6`)**:
+ - 若程式不查詢 DNS 而直接連線至外部公網 IP 位址,DNS 規則不會觸發;且伺服器端出口隔離僅管制進入 VPN 隧道的流量,不涵蓋您設備在自身本地 Wi-Fi / LAN 上的區網連線。
+
+---
+
+## 7. 客服支援與誤擋回報流程 (`§12.5`, `§12.6`, `§18.3`, `§18.4`, `AT20`, `AT22`)
+
+當您遇到連線異常、帳單問題或認為某個正常網站被誤攔截時:
+1. **收集診斷識別碼(請勿提供密碼或私鑰,`§16.2`、`§18.3`)**:
+ - 在會員入口網站(`/member`)發生錯誤時,請複製畫面錯誤訊息中的 **`Request ID`**(或操作紀錄中的 **`Operation ID`**)與發生時間(UTC)。
+ - **安全警告**:支援人員**永遠不會**向您索取 OIDC 密碼、工作階段 Cookie(`__Host-fvpn_session`)或任何私鑰檔案。
+2. **回報誤攔截網域(False Positive)與生效時間說明(`§12.5`、`§12.6`、`D-054`、`D-056`、`AT20`、`AT22`)**:
+ - 請提供完整網域名稱(例如 `sub.example.com`)與發生時間(UTC)。管理員確認後可於 `domain_rule_set` 政策新增白名單覆寫(`action: "allow"`,可覆蓋一般威脅清單誤擋,但不會解除強制 deny 或內網 IP 隔離,`§12.4`)。
+ - **解除封鎖之實際生效時間(不作全域 60 秒保證,`§12.5`、`docs/dns/PUBLISH.md`、`node/agent/resolver.go`)**:白名單發布後的端到端生效時間取決於三個獨立環節:
+ 1. **政策發布與節點套用延遲(`D-056`)**:中央背景作業會將可用的解析器文件參照加入簽署狀態,無須另行發布出口;節點驗證大小與摘要後套用,並回報 `dns_policy_evidence`。只有套用目前有效政策所指定的文件後,`dns_policy` 檢查才能通過。支援人員可在管理員節點詳細頁確認結果;排程間隔不是端到端生效保證,實際延遲仍待量測([節點接線](../nodes/WIRING.md)、[節點執行行為](../node/README.md));
+ 2. **受控解析器之封鎖回應快取 TTL(`blocked_ttl_seconds`)**:`dns_profile` 中的 `blocked_ttl_seconds` 為可調整設定(schema 必填且範圍為 `0..86400` 秒、沒有 schema 預設值;編譯器先套用正值的 `CompileOptions.BlockedTTLSeconds` 覆寫,結果仍為零時使用 `DefaultBlockedTTLSeconds`(60 秒)),僅控制封鎖回應的 DNS TTL 標頭,並非端到端生效 SLA;
+ 3. **終端作業系統、瀏覽器快取與既有連線(`§12.5`)**:即使受控解析器已載入新版本,您的作業系統 DNS 快取、瀏覽器快取或已建立的長連線仍可能暫時沿用舊結果。若管理員通知已發布白名單,建議您清除本機 DNS 快取、重啟瀏覽器或重新連線 VPN 隧道以加速重新解析。
+
+---
+
+# Part II: English Member Guide (`en`)
+
+## 1. Supported Platforms and Candidate Client Versions (`§3.2`, `§7.3`, `§18.5`, `APP01`, `docs/netbird/VERSIONS.md`)
+
+Freedom VPN v1 is designed to use the official **NetBird Client** paired with the **Freedom VPN Member Portal** (`https://vpn.example.com/member`).
+
+> **Important Status Notice (`§7.3`, `§19.1`, `docs/netbird/VERSIONS.md`)**: Every native client version listed below is currently a **candidate version (`待實測` — needs operator run)**. Linux container lab tests do not establish native desktop or mobile client compatibility; production support claims require completed real-device acceptance runs (`AT01`, `AT09`, `AT21`) with dated evidence.
+
+| Platform | Candidate Client Version (`docs/netbird/VERSIONS.md`) | Target OS Baseline | Device Acceptance Status (`AT01`, `AT09`, `AT21`) |
+|---|---|---|---|
+| **Windows** | NetBird daemon/CLI and bundled desktop UI `v0.82.0` | Windows 10 (22H2+) / Windows 11 (`amd64` / `arm64`) | **Candidate — not yet measured (needs operator run, `AT01`, `AT09`, `AT21`)** |
+| **macOS** | NetBird daemon/CLI and bundled desktop UI `v0.82.0` | macOS 14 Sonoma / macOS 15 Sequoia (Apple Silicon & Intel) | **Candidate — not yet measured (needs operator run, `AT01`, `AT09`, `AT21`)** |
+| **iOS / iPadOS** | NetBird iOS client `v0.4.1` (`build 2`) | iOS / iPadOS 17.0+ | **Candidate — upstream labels `build 2` as a TestFlight release and does not assert App Store availability; not yet measured (needs operator run, `AT01`, `AT09`, `AT21`)** |
+| **Android** | NetBird Android client `v0.6.2` (separate mobile version; not `0.82.0`) | Android 12+ | **Candidate — not yet measured (needs operator run, `AT01`, `AT09`, `AT21`)** |
+
+---
+
+## 2. Step-by-Step Setup and Automatic Central Authorization Across All Four Platforms (`§7.3`, `§9.2`, `§9.4`, `§18.4`, `§18.5`)
+
+### 2.1 Step 1: Sign In to the Member Portal and Confirm an Active Entitlement (`/member`, `/member/billing`)
+
+1. Open `https://vpn.example.com/member` in your browser, click **Sign In**, and authenticate with your OIDC account (`§9.1`, `§16.1`, `ID01`).
+2. Under **Billing**, select a subscription plan and click **Checkout** (`POST /api/v1/member/checkout-sessions`, which returns `201 Created` with `checkout_url`). Once the payment provider webhook is verified and reconciled, your entitlement status transitions to **`Active`** (`§9.2`, `§9.3`, `BILL01`, `BILL03`; the browser return page alone never activates access, `AT03`).
+
+### 2.2 Step 2: Point NetBird to the Management URL, Sign In via SSO, and Verify Automatic Central Authorization (`§7.3`, `§9.4`, `D-052`, `docs/members/README.md`)
+
+> **How Device Authorization and `D-052` Shared-Issuer Public-Subject Discovery Actually Work (`§2 [S36]`, `§7.3`, `§9.4`, `§15.2`, `MEM01`, `MEM02`)**: There is **no** manual authorization button on `/member/devices` and no member device-creation API endpoint in the 50-operation OpenAPI `1.11.0` contract (contract revision 15). Once the server projects the mark, a device fenced after a ledger restore reads `status: pending` with `authorization_unconfirmed: true`; until then the field is absent. You cannot clear that flag, and there is still no member authorize button. When you point the official NetBird client's **Management URL** to `https://netbird.example.com` and sign in with the **same OIDC issuer and public subject** used in the Member Portal, `fvpn-worker`'s `devices.discover` handler matches the NetBird user ID to `identity_bindings.subject` under `oidc_issuer` and writes `netbird_user_bindings` (`mapping_proof = "shared_issuer_public_subject:" + oidc_issuer`, excluding service/blocked accounts and failing closed as `identity_unmapped` on pairwise or unknown subjects—never matching by email or display name). Central then checks your active entitlement and `device_limit` quota under a database transaction lock, and dispatches the asynchronous `member.device_authorize` synchronization job to grant exit and DNS permissions. You simply check `https://vpn.example.com/member/devices` (`GET /api/v1/member/devices`) to see your device appear and transition from `pending` to **`authorized`**.
+
+Your member identity is the same canonical issuer and subject across a portal OIDC client-ID rotation (`issuer.Canonical` in `internal/members/issuer/issuer.go` trims only literal trailing `/` characters from the escaped URL path and preserves `%2F` / `%2f`, `docs/members/README.md`); the existing member is reused. If identity matching is refused, contact support instead of trying to link a different account by matching its email ([identity rules](../control/AUTH.md)).
+
+#### A. Windows (Candidate `v0.82.0`, needs operator run `AT01`)
+1. Install the candidate `v0.82.0` Windows installer.
+2. Right-click the NetBird tray icon -> **Settings** -> **Advanced**, set **Management URL** to `https://netbird.example.com`, and save (or run `netbird up --management-url https://netbird.example.com` in PowerShell).
+3. Complete the browser OIDC SSO sign-in when prompted.
+4. Open `https://vpn.example.com/member/devices` and confirm your Windows device appears automatically and transitions from `pending` to **`authorized`** (if your device quota is full, revoke an older device on `/member/devices` first, `AT02`).
+5. Click **Connect** in the NetBird tray menu and manually select your desired **Exit Node** (e.g., `tw-tpe-01`, or run `netbird networks select ` on the CLI; independent exits have `skip_auto_apply = true`, so **a device forwards traffic through an exit only after selecting it**—`netbird networks select all` does not select an exit on NetBird `0.82.0`, `§7.2`, `§18.4`, `EXIT02`, [`docs/e2e/RUN.md`](../e2e/RUN.md) § "Native exit selection and traffic trace").
+
+#### B. macOS (Candidate `v0.82.0`, needs operator run `AT01`)
+1. Install the candidate `v0.82.0` macOS package, launch NetBird, and approve the macOS VPN configuration and system extension prompts.
+2. Click the NetBird menu bar icon -> **Preferences / Settings** -> **Advanced**, set **Management URL** to `https://netbird.example.com`, and click **Connect** to complete OIDC SSO sign-in.
+3. Open `https://vpn.example.com/member/devices` and verify that central device synchronization has transitioned your Mac from `pending` to **`authorized`**.
+4. Manually select an authorized exit node from the NetBird menu bar icon (or run `netbird networks select `; a device forwards through the exit only after selecting it).
+
+#### C. iOS / iPadOS (Candidate `v0.4.1 build 2` TestFlight, needs operator run `AT01`)
+1. Install the candidate **NetBird** iOS client (`v0.4.1, build 2`; note: upstream labels `build 2` as a **TestFlight** release and does not assert App Store availability — verify the exact distribution channel and build during the `AT01` operator run, `docs/netbird/VERSIONS.md`).
+2. Open the app, tap **Settings -> Change Server / Server**, enter `https://netbird.example.com` (do not enter a setup key), and tap **Save**.
+3. Tap the connect button, approve the iOS VPN configuration prompt, and sign in with your OIDC account in the browser sheet.
+4. Open `https://vpn.example.com/member/devices` and confirm your iPhone/iPad is listed and automatically transitions from `pending` to **`authorized`**.
+5. In the NetBird app (`Connection -> Exit node`), manually select an authorized exit node (a device forwards through the exit only after selecting it).
+
+#### D. Android (Candidate `v0.6.2`, needs operator run `AT01`, `AT21`)
+1. Install the candidate **NetBird** Android app (`v0.6.2`).
+2. Open **Settings -> Profiles -> Add**, set **Management Server** to Self-hosted `https://netbird.example.com` (no setup key), and save.
+3. Tap Connect, accept the Android VPN permission prompt, and complete OIDC SSO sign-in.
+4. Check `https://vpn.example.com/member/devices` to confirm your Android device is automatically **`authorized`**, then manually select an exit node in the app (a device forwards through the exit only after selecting it).
+5. **Important DNS Step (`§12.6`, `AT21`)**: Android's system "Private DNS" bypasses VPN-assigned DNS resolvers when enabled. To use Freedom VPN's domain filtering, open Android **Settings -> Network & internet -> Private DNS** (exact menu path varies by OEM) and set it to **Off** (see Section 6 below).
+
+---
+
+## 3. Manual Verification Scripts (`AT01`, `AT09`, `AT21`, `AT29`) (`§7.3`, `§8.1`–`§8.3`, `§12.1`, `§12.6`, `§16.3`, `§16.5`, `§19`)
+
+> **Measurement Status (`§19.1`, `docs/e2e/README.md`)**: The procedures below define the verification steps for controlled lab and native-client acceptance (`docs/e2e/at/members/OPERATORS.md`). Native four-platform runs (`AT01`, `AT09`, `AT21`) and live end-to-end forwarding cutoff timings (`AT04`, `AT13`, `AT29`) are **not yet measured (needs operator run)**.
+
+### 3.1 `AT01`, `AT10`, `AT12`: Verify Controlled Exit Egress IP and Member-to-Member Isolation (`§7.3`, `§8.1`, `§8.2`, `ISO01`, `ISO02`)
+
+1. **Authenticated Member Session Check (`GET /api/v1/member/me`)**:
+ - `/api/v1/member/me` returns your account and entitlement JSON (`status`, `effective_service_end`, `plan`), **not** your client egress IP, and requires an authenticated session cookie passed via a `0600` curl config file (so session tokens are never exposed on the command line, `§16.1`, `§16.2`):
+ ```bash
+ # ~/.config/fvpn/session.curl (mode 0600) contains: header = "Cookie: __Host-fvpn-member="
+ curl -fsS --config ~/.config/fvpn/session.curl https://vpn.example.com/api/v1/member/me
+ ```
+2. **Verify Exit Egress IP via the Controlled Lab Origin (`AT01`, `AT09`)**:
+ - Per `AGENTS.md §7` and `§19.1`, never probe third-party IP-echo websites. Query the **controlled test/lab origin** (for example `https://echo.test.example.invalid/ip`, which echoes the observed client source address) **before** enabling the exit route and **after** selecting the exit node, confirming that the observed source IP changes to the selected exit node's egress IP (e.g., documentation address `192.0.2.20`):
+ ```bash
+ # Before selecting exit node: returns your pre-tunnel underlay address
+ curl -fsS https://echo.test.example.invalid/ip
+
+ # After selecting exit node: must return the selected exit node's egress IP (e.g., 192.0.2.20)
+ curl -fsS https://echo.test.example.invalid/ip
+ ```
+3. **Member-to-Member Isolation with a Positive Reachability Control (`ISO01`, `AT12`)**:
+ - A failed ping alone does not prove isolation if the tunnel itself is down. Always execute a **positive reachability control** over the tunnel first (confirming that the controlled test origin `https://echo.test.example.invalid/healthz` and the configured resolver `100.64.0.53` on port `53` are reachable, and that a second member's device at documentation overlay address `100.64.0.11` is online), and then verify that traffic to `100.64.0.11` is dropped:
+ - **macOS / Linux Terminal (Candidate verification script — not yet measured / needs operator run, `AT01`, `AT12`)**:
+ ```bash
+ # 1. Positive reachability control over the active tunnel
+ curl -fsS https://echo.test.example.invalid/healthz
+ nslookup example.com 100.64.0.53
+
+ # 2. Member-to-member isolation check (100.64.0.11 = online second member peer) -> must drop 100%
+ ping -c 3 -W 2 100.64.0.11
+ # Expected: 100.0% packet loss (dropped by NetBird policy and exit-node inet fvpn rules)
+ ```
+ - **Windows PowerShell (Candidate verification script — not yet measured / needs operator run, `AT01`, `AT12`)**:
+ ```powershell
+ # 1. Positive reachability control
+ Invoke-RestMethod -Uri https://echo.test.example.invalid/healthz
+
+ # 2. Member-to-member isolation check against online second member peer (100.64.0.11)
+ Test-NetConnection -ComputerName 100.64.0.11 -Port 443
+ # Expected: TcpTestSucceeded : False
+ ```
+
+### 3.2 `AT09`, `AT29`: Server-Side Fail-Closed Gate, No Client Kill-Switch Guarantee, and Platform Transition Behavior (`§7.3`, `§8.2`, `§16.3`, `§16.5`, `ISO02`, `ENT02`)
+
+1. **Explicit Limitation: No Complete Client Kill-Switch Guarantee (`§7.3`, `§17.1`)**:
+ - Freedom VPN v1 uses the stock official NetBird client, which **does not provide a complete OS-level always-on / kill-switch mode** (matching the warning in Portal `member.gettingStarted.killSwitchWarningBody`).
+ - **Server-Side Fail-Closed vs. Endpoint Routing**: The exit node's `inet fvpn` fail-closed rules guarantee only that **the exit node itself** stops forwarding packets that arrive over the tunnel when a lease, entitlement, or safety check fails. They do **not** lock down your device's local routing table: if the tunnel disconnects, the client app stops, the device wakes from sleep, or you switch between Wi-Fi and cellular networks, your operating system **may fall back to sending traffic directly over your local ISP** (`§7.3`).
+2. **Three Distinct Server-Side Cutoff Mechanisms and Unmeasured Timings (`§16.3`, `§16.5`, `AT04`, `AT13`, `AT29`)**:
+ - **Node-Local Watchdog Staleness (`§16.3`)**: On each exit node, `fvpn-watchdog` monitors the local `fvpn-agent` heartbeat file (configured `watchdog_stale_seconds = 30` seconds by default) and reverts the local `inet fvpn` table to baseline drop if the local agent stalls or crashes.
+ - **Online Revocation / Disable (`§16.5`, `AT04`, `AT13`)**: When the control plane and exit node are online, administrative disable, member suspension, or device revocation has a spec design target starting at **60 seconds** (`§16.5` NFR target — not instantaneous, not a 30-second guarantee, and not applicable while a node is offline).
+ - **Offline Lease / Service Deadline (`§16.3`, `AT29`)**: When an exit node cannot reach the control plane, it enforces the earliest of `effective_service_end`, `node_lease_end`, and `signed_server_time + max_offline_seconds` (configured default `86,400` seconds / 24 hours) via kernel nftables set timeouts (`@allowed_v4`), independent of wall-clock rollback.
+ - **Measurement status (`DOC15`, `DOC16`, `#165`, `#170`, `#196`, `#201`, `#203`, `#231`):** On current `main`, `deploy/devstack/Dockerfile.node` installs `conntrack` and `tcpdump`, `SystemPlane.MissingExecutables()` (`node/agent/plane.go`) preflights `conntrack` via `enforce.RequireConntrack`, `node/agent/sync.go` attempts a serving-lease renewal in the step that applies a new desired-state generation when renewal is eligible, subject to the existing attempt and retry gates (`#146`, `#153`, `#162`, `#166`), and after a node restart `fvpn-agent` treats a fresh, in-force same-generation grant-less lease (`members: []`) as provisional when valid desired state has nonempty bindings under `D-067` (`#193`, `#198`, `#200`; see the [operator guide’s provisional-window entry](operator-guide.md#33-publishing-disabling-and-unpublishing-exits-put-apiv1adminnodesnode_idpublication) for reports and renewal spacing). The earlier `blocked` `AT02`/`AT03`/`AT04`/`AT08` records in [members acceptance follow-up 3 (`#151`)](../e2e/at/members/history/follow-up-3/README.md) ([members requests](../e2e/at/members/history/follow-up-3/requests.md)) and the initial [devstack follow-up 9 (`#153`)](../e2e/followup9-verification.md) snapshot are historical records captured before those fixes were re-verified together and do not represent current `main` status ([members follow-up 5 (`#201`)](../e2e/at/members/history/follow-up-5/summary.md) and [follow-up 6 (`#231`, run `80db103b-622c-42b1-946d-4628daaa213d`)](../e2e/at/members/history/follow-up-6/summary.md) pass `AT02` (follow-up 6: `42/0` subchecks, including strict `fvmb0` ingress injection via `Stack.ObserveMemberIngress` where the revoked device raises `ctunku` `0 -> 1` with nothing forwarded while the admitted sibling moves `u_` `31 -> 32`), `AT03`, and `AT08`, and follow-up 6's `AT09` measures the `D-067` provisional window at `36.976 s` to serving-ready and `41.695 s` to first counted byte after cold restart on unchanged generation `23`, with `7` cases blocked on lab/device resources — `3 pass / 7 blocked / 0 fail` in each run, `382` and `384` passing subchecks). The follow-up 5 (`#165`) two-device baseline evidence is pinned to the immutable archive [security-ops follow-up 5 archive (`#165`)](../e2e/at/secops/history/follow-up-5/README.md) alongside [devstack follow-up 10 (`#170`)](../e2e/RUN.md): (1) [`history/follow-up-5/counted-flow.json`](../e2e/at/secops/history/follow-up-5/counted-flow.json) (`SECOPS-09` closed) records two-device counted member forwarding through the selected exit (`netbird networks select`, `forward_admission_v1` `0 -> 399` upload / `0 -> 678` download bytes, `usage_events = 2`, `usage_rollups = 4`, and zero `probe_up`/`probe_down` diagnostic leakage); (2) [`history/follow-up-5/post-revoke.json`](../e2e/at/secops/history/follow-up-5/post-revoke.json) (`F3-02` coherence passing), [`device-revoke.md`](../e2e/runs/2026-10-30/followup10-run3/device-revoke.md) ([`docs/e2e/requests.md`](../e2e/requests.md)), and [devstack follow-up 12 (`#196`, `#199`)](../e2e/scenarios/device-revoke.md) prove real `DELETE /api/v1/member/devices/{device_id}` revocation, NetBird peer deletion, `@allowed_v4` element removal, controlled stale-client 3-point `tcpdump` verification (`peer_tx_packets > 0`, `mor0_rx_packets == 0`, `uplink_packets == 0`), and 4th-device replacement (`409 device_limit_reached` before revoke -> `202 succeeded` after revoke); (3) [`history/follow-up-5/deadlines.json`](../e2e/at/secops/history/follow-up-5/deadlines.json) and [2026-10-30 lease-expiry](../e2e/runs/2026-10-30/lease-expiry.json) record the two-device baseline `fvpn-watchdog` stale-heartbeat cutover (`35s` stale age -> `fv-watchdog-enforce`), desired-state expiry (`policy_missing`), lease expiry (`lease_expired`), and component clock tests (kept distinct from disposable guest VM wall-clock rollback `clock_settime`); and (4) [`history/follow-up-5/capacity.json`](../e2e/at/secops/history/follow-up-5/capacity.json) records the two-device counted-capacity subset, while `Stack.StartSecondExit` / `EnrollAt(..., "node2")` ([`docs/e2e/RUN.md`](../e2e/RUN.md) `second-exit`) provides a second real exit lab hook. Historical secops follow-up 7 measurements are recorded in [security-ops follow-up 7 (`#203`, run `ab96acac-8713-485a-9c29-88f20110e2e5`)](../e2e/at/secops/history/follow-up-7/summary.md): [`deadlines.json`](../e2e/at/secops/deadlines.json) exercises the `D-065` fleet API (`GET`/`PUT /api/v1/admin/fleet-config` with `428`/`412`/idempotent replay/`fleet_config.update` audit and `max_offline_lease_seconds: 60`, restored to `86400`) and finite grace (`FVPN_E2E_GRACE_SECONDS=90`) to verify paid/grant/lease cutoff (`495/869` -> `0/0` bytes at expiry) and recovery (`0 -> 1320/2316` bytes), and [`capacity.json`](../e2e/at/secops/capacity.json) and [`node-telemetry.json`](../e2e/at/secops/node-telemetry.json) verify `60/60` admitted native peers (`20` members × `3` devices, `ScaleNativeMembers` `296.017 s`) with `60/60` counted peers (`node1` `39,600`/`69,480` bytes, `node2` `7,920`/`13,896` bytes), `5,960/5,960` HTTP `200` `GET /api/v1/member/devices` reads (`0` wrong-member responses, `p50/p95/p99/max` = `25.81/96.32/149.94/302.18 ms`), and `82` node telemetry samples at `5 s` cadence (`0` errors). **Historical follow-up 7 qualifications (`AT28`–`AT32` were `blocked` with passed subsets; AT30 later passed in #265):** `AT29` `past_due` payment truth (`SECOPS-17`), active-load established TCP and UDP cutoff, and disposable guest VM kernel wall-clock rollback (`clock_settime`, kept distinct from component clock tests and remaining `needs operator run`), along with `AT31` forced-relay control and candidate hardware certification, native four-platform checks (`AT01`, `AT09`, `AT21`), and the full 24-hour `AT29` campaign remain `blocked` / `needs operator run` / qualified.
+3. **Per-Platform Disconnect, Sleep/Wake, and Network-Switch Matrix (`§7.3`, `§18.5`, `APP01`, `AT01`, `AT09`)**:
+ - Per `docs/e2e/at/members/OPERATORS.md`, each platform's disconnect, sleep/lock, and network-switch behavior must be recorded during operator runs:
+
+| Platform | Required Test Actions (`AT01` / `AT09`) | Observations to Record (Tunnel Recovery, Local-ISP Fallback, Recovery Seconds) | Current Status |
+|---|---|---|---|
+| **Windows (`v0.82.0` candidate)** | Sleep 2 min -> wake; switch between two controlled Wi-Fi networks; stop selected exit node while connected | Selected exit, controlled echo source IP, DNS path, recovery time, and whether traffic falls back to the local ISP when the exit stops | **Not yet measured (pending `AT01`, `AT09` operator run)** |
+| **macOS (`v0.82.0` candidate)** | Sleep 2 min -> wake; switch between two controlled Wi-Fi networks; stop selected exit node while connected | Selected exit, controlled echo source IP, DNS path, recovery time, and whether traffic falls back to the local ISP when the exit stops | **Not yet measured (pending `AT01`, `AT09` operator run)** |
+| **iOS / iPadOS (`v0.4.1 build 2` candidate)** | Lock screen 2 min -> wake (recorded as mobile suspension, not desktop sleep); switch Wi-Fi networks; stop selected exit node | Tunnel state, controlled echo source IP, DNS path, and route/fallback behavior on wake and exit stop | **Not yet measured (pending `AT01`, `AT09` operator run)** |
+| **Android (`v0.6.2` candidate)** | Lock / power-save 2 min -> wake (recording battery optimization setting); switch Wi-Fi networks; stop selected exit node | Tunnel state, controlled echo source IP, DNS path, and route/fallback behavior on wake and exit stop | **Not yet measured (pending `AT01`, `AT09` operator run)** |
+
+### 3.3 `AT20`, `AT21`: Verify DNS Threat Blocking (`NXDOMAIN`) and Allow-List Resolution (`§12.1`, `§12.4`, `§12.6`, `§12.8`, `DNS01`–`DNS04`)
+
+- **macOS / Linux (`nslookup` / `dig`, candidate verification script — not yet measured / needs operator run, `AT20`, `AT21`)**:
+ ```bash
+ # 1. Query a blocked test domain against a configured resolver (example 100.64.0.53) -> expected NXDOMAIN
+ nslookup malware.test.example.invalid 100.64.0.53
+
+ # 2. Query a normal or allow-listed domain -> expected NOERROR and an IP address
+ nslookup example.com 100.64.0.53
+ ```
+- **Windows PowerShell (Candidate verification script — not yet measured / needs operator run, `AT20`, `AT21`)**:
+ ```powershell
+ Resolve-DnsName malware.test.example.invalid -Server 100.64.0.53
+ # Expected: DNS name does not exist (RCODE=3 NXDOMAIN)
+ Resolve-DnsName example.com -Server 100.64.0.53
+ ```
+- **System Resolver & Browser Path Across All Four Platforms (`§12.6`, `AT21`)**:
+ In addition to direct `nslookup` queries, per-platform acceptance (`AT21`, **not yet measured / needs operator run**) must verify resolution through the OS system resolver and a standard browser with Android Private DNS and custom browser DoH turned Off, and then record behavior when Private DNS (DoT) or browser DoH is enabled.
+
+---
+
+## 4. Device Limits and Self-Service Revocation (`/member/devices`, `§7.3`, `§9.4`, `MEM01`–`MEM03`, `ENT02`, `AT02`, `AT04`)
+
+1. **Default Device Limit (`§9.4`, `§21`, `MEM02`)**: By recommended default, each member can have up to **3 authorized devices** (`device_limit = 3`, configurable per plan and shown as `used / limit` on `/member/devices`).
+2. **Limit Reached (`409 DEVICE_LIMIT_REACHED`, `AT02`)**: If you sign into NetBird on a new device when all of your device slots are already occupied, central automatic device authorization rejects the new peer under a row lock (`DEVICE_LIMIT_REACHED`, `AT02`) and does not grant it exit forwarding permissions (`§7.3`, `§9.4`).
+3. **Self-Service Revocation and Cutoff Timing (`§9.4`, `§16.3`, `§16.5`, `AT02`, `AT04`, `AT29`)**:
+ - Visit `https://vpn.example.com/member/devices` and click **Revoke** next to the device you want to remove (`DELETE /api/v1/member/devices/{device_id}`, which creates an asynchronous `member.device_revoke` operation).
+ - **Propagation Timing (Not Instantaneous)**: Revoking a device is an asynchronous control-plane and node-policy operation, **not** an instantaneous global disconnect. When the control plane and exit nodes are online, the spec design target for revoking existing and new flows starts at **60 seconds** (`§16.5`; actual end-to-end cutoff timing is **not yet measured**, pending `AT02`, `AT04`, `AT29`). If an exit node is unreachable from the control plane, forwarding on that node remains bounded by the earliest kernel lease/service deadline (`min(effective_service_end, node_lease_end, signed_server_time + max_offline_seconds)`, default `86,400s`, `§16.3`, `AT29`).
+ - Once the revocation operation reaches **`succeeded`**, the device slot is released for a new device.
+
+When a plan reduces your device allowance, central keeps the oldest authorizations and moves excess devices to `pending` while withdrawing access. Restored entitlement readmits previously authorized, non-revoked devices with valid identity proof within the current quota. After a service restore, a device may show as `pending` until an operator confirms it, and nothing you do on the member side changes that. Under `D-077` (`#238`, `#244`; 2026-10-30 EDT), `authorization_unconfirmed: true` is the “needs operator re-authorization” mark on a `pending` device. The field is optional in the contract: absent means the server does not project it yet, not that authorization is confirmed. On that day, `main` always emits the boolean on `GET /api/v1/member/devices`, including `false` for devices without a fence. Members cannot re-authorize themselves; contact an operator or revoke the device (`D-076`, `#227`). Check `/member/devices` for current status; see [member and device rules](../members/README.md#quota-withdrawals-and-finite-binding-history).
+
+---
+
+## 5. Usage Metering and Fair-Use Policy (FUP) Display (`/member/usage`, `§8.3`, `§10`, `§11`, `MTR01`–`MTR05`, `FUP01`–`FUP04`, `AT14`, `AT17`–`AT19`)
+
+### 5.1 Metering Definition (`forward_admission_v1`) and v1 IPv6-Block Mode (`§8.3`, `§10.1`, `MTR01`, `AT11`, `AT14`)
+- **Formal Metering Point (`§10.1`)**: `forward_admission_v1` counts inner IP packet bytes (including inner IP and transport headers, once per direction) that have passed tunnel decapsulation, member binding verification, and Internet-only isolation checks at the exit-node `inet fvpn` admission hook. Packets dropped before the admission hook, outer WireGuard encapsulation, and node control traffic are excluded; packets dropped after the admission hook by `tc` shaping or downstream links may still be counted, so this figure represents **recorded VPN forwarding admission usage**, not application-layer delivered file size (`§10.1`).
+- **v1 IPv6-Block Mode (`§8.3`, `node/enforce`)**: Although the usage ledger and binding schemas (`§10.1`, `§10.2`) include fields for IPv4 and IPv6 bindings, **Freedom VPN v1 data-plane enforcement (`node/enforce`) implements `IPv6Block` (`block`) mode only**: the `inet fvpn` forward chain unconditionally drops all member IPv6 traffic (`meta nfproto ipv6 ... drop`) and forwards authorized member **IPv4** traffic only. No IPv6 Internet forwarding path is enabled in v1 (`AT11`, `AT14`).
+
+### 5.2 UTC Monthly Reset and Boundary Attribution (`§10.4`, `§10.9`, `§11.1`, `MTR04`, `FUP01`, `AT17`, `AT19`)
+- Usage totals and Fair-Use tiers are evaluated over each **UTC calendar month** (`[YYYY-MM-01T00:00:00Z, next_month)`, `§10.4`, `§11.1`).
+- Late-arriving events from a previous UTC month are attributed to that previous month and do not re-trigger throttling in the new month (`§10.9`, `AT17`). At the start of a new UTC month (`00:00:00Z`), the current period total and Fair-Use tier reset to `Tier 0` (`§11.2`, `AT19`).
+
+### 5.3 Fair-Use Tiers, Configured Shaping Floor, Shared Capacity, and Mandatory Fail-Closed Exceptions (`§11.1`–`§11.7`, `FUP01`–`FUP04`, `AT18`, `AT19`)
+- **Configured Shaping Floor (`minimum_rate`, `§11.1`, `§11.2`, `AT19`)**: When your cumulative monthly usage across all devices and exit nodes crosses a tier threshold in `enforce` mode, your per-exit HTB class ceiling (`down_bps` / `up_bps`) steps down to that tier's configured rate. Every tier is validated to stay at or above a positive configured **`minimum_rate`** (`> 0 bps`), meaning **Fair-Use tiering itself does not configure a `0 bps` rate for exceeding a byte threshold**.
+- **Not a Guaranteed Delivered Speed & Subject to Shared Capacity (`§11.3`, `§11.6`, `§11.7`, `FUP02`, `FUP04`, `AT18`)**:
+ - `minimum_rate` and tier rates are **configured `tc` HTB shaper parameters** on the exit node, **not** a guaranteed delivered download or upload speed.
+ - **Per-Exit Multi-Device Sharing (`§11.3`, `AT18`)**: All authorized devices under your account connected to the **same exit node** share a single per-member HTB class on that exit node (`rate_scope = (member_id, node_id, direction)`).
+ - **Shared Node Capacity Ceiling (`§11.3`, `FUP04`)**: All members on an exit node share the node's parent capacity ceiling (`node_capacity`: `qos.Up` / `qos.Down`) as well as physical uplink and Relay bandwidth; under contention, actual throughput can be lower than your individual class ceiling.
+- **Mandatory Fail-Closed Exceptions Still Stop Forwarding (`§8.2`, `§10.7`, `§10.8`, `§13.6`, `§16.3`, `ISO02`)**:
+ - `minimum_rate` never overrides safety, entitlement, or metering-integrity rules. An exit node **will stop forwarding your traffic (fail-closed)** whenever:
+ 1. Your subscription/entitlement or the node's offline serving lease (`forwarding_deadline`) expires, or your account/device is suspended or revoked (`§9.2`, `§16.3`, `AT04`, `AT29`);
+ 2. The exit node fails an isolation, DNS baseline, or `fvpn-watchdog` check (`§8.2`, `§16.3`, `AT10`, `AT13`);
+ 3. The node's local meter path fails (`METER_PATH_INVALID`), local SQLite storage becomes unwritable, or the unacknowledged usage outbox reaches its protection limit (`72 hours` or `256 MB` recommended default, `§10.3`, `§10.7`, `§10.8`, `AT16`);
+ 4. The node enters the disruptive switch/check window of a software update (`applying` / `checking`, `§13.2`, `§13.6`).
+- **Shadow Mode (`§11.1`, `§11.2`, `AT19`)**: In `shadow` mode, the member usage response's `FairUseStatus` returns `state: normal` with null tier, rate and reason. The Portal shows no estimated adjustment tier and displays an adjustment notice only for `state: adjusted`. See the [API contract](../../contracts/openapi.yaml) and [portal documentation](../portal/README.md).
+
+### 5.4 Quality Badges (`§10.6`–`§10.9`, `§18.4`, `AT16`, `AT17`, `AT30`)
+- **`Aggregate as of`**: UTC timestamp of the latest usage projection watermark committed in the central ledger (`§10.6`).
+- **`Reconciliation in progress`**: Shown while nodes verify signed checkpoints and replay retained events after a central database restore (`§10.8`, `§17.3`, `AT30`).
+- **`Gap` / `Boundary Estimated`**: `gap` indicates that an exit node experienced an unscheduled power loss, reboot, or retention expiry leaving unrecorded intervals; `boundary_estimated` indicates an interval spanning a UTC month boundary that was split proportionally by elapsed time. Freedom VPN **never fabricates or guesses missing byte counts** (`§10.7`–`§10.9`).
+
+---
+
+## 6. DNS Behaviour, Data Minimization, and Explicit Limitations (`§8.1`, `§12.1`–`§12.7`, `DNS01`–`DNS04`, `SEC02`, `AT12`, `AT20`–`AT22`)
+
+The Member Portal's `/member/dns-protection` page explains filtering scope, limitations and false-positive reporting; `/member/exits` shows exits and availability. Typed node-reported `dns_policy_evidence` is on the admin node-detail page and is not currently shown in member views. Ask support to inspect it for the selected exit. [Portal documentation](../portal/README.md) remains authoritative for the interface.
+
+### 6.1 Configured Resolvers, Firewall Rules, and Data Minimization (`§8.1`, `§12.2`, `§12.6`, `§12.7`, `DNS03`, `SEC02`, `AT12`, `AT21`, `AT22`)
+- **Configured DNS Resolvers and `inet fvpn` Rules (`node/enforce/render_nft.go`)**:
+ - NetBird distributes the deployment's configured AdGuard Home resolver addresses (for example, documentation addresses `100.64.0.53` and `100.64.0.54` per `AGENTS.md §8`; actual addresses depend on `nodes.json:dns_resolver_ipv4`) to authorized member clients (`§12.2`).
+ - In the exit node's `inet fvpn` forward chain (`node/enforce/render_nft.go`), `Render` permits `UDP/53` and `TCP/53` from authorized member addresses (`@allowed_v4`) to the configured resolver set (`@resolver_v4`, counted under `dns_service_v1`) and **drops** all non-port-53 traffic to `@resolver_v4` (`counterBadDNS`, blocking access to the resolver's admin UI or SSH, `§8.1`, `DNS03`, `AT12`).
+ - **No Universal Port-53 DNAT Interception**: `inet fvpn` **does not** perform universal DNAT redirection of arbitrary external port-53 traffic. How manual external port-53 DNS queries from a client are handled depends on the deployment's selected external-DNS policy (`§12.6`, marked `待決策` / pending decision, and **not yet measured** under `AT21`).
+ - Configured resolvers return `NXDOMAIN` for blocked A/AAAA/HTTPS queries and `NODATA` (RCODE 0, zero answers, SOA authority) for blocked CNAME/SVCB/TXT/MX/NS queries. This is fail-closed for answers, not uniform NXDOMAIN. If one controlled resolver becomes unavailable, failover uses only the other controlled resolver with the same policy—never an unfiltered public DNS resolver (`§12.2`, `§12.5`, `AT21`).
+- **Data Minimization and No Query History Logging (`SEC02`, `§12.7`, `§16.4`, `AT22`)**:
+ - AdGuard Home query logs and statistics are disabled in the candidate configuration (`querylog.enabled: false`, `querylog.file_enabled: false`, `statistics.enabled: false`). Service logs, metrics, and the central database never record full queried domain names (qnames), full URLs, or packet payloads (`§12.7`).
+ - **Honest Scope (`§16.4`)**: Freedom VPN **does not claim to be a complete no-log service**—the platform retains necessary entitlement records, device authorization state, anonymized usage accounting (`usage_events` / `usage_rollups`), and administrative/security audit trails (`audit_events`).
+
+### 6.2 Explicit Technical Limitations: DoT / DoQ vs. DoH and Filtering Boundaries (`§1.1`, `§12.1`, `§12.6`, `DNS04`, `AT21`)
+1. **Distinguishing DoT / DoQ (`853`) from DoH (`443`) and Policy/Platform Dependence (`§12.6`)**:
+ - **DNS-over-TLS (DoT, `TCP/853`) and DNS-over-QUIC (DoQ, `UDP/853`)**: Used by features such as Android "Private DNS" or dedicated encrypted-DNS profiles over port `853`.
+ - **DNS-over-HTTPS (DoH, `TCP/443` and `UDP/443`)**: Used by browser "Use Secure DNS" settings (Chrome, Firefox, Edge, Brave) or application-level DoH resolvers over standard HTTPS port `443`, often sharing IP addresses and CDNs with ordinary websites.
+ - **Behavior and Limitations (`§12.6`, `AT21`)**: While external port-53 DNS, DoT/DoQ (`853`), and known encrypted-DNS endpoints may be restricted according to the deployment's selected policy (`§12.6`), an unmanaged client device or browser using DoH over port `443` (or Android Private DNS when enabled) cannot be guaranteed to be intercepted and may either bypass VPN-assigned DNS filtering or fail to resolve depending on the active policy and OS/browser behavior (**not yet measured across all four native platforms; tracked under `AT21`**).
+ - **Recommended Configuration**: Turn **Off** Android "Private DNS" and disable custom browser "Secure DNS / DoH" (use the system default resolver), then verify your resolution path using Section 3.3.
+2. **No TLS Interception (No MITM) and No URL-Path Filtering (`§1.1`, `§12.1`)**:
+ - Freedom VPN never intercepts TLS certificates or decrypts HTTPS traffic. Filtering operates strictly on **domain names**, not on `/path` segments, query strings, or downloaded file contents.
+3. **No Direct-IP Blocking via DNS and Local LAN Boundary (`§1`, `§12.1`, `§12.6`)**:
+ - Connections made directly to raw IP addresses without a DNS lookup do not traverse DNS rules, and server-side exit isolation applies only to traffic entering the VPN tunnel, not to your device's local Wi-Fi/LAN subnet.
+
+---
+
+## 7. Support Contact Flow and False-Positive Unblocking (`§12.5`, `§12.6`, `§18.3`, `§18.4`, `AT20`, `AT22`)
+
+1. **Include Diagnostic IDs (Never Share Secrets, `§16.2`, `§18.3`)**:
+ - When contacting support about an error in the Member Portal, include the **`Request ID`** shown in the error banner (or the **`Operation ID`** from `/member/devices`) along with the approximate UTC timestamp.
+ - **Never** send your OIDC password, session cookies (`__Host-fvpn_session`), or private keys to support.
+2. **Reporting False Positives and Unblock Propagation Timing (`§12.5`, `§12.6`, `D-054`, `D-056`, `AT20`, `AT22`)**:
+ - Send the exact domain name (e.g., `app.example.com`) and UTC timestamp to support. Once approved, an administrator activates a new `domain_rule_set` policy revision with an `allow` rule (which overrides general threat-feed false positives, but never overrides an explicit admin `block` rule or IP-layer private-network isolation, `§12.4`).
+ - **How Unblock Propagation Timing Works (No Universal 60-Second Guarantee, `§12.5`, `docs/dns/PUBLISH.md`, `node/agent/resolver.go`)**: End-to-end propagation of an `allow` override depends on three separate factors:
+ 1. **Publication and node apply delay (`D-056`)**: Central background reconciliation adds an eligible resolver-document reference to signed state without another exit-publication command. The node verifies size/digest, applies the document and reports `dns_policy_evidence`; `dns_policy` passes only after the exact document named by the in-force policy is applied. Support can inspect this on admin node detail. Scheduling cadence is not an end-to-end apply guarantee; actual delay still needs measurement ([node wiring](../nodes/WIRING.md), [node runtime](../node/README.md));
+ 2. **Configured Blocked-Response TTL (`blocked_ttl_seconds`)**: The `dns_profile` setting `blocked_ttl_seconds` (required schema input in `0..86400` seconds with no schema default; the compiler first applies a positive `CompileOptions.BlockedTTLSeconds` override, then substitutes `DefaultBlockedTTLSeconds` (60 seconds) if the result is zero) governs only the DNS TTL header on blocked responses, not end-to-end propagation time;
+ 3. **Client OS, Browser Caches, and Existing Connections (`§12.5`)**: Even after controlled resolvers apply the new revision, your operating system DNS cache, browser DNS/socket cache, or already-open HTTPS/QUIC sessions may continue holding cached results until they expire or you flush your local DNS cache, restart the browser, or reconnect the VPN tunnel.
+
+### 2026-10-31 更新 / update (D-087, #250)
+
+無成員授權的租約仍持續排程續租,包括尚無 desired bindings 的情況。首次請求時段為一個 heartbeat 後(上限 60 秒),之後倍增至最多每 60 秒,且遵守租約提前續租時間。這是請求排程,不是 I/O 完成保證;取得有成員授權的租約還需要已發布且有合格綁定的 generation、已接受的 readiness,以及可回應的控制服務。`identity_frozen` 沒有會員可見欄位;會員只會看到裝置不再提供服務及 Fair-Use 摘要。
+
+D-087 (#250): every accepted grant-less lease has a renewal schedule, even before desired bindings arrive. The first request slot is one heartbeat after the empty lease (capped at 60 s), then doubling, never more than 60 s of local waiting between requests; the lease renewal lead can bring a slot forward. A populated lease additionally needs a published generation with eligible member bindings, accepted readiness, and a responsive control service. A scheduled request slot is not completed I/O: ongoing work, request latency and server `Retry-After` can delay completion. Empty bindings do not stop renewal. `identity_frozen` has no member-visible surface; members see the device become non-serving and the Fair-Use summary. See the [dated acceptance snapshot](../ops/README.md#follow-up-14-acceptance-snapshot-2026-10-31-edt) for usage #257 and members #268. The members run did not exercise portal rendering of D-077.
+
+### Follow-up 17 DNS and IPv6 scope / DNS 與 IPv6 範圍
+
+Pinned AdGuard Home with `blocking_mode: nxdomain` follows the per-type replies
+above (#309). Synthetic SOA TTL honours `blocked_response_ttl`: 60 s in the
+production-body measurement (configurable starting default, production choice
+pending), 5 s in fixtures. An unblocked earlier CNAME hop may still be returned;
+its blocked next hop cannot complete to an address. See
+[measured answers](../dns/BACKEND.md#211-expected-responses--measured-2026-10-31)
+and [follow-up 17 limits](follow-up-17.md).
+
+固定版本的 AdGuard Home 依查詢型別回覆;封鎖時不提供可繞過政策的答案,
+不保證一律 NXDOMAIN。SOA TTL 遵循設定:正式請求內容量測為 60 秒
+(可設定起始預設,正式值仍待決策),測試設定為 5 秒。未封鎖的前段 CNAME
+仍可能回傳,但查詢被封鎖的下一跳無法完成位址解析。
+
+D-123 keeps the v1.0 overlay in IPv6Block mode: no IPv6 forwarding through
+the node, no end-to-end IPv6 MTU / PMTU acceptance row. Future IPv6 overlay
+support requires separate work; do not remove the guard rules. This does not
+erase the native MTU-1280 failures in either underlay family. AT09 and real
+platform-device acceptance remain open.
+
+D-123 明定 v1.0 overlay 採 IPv6Block:不經節點轉發 IPv6,也沒有端對端
+IPv6 MTU/PMTU 驗收項目。支援 IPv6 overlay 須另行排程,不能刪除阻擋規則
+來取得測試通過。原生客戶端兩種 underlay 的 MTU 1280 失敗仍保留,
+AT09 與真實平台裝置驗收仍未完成。
diff --git a/tests/handover/testdata/history/follow-up-55/prior-docs_handover_operator-guide.md.txt b/tests/handover/testdata/history/follow-up-55/prior-docs_handover_operator-guide.md.txt
new file mode 100644
index 000000000..5f787be66
--- /dev/null
+++ b/tests/handover/testdata/history/follow-up-55/prior-docs_handover_operator-guide.md.txt
@@ -0,0 +1,1260 @@
+# Operator Guide (`docs/handover/operator-guide.md`)
+
+**目前交付:**[交付導覽](../DELIVERY.md)整理現有功能、操作入口與驗證範圍。下列 follow-up 快照保留各自當時的範圍與結果。
+
+**Current delivery:** The [delivery guide](../DELIVERY.en.md) covers current capabilities, operating entrypoints and verification scope. The follow-up snapshots below retain their historical scope and outcomes.
+
+## 保留的節點驗證結果 / Retained node verification
+
+管理介面的「保留的驗證結果」對應 `NodeDetail.serving_read`。`read_at` 是實際驗證讀取時間,沒有新的驗證讀取時,後續心跳不會替它更新時間;`source` 為套用設定時的 `apply` 或執行期間的 `live`。`candidate_generation` 是受檢世代,不是套用完成的 ACK;`verified=false` 表示該次驗證未通過。欄位缺省表示伺服器尚未提供這項投影;`null` 表示目前 incarnation 所選回報沒有可用結果,中央不會回找先前的非空值。`diagnostic` 是有長度限制、可能遭截短的文字,應原樣閱讀,不假設它是完整 JSON。即使 `verified=true`,也不能據此判定節點目前可轉送;仍須依目前的租約、政策及安全檢查判定。
+
+The admin view's “Retained verification result” is `NodeDetail.serving_read`. `read_at` is the actual verifier read time; later heartbeats do not refresh it without a new verifier read. `source` is `apply` during configuration application or `live` during runtime checks. `candidate_generation` identifies the generation checked, not an applied-generation ACK; `verified=false` records a rejected read. An absent field means the server does not provide this projection; `null` means the selected current-incarnation observation has no available result, with no search back for an earlier non-null value. Treat `diagnostic` as bounded, possibly clipped text, not guaranteed complete JSON. Even `verified=true` does not establish permission to forward now; current lease, policy and safety checks still govern forwarding.
+
+欄位語意 / Field semantics: [API contract](../contracts/README.md#revision-15)。已記錄的隔離驗證與剩餘限制 / Recorded isolation evidence and remaining limits: [D164 acceptance](../e2e/at/isolation/d164-acceptance.md)。
+
+**Archived cut:** [follow-up 54](follow-up-54.md), #533, #534, #535 and #536 at `2f5159f3`; source-backed changes, verification boundaries and carried gaps.
+**Earlier archived cut:** [follow-up 53](follow-up-53.md), #529, #528, #530, #531 and #532 at `e055143e`; source-backed changes, verification boundaries and carried gaps.
+
+
+
+**Observation records (#477).** From the [frozen Observations section](../../tests/handover/testdata/history/follow-up-47/docs_node_README.md.txt): `observation enqueued` is written “Once after a report is durably queued”, with fields “`report_id`, `observed_at` (UTC RFC 3339 with fractional seconds when present), `due_reason`”; `observation submission` is written “Once when each individual submission call finishes”, with fields “`report_ids`, matching `attempt_numbers`, `attempt_scope`, `process_id`, `boot_id`, `started_at`, `duration_ms`, `outcome`, `accepted_report_ids`, `http_status`, `error_code`, `transport_error_class`, `next_retry_at`, `retry_after_ms`”. The scope is explicit: “Attempt numbers start at 1 **per report per process**, increment once for each submission call, and reset on process restart. Correlate them with `boot_id` and `process_id`; correlate queueing and Central acceptance by report ID across restarts. `attempt_scope=process` makes that scope explicit.” Outcomes are `accepted`, `rejected`, `transport_error`, `timeout` or `unconfirmed_response`; `due_reason` is `closed_recovery_binding`, `first_report`, `serving_changed`, `state_changed` or `interval_elapsed`, in that precedence. The [frozen agent-core 52 note](../../tests/handover/testdata/history/follow-up-47/docs_node_followup52-2026-11-04.md.txt) states: “These receipts contain no report body, URL, response error message, credential, token or key. A deduplicated enqueue, idle Step, or waiting retry slot emits neither record.” A process killed inside a submission can lack its completion receipt; the durable uncertainty counter is unchanged. Acceptance still does not establish applied verification. Members' next assembled run reads these records; this cut makes no assembled live claim. In [members 24 (#481)](../../tests/handover/testdata/history/follow-up-48/docs_e2e_at_members_followup24-2026-11-04.md.txt) run dee8492f, “All nine native windows retain 18 stored observations, 18 enqueues and 18 submission attempts; every stored report has its enqueue and accepted attempt, and no in-window enqueue is absent from storage”, and in AT02 “Closed report `01a1a782-6b90-74a8-bcd6-c9a06650a2ec` is enqueued at **17:01:44.722Z**, observed at **17:01:44.720284884Z**, with **`closed_recovery_binding`**” and “Its attempt 1 finishes accepted at **17:01:44.730Z** (duration 6 ms; enqueue to completion **8 ms**)”.
+
+## Restart measurements at #433
+
+Members 18 run 2 (50117c68, #433) records **6.02 s serving readiness** and
+**12.55 s counted recovery**, generation **66→66**. D-067 and the combined
+same-generation restart still **FAIL**. These are observed times, not a
+promised recovery bound or attribution to agent-core 37–43. Its three fresh
+receive-only MTU-1280 TCP rows pass under D-151, separately from AT09 overall.
+Run 1's reader rejected the production retire phase and never reached the
+native matrix; its failures stay failed. [Full cut](follow-up-40.md).
+
+Members 17's **6.01 / 12.70 s** at generation **63**, and members 6's
+**36.976 / 41.695 s**, remain historical measurements. Follow-up 16's 401
+cause remains unknown. F30-01 is the separate known update behaviour in
+§4.3, with no merged fix or verified production restart procedure.
+
+## Operator changes at #369
+
+**Graceful stop:** agent-core 31 lets in-flight local agent work finish for
+up to **10 s** after the safe boundary while control I/O stops with caller
+cancellation. A stop before that boundary returns without starting the local
+work. Real failures still fail closed; the bound does not extend a signed lease
+or promise an outage ceiling. The restart lab requires a recorded graceful
+exit; forced process death is a separate case.
+
+**D-136 correction — confirmed with D-135 by the owner, 2026-11-03:**
+a generation change can close every member on a node while its serving lease
+still names another generation. The ordinary stale-lease path installs the
+node-wide baseline and ACKs, renews, then Applies, verifies and heartbeats.
+The verified deny-all candidate is used only when an Apply error is retained.
+The `policy_missing` reason alone does not prove that a generation mismatch
+caused a particular historical baseline. No finite outage ceiling is claimed.
+D-136's fail-closed reading and D-135's bracket rule are unchanged: baseline →
+next successful Apply, every loss counted, recovery required, never waived.
+Historical failures stay failed. [Decision and evidence](follow-up-24.md#provisional-decisions-and-findings).
+
+**D-137 / D-146 MTU scope — clamp on main (#432), 2026-11-03.**
+New TCP connections of admitted members negotiate at most **1160 MSS** when
+their SYN/SYN-ACK has a larger existing MSS option. Smaller and missing
+options are untouched. The two non-verdict clamps sit immediately before
+general upload/download accepts; DNS-service and probe accepts are unchanged.
+No lower tunnel MTU is imposed. Already-established connections need a new
+handshake to negotiate the ceiling. This covers IPv4 member forwarding over
+standard WireGuard transport headers; extra encapsulation/IPv6 extension
+headers need their own budget, and IPv6 overlay remains blocked under D-123.
+
+Members 18 (#433) run 2 passes the receive-only 1280 TCP rows for dual
+(IPv4 selected), IPv6 and explicit IPv4 underlays: 64,064 bytes and 64 exact
+echoes each; member SYN 1240→1160, origin SYN-ACK 1460→1160, reverse datagrams
+73/73 at most 1132 B, 74/74 at most 1152 B, and 72/72 at most 1132 B,
+respectively; no PTB. **Provisional D-151** permits that row to pass only on
+its unchanged byte predicate plus same-run proof of the MSS rewrite, every
+reverse datagram fitting 1280 with none missing, and no PTB. Missing evidence
+keeps the row blocked under D-137. Historical F8-02 failures stay failed.
+
+Known-PMTU and routed-hop controls also pass in that run: routed IPv6 learns
+1280 through PTB; routed IPv4 uses DF=0 fragmentation in transit, not measured
+IPv4 PMTU discovery. **UDP and QUIC over a receive-only link without PTB
+remain limitations** (§8.3; §19 AT09). Netlab 34's fixed IPv4 lab and members'
+native fixture do not certify real platforms, relay-at-1280 or physical arm64.
+[Evidence and limits](follow-up-40.md#members-18-433-two-assembled-runs).
+
+## Operator changes at #356
+
+**D-134 expiry window:** the absolute deadline D includes an intentional
+100 ms installation reserve plus 1 ms truncation. The conservative transition
+window is **[D−101 ms, D]**, never extra authorization after D. Count every
+pre-D and renewal loss; literal zero pre-D loss is not established. Report the
+full completed outer-guard distribution per run. The historical 52.596 ms
+maximum is a measurement, not a guaranteed ceiling. An install overrun never
+opens the guard; the closed generation-0 baseline replaces it atomically.
+D-104 / D-120 / AT13 / AT29 predicates are unchanged.
+
+**D-135 rollback — confirmed by the owner, 2026-11-03:** a failed
+Apply closes every member on that node until the next successful Apply.
+Rollback installs the node-wide generation-0 baseline, preserving revocation;
+it does not restore the previous generation. Repeated failures can keep that
+baseline indefinitely. The 100 ms bound is an install budget, not an outage
+ceiling. Retain the admitted sibling's baseline→recovery bracket and every
+lost packet; report the bracket, never waive it. A stronger availability
+guarantee requires a separate enforcement design under D-133. Historical AT02
+remains failed. [Evidence and owner boundary](follow-up-22.md).
+
+The earlier operator changes below retain their dated scope.
+
+## Operator changes at #351
+
+**Positive DNS cache:** AdGuard v0.107.59 can replace a newer cached answer
+with an older outstanding upstream reply that completes after client
+abandonment but before its 10 s upstream timeout (F9-INFLIGHT, #345).
+TTL is a maximum lifetime, not a minimum retention or cross-query consistency
+promise. Independent resolver caches and whole-second expiry also matter.
+No exposed setting orders these replies by authority version. When choosing
+production `blocked_response_ttl`, retain this limitation; the value remains
+the owner's decision. A cache setting is not a fix for this ordering behavior.
+[Attribution and measured defaults](../dns/BACKEND.md#215-f10-03--positive-cache-and-ttl-measured-2026-10-31).
+
+**Offline seed:** initial and same-release installs retain the verified archive
+and envelope (#351's corrected guide). Seed verifies a private copy and the
+whole installed tree without fetching the artifact while that archive exists.
+Only an absent archive chooses the guarded signed-URL download. A corrupt or
+unreadable archive fails closed; restore the signed package and rerun the
+same-release installer. This is seed's offline capability, not offline
+enrollment. [Installer hand-off](../updates/node-updater.md#installer-hand-off-d-080-d-089-d-110).
+
+**Dependabot #22:** remains open for owner disposition (#349). All minimatch
+paths are development tooling; no production-bundle path was found.
+`npm audit fix` changes nothing, and the complete 11.0.3 override breaks
+jsx-a11y's nested-label rule after clean `npm ci`. Both dependency files stay
+byte-identical. Do not apply that override or dismiss the alert as a repair.
+This is a dependency-hygiene item, not a product defect.
+[Portal investigation](../portal/DEV.md#development-dependency-advisory--2026-10-31-follow-up-19).
+
+## Reporting and restart changes at #344
+
+Installer 7 requires `--control-url` as a validated HTTPS origin and a readable
+`--server-ca`. It generates `result_url` at
+`POST /api/v1/agent/update-results`, server trust from that enrollment CA, and
+the enrolled node's mTLS certificate/key paths. `allowed_artifact_origins` is
+exactly the control origin. Invalid inputs fail before host changes. A
+same-release rerun repairs reporting fields/server CA and preserves identity,
+usage, updater journal and unrelated settings. `install --allow-loopback` is
+an explicit **TEST ONLY** opt-in for an isolated HTTPS lab, false in production.
+Updates 11 (#346) closes the artifact-origin question by measurement, with no
+rejection: this list grants private / CGNAT exceptions, not an exclusive host
+allowlist. The measured non-private artifact origin needs no exception. See [installer configuration](../node/install.md#authenticated-updater-reporting-f10-02-136-13103).
+
+If sealing logs `result_url_missing`, the receipt remains **pending**, with its
+original bytes and no ACK. Explicit `Engine.Flush` without a sink returns
+`VALIDATION_FAILED`; local apply success is not central delivery. Repair the
+reporting configuration, then run `fvpn-updater flush --config /etc/vpn-node/updater.json`
+to transmit the identical pending receipt once. Verify the central ACK; do not
+rebuild the receipt or rerun the update to manufacture a new result.
+[Updater 18 evidence](follow-up-20.md#installer-7-and-updater-18--341--342).
+
+After a short agent process restart on the same OS boot, a still-valid original
+signed lease can retain serving without a new control response, intermediate
+baseline or Apply. Adoption requires matching desired/applied generation,
+the original clock anchor, a fresh serving heartbeat, eligible release,
+fresh DNS/probe checks, full kernel/topology verification, healthy meter
+ownership and clear identity/updater barriers. Operators can see retained then
+adopted serving under the **same absolute deadline**. Ordinary stop checkpoints
+the last usage delta and leaves its epoch open; updater withdrawal still
+finalizes it. Failed qualification closes forwarding while keeping control
+access; OS reboot or a lost anchor cannot adopt the old lease. Same-generation
+repair queues the failed verifier report before repairing with the original
+lease; recovery does not erase that observation. Retain agent/watchdog reason
+logs and all baseline/heartbeat producer rows for isolation 10. This contract
+does not identify ISO-F6-03's historical writer or establish zero pre-D loss.
+[Agent 28 evidence and D-133](follow-up-20.md#agent-core-28--344-historical-writer-still-unattributed).
+
+Historical follow-up 17 evidence cutoff: **#313**, main `7e044c71`. The
+[follow-up 17 operator evidence](follow-up-17.md) records AT10 PASS under
+D-120, D-118 activation, D-123 IPv6Block posture, DNS per-type replies, and
+the three retained live failures. It distinguishes harness-proved results
+from acceptance not yet proved; dated follow-up 15/16 sections retain their
+historical status.
+
+This guide defines the routine operational runbooks for Freedom VPN administrators (`§6`–`§15`, `§17`–`§18`).
+
+For API examples, use the admin role cookie and obtain `ADMIN_CSRF_TOKEN` from `GET /auth/session?role=admin`; authenticated mutations also require the exact configured Origin ([control authentication](../control/AUTH.md)).
+
+All administrative browser sessions require OIDC authentication with MFA (`amr: ["mfa"]` or configured `acr`) via `/auth/login?role=admin` (`§9.1`, `§16.1`). High-risk mutations (`POST /api/v1/admin/nodes/{node_id}/revoke`, `DELETE /api/v1/admin/nodes/{node_id}`, `POST /api/v1/admin/update-batches`, `POST /api/v1/admin/policies/{definition_id}/activate`) additionally require recent authentication within `recent_auth_seconds` (`900s`, `403 RECENT_AUTH_REQUIRED` if stale) and explicit confirmation in the Admin Portal (`§9.1`, `§16.1`, `§18.1`).
+
+---
+
+## 1. Daily and Weekly Operational Checklists (`§17.1`, `§18.1`)
+
+### 1.1 Daily Operator Tasks
+
+1. **Review Admin Overview (`/admin`)**:
+ - The Admin Portal overview aggregates `GET /api/v1/admin/nodes`, `GET /api/v1/admin/members`, `GET /api/v1/admin/policies`, `GET /api/v1/admin/releases`, and `GET /api/v1/admin/audit-events`. Check online vs. stale/offline exit nodes (`control_status`), active member count, policy and threat-feed status (`threat_feed_status`), and usage ledger mode (`normal`, `frozen`, or `reconciling` in `usage_ledger_state`).
+
+ - The [portal’s 13-rule node summary](../portal/README.md#10-node-summary-181) describes only the listed node fields. Only `online_serving` gets the green success badge. The overview chooses the latest readable `last_seen_at` by parsed instant, displays the original API string, and uses the no-report label when none is readable.
+2. **Inspect Failed or Stuck Asynchronous Operations (`GET /api/v1/admin/operations/{operation_id}`)**:
+ - Check operations with `status = 'failed'` or `status = 'partially_succeeded'`:
+ ```sql
+ SELECT id, kind, status, resource_type, resource_id, error_code, updated_at
+ FROM operations
+ WHERE status IN ('pending', 'running', 'failed', 'partially_succeeded')
+ ORDER BY updated_at DESC;
+ ```
+ - Check the Prometheus counter `fvpn_worker_dead_letters` on `127.0.0.1:9092/metrics` and inspect dead-letter outbox events (`00003_ledger_and_work.sql`, `00100_control.sql`, `docs/control/WORKER.md`):
+ ```sql
+ SELECT id, event_type, attempt, dead_lettered_at, last_error_code
+ FROM outbox_events
+ WHERE dead_lettered_at IS NOT NULL
+ ORDER BY dead_lettered_at DESC, id;
+ ```
+3. **Check Exit Node Health & Update Batch Attention Flags (`/admin/nodes`, `/admin/updates`)**:
+ - Investigate any node with `control_status != 'online'`, `safety_status != 'passed'`, `data_health = 'failed'`, any `checks` entry (`internet_only`, `dns_policy`, `tunnel_probe`) with `status != 'passed'`, or any update target flagged `needs_attention = true` or `unconfirmed = true`.
+
+ - Central status ages from the last accepted receipt (`last_seen_at`): stale at `min(90 seconds, online_seconds)` and offline at `online_seconds`. `node.staleness.sweep` is scheduled at `min(reconcile_seconds, 60 seconds)`; dispatch or retries can delay visibility. Investigation includes the last accepted receipt, worker/scheduler health and sweep dead letters. An accepted report restores `online`; status alone proves neither route withdrawal nor loss of lease-authorized forwarding. See [liveness calibration](calibration.md#14-lease-durations-max_offline_seconds-node-lifetimes-and-health-attestation-61-64-13-163-165-d-053-d-058-d-074).
+4. **Check Audit Anomalies (`audit_anomalies_total`)**:
+ - Verify that `fvpn-control` logs zero `WARN audit row omitted` events (`audit_anomalies_total = 0`).
+
+### 1.2 Weekly Operator Tasks
+
+1. **Verify PostgreSQL Backup & WAL Archive Freshness (`§17.2`)**:
+ - Confirm that daily base backups and continuous WAL archiving (`archive_timeout = 300s`) succeeded and that the latest restorable timestamp is within `< 15 minutes`.
+2. **Review Fair-Use Policy (FUP) Tier Distribution, Threat-Feed Refresh State & DNS Resolver Publication (`/admin/policies`)**:
+ - Check `GET /api/v1/admin/policies?type=threat_feed` (`PolicyDefinition.threat_feed_status`, `D-054`, `D-058c`) and inspect `dns_publication_heads`, `dns_resolver_documents` (`00180_dns_publish.sql`), `dns_feed_refresh_state`, and `dns_feed_contents` (`00181_dns_feed_contents.sql`) to confirm all DNS profiles and threat feeds are healthy (`§12.2`, `§12.5`, `docs/dns/PUBLISH.md`, `docs/dns/FEEDS.md`):
+ ```sql
+ SELECT h.definition_id,
+ d.profile_code,
+ h.profile_revision_id,
+ h.policy_generation,
+ d.id AS document_id,
+ d.document_sha256,
+ h.status,
+ h.updated_at
+ FROM dns_publication_heads h
+ JOIN dns_resolver_documents d
+ ON d.definition_id = h.definition_id
+ AND d.profile_revision_id = h.profile_revision_id
+ AND d.policy_generation = h.policy_generation
+ ORDER BY h.updated_at DESC;
+ ```
+ ```sql
+ SELECT r.feed_revision_id,
+ r.last_good_content,
+ r.last_error_code,
+ r.consecutive_failures,
+ r.last_attempt_at,
+ r.last_success_at,
+ r.next_attempt_at,
+ c.rule_count,
+ c.size_bytes
+ FROM dns_feed_refresh_state r
+ LEFT JOIN dns_feed_contents c
+ ON c.feed_revision_id = r.feed_revision_id
+ AND c.content_sha256 = r.last_good_content
+ ORDER BY r.last_attempt_at DESC NULLS LAST;
+ ```
+3. **Run Scheduled Retention Purge (`purge_retained`, `§15.4`, `§16.4`, `F-03`)**:
+ - Connect as `fvpn_retention` and purge expired raw usage payloads (`> 90 days`, where `retention_config.raw_usage_days` enforces `>= 35` days and refuses to purge months with `gap = TRUE`), service logs (`> 30 days`), and audit events (`> 365 days`, where `retention_config.audit_days` enforces `>= 180` days) `[production only]`:
+ ```sql
+ -- [mechanical-check: mutating-maintenance-sql]
+ SELECT purge_retained('usage_event_payloads', now() - interval '90 days', 'weekly scheduled retention purge');
+ SELECT purge_retained('audit_events', now() - interval '365 days', 'weekly scheduled retention purge');
+ ```
+4. **Check Certificate & Signing Key Expiry Windows (`§6.4`, `§16.2`)**:
+ - Run `fvpn-vault inspect -vault EXISTING_VAULT` against the service's vault and review each key's `state`, `not_before`, `not_after` and `window_status` for active keys within 14 days of `not_after`; follow [metadata inspection](../pki/inspect.md#metadata-inspection). Metadata inspection does not check private-key usability; use the documented `-check-keys` option when that check is needed. Node trust adoption is a separate check in [Node trust files](../node/install.md#node-trust-files).
+
+---
+
+## 2. How to Read Operations, Audit Events, and OpenAPI Contract Status (`§14.4`, `§14.5`, `§15.3`, `D-029`, `D-056`, `D-057`, `D-059`, `D-070`, `D-071`, `D-072`)
+
+### 2.1 Asynchronous Operations (`GET /api/v1/admin/operations/{operation_id}`, `GET /api/v1/member/operations/{operation_id}`)
+
+Side-effecting commands that touch external systems (NetBird, AdGuard Home, node desired-state rollout) never block HTTP transactions on external I/O (`AGENTS.md §2, §4`). Instead, they commit desired state in PostgreSQL, enqueue an `outbox_events` row, and return `202 Accepted` with an `Operation` resource.
+
+- **Important Contract (`AGENTS.md §4`)**: Desired state and observed state are always separate. A `202 Accepted` response means the intent is recorded—**never** that the external effect has completed.
+- **Operation Kinds (`OperationKind`, `contracts/openapi.yaml`)**:
+ - Node & release operations: `node.enroll`, `node.update`, `node.publish`, `node.disable`, `node.unpublish`, `node.revoke`, `node.retire`, `release.register`, `update_batch.create`, `update_batch.retry`
+ - Member & billing operations: `checkout.create`, `member.update`, `member.suspend`, `member.unsuspend`, `member.grant`, `member.grant_revoke`, `member.device_authorize`, `member.device_revoke`
+ - Policy operations: `policy.activate`
+- **Operation Statuses (`operations.status`)**:
+ - `pending` -> `running` -> `succeeded` | `partially_succeeded` | `failed` | `superseded`
+- **Database Guard (`F-01`, `00005_evidence_and_deadlines.sql`)**:
+ An operation row in `operations` cannot transition to `status = 'succeeded'` unless its JSONB `steps` array and `observed_refs` array are non-empty and every step with `required = true` has `status = 'succeeded'` and a non-empty `observed` evidence object (read-back proof from NetBird, AdGuard Home, or node observation).
+- **Worker Contention Is Not Failure (`#205`, `#208`, `internal/members/runtime/runtime.go`, `docs/members/README.md`, `apps/portal/e2e/portal.spec.ts`)**:
+ Operations are **never** marked `failed` because two worker goroutines handled the same member concurrently. In `internal/members/runtime/runtime.go` (`#205`), `SyncDevice` acquires a transaction-scoped non-blocking PostgreSQL advisory lock (`pg_try_advisory_lock(hashtextextended(device_id, 120))`) before device reconciliation and `SyncMember` acquires the same non-blocking advisory lock on `"member:" + member_id` before the NetBird side-effect pass and convergence transaction; if another worker goroutine already holds the lock, or if `db.ErrLeaseLost` or `entitlement.ErrConflict` (`resource_version` CAS conflict) occurs, the handler returns the error to the outbox dispatcher for normal retry without calling `failOperations`, keeping the operation's `netbird` step `pending` or `running` until the winning pass completes it. Discovery denials (`device.authorize` and `identity_binding.rejected`) for unmapped peers are audited once per decision transition (tracked in `external_bindings` under `external_kind = 'discovery_decision'`), attributed to `fleet_config:00000000-0000-0000-0000-000000000001` (`fleet_config`), never to an invented member (see §7.1 below). Portal follow-up 13 (`#208`, `apps/portal/e2e/portal.spec.ts`, restoring default worker concurrency `4` in `deploy/devstack/compose.yaml`) asserts that operations are never observed `failed` in the live suite.
+
+The admin operation view exposes only bounded step failure causes, including `member_forwarding_unconfirmed`, the `data_path_probe` reason vocabulary (`forwarding_disabled`, `stale_generation`, `tunnel_not_passed`, `check_failed`, `serving_checks_unconfirmed`, `isolation_unconfirmed`, `readiness_unconfirmed`, `lease_unconfirmed`), `desired_state_unavailable`, the publication/read-back vocabulary, and `publish_rejected:<400..599>`. Other stored messages, and every member operation view, use `Step failed; quote the operation ID.`; a generic message is not evidence that no internal cause was recorded. See [control operations](../control/OPERATIONS.md), [node wiring](../nodes/WIRING.md), and `internal/operations/operations.go` for the allowlist.
+
+Inspecting an operation via API `[Verified on dev/test stack]`:
+```bash
+curl -fsS "https://vpn.example.com:8443/api/v1/admin/operations/${OPERATION_ID}" \
+ -H "Cookie: __Host-fvpn-admin=${ADMIN_SESSION}"
+```
+
+### 2.2 Audit Events (`GET /api/v1/admin/audit-events`)
+
+Every administrative, member, agent, or system mutation appends an immutable row to `audit_events` in the same transaction (`§15.3`, `F-02`).
+
+- **Canonical Formatting (`D-029`, `D-035`, `D-059`, `docs/control/OPERATIONS.md`)**:
+ - `actor_role`: `admin` | `member` | `node` | `system`
+ - `actor_id` (DB column `actor`): Canonical UUID (`audit.SystemActor.ID` is `00000000-0000-0000-0000-000000000003`; SQL `purge_retained()` uses `00000000-0000-0000-0000-000000000000` per `D-035`).
+ - `resource`: Canonical `:` where `` is one of the 15 contract `ResourceType` values (`node`, `exit`, `enrollment`, `member`, `member_device`, `member_group`, `entitlement_grant`, `checkout_session`, `policy_definition`, `policy_revision`, `release`, `update_batch`, `update_target`, `admin_identity`, `fleet_config`; system singleton `fleet_config:00000000-0000-0000-0000-000000000001`).
+ - `result`: `succeeded` | `failed` | `denied`
+ - `before` / `after`: Redacted JSON snapshots (secrets, tokens, private keys, and raw webhook payloads are never stored).
+
+Querying audit events filtered by resource and action `[Verified on dev/test stack]`:
+```bash
+curl -fsS "https://vpn.example.com:8443/api/v1/admin/audit-events?resource=node:0196ed00-0000-7000-8000-000000000301&limit=20" \
+ -H "Cookie: __Host-fvpn-admin=${ADMIN_SESSION}"
+```
+
+### 2.3 OpenAPI Contract Inventory (`50` Operations) (`D-065`, `D-067`, `D-071`, `D-072`, `D-075`, `D-076`, `D-077`, `D-081`, `#164`, `#176`, `#179`, `#191`, `#195`, `#200`, `#206`, `#211`, `#213`, `#216`, `#217`, `#223`, `#238`, `#243`, `#244`, `docs/contracts/README.md`, `docs/nodes/WIRING.md`, `docs/portal/README.md`, `pkg/apierr/apierr.go`)
+
+`contracts/openapi.yaml` (OpenAPI `1.11.0`, revision 15) defines **50 HTTP operations** across `/api/v1`. All 50 are wired in `apps/control` on `main` (wire-nodes follow-up 17 `#179` wired `getFleetConfig` and `updateFleetConfig` at `GET`/`PUT /api/v1/admin/fleet-config` in `internal/nodes/httpwire/fleet_config.go`, `D-065`; wire-nodes follow-up 19 `#200` wired `listNodeIncarnations` at `GET /api/v1/admin/nodes/{node_id}/incarnations` in `internal/nodes/httpwire/handlers.go` and `internal/nodes/incarnations.go`, `ENR-03`; and wire-members follow-up 10 `#244` wired `listAdminDevices` at `GET /api/v1/admin/devices` and `authorizeMemberDevice` at `POST /api/v1/admin/members/{member_id}/devices/{device_id}/authorize` in `internal/members/httpadapter/reads.go` and `internal/members/httpadapter/commands.go`, `D-077`, `D-081`; see §3.1, §3.5, §3.6, §6.1, and §7.1 below):
+
+Wire-members follow-up 11 (#297) registers `revokeMemberGrant`; the generated
+fallback is retired for the configured application. D-105 central acceptance
+merged #296: the current mTLS identity presents one retired same-node origin,
+with enrollment strictly after retirement and interval end ≤ retirement plus
+central `sampling_interval_bound_seconds` (D-112, default 10 s). Original event
+identity/hash and the per-stream ACK are preserved. Node retention/upload
+merged #299 and is active through agent-core follow-up 25's D-118 hook (#312);
+usage AT follow-up 5 still owns live hand-off assertions. D-106's optional
+nullable `ObservationReport.tc_evidence` has its producer helper in #295;
+agent-core follow-up 25 (#312) wires the authoritative observation. Absent/null means no
+retained read. Existing error rows remain unchanged.
+Publication-gate cause stays in `Operation.steps[].message`, including
+`member_forwarding_unconfirmed (lease_unconfirmed)`.
+
+- **Node Incarnation History (`GET /api/v1/admin/nodes/{node_id}/incarnations`, `listNodeIncarnations`, `ENR-03`, `#191`, `#200`, `#210`, `internal/nodes/incarnations.go`, `internal/nodes/httpwire/handlers.go`)**:
+ `ListNodeIncarnations` returns a cursor-paginated `NodeIncarnationList` (`limit` `1..100`, default `50`) ordered newest first (`created_at DESC, id DESC`). Each `NodeIncarnation` exposes `incarnation_id`, `bound_public_key_sha256` (lowercase hexadecimal encoding of `public_key_fingerprint`, the SHA-256 of the DER SubjectPublicKeyInfo), `bound_at`, `current` (`incarnation_id == nodes.current_incarnation_id`), `state` (`"active"` when `revoked_at IS NULL`, else `"retired"`), `retired_at` (`revoked_at`), `retire_reason` (`null` while active; when retired: `"reinstall"` if a later `node_incarnations` row exists for the same `node_id`, else `"revocation"` if `nodes.lifecycle_state` is `'revoked'` or `'retired'`, else `"supersession"`), and per-incarnation retained `usage` (`upload_bytes` and `download_bytes` decimal strings summed from accepted `usage_samples` rows for `(node_id, incarnation_id)`, plus `through` from `usage_checkpoints.updated_at`). Usage remains permanently attributed to the `(node_id, incarnation_id)` that produced it and never moves to a reinstalled incarnation.
+- **Enrollment Token Digest (`Enrollment.token_sha256`, `ENR-02`, `#191`, `#195`, `#200`, `#210`, `internal/enrollment`, `internal/audit`)**:
+ Every `Enrollment` and `EnrollmentCreated` response (`createEnrollment` initial `201` and idempotent replay, `getEnrollment`, `revokeEnrollment`) includes `token_sha256`, the 64-character lowercase hex encoding of the stored SHA-256 verifier (`node_enrollments.token_hash`), computed once from the plaintext token, while the plaintext `token` is returned only once on initial `201` creation (`EnrollmentCreated.token`) and never stored or replayed. The `enrollment.created` audit event records `changes.after.token_sha256` unredacted (exempt under the `_sha256` suffix rule in `internal/audit`) so operators can correlate the enrollment audit trail with the stored enrollment row without returning the plaintext token in ordinary reads.
+- **Provisional Grant-Less Lease Block Reason & Error Code (`ForwardingBlockReason.awaiting_member_grants` and `ErrorCode.AWAITING_MEMBER_GRANTS`, `D-067`, `D-071`, `#191`, `#193`, `#198`, `#200`, `#206`, `#213`, `#216`, `#223`, `#238`, `#243`, `docs/portal/README.md`)**:
+ Contract revision 11 (`#191`, `#213`) and revision 12 (`#238`, `contracts/examples/valid/ObservationReport.awaiting-member-grants.json`) define `ForwardingBlockReason.awaiting_member_grants` and `ErrorCode.AWAITING_MEMBER_GRANTS` (`apierr.AwaitingMemberGrants` in `pkg/apierr/codes.go`) so, in an otherwise healthy state with published, verified, unexpired desired state and nonempty desired device bindings, `fvpn-agent` (`#198`, `#216`) and `fvpn-control` (`#200`, `#206`, `#243`) report `forwarding_block_reasons: ["awaiting_member_grants"]`, the `lease`, `qos`, and `source_binding` checks as `failed` with `error_code: AWAITING_MEMBER_GRANTS`, one `errors[]` entry at `stage=lease` (`code: AWAITING_MEMBER_GRANTS`, `message: "Serving lease has no member grants yet."`), `safety_status: "passed"`, and `data_health: "healthy"` (never `lease_expired` or `LEASE_EXPIRED`) while a node holds an unexpired same-generation provisional lease with no member grants yet. Independent safety or probe failures retain their own codes and require investigation; the grant wait does not establish safety or data health (see §3.3 item 6 below and [`docs/portal/README.md` §6](../portal/README.md#6-operator-node-detail-notes-provisional-lease-waiting-copy--identity-conflict-d-067-d-071-d-072) for the Portal follow-up 14 `#223` rendering).
+- **Cloned or Duplicated Node Identity Conflict Summary (`NodeDetail.identity_conflict`, `D-072`, `D-073`, `#211`, `#213`, `#217`, `#223`, `#228`, `00112_node_identity_conflicts.sql`, `00187_identity_roaming_and_readiness_grace.sql`, `internal/enrollment/revoke.go`, `internal/nodes/nodes.go`, `docs/pki/enrollment.md`, `docs/nodes/README.md`, `docs/portal/README.md`)**:
+ Contract revision 11 (`#213`) adds nullable `NodeDetail.identity_conflict` (`NodeIdentityConflict`: `mapping_frozen`, `conflict_count`, `last_conflict_at`) to surface cloned-identity freezes (`D-072`, `#211`, with durable roaming candidates in `node_identity_endpoints` under `SELECT ... FOR UPDATE` per `D-073`, `#228`) and `D-055` discovery-ambiguity freezes (`mapping_frozen = true`). In `GET /api/v1/admin/nodes/{node_id}` (`internal/nodes/nodes.go` `GetNode`, `#217`), `identity_conflict` is projected for the node's current certificate incarnation (`nodes.current_incarnation_id` / `node_certificates.serial`) and participates in the node strong `ETag` (`If-None-Match` returns `304 Not Modified` when unchanged), and Portal follow-up 14 (`#223`) renders its three states on `/admin/nodes/{id}` (see [`docs/portal/README.md` §6](../portal/README.md#6-operator-node-detail-notes-provisional-lease-waiting-copy--identity-conflict-d-067-d-071-d-072) and the §3.5 runbook below).
+- **Device re-authorization after a fenced restore (`MemberDevice.authorization_unconfirmed`, `GET /api/v1/admin/devices`, `POST /api/v1/admin/members/{member_id}/devices/{device_id}/authorize`, `D-076`, `D-077`, `D-081`, `SECOPS-18`, `#227`, `#238`, `#244`, `internal/members/httpadapter/handlers.go`, `internal/devices/service.go`, [`docs/members/README.md`](../members/README.md#restored-authorization-does-not-re-grant-d-076))**:
+ Contract revision 12 (`#238`) and wire-members follow-up 10 (`#244`) wire read-only `MemberDevice.authorization_unconfirmed`, `listAdminDevices` (`GET /api/v1/admin/devices`), and `authorizeMemberDevice` (`POST /api/v1/admin/members/{member_id}/devices/{device_id}/authorize`) in `apps/control` on `main`. On `GET /api/v1/member/devices`, `main` (`#244`) **always** emits boolean `authorization_unconfirmed` on every `MemberDevice` (`true` while a `device_authorization_fences` row exists, `false` otherwise; optional in the contract, where absent means a server before `#244` does not project it yet); a fenced device reads `status: pending` and `authorization_unconfirmed: true`, the member cannot re-authorize the device, and a device-limit rejection never sets it. `GET /api/v1/admin/devices?authorization_unconfirmed=true` (`listAdminDevices`) is the operator "which devices need re-authorization after a restore" list: ordered by `(member_id, device_id)` with an opaque filter-bound keyset cursor (`400 MALFORMED_REQUEST` if a cursor is reused across different filters), supporting optional `member_id`, `authorization_unconfirmed`, and `status` filters (`status=pending` includes fenced rows whose underlying `member_devices.status` is still `authorized` because the projected status matches `GET /api/v1/member/devices`; `status=authorized` excludes fenced rows), and returning `AdminDevice` items with `authorization_unconfirmed` and `authorization_unconfirmed_since` (the fence row's `fenced_at` timestamp, or `null` when not fenced). `POST /api/v1/admin/members/{member_id}/devices/{device_id}/authorize` (`authorizeMemberDevice`, admin session, CSRF, new `Idempotency-Key`, no request body) is the only path that re-grants a fenced device and the ordinary admin authorization of a `pending` device: returns `202 Accepted` with operation kind `member.device_authorize` (when a fenced device's underlying `member_devices.status` is still `authorized`, `AuthorizeDevice` returns the device's existing `member.device_authorize` operation while deleting the fence and scheduling `device.sync` — confirmation is `GET /api/v1/admin/devices` or `GET /api/v1/member/devices` showing `status: authorized` and `authorization_unconfirmed: false` after the worker sync, not a new operation row), `404 NOT_FOUND` when the device does not belong to `member_id`, `409 STATE_CONFLICT` when `revoked`, and **`409 DEVICE_LIMIT_REACHED`** when authorizing a `pending` device would exceed the member's device allowance (`D-081`, corrected in `#247`: the shared `Conflict` response and `pkg/apierr` are authoritative). See §6.1 and §7.1 below.
+- **Node usage outbox (`NodeDetail.usage_outbox`, `SECOPS-19`, `D-075`, `D-077 §2`, `#226`, `#238`, `#243`, `db/migrations/00189_node_incarnation_usage_outbox.sql`, `internal/nodes/nodes.go`, `internal/nodes/observations.go`, [`docs/nodes/README.md`](../nodes/README.md))**:
+ Contract revision 12 (`#238`) and wire-nodes follow-up 25 (`#243`, migration `db/migrations/00189_node_incarnation_usage_outbox.sql`) project nullable `NodeDetail.usage_outbox` (`UsageOutboxStatus` fields plus required `observed_at` central receipt time of the accepted observation) on `GET /api/v1/admin/nodes/{node_id}` from `node_incarnations.usage_outbox` JSONB and `usage_outbox_observed_at`. Written in the `SubmitObservationTx` transaction that accepts a non-stale report carrying a `usage` block (the agent's zero shape is projected as zeros; a later report without a `usage` block leaves the stored summary intact; a new incarnation starts with `usage_outbox: null` — never absent on `main` after `#243`), `usage_outbox` participates in the node strong `ETag` (`304 Not Modified` on `If-None-Match`) because accepting an observation increments `nodes.resource_version`, and is strictly informational (never affecting `safety_status`, `provisioning_state`, readiness, leases, or publication; see §3.3 item 6 below).
+- **Fleet Offline Lease Ceiling (`GET /api/v1/admin/fleet-config`, `PUT /api/v1/admin/fleet-config`, `D-065`, `#176`, `#179`, `internal/nodes/httpwire/fleet_config.go`)**:
+ `GetFleetConfig` and `UpdateFleetConfig` expose the singleton `fleet_config.max_offline_lease_seconds` (`60..86400`, `default_max_offline_lease_seconds: 86400`) under strong `ETag` / `If-Match`, `Idempotency-Key`, and a required `reason`, recording an immutable `fleet_config.update` audit event with both `before` and `after` snapshots and returning synchronous `200 OK` `FleetConfig` (see §3.6 below for the operator workflow, HTTP status codes, and lease renewal timing).
+- **Member Groups (`GET /api/v1/admin/groups`, `POST /api/v1/admin/groups`, `D-057`, `D-059`)**:
+ `CreateAdminGroup` writes an immutable `member_groups` row (unique `code` and `name`), records a typed `group.create` audit event on `member_group:`, and stores the idempotent `201 MemberGroup` receipt in one transaction (`replay` returns the original `201` body). `ListAdminGroups` orders by `code`, supports exact `code` filtering and cursor pagination, and counts every attached exit in `exit_count` (including unpublished or offline exits).
+- **Authenticated Resolver Document Delivery (`GET /api/v1/agent/resolver-documents/{document_id}`, `D-056`)**:
+ `GetResolverDocument` authorizes the mTLS-authenticated node's current incarnation and current or immediately previous desired-state generation before consulting `nodes.ResolverDocumentSource` (`store.NewDocumentReader(pool)`). Unknown and unissued document IDs both return `404 NOT_FOUND`. Validated responses stream the exact canonical RFC 8785 JSON bytes (`<= 1 MiB`) with `ETag: "sha256:"`. See §5.1 below and [node wiring](../nodes/WIRING.md) for signed issuance and periodic reconciliation.
+- **Node Enforcement Verification Reasons in `ErrorCode` (contract revision 8 (#164), `docs/contracts/README.md`, `pkg/apierr/apierr.go`, `apps/portal/src/api/errors.ts`)**:
+ Contract revision 8 (#164) adds the nine `node/enforce` verification reasons to the `ErrorCode` enum alongside the existing `METER_PATH_INVALID`, `ISOLATION_BASELINE_MISSING`, and `METER_EPOCH_CHANGE` codes (12 enforcement reasons in total): `ISOLATION_POLICY_INVALID`, `GENERATION_MISMATCH`, `HOOK_PRIORITY_MISMATCH`, `COUNTER_ORDER_INVALID`, `FLOWTABLE_BYPASS`, `DEVICE_CLASS_MISSING`, `QOS_CLASS_MISSING`, `MARK_SEMANTICS_VIOLATED`, and `PROBE_UNBOUNDED`. These codes are mirrored as report-only constants in `pkg/apierr` (without HTTP status mappings) and mapped to operator messages in `apps/portal/src/api/errors.ts`; they appear in `ObservationReport.errors[].code` (`NodeError.code`) and in the `error_code` field of the `source_binding`, `qos`, `lease`, `internet_only`, and `meter_path` entries of `ObservationReport.checks`, and are never returned as a browser-facing HTTP `Error.code`.
+
+---
+
+## 3. Enrolling, Classifying, Publishing, Revoking, Retiring Nodes, and Fleet Lease Config (`§6`, `§7`, `§14.5`, `§16.3`, `D-055`–`D-058`, `D-061`, `D-065`, `D-067`, `D-070`–`D-072`)
+
+Portal pointers: `/admin/groups` lists and creates member groups; `/admin/nodes/{node_id}` shows attached groups and submits replacement attachments with publication under `If-Match`. Its checks table shows sanitized `NodeCheck.detail`. `/admin/policies/dns` shows threat-feed refresh status and the revision cadence. [Portal README](../portal/README.md) and [portal operations](../portal/OPERATIONS.md) remain authoritative for portal behavior; group IDs/codes are admin-only.
+
+### 3.1 Enrolling a New Node or Reinstalling an Existing Node (`POST /api/v1/admin/enrollments`)
+
+2026-11-01 — Installer follow-up 9 ([#378 roadmap row](../ROADMAP.md), [dated hand-off](../node/install-followup9-2026-11-01.md)): `fvpn-agent.service` sets `TimeoutStopSec=15s`; watchdog `Before=fvpn-agent.service` keeps it alive through a joint agent stop. Binary replacement waits up to 20 s per unit; a stop error or timeout journals `stop-failed` and rolls back before touching the candidate, `current` or units.
+
+- **New Node**: Omit `node_id`. Set `delivery: "installer"` (default 15-minute TTL / `900s`) or `"preinstalled"` (default 7-day TTL / `604800s`), plus optional `name`, `region`, `notes`, and `member_group_ids`.
+- **Enrollment Token Digest & Audit Trail (`Enrollment.token_sha256`, `ENR-02`, `#191`, `#195`, `#200`, `#210`, `internal/enrollment`, `internal/audit`)**:
+ `POST /api/v1/admin/enrollments` returns the plaintext `token` (`EnrollmentCreated.token`) **only once** on initial `201` creation (`Cache-Control: no-store`). Every enrollment read (`createEnrollment` initial `201` and idempotent replay, `getEnrollment` at `GET /api/v1/admin/enrollments/{enrollment_id}`, and `revokeEnrollment` at `POST /api/v1/admin/enrollments/{enrollment_id}/revoke`) returns `token_sha256`—the 64-character lowercase hex encoding of the stored SHA-256 verifier (`node_enrollments.token_hash`), computed once from the plaintext token—and the `enrollment.created` audit event records `changes.after.token_sha256` unredacted (exempt under the `_sha256` suffix rule in `internal/audit`) so operators can verify enrollment provenance without storing or exposing the raw token.
+- **Bootstrap & One-Off NetBird Correlation Group (`D-055`, `docs/nodes/WIRING.md`)**:
+ When the enrolled node calls `POST /api/v1/agent/bootstrap` over mTLS, central (`node.provision.requested`) creates a single-use NetBird setup key (`usage_limit=1`, non-ephemeral) whose `auto_groups` contain `fvpn-unpublished-nodes` and a dedicated empty per-enrollment correlation group (`fvpn-enroll-peer-`). The worker's `node.peer.discover` handler (`DiscoverNodePeer`) correlates the unique non-ephemeral, userless peer in that correlation group without hostname, address, or timing inference, records `node::` in `external_bindings`, detaches and deletes the temporary correlation group with read-back, and commits `peer_readback`.
+- **Discovery conflicts, cloned-identity conflicts (`D-072`), and withdrawal**: `correlation_unavailable_revoke_and_re_enroll` means the attempt has lost safe correlation; revoke that attempt and re-enroll. Never infer a peer from its hostname or IP. Revocation reads back deletion of the uniquely correlated peer even before discovery records `peer_id`; ambiguous membership (`D-055`) or a cloned/duplicated node certificate active from two incompatible compatibility domains inside the `120 s` active window (`D-072`, `#211`, `#213`; see §3.5 below) sets `node_incarnations.mapping_frozen = true` (irreversible DB trigger `pki_mapping_frozen`), fails closed (`provisioning_state = 'failed'`, `safety_status = 'failed'`, `member_forwarding_observed = false`), and requires `revokeNode` followed by a fresh enrollment (there is no unfreeze). See [node wiring](../nodes/WIRING.md#d-055-adversarial-read-back-and-withdrawal) and [PKI enrollment](../pki/enrollment.md).
+- **Reinstalling an Existing Node & Incarnation History (`§6.2`, `00111_pki_reinstall.sql`, `AT07`, `ENR-03`, `#191`, `#200`, `#210`, `GET /api/v1/admin/nodes/{node_id}/incarnations`)**:
+ 1. First **revoke** the node's current incarnation (`POST /api/v1/admin/nodes/{node_id}/revoke`) so no active incarnation remains (`409 NODE_INCARNATION_ACTIVE` is returned if an incarnation is still active; `409 NODE_RETIRED` if the node was permanently retired).
+ 2. Call `POST /api/v1/admin/enrollments` with `"node_id": ""` and `"delivery": "installer"`.
+ 3. Run `fvpn-agent enroll -config /etc/vpn-node/agent.json -token-file ` on the node, using the operator-supplied token file. The installer accepts `--token-file` or, when prompting, creates a mode-`0600` `.enroll-token-*` file in the system temporary directory; it provisions no fixed token path. See [token intake](../node/install.md#token-intake-182-enr03). A new `incarnation_id` and mTLS certificate are issued under the same `node_id` (starting unfrozen with `mapping_frozen = false`).
+ 4. Inspect incarnation history via `GET /api/v1/admin/nodes/{node_id}/incarnations` (`listNodeIncarnations`, `internal/nodes/incarnations.go`): incarnations are ordered newest first (`created_at DESC, id DESC`). Once the reinstalled incarnation is enrolled, the prior incarnation shows `state: "retired"`, `current: false`, and `retire_reason: "reinstall"` (whereas a revoked or retired node with no later incarnation shows `retire_reason: "revocation"`, and a retired incarnation on a still-registered node with no later row shows `retire_reason: "supersession"`). Each incarnation retains its own `usage` (`upload_bytes`, `download_bytes`, `through`) summed per `(node_id, incarnation_id)`; usage from a retired incarnation never transfers to the new incarnation.
+- **Read-Only Local Usage Ledger Snapshot & Pure-Read / `ledger_epoch` Rules (`fvpn-agent usage snapshot`, `#225`, `#232`, `ENR-05`, [`docs/node/usage-store.md`](../node/usage-store.md), [`docs/node/usage-upload.md`](../node/usage-upload.md), `node/agent/cmd/fvpn-agent/usage_snapshot.go`, `node/internal/usagestore/store.go`)**:
+ Run `/opt/vpn-node/current/fvpn-agent usage snapshot -config /etc/vpn-node/agent-run.json [-json]` (or `-config /etc/vpn-node/agent.json [-json]`) on the node **before and after an installer re-run or controlled reinstall**, or whenever central shows a node's usage behind. It opens `state_dir/usage.db` strictly read-only (`mode=ro`, `PRAGMA query_only = ON`, `1 s` `SnapshotBusyTimeout`, one deferred SQLite read transaction, without taking `/var/lib/vpn-node/update.lock` or touching `agent.db`, nftables, or the network) and prints `UsageLedgerSnapshot` to stdout: `schema_version`, `node_id`, `node_incarnation_id`, `ledger_epoch` (`null` / `none` until a verified checkpoint is applied), `meter_epochs` (`{meter_epoch_id, state}` in `opened_order`, with `closed` and `current`), `last_event_seq`, `acked_through` (`central_acked_through`), `unacked_count`, `unacked_payload_bytes`, and `unacked_events` (`{event_seq, period_ids, records, payload_sha256}` in `event_seq` order, where each record has `member_id`, `device_id`, `binding_revision`, `period_id`, `upload_bytes`, and `download_bytes`, and `payload_sha256` is the stored lowercase 64-hex SHA-256 of the canonical event JSON). Exit codes are `0` (snapshot written), `1` (I/O or internal error), `2` (usage or config error), `3` (`usage store is absent`), `4` (`usage store is locked`), `5` (`usage store is corrupt`), and `64` (`host_reserve_bps` missing or zero). Under **usage-agent follow-up 2 (`#232`, [`docs/node/usage-store.md`](../node/usage-store.md), [`docs/node/usage-upload.md`](../node/usage-upload.md))**:
+ 1. **`OutboxStatus` and `fvpn-agent usage snapshot` are pure reads:** The forwarding gate (`gate_stopped`) is evaluated and persisted **only** by `meter.Health` -> `EvaluateGate` on the agent run loop, never by `(*usagestore.Store).OutboxStatus` (used by `ObservationReport.usage` and `usageupload` threshold checks) or `fvpn-agent usage snapshot`. Two reads with no commit and no ACK between them leave `usage.db`, its WAL, and its SHM byte-identical.
+ 2. **`ledger_epoch` stays `null` (`none`) until a verified recovery checkpoint is accepted:** On `UsageOutboxStatus`, `fvpn-agent usage snapshot`, and `UsageBatchRequest`, `ledger_epoch` remains `null` (text `none`) until a signed recovery checkpoint (`ApplyCheckpoint`, `recovery` purpose) has been verified and applied—even when `central_acked_through > 0` (a normal `SubmitUsageBatch` ACK advances `central_acked_through` and never sets `ledger_epoch`).
+ Because `ApplyACK` archives outbox rows through the new watermark and updates `central_acked_through` (`acked_through`) in one SQLite write transaction, a concurrent `usage snapshot` observes either the pre-ACK `(acked_through, unacked_events)` pair or the post-ACK pair—**never a torn state**—and two snapshots with no commit or ACK between them are byte-identical (`TestSnapshotNotTornDuringACK` and `TestSnapshotFieldSetAndIdentical` in `node/internal/usagestore/snapshot_test.go`). Across an installer re-run that keeps `usage.db` on the same `(node_id, node_incarnation_id)` (`AT06`, `ENR-05`), the pre- and post-re-run snapshots must preserve the identical `node_id`, `node_incarnation_id`, `ledger_epoch`, `meter_epochs` IDs (`meter_epoch_id`), `last_event_seq`, `acked_through` watermark, and unacknowledged `unacked_events` (`event_seq`, `payload_sha256` hashes, and per-record byte totals).
+- **Node host installer (`#239`, `AT07`)**: Follow [`docs/node/install.md`](../node/install.md) for `fvpn-node-install`, the verified-download bootstrap `deploy/node/install.sh`, and `deploy/node/systemd/` units. Ubuntu 24.04 LTS on amd64/arm64 and pinned NetBird `0.82.0` are the supported baseline; the kernel minimum remains 待實測.
+ - `install` verifies the release and enrolls when identity is absent. A matching re-run returns `already_current` without restarting units or changing identity, `usage.db`, update journal, or last-good state; unit/mode drift can return `repaired`.
+ - `check --json` is read-only: exit `0` means healthy, `2` means drifted.
+ - `upgrade` stages the verified archive and `/var/lib/vpn-node/update-staging/pending-release.json`, then starts the updater service. It does not move `current`. The updater consumes it on its next `run` or `fvpn-updater apply --pending` (#253); staging is not a completed upgrade. See §4.3 for seed evidence and the still-pending central acceptance.
+ - `remove` deletes only installer-recorded owned resources. Identity, `usage.db`, and update journal survive unless `--purge` is supplied. It never runs `nft flush ruleset`.
+ - `reenroll --token-file ` retires identity and agent state under `/var/lib/vpn-node/identity.retired//`, keeps `usage.db`, and enrolls a new incarnation. The old outbox retains its old incarnation; it is not automatically re-homed or uploaded by the new identity.
+ - `image-prepare --i-am-building-an-image` removes generated identity and usage state for image creation; `firstboot` consumes a separate `0600` `/var/lib/vpn-node/firstboot.token`. Never put that token in the image. This enables distinct incarnations on clones.
+ - Tokens use a `0600` regular `--token-file` (or the interactive prompt); `--token` on argv is refused with exit `64`. `latest` is refused. Mutations use journal-first rollback under `/var/lib/vpn-node/install/`. Exit codes are `0` success, `1` failed, `2` drifted, `3` busy, `4` unsupported platform, `5` dependency, `64` usage.
+ - Installer/container proofs enable the AT07 re-run (identity and `usage.db` preserved), controlled reinstall (`usage.db` retained), and image-clone preconditions. Assembled acceptance still owes ENR-02 central rejection of the retired certificate, retained historical node/ledger verification, and hardware clone boot. See [`docs/node/install.md`](../node/install.md) and the dated enrollment evidence below.
+- **Enrollment Acceptance Harness (`#173`, `#182`, `#187`, `#195`, `#200`, `#210`, `#229`, `#233`, `#239`, `#240`, `D-078`, [`docs/e2e/at/enrollment/RUN.md`](../e2e/at/enrollment/RUN.md), [`docs/e2e/at/enrollment/summary.md`](../e2e/at/enrollment/summary.md), [`docs/e2e/at/enrollment/requests.md`](../e2e/at/enrollment/requests.md), [`docs/e2e/at/enrollment/AT06.md`](../e2e/at/enrollment/AT06.md), [`docs/e2e/at/enrollment/AT07.md`](../e2e/at/enrollment/AT07.md), [`docs/e2e/RUN.md`](../e2e/RUN.md))**:
+ The records-first enrollment acceptance driver (`tests/e2e/at/enrollment/run.py` and `tests/e2e/at/enrollment/live_test.go`, `#173`, `#187`, `#210`, `#229`) drives `AT06` (token delivery modes, expiry, single-use, correlation-group peer discovery, raw-token log/response redaction, and `ENR-02` `Enrollment.token_sha256` on `createEnrollment` initial `201` + replay, `getEnrollment`, `revokeEnrollment`, and unredacted `enrollment.created` `changes.after.token_sha256`) and `AT07` (CSR key-usage/SAN discipline, mTLS enforcement, revocation fence, reinstall under the same `node_id` with a new `incarnation_id`, retirement `409 NODE_RETIRED`, and `ENR-03` `GET /api/v1/admin/nodes/{node_id}/incarnations` before and after reinstall with `retire_reason: "reinstall"`, `bound_public_key_sha256`, and per-incarnation retained usage). Initially recorded as `blocked` on `ENR-01` because the orchestrator's assigned `66000` was never a legal port base, it runs on stack `w4-enroll` / port base `12000` after devstack follow-up 11 (`#182`) added slots `12000` and `6000` to the 10-slot port base table (`6000 + 6000*n`, `n = 0..9`), passing `95/95` subchecks in enrollment follow-up 1 (`#187`) and `105/105` executed subchecks (`46/46` in `AT06`, `59/59` in `AT07`, run `20261030T203711Z`) in enrollment follow-up 2 (`#210`). In **enrollment follow-up 3 (`#229`, run `60a7102e-b824-4927-a576-62033f458157` / `60a7102e`)**, `ENR-08` is closed as a product gap (`ObserveEndpointTx` runs on production lease renewal and observation submit in `#211`, and `GET /api/v1/admin/nodes/{node_id}` projects `identity_conflict` in `#217`), **`AT06` is `blocked` (`254 pass / 1 blocked / 0 fail` — subset passed, case blocked)**, and **`AT07` is `blocked` (`15 pass / 7 blocked / 0 fail` — subset passed, case blocked)**. The single blocked item in `AT06` is `rate_limit_review`: two HTTP `429 RATE_LIMITED` responses on limiter class `browser` (`BrowserRate` `10/s`, burst `30` on `GET /api/v1/admin/audit-events` and `GET /api/v1/admin/nodes/{id}/incarnations`), where `audit_read`, `issue_reinstall`, and `incarnation_history` passed after honouring `Retry-After`. Under **`D-078` (`#229`)**, a `429` that carries `Retry-After` and whose retry succeeds is the limiter working as specified; harnesses report the counts as evidence, and calibration stays with `control` (control follow-up 21 `#233` reviewed `browser_rate` and confirmed `10/s` burst `30`; see §7.4 and [`calibration.md` §1.8](calibration.md)). `AT07` remains **subset passed, case blocked** in `#229` on `ENR-07` (`StartClonedIdentityFixture` in `#229` attached `node-clone` to the same IPv4 `/24` lab networks `172.28.38.0/24` and `192.0.11.0/24`, so `Observe` recorded one endpoint row, zero conflicts, and `identity_conflict: {mapping_frozen: false, conflict_count: 0, last_conflict_at: null}`; devstack follow-up 14 `#240` exported the second `/24` network `172.29..0/24` and `RerunInstaller` / `ControlledReinstall` for `ENR-05` / `ENR-06` alongside `fvpn-node-install` `#239`).
+
+### 3.2 Updating Node Region, Member Groups, or Capacity (`PATCH /api/v1/admin/nodes/{node_id}`)
+
+**2026-11-03 — Restart with changed deny / host sets, at #407.** With
+agent-core 36 (#401) on main, a restart on the same boot with a changed
+`denied_v4`, `extra_denied_v4` or `host_v4` no longer adopts the previously
+installed sets. Any growth, shrink or replacement refuses same-boot adoption:
+the node takes its baseline, with member forwarding closed, and serves members
+again only after its first full Apply, which installs the configured sets. A
+busy node lock or a control timeout can delay that Apply; the node keeps the
+baseline meanwhile, never the old sets, and no maximum delay is stated.
+Unchanged sets, reordered or duplicated, still adopt. SIGHUP still does not
+reload these fields. See the
+[agent-core 36 dated hand-off](../node/followup36-restart-and-signals-2026-11-01.md).
+Netlab 27 (#405) now detects sets changed underneath a running agent through
+periodic live reads of exact denied_v4 / host_v4 interval coverage. Missing,
+extra or tainted coverage fails closed with ISOLATION_POLICY_INVALID; serving
+is withdrawn until a verified Apply. TestAT13_F27_PeriodicLiveSetDriftWithdrawsServing
+proves withdrawal without another Apply, and
+TestAT13_F27_UnrecordedApplyRefusesRestartAdoption proves baseline on restart
+after an unrecorded Apply. See the [final #405 roadmap row](../ROADMAP.md).
+
+**2026-11-03 — Refused-restart accounting fixed in #429 (r20 H-1).**
+A refused same-boot adoption settles pending usage under durable attribution
+before refreshing desired state or admitting replacement bindings. Boot and
+usage epochs distinguish known identities from ambiguous crash history;
+unknown ownership still produces an honest mapping-conflict gap. Settlement
+failure keeps forwarding closed until recovery. The old unconditional retained-
+model attribution is not a guarantee: 38–40 corrected its crash-window and
+epoch limits. See [the merged judgments](../reviews/README.md#r20-to-r25-dispositions-at-the-follow-up-39-cutoff-2026-11-03-est).
+This closes the r20 H-1 warning, without promising lossless accounting for
+unknowable provenance or changing F30-01's separate update behavior in §4.3.
+
+**2026-11-03 — Reload behavior after #429 (r24 H-1 fixed).**
+Healthy unchanged enforcement is retained after the agent compares the complete
+model and pending work under the node lock and freshly verifies the live rules,
+allow elements and member path. A successful unchanged 304 poll no longer
+performs a full Apply. Meter sampling, heartbeat, authorization checks and
+watchdog expiry continue; retention never slides a signed deadline.
+
+Lease renewals, changed authorization or model inputs (including device/member
+deadlines, rates, sets and topology), pending revocations and required repair
+still take their enforcement path. Failed live verification withdraws or
+repairs according to the existing fail-closed rules. Sibling expiry re-decides
+and Applies surviving bindings on the same tick; individual kernel cutoffs
+remain independent, and last-binding or node-level expiry still closes.
+
+Actual installs retain the current guard under **D-145**. In-flight TCP
+segments can still drop during a reload. Netlab 30's seven traced missing
+egresses matched guard drops; all observed reads recovered by retransmission,
+worst 416.7 ms. Its windows/full suite were host-unqualified, and B1's earlier
+1,501.4 ms failed read remains unexplained. The 28.5 ms median / 94.7 ms maximum
+outer command brackets are historical measurements, not outages or guarantees.
+Netlab 32 changed install order; #429 removes unnecessary unchanged-tick
+installs. **No hitless hand-over is implemented and no C1 benefit is promised.**
+C1 stays unimplemented; netlab 31/32's design and revision remain history.
+Reopen only with field complaints or measured member-visible impact after
+r24 H-1's merged fix. See [follow-up 39](follow-up-39.md).
+
+**Scheduled acceptance boundary.** #424's at-isolation readiness fix is merged.
+Local run 9f1bc0ff passes the two previously unlisted rows; this cut supplies
+no first scheduled exercise. AT11's native platform matrix and AT13's full
+fault matrix remain operator rows. The earlier 41456092596 AT10 pass inherited
+readiness and is not qualified. **F30-01 remains known behaviour with no merged
+fix or verified production restart procedure.**
+
+First fetch the node (`GET /api/v1/admin/nodes/{node_id}`) and capture the response `ETag` header (`""`). Supply `If-Match` and `Idempotency-Key` (`428 Precondition Required` if `If-Match` is missing; `412 Precondition Failed` if stale):
+
+`[Verified on dev/test stack]`
+```bash
+curl -fsS -X PATCH "https://vpn.example.com:8443/api/v1/admin/nodes/${NODE_ID}" \
+ -H "Cookie: __Host-fvpn-admin=${ADMIN_SESSION}" \
+ -H "X-CSRF-Token: ${ADMIN_CSRF_TOKEN}" \
+ -H "Origin: https://vpn.example.com" \
+ -H "If-Match: \"${ETAG}\"" \
+ -H "Idempotency-Key: $(uuidgen)" \
+ -H "Content-Type: application/json" \
+ -d '{
+ "name": "tw-tpe-01",
+ "region": "tw-tpe",
+ "member_group_ids": [
+ "01950000-0000-7000-8000-000000000001"
+ ],
+ "capacity": {
+ "down_bps": "900000000",
+ "up_bps": "900000000",
+ "member_down_bps_cap": "100000000",
+ "member_up_bps_cap": "100000000"
+ }
+ }'
+```
+*(To clear an explicit capacity ceiling and revert to policy defaults, send `"clear_capacity": true` and omit `"capacity"`. Updating `member_group_ids` or `capacity` increments `desired_config_generation` and returns `202 Accepted` with a `node.update` operation; metadata-only changes to `name` or `notes` return `200 OK`. In the Admin Portal (`#235`, `apps/portal/src/pages/admin/AdminNodeDetailPage.tsx`), `/admin/nodes/{id}` caches the `ETag` from `202 Accepted` responses and shows the saved banner only after the post-save refetch settles.)*
+
+### 3.3 Publishing, Disabling, and Unpublishing Exits (`PUT /api/v1/admin/nodes/{node_id}/publication`)
+
+Exit publication controls whether member devices route traffic through the node (`§5.2`, `§7.3`, `D-057`, `docs/nodes/WIRING.md`):
+- `"published"`: Creates/enables the NetBird exit route (`0.0.0.0/0`) and `member-to-exit` policy for the exit's attached `exit_groups` (`group_ids` / `member_group_ids`), and sets `publication_intent: "published"` in the node's signed desired state. Requires the node to have a valid incarnation, `provisioning_state = "ready"`, an approved serving release (`409 MINIMUM_VERSION_VIOLATION` or `409 STATE_CONFLICT` otherwise), and non-empty `exit_groups` so `netbird_route_readback` can complete.
+ - **Atomic group attachment (`D-057`, `exits.SetPublicationTx`):** `PublicationRequest.group_ids` is persisted atomically under the node/exit locks and `If-Match` alongside the publication intent, single generation/version advance, operation, outbox event, and `exit:` audit row. Omitting `group_ids` preserves existing membership, `[]` clears it, and a non-empty array replaces it (`422` with `/group_ids` detail if any group UUID is unknown). `NodeDetail` exposes the sorted membership in both `group_ids` and `member_group_ids`. A group disappearing after validation also returns `422 VALIDATION_FAILED`, detail path `/group_ids`, message `unknown group`; the entire membership/publication transaction rolls back. Refresh the groups and node ETag before correcting and resubmitting.
+- `"disabled"`: Temporarily removes the node from member exit routing (`node.disable`) while keeping the node enrolled and online for diagnostics or updates.
+- `"unpublished"`: Withdraws the exit publication (`node.unpublish`).
+
+`[Verified on dev/test stack]`
+```bash
+curl -fsS -X PUT "https://vpn.example.com:8443/api/v1/admin/nodes/${NODE_ID}/publication" \
+ -H "Cookie: __Host-fvpn-admin=${ADMIN_SESSION}" \
+ -H "X-CSRF-Token: ${ADMIN_CSRF_TOKEN}" \
+ -H "Origin: https://vpn.example.com" \
+ -H "If-Match: \"${ETAG}\"" \
+ -H "Idempotency-Key: $(uuidgen)" \
+ -H "Content-Type: application/json" \
+ -d '{
+ "publication_intent": "published",
+ "group_ids": [
+ "01950000-0000-7000-8000-000000000001"
+ ],
+ "reason": "Exit readiness checks verified"
+ }'
+```
+Poll the returned operation and node detail; completion requires `status == "succeeded"` and `publication_observed == "active"`. A failed operation needs investigation, not indefinite polling.
+
+If publication returns `422 NODE_NOT_SERVICEABLE` before creating an operation, inspect readiness, capacity, and baseline checks first.
+
+**Publication `data_path_probe`, zero-binding rule, and attachment basis (`SECOPS-11`, `#148`, `#160`, `internal/nodes/publication_evidence.go`, `internal/nodes/publication_gate.go`, `internal/exits/publication_gate.go`, `docs/nodes/WIRING.md`):** `data_path_probe` fails with `NODE_NOT_SERVICEABLE` unless the current incarnation's selected observation satisfies `PublicationForwardingEvidence` for the issued signed `DesiredStateEnvelope` at the acknowledged generation:
+
+1. The agent reports `member_forwarding_enabled: true`, `provisioning_state: ready`, `data_health: healthy`, `safety_status: passed`, `tunnel_probe: passed`, and a nonzero `applied_config_generation` at least as new as the operation's requested generation.
+2. **With one or more `device_bindings` in the signed envelope:** `lease.lease_id` must be a nonzero UUID with `lease.expires_at` in the future, and `lease`, `qos`, and `source_binding` must all report `passed`.
+3. **Zero-binding published generation (`device_bindings: []`, `#148`):** When the current incarnation's issued signed envelope (`desired_state_envelopes.payload->'signed'`) at the acknowledged generation has `publication_intent = "published"` and an explicit empty `device_bindings` list (`[]`), `lease`, `qos`, and `source_binding` may be `passed` or `not_run` and no armed member lease is required. Any check reporting `failed` still blocks publication (`check_failed`).
+4. **Publication attachment basis, first-populated-generation gate, and `D-074` gated `node.publish` waiting state (`#160`, `#224`, `D-074`, `internal/nodes/publication_gate.go`, `internal/exits/publication_gate.go`, `docs/nodes/WIRING.md`):**
+ - Before a `node.publish` operation completes, `RecordPublicationAttachmentTx` records `publication_attachment_state` and `publication_attachment_basis` (`empty_exception` when the acknowledged signed envelope had `device_bindings: []`, or `populated_verified` when it had one or more `device_bindings`) in `operations.observed_refs`.
+ - **Gated `node.publish` waiting state (`D-074`, `#224`, `internal/nodes/publication_gate.go`, `docs/nodes/WIRING.md`):** When a `node.publish` operation stays `running` with `agent_policy` or `data_path_probe` in `status: "pending"`, `error_code: "NODE_NOT_SERVICEABLE"`, and `message: "member_forwarding_unconfirmed (lease_unconfirmed)"`, central is waiting for the node to apply the latest compiled configuration generation and report passing serving checks (`exits.publication_observed` remains unchanged, or `"withdrawn"` if an empty-exception route was withdrawn first); the step clears automatically on the next qualifying observation and worker pass, and transitions to `status: "failed"` (`publication_observed: "error"`) only if the worker retry budget (`worker_attempts` = 10 attempts, ~4.3–8.5 minutes of jittered exponential backoff from 1s to 300s) is exhausted, at which point you should verify node health and re-issue `PUT /api/v1/admin/nodes/{node_id}/publication`.
+ D-107 (#287) appends the bounded cause for admin and node readers in revision 13 `Operation.steps[].message`; see the [dated publication diagnostics note](../nodes/2026-10-31-publication-gate-cause.md). D-074 is unchanged: held publication stays `running`; a polling timeout is not a failure. Display the diagnostic string directly, without interpreting it as a new reason enum. D-101 (#275) closed Portal CI red since #259 by obtaining a real serving lease via `POST /api/v1/agent/lease-renewals`; fixtures never fabricate lease evidence.
+ - **What `publication_observed = 'withdrawn'` with cause `member_forwarding_unconfirmed` means and how it clears:** When the most recent succeeded `node.publish` operation used `empty_exception` and the first populated desired-state generation (`device_bindings` non-empty) is compiled, `QueuePublicationGateTx` queues a `node.publish` operation under `system:publication-gate` via `node.publication_changed`. While the node's observation is still on an older generation (`stale_generation`) or lacks passing `lease`, `qos`, and `source_binding` checks (`serving_checks_unconfirmed`), `failGatedPublish` under the per-node advisory lock (`fvpn:publication:`) withdraws the NetBird route (`WithdrawExit`), confirms its absence or disabled state via `ReadExitState`, sets `exits.publication_observed = 'withdrawn'` while keeping `publication_intent = 'published'` (recording the fixed failure cause `member_forwarding_unconfirmed` with the specific gate reason in the step `reason`, bounded retry, and a D-029 `node.publish` transition audit on `exit:` under `system:publication-gate`), and `CheckPublicationDelivery` withholds the populated desired-state envelope with retryable `503 DEPENDENCY_UNAVAILABLE` (`"Publication route verification pending."`) until withdrawal is confirmed. Once withdrawal is confirmed, the node fetches and applies the populated desired-state generation and submits an observation with passing `lease`, `qos`, and `source_binding` checks; observation progress then queues a fresh recovery `node.publish` operation under `system:publication-gate` that re-attaches and reads back the NetBird route, transitions `exits.publication_observed` back to `'active'` (with a D-029 `node.publish` audit), and establishes `publication_attachment_basis = 'populated_verified'`.
+ - **`populated_verified` attachments never block delivery:** Once `populated_verified` is recorded, this gate never withdraws the route and never blocks `GET /api/v1/agent/desired-state` (`200 OK`), including when adding a second binding or revoking a device while NetBird is unavailable.
+5. **Operation step `reason` vocabulary (`internal/nodes/publication_evidence.go`, `#243`):** When `data_path_probe` is held in `pending` (`D-074`, `#224`) or fails after retry exhaustion, the stored step `reason` records one bounded cause; for admins, `PublicationGateMessage` exposes it in the public step `message` as ` ()`, such as `member_forwarding_unconfirmed (lease_unconfirmed)`: `forwarding_disabled`, `stale_generation`, `tunnel_not_passed`, `check_failed`, `serving_checks_unconfirmed`, `isolation_unconfirmed`, `readiness_unconfirmed`, or `lease_unconfirmed` (`publicationForwardingFailure` in `#243` evaluates `check_failed` before `forwarding_disabled` so a node with `member_forwarding_enabled: false` and a failed `lease`, `qos`, or `source_binding` check such as `AWAITING_MEMBER_GRANTS` reports `check_failed`).
+6. **Agent heartbeat `ObservationReport.forwarding_block_reasons`, reading the provisional window (`D-067`, `D-071`), lease `Retry-After`, host preflight, `VerifyServing` whole-ruleset & `D-079` loopback rules (`#220`, `#241`), bounded `conntrack -D` retries, revoke `nodes` step outcomes (`D-070`, `#217`), one-shot stale-generation grace (`#217`, `#228`), and `NodeDetail.usage_outbox` (`#226`, `#232`, `#238`, `#243`) (`#146`, `#156`, `#159`, `#162`, `#164`, `#166`, `#172`, `#191`, `#193`, `#194`, `#196`, `#197`, `#198`, `#200`, `#202`, `#206`, `#213`, `#216`, `#217`, `#220`, `#223`, `#226`, `#228`, `#232`, `#238`, `#241`, `#243`, `docs/node/README.md`, `docs/nodes/README.md`, `docs/portal/README.md`, `docs/poc/G2-netlab.md`, `node/agent/revocation.go`, `node/agent/decide.go`, `node/agent/plane.go`, `node/agent/sync.go`, `node/enforce/apply.go`, `node/enforce/verify.go`, `node/enforce/verify_foreign.go`, `internal/leases/leases.go`, `internal/nodes/nodes.go`, `internal/nodes/observations.go`):**
+ - For grant-less lease reports, see the [provisional-window entry](#33-publishing-disabling-and-unpublishing-exits-put-apiv1adminnodesnode_idpublication) below. Revision 11 (`#213`, `#216`) names that provisional state `AWAITING_MEMBER_GRANTS`: the node lease for this generation is inside its anchored deadline and `config_generation` equals the desired generation, but `lease.members` is empty while desired `device_bindings` is non-empty. In an otherwise healthy state with published, verified, unexpired desired state and nonempty bindings, the `lease`, `qos`, and `source_binding` checks carry `AWAITING_MEMBER_GRANTS`, with the sole lease-stage error `Serving lease has no member grants yet.` and passed safety. A retained Apply error or missing dependency overrides those three check codes; the independent lease-stage awaiting-grant error remains. Safety and probe-derived data health are computed independently, so their failures retain their codes and require investigation. The grant wait itself is not a deadline failure or a malformed policy. A passed deadline stays `lease_expired` / `LEASE_EXPIRED` (`Serving lease is not in force.`). A generation mismatch stays `policy_missing` / `STALE_GENERATION`. An empty desired `device_bindings` list carries neither reason nor this code. The step that applies a new desired generation attempts a serving-lease renewal when eligible, subject to the existing attempt and retry gates, and admits bare IPv4 `allowed_ipv4` addresses in lease bindings as `/32`.
+ - **Reading the provisional window (`D-067`, `D-071`, `#191`, `#193`, `#194`, `#198`, `#200`, `#201`, `#206`, `#213`, `#216`, `#223`, `node/agent/sync.go`, `node/agent/decide.go`, `internal/leases/leases.go`, `internal/nodes/nodes.go`, `internal/nodes/observations.go`, [`docs/portal/README.md` §6](../portal/README.md#6-operator-node-detail-notes-provisional-lease-waiting-copy--identity-conflict-d-067-d-071-d-072)):** A node that just restarted or just got published may receive a grant-less lease (`members: []`) from central (`RenewTx`, which includes member grants only when `lifecycle_state == "registered" && publication_intent == "published" && provisioning_state == "ready"`, the mapping is not frozen, and the group list is nonempty; `#194` also preserves `provisioning_state = "ready"` across concurrent generation advances once initial readiness is achieved) while `DesiredState.device_bindings` is non-empty. During this provisional window, an otherwise healthy node with published, verified, unexpired desired state and nonempty desired bindings reports the `lease`, `qos`, and `source_binding` checks as `failed` with `AWAITING_MEMBER_GRANTS`, one `errors[]` entry at `stage=lease` (`code: AWAITING_MEMBER_GRANTS`, `message: "Serving lease has no member grants yet."`), block reason `awaiting_member_grants` (`forwarding_block_reasons: ["awaiting_member_grants"]`), `safety_status` `passed`, and `data_health` `healthy`. For a grant-less lease, central sets `expires_at = issued_at + min(max_offline_seconds, 60s)` only when the node is published and registered and either not ready or its mapping is frozen; other grant-less leases keep the ordinary fleet offline expiry. The agent's planned grant-less renewal spacing starts at one heartbeat capped at `60 s` and doubles up to that cap; the renewal lead can shorten it and server `Retry-After` can lengthen it. **The grant wait alone is not an incident in that otherwise healthy state. Independent safety or probe failures retain their own codes and need investigation; an expired lease remains `LEASE_EXPIRED` / `lease_expired`.** (See [`docs/portal/README.md` §6](../portal/README.md#6-operator-node-detail-notes-provisional-lease-waiting-copy--identity-conflict-d-067-d-071-d-072) for how the Admin Portal renders this waiting state on `/admin/nodes/{id}`, `#223`.) If `AWAITING_MEMBER_GRANTS` / `awaiting_member_grants` persists beyond a few minutes, check desired bindings (`device_bindings` and exit group attachments) and the member's entitlement (`service_state: "active"` and an active subscription or finite grant), then check `fvpn-worker` (`outbox_events` and worker readiness/logs) and whether the node has reached `provisioning_state = "ready"`.
+ - **D-087 (#250): every accepted grant-less lease has a renewal schedule, even before desired bindings arrive. Planned renewal spacing starts at one heartbeat capped at 60 s and doubles up to that cap; the lease renewal lead can shorten it and server `Retry-After` can lengthen it. A populated lease additionally needs a published generation with eligible member bindings, accepted readiness, and a responsive control service. A scheduled request slot is not completed I/O: ongoing work, request latency and server `Retry-After` can delay completion. Empty bindings do not stop renewal.** Planned slots do not bound actual attempts: ongoing work and request I/O can delay them.
+ - **Single-attempt lease renewal and `Retry-After` (`#162`, `#166`, `node/internal/controlclient/api.go`, `node/agent/sync.go`, `node/agent/decide.go`):** `controlclient.Client.RenewLeaseOnce` returns `StatusError` (`RetryAfter`, `RetryAt`) immediately while `Client.RenewLease` waits out `Retry-After` without a second request. The agent normally calls `RenewLeaseOnce` at most once per step (`e.leaseAttempted`); verified closed-recovery generation catch-up can reset that attempt gate when a new applied generation becomes available, while still honouring monotonic `e.leaseRetryAt` (`Input.LeaseRetryPending`). The first identity freeze also explicitly resets the attempt and retry gates before its immediate renewal (`node/agent/freeze.go`). A valid lease remains authorized during `Retry-After`, subject to all other forwarding gates. When the lease check passes, its detail is `"Lease renewal is waiting for Retry-After; the current lease remains in force."` Backoff alone does not assign `RATE_LIMITED` to a failed lease check: generation mismatch, provisional grants and ordinary lease failure retain their precedence, and retained Apply or dependency errors override the lease, QoS and source-binding checks.
+ - **D-085 live serving verification (#260, #264):** The agent verifies live nft/tc state three times per serving step: before reconciliation, after Apply before the ACK, and before the heartbeat. Each read has a budget of `min(1 s, min(heartbeat, poll)/2)`. The lab host measurement was **52.6 ms per serving step**; this is not a hardware guarantee. A rejected live generation read can enter eligible same-generation repair using the current lease: the failed read is reported first, then a successful repair verifies and acknowledges that generation. Without eligible successful repair, the agent withdraws serving with the specific reason and withholds acknowledgement. `ErrorCode.TC_FOREIGN_FILTER` is now the real 500-class, non-retryable, node-local code (#261): a foreign tc filter on a member-facing link fails the serving gate. D-093: a shared error-code enum change is a behavior change for every lane that looks codes up dynamically.
+ - **D-090 containment boundary (#262):** After validating the datapath, `enforce.Quarantine(ctx, executor, model)` independently attempts to record recovery intent as an empty owned nft set `quarantine_` in `inet fvpn`, lower the applied model’s member-facing link, and install and read back the no-probe baseline; it never deletes foreign tc objects. `enforce.Quarantine` does not change the agent’s serving state: `rejectServing` calls the agent’s quarantine wrapper and then `withdraw`. Containment is confirmed when the link reads back down and the baseline is verified. A returned error means the quarantine procedure did not complete; a marker failure alone can return an error while containment is confirmed. The agent remains non-serving. Quarantine evidence in `ObservationReport.errors` uses `initial_quarantine` for the wrapper’s first call, `quarantine` for its latest call, and `apply_quarantine` for Apply’s own quarantine. The wrapper reports `quarantine_incomplete` at `quarantine` only when its own quarantine call returns an error. Agent-core follow-up 22 (#272) wires it at `rejectServing` through the Apply executor. Retained applied models survive baselines and restart as containment evidence only; live and Apply-triggered failures retain sanitized evidence. **The agent raises a link recorded by quarantine only after a clean full Apply verification with that link held down**. Clearing containment and restoring serving additionally require a passing member-path check (D-096: hashes of the pre-Apply local topology and the applied peers’ member route). Live lab: zero bypass packets after quarantine, control path still working. Another privileged daemon (NetBird) may raise a member link between steps: re-containment on the next step is proven, uninterrupted containment is not. Uplink filters are outside member-link containment. Netlab follow-up 14 (#285) now measures D-096 on the native IPv4 NetBird-owned path; D-108 keeps NetBird as the route/address owner while the agent waits. Installer-owned transit and IPv6 configurations remain outside that closure. D-100: topology expectations refresh only through a clean verified Apply of a newer published generation; no out-of-band override.
+ - **Host prerequisites, `VerifyServing` whole-ruleset & `D-079` loopback rules (`#220`, `#241`), bounded `conntrack -D` retries, revoke `nodes` step outcomes (`D-070`, `#217`), and one-shot stale-generation grace (`#217`, `#228`) (`#156`, `#159`, `#162`, `#164`, `#166`, `#172`, `#193`, `#194`, `#196`, `#197`, `#202`, `#206`, `#216`, `#217`, `#220`, `#228`, `#241`, `node/agent/plane.go`, `node/agent/revocation.go`, `node/internal/agentstore/store.go`, `node/enforce/apply.go`, `node/enforce/verify.go`, `node/enforce/verify_foreign.go`, `internal/nodes/nodes.go`, `internal/nodes/observations.go`, `docs/nodes/README.md`, `docs/poc/G2-netlab.md`):**
+ - `SystemPlane.MissingExecutables()` (`#162`, `#166`) uses `enforce.Executor` directly to preflight `nft`, `tc`, and `ip` and calls `enforce.RequireConntrack(p.executor())` at startup before installing the boot baseline; a missing binary keeps forwarding off with `safety_check_failed`, logs only the executable name, and reports `DEPENDENCY_UNAVAILABLE` at stage `preflight` plus failed `lease`, `qos`, and `source_binding` checks (`DEPENDENCY_UNAVAILABLE`).
+ - **Whole-ruleset nftables read-back, foreign-chain verification (`#220`, `r14` M-3), and `D-079` loopback-scoped foreign rules (`#241`, `node/enforce/verify_foreign.go`, `node/enforce/doc.go`, [`docs/poc/G2-netlab.md`](../poc/G2-netlab.md)):** `VerifyServing` reads the **whole** host nftables ruleset (`nft -j list ruleset`), not only `table inet fvpn`. A base chain outside `inet fvpn` on `prerouting`, `forward`, or `postrouting` in families `ip`, `ip6`, `inet`, or `bridge`, or on `ingress` or `egress` of the member ingress (`Datapath.MemberIngress`) or uplink (`Datapath.Uplink`) device (including a `netdev` or `inet` `ingress`/`egress` chain with no device), that can rewrite payloads (`mangle`), set `meta mark` or `ct mark` (fails with `MARK_SEMANTICS_VIOLATED`), disable conntrack (`notrack`), NAT (`snat`, `dnat`, `masquerade`, `redirect`, `nat`), `queue`, `drop`, `reject` (or has chain policy `drop` or `reject`), offload via `flow`/`xt` or attach a foreign `flowtable` to `Datapath.MemberIngress`/`Datapath.Uplink` (fails with `FLOWTABLE_BYPASS`), or `jump`/`goto` into a chain containing any of those statements (or has no priority, an unknown hook, or an unresolvable jump target — fails with `ISOLATION_POLICY_INVALID`), fails serving verification closed (`member_forwarding_enabled=false`, `safety_status=failed`) with verification reason `ISOLATION_POLICY_INVALID`, `MARK_SEMANTICS_VIOLATED`, or `FLOWTABLE_BYPASS` (detail: `table family hook priority chain statement `, or with rule handle `table family hook priority chain handle statement ` when the rule carries a nonzero handle). Under **`D-079` (`#241`, `w1-netlab` follow-up 11, `node/enforce/verify_foreign.go`, [`docs/poc/G2-netlab.md`](../poc/G2-netlab.md))**, a foreign rule whose native `ip` or `ip6` `saddr` or `daddr` payload match (single address, prefix, address range, or anonymous set of addresses/prefixes/ranges) lies **entirely inside loopback** (`127.0.0.0/8` for `ip`, `::1/128` for `ip6`) cannot match member transit traffic (`100.64.0.0/10`) or non-loopback uplink traffic; `VerifyServing` accepts that scoped rule; `LoopbackEvidence` returns it as **`loopback_scoped`** in `[]ForeignEvidence` (`Class`, `Table`, `Family`, `Chain`, `Hook`, `Handle`, `HasHandle`, `Match`) instead of failing closed as `FLOWTABLE_BYPASS`. By contrast, `xt` matches and table/chain names (`DOCKER_OUTPUT`, `DOCKER_POSTROUTING`) prove nothing, `jump`/`goto` targets are still walked unless the jump rule itself is loopback-scoped, and any non-loopback NAT or packet rewrite on a crossed hook still fails closed (`FLOWTABLE_BYPASS`, `ISOLATION_POLICY_INVALID`, or `MARK_SEMANTICS_VIOLATED`) with `handle ` in the detail. Foreign tables and chains that only match, count (`counter`), `log`, `accept`, or `continue` are tolerated at any priority, as are `input` and `output` chains, family `arp`, and `ingress`/`egress` chains bound to devices other than `Datapath.MemberIngress` and `Datapath.Uplink`. **Operator consequence:** host firewall managers (`ufw`, `firewalld`) and Docker or any other NAT for non-loopback traffic must **not** run on a production exit node (`loopback_scoped` in read-back evidence is informational).
+ - `VerifyServing` (`#172`, `node/enforce/verify.go`, `node/enforce/parse_nft.go`) accepts only the rendered model inside `inet fvpn`: every `accept` rule in `forward` must be a verified serving accept (member DNS to `@resolver_v4:53` after upload `@allowed_v4` drop, per-device upload/download accept after `@denied_v4` and `@host_v4` drops, or download `ct state established,related` after download `@allowed_v4` drop) or a verified probe accept (`ct state related` counts as established; upload and download `@allowed_v4` drops are tracked separately; `@resolver_v4` exact match, `@denied_v4`/`@host_v4` drops, and non-53 drop `ctbadns` to `@resolver_v4` are required with or without a probe; only chains `{forward, input, output, postrouting}` are allowed in `inet fvpn` keyed by `(family, table, name)` with duplicates rejected; `input` accepts before drops and `interval` flags on `allowed_v4`, `probe_v4`, `probe_dst_v4`, and `resolver_v4` are rejected). `Render` (`#172`) unconditionally merges `Datapath.SNAT/32` into `@host_v4` and unions `SpecDeniedV4()` with `ExtraDeniedV4` (when the node's uplink sits on a public on-link L2 subnet, the operator must include that prefix and gateway IP in `ExtraDeniedV4`).
+ - In `enforce.Apply` (`#156`, `#159`, `#172`, `#196`, `#197`, `#202`, `#216`), after the combined nftables and tc read-back in `verifyServing` succeeds, `Apply` populates `verified.Counters` and `verified.Samples` (`Samples` skips unbound devices and zero metadata) before running the `m.Revoke` loop, and attempts `deleteConntrack` (`conntrack -D -s ` and `conntrack -D -d `) for every address in `m.Revoke` before returning `*ConntrackDeleteError{Pending, Failed}` (`ApplyResult.Verified = true`), where revocation entries are keyed by `(addr, device_id, member_id)` (`addrID` in agent revocation planning), `pendingAfterFailure` retains distinct pending or previous identities whose address is both in `Failed` and in the address set returned by `planRevokes`. `planRevokes` omits current triples when collecting addresses, but retention then filters by address: a re-admitted triple can remain when another identity at the same address still requires revocation, and an address in local SQLite `applied_address` that was migrated with nil `DeviceID`/`MemberID` and later reassigned to a non-nil `(DeviceID, MemberID)` binding is queued for `conntrack -D` (`#216`) so pre-existing flows cannot survive reassignment.
+ - **How to interpret `ISOLATION_POLICY_INVALID` on a serving vs. non-serving node, the 12-attempt fail-closed bound, revoke `nodes` step outcomes (`D-070`), and the exit-group + `90 s` freshness fence (`#164`, `#166`, `#193`, `#194`, `#202`, `#206`, `#217`):** When `plane.Apply` returns `res.Verified == true` alongside a conntrack delete failure (`enforce.IsConntrackDeleteFailure(err)`) and the durably reserved serving-Apply delete-batch count remains below 12 (`1..11`), the verified nftables ruleset has already removed the revoked bindings from `@allowed_v4` and drops their upload and download packets ahead of `ct state established,related accept`. Therefore, `fvpn-agent` (`#166`) **keeps the verified serving ruleset installed (`member_forwarding_enabled: true`, local heartbeat `serving`, and `internet_only`, `qos`, `source_binding`, and `meter_path` checks `passed`)**, persists the failed `(addr, device_id, member_id)` entries under `pending_revocations` in local SQLite `meta` (merged with any newly dropped addresses on later generations and retried on every apply tick until `conntrack -D` succeeds), and reports one `NodeError` in `ObservationReport.errors` with `code: ISOLATION_POLICY_INVALID`, `stage: "apply"`, and `message: "conntrack delete pending; serving ruleset verified"`. By contrast, after **twelve durably reserved serving-Apply delete batches** leave deletes pending (`maxConntrackDeleteAttempts = 12`; a crash or earlier Apply failure can consume a slot before deletion, and restart does not reset the count) or immediately when the `conntrack` binary is missing after preflight, `fvpn-agent` stops serving and attempts the fail-closed baseline (`e.plane.Baseline`, implemented by `SystemPlane.Baseline` through `enforce.ApplyBaseline`). In this conntrack-blocked state, operators see `member_forwarding_enabled=false`, `safety_status=failed`, and `forwarding_block_reasons` includes `safety_check_failed`; other reasons can coexist. With the baseline in force, `internet_only=failed` has `error_code: ISOLATION_POLICY_INVALID` and detail `"Conntrack delete exceeded the retry bound."` or `"Conntrack is not installed."`; without it, `internet_only` fails with `ISOLATION_BASELINE_MISSING`, meaning isolation is not confirmed. A retained `stage: "apply"` error makes `lease`, `qos` and `source_binding` fail with its code: the enforcement check's reason when it is a valid API code, otherwise `HEALTH_CHECK_FAILED`. Without a retained Apply error, a missing executable makes those checks fail with `DEPENDENCY_UNAVAILABLE`. While either failure is retained, `forwarding_block_reasons` includes `safety_check_failed` and the agent does not acknowledge the generation. An Apply failure outside the verified conntrack-delete exception, or a live verification failure routed to `rejectServing`, stops serving and attempts the baseline. For an eligible live `GENERATION_MISMATCH`, `repairGeneration` reports the failure before retrying the same generation with the current lease. A successful repair clears the error without a baseline; a failed repair stops serving and attempts the baseline. Separately, `METER_PATH_INVALID` on `meter_path` means the backend is not `kernel` or the meter failed; it adds `meter_path_invalid` and by itself does not withhold the generation acknowledgement.
+ - **Captured `nodes` step outcomes:** `BeginOperationCapture` starts the member/device operation capture before external synchronization; `FinishOperationCaptureTx` finishes it in the worker receipt transaction. Compiles for an unfinished capture record affected exits with node, incarnation and generation pins. Completion requires a finished capture and no pending target; every fresh pending target holds it, even without an isolation error. See [capture and acknowledgement](../../internal/nodes/operation_targets.go) and [database evidence and concurrency](11-database-and-retention.md#operation-captures-and-evidence).
+ 1. **Acknowledgement:** the applied generation must be at least the pin, issued to that node and reporting incarnation, and received by the database no earlier than compilation. Additions require clean, ready evidence. Verified fail-closed evidence can settle only targets where the subject is absent. Pending isolation is per target; the public step remains `pending` with `ISOLATION_POLICY_INVALID` and `member_forwarding_unconfirmed`, while `node.revoke_isolation_pending` / `node.revoke_isolation_resolved` retain reason/resolution audit evidence.
+ 2. **Outstanding removals:** every compile records removed subjects; capture imports their highest outstanding removal generation without lowering a newer addition pin. Replacement selection uses the highest prior envelope across incarnations. Later compiles do not move a finished capture’s pins; incomplete captures and pins survive retryable external failures and cannot time out into applied evidence.
+ 3. **Unconfirmed:** non-acknowledged targets become `unconfirmed` for revoked/retired lifecycle, missing or more-than-90-second-old observation/contact, or non-online status, with reasons `node_revoked`, `node_retired`, `observation_stale`, `contact_stale` and `node_offline`. Report-triggered observation age is relative to that report’s `observed_at`, and contact age to central receipt; the scheduled sweep uses its current time for both. Success can include unconfirmed targets and does not mean every target acknowledged.
+ 4. **Completion evidence:** an empty capture completes with `node_operation_capture:` evidence, never `not_required`. Late eligible ACKs update targets without reopening success. Per-target outcomes are database/audit evidence; the API/UI has no target-detail surface. The public step fields remain `name`, `status`, `required`, `error_code`, `message` and `observed_at`.
+ - **One-shot stale-generation grace (`#217`, `#228`, `r14` M-2, `D-075`, `db/migrations/00187_identity_roaming_and_readiness_grace.sql`, `internal/nodes/observations.go`, [`docs/nodes/README.md`](../nodes/README.md)):** While an incarnation is already `provisioning_state = "ready"`, it has at most one outstanding stale-observation allowance. To preserve readiness below the desired generation, the report must claim readiness, have effective safety `passed`, report a positive generation at least as high as the stored applied generation, and find `node_incarnations.stale_generation_grace_at IS NULL`; the reported-peer binding check must also pass when applicable. A further stale report with the mark set is downgraded to `"applying"`, even if the desired generation changed again. Under **`D-075` (`#228`, migration `00187_identity_roaming_and_readiness_grace.sql`)**, an observation that updates current node state sets the mark to `observed_at` only when grace preserves readiness; otherwise it clears the mark to `NULL`, including on catch-up or downgrade. Advancing the desired generation alone does not reset the mark. The inline query in `SubmitObservation` reads this domain column so **readiness and grace decisions never read `audit_events`** (`stale_generation_grace: true` remains in the `node.observation_applied` audit event payload as informational metadata; the grace decision uses the domain column).
+ - **Live usage outbox status in observations and `NodeDetail.usage_outbox` (`SECOPS-19`, `D-075`, `D-077 §2`, `#226`, `#232`, `#238`, `#243`, `db/migrations/00189_node_incarnation_usage_outbox.sql`, `node/agent/usage_status.go`, `internal/nodes/nodes.go`, `internal/nodes/observations.go`, [`docs/node/README.md`](../node/README.md), [`docs/nodes/README.md`](../nodes/README.md), [`docs/node/usage-store.md`](../node/usage-store.md)):** Each `ObservationReport` (`POST /api/v1/agent/observations`) carries `ObservationReport.usage` (`UsageOutboxStatus`) read from the open local usage store (`state_dir/usage.db`, `(*usagestore.Store).OutboxStatus` under a `2 s` `usageStatusBoundDefault` bound): `ledger_epoch` (which stays `null` until a verified recovery checkpoint `ApplyCheckpoint` has been accepted, even when `central_acked_through > 0`, `#232`), `meter_epoch_id`, `last_durable_event_seq`, `central_acked_through`, `blocked_seq`, `unacked_event_count`, `unacked_payload_bytes` (`unacked_payload_bytes`), `oldest_unacked_at`, and `acked_archive_bytes` (sending the zero shape before the store is open or when a read fails, reusing the last successful status from the process on a `2 s` deadline timeout, logging `usage status available` or `usage status unavailable: ` once per state transition, and never evaluating or persisting `gate_stopped` — which is evaluated only by `meter.Health` -> `EvaluateGate` on the agent run loop, `#232` — or adding an `errors[]` entry or changing `safety_status`, `provisioning_state`, or member forwarding). On `main` (`#226`, `#238`, `#243`, migration `db/migrations/00189_node_incarnation_usage_outbox.sql`), central stores `ObservationReport.usage` both inside `node_observations.report_payload` and on `node_incarnations.usage_outbox` JSONB + `usage_outbox_observed_at` in `SubmitObservationTx` whenever a non-stale report carries a `usage` block (the agent's zero shape is projected as zeros; a later report without a `usage` block leaves it intact; a new incarnation starts with `usage_outbox: null` — never absent), and projects **`NodeDetail.usage_outbox`** (`UsageOutboxStatus` fields + `observed_at`) on `GET /api/v1/admin/nodes/{node_id}` participating in the node strong `ETag` (`""`, `304 Not Modified` on `If-None-Match`; operators can also read the node's local SQLite ledger directly via `fvpn-agent usage snapshot -config /etc/vpn-node/agent-run.json [-json]`, `#225`, `#232`).
+
+The publication gate is agent evidence that forwarding is armed, not a traffic measurement. The [security-ops follow-up 4 publication record](../e2e/at/secops/publication.md) verifies both live halves of `SECOPS-11` (`422 VALIDATION_FAILED` when capacity is unset, then `202 -> succeeded` on a zero-binding published generation under `#148`), the [members follow-up 3 forwarding record](../e2e/at/members/history/follow-up-3/forwarding-observation.md) proves counted member forwarding (`0 -> 2214/2411` bytes, origin `200`) once the client selects the advertised exit, [devstack follow-up 9 (`#153`)](../e2e/followup9-verification.md), [devstack follow-up 10 (`#170`)](../e2e/RUN.md), [devstack follow-up 13 (`#204`, `#219`)](../e2e/RUN.md), and [devstack follow-up 14 (`#240`, [`docs/e2e/runs/2026-10-31/followup14/run.md`](../e2e/runs/2026-10-31/followup14/run.md))](../e2e/runs/2026-10-31/followup14/run.md) install `conntrack` and `tcpdump` in `deploy/devstack/Dockerfile.node`, add real device revocation/replacement (`device-revoke`), a dedicated updater probe peer (`FVPN_E2E_PROBE=1`, `update-good` with `probe_omission_count=0`, exported as `Stack.ProbePeer`, `Stack.ProbeWatchContainer`, and `Stack.WaitForProbeDatagram` in `#204`), 60-peer native admission, and a **second real exit lab hook** (`Stack.StartSecondExit` / `EnrollAt(..., "node2")` via `deploy/devstack/compose.yaml` `second-exit` profile, verified by `TestSecondExit` / `second-exit` as an operator-run prerequisite for multi-exit `AT09` and `AT21`), and the [security-ops follow-up 5 records (`#165`)](../e2e/at/secops/history/follow-up-5/README.md) verify counted serving flow through the selected exit ([`counted-flow.json`](../e2e/at/secops/history/follow-up-5/counted-flow.json), `SECOPS-09` closed with `0 -> 399` upload / `0 -> 678` download bytes, `usage_events = 2`, `usage_rollups = 4`, and zero `probe_up`/`probe_down` leakage), post-revoke control/node coherence ([`post-revoke.json`](../e2e/at/secops/history/follow-up-5/post-revoke.json), `F3-02` passing), `AT29` deadline and watchdog faults ([`deadlines.json`](../e2e/at/secops/history/follow-up-5/deadlines.json)), and the `AT31` 2-device counted-capacity subset ([`capacity.json`](../e2e/at/secops/history/follow-up-5/capacity.json)). In addition, [portal follow-up 10 (`#175`), follow-up 13 (`#208`), follow-up 14 (`#223`), and follow-up 15 (`#235`)](../../apps/portal/e2e/portal.spec.ts) replace single-shot post-operation DOM reads with auto-retrying web-first Playwright assertions (`toBeVisible`, `not.toHaveCount(0)`, `toContainText`), `OperationBanner` settlement checks, live-suite assertions that operations are never observed `failed` under default worker concurrency `4`, operator copy for the provisional lease window (`awaiting_member_grants` / `AWAITING_MEMBER_GRANTS`) and `NodeDetail.identity_conflict` (`D-072`), and cached `202` `ETag` handling on `/admin/nodes/{id}` showing the saved banner only after the post-save refetch settles; [agent follow-up 14 (`#181`)](../../node/agent/review_d063_test.go) synchronizes meter review sampling via `manualUsage` / `Meter.Barrier` (`node/agent/engine_test.go`), proves `Meter.Run` skips an `ErrBusy` tick without losing counters (`TestMTR03_RunSkipsBusySampleWithoutLosingCounters` in `node/internal/meter/meter_test.go`), and pins the test clock in `TestProbeException_AbsentChallengeDoesNotInstall` (`node/agent/probeexc_test.go`); [devstack follow-up 11 (`#182`)](../e2e/followup11-verification.md), [devstack follow-up 12 (`#196`, `#199`)](../e2e/scenarios/device-revoke.md), [devstack follow-up 13 (`#204`, `#219`, run `4c97ebef`)](../e2e/scenarios/device-revoke.md) (`26 pass / 1 blocked / 0 fail`), and **[devstack follow-up 14 (`#240`, [`docs/e2e/runs/2026-10-31/followup14/run.md`](../e2e/runs/2026-10-31/followup14/run.md))](../e2e/runs/2026-10-31/followup14/run.md)** (**`29 pass / 0 blocked / 0 fail`** acceptance suite in run `4e3e9487-fe0f-4d88-a396-d5d5fa4a8e1d` and **`16 pass / 0 blocked / 0 fail`** harness export suite in run `0a687f3a-2351-4234-b43d-882109267967`, [`docs/e2e/README.md`](../e2e/README.md), [`docs/e2e/RUN.md`](../e2e/RUN.md), [`docs/e2e/requests.md`](../e2e/requests.md), [`docs/e2e/scenarios/gateway-principals.md`](../e2e/scenarios/gateway-principals.md), [`docs/e2e/scenarios/device-revoke.md`](../e2e/scenarios/device-revoke.md)) exercise lab `trusted_proxies` (`/32` gateway trust) and nginx `X-Forwarded-For` (`gateway-principals`, `fvpn-e2e-nodeconfig http-burst`), add the **TEST ONLY** finite-grace prepare option (`fvpn-e2e-prepare -grace-seconds N` / `FVPN_E2E_GRACE_SECONDS`, `SECOPS-04`), prove controlled stale-client revocation (`Stack.PauseNativeControl` `SIGSTOP` in `device-revoke` with 3-point `tcpdump` capture confirming `peer_tx_packets > 0`, `mor0_rx_packets == 0`, and `uplink_packets == 0` after `#196`) plus **strict post-revoke member-ingress proof on `fvmb0`** (`#219`, `Stack.InjectMemberIngress` and `Stack.ObserveMemberIngress` via `fvpn-netlab inject`: a frame injected on `fvmb0` with the revoked device's overlay IPv4 raises the `inet fvpn forward` drop counter `ctunku` by `1` while `u_` stays `0` and nothing leaves `fvup0` or reaches the origin, an admitted sibling device on the same member moves `u_` by `1` and reaches the origin, and the 4th replacement device is counted on the same agent PID; `ENR-05` and `ENR-06` `RerunInstaller` and `ControlledReinstall`, production `D-072` cloned-identity conflict across a second `/24` lab network `172.29..0/24` on `node-clone`, `worker-restart` `SIGKILL` PID 1 with `/readyz` within `30 s`, `past_due` keeping `paid` `SECOPS-17`, and lab-only removal of Docker's embedded-DNS `ip nat` rules in the node container entrypoint all pass in `#240`), add read-only node resource telemetry (`Stack.StartNodeTelemetry` at `5s` cadence sampling cgroup v2 CPU/memory, process FDs, and `nf_conntrack_count` — workload measurement only, not hardware certification), and expand the port base table to 10 slots (`6000 + 6000*n`, `n = 0..9`: `12000` assigned to `w4-enroll`, `6000` reserved, `18000..60000` unchanged, `66000` rejected); [enrollment follow-up 3 (`#229`, run `60a7102e-b824-4927-a576-62033f458157`)](../e2e/at/enrollment/history/follow-up-3/summary.md) ([`requests.md`](../e2e/at/enrollment/requests.md), [`AT06.md`](../e2e/at/enrollment/AT06.md), [`AT07.md`](../e2e/at/enrollment/AT07.md)) closes `ENR-08` on the production cloned-identity caller and records `AT06` (`254` passing, `1` blocked, `0` failed; blocked item is `rate_limit_review` browser-class `429`s on `GET /api/v1/admin/audit-events` and `GET /api/v1/admin/nodes/{id}/incarnations` that succeeded after `Retry-After` under `D-078`) and `AT07` (`15` passing, `7` blocked, `0` failed; blocked on `ENR-07` second-`/24` lab network export and `ENR-05`/`ENR-06` devstack wiring) as **subset passed, case blocked**; [members follow-up 5 (`#201`)](../e2e/at/members/history/follow-up-5/summary.md) and [follow-up 6 (`#231`, run `80db103b-622c-42b1-946d-4628daaa213d`)](../e2e/at/members/history/follow-up-6/summary.md) ([`README.md`](../e2e/at/members/history/follow-up-6/README.md), [`requests.md`](../e2e/at/members/history/follow-up-6/requests.md), [`AT02.md`](../e2e/at/members/history/follow-up-6/AT02.md), [`AT09.md`](../e2e/at/members/history/follow-up-6/AT09.md)) pass **`AT02`** (follow-up 6: `42/0` subchecks, proving strict post-withdrawal `fvmb0` ingress injection via `Stack.ObserveMemberIngress` where the revoked device `100.104.160.29` raises `ctunku` `0 -> 1` with `0` forwarded bytes and `0` device counter changes while the admitted sibling `100.104.242.187` moves `u_` `31 -> 32` and `d_` `22 -> 23` and reaches `fvup0` and `origin`), **`AT03`**, and **`AT08`** (`3 pass / 7 blocked / 0 fail` in each run; `382` and `384` passing subchecks, `0` failed subchecks), while the remaining `7` cases stay **subset passed, case blocked** on lab/device resources and follow-up 6's `AT09` measures the `D-067` / revision 11 provisional window (`awaiting_member_grants` + `AWAITING_MEMBER_GRANTS` at `stage=lease`, never `lease_expired`) after a `node2` cold restart on unchanged generation `23` at **`36.976 s`** to serving-ready and **`41.695 s`** to first counted member byte; [isolation follow-up 3 (`#207`, previously reported run `c359fa37-61e0-4469-9f73-5a1e60949c3b`)](../e2e/at/isolation/history/follow-up-3/summary.md) and [isolation follow-up 4 (`#237`, run `fa0074cc-3b1a-403d-b8c2-3a3439fe2b7e`)](../e2e/at/isolation/history/follow-up-4/summary.md) ([follow-up 4 run record](../e2e/at/isolation/history/follow-up-4/AT10.json); the follow-up 3 archive lists a different run) record that follow-up 3 (`#207`) passes `AT10` with counted positives on every destination case and records `AT11`, `AT12`, and `AT13` as **subset passed, case blocked** on designed gaps with owners (`AT13` `60 s` whole-node expiry via `PUT /api/v1/admin/fleet-config` and finite-member expiry under control loss pass; remaining subchecks blocked on `ISO-08`), while follow-up 4 (`#237`, run `fa0074cc-3b1a-403d-b8c2-3a3439fe2b7e` on `205633f` before `#240`/`#241`) failed closed before member admission because Docker's embedded DNS `table ip nat` (`OUTPUT -> DOCKER_OUTPUT` / `POSTROUTING -> DOCKER_POSTROUTING` `xt` `DNAT`/`SNAT` for `127.0.0.11`) triggered `#220` `FLOWTABLE_BYPASS` (`0 pass / 4 blocked / 0 fail` on assembled `AT10`–`AT13` while mechanism controls `lab-AT10`–`lab-AT13` passed); [current usage follow-up 7](../e2e/at/usage/README.md) has later results; the earlier [usage follow-up 2 (`#214`, previously reported run `2393df75-6261-42bc-99b4-df3c57c4b741`)](../e2e/at/usage/history/followup2/summary.md) (the archive lists a different run) recorded passes `AT14`–`AT18` live on counted serving flow while `AT19` was **subset passed, case blocked** (`USG-04` multi-device HTB contention and `USG-05` dynamic line-rate shaping); and [security-ops follow-up 8 (`#221`, run `0f5fb60d-f6a7-45c6-8ebe-175e0a480bd8`)](../e2e/at/secops/history/follow-up-8/AT30.md) and [follow-up 9 (`#242`, run `42396951-2d9a-49f4-95c3-45f33d9519d5`)](../e2e/at/secops/history/follow-up-9/AT30.md) ([`restore-reconcile.md`](../e2e/at/secops/restore-reconcile.md), [`summary.md`](../e2e/at/secops/summary.md), [`requests.md`](../e2e/at/secops/requests.md)) measure the live `AT30` second half on `w4-secops`/`30000` (in `#221`, central database restored to `T0` in `3.64 s`, 2-minute `120.12 s` fail-safe negative, 5-step `fvpn-usage-admin` recovery protocol with `5/5` retained-node events replayed, `105.94 s` protocol RTO, `111.51 s` total outage RTO, `116.651 s` pre-replay database RPO, `0 s` post-replay service usage RPO, and provider reconciliation passed while `AT30` was blocked on `SECOPS-18`; in **follow-up 9 `#242`, run `42396951-2d9a-49f4-95c3-45f33d9519d5`**, **`AT30` passed live** — `1 pass / 4 blocked / 0 fail` across `AT28`–`AT32` — closing `SECOPS-18` `D-076` `#227`, `SECOPS-19` `#226` & `#225`, and `SECOPS-05` with `7.17 s` isolated PITR, `6/6` checklist sections, `120.12 s` fail-safe negative, `3/3` retained-node events `78833` B + `1` post-`T1` event `10160` B replayed, `90.301 s` pre-replay database RPO, `0 s` / `0 B` post-replay service usage RPO, `112.35 s` protocol RTO, `121.88 s` total outage RTO, `SECOPS-19` `3` unacked events / `"2352"` B during `reconciling` -> `0` after `complete-recovery`, and `D-076` fence + two negatives + `AuthorizeDevice` re-grant proven on `peerM2D2` `01a18f9b-a2a0-728f-8482-b08cc9b1a3ee`).
+
+**Updated isolation evidence (`#237`, `#246`, 2026-10-30 EDT):** follow-up 4 was blocked before admission by Docker NAT. Follow-up 5 records AT10 `7 pass / 1 blocked / 0 fail`, AT11 `2 pass / 1 blocked / 0 fail`, AT12 `9 pass / 1 blocked / 0 fail`, AT13 `6 pass / 1 blocked / 0 fail`: **subset passed, case blocked** for every full AT. See the [dated acceptance table](../ops/README.md#follow-up-13-acceptance-snapshot-2026-10-30-edt); the older follow-up 3 measurements above are historical.
+
+Production exit nodes must not run Docker or any other NAT for non-loopback traffic. D-079 `loopback_scoped` evidence is informational; `xt` matches and chain/table names prove nothing. Native loopback scope must be demonstrated by the verifier. See [calibration §1.7](calibration.md).
+
+### 3.4 Node Egress Probe & Sanitized Check Details (`D-058a`, `D-058b`, `#171`, `node/agent/probe.go`, `node/agent/probeexc.go`)
+
+Each node's observation report (`POST /api/v1/agent/observations`) includes three required checks (`internet_only`, `dns_policy`, `tunnel_probe`):
+- **Signed `egress_probe` precedence (`D-058a`)**: When `DesiredState.egress_probe` is non-null on an in-force desired state (`1..4` TCP IP-literal targets, `timeout_ms` `100..10000` default `2000` ms), `fvpn-agent` dials every listed target and ignores the local `/etc/vpn-node/agent.json:egress_probe_target`. If a signed `egress_probe` is structurally invalid, `tunnel_probe` fails closed (`status: "failed"`, `data_health: "degraded"`) without falling back to the local target. When `DesiredState.egress_probe` is null or absent, the agent dials `egress_probe_target` if configured.
+- **Sanitized `NodeCheck.detail` and `probe_omitted` precedence (`D-058b`, `#168`, `#171`, `docs/node/README.md`, `node/agent/probeexc.go`, `node/agent/attest.go`)**: `NodeCheck.detail` is bounded to `1..500` single-line printable ASCII characters and sanitized on both agent and central ingest so URLs, tokens, secret keys, file paths, SQL, and stack traces never enter `node_observations` or the Admin Portal. Normally, `tunnel_probe.detail` reports which egress probe source ran (`"Egress probe used the signed targets."`, `"Egress probe used the local target."`, `"Egress probe used no extra target."`, or `"Signed egress probe was rejected."`). When a live matching `health-challenge.json` carries `probe_omitted {peer_id, reason}` (`#168`, `#171`, because the updater's D-063 issuer refused the configured `probe_peer`), `tunnel_probe.detail` instead reports `"probe_omitted: "` (taking precedence over the `ProbeSource` sentence, never containing the peer ID or any address, and retained across sidecar removal or consumption until a later challenge carrying `probe` or `probe_omitted` replaces it), while `tunnel_probe` remains `status: "not_run"` and `data_health` remains `"unknown"` with member forwarding closed (`ProbeRan = false`).
+
+Node detail also includes typed `dns_policy_evidence` from the selected current-incarnation observation. The admin node page labels it as node-reported and shows document ID, digest, generation, outcome, applied time, error code and per-feed evidence. `null` means not reported; neither a newer desired policy nor successful document delivery is substituted as proof of apply. Members see the explanation at `/member/dns-protection`; support must inspect the admin evidence for them.
+
+**2026-11-01 — Node diagnostics (#386).** Adding a trace, or another foreign
+nft table or rule, to a node closes that node by design when it fails the
+fail-closed verifier: `ISOLATION_POLICY_INVALID` makes the agent install the
+deny baseline until the rule is removed and serving verification succeeds.
+The TEST ONLY unscoped `meta nftrace set 1` in a foreign `mangle` table caused
+this in devstack 25; it was harness interference, not a product defect.
+Diagnose from the member side, or capture packets without touching the node's
+ruleset. See the [dated devstack 26 analysis](../e2e/runs/2026-11-01/followup26/analysis.md).
+
+**RELATED ICMP on main (D-147, #432).** IPv4 fragmentation-needed
+(type 3, code 4) from spec-denied outer sources now reaches an admitted member
+when conntrack marks it RELATED to an allowed member connection. The three
+resolver/denied/host-source accepts meter it once as **download**, using the
+device's existing counter and priority. Isolation 19's four source-set lab
+rows pass with exact usage, including overlap. This grants no upload access
+to those sources, probe exception, unsolicited download or IPv6 forwarding.
+Time-exceeded and every other ICMP from spec-denied sources still drop, so
+**traceroute still gets no reply from those hops**. D-152 confirms upload
+denial at the applicable destination rule, with zero upload usage; rule order
+is unchanged. Isolation's assembled run is blocked at capacity PATCH 412,
+so the real-node D-147 row is not exercised. [Cut evidence](follow-up-40.md).
+
+**Members F11-01 (D-148) remains OPEN and upstream-dependent.** There is no
+product, pin, daemon or architecture change. The orchestrator reported the
+::1 response-source boundary with public evidence in
+[NetBird discussion 8473](https://github.com/netbirdio/netbird/discussions/8473)
+on 2026-11-03. This assigns no common cause to the other historical delivery
+failures and promises no resolution date.
+
+### 3.5 Revoking (`POST .../revoke`), Retiring (`DELETE /api/v1/admin/nodes/{node_id}`), Incarnation History (`GET /api/v1/admin/nodes/{node_id}/incarnations`), and Cloned-Identity Conflict Runbook (`D-072`, `#211`, `#213`, `#217`, `#223`)
+
+- **Revoke (`POST /api/v1/admin/nodes/{node_id}/revoke`)**:
+ Immediately revokes the node's current mTLS client certificate (`node_certificates`), revokes its serving lease, unpublishes its NetBird exit route, and deletes its NetBird peer (`AT07`, `AT13`, `internal/nodes/httpwire/revocation_adapter.go`). The `node_id` remains in `revoked` state and can be reinstalled with a new incarnation (`§6.2`).
+- **Retire (`DELETE /api/v1/admin/nodes/{node_id}`)**:
+ Permanently decommissions the node (`lifecycle_state = 'retired'`). A retired node can never be re-enrolled (`409 NODE_RETIRED`), while historical usage events and audit logs remain intact (`§7.1`).
+- **Incarnation History & Per-Incarnation Retained Usage (`GET /api/v1/admin/nodes/{node_id}/incarnations`, `listNodeIncarnations`, `ENR-03`, `#191`, `#200`, `#210`, `internal/nodes/incarnations.go`)**:
+ Lists every incarnation of `node_id` newest first (`created_at DESC, id DESC`, cursor-paginated). Each item reports `state` (`"active"` vs. `"retired"`), `current`, `bound_public_key_sha256`, `bound_at`, `retired_at`, `retire_reason` (`null` while active; `"reinstall"` when a later incarnation exists for the same `node_id`; `"revocation"` when `nodes.lifecycle_state` is `'revoked'` or `'retired'` with no later incarnation; `"supersession"` when retired while the node remains registered without a later row), and retained `usage` (`upload_bytes`, `download_bytes`, `through`) summed per `(node_id, incarnation_id)` from accepted `usage_samples` and `usage_checkpoints`. Usage is retained per incarnation across revocations and reinstalls.
+- **Cloned or Duplicated Node Identity Runbook (`D-072`, `D-073`, `#211`, `#213`, `#217`, `#223`, `#228`, `00112_node_identity_conflicts.sql`, `00187_identity_roaming_and_readiness_grace.sql`, `internal/enrollment/revoke.go`, `internal/nodes/nodes.go`, `internal/nodes/observations.go`, [`docs/pki/enrollment.md`](../pki/enrollment.md), [`docs/nodes/README.md`](../nodes/README.md), [`docs/portal/README.md` §6](../portal/README.md#6-operator-node-detail-notes-provisional-lease-waiting-copy--identity-conflict-d-067-d-071-d-072))**:
+ - **What the product detects**: On authenticated `agent-mtls` requests (`POST /api/v1/agent/lease-renewals` and `POST /api/v1/agent/observations`; GET routes never touch `node_identity_endpoints` or `node_identity_conflicts`), `httpapi.New` attaches the verified leaf certificate and coarsened client compatibility domain (`httpapi.ClientCompatibilityDomain`, derived via `requestRateKey` honouring `X-Forwarded-For` only when `r.RemoteAddr` is in configured `trusted_proxies`, coarsened to **IPv4 `/24`** or **IPv6 `/48`**, and SHA-256 hashed server-side as `"fvpn:node-endpoint:v1|" + domain` into `node_identity_endpoints.endpoint_hash`; raw client IPs and CIDRs are never stored in PostgreSQL, emitted in `audit_events`, or logged). Inside the caller's transaction (`RenewServingLease` before lease issuance and `SubmitObservation`), `Enrollment.ObserveEndpointTx` (`internal/enrollment/revoke.go`) locks the `node_identity_endpoints` row with `SELECT ... FOR UPDATE` (`D-073`, `#228`) and checks whether the same node certificate / incarnation (`(node_id, incarnation_id)`) is active from two incompatible compatibility domains interleaved inside the **`120 s` active window (`DefaultIdentityActiveWindow = 120 * time.Second` / `120s`)**:
+ - **Roaming rule (`X → Y`, not a conflict; durable under `D-073` `#228`, `db/migrations/00187_identity_roaming_and_readiness_grace.sql`)**: A single clean handoff from domain `X` to domain `Y` (`Y` first seen while `X` was seen inside `120 s` — **Roaming rule (`X → Y`, not a conflict)**) is treated as **roaming** (DHCP lease renewal, dual-WAN failover, or ISP renumbering): `X` stays mapped in `node_identity_endpoints` while `Y` is durably persisted as the roaming candidate in `node_identity_endpoints` (`candidate_hash`, `candidate_first_seen_at`, `candidate_last_seen_at`) under `SELECT ... FOR UPDATE` — so two `fvpn-control` replicas or a process restart never lose the candidate state — and promoted to `endpoint_hash` (clearing the candidate columns) only after `X` has been quiet for a full `120 s` (`now - last_seen_at >= 120s`).
+ - **Interleaving rule (conflict)**: It is a cloned-identity conflict when requests interleave `X → Y → X` while `Y` is still inside the `120 s` active window (`now - candidate_last_seen_at < 120s`), when `Y` and `X` are both seen within one `120 s` window twice (`candidate_last_seen_at >= candidate_first_seen_at` and `last_seen_at >= candidate_first_seen_at`), or when a third compatibility domain `Z` (`Z != X` and `Z != Y`) appears while both `X` and `Y` are inside the `120 s` active window.
+ - **What happens**: Central records a conflict row in `node_identity_conflicts` (incrementing `conflict_count` and updating `last_observed_at` on repeats), sets `node_incarnations.mapping_frozen = true` (guarded by the irreversible `pki_mapping_frozen` database trigger), skips all automatic external identity mapping updates (`node.peer.observe`, `node.peer.discover`, `node.provision.requested`, `EnsureNodePeer`, `DiscoverNodePeer`, `PublishExit`), forces `SubmitObservation` to the `D-055` terminal incarnation state (`provisioning_state = 'failed'`, `safety_status = 'failed'`, `member_forwarding_observed = false` — forwarding off), and emits one `node.identity.conflict` audit event on `node:` (`actor_role = 'node'`, `result = 'failed'`, `changes.after` containing only `incarnation_id`, `conflict_count`, and `observed_at`) when the conflict first freezes the incarnation (subsequent requests while frozen emit no duplicate audit event).
+ - **How it shows (`GET /api/v1/admin/nodes/{node_id}`, `#217`, `#223`)**: `NodeDetail.identity_conflict` (`D-072`, contract revision 11 `#213`, projected by `GetNode` in `internal/nodes/nodes.go` `#217`) exposes `{mapping_frozen, conflict_count, last_conflict_at}` for the node's current certificate incarnation (`nodes.current_incarnation_id` / `node_certificates.serial`) and **participates in the node strong `ETag`** (`If-None-Match` returns `304 Not Modified` when unchanged, and changes as soon as a conflict is recorded):
+ - When `identity_conflict.mapping_frozen: true` (with `conflict_count` and `last_conflict_at`), central detected simultaneous activity from incompatible network domains for the node's current certificate incarnation and froze automatic identity mapping: `provisioning_state = 'failed'`, `safety_status = 'failed'`, member forwarding withdrawn (`member_forwarding_observed = false`), and `PublishExit` refused; the only way out is `revokeNode` + re-enrol (the new incarnation resets the projection).
+ - `mapping_frozen: false, conflict_count: 0` (`last_conflict_at: null`) is the normal state once an endpoint observation row exists for the current serial (`identity_conflict: null` before the first endpoint observation or when `current_certificate_serial` is unset).
+ - This shares the `mapping_frozen` flag (and `pki_mapping_frozen` trigger) with the **`D-055` discovery-ambiguity freeze** (`recordDiscoveryFailure` in `apps/worker/jobs_nodes.go`; a `D-055` freeze without an endpoint-domain conflict projects `mapping_frozen = true`, `conflict_count = 0`, and `last_conflict_at = null`). Operators can also inspect `GET /api/v1/admin/audit-events?resource=node:&action=node.identity.conflict`, and Portal follow-up 14 (`#223`) renders these three states on `/admin/nodes/{id}` (quiet line / nothing / frozen badge with a link to the revoke action; see [`docs/portal/README.md` §6](../portal/README.md#6-operator-node-detail-notes-provisional-lease-waiting-copy--identity-conflict-d-067-d-071-d-072)).
+ - **D-084 complete on the server (#254, #259):** The freeze transaction atomically marks the incarnation frozen / not ready / safety failed and clamps every matching stored lease beyond transaction time + 60 s to that deadline (migration 00190 permits only shortening `expires_at`). Signed envelopes and same-ID replay are unchanged; agents learn the terminal freeze through the separately delivered `identity_frozen` response (contracts revision 13; emitted since #267, consumed since #272). A server clamp alone is not a 60-second packet-stop guarantee.
+ - **D-088 response (#261, #267):** `ObservationAccepted.identity_frozen` is an optional boolean. `true` means this incarnation was frozen as a cloned identity; otherwise it is absent. Main emits it on new reports, report-ID replays and HTTP idempotency-key replays as a live annotation of the current incarnation, preserving the immutable receipt. Agent-core follow-up 22 (#272) consumes it as a durable incarnation latch: the triggering response withdraws forwarding, drops member grants, persists the latch, writes a non-serving heartbeat and renews at once. Frozen observations and renewals omit generation ACKs; absent/false never unfreezes, and restart cannot reopen the identity. The contract’s within-one-heartbeat stop rule is now consumed, subject to the containment limits below.
+ - **Only resolution**: Call `revokeNode` (`POST /api/v1/admin/nodes/{node_id}/revoke`), then enrol the node again (`POST /api/v1/admin/enrollments` with `"node_id": ""` followed by `fvpn-agent enroll`); the new incarnation starts unfrozen (`mapping_frozen = false`) and resets the `identity_conflict` projection while historical `node_identity_conflicts` rows remain on the retired incarnation. **There is no unfreeze operation.**
+ - **Stated limitation**: Two clones inside one `/24` or `/48` are not distinguishable; a multi-homed exit presenting two addresses is the operator’s declaration, not a clone (D-072, §11).
+
+`[Verified on dev/test stack]`
+```bash
+curl -fsS -X POST "https://vpn.example.com:8443/api/v1/admin/nodes/${NODE_ID}/revoke" \
+ -H "Cookie: __Host-fvpn-admin=${ADMIN_SESSION}" \
+ -H "X-CSRF-Token: ${ADMIN_CSRF_TOKEN}" \
+ -H "Origin: https://vpn.example.com" \
+ -H "If-Match: \"${ETAG}\"" \
+ -H "Idempotency-Key: $(uuidgen)" \
+ -H "Content-Type: application/json" \
+ -d '{"reason": "Host maintenance / key compromise precaution"}'
+```
+
+### 3.6 Configuring the Fleet Offline Lease Ceiling (`GET`/`PUT /api/v1/admin/fleet-config`, `D-065`, `D-067`, `#176`, `#179`, `#206`, `§14.5`, `§16.3`, `AT29`, `docs/nodes/README.md`, `docs/nodes/WIRING.md`, `internal/nodes/httpwire/fleet_config.go`)
+
+- **What `max_offline_lease_seconds` governs (`§16.3`, [`docs/nodes/README.md`](../nodes/README.md), [`docs/nodes/WIRING.md`](../nodes/WIRING.md))**:
+ `fleet_config.max_offline_lease_seconds` governs the longest a node keeps serving member traffic on its last signed `ServingLeaseEnvelope` when `fvpn-control` is unreachable. On each lease issuance or renewal (`POST /api/v1/agent/lease-renewals` / `RenewServingLease`), `RenewTx` in `internal/leases` stamps `max_offline_seconds = fleet_config.max_offline_lease_seconds` and computes:
+ $$\text{node\_lease\_end} = \text{signed\_server\_time} + \text{max\_offline\_lease\_seconds}$$
+ $$\text{member\_lease\_end} = \min(\text{signed\_server\_time} + \text{max\_offline\_lease\_seconds},\ \text{effective\_service\_end},\ \text{node\_lease\_end})$$
+ *(When `RenewTx` in `internal/leases/leases.go` issues a provisional grant-less lease with `members: []` only for a published, registered node that is not yet `ready` or whose mapping is frozen, central caps `expires_at` to `issued_at + min(max_offline_seconds, 60s)` under `leases.ProvisionalGrantlessLeaseSeconds = 60` (`D-067` backstop, `#206`); other grant-less leases retain ordinary offline expiry; see §3.3 item 6 above.)* Once a node's monotonic deadline for its applied generation expires without a fresh signed lease, `fvpn-agent` fails closed (`member_forwarding_enabled: false`, `ObservationReport.forwarding_block_reasons` includes `lease_expired`) and withdraws member forwarding while keeping the control channel up. Operators and acceptance harnesses (`AT29`, `AT13`) configure this ceiling through `GET`/`PUT /api/v1/admin/fleet-config` rather than writing `fleet_config` in SQL (`D-065`). It does not alter any member-facing API or portal view.
+- **Range `60`–`86400` and why the floor is `60` (`D-065`, `#176`, `#179`, `node/agent/sync.go`)**:
+ `max_offline_lease_seconds` must be an integer in **`60`–`86400`** seconds (`1` minute to `24` hours). The read-only field `default_max_offline_lease_seconds` is always `86400` (`24` hours — the `§16.3` ceiling and migration seed, not a deployment recommendation; see [`calibration.md` §1.4](calibration.md)). The **`60` s floor** is a test-lab floor (`AT29` deadline faults) chosen so renewal still runs ahead of expiry: `fvpn-agent` renews its serving lease at the configured `RenewLeadSeconds` lead (`renewLead` in `node/agent/engine.go`), clamped to half the lease window and then to at least one second, plus jitter for ordinary populated leases (`node/agent/sync.go`). The lead defaults to `120 s` and `heartbeat_seconds` to `10 s`; the default lead is `30 s` on a `60 s` window before jitter. The Admin Portal warns when an operator enters a value below `900 s` (`15` minutes).
+- **`GET` → strong `ETag` → `PUT` flow with `If-Match`, `Idempotency-Key`, and `reason` (`internal/nodes/httpwire/fleet_config.go`, `TestD065_FleetConfigHTTPReadWrite`, `TestD065_FleetConfigMissingRowUsesIssuerDefault`, `TestD065_FleetConfigReleaseWriterInterleaving`)**:
+ 1. **Read current config and `ETag` (`GET /api/v1/admin/fleet-config`):** Returns `200 OK` `FleetConfig` (`max_offline_lease_seconds`, `default_max_offline_lease_seconds: 86400`, `resource_version`, `updated_at`) and strong `ETag: ""`. If the singleton row (`fleet_config.id = 00000000-0000-0000-0000-000000000001`) is absent in an unseeded database, `GET` returns the issuer default (`max_offline_lease_seconds: 86400`, `default_max_offline_lease_seconds: 86400`, `resource_version: "0"`, `updated_at: "1970-01-01T00:00:00Z"`, `ETag: "0"`) without writing (`TestD065_FleetConfigMissingRowUsesIssuerDefault`).
+ 2. **Update (`PUT /api/v1/admin/fleet-config`):** Supply the quoted strong `If-Match: ""` header, a UUID `Idempotency-Key`, `X-CSRF-Token`, `Origin`, and JSON body `{"max_offline_lease_seconds": <60..86400>, "reason": "<1..500 chars>"}` (`reason` is trimmed and required). Inside the shared HTTP request transaction, `UpdateFleetConfig` ensures the singleton exists (`INSERT ... resource_version = 0 ON CONFLICT DO NOTHING`, so `If-Match: "0"` inserts the missing row and advances to version `"1"`), locks the singleton row (`SELECT ... FOR UPDATE`, serializing with `fleetupdate.CreateBatch` and release-support writers without touching `generation` or release-support columns, `TestD065_FleetConfigReleaseWriterInterleaving`), checks `If-Match`, updates `max_offline_lease_seconds`, `resource_version = resource_version + 1`, and `updated_at = clock_timestamp()`, records the `fleet_config.update` audit event, completes the idempotency record (`ResourceType: "fleet_config"`, `ResponseStatus: 200`, `OperationID: nil`), and returns synchronous **`200 OK`** `FleetConfig` with the new strong `ETag` (creating zero `operations` or `outbox_events` rows).
+
+ `[Verified on dev/test stack]`
+ ```bash
+ # 1. Read the current FleetConfig and capture the strong ETag ("")
+ ETAG=$(curl -fsSI "https://vpn.example.com:8443/api/v1/admin/fleet-config" \
+ -H "Cookie: __Host-fvpn-admin=${ADMIN_SESSION}" \
+ | awk -F': ' 'tolower($1)=="etag"{gsub(/\r|"/,"",$2); print $2}')
+
+ # 2. Update max_offline_lease_seconds with If-Match, Idempotency-Key, and a reason
+ curl -fsS -X PUT "https://vpn.example.com:8443/api/v1/admin/fleet-config" \
+ -H "Cookie: __Host-fvpn-admin=${ADMIN_SESSION}" \
+ -H "X-CSRF-Token: ${ADMIN_CSRF_TOKEN}" \
+ -H "Origin: https://vpn.example.com" \
+ -H "If-Match: \"${ETAG}\"" \
+ -H "Idempotency-Key: $(uuidgen)" \
+ -H "Content-Type: application/json" \
+ -d '{
+ "max_offline_lease_seconds": 3600,
+ "reason": "Tighten offline serving lease ceiling to 1 hour for maintenance window"
+ }'
+ ```
+- **HTTP error outcomes (`428` / `412` / `409` / `422`, `internal/nodes/httpwire/fleet_config.go`, `TestD065_FleetConfigHTTPReadWrite`)**:
+ - **`428 PRECONDITION_REQUIRED`**: Missing `If-Match` header (`"If-Match header is required."`).
+ - **`412 RESOURCE_VERSION_CONFLICT`**: Stale `If-Match` ETag; the error envelope includes `details.current_resource_version` with the current decimal-string `resource_version`.
+ - **`409 IDEMPOTENCY_CONFLICT`**: Reusing an `Idempotency-Key` with a different request payload (`max_offline_lease_seconds` or `reason`). Replaying the same `Idempotency-Key` with the identical payload (`replayFleetConfig`) returns `200 OK` with the original `FleetConfig` body and `ETag` reconstructed from the immutable `audit_events.after_diff` row keyed by the command reservation UUID `idempotency_requests.id` (the plaintext `Idempotency-Key` is never stored), even after subsequent writes have advanced `fleet_config`.
+ - **`422 VALIDATION_FAILED`**: `max_offline_lease_seconds` outside `60..86400` (e.g., `59` or `86401`), empty or `> 500`-character `reason`, unknown JSON fields, or weak/malformed `If-Match` (`W/"..."`). (`400 MALFORMED_REQUEST` is returned if `Idempotency-Key` is missing or invalid; `403 FORBIDDEN` for a member session or missing/invalid CSRF token.)
+- **Audit event `fleet_config.update` with both snapshots (`internal/nodes/httpwire/fleet_config.go`, `TestD065_FleetConfigHTTPReadWrite`)**:
+ Every accepted `PUT /api/v1/admin/fleet-config` (including an accepted same-value write) appends one immutable `audit_events` row in the same transaction with `action = "fleet_config.update"`, `actor_role = "admin"`, `resource = "fleet_config:00000000-0000-0000-0000-000000000001"`, `operation_id = null`, `result = "succeeded"`, `before = {"max_offline_lease_seconds": }`, and `after = {"max_offline_lease_seconds": , "resource_version": "", "updated_at": "", "reason": ""}`. Because idempotent replay reconstructs the original `200 OK` snapshot from this audit row, keep `audit_days` retention at least as long as `idempotency_seconds` (`180` days vs. `7` days default).
+- **Lease timing (`TestD065_AT29_FleetConfigOnlyChangesNewLeases`, `internal/nodes/httpwire/fleet_config_integration_test.go`, [`docs/nodes/README.md`](../nodes/README.md))**:
+ Updating `max_offline_lease_seconds` does **not** rewrite or revoke already-issued signed leases (`serving_leases`): existing leases retain their signed `max_offline_seconds`, `expires_at`, and Ed25519 signature, and a replay of an existing renewal (the same `renewal_request_id`, or the same `Idempotency-Key`) returns its stored envelope without a freshness check. The next lease issuance or renewal (`POST /api/v1/agent/lease-renewals`) reads `fleet_config.max_offline_lease_seconds` inside the issuance transaction and copies the new window into the newly signed `ServingLeaseEnvelope`.
+
+---
+
+## 4. Running an Update Batch, Health Attestation, and Handling `needs_attention` & `unconfirmed` (`§13`, `D-053`, `docs/updates/central-lifecycle.md`, `docs/updates/node-updater.md`, `docs/updates/node-health-attestation.md`)
+
+### 4.1 Registering a Release and Updating `release_support` (`§13.3`, `§13.4`)
+
+1. Build and sign the release (`amd64` + `arm64`) using `fvpn-release` and upload artifacts to `https://releases.example.com//` (see [`deploy.md` §8](deploy.md)).
+2. Register the signed manifest envelope via `POST /api/v1/admin/releases` (`ReleaseRegisterRequest`):
+ `[Verified on dev/test stack]`
+ ```bash
+ curl -fsS -X POST "https://vpn.example.com:8443/api/v1/admin/releases" \
+ -H "Cookie: __Host-fvpn-admin=${ADMIN_SESSION}" \
+ -H "X-CSRF-Token: ${ADMIN_CSRF_TOKEN}" \
+ -H "Origin: https://vpn.example.com" \
+ -H "Idempotency-Key: $(uuidgen)" \
+ -H "Content-Type: application/json" \
+ -d "{
+ \"manifest_url\": \"https://releases.example.com/${RELEASE_ID}/manifest.envelope.json\",
+ \"manifest\": $(cat dist/manifest.envelope.json)
+ }"
+ ```
+3. Create and activate a `release_support` policy revision (`POST /api/v1/admin/policies` -> `POST /api/v1/admin/policies/{definition_id}/activate`) that includes `${RELEASE_ID}` in both `approved_release_ids` and `minimum_serving_version.serving_release_ids` (`approved_release_ids` must be a subset of `serving_release_ids`, and `revoked_release_ids` must be disjoint from both, `AT27`).
+
+### 4.2 Creating an `all_nodes` Update Batch (`POST /api/v1/admin/update-batches`)
+
+In v1, fleet updates use `scope: "all_nodes"` and `set_fleet_default: true` (`§13.4`, `§13.10.1`), guarded by `expected_generation` (the current `fleet_config.generation` decimal string; mismatch returns `409 STATE_CONFLICT`).
+
+`[Verified on dev/test stack]`
+```bash
+curl -fsS -X POST "https://vpn.example.com:8443/api/v1/admin/update-batches" \
+ -H "Cookie: __Host-fvpn-admin=${ADMIN_SESSION}" \
+ -H "X-CSRF-Token: ${ADMIN_CSRF_TOKEN}" \
+ -H "Origin: https://vpn.example.com" \
+ -H "Idempotency-Key: $(uuidgen)" \
+ -H "Content-Type: application/json" \
+ -d "{
+ \"release_id\": \"${RELEASE_ID}\",
+ \"scope\": \"all_nodes\",
+ \"set_fleet_default\": true,
+ \"expected_generation\": \"${FLEET_GENERATION}\",
+ \"reason\": \"Roll out release 2026.10.1 to all active nodes\"
+ }"
+```
+
+### 4.3 Node Update Execution, `D-053` Health Attestation, and Rollback (`node/updater`, `docs/updates/node-updater.md`, `docs/updates/node-health-attestation.md`)
+
+
+
+**F30-01 at the #468 cutoff — closed.** In devstack 35's acceptance run
+**8a436a87**, the candidate's boot recovery waited for its parent's
+`update.lock`, then cleared, and the candidate served members; `lease-expiry`
+passed afterward. Closure is credited to updater 24 **#446**, agent-core 49
+**#454** and updater 25 **#463**. While the parent holds the live lock,
+recovery is deferred and retried on later Steps as one tracked child. Central
+can see `applying` with `recovery_required` and issue a zero-grant lease during
+this interval. Terminal recovery failures stay fail-closed.
+
+That run's `fvpn-updater run` met **no lock contention**: it exited 0 with no
+`update lock wait` record, so its first acquisition succeeded. **D-158's wait was not exercised in that run**; devstack 36 records it below. No merged change is credited
+with avoiding devstack 34's earlier collision; no date is promised for later
+work. See the [cut's evidence](follow-up-45.md).
+
+**Devstack 36 (#476), run c17589fa:** `update-good` exits 0 after a **446 ms** wait; its entire output is the single record quoted from the [dated run analysis](../e2e/runs/2026-11-04/followup36/analysis.md): `{"time":"2026-11-04T14:45:49.495505375Z","level":"INFO","msg":"update lock wait","command":"run","waited_ms":446,"acquired":true,"budget_ms":10000}`. Lock samples show the running agent holding `update.lock` within this wait. This is the first devstack run to record D-158's wait. **Stale-then-live contention is unobserved.** `update-bad` exits 1 with `HASH_MISMATCH: artifact` and no wait record; `lease-expiry` passes. This first run with agent-core 51, updater 26 and D-162 together credits no change to any one of them; F30-01 stays closed.
+
+**Updater exit statuses (D-034g, D-155):** `0` means the command completed without an operation error; it does not authorize member forwarding. `1` means another failure, including stale-holder details `lock boot id`, `lock pid`, `lock process` and `lock start time`. `2` means only `ErrMembersBlocked`, and takes precedence if an error also matches busy. `3` (`ExitBusy`) means `UPDATE_BUSY` with detail exactly `lock`: recovery has not completed and can be retried after the live holder releases the lock. `64` means usage or flag error. `run`, `recover`, `apply`, `seed` and configured `flush` can return `3`; read-only `status` takes no update lock and returns `0` on a successful read or `1` on failure. Live busy stderr remains `fvpn-updater: updater: UPDATE_BUSY: lock`.
+
+Under D-158, `fvpn-updater run`, `seed`, `apply` and standalone `flush` poll every 20 ms, return exit 1 with the final stale-holder detail after five consecutive stale answers, reset that count on every live answer (including empty or unreadable metadata), and return exit 3 on the first live answer at or past the 10-second budget measured from the first attempt, never before that budget; stale answers can extend the wait nominally about 100 ms past it, filesystem work and scheduling can add elapsed time, and `recover` and standalone `Retain` keep their prompt five-attempt window.
+
+The one `update lock wait` record requires a first-attempt `ErrBusy`, including a later cancellation; a non-busy first error and cancellation before any attempt write none.
+
+Source: [updater 26, Requests item 1 (frozen)](../../tests/handover/testdata/history/follow-up-46/docs_updates_node-followup26-2026-11-04.md.txt).
+
+
+
+**D-156 release rule (#454): ship the agent and watchdog together.**
+The pending-adoption receipt keeps the predecessor's original heartbeat age
+and kernel deadline without claiming serving. A stalled successor remains
+bounded by the old staleness limit or the kernel deadline. An older watchdog
+with a newer agent withdraws a node early during a same-boot restart, which
+is the conservative side. r22 M-3's protection remains in place.
+
+
+
+**r28 H-1 / Isolation F20-01 — fixed on main by #447.**
+The tunnel probe and local work now use a context independent of the control
+request budget, so hanging control requests do not spend the probe's allowance.
+Isolation 21 #452 supplies live evidence: its short whole-node expiry passes
+D-140 and qualifies under D-142. Spec **§16.3 and §17.1** still require
+serving until the lease deadline while the other conditions hold. The original
+F20-01 run stays failed; this result does not supply r28 M-1's separate
+member-expiry live coverage. See the [current review disposition](../reviews/README.md#follow-up-44-dispositions).
+
+
+
+**Known behaviour at #481 — AT02 deny-all after a closed recovery.**
+Agent-core 50's change is merged in **#461 under D-157**: after a verified
+closed recovery, the node renews as soon as central accepts its clean report,
+at most once per recovery. The opportunity is consumed on dispatch; D-067
+continues otherwise, including after an empty answer. Members 22 **#467** run
+**3eb3960d** measured **one early renewal**, 67.8 ms after the closed recovery,
+then a one-member lease and verified serving Apply. The **deny-all interval
+was 205 ms with 8 losses**, down from members 21's historical **4.968 s and
+241 losses**. Exact central readiness timing was not retained. The measurement
+answers this finding; it is no zero-loss availability promise. Members 23 **#473** run
+**6a25221b** adds **one early renewal**, 63.9 ms after the closed recovery,
+and a **179 ms deny-all with 7 losses** before verified serving. D-157 is
+in both runs; no timing change is credited to a merge. Members 24 **#481** run **dee8492f** records “producer `9879ce69-34b6-4fa6-9165-cb4619bc9fde`: closed Apply **540**, renewal request **545**, populated generation-14 lease `4b88acc1-5ff1-4618-9f40-6f1a4f06064c`, serving Apply **546**”, where “The renewal starts **66.406460 ms** after closed Apply ends; exactly one request and zero baseline writes lie before serving” and “The deny-all interval after closed Apply is **187.308830 ms / seven losses**; Apply plus wait is **304.961112 ms / 13 losses**”.
+
+
+
+**Known behaviour — TCP retransmission across reload guards (#462).**
+
+A TCP segment crossing one reload's member guard can be dropped and wait for retransmission (about 200 ms in the measured lab); a retry can hit a later reload's guard, so the guard's sub-100 ms duration is not a TCP read-latency bound.
+
+When `fvpn-updater` executes a signed `UpdateIntent`:
+1. **Preflight & Verification (`AT23`–`AT25`, `AT27`)**:
+ - Acquires `/var/lib/vpn-node/update.lock` (`UPDATE_BUSY` if held), checks `now < authorization_expires_at` (`AUTHORIZATION_EXPIRED` if expired), verifies `release_id` is in `serving_release_ids` and not in `revoked_release_ids` (`MINIMUM_VERSION_VIOLATION` / `RELEASE_REVOKED`), checks disk headroom (`free >= size_bytes + installed_size_bytes + required_free_bytes`, adding the signed `RequiredFreeBytes` without an enforced 512 MiB floor; staging separately needs `size_bytes`), downloads the manifest and archive from an HTTPS origin matching `release_origins`, verifies Ed25519 signatures and SHA-256 digests (`HASH_MISMATCH` on tamper), and checks schema compatibility.
+2. **Switch & `D-053` Challenge-Response Health Attestation**:
+ - Atomically switches `/opt/vpn-node/current` to `releases/`, writes `/var/lib/vpn-node/update-journal/health-challenge.json` with a random 64-hex `nonce`, `release_id`, `issued_at`, and `expires_at` (`HealthChallengeTTL = 45s`), and restarts `fvpn-agent`.
+ - Polls `/var/lib/vpn-node/update-journal/health-attest.json` every `250ms` for up to `30s` (`HealthAttestWait = 30s`) with `maxCheckAttempts = 8` bounding entries into the transaction check step, not periodic retries. There is no configurable updater check interval; failed health begins rollback immediately.
+ - All five `UpdateHealth` checks (`processes`, `identity_and_state`, `internet_only`, `dns_policy`, `tunnel_probe`) must report `"passed"`. The attestation must match the live challenge, release, transaction, node, incarnation and boot IDs, its nonce and validity window; observed agent and NetBird versions must match the manifest components. See [health attestation](../updates/node-health-attestation.md) for the exact file contract.
+3. **Automatic Rollback & Fail-Closed Latch (`AT26`, `UPD03`–`UPD05`)**:
+ - If health attestation fails, `fvpn-updater` rolls `/opt/vpn-node/current` back to `last_good_release_id` (`maxRollbackAttempts = 3` bounds entries into the transaction rollback step; there is no configurable rollback interval) **only** if `last_good_release_id` is still in `serving_release_ids`, not in `revoked_release_ids`, and passes its own fresh `D-053` challenge-response health attestation (`status: "rolled_back"`, exit code `1`).
+ - If no valid rollback target exists or rollback health attestation fails, `fvpn-updater` writes `/var/lib/vpn-node/update-journal/forwarding.blocked`, forces the fail-closed `inet fvpn` baseline (blocking all member forwarding while keeping control/SSH up), and records `status: "failed"`, `recovery_required: true`, `error_code: "ROLLBACK_FAILED"` (exit code `2`).
+
+**Bounded synthetic probes (`§13.9`, `D-063`, `D-064`, `#142`, `#144`, `#150`, `#154`, `#156`, `#162`, `#168`, `#170`, `#171`, `#192`, `docs/updates/node-updater.md`, `docs/updates/node-health-attestation.md`, `node/updater/probe.go`, `node/updater/probe_addresses.go`, `node/updater/retain.go`, `docs/node/README.md`, `docs/poc/G2-netlab.md`):**
+- **Updater `probe_peer` configuration, per-issuance address validation, and `probe_omitted` evidence (`#142`, `#154`, `#156`, `#168`, `#171`, `#192`, `node/updater/probe.go`, `node/updater/probe_addresses.go`, `node/updater/host.go`, `node/updater/retain.go`, `node/enforce/prefixes.go`, `docs/updates/node-health-attestation.md`):** `/etc/vpn-node/updater.json` accepts an optional `probe_peer` object (`peer_id` nonblank up to 128 bytes with no ASCII control characters, `source_v4` one IPv4 `/32` prefix, `destinations` `1..4` public IPv4 `/32` destination objects with `addr_v4`, `proto` `"tcp"` or `"udp"`, and `port` `1..65535`, and optional `resolver_dns`) plus optional `agent_config` (default `/etc/vpn-node/agent.json`, regular file `<= 1 MiB` verified via `os.Lstat`, `O_NOFOLLOW|O_NONBLOCK`, `fstat` regular check, and `os.SameFile` so symlinks, FIFOs, and replaced files fail closed as `agent_config_unavailable`; resolver credentials never opened). `probe_peer` is validated at `LoadConfig`, `Config.Engine()`, and every `issueChallenge` (`Engine.challengeProbe`) against:
+ 1. `enforce.SpecDeniedV4()` (`#156`): every IANA IPv4 Special-Purpose Address Registry block with `Globally Reachable != True` plus multicast `224.0.0.0/4` (`0.0.0.0/8`, `10.0.0.0/8`, `100.64.0.0/10`, `127.0.0.0/8`, `169.254.0.0/16` and `169.254.169.254/32`, `172.16.0.0/12`, `192.0.0.0/24`, `192.0.2.0/24`, `192.88.99.0/24` RFC 7526 6to4 relay anycast, `192.168.0.0/16`, `198.18.0.0/15`, `198.51.100.0/24`, `203.0.113.0/24`, `224.0.0.0/4`, `240.0.0.0/4`, `255.255.255.255/32`; globally reachable `192.31.196.0/24`, `192.52.193.0/24`, and `192.175.48.0/24` are allowed);
+ 2. the host's live IPv4 global-unicast interface addresses (`net.InterfaceAddrs`, refusing an empty filtered global-unicast IPv4 list with `node_addresses_unavailable` in `#168`, and refusing any matching host IPv4 address as `source_v4` or destination; other private/CGNAT `/32` overlay addresses remain valid as `source_v4`); and
+ 3. the resolved/literal addresses of `control_url` (from `agent_config`) and updater `result_url` (when set), plus `dns.resolvers[].dns_addr` and `dns.resolvers[].admin_url` hosts (refused as destinations regardless of `resolver_dns` or port), sharing a `2s` DNS lookup deadline.
+ Config load and `Config.Engine()` fail closed with `updater: invalid probe_peer` (and malformed JSON fails with `updater: invalid config JSON` without echoing values, `SEC02`). If an input becomes unavailable or forbidden at challenge issuance (`#168`, `#171`, `#192`), `Engine.issueChallenge` logs `"health challenge probe omitted"` once per fixed `probeRefusal` class per `Engine` (`malformed`, `denied_destination`, `node_source`, `node_destination`, `control_destination`, `resolver_destination`, `agent_config_unavailable`, `node_addresses_unavailable`, `control_addresses_unavailable`, or `resolver_addresses_unavailable`), writes `probe_omitted {peer_id, reason}` into `health-challenge.json` (mutually exclusive with `probe`, included in `Same`), commits `probe_omission//` in SQLite `meta` and `txn_events.detail` (`Journal.ProbeOmissions`) before publishing the challenge (under `#192`, `probe_omission//` rows in `meta` are pruned with their transaction via `cleanTxnNotes` on seal and `Retain` for terminal `txns`, while the append-only `txn_events` `probe_omitted` event stays), and includes `probe_omitted` in local `health_attest` diagnostics (`fvpn-updater status`). On the agent (`#171`), a live matching challenge carrying `probe_omitted` sets `ObservationReport.checks[name=tunnel_probe].detail` to `"probe_omitted: "` (without peer ID or address, retained across sidecar removal/consumption until a later probe or omission challenge), leaves `tunnel_probe` `not_run` and `data_health` `unknown` with forwarding closed, and answers `health-attest.json` with the existing accepted reason token `"probe refused"`. **One-time compatibility boundary (`#168`):** because `healthattest.ReadChallenge` uses `DisallowUnknownFields`, agent binaries built before `#168` reject an omission-bearing challenge and fail closed; release notes and update rollout plans must account for this boundary when updating across `#168`. With `probe_peer` absent, none of these inputs is read (in `deploy/devstack` `#170`, `FVPN_E2E_PROBE=1` provisions a dedicated `probe-client` peer and read-only `probe-watch` observer on UDP `:4443`, passing `update-good` with `probe_omission_count = 0` and `probe_traversal_verified = true`).
+- **Agent amended `D-064` probe exception and durable issuance (`#150`, `#162`, `docs/node/README.md`, `node/agent/probeexc.go`, `node/agent/plane.go`, `node/agent/attest.go`):** Under amended `D-064` (`#162`), the `§13.9` probe exception is installed **only** while another process holds `/var/lib/vpn-node/update.lock` (`nodelock.TryAcquire` returns `nodelock.ErrBusy`; `updateLockHeld` never waits for or keeps the lock) and a live `health-challenge.json` names this process and matches `Same`. Both installation and removal use `ApplyBaselineModel` (`BaselineModel`): a serving node withdraws member forwarding (`e.withdraw`) before installing the probe exception on the baseline model (zero member bindings), and cleanup re-applies the bare baseline (`bare.Probe = nil`). Both `installProbeException` and `answerHealth` validate the challenge window (`issued_at < now < expires_at`, `>= 1s` left, window `<= 300s`) using `trustedNow`. Any node-local destination (`datapath.snat` or any discovered `host_v4` address) on any port and every `enforce.SpecDeniedV4()` destination (including `192.88.99.0/24`) are refused by `challengeProbe` before dry-render, along with member peer IDs, non-`/32` sources, and current member binding collisions. Before touching the kernel, `installProbeException` records durable `probe_issuance` (`{nonce, hash, issued_at, deadline_ns, cleared}`, where `hash` is the canonical JSON challenge SHA-256 digest without storing the destination list, `SEC02`) in `agentstore` (`Meta` / `SetMeta`); a cleared issuance is never reinstalled across restarts, and an incomplete issuance on the same boot is capped to `min(old.Deadline - mono, expires_at - trustedNow)`. Cleanup failure clears `baselineOK` and `serving` and records the probe as `probe_clear_failed` (never attested as `passed`). `probe_up` and `probe_down` counters are excluded from member usage, and `fvpn-watchdog` never installs a probe exception.
+- **Troubleshooting `PROBE_UNBOUNDED` and probe DNS carve-out (`#144`, `#156`, `docs/poc/G2-netlab.md`, `node/enforce/verify.go`):** In `node/enforce`, the `@probe_v4` and `@probe_dst_v4` sets fail closed (`PROBE_UNBOUNDED` / `ReasonProbeUnbounded`) on prefixes wider than `/32`, `nft -j` prefix or port-range objects, over-long lifetimes (`max(timeout, expires) > 300s` or `expires` exceeding the model's remaining window plus `1s` slack), `> 4` destinations (`ProbeMaxDestinations = 4`), or any overlap with a member binding's `AllowedV4`. When `ResolverDNS` is enabled on the probe (`#156`, `verifyProbe`, `verifyResolverSet`), `VerifyBaseline` and `VerifyServing` require the probe DNS carve-out to be at most one TCP and one UDP accept rule from `saddr @probe_v4` to `daddr @resolver_v4` port 53 (`iif` member ingress, `oif` uplink) with `@resolver_v4` matching the exact configured resolver IPv4 addresses; any wider probe rule fails closed with `ISOLATION_POLICY_INVALID`. Inspect `/etc/vpn-node/updater.json:probe_peer`, `/etc/vpn-node/updater.json:agent_config`, the active `health-challenge.json`, and the `inet fvpn` `probe_v4` / `probe_dst_v4` sets; see [`docs/poc/G2-netlab.md`](../poc/G2-netlab.md) for the enforcement rules and proof cases.
+
+**Installer → updater hand-off (D-080 / D-089; #253, #258, #269):** `fvpn-node-install upgrade` stages `update-staging/pending-release.json`; the updater consumes it on its next `run` or `fvpn-updater apply --pending`. The retained signed envelope travels as `manifest_path` plus `request_id`. `boot_id` comes from `/proc/sys/kernel/random/boot_id`; a missing `desired-state.json` is no work (fresh node exit `0`, no forwarding block).
+
+Operator sequence: **install → verified seeded baseline → staged upgrade → journaled apply → local result → central acceptance**. `fvpn-updater seed --config --manifest --tree` (#269) verifies the signed archive from staged `update-staging/.tar.zst` or the signed artifact URL, compares tree hashes with the live release, and commits seed evidence atomically and idempotently. `status` shows the seeded baseline. A seeded baseline is not a health pass; a local apply is not central acceptance. The installer probes seed support and records the result in `install/baseline.json` / `check --json`; an older updater records `not seeded (updater without seed)` (the #258 measurement).
+
+Revision 13 defines `UpdateResultSource` as `[central, installer]` (default `central`). An installer-applied result uses `source: installer`, a node-minted job id and only a published release; it is never a batch result. Central acceptance is merged in fleet-update follow-up 10 (#273, D-089 / D-097). The release must be verified, approved, supported, non-revoked and trusted under the existing eligibility check; for an unknown release central answers `404` and the updater retains durable retries; `409` is terminal for an ineligible release. Immutable receipts live in `installer_update_results` (migration 00191 with Down). Exact replay returns the stored ACK, conflicting evidence returns `409 ACK_CONFLICT`, and verified success updates the node version without completing a central job or batch. `NodeUpdateSummary` projects the current incarnation’s latest installer result with `source: installer`, `batch_id: null`; a current central job wins. #277 fixes keyed HTTP replay by normalized node identity; enrollment also returns `next: /api/v1/agent/desired-state`. The full installer hand-off is still **not end-to-end**: the required journaled upgrade fails before switch at the absent meter checkpoint.
+
+Historical follow-up 15 cutoff; current dispositions are in [follow-up 19](follow-up-19.md).
+
+Both updater units have removed `refresh-boot-id` and no longer make `/etc/vpn-node` writable. Historically, the installer follow-up 2 systemd container lifecycle gate did not run because the shared host exhausted `fs.inotify.max_user_instances=128`. Installer follow-up 3 (#279) now verifies install, offline seed and firstboot with real daemons. The NetBird daemon owns `/run/fvpn-netbird/netbird.sock`; the shared runtime survives consumer restarts. The required `TestD089_RealSeedThenJournaledUpgrade` remains **red**: missing `state/meter.checkpoint` produces `CHECKPOINT_FAILED` at `final_sample`, null health and a rolled-back result even though the updater exits 0. The privileged suite is 9 pass / 1 required fail. Agent-core follow-up 24 owns the meter checkpoint; candidate release identity/health also needs integration. The offline suite uses a TEST ONLY NetBird `up` adapter, so real registration and AT07 reruns remain required. See [installer follow-up 3](../node/install-followup3-2026-10-31.md) and the [updates F9-01…F9-05 requests](../e2e/at/updates/requests.md).
+
+
+### 4.4 Monitoring Targets, Observation Authority, and Handling `needs_attention` & `unconfirmed` (`GET /api/v1/admin/update-batches/{batch_id}`, `D-068`, `#140`, `#150`, `#189`, `docs/updates/central-lifecycle.md`, `internal/fleetupdate/serving.go`, `internal/fleetupdate/progress.go`)
+
+`GET /api/v1/admin/update-batches/{batch_id}` embeds a cursor-paginated `targets` list (`?cursor=...&limit=...`; `targets_url` points to the same endpoint, `Contract Facts`). Operators see `unconfirmed` and `needs_attention` on each `UpdateTarget` in `GET /api/v1/admin/update-batches/{batch_id}` (`internal/fleetupdate/progress.go`) and as status badges on `/admin/updates` ([`apps/portal/src/pages/admin/AdminFleetUpdatesPage.tsx`](../../apps/portal/src/pages/admin/AdminFleetUpdatesPage.tsx), `§13.10`):
+
+| Flag / State | Meaning | What Clears It / Operator Action |
+|---|---|---|
+| **`unconfirmed: true`** | Central lacks an agreeing authenticated observation for this job's exact `job_id`, `generation`, and `incarnation_id` (or the job has not been issued, or the latest matching heartbeat reported `current_release_id` / `last_good_release_id` values that disagree with the accepted result on `nodes`). | Cleared (`unconfirmed: false`) when an authenticated `POST /api/v1/agent/observations` arrives for the same `incarnation_id` carrying both the exact `update.job_id` and `update.generation` of the job and `current_release_id` / `last_good_release_id` values that match `nodes`. Compare `last_result_at`, `last_observed_at`, and the node's `update` object; flushing a result alone does not clear `unconfirmed`. |
+| **`needs_attention: true`** | Failed, rolled-back or blocked job; stored attention flag (including applying/checking beyond configured `nodes.json:stuck_seconds`); or `already_current` inconsistent with the observed release. | Inspect target `error_code`, `stage`, `recovery_required`, `previous_release_id`, `health`, `candidate_health`, and local `fvpn-updater status`. Fix the underlying cause before calling `POST /api/v1/admin/update-batches/{batch_id}/retry`. |
+
+**Observation authority rules (`D-068`), null-only heartbeat seeding, current-job attribution, and `update_observation.unexpected_release` (`#140`, `#150`, `#155`, `#167`, `#189`, `docs/updates/central-lifecycle.md`, `internal/fleetupdate/serving.go`, `node/agent/observe.go`):**
+1. **Recorded release advances only through an accepted update result, and pre-result heartbeat seeding is null-only (`D-068`, `#140`, `#155`, `#167`, `#189`, `Service.observeTx`, `auditUnexpectedRelease`):** A node's recorded `nodes.current_release_id` advances **only** through an accepted `UpdateResult` (`SubmitResultTx`). Pre-result heartbeat seeding and `update_observation.unexpected_release` audits bind to the node's current job (`effectiveJob := jobID`, falling back to `n.job` only for the legacy sequence adapter when `jobID == nil`, `#167`, `#189`). Before the current incarnation has any accepted result (`update_results` row with `ack->>'accepted' = 'true'`), a heartbeat seeds `nodes.current_release_id` **only when `nodes.current_release_id` is `NULL`** (a fresh incarnation with no recorded release, `#189`), the reported `last_good_release_id` agrees with the recorded `nodes.last_good_release_id` (`null` agreeing with `null`, `#167`), and `current_release_id` is either a release already recorded in `nodes.last_good_release_id` or the current job's issued target (`targetRelease`, eligible **only** when the reported job is the node's current non-superseded job `equalID(effectiveJob, n.job)`, its `execution_incarnation_id` matches the authenticated incarnation, and its `NodeUpdateIntent` has been issued `j.issued != nil`, `#167`, `#189` — preventing a pre-intent or post-reinstall heartbeat from overwriting `nodes.current_release_id` or poisoning `attempt_release_id` in `update_jobs.observed_evidence`). If `nodes.current_release_id` is already non-null (for example, carried across a guarded reinstall under the same `node_id` or after initial seeding) or `last_good_release_id` disagrees, heartbeats never overwrite `nodes.current_release_id` or `nodes.last_good_release_id` (`#167`, `#189`). Heartbeats never establish `nodes.last_good_release_id` (only accepted results do), and `fleet_node_state.recovery_required` is derived from the recorded `last_good_release_id`, never an unverified heartbeat claim. Once at least one accepted result exists for the incarnation, only accepted results change `nodes.current_release_id`, `nodes.last_good_release_id`, and `fleet_node_state.recovery_required` (a heartbeat can raise `recovery_required` if the recorded `last_good_release_id` is in `revoked_release_ids`, never clear it).
+2. **Superseded-attempt heartbeats do not move the batch read model (`D-068`, `#189`):** A generation-bearing heartbeat is attributed only to the node's current, non-superseded job (`update.job_id == fleet_node_state.current_job_id`; `equalID(effectiveJob, n.job)`). Heartbeats carrying a superseded attempt's `job_id` (including after a same-generation batch retry creates a new `update_jobs` row at the same generation) do not move the batch read model (`last_observed_at`, `unconfirmed`, or `observed_update_generation` / `last_update_generation`), do not seed `nodes.current_release_id`, and do not emit `update_observation.unexpected_release` audits.
+3. **How to read `update_observation.unexpected_release` (`#155`, `#167`, `#189`):** Before the incarnation's first accepted result, any other release reported in `current_release_id` or `last_good_release_id` on a heartbeat for the node's current job (`effectiveJob == n.job`) is ignored for the version columns, withholds confirmation (`unconfirmed = true`), and appends at most one D-029 audit event `update_observation.unexpected_release` (`actor_role: node`, `actor_id: `, `resource: node:`, `result: failed`, `after: {"job_id", "release_id"}` bound to `effectiveJob`, `#167`, `#189`) per distinct `(job_id, release_id)` under the fleet lock. Because a fresh node incarnation starts with `nodes.current_release_id = NULL` and `nodes.last_good_release_id = NULL` (its boot release is centrally recorded only by its first accepted update result), a pre-apply heartbeat from a fresh node under its first job reports its boot release (`!= targetRelease`), which produces **one `update_observation.unexpected_release` audit for that boot release and job**—this single audit for a fresh node under its first job is expected, not a fault. By contrast, an `update_observation.unexpected_release` audit naming an unapproved/unexpected release or appearing on a node whose version columns were already recorded warrants inspecting `/opt/vpn-node/current`, `/etc/vpn-node/agent.json:release_id`, and `journal.db`.
+4. **Disagreeing heartbeat withholds confirmation:** If a heartbeat for the current job's `job_id` and `generation` reports a `current_release_id` or `last_good_release_id` that differs from the accepted values on `nodes` (or an untargeted pre-result release), central keeps the recorded values on `nodes`, leaves `last_update_generation` behind the job's generation, and keeps `UpdateTarget.unconfirmed = true` until an agreeing heartbeat arrives.
+5. **Jobless reports record arrival only:** An observation report without both `update.job_id` and `update.generation` updates `last_observed_at` only; the numeric generation high-water mark (`last_update_generation`) and serving release are unchanged. `ObserveReportTx` validates `update.state` and `update.stage` against the generated contract enums in the domain before writing or confirming anything.
+6. **Node-side release provenance (`#150`, `docs/node/README.md`, `node/agent/observe.go`):** On the node, `ObservationReport.current_release_id` defaults to the running binary's configured `release_id`; `journal.db` pointers override `current_release_id` only when the journal snapshot has a valid nonzero `job_id` at `locally_succeeded` or `rolled_back`.
+
+### 4.5 Reading a Rolled-Back Update, Target Evidence, and Result Rejections (`D-062`, `#136`, `#140`, `#147`, `#149`, `#192`)
+
+1. **Target and Portal evidence (`#136`, `#147`, `internal/fleetupdate/progress.go`, `docs/updates/central-lifecycle.md`):** On `GET /api/v1/admin/update-batches/{batch_id}`, the central target mapper populates `previous_release_id`, `health`, and `candidate_health` on each `UpdateTarget` from the latest attempt's latest current accepted receipt (`ack.accepted = true` and `accepted_as_history = false`) and sets them to explicit JSON `null` when no current accepted receipt exists (`candidate_health` is populated only when the accepted result state is `rolled_back` and is `null` otherwise; history-only and rejected receipts never overwrite them). For `rolled_back`, `current_release_id` names the restored release, `previous_release_id` names the failed candidate, `health` describes the restored release, `candidate_health` describes the failed candidate (`null` if rollback began before candidate checks), and `error_code` retains the candidate failure. On `/admin/updates` ([`apps/portal/src/pages/admin/AdminFleetUpdatesPage.tsx`](../../apps/portal/src/pages/admin/AdminFleetUpdatesPage.tsx), [`docs/portal/OPERATIONS.md`](../portal/OPERATIONS.md)), admins see the restored health, failed candidate health, and candidate release on a rolled-back target, and an explicit "not yet reported" state for a target without a receipt. An empty manifest `rollback.allowed_release_ids` adds no restriction, while a nonempty list must include the restored release; serving, trust, revocation, and schema checks still apply.
+2. **Local journal inspection (`node/updater`):** On the node, read the journal without starting an update:
+ ```bash
+ /opt/vpn-node/current/fvpn-updater status -config /etc/vpn-node/updater.json
+ ```
+ Alternatively use `status -journal /var/lib/vpn-node/update-journal/journal.db` (file, not directory; do not combine with `-config`). Inspect `candidate_health`, `candidate_health_json`, `health`, `journal_stage`, `recovery_required`, `last_result_state` and `last_rejection`. The snapshot is local durable evidence, not central completion. Restoration of a healthy binary alone does not prove member forwarding resumed; recheck publication, lease and serving checks.
+3. **Result validation, failed-result cause, rollback recovery without stored health (`#192`), and conflict bounds (`#140`, `#192`, `internal/fleetupdate/results.go`, `node/updater/engine.go`, `docs/updates/node-updater.md`):** Every `failed` result requires a non-null `error_code` regardless of stage (omitting the required `error_code` property returns `422 VALIDATION_FAILED` before the result transaction, without a receipt; an otherwise valid, job-bound `failed` result with `error_code: null` returns `422 VALIDATION_FAILED` with a rejection receipt; either rejection leaves the job and target projection as they were). A valid pre-health failure (`claim` through `start`) can carry `health: null` with a non-null `error_code`. Acceptance changes the job to `failed` with `needs_attention: true` only when the job is nonterminal and its state can advance to the reported state. A result can be accepted as history; an older nonterminal job may still advance its own ledger, but historical acceptance does not update the current node observation. On the node, `toRecovery` adds `blankHealth` only when no health was passed in, the error stage is `api.UpdateStageRollback`, and `txnHasHealth` finds no stored transaction health. `blankHealth` sets `processes`, `internet_only`, `dns_policy` and `tunnel_probe` to `failed`; `identity_and_state` comes from `checkPersistent(view)` and can be `passed`. `api.UpdateHealth` contains these five statuses and has no detail field. An existing health profile is retained; a pre-health recovery such as `migrate` does not receive this rollback fallback. For conflicting replays (`409 ACK_CONFLICT` when a known `result_id` arrives with different payload bytes), central writes the `update_result_conflicts` row and the `update_result.conflict` audit event once per `(result_id, conflicting_hash)` in a single transaction; replaying an already-recorded conflicting hash returns `409 ACK_CONFLICT` with no new row or audit ([central lifecycle](../updates/central-lifecycle.md#terminal-evidence-and-receipts-d-062)). Do not rewrite journal payloads or result IDs manually.
+4. **Updater delivery states:** The updater retains 409 as `conflict` and other permanent 4xx (except 429) as `rejected`, stops resending those rows, and allows later results through. `last_rejection` contains bounded HTTP/API/local codes. Transport failures, 5xx and 429 remain pending; 429 honors `Retry-After` across restarts. After correcting connectivity, `fvpn-updater flush -config /etc/vpn-node/updater.json` can send pending results; successful flush alone does not mean every result was accepted.
+5. **Recovery latch:** If `recovery_required` is true or rollback fails, retain the fail-closed latch and follow [node recovery](../updates/node-updater.md); investigate locally or revoke and re-enroll if recovery cannot restore a supported release. Do not remove the latch to claim success.
+
+**Direct terminal result and acceptance evidence (`#129`, `#135`, `#149`, `#158`, `#177`, `#186`, `#204`, `#212`, [`docs/updates/central-lifecycle.md`](../updates/central-lifecycle.md)):** Central accepts a validated current-job terminal result (`succeeded`, `failed`, or `rolled_back`) directly from `queued` without requiring an earlier `applying` or `checking` receipt. The [updates follow-up 4 acceptance record](../e2e/at/updates/history/follow-up-4/README.md) passes `AT23`–`AT27`, the [updates follow-up 5 record (`#158`)](../e2e/at/updates/history/follow-up-5/summary.md) ([pre-result seeding](../e2e/at/updates/history/follow-up-5/pre-result.md), [probe issuance](../e2e/at/updates/history/follow-up-5/probe-issuance.md)) passes `AT23`, `AT25`, and `AT26`, the [updates follow-up 6 record (`#177`)](../e2e/at/updates/history/follow-up-6/summary.md) passes `AT26` (`rolled_back` with revision 7 `previous_release_id`, `health`, and `candidate_health` evidence) with `AT23` and `AT25` blocked on `F5-02` and `AT24` and `AT27` blocked on `F6-02`, and resolves `F5-01` (fresh pre-result case `c` emits one bounded `update_observation.unexpected_release` audit and keeps null columns under `#167`'s `last_good_release_id` agreement rule), the [updates follow-up 7 record (`#186`)](../e2e/at/updates/history/follow-up-7/summary.md) ([requests](../e2e/at/updates/history/follow-up-7/requests.md)) passes fresh `AT24`, `AT26`, and `AT27` and resolves `F6-02` while `AT23` and `AT25` keep their follow-up 6 blocked records, and [updates follow-up 8 (`#212`, previously reported run `d50da75fd14fc72c`)](../e2e/at/updates/history/follow-up-8/summary.md) (the archive lists a different run) on a fresh `#204` stack (`w4-updates` / `42000`, after devstack follow-up 13 `#204` exported `Stack.ProbePeer`, `Stack.ProbeWatchContainer`, and `Stack.WaitForProbeDatagram`, resolving `F5-02`) passes all five **`AT23`**, **`AT24`**, **`AT25`**, **`AT26`**, and **`AT27`** in one live run (`AT23` and `AT25` verify live `probe-client` -> `node` -> `probe-watch` traversal with `probe_omission_count = 0`; `AT24` and `AT27` are governed by `D-068` `#189` and the **incarnation-wide accepted-result authority rule** in [`docs/updates/central-lifecycle.md`](../updates/central-lifecycle.md), `F6-02`: once any `UpdateResult` is accepted for an incarnation, heartbeats cannot seed `nodes.current_release_id` or emit `update_observation.unexpected_release` audits on subsequent jobs for that incarnation, so pre-result seeding on a later batch requires a fresh node incarnation and product behavior is not weakened). Physical `arm64` execution remains recorded as a real-hardware item (`§9`).
+
+Retrying failed/rolled-back targets in a batch (`UpdateBatchRetryRequest`) `[Verified on dev/test stack]`:
+```bash
+curl -fsS -X POST "https://vpn.example.com:8443/api/v1/admin/update-batches/${BATCH_ID}/retry" \
+ -H "Cookie: __Host-fvpn-admin=${ADMIN_SESSION}" \
+ -H "X-CSRF-Token: ${ADMIN_CSRF_TOKEN}" \
+ -H "Origin: https://vpn.example.com" \
+ -H "Idempotency-Key: $(uuidgen)" \
+ -H "Content-Type: application/json" \
+ -d "{
+ \"target_ids\": [\"${TARGET_ID}\"],
+ \"reason\": \"Disk space cleared on node; retry attempt\"
+ }"
+```
+
+---
+
+## 5. Threat Feeds, Resolver Document Publication, and `dns.feed.refresh_failed` Runbook (`§12`, `D-054`, `D-056`, `D-058c`, `D-058d`, `D-061`, `docs/dns/PUBLISH.md`, `docs/dns/FEEDS.md`, `docs/node/README.md`)
+
+### 5.1 How Threat Feeds and Resolver Documents Are Published and Delivered
+
+Threat-feed `attribution: null` (or omission) is accepted. A non-null blank or whitespace-only note is rejected in source validation, policy validation (`/payload/attribution`, `schema_invalid`) and before worker fetch; null does not bypass source URL, host, port or size checks. See [contract conventions](../contracts/README.md) and `internal/dnspolicy/sources.go`.
+
+1. **Threat-Feed Refresh (`dns.feed.refresh`, `00181_dns_feed_contents.sql`, `00182_dns_feed_review.sql`, `D-054`)**:
+ - Activating a `threat_feed` policy revision enqueues `dns.feed.refresh` in `outbox_events` and requires both `desired_state_compile` and `dns_feed_refresh` steps (`observed_refs.dns_feed_content`) on the `policy.activate` operation (`00182_dns_feed_review.sql`).
+ - `fvpn-worker` fetches `source_url` over HTTPS (`NewSourceHTTPClient` with SSRF protection rejecting loopback, RFC1918, CGNAT `100.64.0.0/10`, link-local, multicast, ULA, and documentation literals, and refusing redirects), verifies the exact SHA-256 against the revision's pinned `content_sha256` on bootstrap, normalizes domains via IDNA, enforces the removal guard (`feed_max_removal_percent`, default `50%`) and addition cap (`MaxAdditionPercent = 100%`), and writes immutable entries to `dns_feed_contents` and status to `dns_feed_refresh_state` (fenced by `activation_generation` and `last_receipt`).
+ - `GET /api/v1/admin/policies?type=threat_feed` exposes `PolicyDefinition.threat_feed_status` (`D-058c`) with `approved_content_sha256`, `last_good_content_sha256`, `rule_count`, `last_attempt_status` (`never`, `success`, `failed`), `consecutive_failures`, `next_due_at`, and bounded `last_error_code`.
+2. **Resolver Document Compilation (`dns.publish`, `00180_dns_publish.sql`, `00182_dns_feed_review.sql`, `D-056`)**:
+ - Activating a `dns_profile` requires both `desired_state_compile` and `dns_document` steps (`observed_refs.dns_document`). `fvpn-worker` compiles a deterministic canonical JSON `resolver_document` (`kind = "resolver_document"`, `schema_version = 1`), stores it in `dns_resolver_documents`, and advances `dns_publication_heads` (`dns_profile_feeds_eligible` ensures all referenced threat-feed revisions remain active and within `[valid_from, valid_until)`).
+ - The desired-state compiler includes the eligible resolver reference before hashing/signing and records issuance in the same transaction. `node.resolver_documents.reconcile` delivers changed references for the one active fleet DNS profile to current registered nodes, including unpublished nodes, without another publication command. Its schedule is bounded by `min(nodes.json:reconcile_seconds, 60)` seconds, subject to dispatcher/dependency success, not an apply SLA. Equal references cause no generation/ETag churn; unavailable documents retain last-good, while ambiguous profiles or invalid documents fail closed ([node wiring](../nodes/WIRING.md)).
+3. **Node Delivery, Verification & Local AdGuard Home Credentials (`node/agent/resolver.go`, `node/dns`, `D-056`, `D-061`, `docs/node/README.md`, `docs/nodes/WIRING.md`)**:
+ - `GetResolverDocument` (`GET /api/v1/agent/resolver-documents/{document_id}`) authorizes the mTLS-authenticated node's current incarnation and current/previous desired-state generation via `RecordIssuedResolverDocumentTx` and streams the canonical RFC 8785 bytes (`ETag: "sha256:"`). See §5.1 below and [node wiring](../nodes/WIRING.md) for signed issuance and periodic reconciliation.
+ - On the exit node (`D-061`, `#150`, `docs/node/README.md`, `node/agent/dnsconfig.go`), `agent.json` configures `dns.resolvers[]` (`1..8` host-local AdGuard Home targets with IP-literal `admin_url` and `dns_addr`) and `dns.resolver_credentials_file` (an absolute path to a regular JSON file `{"username","password"}` with mode `0600`, owned by `0:0`, and a single hard link `Nlink == 1`). `fvpn-agent run` loads `resolver_credentials_file` at startup and reloads it on `SIGHUP` without stopping; wrong file mode, non-root owner/group, or multiple hard links refuses the check (`FORBIDDEN`, detail `"Resolver credentials are not usable."`) without logging the secret or URL.
+ - `fvpn-agent` verifies the exact byte length (`size_bytes`) and SHA-256 (`content_sha256`) before parsing, applies the policy to all configured AdGuard Home instances via `node/dns.Applier` (with automatic rollback on partial failure), and reports `ObservationReport.dns_policy_evidence` (`outcome`: `applied`, `failed`, `partial`, or `not_run`, plus `feeds[]` evidence). `dns_policy` is recorded as `applied` (`passed`) only when the applier's read-back `DocumentHash` (case-insensitive, trimmed) and decimal `PolicyGeneration` match the signed `ResolverDocumentRef`; any digest or generation mismatch reports `failed` / `VALIDATION_FAILED` (`#150`, `node/agent/resolver.go`).
+
+The agent's `dns_policy` check passes only after the exact document ID and digest in the in-force desired state have been applied. A revoked/expired policy cannot be attested as passed from desired state alone; missing resolver application support reports `not_run` / `DEPENDENCY_UNAVAILABLE` (see [node runtime](../node/README.md)).
+
+**Redirecting AdGuard admin listener:** The node's resolver admin client refuses every HTTP redirect, including same-host port changes. An AdGuard admin origin behind an HTTP→HTTPS redirect makes policy apply fail with an error such as `HTTP 307 from GET /control/dns_info`. Configure `dns.resolvers[].admin_url` to the final permitted origin directly, with usable TLS trust if HTTPS, then restart the agent for the configuration change. Credential-only changes can use `SIGHUP`. The client omits the redirect location and credentials from errors; the agent exposes `failed` / `VALIDATION_FAILED` / `Resolver policy was not applied.` rather than the raw origin (`node/dns/client.go`, `node/agent/resolver.go`).
+
+### 5.2 Troubleshooting `dns.feed.refresh_failed` (`docs/dns/FEEDS.md`)
+
+When a threat-feed fetch fails (`fetch_failed`, `http_status`, `read_failed` -> `DEPENDENCY_UNAVAILABLE`; `content_mismatch` -> `HASH_MISMATCH`; `oversize`, `content_too_large` -> `PAYLOAD_TOO_LARGE`; `invalid_config`, `invalid_size`, `outside_validity`, `ssrf_refused`, `parse_error`, `zero_rules`, `delta_breach` -> `VALIDATION_FAILED`), `fvpn-worker` retains `last_good_content` in `dns_feed_refresh_state`, increments `consecutive_failures` and `fvpn_dns_feed_refresh_total`, and appends an `audit_events` row with `action = 'dns.feed.refresh_failed'`.
+
+Inspect failed threat feeds and recent audit events:
+```sql
+SELECT r.feed_revision_id,
+ r.last_good_content,
+ r.last_error_code,
+ r.consecutive_failures,
+ r.last_attempt_at,
+ r.last_success_at,
+ r.next_attempt_at,
+ c.content_sha256 AS retained_sha256,
+ c.rule_count AS retained_rules
+FROM dns_feed_refresh_state r
+LEFT JOIN dns_feed_contents c
+ ON c.feed_revision_id = r.feed_revision_id
+ AND c.content_sha256 = r.last_good_content
+WHERE r.consecutive_failures > 0
+ORDER BY r.last_attempt_at DESC NULLS LAST;
+```
+- **`content_mismatch` (`HASH_MISMATCH`)**: Bootstrap bytes differ from the reviewed snapshot pin. Confirm the intended upstream version and approve + activate a new `threat_feed` revision with the reviewed `content_sha256`.
+- **`delta_breach` (`VALIDATION_FAILED`)**: Upstream feed removed more than `feed_max_removal_percent` (default `50%`) of entries relative to either the previous last-good or the bootstrap snapshot, or added more than `MaxAdditionPercent` (`100%`) relative to the bootstrap snapshot. Verify whether the upstream list was truncated or materially replaced before approving a new revision.
+
+---
+
+## 6. Freezing, Recovering, and Adjusting the Usage Ledger (`§10.8`, `§10.9`, `§17.3`)
+
+The `fvpn-usage-admin` CLI operates directly against PostgreSQL and the central signing vault (`/var/lib/fvpn/staging-authority/vault`) and records an append-only `audit_events` row for every mutation.
+
+### 6.1 Freezing and Recovering the Usage Ledger (`freeze`, `begin-recovery`, `complete-recovery`)
+
+Use this sequence whenever central PostgreSQL is restored from backup or when investigating a ledger anomaly (see [`restore-drill.md`](restore-drill.md) for full `AT30` details):
+
+`[Verified on dev/test stack]`
+```bash
+# 1. Freeze ingestion (nodes receive retryable 503 DEPENDENCY_UNAVAILABLE and retain local SQLite events)
+/usr/local/bin/fvpn-usage-admin --config /etc/fvpn/control.json \
+ freeze \
+ --actor "${ADMIN_ACTOR_UUID}" \
+ --reason "Maintenance / ledger recovery"
+
+# 2. Rotate ledger_epoch, recompute stream watermarks from committed rows, and enter reconciling mode
+/usr/local/bin/fvpn-usage-admin --config /etc/fvpn/control.json \
+ begin-recovery \
+ --actor "${ADMIN_ACTOR_UUID}" \
+ --reason "Reconcile streams after restore" \
+ --restored-to "2026-10-29T18:02:00Z" \
+ --affected-since "2026-10-01T00:00:00Z"
+
+# 3. After nodes pull signed checkpoints and finish replay, return to normal mode
+/usr/local/bin/fvpn-usage-admin --config /etc/fvpn/control.json \
+ complete-recovery \
+ --actor "${ADMIN_ACTOR_UUID}"
+
+# 4. After complete-recovery (D-076, D-077, D-081, #227, #238, #244): list devices fenced as
+# authorization-unconfirmed via GET /api/v1/admin/devices?authorization_unconfirmed=true
+# (listAdminDevices, correlated with audit action device.authorization.external_withdrawal
+# and worker log "device authorization unconfirmed during ledger restore") and re-authorize
+# explicitly via POST /api/v1/admin/members/{member_id}/devices/{device_id}/authorize
+# (authorizeMemberDevice, 202 member.device_authorize) where the member is entitled;
+# see §7.1 below and restore-drill.md Phase 5.2 / Phase 6.3.
+```
+
+- **Inspecting a node's local SQLite usage ledger (`fvpn-agent usage snapshot`, `#225`, `#232`) and `ObservationReport.usage` / `NodeDetail.usage_outbox` (`SECOPS-19`, `#226`, `#232`, `#238`, `#243`, `db/migrations/00189_node_incarnation_usage_outbox.sql`)**:
+ When a node's usage watermark in `usage_checkpoints` lags central or before/after an installer re-run (`AT06`, `ENR-05`), run `/opt/vpn-node/current/fvpn-agent usage snapshot -config /etc/vpn-node/agent-run.json [-json]` (`#225`, `#232`, [`docs/node/usage-store.md`](../node/usage-store.md), [`docs/node/usage-upload.md`](../node/usage-upload.md)) on the node to read `state_dir/usage.db` (`mode=ro`, `query_only`, `1 s` `SnapshotBusyTimeout`, no update lock; see §3.1 for all fields, exit codes `0`/`1`/`2`/`3`/`4`/`5`/`64`, the `ApplyACK` single-transaction non-torn invariant, the `#232` pure-read rule that `gate_stopped` is evaluated only by `meter.Health` -> `EvaluateGate` on the run loop, and the `#232` rule that `ledger_epoch` stays `null` / `none` until a verified recovery checkpoint `ApplyCheckpoint` is accepted even when `central_acked_through > 0`). Central also stores each heartbeat's live `ObservationReport.usage` (`UsageOutboxStatus`, `#226`, `SECOPS-19`: `last_durable_event_seq`, `central_acked_through`, `blocked_seq`, `unacked_event_count`, `unacked_payload_bytes`, `oldest_unacked_at`, `acked_archive_bytes`, `ledger_epoch`, `meter_epoch_id`) inside `node_observations.report_payload` and, on `main` (`#238`, `#243`, migration `db/migrations/00189_node_incarnation_usage_outbox.sql`), projects **`NodeDetail.usage_outbox`** (`UsageOutboxStatus` fields + `observed_at`) on `GET /api/v1/admin/nodes/{node_id}` participating in the strong node `ETag` (`""`, `304 Not Modified` on `If-None-Match`; see §2.3 and §3.3 item 6).
+**Historical follow-up 10 measurement — AT30 passed again (#265), run `0e8ff9a4-4fa1-4154-ae35-847a5be4d985` (`0e8ff9a4`), product `d9e28f8`, on the shared development host:** pre-replay database RPO **95.507504 s**, post-replay service usage RPO **0 s**, protocol RTO **93.532554563 s**, total outage RTO **106.868537734 s**. These are shared-host measurements, not production objectives. Historical #242 and #221 measurements remain separately dated below. SECOPS-16/17 closed against #240 (`past_due` admitted only while `paid` stays true); SECOPS-20 closed against #241 (D-079); SECOPS-18/19 revalidated, SECOPS-05 retained, D-077 proved through HTTP. SECOPS-21 stays open. AT29/AT31 were deferred to devstack follow-up 15 exports; those exports do not by themselves promote the full AT cases. Source: [AT30 Follow-up 10 archive](../e2e/at/secops/history/follow-up-10/AT30.md) and [exact JSON](../e2e/at/secops/history/follow-up-10/restore-reconcile.json). Security-ops follow-up 11 (#274) archived all 104 files byte-identical under D-098; its live AT29 / AT31 / AT30 runs were not executed. D-103 assigns the existing `fvpn-w4-secops-*` namespace to follow-up 12.
+
+Portal follow-up 16 (#255) supplies `/admin/devices` with authorization-unconfirmed, status and member filters, filter-bound cursors, a confirmed Re-authorize action, a neutral receipt for an existing operation, and a separate paginated read-back until the grant is visible. The node detail also has the usage-outbox block. Operators may use the portal page or the API above; a 202 receipt alone is not a completed grant.
+
+- **Post-restore desired-state generation floor (`SECOPS-21`, `#245`)**:
+ **SECOPS-21 remains open. Symptom:** security-ops follow-up 10 (#265) saw first post-restore offer generation `11` while the node retained `14`, despite #245's floor over `nodes.desired_config_generation`, `nodes.applied_config_generation` and stored desired-state history. Older offers raise `ErrStaleGeneration`. **Rule (D-095, #270):** stop control/worker, restore T0, and freeze-ingest before starting either service on the restored database. The compiler holds the first post-restore compile until a fresh observation from the current incarnation arrives after `usage_ledger_state.mode` left `normal`. The observable hold is `pending fresh observation after restore` (retryable `503 DEPENDENCY_UNAVAILABLE`, node drift `desired_state_restore_observation`, operation step `fresh_observation`). **Verification:** after a fresh applied `14` report, require first new offer `15`, node acceptance without `ErrStaleGeneration`, then a separate applied ACK and converged `config_generation.desired` / `config_generation.applied`. Completing recovery alone must not release the hold. D-099 is fixed at the HTTP layer in wire-nodes follow-up 29 (#277). `CompileTx` always proposes `max(desired, applied, stored)+1`; cache reuse is allowed for the cached generation or its ordinary one-step proposal only when no higher applied/stored generation exists and no restore observation is outstanding. Policies follow-up 8 (#286) promotes `TestAT30_D095_HTTPRestoreCacheProbe`: the exact 503 hold precedes offer `15` above retained `14`; the pre-#277 negative control fails with `304 / generation 11`. The fixture ACKs are simulated. Do not close SECOPS-21 from the compiler tests alone. Live closure requires the first delivered offer, a matching node-local accepted envelope/ETag, successful application and a separate real applied ACK; absence of a stale-generation log is insufficient. See the [HTTP fix note](../nodes/2026-10-31-secops-21-handover.md) and [live closure checklist](../policies/2026-10-31-secops-21-handover.md).
+
+### 6.2 Inspecting Member Usage Breakdown & Recording Adjustments (`drill-down`, `adjust`)
+
+Raw `usage_events` and `usage_samples` are immutable (`F-02`). If a member requires a usage credit or correction, record an explicit signed adjustment in `usage_adjustments` (`§10.9`):
+
+`[Verified on dev/test stack]`
+```bash
+# Inspect member total, watermarks, per-node and per-device breakdown for a UTC month
+/usr/local/bin/fvpn-usage-admin --config /etc/fvpn/control.json \
+ drill-down \
+ --member-id "${MEMBER_ID}" \
+ --period "2026-10"
+
+# Record a signed byte delta (negative values credit/reduce counted usage; floored at 0 on read)
+/usr/local/bin/fvpn-usage-admin --config /etc/fvpn/control.json \
+ adjust \
+ --member-id "${MEMBER_ID}" \
+ --period "2026-10" \
+ --upload-bytes -1073741824 \
+ --download-bytes -5368709120 \
+ --actor "${ADMIN_ACTOR_UUID}" \
+ --reason "Support ticket #1042: credit during node maintenance window"
+```
+
+---
+
+## 7. Suspending Members, Managing Grants, and FUP Overrides (`§5.1`, `§9.3`, `§11`, `§14.5`)
+
+### 7.1 Suspending and Reactivating a Member (`PATCH /api/v1/admin/members/{member_id}`)
+
+Suspending a member (`"admin_suspended": true`) requests withdrawal of member forwarding across all exit nodes and withdraws access from all of the member's NetBird peers via an asynchronous `member.suspend` operation (`AT04`, `docs/members/README.md`). Payment webhooks never auto-unsuspend an admin-suspended member (`§9.3`).
+
+`[Verified on dev/test stack]`
+```bash
+# Fetch current member ETag first via GET /api/v1/admin/members/${MEMBER_ID}
+curl -fsS -X PATCH "https://vpn.example.com:8443/api/v1/admin/members/${MEMBER_ID}" \
+ -H "Cookie: __Host-fvpn-admin=${ADMIN_SESSION}" \
+ -H "X-CSRF-Token: ${ADMIN_CSRF_TOKEN}" \
+ -H "Origin: https://vpn.example.com" \
+ -H "If-Match: \"${ETAG}\"" \
+ -H "Idempotency-Key: $(uuidgen)" \
+ -H "Content-Type: application/json" \
+ -d '{
+ "admin_suspended": true,
+ "suspension_reason": "Terms of service violation / abuse report"
+ }'
+```
+To reactivate, send `"admin_suspended": false` and `"suspension_reason": ""` with the new `If-Match` ETag (`member.unsuspend` operation).
+
+Plan downgrades keep the oldest authorizations (`authorized_at`, then device ID); excess devices become `pending` and are withdrawn. Loss of entitlement withdraws access; restoration readmits only previously authorized, non-revoked devices with verified mappings within the current quota. Removed exit groups trigger policy withdrawal on previously serving nodes too. Inspect `device.authorize` denial audits: the `recordDiscoveryDenial` path audits **once per decision transition**. `identity_binding.rejected` is separately deduplicated through `noteDiscoveryDecision`. Discovery uses `recordDiscoveryDenial` for an unverified identity. For a verified identity, `relaxDiscoveryDecision` updates a previously stored decision, if any; `ObserveAndAuthorize` can then reach `AuthorizeDevice`, whose error path uses ordinary `recordDenial` without deduplication. A mapped peer that stays ineligible can therefore add a denial on every discovery pass. A `device.authorize` denial uses the peer's existing device row when present, otherwise a known member; `fleet_config:00000000-0000-0000-0000-000000000001` (`fleet_config`) is the fallback when neither is known, never to an invented member. Likewise (`#205`, `#208`), operations are never marked `failed` because two worker goroutines handled the same member concurrently (`SyncDevice` and `SyncMember` use non-blocking `pg_try_advisory_lock` in namespace `120` and return `db.ErrLeaseLost` / `entitlement.ErrConflict` for retry without calling `failOperations`; see §2.1 above). See [members operations](../members/README.md#quota-withdrawals-and-finite-binding-history).
+
+- **`D-076`, `D-077`, and `D-081` — A Restored Older Device Authorization Never Re-Grants By Itself (`#227`, `#238`, `#242`, `#244`, `SECOPS-18`, `db/migrations/00188_device_authorization_fences.sql`, `internal/devices/worker.go`, `internal/devices/service.go`, `internal/members/httpadapter/handlers.go`, [`docs/members/README.md`](../members/README.md#restored-authorization-does-not-re-grant-d-076))**:
+ After a ledger restore, `SyncDevice` fences any device whose authorization central cannot confirm (when `member_devices.status = 'authorized'`, `device_authorization_observations.observed_authorized = true`, and preflight `ObservePeer` reports the peer withdrawn from the expected paid group in NetBird, confirmed by a second `ObservePeer` in the same sync pass, with no newer `member.device_revoke` operation or `device.revoke` audit event): the peer stays withdrawn (`allow=false`, `Adapter.SetAuthorization` is called with that value and an empty group list), the member read-back (`GET /api/v1/member/devices`) shows `pending` and `MemberDevice.authorization_unconfirmed: true` (`#238`, `#244`, always emitted as a boolean on `main`, where `true` means fenced in `device_authorization_fences` and `false` otherwise; absent on a server that does not project the field yet), one audit `device.authorization.external_withdrawal` records successful creation of the protective fence, not an authorization denial (`resource = "member_device:"`, `actor = system`, `result = "succeeded"`; `changes.after` contains `member_id`, `peer_id`, `observed_groups` and `reason: "external_withdrawal"`), the durable mark is a row in `device_authorization_fences` (`db/migrations/00188_device_authorization_fences.sql`, columns `device_id`, `fenced_at`, `observed_group_ids`, joined to `member_devices` on `id = device_id` for `member_id`, `peer_id`, and `status`, while the reason is recorded in the `device.authorization.external_withdrawal` audit event and the worker log line `device authorization unconfirmed during ledger restore`), and `fvpn_device_restore_fence_decisions_total` counts the decisions on the worker registry. Entitlement restoration does not clear a fence; only an explicit re-authorization (`AuthorizeDevice`, operation kind `member.device_authorize`, actor `system` or `admin`, new idempotency key) or a revoke does (`RevokeDevice` / `member.device_revoke`, through `deleteAuthorizationFence`). On `main` (`#238`, `#244`, `D-077`, `D-081`):
+ 1. **Discovering fenced devices (`GET /api/v1/admin/devices?authorization_unconfirmed=true`, `listAdminDevices`):** Returns the operator list of devices needing re-authorization after a restore, ordered by `(member_id, device_id)` with an opaque filter-bound keyset cursor (`400 MALFORMED_REQUEST` if reused across different filters) and optional `member_id` and `status` filters (`status=pending` includes fenced rows; `status=authorized` excludes fenced rows). Each `AdminDevice` carries `authorization_unconfirmed: true` and `authorization_unconfirmed_since` set to `device_authorization_fences.fenced_at` (`null` when not fenced). Operators can also correlate `GET /api/v1/admin/audit-events?resource_type=member_device&resource_id=` (or `resource=member_device:&action=device.authorization.external_withdrawal`, followed by `action=device.authorize` on re-grant) and the worker log line `device authorization unconfirmed during ledger restore` (fields `device_id`, `member_id`, `peer_id`, `ledger_mode`).
+ 2. **Re-authorizing a fenced device (`POST /api/v1/admin/members/{member_id}/devices/{device_id}/authorize`, `authorizeMemberDevice`):** Admin session + CSRF + new `Idempotency-Key` (no request body) is the only path that re-grants a fenced device and the ordinary admin authorization of a `pending` device. It deletes the `device_authorization_fences` row in the same transaction, writes a `device.authorize` audit event on `member_device:`, enqueues `device.sync`, and returns `202 Accepted` with operation kind `member.device_authorize` (when a fenced device's underlying `member_devices.status` row is still `authorized`, `AuthorizeDevice` returns the device's existing `member.device_authorize` operation — confirm completion by checking `GET /api/v1/admin/devices` or `GET /api/v1/member/devices` for `status: authorized` and `authorization_unconfirmed: false` after the worker sync, not by expecting a new operation row). Error responses: `404 NOT_FOUND` when the device does not belong to `member_id`, `409 STATE_CONFLICT` when the device is `revoked`, and **`409 DEVICE_LIMIT_REACHED`** (`D-081`, corrected in `#247`: the shared `Conflict` response and `pkg/apierr` are authoritative) when authorizing a `pending` device would exceed the member's plan allowance.
+ As stated in [`docs/members/README.md`](../members/README.md#restored-authorization-does-not-re-grant-d-076):
+ > While `usage_ledger_state.mode` is `frozen` or `reconciling`, each device that `SyncDevice` newly fences is logged once as `device authorization unconfirmed during ledger restore` with `device_id`, `member_id`, `peer_id`, and `ledger_mode`, and counted in `fvpn_device_restore_fence_decisions_total` on the worker registry. Those device ids need an explicit re-authorization decision after `complete-recovery` if the member is still entitled.
+ *(As [`docs/members/README.md`](../members/README.md#restored-authorization-does-not-re-grant-d-076) adds: "A restored `member_devices.status=authorized` row and `device_authorization_observations.observed_authorized=true` do not re-grant. The peer stays withdrawn until `AuthorizeDevice` (`member.device_authorize`, `system` or `admin`, new idempotency key) deletes `device_authorization_fences`. Do not delete that table in the restore transaction.")*
+
+### 7.2 Issuing Finite Entitlement Grants (`POST /api/v1/admin/members/{member_id}/grants`)
+
+Manual entitlement grants (`GrantCreateRequest`) require a `source` (`admin_grant`, `compensation`, `trial`, or `migration`), a `reason`, and a finite `[valid_from, valid_until)` interval bounded by `members.json:grant_max_seconds` (`F-05` rejects unbounded grants):
+
+`[Verified on dev/test stack]`
+```bash
+curl -fsS -X POST "https://vpn.example.com:8443/api/v1/admin/members/${MEMBER_ID}/grants" \
+ -H "Cookie: __Host-fvpn-admin=${ADMIN_SESSION}" \
+ -H "X-CSRF-Token: ${ADMIN_CSRF_TOKEN}" \
+ -H "Origin: https://vpn.example.com" \
+ -H "Idempotency-Key: $(uuidgen)" \
+ -H "Content-Type: application/json" \
+ -d '{
+ "source": "admin_grant",
+ "valid_from": "2026-10-29T00:00:00Z",
+ "valid_until": "2026-11-05T00:00:00Z",
+ "reason": "7-day courtesy access while billing issue is resolved"
+ }'
+```
+*(Grant creation returns `202 Accepted` with a `member.grant` operation on `entitlement_grant:`. Revision 14 adds `POST /api/v1/admin/members/{member_id}/grants/{grant_id}/revoke` with `ReasonRequest`, admin session + CSRF and `Idempotency-Key`; `202` carries `member.grant_revoke` and the same audit action. Devices it authorized move to pending within one heartbeat through D-050 / D-081. A missing/wrong-member grant returns `404 RESOURCE_NOT_FOUND`; a new command for an already revoked or expired grant returns `409 STATE_CONFLICT`; same-key replay returns the original operation. Wire-members follow-up 11 (#297) implements this route. D-117: all grants are finite (`valid_until` NOT NULL + `isfinite` since migration 00001); far-future grants can be withdrawn too. Worker `member.grant_revoked` joins the fence batch from #291. Finite expiry via `members.reconcile` remains separate. D-119: a finite grant's deadline means expiry; a plan change at a boundary is a billing-issued replacement grant, with no scheduled plan-change contract.)*
+
+- **Fair-Use Enforcement Reach and `fair_use.applying` Convergence (`#222`, `§11.4`–`§11.8`, [`docs/policies/README.md`](../policies/README.md), [`docs/usage/README.md`](../usage/README.md), `internal/desiredstate/compiler.go`, `internal/usage/queries.go`)**:
+ - **What triggers desired-state recompilation on serving exits:** The `policy.activated` payload identifies the policy kind in `type`. A `fair_use` or `plan` activation first schedules and flushes a Fair-Use sweep of active members, limited by the configured batch size. The evaluation job is `fup.evaluate`; `Engine.persistEvaluation` enqueues `fup.member_generation_changed` when the member generation advances. For `policy.activated` with `type = "fair_use"` and for `fup.member_generation_changed`, the policies worker passes the claimed event directly through `recompilePolicyEvent` to `Compiler.RecompileBatch` when a compiler is available. The compiler selects published registered exits carrying the affected members, including current envelopes that already name them; a fair-use activation selects that scope for all members.
+ - **When `fair_use.applying` stays `true` and when it clears:** In the owning member's `GET /api/v1/member/usage` response, `fair_use` carries `api.FairUseStatus` from `GetMemberStatus` / `GetAdminMemberStatus` in `internal/fup/engine.go`. For enforce mode with a positive generation and an ack reader, the engine reads carrying-exit acknowledgments; `fair_use.applying` is `true` while `PendingNodes > 0`. It clears when no carrying exit remains pending, including when no published exit carries the member. Shadow mode reports `applying: false`. The admin-member detail route remains valid for member administration; it does not own this usage response.
+ - **Carrying-exit acknowledgements and liveness:** In enforce mode with a positive member generation, an exit that has not acknowledged keeps `applying` `true`. An ACK requires the applied generation to reach the current envelope generation, the envelope's member rate-policy generation to reach the member generation, current node safety to be `passed`, an unfrozen current-incarnation mapping, and the latest stored observation to say `safety_status = 'passed'` and `control_status = 'online'`. The query checks neither that observation's age nor the node's current `control_status`. An acknowledged exit that later goes offline or stale stays counted as acknowledged while the other ACK conditions still hold; that liveness change alone does not make `applying` `true` again. `applying: false` does not show that every carrying exit is live now. Check the node's current `control_status`, `last_observed_at` and `last_seen_at` for liveness — "look at the node", not "look at the policy". A member with no published carrying exit reports `applying: false` regardless of the state of a `policy.activate` operation.
+ - D-091 (#263): `fair_use.applying` counts ACKs only from current, safe carrying exits. Zero published carrying exits gives `applying=false` with summary `no published exit carries this member`. An exit whose node safety is not passed or whose current incarnation is frozen in `node_identity_endpoints.mapping_frozen` remains pending and cannot count as an ACK. The freeze flag is keyed by incarnation. The registered-node fallback reading `checks.applied_policy_refs` is deleted (r15 M-5). `pending desired-state compilation` applies only to a non-empty carrying set with no envelopes. Restore device review follows [the owner's Step 6](../usage/restore-runbook.md#step-6-review-devices-fenced-during-the-restore-d-076--d-077): list all fenced devices with pagination, review entitlement and central revocation, explicitly authorize eligible devices, then verify the worker result and read-back; never delete fences in the restore transaction.
+ - **Known gap:** `plan` activation (`policy.activated` with `type = "plan"`) runs the Fair-Use sweep but does not directly call the compiler. A generation change from that sweep can trigger recompilation; plan-only rate changes that produce no member-generation event still wait for another compile trigger on those exits (`#222`).
+
+### 7.3 Identity Continuity, Client Rotation and Duplicate Pre-Check (`D-052`, `#134`, `#137`, `#139`, `docs/control/AUTH.md`, `docs/members/README.md`)
+
+One member is identified by canonical `(issuer, subject)`, independent of the portal client ID (`client_scope`). Both browser login (`internal/auth/store.go`) and NetBird identity discovery (`internal/devices/identity.go`) normalize issuers through `internal/members/issuer.Canonical` (`internal/members/issuer/issuer.go`):
+- `issuer.Canonical` lowercases the `http`/`https` scheme and host, removes default ports (`:80` for `http`, `:443` for `https`), and trims only **literal** trailing slashes (`/`) from the escaped path while preserving percent-encoded trailing slashes (`%2F`, `%2f`) and other percent-encoded bytes as written (`#139`, `docs/members/README.md`).
+- For an operator configuring `oidc_issuer` in `control.json`, `issuer.Validate` requires the configured string to equal its `issuer.Canonical` form at startup (no uppercase scheme/host, no default port, no literal trailing slash, no userinfo, query, or fragment). Because `%2F` is preserved, an issuer path ending in `%2F` is a distinct canonical issuer from the unencoded path; never rely on percent-encoded slashes collapsing onto an unencoded path.
+- Control and worker must use the same shared issuer and public subjects.
+- When an existing `(issuer, subject)` binding logs in after a portal `client_id` rotation (`#134`, `#137`), `PostgresStore.Login` (`internal/auth/store.go` `updateMemberBindingScope`) executes a single `UPDATE identity_bindings SET client_scope=$2, verified_at=clock_timestamp() WHERE id=$1` (enabled by the mutable-`client_scope` trigger in `db/migrations/00186_identity_bindings_client_scope_mutable.sql`) and appends one `identity_binding.proof_updated` audit event carrying the binding ID and fixed reason `client_scope_updated`. The old savepoint and `verified_at`-only fallback were removed in `#137`; subsequent logins from the rotated client see the stored `client_scope` and do not repeat `identity_binding.proof_updated`. It never creates a duplicate member or links accounts by email. See [auth](../control/AUTH.md) and [members](../members/README.md).
+
+Before applying forward migrations to an existing deployment, run this read-only, count-only pre-check:
+
+```sql
+SELECT count(*) AS duplicate_identity_groups
+FROM (
+ SELECT issuer, subject
+ FROM identity_bindings
+ GROUP BY issuer, subject
+ HAVING count(*) > 1
+) AS conflicts;
+```
+
+The issuer/subject uniqueness migration locks and repeats this check; any duplicate group aborts it with SQLSTATE `23505` and only the group count. The pre-check does not replace the migration's locked check. If nonzero, stop the upgrade and have the identity owner investigate historical bindings and their dependent members, devices, grants and billing/audit history in an authorized private maintenance session. A duplicate login fails closed with `403 FORBIDDEN`. There is no merge tool or automatic merge by design: obtain a reviewed data-remediation plan from the member/control owners, preserve identity/history, then rerun the count and migrations after resolving the ambiguity. Do not delete arbitrary bindings, guess from email, bypass the unique constraint, or put raw subjects/issuers into tickets or logs.
+
+The requested browser role now lives in `oidc_login_flows.role` (`admin` or `member`). The role migration backfills legacy verifier prefixes; the reader accepts that legacy format for one release so in-flight logins can complete. A requested admin role still requires the configured admin claim and MFA. Do not manually edit login-flow verifiers ([auth](../control/AUTH.md)).
+
+Current limiter calibration (#252, D-083 / D-078): browser `10/s`, burst `30` **per authenticated session UUID** (the earlier “session” scope held the account id); admin list `read_rate` `30/s`, burst `60` per authenticated session UUID; ingress `20/s`, burst `60` per class and address. Login IPv6 `/64` keying and agent node-URN keying are unchanged. `GET /admin/operations` is not a collection in the contract; only `GET /api/v1/admin/operations/{operation_id}` exists. #233's `TestFollowup21_BrowserClassCalibration` remains the browser pattern proof; #252 adds `TestAT06_BrowserBucketsUseAuthenticatedSessionRows` and the r15 group-cap proofs.
+
+### 7.4 Control Rate Limiters and Dedicated Operation Classes (`D-060`, `#141`, `#145`, `#152`, `#165`, `#169`, `#170`, `#174`, `#190`, `#203`, `#215`, `docs/control/README.md`, `docs/control/AUTH.md`, `internal/config/config.go`, `internal/config/proxies.go`, `internal/httpapi/middleware.go`, `internal/httpapi/jsondoc.go`)
+
+- **Connection-address principal and `trusted_proxies` (`#141`, `#174`, `#190`, `internal/config/proxies.go`, `internal/httpapi/middleware.go`, `docs/control/README.md`, `docs/control/AUTH.md`):** Pre-authentication `ingress` (per class), `anonymous`, and browser `login` limiters key IPv4 (including IPv4-mapped IPv6) per `/32` address and IPv6 per canonical `/64` prefix so a single IPv6 `/64` allocation cannot mint a fresh bucket per `/128` and exhaust `max_rate_principals` (default `10000`). With `trusted_proxies` (`FVPN_TRUSTED_PROXIES`) empty (the default) or when the TCP peer (`r.RemoteAddr`) is outside the configured CIDRs, forwarding headers are ignored and the principal is the TCP peer. When the TCP peer belongs to a listed CIDR in `trusted_proxies` (validated by `config.ParseTrustedProxies`: each CIDR must be at least `/8` for IPv4 or `/32` for IPv6, rejecting `0.0.0.0/0`, `::/0`, shorter prefixes, and IPv4-mapped IPv6 CIDRs because `"trusting the world lets any peer choose its bucket"`), the public listener walks `X-Forwarded-For` from the right, skips trusted hops (entries that themselves match `trusted_proxies`), and uses the rightmost untrusted address (at most `64` entries examined; a missing header or a chain of only trusted hops keeps the TCP peer). Under `#190`'s parse rule, bracketed input (`[addr]` or `[addr]:port`) is never split by the unbracketed port helper; an unbracketed multi-colon string is parsed whole before a trailing port is removed; and eight hextets written with a zero-width `::` (`2001:db8:1::2:3:4:5:6`) are `2001:db8:1:2:3:4:5:6`, `/64` `2001:db8:1:2::/64`. Any TCP peer or chosen `X-Forwarded-For` entry that is not a parseable IPv4 or IPv6 address fails closed with HTTP `429 RATE_LIMITED` (`Retry-After`, counted on `limiter="address"`, never falling back to an entry further left and never inserted into the principal map). `X-Real-IP` and RFC 7239 `Forwarded` stay ignored even from a trusted peer; the agent mTLS listener never reads `X-Forwarded-For` (and mTLS `subject` keys, the login concurrency gate, access logs, and metric labels are unchanged).
+- **Per-class limiter tables, separate `anonymous` class table, mTLS certificate-before-insert, bounded LRU eviction scanning, and concurrency metric (`#169`, `#190`, `#215`, `internal/httpapi/middleware.go`, `docs/control/README.md`, `docs/control/AUTH.md`):** Pre-authentication connection limiters are partitioned into per-class `ingress[class]` tables (`browser`, `read`, `agent`, `heartbeat`, `lease`, `usage`, `anonymous`), unauthenticated `anonymous` routes (`EnrollNode`, `ReceiveProviderWebhook`) use the dedicated `anonymousLim` table separate from the authenticated `subjects` table, and each table is independently capped at `max_rate_principals = 10000`. In each `anonymous` table (`ingress[anonymous]` and `anonymousLim`), one `/48` may hold at most `min(max_rate_principals/2, 64)` resident anonymous `/64` slots (`64` by default; integer division gives zero at `max_rate_principals=1`). At the cap, idle replacement is allowed only within the same group, never by evicting another group (#252). On the agent mTLS listener, no verified chain is `401 UNAUTHENTICATED` before the limiter; a verified leaf keys ingress by its `urn:fvpn:node:` URI SAN (`node:`), so every still-usable serial of a node shares one burst during renewal overlap, and `sha256(leaf.Raw)` is the key only for a verified leaf without that SAN (`gates[class]` is taken before `AuthenticateAgent`, and a failed authentication has spent the token). When the table is full, eviction walks from the tail to the first bucket idle at full tokens or idle for more than an hour, bounded by `max_rate_principals`; a table with no eligible bucket returns `429`. When the per-class concurrency gate (`gates[class]`, configurable `max_concurrent = 128` by default) is full, `httpapi.New` increments `fvpn_control_rate_limited_total{class, limiter="concurrency"}` before writing `429 RATE_LIMITED`.
+- **Browser login vs. session buckets, `D-078`, and control follow-up 21 calibration (`D-060`, `D-078`, `#229`, `#233`, [`docs/control/AUTH.md`](../control/AUTH.md#browser-class-calibration), `internal/httpapi/middleware_browser_rate_test.go`, [`calibration.md` §1.8](calibration.md)):** `control.json:login_rate` defaults to `per_second: 1`, `burst: 40` per address/prefix key for `/api/v1/auth/login` and `/api/v1/auth/callback`; `/api/v1/auth/session`, `/api/v1/auth/logout`, and ordinary browser/admin routes (excluding admin list reads in `read_rate`) use the separate `browser_rate` (`BrowserRate`, authenticated session UUID) bucket (`per_second: 10`, `burst: 30` in `internal/config/config.go` `Defaults()`). After OIDC verification, `login_subject_per_minute` defaults to `10` per canonical `(issuer, client_id, subject)`. Under **`D-078` (`#229`)**, a `429 RATE_LIMITED` response that carries `Retry-After` and whose retry succeeds is the limiter working as specified: acceptance harnesses report the `429` counts as evidence (such as the two `browser`-class `429` responses on `GET /api/v1/admin/audit-events` and `GET /api/v1/admin/nodes/{id}/incarnations` in enrollment follow-up 3 run `60a7102e`), and calibration stays with `control`. **Control follow-up 21 (`#233`, [`docs/control/AUTH.md`](../control/AUTH.md#browser-class-calibration), `TestFollowup21_BrowserClassCalibration` in `internal/httpapi/middleware_browser_rate_test.go`)** reviewed `browser_rate` against the portal's request fan-out and confirmed **`browser_rate` stays `per_second: 10`, `burst: 30`**: `BrowserRate` is half the `20/s` burst `60` `browser` pre-auth `ingress[browser]` address table on both axes so two operator sessions behind one address can each spend a full subject burst without tripping the address bucket; the heaviest portal mount (`/admin`) is `3` GETs, a composed operator view of node detail + update batch + incarnation page + audit page is `5` GETs, a node-detail write + two query invalidations + `60 ms`/`120 ms`/`240 ms`... operation polls stays under `10` browser requests in the first second, and current classification puts `GET /api/v1/admin/devices` (`ListAdminDevices`) in `read`; ordinary browser mutations such as `POST /api/v1/admin/members/{member_id}/devices/{device_id}/authorize` (`D-077`) remain in `browser`.
+- **Five routes with dedicated rate classes (`#145`, `docs/control/README.md`, `internal/config/config.go`, `internal/httpapi/middleware.go`):** The router matches the loaded PascalCase OpenAPI `operationId` values so high-frequency agent and webhook routes use their own buckets instead of falling into the `agent` (`per_second: 5`, `burst: 10`) or `browser` (`per_second: 10`, `burst: 30`) tag buckets:
+
+| Operation ID | Route | Rate Class & Config Key | Default Rate (`per_second` / `burst`) | Configured Body Limit |
+|---|---|---|---|---|
+| `EnrollNode` | `POST /api/v1/agent/enrollments` | `anonymous` (`anonymous_rate`) | `2` / `10` (per address / `/64`) | `agent_body_bytes` (`1 MiB`) |
+| `ReceiveProviderWebhook` | `POST /api/v1/webhooks/payment/{provider}` | `anonymous` (`anonymous_rate`) | `2` / `10` (per address / `/64`) | `webhook_body_bytes` (`1 MiB`) |
+| `SubmitObservation` | `POST /api/v1/agent/observations` | `heartbeat` (`heartbeat_rate`) | `1` / `5` (per node principal) | `agent_body_bytes` (`1 MiB`) |
+| `RenewServingLease` | `POST /api/v1/agent/lease-renewals` | `lease` (`lease_rate`) | `1` / `5` (per node principal) | `agent_body_bytes` (`1 MiB`) |
+| `SubmitUsageBatch` | `POST /api/v1/agent/usage-batches` | `usage` (`usage_rate`) | `2` / `10` (per node principal) | `usage_body_bytes` (`8 MiB`) |
+
+ > **Note on pre-`2026-10-30` measurements (`#145`):** Until `#145` (`2026-10-30`), `classify` matched camelCase operation IDs while the router loaded PascalCase IDs from `contracts/openapi.yaml`, so those five routes shared the `agent` or `browser` tag buckets. Capacity and rate-limit figures recorded before `2026-10-30` for those five streams are superseded.
+- **Request-body limits and 4-step check order (`#161`, `#169`, `#190`, `SECOPS-15` closed, `docs/control/AUTH.md`, `internal/httpapi/middleware.go`, `internal/httpapi/jsondoc.go`):** Every request body is bounded before JSON or OpenAPI validation (`browser_body_bytes = 1 MiB` for `browser`, `agent_body_bytes = 1 MiB` for `agent`/`heartbeat`/`lease`/`EnrollNode`, `webhook_body_bytes = 1 MiB` for `ReceiveProviderWebhook`, and `usage_body_bytes = 8 MiB` for `SubmitUsageBatch` in `docs/control/config.example.json`; `config.Defaults()` uses the same `1 MiB` browser / agent / webhook and `8 MiB` usage caps; `config.Load` starts from those defaults):
+ 1. **Size (`http.MaxBytesReader`):** A body above the class cap returns `413 PAYLOAD_TOO_LARGE` (`"Request body exceeds the configured limit."`).
+ 2. **JSON well-formedness (inline request middleware, skipped for webhooks, `#161`, `#169`, `#190`):** Bodies up to `canonjson.MaxBytes` (`1 MiB`, the signed-document bound) pass `canonjson.Canonicalize`. On the agent mTLS listener, an identity callback is set and those bodies also pass the single streaming walk `walkChecked` (`internal/httpapi/jsondoc.go`). Larger bodies in `(1 MiB, class cap]` (`SubmitUsageBatch` above `1 MiB` up to `8 MiB`) pass `checkLargeJSON` (`internal/httpapi/middleware.go`), which runs `walkChecked` and, for a streamable request schema, the schema check in the same walk. The streaming walk enforces the `canonjson` ruleset (valid UTF-8, no UTF-8 BOM, no unescaped ASCII control characters or NUL bytes, no lone UTF-16 surrogates, no duplicate object keys at any nesting level after unescaping, max depth `256`, integers within `±(2^53-1)` with no fraction, exponent, leading zero, or `-0`, and no trailing data); invalid JSON returns `400 MALFORMED_REQUEST` (`"Invalid JSON document."`).
+ 3. **Schema (`openapi3filter.ValidateRequest` or streaming schema check, skipped for webhooks, `#190`):** Returns `422 VALIDATION_FAILED`. Under `#190`, a body above `1 MiB` with a streamable schema (`SubmitUsageBatch`) is schema-checked during the single streaming walk and sets the `ExcludeRequestBody` field of `openapi3filter.Options` so `openapi3filter` does not `json.Unmarshal` the body.
+ 4. **Identity (`identityFieldMatches` called by the identity callback of the single streaming walk for agent mTLS, `#169`, `#190`):** Identity (`node_id`, `node_incarnation_id`, `incarnation_id`, including nested usage events) is read during the single streaming walk (no `json.Unmarshal` of the body) and returns `403 INCARNATION_MISMATCH` on mismatch; a body above `1 MiB` with a streamable schema sets `ExcludeRequestBody`; an operation with no owner returns `501 NOT_IMPLEMENTED` without a third decode; and the check order for a large body is `400 MALFORMED_REQUEST` syntax, `422 VALIDATION_FAILED` schema, `403 INCARNATION_MISMATCH` identity (`#190`). (`fvpn_control_rate_limited_total` counts `429` only, not `413` or `400`.) D-115 (#296) delegates body identity checks only for `submitUsageBatch` with a schema-valid top-level `origin_incarnation_id` to the usage service, which validates and audits the origin; authentication and validation remain enforced, and no-origin batches and all other operations retain recursive identity checks.
+- **Live measurements, 60-peer admission figures, gateway notes, and secops follow-up 7 verdicts (`#152`, `#161`, `#165`, `#170`, `#178`, `#182`, `#203`, [`docs/e2e/at/secops/summary.md`](../e2e/at/secops/summary.md), [`docs/e2e/at/secops/limiter.md`](../e2e/at/secops/limiter.md), [`docs/e2e/at/secops/limiter.json`](../e2e/at/secops/limiter.json), [`docs/e2e/at/secops/capacity.json`](../e2e/at/secops/capacity.json), [`docs/e2e/at/secops/deadlines.json`](../e2e/at/secops/deadlines.json), [`docs/e2e/at/secops/node-telemetry.json`](../e2e/at/secops/node-telemetry.json), [`docs/e2e/at/secops/gateway-inventory.json`](../e2e/at/secops/gateway-inventory.json), [`docs/e2e/at/secops/secret-scan.json`](../e2e/at/secops/secret-scan.json), [`docs/e2e/at/secops/requests.md`](../e2e/at/secops/requests.md), [`docs/e2e/scenarios/gateway-principals.md`](../e2e/scenarios/gateway-principals.md), [`docs/e2e/RUN.md`](../e2e/RUN.md)):**
+ - **Rate limiters and body bounds (`#152`, `#161`, `#165`, `#178`, `#203`, `AT28`, `SECOPS-14`, `SECOPS-15`):** `heartbeat` (`SubmitObservation`, burst `5`) and `lease` (`RenewServingLease`, burst `5`) refused at request `6` with `429 RATE_LIMITED` and `Retry-After: 1`; `usage` (`SubmitUsageBatch`, burst `10`), `enrollment` (`EnrollNode`, burst `10`), `webhook` (`ReceiveProviderWebhook`, burst `10`), and `anonymous_shared` (`EnrollNode` + `ReceiveProviderWebhook` from one address) refused at request `11` with `Retry-After: 1`; 20/20 concurrent browser logins from one address completed with `HTTP 200` on `/` (`SECOPS-14` resolved); in security-ops follow-up 6 (`#178`) and follow-up 7 (`#203`, run `ab96acac-8713-485a-9c29-88f20110e2e5`, `docs/e2e/at/secops/limiter.json`), `120` anonymous `POST /api/v1/webhooks/payment/stripe` requests from one client produced `10 × 400` + `110 × 429` (`Retry-After: 1`) while concurrent authenticated admin `GET /api/v1/admin/nodes` and mTLS `RenewServingLease` requests returned `200` (`cross_class_isolation_verified = true` after `#169`); and `SubmitUsageBatch` accepted valid payloads at `1,048,576` B (`1 MiB`), `2,097,152` B (`2 MiB`), `8,388,607` B (`8 MiB - 1`), and `8,388,608` B (`8 MiB`) with `HTTP 200`, rejected `8,388,609` B (`8 MiB + 1`) with `413 PAYLOAD_TOO_LARGE`, rejected malformed JSON with `400 MALFORMED_REQUEST`, and rejected `SubmitObservation` at `1,048,577` B (`1 MiB + 1`) with `413 PAYLOAD_TOO_LARGE` (`SECOPS-15` closed).
+ - **`SECOPS-10` 60-peer native admission and counted-traffic figures (`#170`, `#178`, `#203`, `docs/e2e/at/secops/summary.md`, `docs/e2e/at/secops/capacity.json`, `docs/e2e/at/secops/node-telemetry.json`, `docs/e2e/at/secops/gateway-inventory.json` — shared development host, not candidate hardware):** After devstack follow-up 10 (`#170`) raised lab nginx to `worker_processes 2` × `worker_connections 4096` with a `.128/25` dynamic member address pool, security-ops follow-up 6 (`#178`) and follow-up 7 (`#203`, run `ab96acac-8713-485a-9c29-88f20110e2e5`) measured `20` users × `3` devices = `60` real native NetBird peers (`60/60` `authorized`, `60/60` distinct `/32` `overlay_ipv4`, `0` failed operations) on fresh stacks (`w4-secops` / `30000`) **on the shared development host, not candidate hardware**:
+ 1. **Sequential `20×3` admission profile (`#178`, `admission_60_peer`):** total admission wall `904.360 s`, per-peer join `p50 / p95 / p99 / max` = `14,892.523 / 16,451.805 / 18,000.086 / 18,000.086 ms`; `600/600` concurrent `GET /api/v1/member/devices` reads (`20` users × `30` iterations) returned `200` (`0` errors, `0` foreign device IDs) at `p50 / p95 / p99 / max` = `9.616 / 16.413 / 17.969 / 34.084 ms`; gateway socket inventory (`gateway-inventory.json`) recorded `398` established TCP sockets, `441` open FDs (`ulimit -n = 1,048,576`), `time_wait = 0`, and `0` listener drops across `2` nginx workers (`worker_connections = 4096`).
+ 2. **Concurrent `ScaleNativeMembers` helper profile (`#178`, `admission_60_peer_scale_helper`, 4-worker NetBird join pool):** total admission wall `300.386 s`; `600/600` concurrent `GET /api/v1/member/devices` reads returned `200` (`0` errors, `0` foreign device IDs) at `p50 / p95 / p99 / max` = `10.721 / 47.604 / 56.136 / 95.367 ms`; gateway socket inventory recorded `385` established TCP sockets, `429` open FDs, and `0` listener drops.
+ 3. **Follow-up 7 60-peer counted-traffic, `5,960`-read, and `5 s` telemetry profile (`#203`, run `ab96acac-8713-485a-9c29-88f20110e2e5`, `capacity.json`, `node-telemetry.json`):** `60/60` admitted native peers (`296.017 s` via `ScaleNativeMembers`) generated counted traffic (`60/60` counted peers with positive `usage_events` and `usage_rollups`, `node1` `39,600` up / `69,480` down bytes across `50` devices and `node2` `7,920` up / `13,896` down bytes across `10` devices); `5,960/5,960` concurrent `GET /api/v1/member/devices` reads returned `200` (`0` non-`200`, `0` wrong-member responses, `p50 / p95 / p99 / max` = `25.81 / 96.32 / 149.94 / 302.18 ms`); and `82` node telemetry samples at `5 s` cadence recorded `0` errors (`max_fds: 18`, `max_conntrack: 422`).
+ *(Because these measurements come from the shared development host, not candidate hardware, production candidate hardware certification remains tracked under `§9`.)*
+ - **Lab gateway `trusted_proxies`, `X-Forwarded-For`, and secret-scan hygiene (`#170`, `#178`, `#182`, `#203`, `docs/e2e/scenarios/gateway-principals.md`, `docs/e2e/at/secops/secret-scan.json`, `SECOPS-13`, `SECOPS-16`, `D-066`):** Devstack follow-up 11 (`#182`) configures `trusted_proxies: ["/32"]` (`172.28.30.21/32` for `e2e`) in `control.json` and `proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for` on the lab nginx `:8443` server; `gateway-principals` (`fvpn-e2e-nodeconfig http-burst`, verified in `#182` and `#203` `limiter.json`) proves that exhausting the `anonymous_rate` bucket (`10 × 400`, then `5 × 429`) from `node1` behind the gateway leaves `node2`'s independent bucket unthrottled (`200`/`400`, `0 × 429`) and fails closed with `429 RATE_LIMITED` (`limiter="address"`) when a trusted peer sends a malformed rightmost-untrusted `X-Forwarded-For` token (`SECOPS-13`). In `SECOPS-16` (`#178` and `#203` `docs/e2e/at/secops/secret-scan.json`), ordinary log/capture/DB/metrics/API streams scanned clean (`0` leaks across `135` retained streams in `#178` and `23` ordinary streams in `#203`), while the `60` transient `/var/run/fvpn-nb-login-*.log` files inside client containers are root-owned `0600` (`42–43` bytes) created via `os.OpenFile(..., 0o600)` before `defer os.Remove(...)` and classified as protected non-retained credentials under `D-066`.
+ - **Security-ops follow-up 7, follow-up 8, and follow-up 9 case verdicts (`#203`, run `ab96acac-8713-485a-9c29-88f20110e2e5`; `#221`, run `0f5fb60d-f6a7-45c6-8ebe-175e0a480bd8`; `#242`, run `42396951-2d9a-49f4-95c3-45f33d9519d5`, [`docs/e2e/at/secops/summary.md`](../e2e/at/secops/summary.md), [`docs/e2e/at/secops/AT30.md`](../e2e/at/secops/AT30.md), [`docs/e2e/at/secops/restore-reconcile.md`](../e2e/at/secops/restore-reconcile.md), [`docs/e2e/at/secops/requests.md`](../e2e/at/secops/requests.md)):** In **security-ops follow-up 9 (`#242`, run `42396951-2d9a-49f4-95c3-45f33d9519d5`)**, **`AT30` is `passed` live** (`1 pass / 4 blocked / 0 fail` across `AT28`–`AT32`, closing `SECOPS-18`, `SECOPS-19`, and `SECOPS-05`), while `AT28`, `AT29`, `AT31`, and `AT32` remain **`blocked`** with passed subsets:
+ - **`AT28`:** subset passed, case blocked on remaining items in [`docs/e2e/at/secops/AT28.md`](../e2e/at/secops/AT28.md) and `SECOPS-20` (trusted-proxy principal isolation, per-class rate limiters, `8 MiB` `SubmitUsageBatch` body boundary, and secret-scan checks passed; follow-up 8 `#221` also verified `#205` unmapped-peer discovery-denial audit deduplication across two worker cycles with `audit_events` count `= 1` on `fleet_config:00000000-0000-0000-0000-000000000001`).
+ - **`AT29`:** subset passed, case blocked on `w3-devstack-e2e` `past_due` payment truth (`SECOPS-17`, closed in devstack follow-up 14 `#240`), established TCP/UDP member transports, and `needs operator run` guest clock rollback (`clock_settime`) — `D-065` fleet API (`GET`/`PUT /api/v1/admin/fleet-config` with `428`/`412`/idempotent replay/`fleet_config.update` audit and `max_offline_lease_seconds: 60`, restored to `86400`), finite grace (`FVPN_E2E_GRACE_SECONDS=90`), paid/grant/lease cutoff (`495/869` -> `0/0` bytes at expiry) and recovery (`0 -> 1320/2316` bytes), and watchdog/component clock checks passed in `deadlines.json`.
+ - **Historical live `AT30` (`#242`, run `42396951-2d9a-49f4-95c3-45f33d9519d5`, 2026-10-30 EDT): passed.** Isolated restore `7.17 s` with `6/6` checklist sections; `120.12 s` fail-safe negative without epoch rotation; retained replay `3/3` hashes with zero loss/duplicates/gaps; pre-replay DB RPO `90.301 s`, service RPO `0 s` / `0 B`, protocol RTO `112.35 s`, total outage RTO `121.88 s`. D-076 fenced the T0..T1 revoked device, an old idempotency replay kept the fence, fresh re-grant restored counted forwarding, and both the centrally revoked and newly enrolled negatives behaved correctly (SECOPS-18). During the hold, `node_observations.report_payload.usage` and `fvpn-agent usage snapshot` showed three unacked events / `2352` payload bytes, then zero after replay (SECOPS-19). The run predates the admin HTTP route and `NodeDetail.usage_outbox`; it exercised service-level re-authorization. See [restore drill §2.6](restore-drill.md#historical-follow-up-9-242) and [`docs/e2e/at/secops/AT30.md`](../e2e/at/secops/AT30.md) for the evidence and the separate historical #221 values.
+ - **`AT31`:** subset passed, case blocked on forced-relay control and candidate hardware (`60/60` counted peers, `5,960/5,960` HTTP `200` device reads with `0` wrong-member responses, `82` node telemetry samples at `5 s` cadence with `0` errors, and two-exit traffic passed in `capacity.json` and `node-telemetry.json`).
+ - **`AT32`:** subset passed, case blocked on bulk final per-stream attribution in `w3-devstack-e2e` follow-up 12 and physical origins/platforms (`SECOPS-16` ordinary log scan and protected artifact lifecycle under `D-066`, plus `scope-review.json`, passed).
+
+---
+
+## 8. Key and Secret Rotation Runbooks (`§6.4`, `§16.2`, `docs/pki/rotation.md`)
+
+### 8.1 Rotating Central Ed25519 Signing Keys (`desired-state`, `lease`, `recovery`, `ledger-epoch`)
+
+Use the [central key commands](../pki/keys.md) and [central signing-key rotation runbook](../pki/rotation.md#central-signing-keys) for the four purposes above. Choose validity and overlap explicitly; neither has a recommended production default.
+1. **Inspect and Rotate**:
+ Run `fvpn-vault inspect -vault EXISTING_VAULT` ([inspection and export](../pki/inspect.md)), then `fvpn-vault-keys rotate` with the inspected ledger revision, expected active key ID (or `none`), purpose, validity and overlap. Check the exit code and result document. The new key signs immediately; the previous key becomes `retired` with a capped verification window. Overlap does not make the new key known to nodes that have not adopted its trust bundle.
+2. **Export, Distribute and Confirm Trust**:
+ Run `fvpn-vault export-trust -vault EXISTING_VAULT -out NEW_FILE`, deliver the public bundle through an already authenticated channel, and confirm adoption using [Node trust files](../node/install.md#node-trust-files): desired-state changes need both `trust.json` and `desired-trust.json`, lease/recovery changes need `trust.json`, and ledger-epoch changes need no node file. Follow the documented agent restart and fresh updater invocation actions. Active, retired and revoked public records remain in the export; ledger-epoch, node-ca and bootstrap-secret are not exported. Delivery alone is not adoption.
+3. **Emergency Compromise**:
+ Inspect again and run `fvpn-vault-keys revoke` with the expected purpose and ledger revision. Revoking an active signer requires `-revoke-active` and leaves no signer until a fresh `fvpn-vault-keys rotate` with the newly inspected revision and `-expect-active-key none`. Urgently distribute and confirm the updated revocation bundle for node-verified purposes, then re-issue authorizations once a replacement signer is available. A known revoked signature causes `pkg/envelope` to reject the envelope even alongside another valid signature. Follow the [command outcomes](../pki/keys.md) after lost output or uncertain durability; do not retry blindly.
+
+### 8.2 Rotating the Offline Release Signing Key (`fvpn-release` & `fvpn-release-trust-v1`)
+
+1. On the offline build machine, generate the new release signing key (`fvpn-release keygen -key-id release-prod-2027-01 ...`).
+2. Follow the [release process](../updates/release-process.md): `fvpn-release trust-update` creates one `fvpn-release-trust-v1` update with exactly one of `-add`, `-retire` or `-revoke`, signed by one release key of the current trust that is not revoked and is within its validity window. A retired key still signs until its `not_after` ([central key commands](../pki/keys.md), [release process](../updates/release-process.md)). Add the new root first; a root handover uses separate updates at consecutive revisions, with the new root signing the later retirement or revocation of the old root.
+3. Follow the [release verification trust runbook](../pki/rotation.md#release-verification-trust): inspect the central vault, export its current trust, check the update with `fvpn-release trust-verify` against that export and release revision, then run `fvpn-vault-keys apply-release-update` with the inspected ledger revision ([command reference and outcomes](../pki/keys.md)). Export the resulting public trust and distribute it to `/etc/vpn-node/release-trust.json` using the [Node trust files](../node/install.md#node-trust-files) process actions. Nodes consume the export, not the update envelope. Confirm adoption of the added root before signing releases solely with it or proceeding to the second update; after lost output, inspect the vault to recognise an already-applied update rather than retrying blindly.
+
+### 8.3 Rotating Stripe Webhook Secrets and Billing Vault Keys (`members.json`)
+
+- **Stripe Webhook Secret**:
+ 1. Create a new webhook signing secret in Stripe alongside the existing one.
+ 2. Add the new secret file path to `members.json:webhook_secret_files` (keep both current and old files in the array) and reload `fvpn-control`.
+ 3. Retire the old secret in Stripe and remove its path from `webhook_secret_files`.
+- **Billing PII Vault Key (`billing.Vault`)**:
+ 1. Generate a new 32-byte random key file (`0600`), add it to `members.json:vault_key_files` under a new key ID (e.g., `"vault-prod-2027-01"`), keeping `"vault-prod-2026-01"` in the map so existing ciphertexts decrypt cleanly.
+ 2. Set `"vault_active_key": "vault-prod-2027-01"` and restart `fvpn-control` and `fvpn-worker`.
+
+### Follow-up 15 containment and deadline boundary (2026-10-31 EDT)
+
+D-100 (#276) permits topology recapture only after a clean verified Apply of a
+newer published generation; the real-emission `identity_frozen` consumer passes
+HTTP/database/mTLS integration. Its local serving plane is a fixture, not a
+full published-node acceptance run. r16 M-1 separately identifies a failed
+freeze-persistence path; agent-core follow-up 24 owns that fix.
+
+D-108 closes D-096 for the pinned native IPv4 NetBird-owned member interface:
+NetBird 0.82.0 stays the route/address owner and the agent waits; no agent route
+writer and no D-100 override. Netlab follow-up 14 (#285) measured 10 recoveries,
+median **54.4 ms**, worst **78.6 ms**, without route/address repair. All 10
+deliberate reconnects raised the link in **1.8–2.0 s** windows with **zero
+redirected frames**. These upper bounds include verification, peer readiness
+and a one-second harness hold; they are not production recovery deadlines.
+Next-step re-containment is measured; uninterrupted containment is not.
+Installer-owned transit and IPv6 configurations remain outside this closure.
+See [G2 follow-up 14](../poc/G2-followup14.md).
+
+The separate recovery latch after `TC_FOREIGN_FILTER` plus a newer generation
+is reproduced and assigned to agent-core follow-up 24. The original ISO-F6-01
+tc object's creator is still unknown. D-106 requires clean serving read-back
+on the observation. Revision 14 (#289) supplies optional nullable
+`ObservationReport.tc_evidence`; netlab follow-up 16 (#295) supplies the detached typed read-back helper, while
+agent-core follow-ups 24/25 still own recovery and observation wiring. Never turn
+absent evidence into a passing check.
+
+D-104 requires deadlines at the renderer's true precision, without a
+whole-second floor. Agent-core follow-up 23 reproduced early cutoff with 2.9 s
+remaining rendered as 2 s; its diagnostic lab exit 0 is not acceptance.
+Netlab follow-up 15 (#290) now implements monotonic absolute member deadlines
+with a measured **1 ms quantum**, **100 ms guarded-install bound**, and nft
+text read-back (JSON read-back loses this precision). A stalled install keeps
+the temporary member-forwarding drop guard closed. The enforce-level trace
+records last positive **D−100.7 ms**, first drop **D−0.8 ms**, and no later
+positive. This is measured on kernel 7.0.0-38 / nft 1.0.9; other kernels,
+physical arm64 and suspend remain unmeasured. See the [deadline contract and
+trace](../poc/G2-deadline-contract-2026-10-31.md).
+**AT13 stays failed** pending agent-core follow-ups 24/25 and isolation
+follow-up 8 re-assertion. Isolation follow-up 7 is assisted: AT12 passes, AT10 /
+AT11 remain blocked and AT13 fails. Its results do not replace the pinned
+follow-up 5 or final follow-up 6 claims. See the [dated acceptance
+snapshot](../ops/README.md#follow-up-15-acceptance-snapshot-2026-10-31-edt) and
+[agent-core note](../node/followup23-2026-10-31.md).
+
+### Follow-up 16 operator actions and limits (2026-10-31 EDT)
+
+At main `982c209` through #303, an `authorization_unconfirmed` device is
+neither bound nor leased (r16 H-1, #291). Both initial and locked lease queries
+exclude open fences, and the worker recompiles current signed envelopes still
+binding a fenced device before acknowledging its detecting sync job. Explicit
+re-authorization remains required; unfenced siblings remain eligible. This is
+central proof, not a measured live propagation deadline. r16 M-1 failed freeze
+persistence remains pending agent-core follow-up 24.
+
+For installer receipts, #300 closes r16 M-2 / L-1: accepted rollback restores
+current and last-good release pointers. D-110 uses `internal/installerjob` to
+derive the UUIDv5 identity from claim namespace, verified manifest digest and
+authenticated incarnation. Central rejects a new mismatched ID with
+`409 STATE_CONFLICT`, reason `job_id_mismatch`; accepted legacy replay remains
+valid. Main's updater still mints the legacy whole-record ID until updater
+follow-up 15 merges. New receipts from that producer cannot be treated as
+accepted. D-114's one-time re-derivation or retirement of unaccepted legacy
+outbox receipts is pending that updater change. D-111 seeds a null baseline
+only from an eligible release, retains failure evidence without candidate
+promotion, and never invents health. Migration 00191's Down/Up round trip is
+proved; it does not authorize production schema rollback. See the
+[installer result rules](../updates/2026-10-31-installer-results-d110-d111.md).
+
+D-105 central acceptance is merged (#296). Use a separate batch for each
+origin; the outer identity is the authenticated current presenter and nested
+events keep the retired identity, sequence and digest. A mixed batch is
+rejected before ledger/checkpoint mutation. ACKs belong to the original stream,
+so a retired-tail ACK cannot advance the current cursor. Origin retirement and
+presenter enrollment come from central; retired certificates are refused at
+mTLS. D-112 bounds each interval end by retirement plus
+`sampling_interval_bound_seconds` (default 10 s); node sampling must stay ≤
+that bound. #299 pins the meter's 10 s default and implements retained-stream
+upload, but the production hook in `node/agent/usage.go` is inactive pending
+agent-core follow-up 25 (D-118). Usage AT follow-up 5 and the enrollment rerun
+must prove counted hand-off after activation. The revision 14 sampling-history
+wording is superseded by D-112, not an instruction to infer a historical interval.
+
+The devstack follow-up 17 run (#294) remains **8 pass / 1 blocked / 3 fail**.
+Its [owner-chain proof](../e2e/runs/2026-10-31/followup17/a7c41436-82b3-4665-b75c-e2887f2e1009/installer-owner-chain.md)
+shows the legacy fifth chain causing `HOOK_PRIORITY_MISMATCH`. Installer
+follow-up 4 (#302) implements D-116: the exact empty legacy marker is migrated
+on rerun/upgrade into hookless `inet fvpn_install`; `inet fvpn` keeps exactly
+four rendered chains. Enforcement stays strict. F9-01 is confirmed with the
+real pinned daemon and packaged unit. The installer suite is **10 pass / 1 fail**;
+the full journaled upgrade stays **red** at `final_sample` / `CHECKPOINT_FAILED`
+with no genuine meter checkpoint, pending updater follow-up 15 / agent-core
+follow-up 24. A process exit 0 is not terminal success. Baseline-verifier proof
+on the installer node does not claim serving: netlab follow-up 17 scope tests
+and devstack follow-up 18's serving fixture rerun remain pending.
+
+Netlab follow-up 16 (#295) locates the ISO-F6-01 latch in `node/agent`, not the
+verifier: `noteApply` retains `applyError`; `needRenew`, `ackApplied` and
+`renewAppliedLease` stop; `leaseGenerationStale` leaves `policy_missing`, and
+`verifyCurrentServing` returns early while non-serving. The library recovers
+when all injected foreign objects are removed and a clean newer generation
+is applied; an empty filter block with a foreign clsact still present remains
+rejected. Agent-core follow-ups 24/25 must fix recovery and wire D-106
+`tc_evidence`. **AT13 stays failed** until isolation follow-up 8 re-asserts
+assembled continuity and denial. The original foreign object's creator is
+still unproven; this call path explains the subsequent latch.
+
+Portal follow-up 18 (#293) displays the publication-gate cause beside the
+pending step's `error_code`, including timeout diagnostics. D-074 remains:
+a held publication stays `running`; a polling timeout is not a failure.
+The [D-093 audit table](../portal/DEV.md) has 15 entries, 13 open;
+D093-06 / D093-10 are retired. D093-12 remains open: the harness still writes
+`release_verifications.state=verified` by SQL, and the release-verification
+fixture transport decision is pending. A fixture result is not real agent
+kernel or updater evidence.
+
+Historical follow-up 12 AT30 measurement (#301), run `dd845a7f-2660-431c-a8e6-c513108cc07d`:
+**passed**, pre-replay database RPO **106.45 s**, post-replay service usage RPO
+**0 s**, protocol RTO **66.90 s**, total outage RTO **74.53 s**, replay
+**5 events / 5 hashes / 0 lost / 0 duplicate / 0 gaps**. D-095 gives the exact
+retryable 503 `DEPENDENCY_UNAVAILABLE`, pending fresh observation and drift
+field; desired 10 and stored count 9 remain unchanged while the agent is
+stopped. SECOPS-21 remains open: first probe/stored generation 16 exceeds
+retained 15, but first-offer delivery / local acceptance / ACK are unproven.
+Devstack follow-up 18 / wire-nodes follow-up 32 must capture them. AT29
+transport sub-cases and AT31 bounded relay pass, while full AT29 / AT31 stay
+blocked on the guest-clock/manual-withdrawal rows and candidate hardware /
+60-peer mixed relay. See the [dated acceptance snapshot](../ops/README.md#follow-up-16-acceptance-snapshot-2026-10-31-edt).
+
+Lane protocol: before a suite starts a stack or database, check
+`pgrep -af 'gates.sh|mk/at-'` and wait while two or more other suites are active.
+The competing-suite hold applies only to those suites; read-only
+`git diff --check` needs no wait. Use unique disk scratch under `.agent/tmp`
+for TMPDIR/GOTMPDIR and clean it without shell cleanup traps.
diff --git a/tests/handover/testdata/history/follow-up-55/prior-docs_handover_restore-drill.md.txt b/tests/handover/testdata/history/follow-up-55/prior-docs_handover_restore-drill.md.txt
new file mode 100644
index 000000000..e10db1e0c
--- /dev/null
+++ b/tests/handover/testdata/history/follow-up-55/prior-docs_handover_restore-drill.md.txt
@@ -0,0 +1,445 @@
+# Backup and Restore Drill Record (`docs/handover/restore-drill.md`)
+
+**目前交付:**[交付導覽](../DELIVERY.md)整理現有功能、操作入口與驗證範圍。下列 follow-up 快照保留各自當時的範圍與結果。
+
+**Current delivery:** The [delivery guide](../DELIVERY.en.md) covers current capabilities, operating entrypoints and verification scope. The follow-up snapshots below retain their historical scope and outcomes.
+
+**Archived cut:** [follow-up 54](follow-up-54.md), #533, #534, #535 and #536 at `2f5159f3`; source-backed changes, verification boundaries and carried gaps.
+**Earlier archived cut:** [follow-up 53](follow-up-53.md), #529, #528, #530, #531 and #532 at `e055143e`; source-backed changes, verification boundaries and carried gaps.
+
+Historical follow-up 17 cutoff: [follow-up 17 operator evidence](follow-up-17.md). #313
+harness-proves the SECOPS-21 first-offer capture (2/0/0, delivery 4 > retained 3,
+matching local digest and central 202); full restore was open for secops 13 at that cutoff.
+Earlier restore measurements below retain their original cutoff.
+
+This document provides the repeatable backup, point-in-time restore (PITR), and post-restore reconciliation procedure (`§9.3`, `§17.2`, `§17.3`, `§17.4`, `§19 AT30`), together with the measured RPO and RTO evidence from the Wave 4 verification drill.
+
+---
+
+## 1. Recovery Objectives (`§17.2`)
+
+| Subsystem | RPO Target | RTO Target | Architectural Guarantee |
+|---|---|---|---|
+| **Central PostgreSQL 17** (Members, Entitlements, Nodes, Policies, Audit) | `≤ 15 minutes` | `≤ 4 hours` (service target; unmeasured here) | Continuous WAL archiving (`archive_timeout = 300s`) + daily base backups. |
+| **Usage Ledger (`usage_events`, `usage_checkpoints`, `usage_rollups`)** | **Effective RPO `0` only within the available node archive window**; outside it, replay can be unavailable | `≤ 4 hours` (service target; unmeasured here) (ingest resumes; reconciliation runs asynchronously) | Nodes retain ACKed payloads at least `72 hours` after local ACK (`DefaultArchiveRetain`); no node configuration sets a longer window. The unacknowledged outbox blocks new member forwarding at `72 hours` oldest-event age or decimal `256 MB` payload, keeps those events and resends; the archive has a separate `1000000000`-byte engineering budget. A verified new `ledger_epoch` permits replay of retained post-snapshot events without double-counting. Shortening the window requires updated parameters, recovery documents and risk notes ([usage storage](../node/usage-store.md#ack), `§10.8`). |
+| **NetBird Management Store** | `≤ 15 minutes` | `≤ 4 hours` (service target; unmeasured here) | Reconciliation of known resources follows central desired state; it is not global orphan cleanup. Carried gap: post-restore orphan inventory/revocation, as described in Phase 5.2. |
+| **Signing Vault (`/var/lib/fvpn/staging-authority/vault`) & PKI Revocations** | **`0` (Zero Loss)** | Immediate | Stored outside PostgreSQL snapshots (`§16.2`, `§17.2`). Never overwritten by a database rollback. |
+
+---
+
+## 2. Wave 4 AT30 Restore Drill Record (`2026-10-29`)
+
+### 2.1 Drill Scenario & Topology
+
+On `2026-10-29`, the Wave 4 AT30 point-in-time restore and reconciliation drill was executed against PostgreSQL 17 (`fvpn_w4_handover_drill`) and verified alongside `TestAT30_RestoreSnapshotRecoveryReplayAndReplayUnavailable` and `TestAT30_HTTPRecoveryFreezeEpochRotationReplayAndAuditPagination`:
+
+1. **Pre-incident baseline**:
+ - Member `0196ed00-0000-7000-8000-000000000101` (`active`), Device `0196ed00-0000-7000-8000-000000000201` (`100.64.0.10`, `binding_revision=1`).
+ - Exit Node `0196ed00-0000-7000-8000-000000000301`, Incarnation `0196ed00-0000-7000-8000-000000000401`.
+ - Node emitted usage events `event_seq = 1..5` (`forward_admission_v1`, `seq * 1000` upload bytes, `seq * 2000` download bytes per 1-minute window starting `2026-10-29T18:00:00Z`).
+ - Database snapshot (`restored_to = 2026-10-29T18:02:00Z`) contained only `event_seq = 1..2` (`3,000` upload bytes, `6,000` download bytes, `highest_contiguous_seq = 2`, epoch `1f7b1c2a-48b1-4ab2-a75a-b125bec8e0ba`).
+ - Events `3..5` were ACKed prior to the simulated central DB loss. On the node, `event_seq = 3` remained in the local SQLite archive, while `event_seq = 4..5` simulated local retention expiry (`retention_expired`), followed by new post-restore traffic `event_seq = 6` (`6,000` upload bytes, `12,000` download bytes).
+
+### 2.2 Local Fixture Measurements (Service RTO Unmeasured)
+
+| Metric | Spec Target (`§17.2`) | Wave 4 Measured Value | Result |
+|---|---|---|---|
+| **Snapshot Window Lag (Raw DB RPO before node replay)** | `≤ 15 minutes` | `3 minutes` (`18:02:00Z` snapshot vs `18:05:00Z` pre-crash watermark) | **PASS** |
+| **Effective Usage Ledger RPO (Retained node archive `seq 1..3`)** | `0 bytes lost / 0 double-counted` | **`0 bytes lost / 0 bytes double-counted`** (`seq 1..2` deduplicated, `seq 3` replayed and accepted) | **PASS** |
+| **Unrecoverable Node Range (`seq 4..5`) Handling** | Honest `gap=true` (`0` invented bytes) | **`gap=true`**, `2` zero-byte `replay_unavailable` tombstones recorded, `0` fabricated bytes | **PASS** |
+| **Local schema + snapshot restore command duration** | Local command only | `342 ms` (isolated PostgreSQL 17 schema + state load) | Local duration only |
+| **Local ledger recovery fixture duration** | Local fixture only | **`64 ms`** (`406 ms` local fixture including migrations) | Local duration only |
+
+These millisecond durations exclude rebuilding secrets, service settings, external reconciliation and user probes. They do not establish the 4-hour service RTO in §17.2. The physical PITR evidence is [the backup drill record](../ops/backups/drill-2026-10-29.md).
+
+### 2.3 Recorded Drill Timeline & Verified Command Outputs
+
+- **Migration invariant — Verify migrations on the restored target (`fvpn-migrate status`)**:
+ Every file in `db/migrations/*.sql` for the deployed release must be applied on the restored target, and `fvpn-migrate status` must report no pending version. Use the migration binary built from that same release and confirm `current_database` identifies the restored target. [`deploy/backup/test/review_proof.sh`](../../deploy/backup/test/review_proof.sh), run by `make -f mk/backup.mk backup-review-proof`, derives the expected versions and count from that glob and compares them with status from its isolated PITR target; no inventory is copied into this runbook. See Phase 2.2 for the operator commands.
+
+- **`2026-10-29T22:23:20.348Z` — Step 1: Freeze usage ingestion (`fvpn-usage-admin freeze`)** `[Verified on dev/test stack]`:
+ ```bash
+ /usr/local/bin/fvpn-usage-admin --config /etc/fvpn/control.json \
+ freeze \
+ --actor 0196ed00-0000-7000-8000-000000000999 \
+ --reason "AT30 point-in-time restore drill"
+ ```
+ Output:
+ ```json
+ {
+ "actor": "0196ed00-0000-7000-8000-000000000999",
+ "reason": "AT30 point-in-time restore drill",
+ "status": "frozen"
+ }
+ ```
+
+- **`2026-10-29T22:23:20.371Z` — Step 2: Rotate `ledger_epoch` and enter `reconciling` mode (`fvpn-usage-admin begin-recovery`)** `[Verified on dev/test stack]`:
+ ```bash
+ /usr/local/bin/fvpn-usage-admin --config /etc/fvpn/control.json \
+ begin-recovery \
+ --actor 0196ed00-0000-7000-8000-000000000999 \
+ --reason "AT30 restore from 2026-10-29T18:02:00Z snapshot" \
+ --restored-to 2026-10-29T18:02:00Z \
+ --affected-since 2026-10-29T18:00:00Z
+ ```
+ Output:
+ ```json
+ {
+ "recovery_id": "01a189c2-b133-7b6a-9006-2d8d7a99895f",
+ "previous_ledger_epoch": "1f7b1c2a-48b1-4ab2-a75a-b125bec8e0ba",
+ "new_ledger_epoch": "01a189c2-b133-7b6b-9a37-d34f1e963d61",
+ "mode": "reconciling",
+ "reason": "AT30 restore from 2026-10-29T18:02:00Z snapshot",
+ "actor": "0196ed00-0000-7000-8000-000000000999",
+ "signed_record": {
+ "signed": {
+ "actor": "0196ed00-0000-7000-8000-000000000999",
+ "affected_since": "2026-10-29T18:00:00Z",
+ "created_at": "2026-10-29T22:23:20.371746519Z",
+ "new_ledger_epoch": "01a189c2-b133-7b6b-9a37-d34f1e963d61",
+ "previous_ledger_epoch": "1f7b1c2a-48b1-4ab2-a75a-b125bec8e0ba",
+ "reason": "AT30 restore from 2026-10-29T18:02:00Z snapshot",
+ "recovery_id": "01a189c2-b133-7b6a-9006-2d8d7a99895f",
+ "restored_to": "2026-10-29T18:02:00Z",
+ "stream_count": 1
+ },
+ "signatures": [
+ {
+ "key_id": "01a189c2-afc3-7077-bd89-df83873cc3d8",
+ "algorithm": "ed25519",
+ "signature_b64": "xdNE2jfT0g0Ll3oMmlEgctQ+ajJSVMzZnmRsrjo0D2pT2UlwHfFQBtTKzywoOBemLx5y2KptS6RqEYOiq3l1Bg=="
+ }
+ ]
+ },
+ "recomputed_streams": 1,
+ "created_at": "2026-10-29T22:23:20.371746519Z"
+ }
+ ```
+
+- **`2026-10-29T22:23:20.383Z` — Step 3: Node pulls signed checkpoint (`GET /api/v1/agent/usage-checkpoint`) and replays `seq 1..3` + `replay_unavailable [4, 5]` + `seq 6`** `[Verified on dev/test stack]`:
+ Signed checkpoint verified against the node `recovery` trust key:
+ ```json
+ {
+ "signatures": [
+ {
+ "algorithm": "ed25519",
+ "key_id": "01a189c2-afbf-7250-b72a-a29091e7e92e",
+ "signature_b64": "5/jgJgmCJ8/u14FKMCnC3Qfd2fLQZ622olWZIqv9NkGDDo3lVDym9cRXgAJZIqNje63hLh5FjR7+2wR8jtsEAg=="
+ }
+ ],
+ "signed": {
+ "highest_contiguous_seq": "2",
+ "issued_at": "2026-10-29T22:23:20.383726806Z",
+ "ledger_epoch": "01a189c2-b133-7b6b-9a37-d34f1e963d61",
+ "max_seen_seq": "2",
+ "missing_ranges": [],
+ "node_id": "0196ed00-0000-7000-8000-000000000301",
+ "node_incarnation_id": "0196ed00-0000-7000-8000-000000000401",
+ "recovery_record_id": "01a189c2-b133-7b6a-9006-2d8d7a99895f"
+ }
+ }
+ ```
+ Batch ingest response (`POST /api/v1/agent/usage-batches`):
+ ```json
+ {
+ "blocked_seq": null,
+ "highest_contiguous_seq": "6",
+ "ledger_epoch": "01a189c2-b133-7b6b-9a37-d34f1e963d61",
+ "node_id": "0196ed00-0000-7000-8000-000000000301",
+ "node_incarnation_id": "0196ed00-0000-7000-8000-000000000401",
+ "received_at": "2026-10-29T22:23:20.385579324Z",
+ "results": [
+ { "error": null, "event_seq": "1", "status": "duplicate" },
+ { "error": null, "event_seq": "2", "status": "duplicate" },
+ { "error": null, "event_seq": "3", "status": "accepted" },
+ { "error": null, "event_seq": "6", "status": "accepted" }
+ ],
+ "max_seen_seq": "6"
+ }
+ ```
+
+- **`2026-10-29T22:23:20.412Z` — Step 4: Exit reconciling mode (`fvpn-usage-admin complete-recovery`) and verify member rollup (`fvpn-usage-admin drill-down`)** `[Verified on dev/test stack]`:
+ ```bash
+ /usr/local/bin/fvpn-usage-admin --config /etc/fvpn/control.json \
+ complete-recovery \
+ --actor 0196ed00-0000-7000-8000-000000000999
+
+ /usr/local/bin/fvpn-usage-admin --config /etc/fvpn/control.json \
+ drill-down \
+ --member-id 0196ed00-0000-7000-8000-000000000101 \
+ --period 2026-10
+ ```
+ Verified totals: `upload_bytes = "12000"` (`1000 + 2000 + 3000 + 6000`), `download_bytes = "24000"` (`2000 + 4000 + 6000 + 12000`), `total_bytes = "36000"`, `gap = true`, `reconciliation_in_progress = false`.
+
+### 2.5 Measured on the Lab — Live `AT30` Second Half (`#221`, `2026-10-30`, run `0f5fb60d-f6a7-45c6-8ebe-175e0a480bd8`, [`docs/e2e/at/secops/AT30.md`](../e2e/at/secops/AT30.md), [`docs/e2e/at/secops/restore-reconcile.md`](../e2e/at/secops/restore-reconcile.md))
+
+In security-ops follow-up 8 (`#221`, `2026-10-30`, run `0f5fb60d-f6a7-45c6-8ebe-175e0a480bd8` on live stack `w4-secops` / port base `30000`), central PostgreSQL was restored to the `T0` checkpoint (`2026-10-30T22:07:20.427256Z`, `highest_contiguous_seq = 2`) while the retained exit node (`node1`), the payment provider (`paymock`), and NetBird (`N1`) remained at `T1` (`2026-10-30T22:09:17.078556Z`, `highest_contiguous_seq = 5`):
+- **Isolated `T0` restore & fail-safe negative (`120.12 s`)**: `deploy/backup/restore-pitr.sh` + `deploy/backup/verify.sh` restored and verified the `T0` checkpoint in **`3.64 s`** (`6/6` post-restore checklist sections passed; primary-overwrite refusal exited `2`). Starting `fvpn-control` against the restored `T0` database **without** running `freeze` / `begin-recovery` for a measured **`120.12 s`** (`>= 2 minutes`) proved the fail-safe negative: while idle (`seq 3..5` already archived on the node at `T1`), `UploadOnce` skipped archived events, and when post-`T1` traffic generated `seq=6`, central returned `highest_contiguous_seq=2` under the old `ledger_epoch` and the agent rejected the response with `ErrAckRegress` (`highest_contiguous_seq regressed from 5 to 2 in epoch ...`), keeping `seq=3..5` stranded until `ledger_epoch` was rotated.
+- **Five measured restore-protocol steps (`105.94 s` protocol RTO, `111.51 s` total outage RTO, `116.651 s` pre-replay DB RPO, `0 s` post-replay service usage RPO)**:
+ 1. **`fvpn-usage-admin freeze --reason "AT30 restore drill"`** (with `fvpn-control` and `fvpn-worker` stopped): set `usage_ledger_state.mode = 'frozen'` (`0.08 s`).
+ 2. **`fvpn-usage-admin begin-recovery --reason "AT30 restore to T0" --checkpoint-at "2026-10-30T22:07:20.427256Z" --key-id --private-key-file `**: rotated `ledger_epoch` (`7232c191-6989-4246-be92-cf0d74a15091` -> `31fa2c6f-a685-4919-92b4-41bf7614c158`), created `usage_recovery_records` (`130fd33b-5da0-4051-9bd9-5d2859a49c2f`), recomputed `usage_checkpoints` watermarks (`highest_contiguous_seq = 2`), and entered `mode = 'reconciling'` (`0.11 s`).
+ 3. **Start `fvpn-control` and `fvpn-worker` so retained nodes reconcile and replay**: `node1` received `409 LEDGER_EPOCH_MISMATCH`, fetched the signed checkpoint from `GET /api/v1/agent/usage-checkpoint`, verified its Ed25519 signature, un-archived locally retained `seq=3..5` (`archived=1 -> 0`), and replayed `seq=1..6` (`seq=1..2` `duplicate`, `seq=3..6` `accepted`) — **`5/5` (`T0..T1`) events replayed with `5/5` canonical SHA-256 matches, `0` lost, `0` double-counted, `0` gaps (`gap=false`)**, reducing service usage RPO from the **`116.651 s`** (`T1 - T0`) database window to **`0 s`**.
+ 4. **`fvpn-usage-admin complete-recovery --recovery-id 130fd33b-5da0-4051-9bd9-5d2859a49c2f`**: marked recovery `completed`, cleared `reconciliation_in_progress`, and returned `usage_ledger_state.mode` to `'normal'` (`0.09 s`).
+ 5. **Post-recovery readiness checks and external provider / NetBird reconciliation**: `/healthz = 200`, `/readyz = 200`, worker `/readyz = 200`, node `control_status = online` and `safety_status = passed`; `billing.reconcile` converged `m1` from restored `T0` `active` to `subscriptions.status = 'canceled'`, `refund_rows = 1`, and `entitlement.state = 'expired'` (`member.access.withdrawn` audited, peers removed from `fvpn-paid-*`). Measured protocol RTO (`T2 - T3`) was **`105.94 s`** (within the `15 min` target) and total outage RTO (`T1 - T3`) was **`111.51 s`**.
+
+### 2.6 Historical follow-up 10 measurement — `AT30` passed (`#265`)
+
+**Historical follow-up 10 measurement — AT30 passed again (#265), run `0e8ff9a4-4fa1-4154-ae35-847a5be4d985` (`0e8ff9a4`), product `d9e28f8`, on the shared development host:** pre-replay database RPO **95.507504 s**, post-replay service usage RPO **0 s**, protocol RTO **93.532554563 s**, total outage RTO **106.868537734 s**. These are shared-host measurements, not production objectives. Historical #242 and #221 measurements remain separately dated below. SECOPS-16/17 closed against #240 (`past_due` admitted only while `paid` stays true); SECOPS-20 closed against #241 (D-079); SECOPS-18/19 revalidated, SECOPS-05 retained, D-077 proved through HTTP. SECOPS-21 stays open. AT29/AT31 were deferred to devstack follow-up 15 exports; those exports do not by themselves promote the full AT cases. Source: [AT30 Follow-up 10 archive](../e2e/at/secops/history/follow-up-10/AT30.md) and [exact JSON](../e2e/at/secops/history/follow-up-10/restore-reconcile.json). Security-ops follow-up 11 (#274) archived all 104 files byte-identical under D-098; its live AT29 / AT31 / AT30 runs were not executed. D-103 assigns the existing `fvpn-w4-secops-*` namespace to follow-up 12.
+
+#### Historical follow-up 9 (#242)
+
+Security-ops follow-up 9 ran on application base `205633f` during `2026-10-31T01:36:15Z`–`2026-10-31T01:46:57Z` (2026-10-30 EDT), run `42396951-2d9a-49f4-95c3-45f33d9519d5`. **AT30 passed live: D-076 fence proven, SECOPS-19 visibility, replay `3/3`, RPO `0 B`, total RTO `121.88 s` (`121.9 s`).** Sources: [`AT30.md`](../e2e/at/secops/AT30.md), [`restore-reconcile.md`](../e2e/at/secops/restore-reconcile.md), and [machine-readable evidence](../e2e/at/secops/history/follow-up-9/restore-reconcile.json).
+
+| Measurement | Follow-up 9 (`#242`) |
+|---|---|
+| Isolated T0 restore / checklist | `7.17 s`, `6/6` passed; primary-overwrite refusal exit `2` |
+| Fail-safe negative without epoch rotation | `120.12 s`; archived `seq 2..3` stayed stranded, central contiguous watermark stayed `1` while max seen advanced to `4`; `ErrAckRegress` log count `0` |
+| Freeze / begin-recovery / replay / complete-recovery | `0.06 s` / `0.07 s` / `84.75 s` / `0.06 s` |
+| Pre-replay database RPO | `90.301 s` |
+| Post-replay service usage RPO | `0 s` / `0 B` |
+| Protocol / total outage RTO | `112.35 s` / `121.88 s` |
+| Retained ledger comparison | `L0=1` → `L1=3`; `3/3` events and canonical SHA-256 matches (`78833` B), plus one post-T1 event (`10160` B); zero lost, double-counted, or gaps |
+
+**SECOPS-18 closure:** the device revoked between T0 and T1 (`peerM2D2`) stayed withdrawn after restore: fence count `1`, one `device.authorization.external_withdrawal` audit, worker log `device authorization unconfirmed during ledger restore` with four fields, `fvpn_device_restore_fence_decisions_total = 2`, member status `pending`, and no counted forwarding while its sibling forwarded. Replaying the original T0 idempotency key kept the fence. Fresh `AuthorizeDevice` (`member.device_authorize`) cleared it (`count=0`) and restored counted flow (`download: "1515"`, `upload: "1066"`). The never-observed post-restore device (`peerM2D3`) was authorized with no fence and counted traffic; the centrally revoked negative (`peerM2D1`) stayed revoked, unfenced, and without counted traffic. Entitlement restoration does not clear a fence.
+
+**SECOPS-19 closure:** during the reconciling hold, `node_observations.report_payload.usage` reported `unacked_event_count = 3` and `unacked_payload_bytes = "2352"`; `fvpn-agent usage snapshot -json` reported `unacked_count = 3` and the same payload bytes. After complete-recovery and replay both reached zero events and `"0"` bytes. Billing reconciliation converged the canceled member to expired entitlement with one refund; the other member remained active without an entitlement extension. SECOPS-05 also closed in this run.
+
+This run exercised the service-level `AuthorizeDevice` against the live database and worker; it predates the admin HTTP route and `NodeDetail.usage_outbox`. Those are now served by `#238` / `#244` and `#243` respectively. Use `GET /api/v1/admin/devices?authorization_unconfirmed=true` and `POST /api/v1/admin/members/{member_id}/devices/{device_id}/authorize` as described in Phase 6.3. The newer outbox projection uses `db/migrations/00189_node_incarnation_usage_outbox.sql`; it is informational, null before a usage observation, and included in the node ETag.
+
+**Post-restore generation verification (`SECOPS-21`, `#245`):** **SECOPS-21 remains open. Symptom:** security-ops follow-up 10 (#265) saw first post-restore offer generation `11` while the node retained `14`, despite #245's floor over `nodes.desired_config_generation`, `nodes.applied_config_generation` and stored desired-state history. Older offers raise `ErrStaleGeneration`. **Rule (D-095, #270):** stop control/worker, restore T0, and freeze-ingest before starting either service on the restored database. The compiler holds the first post-restore compile until a fresh observation from the current incarnation arrives after `usage_ledger_state.mode` left `normal`. The observable hold is `pending fresh observation after restore` (retryable `503 DEPENDENCY_UNAVAILABLE`, node drift `desired_state_restore_observation`, operation step `fresh_observation`). **Verification:** after a fresh applied `14` report, require first new offer `15`, node acceptance without `ErrStaleGeneration`, then a separate applied ACK and converged `config_generation.desired` / `config_generation.applied`. Completing recovery alone must not release the hold. D-099 is fixed at the HTTP layer in wire-nodes follow-up 29 (#277). `CompileTx` always proposes `max(desired, applied, stored)+1`; cache reuse is allowed for the cached generation or its ordinary one-step proposal only when no higher applied/stored generation exists and no restore observation is outstanding. Policies follow-up 8 (#286) promotes `TestAT30_D095_HTTPRestoreCacheProbe`: the exact 503 hold precedes offer `15` above retained `14`; the pre-#277 negative control fails with `304 / generation 11`. The fixture ACKs are simulated. Do not close SECOPS-21 from the compiler tests alone. Live closure requires the first delivered offer, a matching node-local accepted envelope/ETag, successful application and a separate real applied ACK; absence of a stale-generation log is insufficient. See the [HTTP fix note](../nodes/2026-10-31-secops-21-handover.md) and [live closure checklist](../policies/2026-10-31-secops-21-handover.md).
+
+---
+
+## 3. Repeatable AT30 Restore & Reconciliation Checklist (`§17.2`–`§17.4`)
+
+Execute every step in order during a real disaster recovery event or scheduled quarterly restore drill.
+
+### Phase 1: Isolate Central Services and Preserve Out-of-Band State
+
+- [ ] **1.1 Stop `fvpn-control` and `fvpn-worker`** so no new mutations, outbox jobs, or usage ACKs occur against the damaged database `[production only]`:
+ ```bash
+ systemctl stop fvpn-control.service fvpn-worker.service
+ ```
+ *(Note: Exit nodes continue forwarding traffic for existing members while their serving leases and member service deadlines remain valid (`86,400s` default max offline lease, `§16.3`), and buffer new usage events in local SQLite (`§10.5`, `§10.8`).)*
+
+- [ ] **1.2 Verify `/var/lib/fvpn/staging-authority/vault` Integrity (`§16.2`, `§17.2`)**:
+ Carried gap: production custody and independent anti-rollback remain unimplemented by FileProvider. Preserve independent authority evidence; the staging inspection below cannot prove whole-directory non-rollback.
+
+ Preserve the current authority outside the PostgreSQL restore. For a staging FileProvider, run `fvpn-vault inspect -vault /var/lib/fvpn/staging-authority/vault -check-keys` against the actual configured vault path and review the [key-use inspection](../pki/inspect.md#key-use-inspection) results. This checks current active central keys locally; it cannot prove that the whole directory was not rolled back. Preserve newer revocations and rotations using independent evidence and follow [rotation and restore](../pki/rotation.md); production custody and anti-rollback are not implemented by FileProvider.
+
+### Phase 2: Restore PostgreSQL 17 and Freeze Usage Ingestion
+
+D-095 (#270), restore runbook Step 1: keep control and worker stopped, restore T0, then run freeze-ingest and verify success **before services start on the restored database**. Starting the worker before freezing leaves the original race open; see §2.6.
+
+- [ ] **2.1 Restore PostgreSQL 17 to the Target Point in Time (`restored_to`)**:
+ Carried gap: native PITR below requires the PostgreSQL/restore repository environment described in [backup §6.2](../ops/backups.md#62-restoring-into-a-clean-host-data-directory-production-host-replacement); a production delivery procedure for that environment is absent.
+
+ - **Physical PITR (`pgBackRest`, recommended)** `[production only]`:
+ ```bash
+ # Run as the backup OS account with the documented repository environment.
+ # Use a new empty path on disk; keep the primary and its pg1-path unchanged.
+ /usr/local/lib/fvpn/backup/restore-pitr.sh \
+ --stanza fvpn --target-time "2026-10-29T18:02:00Z" \
+ --primary-dir /var/lib/postgresql/17/main \
+ --target-dir /var/lib/postgresql/17/restore-candidate
+ ```
+ Start the candidate with an isolated configuration/socket and no public listener, or use `verify.sh --host-repo --primary-host --db-user postgres` for a `--network none` copy when the primary is accessed as `postgres` (`verify.sh` otherwise defaults to `fvpn`). The isolated verifier uses its own configuration, HBA, ident and socket boundary; it does not start restored production configuration. See the [verification configuration boundary](../ops/backups.md#21-postgresql-17-wal-archiving-fragment-deploybackuppostgresfvpn-archivingconf). Check migrations and the read-only checklist against the candidate. Only after validating that copy, preserve the old cluster and explicitly switch the service configuration to the candidate; do not overwrite the old data. Steps 2.2 onward use the checked candidate's connection configuration.
+ - **Logical Restore (`pg_restore`)** (`docs/db/README.md`, `F-02`–`F-04`):
+ `[production only]` — this logical restore path remains unverified. `guard_append_only()` guards `UPDATE`/`DELETE`/`TRUNCATE` on `audit_events`, `billing_records`, `usage_adjustments`, `usage_events`, `usage_samples`, `projection_receipts`, `usage_event_payloads`, `usage_ledger_gaps` and `fup_evaluations`; on `usage_rollups` it guards `DELETE`/`TRUNCATE`. `usage_checkpoints` instead has a separate `forbid_delete()` guard for `DELETE`/`TRUNCATE`.
+
+ No setting provides a general bypass of `guard_append_only()`, and it does not read `fvpn.restore`. Its sole exception returns `OLD` for a `DELETE` on `audit_events`, `usage_event_payloads` or `usage_rollups` when `current_user` owns `public.purge_retained(text,timestamptz,text)` and `fvpn.retention_purge` is `on`. Every other guarded operation raises, including every `TRUNCATE`. The authorized retention function manages that setting; see the [retention contract](../db/README.md#roles-grants-and-retention).
+
+ Other triggers use `owner_setting('fvpn.restore')`, which requires both the setting to be `on` and `current_user` to own `public.owner_setting(text)`. It allows historical replay by skipping the node-table snapshot lock, target-insert transaction/eligibility checks, and comparison with the current eligible node population; the stored batch `target_count` must still match its restored targets. It also skips node-lease current-incarnation/offline-deadline checks, member-lease transaction/eligibility/deadline checks, the operation guard on historical `INSERT` (not `UPDATE`), and the billing service-interval check on authorized `member_devices` inserts/updates and `serving_lease_members` inserts. It is not a general constraint or trigger disable switch.
+
+ The [database restore contract](../db/README.md#restore-of-historical-snapshots) describes the existing replay prerequisites. Carried gap: validating the dump, target schema and dependency ordering for this example remains [carried work](follow-up-51.md#existing-procedures-linked-and-carried-gaps); the example command is retained without a new restore procedure:
+ ```bash
+ pg_restore --single-transaction -U fvpn_migrator -d fvpn /backups/fvpn-logical.dump
+ ```
+
+- [ ] **2.2 Verify Schema Migration Status (`fvpn-migrate status`)** `[Verified on dev/test stack]`:
+ ```bash
+ FVPN_DATABASE_URL="${RESTORED_MIGRATOR_DSN:?supply the restored candidate migrator DSN}" /usr/local/bin/fvpn-migrate status
+ FVPN_DATABASE_URL="${RESTORED_MIGRATOR_DSN:?supply the restored candidate migrator DSN}" /usr/local/bin/fvpn-migrate up
+ FVPN_DATABASE_URL="${RESTORED_MIGRATOR_DSN:?supply the restored candidate migrator DSN}" /usr/local/bin/fvpn-migrate status
+ ```
+ Supply the separate `fvpn_migrator` operator credential for the checked restored candidate, as in [deployment database roles](deploy.md#32-least-privilege-database-roles-docsdbreadmemd); do not use either runtime DSN. Confirm every file in the deployed release's `db/migrations/*.sql` is applied on that target and the final status reports no pending version, as described in §2.3.
+
+- [ ] **2.3 Freeze Usage Ingestion Before Starting `fvpn-control` (`§17.3 Step 1`)** `[Verified on dev/test stack]`:
+ ```bash
+ FVPN_DATABASE_URL_FILE="${RESTORED_RECOVERY_DSN_FILE:?supply the restored candidate recovery DSN file}" \
+ /usr/local/bin/fvpn-usage-admin --config /etc/fvpn/control.json \
+ freeze \
+ --actor "${ADMIN_ACTOR_UUID}" \
+ --reason "PITR restore from snapshot ${RESTORED_TO_UTC}"
+ ```
+ `RESTORED_RECOVERY_DSN_FILE` names an operator-provisioned, service-readable mode-`0600` file containing the `fvpn_recovery` DSN for the checked restored candidate; use the same override for begin-recovery and complete-recovery below. `FVPN_DATABASE_URL_FILE` overrides the control-role default ([Central configuration](../control/README.md)).
+
+ While `mode = 'frozen'`, `POST /api/v1/agent/usage-batches` returns `503 DEPENDENCY_UNAVAILABLE` (`retryable: true`) and never ACKs events against stale watermarks.
+
+### Phase 3: Rotate `ledger_epoch` and Start Central Services (`§17.3 Steps 2–6`)
+
+- [ ] **3.1 Begin Ledger Recovery (`fvpn-usage-admin begin-recovery`)** `[Verified on dev/test stack]`:
+ ```bash
+ FVPN_DATABASE_URL_FILE="${RESTORED_RECOVERY_DSN_FILE:?supply the restored candidate recovery DSN file}" \
+ /usr/local/bin/fvpn-usage-admin --config /etc/fvpn/control.json \
+ begin-recovery \
+ --actor "${ADMIN_ACTOR_UUID}" \
+ --reason "Restore from ${RESTORED_TO_UTC} snapshot" \
+ --restored-to "${RESTORED_TO_UTC}" \
+ --affected-since "${AFFECTED_SINCE_UTC}"
+ ```
+ Verify in the JSON output that:
+ 1. `new_ledger_epoch` differs from `previous_ledger_epoch`.
+ 2. `mode` is `"reconciling"`.
+ 3. `signed_record` carries a valid `ed25519` signature from the central `ledger-epoch` key.
+
+- [ ] **3.2 Start `fvpn-control` alone; keep `fvpn-worker` stopped** `[production only]`:
+ Carried gap: restricted recovery startup is not implemented. Control alone still serves agent requests and may issue leases from restored authorization while newer intent is being re-applied; stopping the worker is not a global forwarding fence, and D-076 requires an earlier authorized observation plus a current withdrawal. The repository has no startup mode that completes usage replay, entitlement computation and policy synchronization before enabling the automatic worker as spec §17.4 step 5 requires. The order here reduces exposure but does not establish that fail-closed recovery boundary.
+
+ ```bash
+ systemctl start fvpn-control.service
+ curl -fsS https://vpn.example.com:8443/readyz
+ ```
+ Before starting the worker or opening public traffic, re-apply recorded post-snapshot node/device revocations, administrative suspensions and grant withdrawals using [backup Step 7.1](../ops/backups.md#step-7-reconcile-entitlements-revocations-publication-intents--fleet-updates-174-secops-05). Node revocation commits lifecycle/publication intent and certificate/incarnation revocations (and persists the local identity fence before commit); device revocation commits revoked status. Suspension and grant withdrawal commit their intent and recomputed entitlement in the accepting transaction. The worker's first reconciliation therefore reads those committed changes. An accepted operation still does not prove remote withdrawal.
+
+ Once the recorded withdrawal intents are committed, start `fvpn-worker.service` as in backup Step 7.2. Verify each accepted operation's terminal result and observed enforcement before opening public traffic; continue the checks below with that ordering.
+
+### Phase 4: Reconcile Payments and Member Entitlements (`§9.3`, `§17.4`)
+
+A point-in-time database restore may roll back webhook receipts (`inbox_events`), billing history (`billing_records`), or subscription state transitions that occurred between `restored_to` and the incident.
+
+- [ ] **4.1 Verify Automatic Billing Reconciliation (`billing.reconcile`)**:
+ After step 3.2's withdrawal-intent ordering, `fvpn-worker` runs `billing.reconcile` every `members.json:reconcile_seconds` (`900s` in the example). It schedules reconciliation for subscriptions already stored in the restored database, including canceled ones; processing reads current provider subscription, invoice and refund state.
+ Carried gap: inventory and reconstruction of provider subscriptions absent from the restored rows. This sweep does not establish complete recovery of missed provider events. For known provider events and stored subscriptions:
+ 1. Replay unacknowledged webhook events from the Stripe Dashboard (`Developers -> Webhooks -> Send/Resend`) covering `[restored_to - 1h, now]`. Webhook handling deduplicates by `(source, external_event_id)` in `inbox_events` and never creates duplicate charges (`BILL01`).
+ 2. Inspect `subscriptions`, `entitlements`, and `members` for any subscription updated during the RPO window:
+ ```sql
+ SELECT id, member_id, external_subscription_id, provider_status, paid_through, updated_at
+ FROM subscriptions
+ ORDER BY updated_at DESC LIMIT 50;
+ ```
+- [ ] **4.2 Re-apply Post-Snapshot Admin Suspensions or Manual Grants (`§9.2`, `§9.3`, `§17.4`)**:
+ Confirm that step 3.2 re-applied every recorded suspension and grant withdrawal before worker startup. Use [explicit grant withdrawal](../members/README.md#explicit-grant-withdrawal-revision-14-at29), including its required reason and accepted-operation read-back. A restored grant is not evidence that it remains authorized. Re-issue a recorded grant only after checking later withdrawals, using the finite grant fields in the [API contract](../../contracts/openapi.yaml). Track accepted operations and observed enforcement separately.
+
+### Phase 5: Reconcile NetBird Overlay, Node PKI, and DNS State (`§5.2`, `§6.4`, `§12.2`, `§17.4`)
+
+Central PostgreSQL is the source of truth for desired state; NetBird and AdGuard Home are downstream enforcement targets (`§3`, `§15`).
+
+- [ ] **5.1 Re-revoke Any Post-Snapshot Node Incarnations (`§6.4`, `§17.2`)**:
+ Confirm that step 3.2 re-applied recorded node revocations/retirements before worker startup through `POST /api/v1/admin/nodes/{node_id}/revoke` or `DELETE /api/v1/admin/nodes/{node_id}` using the [operator revocation procedure](operator-guide.md). The accepting transaction commits withdrawal intent; the local identity fence is persisted before that commit. NetBird peer/route cleanup is asynchronous. Check operation completion and remote read-back before declaring withdrawal observed. Never re-enable a revoked identity to retrieve usage.
+- [ ] **5.2 Verify NetBird Node & Member Peer Reconciliation (`node.reconcile`, `members.reconcile`)**:
+ The worker has separate node, member and discovery jobs; they do not implement a global orphan-peer or published-route/policy drift cleanup:
+ - `node.reconcile` runs on `nodes.json:reconcile_seconds`. It reconciles generation holds, updates fleet job state/attention, and expires bootstrap secrets in the database. Fleet reconciliation does not read or delete NetBird peers.
+ - `members.reconcile` runs on `members.json:device_sync_seconds`, recomputes member entitlements and calls `SyncMember` over the member's existing `member_devices` rows. `SyncDevice` applies the intended authorization and verifies it with peer read-back. Under [D-076](../members/README.md#restored-authorization-does-not-re-grant-d-076), an otherwise eligible authorized device with a previously authorized observation and an unexplained current withdrawal is fenced after confirming that withdrawal. Existing fences keep `allow=false`; fenced devices appear pending until explicit re-authorization. A new fence appends `device.authorization.external_withdrawal` with reason `external_withdrawal`. The warning `device authorization unconfirmed during ledger restore` and `fvpn_device_restore_fence_decisions_total` apply when ledger mode is `frozen` or `reconciling`; fencing itself is not restricted to those modes. Keep the fence through restore and follow step 6.3 after `complete-recovery`.
+ - The separate `devices.discover` sweep skips userless and ephemeral peers. An unknown peer with an eligible verified member identity can enter `ObserveAndAuthorize`; absence from the restored device table does not imply deletion.
+
+ - `node.staleness.sweep` independently classifies central receipt age and settles eligible capture targets through `SweepStaleNodes`; it does not reconcile peers/routes or change publication intent. See [scheduled status aging](operator-guide.md#11-daily-operator-tasks) and [capture outcomes](11-database-and-retention.md#operation-captures-and-evidence).
+ - Carried gap: inventory and revocation of peers authorized after the restore point, including peers absent from restored records. No complete procedure for that inventory/revocation is supplied here; these sweeps must not be treated as proof that every such peer, route or policy has been withdrawn.
+ List failed and in-flight operations with SQL; investigate failures and operations that remain pending or running:
+ ```sql
+ SELECT id, kind, status, resource_type, resource_id, error_code, created_at
+ FROM operations
+ WHERE status IN ('pending', 'running', 'failed', 'partially_succeeded')
+ ORDER BY created_at DESC;
+ ```
+ For each returned ID, an authenticated administrator can retrieve details with `GET /api/v1/admin/operations/{operation_id}` (`operationId: getAdminOperation`). The contract has no operations-list endpoint. A `202` response to a mutation records acceptance; verify the operation's terminal result and observed state before declaring recovery complete.
+- [ ] **5.3 Verify AdGuard Home DNS Policy Convergence (`dns.publish`)**:
+ Carried gap: production AdGuard bootstrap and listener wiring remain prerequisites for the resolver convergence checked here; [deployment §4.3](deploy.md#43-adguard-home-resolvers-v010759-12-docsdnsbackendmd-docsdnsprivacymd) carries the missing procedure.
+
+ Inspect published heads and their immutable resolver documents; confirm applied state separately by resolver read-back:
+ ```sql
+ SELECT h.definition_id, h.profile_revision_id, h.policy_generation,
+ h.status, h.document_sha256, d.created_at
+ FROM dns_publication_heads h
+ JOIN dns_resolver_documents d ON d.profile_revision_id = h.profile_revision_id
+ AND d.policy_generation = h.policy_generation;
+ ```
+
+Portal follow-up 16 (#255) supplies `/admin/devices` with authorization-unconfirmed, status and member filters, filter-bound cursors, a confirmed Re-authorize action, a neutral receipt for an existing operation, and a separate paginated read-back until the grant is visible. The node detail also has the usage-outbox block. Operators may use the portal page or the API above; a 202 receipt alone is not a completed grant.
+
+### Phase 6: Node Usage Replay and Complete Recovery (`§10.8`, `§17.3 Steps 7–10`)
+
+- [ ] **6.1 Monitor Node Checkpoint Pull & Replay (`§17.3 Steps 7–9`)**:
+ As each online exit node attempts `POST /api/v1/agent/usage-batches` with the pre-restore `ledger_epoch`, `fvpn-control` returns `409 LEDGER_EPOCH_MISMATCH` (`current_ledger_epoch` in details). The node automatically:
+ 1. Calls `GET /api/v1/agent/usage-checkpoint` and verifies the `ed25519` signature using its `recovery` trust bundle.
+ 2. Replays all locally retained events with `event_seq > highest_contiguous_seq` (plus any `missing_ranges`) under the new `ledger_epoch`. Events already present in the restored snapshot return `status: "duplicate"` and are never double-counted.
+ 3. Reports any purged sequence ranges in `replay_unavailable` (accepted only while `mode = 'reconciling'`, `D-027`), which inserts zero-byte tombstones and sets `gap = TRUE` on affected member rollups.
+ Check stream convergence in PostgreSQL:
+ ```sql
+ SELECT node_id, incarnation_id, ledger_epoch, highest_contiguous_seq, max_seen_seq, updated_at
+ FROM usage_checkpoints
+ ORDER BY updated_at DESC;
+ ```
+
+- [ ] **6.2 Complete Ledger Recovery (`fvpn-usage-admin complete-recovery`)** `[Verified on dev/test stack]`:
+ Once all active nodes have adopted `new_ledger_epoch` and drained their replay queues, exit reconciling mode:
+ ```bash
+ FVPN_DATABASE_URL_FILE="${RESTORED_RECOVERY_DSN_FILE:?supply the restored candidate recovery DSN file}" \
+ /usr/local/bin/fvpn-usage-admin --config /etc/fvpn/control.json \
+ complete-recovery \
+ --actor "${ADMIN_ACTOR_UUID}"
+ ```
+ This marks the `usage_recovery_records` entry `completed`, clears `reconciliation_in_progress` on `usage_rollups` (preserving `gap = TRUE` where `replay_unavailable` occurred), and sets `usage_ledger_state.mode = 'normal'`.
+
+- [ ] **6.2a Verify post-restore generation (`SECOPS-21`, `#245`)**: After the retained node reports its applied generation, trigger/observe the first compile and check `GET /api/v1/admin/nodes/{id}`: `config_generation.desired` (desired_generation) must exceed that reported applied generation. Agent logs must stop reporting `ErrStaleGeneration`. Once applied, the two generations may be equal. See §2.6.
+
+- [ ] **6.3 Review Devices Fenced as Authorization-Unconfirmed (`D-076`, `D-077`, `D-081`, `#227`, `#238`, `#242`, `#244`)**:
+ Immediately after `complete-recovery`, review devices fenced as authorization-unconfirmed and re-authorize explicitly where the member is entitled (`D-076`, `D-077`, `D-081`, `#227`, `#238`, `#242`, `#244`, `SECOPS-18`, `db/migrations/00188_device_authorization_fences.sql`, [`docs/members/README.md`](../members/README.md#restored-authorization-does-not-re-grant-d-076)):
+ 1. List every device needing re-authorization after the restore via **`GET /api/v1/admin/devices?authorization_unconfirmed=true`** (`listAdminDevices`, `#238`, `#244`, ordered by `(member_id, device_id)` with an opaque filter-bound keyset cursor, where each `AdminDevice` carries `authorization_unconfirmed: true` and `authorization_unconfirmed_since` set to `device_authorization_fences.fenced_at`), correlated with the worker log line `device authorization unconfirmed during ledger restore` (`device_id`, `member_id`, `peer_id`, `ledger_mode`, counted in `fvpn_device_restore_fence_decisions_total`), `GET /api/v1/admin/audit-events?resource_type=member_device&resource_id=` (`action=device.authorization.external_withdrawal`, where the reason is recorded alongside the worker log line), or by joining `device_authorization_fences` (`device_id`, `fenced_at`, `observed_group_ids`) to `member_devices` (`id`, `member_id`, `peer_id`, `status`):
+ ```sql
+ SELECT f.device_id, d.member_id, d.peer_id, d.status, f.fenced_at, f.observed_group_ids
+ FROM device_authorization_fences f
+ JOIN member_devices d ON d.id = f.device_id
+ ORDER BY f.fenced_at DESC;
+ ```
+ 2. Entitlement restoration does not clear a fence. For each fenced device where the member is still entitled and the device was not revoked after `restored_to`, issue an explicit re-authorization via **`POST /api/v1/admin/members/{member_id}/devices/{device_id}/authorize`** (`authorizeMemberDevice` / `AuthorizeDevice`, admin session, CSRF, new `Idempotency-Key`, no request body, `#238`, `#244`): it deletes `device_authorization_fences` in the same transaction, writes a `device.authorize` audit event on `member_device:`, enqueues `device.sync`, and returns `202 Accepted` with operation kind `member.device_authorize` (returning the device's existing `member.device_authorize` operation when `member_devices.status` is still `authorized` — confirm completion by checking `GET /api/v1/admin/devices` or `GET /api/v1/member/devices` for `status: authorized` and `authorization_unconfirmed: false` after the worker sync; `404 NOT_FOUND` if the device is not the member's; `409 STATE_CONFLICT` if `revoked`; **`409 DEVICE_LIMIT_REACHED`** per `D-081` if over the member's plan allowance; a revoke via `DELETE /api/v1/member/devices/{device_id}` also clears the fence; see [`operator-guide.md`](operator-guide.md#71-suspending-and-reactivating-a-member-patch-apiv1adminmembersmember_id) §7.1).
+
+---
+
+## 7. Automated Docker PITR Drill Names (`tests/backup`, `FVPN_BACKUP_DRILL_PREFIX`)
+
+`TestAT30_BackupPITRDrill` (`go test -tags integration ./tests/backup/`, also `make -f mk/backup.mk backup-drill`) builds a PostgreSQL 17 + pgBackRest image and runs the primary, the isolated restore, and `verify.sh` on one Docker prefix. Concurrent drills must not share that prefix. The repository-wide integration gate and a second local run can execute at the same time.
+
+The fixed `backup-drill` selection also requires `TestAT30_IsolatedHostConfig` (time, LSN, latest, direct-failure cleanup and pre-existing-volume protection) and `TestAT30_BackupLocaleGuards` in the built image. Required tests and subtests must run and pass; absence or skipping fails the inventory check. The drill removes only its per-run prefix. The isolated restore’s failure cleanup removes only containers/volumes it created and still owns; a pre-existing target volume is retained. See [the current drill checks](../ops/backups.md#8-automated-ci-drill--measured-results-mkbackupmk-docsopsbackups).
+
+Set `FVPN_BACKUP_DRILL_PREFIX` to choose the prefix. The value must match `fvpn-w4-ops-backups-`: the family name, then one or more hyphen-separated segments of lowercase letters and digits, at most 63 characters. `.github/workflows/backup.yml` sets `fvpn-w4-ops-backups-gha-`.
+
+When the variable is unset, the test draws 4 bytes from `crypto/rand` and uses `fvpn-w4-ops-backups-` plus those bytes as 8 lowercase hex digits.
+
+The test creates and deletes only objects owned by that prefix (the name equals the prefix, or starts with the prefix plus `-`). It registers the cleanup with `t.Cleanup`, so a failure removes the same set. It does not remove the bare family, a neighboring run, or `fvpn-pg`.
+
+| Object | Name |
+|---|---|
+| Image tag | `-postgres:17` |
+| Primary container | `-primary` |
+| Primary volume | `-primary-pgdata` |
+| Repository volume | `-repo` |
+| Restore container | `-restore` |
+| Restore volume | `-restore-pgdata` |
+| `verify.sh` prefix | `-verify` |
+| Network name reserved for cleanup | `-net` |
+
+The primary and the restore container join Docker's built-in `none` network (`--network none`, zero published host ports). `-net` is not created. Cleanup still removes a network of that name if one was left behind.
+
+Stale objects from a killed drill are not removed by the next random-prefix run. Remove the whole `fvpn-w4-ops-backups-*` family, and only that family, with:
+
+```bash
+make -f mk/backup.mk backup-drill-clean
+```
+
+Do not run `backup-drill-clean` while a drill is still using a `fvpn-w4-ops-backups-*` prefix. The test never calls that target.
+
+Evidence is written only with `FVPN_BACKUP_DRILL_RECORD=1`; normal integration runs do not change `docs/`. CI exposes this only as the manual `workflow_dispatch.record_evidence` input. Archive ages and local command durations are reported separately; service RTO remains unmeasured.
+
+### Follow-up 16 restore evidence (2026-10-31 EDT)
+
+Security-ops follow-up 12 (#301), run `dd845a7f-2660-431c-a8e6-c513108cc07d`,
+passes AT30 on the shared development host: pre-replay database RPO **106.45 s**,
+post-replay service usage RPO **0 s**, protocol RTO **66.90 s**, total outage RTO
+**74.53 s**, replay **5 events / 5 hashes / 0 lost / 0 duplicate / 0 gaps**.
+D-095's exact fresh-observation hold is proved. SECOPS-21 remains open: the
+first probe/stored generation 16 exceeds retained 15, but first delivery,
+matching local acceptance and the applied ACK remain unproven; capture is
+pending devstack follow-up 18 / wire-nodes follow-up 32. Earlier measurements
+remain historical, and no candidate-hardware guarantee follows. See the
+[current acceptance snapshot](../ops/README.md#follow-up-16-acceptance-snapshot-2026-10-31-edt).
diff --git a/tests/handover/testdata/history/follow-up-55/prior-docs_node_README.md.txt b/tests/handover/testdata/history/follow-up-55/prior-docs_node_README.md.txt
new file mode 100644
index 000000000..e591b6bec
--- /dev/null
+++ b/tests/handover/testdata/history/follow-up-55/prior-docs_node_README.md.txt
@@ -0,0 +1,399 @@
+# Node agent and watchdog
+
+`fvpn-agent` (`node/agent/cmd/fvpn-agent`) is the program on every exit node. It enrolls once, proves its identity with mTLS, fetches signed desired state, applies isolation and QoS through `node/enforce`, renews leases, and reports observations. `fvpn-watchdog` (`node/watchdog/cmd/fvpn-watchdog`) is a separate process. The lab driver is `fvpn-labcontrol` (`node/internal/fakecontrol/cmd/fvpn-labcontrol`), which has to live under `node/` so it can import the fake control server. If the agent stops refreshing its heartbeat, the watchdog installs the fail-closed baseline and does not open a control connection (§16.3).
+
+The updater is a separate program. This process opens the usage ledger, samples forward-admission counters after forwarding is admitted, and uploads them. It does not apply a release.
+
+The Ubuntu installer is [install.md](install.md).
+
+## Commands
+
+```text
+fvpn-agent enroll -config /etc/vpn-node/agent.json -token-file path|-
+fvpn-agent run -config /etc/vpn-node/agent.json
+fvpn-agent step -config /etc/vpn-node/agent.json
+fvpn-agent version
+
+fvpn-watchdog run|once -config /etc/vpn-node/agent.json
+fvpn-watchdog version
+```
+
+The enrollment token is read from the file, or from stdin when the path is `-`. It is never taken from argv or the environment, including `FVPN_ENROLLMENT_TOKEN`. After a successful enrollment the file is overwritten with zeros, synced, and removed. A failed enrollment leaves the file in place. A second `enroll` does not mint another key or incarnation (AT06, AT07).
+
+`agent.json` holds paths and ids. It never holds a token, a private key, a setup key, or a resolver password. The password lives in `dns.resolver_credentials_file`. The agent rejects unknown fields. The watchdog ignores unknown fields so both programs can share one file.
+
+## Boot order (§8.2, §13.5, §16.3)
+
+1. `fvpn-updater recover` runs first. Exit 0 means the journal does not require forwarding to stay off. Exit 2 means members stay blocked. The unit templates in `node/agent/systemd/` set `SuccessExitStatus=0 2` and order this oneshot before the agent, the watchdog, and `fvpn-netbird.service`. The installer task installs the units.
+2. The agent checks `nft`, `tc`, `ip` and `conntrack` through its executor and loads durable identity, desired state, lease and enforcement evidence before deciding whether the live rules can be retained. The host requires nftables, iproute2 and conntrack. A missing executable keeps forwarding off and reports `DEPENDENCY_UNAVAILABLE` with `safety_check_failed` in the first observation; its log identifies only the executable name.
+3. On the same boot, a still-valid signed lease can qualify without a new control response when desired generation equals applied generation. Adoption also requires the original lease anchor, a fresh serving heartbeat, current release eligibility, fresh DNS/probe results, full live kernel and topology verification, healthy meter ownership, and clear updater/recovery and identity barriers. The shared node lock serializes adoption with Apply and watchdog checks.
+4. Successful adoption retains the existing rules and absolute deadline without Apply or an intermediate baseline. Otherwise boot installs the fail-closed baseline and requires a qualifying lease response before serving. Reboot or loss of the original clock anchor cannot adopt the old lease.
+5. Member forwarding is enabled only when every gate in `Decide` passes. See the [ISO-F6-03 hand-off](followup28-iso-f6-03-2026-10-31.md) for the restart checks and measured limits.
+
+`run` repeats `step` on the shorter of the heartbeat and poll intervals. `step` is one pass.
+
+## Paths
+
+| Path | Mode | Who writes it |
+|---|---|---|
+| `/var/lib/vpn-node/identity/` | 0700 | agent: key, CSR, certificate, CA, `node.json`, `setup.key` |
+| `/var/lib/vpn-node/state/agent.db` | 0600 | agent SQLite store (WAL, `synchronous=FULL`) |
+| `/var/lib/vpn-node/state/usage.db` | 0600 | usage ledger (WAL, `synchronous=FULL`); path is `state_dir/usage.db` |
+| `/var/lib/vpn-node/state/desired-state.json` | 0644 | agent, only after the envelope verifies |
+| `/var/lib/vpn-node/update-journal/journal.db` | 0600 | updater journal; the agent only reads it (`updater_journal`) |
+| `/var/lib/vpn-node/update-journal/forwarding.blocked` | — | updater latch; the agent only reads it |
+| `/var/lib/vpn-node/update.lock` | — | flock shared by the agent's serving apply, quarantine and restart adoption, the watchdog, the installer and the updater (`node/internal/nodelock`); the probe exception only checks that another process holds it and never keeps it (amended D-064) |
+| `/run/vpn-node/heartbeat` | 0644 | agent; the watchdog only reads it |
+| `/etc/vpn-node/agent.json` | — | installer; no secrets |
+
+The updater journal database is not created here. `updater_journal` is that database file, default `/var/lib/vpn-node/update-journal/journal.db`, the same directory the updater uses. `journal_dir` is the directory, not the file: `forwarding.blocked`, `health-challenge.json`, and `health-attest.json` stay there. `usage.db` is created by the agent the first time an enrolled process boots. Every path above is configurable in `agent.json` except the usage file name, which is always `usage.db` inside `state_dir`. Tests use a temp directory.
+
+The desired-state file is replaced by a temp file and `rename` in the same directory, after `AcceptDesired` has stored the verified envelope. An unverified document is never written there. The store is the anti-rollback authority: a generation older than the accepted one is rejected and the file is left as it was. On boot the agent rewrites the file from the stored envelope.
+
+## Local store
+
+`node/internal/agentstore` keeps identity references, the accepted desired-state generation, the last valid envelope, the lease and its monotonic send time, the time anchor, QoS class minors, the last counter snapshot, admitted addresses keyed by `(addr, device_id, member_id)`, observation outbox rows, and enrollment request state. Schema version is `PRAGMA user_version` (3). A newer schema refuses to open. An older `applied_address` that stored only the address is rebuilt in place; those rows keep the nil UUID for device and member. The metadata table also retains the incarnation freeze latch, the last applied enforcement model and class assignments for containment audits, and hashes of the working member-link topology. Baseline installation does not clear these records. Retained enforcement state alone cannot authorize serving after restart. Signed documents and their original same-boot anchor supply authorization; the retained installation time and class assignments support fresh kernel verification before adoption. Safety writes use `synchronous=FULL` and finish before the agent acknowledges the corresponding control result.
+
+## Enrollment (§6)
+
+The node generates an ECDSA P-256 key (mode 0600) and a CSR with an empty subject. `enrollment_request_id` and the incarnation id are stored before the request is sent, and the same CSR is reused, so a crash and a retry present one identity. The certificate and CA chain are stored before enrollment is marked complete. Bounded backoff is 5 attempts, 200 ms doubling, capped at 5 s.
+
+## Control client (§14.6, D-015)
+
+`node/internal/controlclient` is an mTLS client with a pinned CA, TLS 1.2 minimum, no redirects, and a 1 MiB body cap. Lease renewal, usage upload, and every other call have separate connection pools and concurrency budgets (lease 2, usage 1, other 2). A usage upload cannot take the last lease slot.
+
+`POST /api/v1/agent/bootstrap` is called once over mTLS with no body. The setup key is written to `setup.key` (mode 0600) before any caller is told it exists, and it is never logged. A lost HTTP 200 cannot be fetched again (`BOOTSTRAP_CONSUMED`). `BOOTSTRAP_NOT_READY` (409) is retried later and does not by itself disable forwarding. `BOOTSTRAP_EXPIRED` (410) without a stored key ends bootstrap for this incarnation.
+
+## Desired state and leases (§14.7, §16.3)
+
+Envelopes are verified with `pkg/envelope` and the node trust bundle (`envelope.ParseNodeTrustStoreJSON`). The node id, incarnation, generation, and half-open validity window `[issued_at, expires_at)` must match. A bad signature, the wrong node, or an older generation does not replace the accepted state. A 304 does not move the lease, the ETag, or any deadline; the same step may still renew a lease that is actually due.
+
+On a verification or render failure the agent reports the actual reason. A live `GENERATION_MISMATCH` under a valid verified same-generation lease attempts immediate repair as described below; other rejected serving reads and failed repairs withdraw forwarding. `ISOLATION_BASELINE_MISSING` is a report-only `ErrorCode` (revision 3, HTTP status none). The observation uses that code, stage `isolation`, and the message `ISOLATION_BASELINE_MISSING`. It is never written as an HTTP response. `HEALTH_CHECK_FAILED` stays for a health check that is not one of the specific codes. `METER_PATH_INVALID` is a real error code. `netbird_backend` must be `kernel`; `userspace` and `unknown` keep forwarding off.
+
+The agent translates the accepted document into an `enforce.Model`, then calls `enforce.Apply`. QoS class minors (`QoS.Assignments`) are stored so a restart does not renumber classes. The node lock is tried three times, 50 ms apart, around a serving apply. If it is busy the apply is skipped and `UPDATE_BUSY` is reported. A busy lock does not install the baseline when members are already being served. When the decision is already not to serve, the baseline is installed even if the lock is busy.
+
+An ordinary apply failure attempts the baseline and becomes an input to the forwarding decision; a failed baseline installation or read-back leaves isolation unconfirmed. The verified conntrack deletion exception and successful same-generation repair described below retain their separate behavior. It reports `safety_check_failed`, `member_forwarding_enabled=false`, and failed `source_binding`, `qos` and `lease` checks carrying the apply error code. Heartbeat does not say `serving`, and the failed apply cannot acknowledge a generation or trigger a generation-driven lease renewal. The failure remains evidence until a successful serving apply verifies the ruleset.
+
+D-085 live serving verification also runs on every serving step: before reconciliation against the retained applied model and class assignments, after Apply returns before acknowledging its generation, and immediately before the deferred heartbeat. `Plane.VerifyServing` / `SystemPlane.VerifyServing` call `enforce.VerifyServing` to read live nft and tc; a 304, unchanged generation, or busy apply lock cannot reuse cached verification. Each read has an independent timeout of `min(1 second, min(heartbeat_seconds, poll_seconds) / 2)`, so process cancellation alone cannot manufacture kernel drift. Expiry of that read deadline still fails closed. The run loop subtracts step work from the shorter heartbeat/poll interval instead of sleeping another full interval; grant-less renewal slots can wake it earlier. Control HTTP work shares a per-step budget of `min(5 seconds, watchdog_stale_seconds / 3)`; local persistence retains its own caller context. A budget exhausted with unchanged documents and valid verified rules retains them without redundant Apply. CPU stalls can still overrun the scheduled cadence, and the watchdog remains the independent stale-heartbeat backstop.
+
+A live `GENERATION_MISMATCH` with an unexpired same-boot lease, matching desired/applied generation and healthy safety gates queues the truthful failed verifier report, then immediately re-applies that same generation and lease. Successful repair adds no intermediate Engine baseline and preserves the original deadline. Failed repair, other rejected reads and read timeouts clear serving and policy expiry while retaining control access; those failures require a later clean full Apply. D-126 verifier precedence and the wire result remain unchanged. Contract revision 13 is consumed: `TC_FOREIGN_FILTER` is the actual `errors[].code` and failed serving-check `checks[].error_code`, with no `HEALTH_CHECK_FAILED` fallback for that reason. A plain timeout reports `serving verification timed out`.
+
+D-090 quarantine runs at `rejectServing` before the usage hand-off and ordinary baseline withdrawal. `SystemPlane.Quarantine` calls `enforce.Quarantine` through the same executor as Apply and holds the same node lock (reusing a lock already held by Apply). It uses the retained applied model and `ApplyResult.Plan.Assignments`, never the new desired state or a cleared baseline model. Quarantine independently attempts to lower the member link and install and verify a no-probe baseline, and attempts to record the recovery marker; it leaves foreign tc state and the uplink untouched. Partial failures or a busy lock keep the agent non-serving and report `quarantine_incomplete` or `lock_unavailable`. Containment evidence is separate from procedure errors: a marker failure can return an error even when link-down and the baseline are verified. If no model has ever been applied, the agent reports `retained_model_unavailable` together with Apply's own quarantine outcome; it does not invent a previous model.
+
+Every deferred step return audits the retained model while blocked, including cancellation, revocation and freeze. Foreign state re-arms quarantine even if forwarding was already off. Pending containment runs every step, so a daemon-raised link is lowered again; baseline installs never erase the model or the failure evidence. Only a clean fully verified Apply may raise a marked link. The heartbeat's optional compact JSON `evidence` field retains the original error code, sanitized tc attachment/action metadata, initial and latest quarantine outcomes, marker status, per-link before/after `admin_up` and `operstate`, baseline `installed`/`verified`, and partial error statuses. Observations carry these as bounded `NodeError.message` summaries at stages `tc_evidence`, `initial_quarantine`, `quarantine` and `apply_quarantine`. The latter retains `ApplyResult.Quarantine`. No raw command output, packet matches, action parameters or traffic destinations are reported. The watchdog continues to gate on the existing heartbeat fields.
+
+D-096 adds a read-only member-path check before a verified Apply can acknowledge a generation or advertise serving. It requires the applied member interface to be administratively up, a usable IPv4 address, and a routing decision through that interface for each applied peer. Because the enforcement model has no local transit-address or next-hop configuration, the agent captures the existing member-link addresses and routes before its first Apply (which can itself quarantine a foreign attachment) and persists only their hashes; subsequent checks require that topology to remain present. This expectation survives baseline installs and restart. D-100 authorizes an intentional topology replacement only through a newer published generation: capture a candidate before Apply, verify the full Apply and the candidate member path afterward, then durably replace the hashes and their decimal-string generation before acknowledging or serving. An Apply error (including a pending conntrack deletion), failed live verification, or failed path check leaves the old expectation intact. A same-generation re-Apply never refreshes it, including after restart; legacy records without a generation use the retained applied generation as the comparison floor. There is no out-of-band override. Configure the intended topology, publish a newer generation, and wait for its verified Apply. The intermediate non-serving hold is expected and observable as `member_path_unconfigured`. IPv6 addresses/routes present in that topology are checked even though member IPv6 forwarding remains blocked.
+
+A clean Apply can raise the link while routes/addresses are still missing. The agent then attempts the baseline, reports `member_path_unconfigured` in the heartbeat and observation error, leaves the clean link up for its topology owner to repair, and retries on the next step. It never adds addresses or routes. The next clean Apply plus a passing topology check restores serving and clears containment evidence. When quarantine prevents a valid pre-Apply candidate capture, Apply may still raise the link for repair, but that attempt must satisfy the old expectation.
+
+Containment has measured production limits: NetBird or another privileged daemon may raise the member link between steps; uplink filters are outside this member-link containment. The owner of production route/address reconciliation still needs netlab follow-up 14 evidence. Sequential nft/tc/netlink reads and the interval from the final read to heartbeat publication remain non-atomic. This is not an assurance against a hostile root or hypervisor (§16.3).
+
+Run `make -f mk/node.mk node-test-live-netlab` for the foreground container regression and per-step measurement. It uses real nft/tc, an in-process engine and TLS fake control, creates only `fvpn-w2-agent-core-live-*` Docker objects, uses worktree disk scratch, and cleans up on exit. It proves ingress `matchall`/`mirred` bypass before quarantine (one uplink packet, zero nft delta), containment afterward (zero packets, zero nft delta, successful uplink control), repeated containment after a daemon-like link raise, and recovery only after the harness restores its two routes and one IPv6 address. The 2026-10-31 run measured 2.8 ms added topology verification per steady step alongside 58.1 ms for the three live reads (follow-up 21 reference: 52.6 ms). This does not establish §11.7 throughput or real-device/arm64 performance.
+
+Revocation is enforced by the ruleset first: removed bindings are dropped before established-flow acceptance. Each tracked address is `(addr, device_id, member_id)`, in memory and in `applied_address`. Moving the same IPv4 to another device or member queues that IPv4 for `conntrack -D` before the new device is served, including when the previous generation was unpublished and the tracked set was left in place. The same triple admitted again is not deleted. A migrated row with a nil device and member is not that triple. When the address is bound to a device, the agent queues `conntrack -D` for it and keeps that identity until the delete succeeds, on the same twelve-attempt bound as any other revoke.
+
+If serving and QoS verification passed (`ApplyResult.Verified`) and only the conntrack flush failed (`IsConntrackDeleteFailure`), the agent retains and acknowledges the applied generation and keeps forwarding for up to twelve consecutive failed attempts. The count is attempts, not wall time: one verified serving apply is one attempt, so a long quiet gap does not spend the window. Twelve attempts at the default 10 second step are about two minutes. That is long enough that one transient `conntrack` error does not drop every member, and short enough that a broken delete cannot leave a revoked device's flows in place. The pending set is the identities whose `conntrack -D` failed. A re-admitted `(addr, device, member)` is dropped after that attempt, so the next tick does not run `conntrack -D` against the active device. Only the addresses whose delete failed stay pending and are retried; every other address in that revoke set is retired. While the count is under twelve the observation is one `ISOLATION_POLICY_INVALID` error at stage `apply`, message `conntrack delete pending; serving ruleset verified`, with `member_forwarding_enabled=true`, `safety_status=passed`, and every check passed. The `serving` heartbeat stays.
+
+At twelve durably reserved serving-Apply delete batches, or immediately when `LookPath("conntrack")` fails after preflight, the agent stops serving and attempts the baseline. A crash or earlier failure can consume a reservation before a delete completes. `member_forwarding_enabled` is false, `safety_status` is `failed`, and `forwarding_block_reasons` contains `safety_check_failed`. With a verified baseline, `internet_only` is `failed` with `ISOLATION_POLICY_INVALID` and the detail `Conntrack delete exceeded the retry bound.` or `Conntrack is not installed.`; otherwise it reports `ISOLATION_BASELINE_MISSING`. The reservation count is stored, so a restart does not open a new window. Successful cleanup of the pending set clears the block. Other verification failures still attempt the baseline; the valid-lease generation repair above retains its explicit reporting and safety checks. Startup preflight uses `enforce.RequireConntrack` so a missing binary fails closed before serving begins.
+
+`node/internal/timeanchor` anchors trusted time at the moment the lease request is sent: signed `issued_at` plus `CLOCK_MONOTONIC`. Wall-clock jumps never extend a deadline. Replaying the same `lease_id` does not move `mono_sent`, so the kernel element timeout is the remaining time, not a new full TTL. After reboot (`boot_id` mismatch) the same lease does not enable forwarding; a strictly newer `issued_at` is required. A short same-boot process restart can adopt the stored lease and live rules after all boot checks above, without waiting for a lease response or resetting the monotonic deadline. A failed adoption keeps forwarding off until a qualifying response arrives; replay of the same lease never moves its deadline.
+
+Renewal starts one lead time before expiry. The default lead is 120 seconds, capped at half the node lease window, and jittered by ±10 percent. A lease that carries member grants still waits for that lead.
+
+A lease for this desired generation whose member grant set is empty, while device bindings are still desired, is provisional (D-067). The node lease is still inside its monotonic deadline, and the lease generation matches the desired generation. The agent does not forge a grant, force the node ready, or shorten a production timeout.
+
+Every accepted grant-less lease gets a monotonic renewal schedule, including an empty lease received before desired bindings arrive. The first wait is one heartbeat capped at 60 seconds; later waits double up to 60 seconds. Each slot is measured from the request send time, and the lease's renewal lead can bring it forward. Thus the central 60-second lease issued while a published node is still `applying`, with `renew_lead_seconds=120` capped to half its window, is scheduled at or before the 30-second lead slot instead of backing off to expiry. Grant-less slots have no jitter. A lease with grants clears this schedule and retains the ordinary renewal lead and jitter.
+
+The run loop shortens its sleep to the next slot and handles a due grant-less renewal before observation retries and desired-state HTTP work. Time already spent in a control pass adds no extra full poll interval after the slot. HTTP `Retry-After` remains an independent lower bound; failures or replayed leases past their lead retry without a busy loop. A restart starts a fresh backoff streak, but replay never extends the original lease deadline (§16.3). The 60-second schedule bounds local waiting, not central availability or member eligibility; ongoing work, request latency, and server backoff can delay completion.
+
+The [devstack follow-up 14 record](../e2e/runs/2026-10-31/followup14/member-traffic.md) measured 80.622 seconds from the first `ready` observation to the first populated lease. That query spans setup: the [publication record](../e2e/runs/2026-10-31/followup14/publish.md) still shows the node unpublished, generation 1, at 70.304 seconds after that first readiness. A ready node can have no eligible members. For renewal latency, compare successive lease requests, or readiness after a published node has eligible desired bindings, rather than the first-ever `ready` to first-ever non-empty lease.
+
+With published, verified, unexpired desired state, nonempty bindings and otherwise healthy safety checks, while that deadline holds member forwarding stays off and `safety_status` is `passed`. Safety is computed independently; independent failures retain their own status. `forwarding_block_reasons` contains `awaiting_member_grants` and does not contain `lease_expired`. Contract revision 11 is adopted. The `lease` check is `failed`, with `error_code` `AWAITING_MEMBER_GRANTS` and detail `Serving lease has no member grants yet.` The `qos` and `source_binding` checks in that state are `failed` with `error_code` `AWAITING_MEMBER_GRANTS` and the details `Rate policy could not be applied.` and `No member binding was admitted.` `errors` contains one entry: code `AWAITING_MEMBER_GRANTS`, stage `lease`, message `Serving lease has no member grants yet.` A deadline that has passed is a different report. `forwarding_block_reasons` then contains `lease_expired`, and the `lease` check is `failed` with `LEASE_EXPIRED` and the detail `Serving lease is not in force.` An empty desired binding list is not provisional. It reports neither `awaiting_member_grants` nor `AWAITING_MEMBER_GRANTS`. A lease for another generation is not provisional either. It reports `policy_missing`, and the `lease` check is `STALE_GENERATION`. Apply or dependency errors override the `lease`, `qos` and `source_binding` check codes while retaining the independent lease-stage awaiting-grant error. A nonempty grant set can still admit no desired binding.
+
+For isolation sampling, the `AWAITING_MEMBER_GRANTS` window spans empty-lease issuance through the first renewal returning grants (the node reports it once that lease is accepted), for a published generation with desired bindings while the matching lease stays in force: D-087 schedules one heartbeat, then doubling, never more than 60 seconds of local waiting between requests, plus central publication/eligibility time and the I/O/backoff qualifications above. Start capturing before empty-lease issuance, configure test `heartbeat_seconds=1`, `poll_seconds=1`, `observation_seconds=1`, and archive every `POST /api/v1/agent/observations` body at the harness control receiver (drain that complete capture every 100 ms, not just the latest snapshot every 2 s): retain all reports, including `report_id`, `observed_at`, `lease.lease_id`, forwarding status, block reasons, checks and errors. The healthy provisional shape described above is conditional; independent failures can change it.
+
+The step that applies a desired generation attempts renewal when the stored lease is behind the applied generation and renewal is eligible; attempt and retry gates still apply. Verified closed-recovery catch-up can reset the attempt gate while honoring Retry-After. A generation-driven request does not wait for the ordinary lead. The lease the agent serves against carries the applied generation. A lease from an older generation is never a basis for `serving=1`, and it does not by itself produce `lease_expired`. `lease_expired` can mean the anchored deadline of the lease for the applied generation has passed, or that a nonempty grant set admits no desired binding. Until a lease for the applied generation is accepted, heartbeat and observation use `policy_missing`. The forwarding-block vocabulary has no `lease_pending` or `lease_renewing`, and `policy_missing` is the existing token for a serving document that is not in hand. A failed renewal leaves forwarding off with that reason. The lead, its jitter, the rest of the bounded reason set, and the §13.9 forwarding latch are unchanged.
+
+Except for the first identity-freeze notification below, a step makes at most one lease renewal request. A `Retry-After` response retains a monotonic retry deadline across steps without invalidating a fresh lease for the applied generation. While that lease remains in force, forwarding and the `serving` heartbeat continue; the `lease` check passes with a detail that renewal is waiting for `Retry-After`. Its original monotonic deadline still withdraws forwarding with `lease_expired`, and a generation mismatch withdraws it with `policy_missing`. The agent uses the client's single-attempt method so heartbeats and observations continue during backoff; the ordinary `RenewLease` method waits for the deadline or context cancellation without making an automatic second request.
+
+An authenticated observation response with `identity_frozen: true` latches the current incarnation closed (D-088 ii). The agent immediately withdraws all member forwarding to the baseline, persists `identity_frozen` in the local store, and writes `Serving=false` / `identity_frozen` to the heartbeat before control I/O. The corrected observation carries `identity_invalid` and an `identity_frozen` identity-stage error; applied generation, binding revision and policy references are null. Frozen renewal requests also omit the generation ACK, and no new generation is marked applied.
+
+The first freeze notification immediately requests a lease outside the D-087 slot, including after an earlier request in the same step or an existing Retry-After deadline. Central frozen-incarnation renewals are grant-less; the at-most-60-second backstop applies when the node is registered and published; subsequent requests follow the normal grant-less heartbeat/doubling/lead schedule. The forwarding latch remains closed even if renewal fails or a populated older envelope is replayed. Absent or false flags make no change, including after restart. Resolution is operator revoke and re-enroll into a new incarnation; there is no automatic unfreeze. TLS fake-control tests drive this behavior independently of the parallel server-emission work.
+
+## Forwarding gates
+
+Member forwarding stays off unless all of these hold:
+
+- enrolled, not revoked, and not identity-frozen (both conditions persist across restart)
+- bootstrap was not lost after a 200
+- the time anchor checks out
+- the store is usable and the observation outbox is under 32 pending rows
+- `forwarding.blocked` is absent and `fvpn-updater recover` did not exit 2
+- `netbird_backend` is `kernel` and the meter path is readable (`Barrier.Health`; only reason `meter_path_invalid` is `METER_PATH_INVALID`)
+- the usage store can persist a sample, the usage outbox is inside its age and byte budgets, and the disk floor is clear
+- the isolation baseline is present
+- desired state is verified, in force, and `published`
+- `serving_release_ids` is empty, or it contains this `release_id` (an empty list passes, the same rule as `CheckPublishable`; a non-empty list that omits this release blocks forwarding)
+- this process holds a fresh lease for the applied generation, and its monotonic send time is set
+- capacity is non-null and QoS renders
+- if any device binding is present, at least one is admitted for at least one second
+- the data-path probe has finished and its check is `passed`
+- live enforcement verification and the member-link topology check pass
+
+`safety_status` is the isolation and policy baseline (§5). It does not follow `d.Serve`. The baseline checks are `internet_only`, `dns_policy`, `policy_signature`, `meter_path`, `storage`, `release_supported`, and `tunnel_probe`. They are evaluated while publication is `unpublished` or `disabled`. `safety_status` is `passed` when every baseline check passes, `failed` when one fails, and `expired` only when a policy or lease deadline has passed while publication is `published`. A deadline on an unpublished document is `failed`, not `expired`.
+
+`lease`, `qos`, and `source_binding` are serving checks. Except when an enforcement apply or executable preflight has failed, they are `not_run` while publication is `unpublished` or `disabled`, and while the desired state has no device bindings. They are `passed` or `failed` only when serving is desired (publication `published` and at least one binding). They do not turn baseline safety to `failed` in the unpublished state. A relay-only overlay (`data_health` `degraded` with `tunnel_probe` still `passed`) does not block forwarding by itself. A failed tunnel check does.
+
+An unpublished desired generation is still applied. The agent installs the fail-closed baseline (member forwarding dropped, isolation baseline, kill switch), persists that generation, and reports `applied_config_generation` equal to the desired generation and `provisioning_state` `ready`. The serving model is not installed, so member traffic stays off. `d.Serve` stays fail-closed: false until publication is `published`, the lease is valid, and every gate above passes. An empty binding list can still serve, as it did before; a non-empty list with nobody admitted does not.
+
+IPv6 is always blocked. A null capacity blocks forwarding. `test_exempt_v4` is applied only when `test_mode` is true; a non-empty exempt list with `test_mode` false is a startup error. `host_reserve_bps` is required. Missing or zero is a configuration error: the process prints the setting name and exits 64 before it opens a store, touches nftables, or dials the control plane (D-034). The production value is 待實測 and must be set by the operator. There is no built-in stand-in.
+
+## Observations
+
+Heartbeats default to 10 seconds. Observation reports default to 30 seconds (§16.5). Reports carry the applied generation, the baseline and serving checks, `safety_status`, `data_health`, the running release, and failure reasons. `data_health` is the probe result: `unknown` only before the first run, then `healthy`, `degraded`, or `failed`. `netbird.peer_id` stays null. NetBird `status --json` has no management peer id, and the agent does not invent one from the public key. Reports are queued in the local outbox and resent until the center accepts them. HTTP 202 means accepted, not verified. 409 and 422 are conflicts and are not retried. 429 and 5xx stay pending.
+
+The agent emits two stable structured log records in its existing slog format
+(text in the CLI; fields are also available to JSON handlers):
+
+| `msg` | When | Fields |
+| --- | --- | --- |
+| `observation enqueued` | Once after a report is durably queued | `report_id`, `observed_at` (UTC RFC 3339 with fractional seconds when present), `due_reason` |
+| `observation submission` | Once when each individual submission call finishes | `report_ids`, matching `attempt_numbers`, `attempt_scope`, `process_id`, `boot_id`, `started_at`, `duration_ms`, `outcome`, `accepted_report_ids`, `http_status`, `error_code`, `transport_error_class`, `next_retry_at`, `retry_after_ms` |
+
+`due_reason` is `closed_recovery_binding`, `first_report`, `serving_changed`,
+`state_changed`, or `interval_elapsed`, in that precedence. `first_report` means
+the first queued state in this process. `state_changed` also covers an explicit
+scheduler reset after an enforcement transition. A recovery reason means that
+this new report satisfies the existing binding rules; it does not mean that
+Central accepted it or that forwarding opened.
+
+Each submission currently sends one report, so the ID and attempt arrays each
+have one element. Attempt numbers start at 1 **per report per process**, increment
+once for each submission call, and reset on process restart. Correlate them with
+`boot_id` and `process_id`; correlate queueing and Central acceptance by report
+ID across restarts. `attempt_scope=process` makes that scope explicit. The outbox's
+existing durable uncertainty counter is not a submission count (a retryable
+failure writes it twice) and is unchanged. At each flush, the in-memory diagnostic counts are pruned
+against pending IDs.
+
+`started_at` and non-null `next_retry_at` are UTC RFC 3339 timestamps. Duration
+uses elapsed monotonic time and is truncated to milliseconds. `next_retry_at`
+is the wall-clock projection of the existing monotonic backoff deadline at the
+end of the call, not a promise that transport will run at exactly that time.
+It is `null` in JSON or `` in CLI text when this response schedules no retry.
+`retry_after_ms` is the parsed Retry-After duration in milliseconds (0 when absent); existing jitter/backoff
+and Retry-After precedence are unchanged.
+
+`outcome` is `accepted`, `rejected` for an HTTP failure, `transport_error`, or
+`timeout`. A decoded 202 with `accepted=false` is logged as `unconfirmed_response`;
+the existing response handling is unchanged. `accepted_report_ids` contains the
+ID the response actually accepted. `http_status` is 202 for a decoded acceptance
+response, the rejection status for a status error, or 0 when unavailable.
+`error_code` is Central's recognized API error code, an empty string if absent,
+or `unknown` for an unrecognized value. Transport classes are finite tokens:
+`deadline_exceeded`, `network_timeout`, `canceled`, `connection_refused`,
+`connection_reset`, `connection_closed`, `dns`, `network`, or `other`.
+
+These receipts contain no report body, URL, response error message, credential,
+token or key. A deduplicated enqueue, idle Step, or waiting retry slot emits
+neither record. A process killed during a submission may have no completion
+record; the durable outbox retains its existing uncertainty/retry semantics.
+An enqueue receipt distinguishes scheduling from transport. Compare its observed
+time with the submission start, outcome and next retry time to explain a late
+observation. An accepted submission is still not proof of applied verification.
+
+Each report calls `updatejournal.Snapshot` on `updater_journal` at report time. The call is read-only, does not create or migrate the database, and stops at the caller's deadline or one second. The `update` object is always present. Its members are `generation`, `job_id`, `stage`, and `state`. A null `generation` means no update state: the file is missing, the schema cannot be read, the snapshot missed its deadline, or the database has no job. That is not generation 0, and the next report does not reuse the previous snapshot. A recorded job fills those members from that snapshot. `locally_succeeded` is stage `report` and state `succeeded`. A destructive rollback is stage `report` and state `rolled_back`, and the restored release is the top-level `current_release_id`. Journal stage `recovery_required` is reported as stage `rollback` and state `failed`, which is the API vocabulary the snapshot already uses; `recovery_required` is not an observation state. `current_release_id` and `last_good_release_id` stay top-level fields. `current_release_id` defaults to the running binary's configured release, including when the journal pointer is empty or invalid. A journal pointer overrides it only when the job ID is a valid nonzero UUID and the transaction reached `locally_succeeded` or `rolled_back`. Claimed, in-progress, and recovery-required jobs cannot override it. With a recorded generation, `last_good_release_id` still comes from the journal pointer (null if invalid); otherwise it is the configured release only after a generation has been applied. A snapshot error is logged once each time its reason class changes (`missing`, `deadline`, `canceled`, `unsupported_schema`, `not_a_file`, `unreadable`). The line does not include the path or the journal contents. The observation is still queued.
+
+The `usage` object is live outbox status, read from the open usage store when the report is built (§10.5, §10.6, §10.8). The read is bounded to about 2 seconds. Before the store is open, and when the read fails, the report keeps the zero shape: null `ledger_epoch`, `meter_epoch_id`, `blocked_seq` and `oldest_unacked_at`, and `"0"` or 0 for the other fields. A read that reaches the time limit sends the last successful status from this process. Neither outcome adds an `errors[]` entry, and neither changes `safety_status`, `provisioning_state`, or member forwarding. The agent logs `usage status unavailable: ` or `usage status available` once when that state changes.
+
+- `ledger_epoch` is the central ledger epoch adopted from a verified checkpoint, or null when none has been accepted.
+- `meter_epoch_id` is the open meter epoch, or null when none is open.
+- `last_durable_event_seq` is the highest durable event sequence, `"0"` when no event exists.
+- `central_acked_through` is the contiguous ACK watermark, `"0"` when none has been acknowledged.
+- `blocked_seq` is the lowest sequence that cannot be acknowledged, or null when nothing is blocked.
+- `unacked_event_count` is the number of events still in the outbox.
+- `unacked_payload_bytes` is the sum of the canonical payload bytes of those unacknowledged events.
+- `oldest_unacked_at` is the time the oldest outbox row was stored, or null when the outbox is empty.
+- `acked_archive_bytes` is the sum of archived payload bytes still retained for replay.
+
+Central stores the whole report, including `usage`, in `node_observations.report_payload`. The same acceptance updates the `nodes` row's control status, last-seen and last-observed times, applied generation, provisioning state, data health, safety status, observed member forwarding, current and last-good release ids, latest checks, and recent errors. The usage fields remain inside that observation payload.
+
+## Data-path probe (§5, §13.9)
+
+Each step computes a preliminary `Decide` before probing, then recomputes it with the probe result. Losing a serving gate first withdraws members to the baseline. The probe does not change `publication_intent`, does not install a member allow, and does not open member traffic. A control-plane HTTP failure is not this probe. `control_url` is not a probe target.
+
+Unpublished, the probe reads NetBird overlay reachability: `netbird status --json` (argv, no shell, 2 second limit). Management connected, and either at least one relay available or `relays.total` of 0, is a success (`tunnel_probe` `passed`, `data_health` `healthy`). Management connected with relays configured but none available is `degraded` and the check still `passed`. A status that cannot be read, or management disconnected, is `failed` for both the check and `data_health`. When `egress_probe_target` is set (`host:port`), the probe dials that TCP address only after management is connected. A miss is `degraded` and the check `failed`. A non-null signed `egress_probe` replaces that local target: the probe dials exactly those TCP endpoints, an omitted `timeout_ms` is 2000 ms, and `egress_probe_target` is ignored. Absent or null keeps the local target, or skips the leg when the local target is empty. The `tunnel_probe` check `detail` normally records the operator `ProbeSource` sentence: `Egress probe used the signed targets.`, `Egress probe used the local target.`, `Egress probe used no extra target.`, or `Signed egress probe was rejected.` The health attestation reason stays the short overlay token (`overlay_up`, `overlay_partial`, or `overlay_down`).
+
+A live matching challenge may instead carry `probe_omitted`: a dedicated synthetic peer was configured, but the issuer refused it under D-063. The observation then reports exactly `probe_omitted: ` as `tunnel_probe.detail`, taking precedence over the operator source sentence. The reason comes only from the shared reader's fixed omission vocabulary; the detail is bounded to 500 characters and never includes the peer ID or an address. The agent retains the reason and the check's `ObservedAt` after sidecar removal or consumption, until a later challenge with a probe or a later omission replaces that evidence. Ordinary overlay checks do not replace it. An omission does not count as a run synthetic probe: `ProbeRan=false` keeps the existing `not_run` status and unknown data health, without adding an error code; a missing baseline still fails the check. Overlay reachability and an observed NetBird version cannot turn the omission into a passing synthetic probe.
+
+Compatibility boundary: `healthattest.ReadChallenge` still uses `DisallowUnknownFields`; agents rebuilt with updater follow-up 11 (#168) decode `probe_omitted`, while older candidate or retained rollback binaries reject omission-bearing challenges and fail closed. Unrelated unknown members, invalid omissions, and challenges containing both `probe` and `probe_omitted` remain rejected.
+
+Once publication is `published`, the same overlay and egress legs run, and both datapath interfaces (`member_ingress` and `uplink`) must exist. Missing interfaces are `degraded` and the check `failed`, so forwarding stays off. When the health challenge names a synthetic probe (§13.9), this process installs that exception for the dedicated test peer in the challenge and removes it when the probe returns. `node/enforce` still owns the rules. The lab has no NetBird daemon. It sets `netbird_status_file` to a fixture. `test_mode` does not skip the probe. The registered profile (retries and the stable window) is still 待實測. The agent runs the probe once per step.
+
+## Health attestation (D-053)
+
+The updater writes `health-challenge.json` in `journal_dir`, the same directory as `forwarding.blocked`. On start, and again on every step while that file is present, the agent answers with `health-attest.json` when the challenge names this node, this incarnation, and this boot id, and when this process's `release_id` is the challenge's candidate release. Any other challenge is ignored. The write is `healthattest.WriteAttestation`: a temporary file, mode 0600, fsync, rename over `health-attest.json`, then a directory fsync. The answer echoes the challenge transaction, nonce, and ids. `agent_version` is this process's `agent_release`. `netbird_version` is `daemonVersion` from the NetBird status document the probe just read. It is not copied from the challenge's `components.netbird`. A missing field, a URL, a space, a control character, or a token longer than 64 bytes is reported as an empty version. `published` is the latest publication intent (`published`, `unpublished`, or `disabled`). The file does not change that intent and does not open member forwarding.
+
+The three statuses are this step's own `internet_only`, `dns_policy`, and `tunnel_probe` results, including when publication is `unpublished` or `disabled`. The probe is the data-path probe above, with `Published` false unless the intent is `published`, so member interfaces are not required and member forwarding stays closed. Reasons are short fixed strings (`baseline held`, `policy in force`, or the probe token `overlay_up`, `overlay_partial`, or `overlay_down`). An omitted synthetic probe uses the existing accepted token `probe refused`, including for `not_run`; the observation's `probe_omitted: ` detail is never copied into the attestation reason. No new attestation token is needed. Reasons do not carry DNS names, URLs, or peer lists.
+
+The agent answers only when the probe's trusted time is strictly after `issued_at` and a verified desired document is in force. A document loaded from the store counts only when its signature, node, incarnation, and validity window all succeed; the stored ETag is kept only in that case. A sync counts when the control plane returns a response and the body verifies. `If-None-Match` is omitted while no verified document is held, so an envelope that expired while the process was stopped cannot come back as `304`. A transport error with no document in hand writes nothing. A placeholder `not_run` or a DNS failure written in that gap would end the updater's wait, because a file that validates is accepted immediately. The updater keeps polling until its deadline, and that deadline is the fail-closed bound. A verified document that later fails a check, including one that has left its validity window, is written as that result. `generated_at` uses the same signed-time anchor as probe installation; without trusted time neither installation nor an answer is allowed and the decision reports `clock_untrusted`. It and must fall strictly inside `(issued_at, expires_at)`. An expired challenge, a challenge that is not yet valid, or a consumed challenge is not answered. The same nonce and the same results are not rewritten. A new nonce, a changed result, or a missing file is a new rename, including after a process restart, so an attestation that was already on disk when the challenge appeared is replaced. A write error is logged and does not fail the step. A missing challenge does not fail the start.
+
+Timing follows the updater constants. They are code defaults, the updater config cannot change them, and they are 待實測, not a verified SLO. `HealthAttestWait` is 30s per check attempt. `HealthAttestPoll` is 250ms. `HealthChallengeTTL` is 45s, so `expires_at` is `issued_at` plus 45s. The answer has to land inside both the 45s lifetime and the 30s wait. `Run` answers on boot when a stored desired document is already in force, then runs the first step, and both of those happen before the poll sleep. After that the step interval is the minimum of `heartbeat_seconds` and `poll_seconds`. Both default to 10s, which is inside the 30s wait. The lab sets both to 1s. The 8-attempt cap and the 3-rollback cap are unchanged. The attempt that crosses the cap does not issue a candidate challenge.
+
+Failure semantics. A wrong release, boot, incarnation, or node leaves any existing answer untouched. An empty observed NetBird version is still written when the other binding fields are ready; `healthattest.Validate` then returns `netbird_version_mismatch`, which is not evidence, and the updater keeps reading until the deadline. A real `failed` status, and a `not_run` that means the check truly did not run, are written as themselves. Both end that attempt: `not_run` is `failed` for the updater. The agent does not send `not_run` while a result is still in flight. A passing attestation does not publish the node and does not install a member allow.
+
+A challenge `probe` object names the test peer, its /32 source, the destination sockets, and whether resolver DNS is included. The updater now issues it when its validated `probe_peer` configuration names a dedicated peer and team-controlled public sockets; otherwise it omits the object. D-064 is amended: the §13.9 exception is installed only while the node update lock is held by another process (`nodelock.TryAcquire` on `lock_path` returns busy) and a live challenge names this process and is `Same` as the challenge being answered. With a free lock, no update is in progress: no exception is installed, and the challenge is answered from the node's normal state. Lock errors other than contention do not authorize installation. Installation and the answer both use `trustedNow()`, require `issued_at < now < expires_at`, and refuse a missing anchor or clock anomaly. Installation additionally requires at least one second remaining and an issuance window no longer than `ProbeMaxSeconds` (300). `updatejournal.Snapshot` currently has no active transaction ID; when that API exposes one, the challenge `TxnID` must match it as well.
+
+The agent durably records the issuance nonce, canonical JSON challenge digest (no destination list), original boot-relative monotonic deadline and completion before an exception can be reopened by a restart. A surviving incomplete issuance can only be re-capped to the smaller of its original remaining deadline and `expires_at − trustedNow`; an issuance already cleared cannot be reinstalled. Later steps in the same process never reinstall it, even if writing the answer fails. `TimeoutCeilSeconds` is the remaining whole seconds at installation. Removal runs immediately when the probe returns, before the attestation; kernel elements expire by the original `ExpiresAt` if the process stalls or crashes.
+
+A probe has at most `ProbeMaxDestinations` (4) destinations, none of which may overlap a member `AllowedV4`. `ProbeException.TimeoutCeilSeconds`, capped by the remaining kernel timeout already in `State`, stops a re-render from extending `@probe_v4` or `@probe_dst_v4` past the original `ExpiresAt` and past `ProbeMaxSeconds` (300).
+
+Under a held update lock, both installation and removal use `ApplyBaselineModel`: the exception model has no member bindings, and removal re-applies the bare baseline. A previously serving node withdraws member forwarding before installation. The serving apply in `enforce()` still takes the update lock and reports `UPDATE_BUSY` as before. Cleanup failure sets `baselineOK` and serving false and marks the probe `probe_clear_failed`. Checks are recomputed after enforcement changes baseline, meter or apply health and before attestation; a missing baseline fails both `internet_only` and `tunnel_probe`.
+
+A member peer, a source that is not a /32, and any source or destination colliding with a current member binding or node address are refused, including node admin ports. Overlay source ranges (private or CGNAT) are expected and are not destination-filtered. Destination sockets are checked against `enforce.SpecDeniedV4()` and must be exact /32 TCP or UDP sockets. If `resolver_dns` is set, the model includes the resolvers from the desired document; DNS rule ordering belongs to `node/enforce`. The watchdog still calls `ApplyBaseline`, which carries no probe. `probe_up` and `probe_down` stay outside member usage; member counter resets detected by the normal serving apply still open the meter epoch and record the discontinuity.
+
+The heartbeat file is line-oriented, version `v1`:
+
+```text
+v1
+boot_id
+mono_ns
+wall_unix_ns
+policy_expires_mono_ns
+baseline_ok 0|1
+serving 0|1
+generation
+reason
+```
+
+`mono_ns` is `CLOCK_MONOTONIC`, shared by the agent and the watchdog. `time.Since` is process-local and is not used for this comparison.
+
+## Watchdog (§16.3)
+
+The watchdog reads the heartbeat, the monotonic clock, and whether table `inet fvpn` exists. It applies `enforce.ApplyBaseline` when the heartbeat is missing, older than `watchdog_stale_seconds` (default 30), from another boot, or when the baseline is gone or the policy deadline has passed. A healthy reading does not render serving rules and does not restart a kernel timeout. Its own restart therefore does not restart a deadline. If both processes die, nft element timeouts still expire members. The watchdog takes the shared node lock before reading the heartbeat and kernel baseline, skips a busy lock, and re-evaluates a baseline decision immediately before writing. It samples the clock after reading the heartbeat to avoid treating a concurrently refreshed heartbeat as time travel. Presence reads are bounded. Every baseline decision, canceled decision and write logs its cause and sampled heartbeat/deadline; the agent also records baseline and heartbeat events in its TEST ONLY producer trace. It does not read `health-challenge.json` and it does not answer one. During `checking` the updater starts the candidate agent, and that process answers from boot and from its step loop. The watchdog is not required for the answer.
+
+## Usage ledger
+
+The agent opens `node/internal/usagestore`, `node/internal/meter` and `node/internal/usageupload` after it knows the node id. The database is `state_dir/usage.db`. The uploader uses the control client's usage class, so it has the same client certificate and the same TLS settings (TLS 1.2 minimum). Its concurrency budget stays separate from the lease budget (§14.6, §14.7). No second TLS stack is constructed.
+
+2026-10-31 — D-118 is active: after verified same-node re-enrollment, `Engine.ensureUsage` retains the previous incarnation's surviving ledger and uploads its unacknowledged stream first using the current certificate. Original events and hashes are preserved; ACKs belong to the original stream, and the new incarnation starts at sequence 1. Retained recovery gaps are reported with that hand-off, never re-fetched, with idempotent retries until ACK; ranges with no pending event remain local under revision 14. See [the activation evidence and retained-gap semantics](usage-upload.md#re-enrollment-hand-off-d-105). The meter remains pinned to 10 seconds; raise central `sampling_interval_bound_seconds` first before increasing the meter interval. Real ENR-05 reinstall and arm64 evidence remain with usage AT follow-up 5 and enrollment follow-up 8.
+
+Sampling starts only after a successful serving Apply or fully verified restart adoption. `meter.New` may reconcile an open epoch when the ledger is opened; the 10 second sample loop waits for one of those serving paths. Counters are `u_` and `d_` on table `inet fvpn`. DNS counters are not usage.
+
+`Barrier.Health` is the meter's health. Reason `meter_path_invalid` (and a `netbird_backend` other than `kernel`) is `METER_PATH_INVALID`. A full usage outbox (`outbox_age`, `outbox_bytes`, `archive_bytes`) blocks forwarding as `outbox_full`, the same reason as the observation outbox cap of 32, which remains its own gate. `persist_failed` stops forwarding as `meter_storage_failed` and is reported as `STORE_UNAVAILABLE` with message `persist_failed`. `disk_space` stops forwarding as `disk_low` and is reported as `DISK_SPACE_LOW` with message `disk_space`. The disk floor (`MinFreeBytes`) is still 待實測 and stays 0 until an operator sets it inside the store options; this configuration file does not carry it.
+
+Stop and hand-off (§13.6 step 8) are `Barrier`, then the fail-closed baseline, then `FinalSample`. That sequence runs when forwarding is withdrawn (a failed gate, a failed apply, a revoked identity or an updater barrier). An ordinary process stop may instead verify the still-valid serving state under the node lock, checkpoint its last usage delta and retain the open meter epoch. Kernel counters then account for traffic across the process gap, and a qualifying successor resumes that epoch. Failure to qualify takes the full withdrawal sequence. A successful apply after that calls `ResumeSampling` (step 11). A clean close reason `final_sample` makes the next epoch `after_final_sample`, which checkpoints the counters as they are and does not recount them. `ErrNoEpoch` and a short wall-clock hold are not warnings.
+
+After every serving apply, and on every sample, the agent holds the current nft `State` and calls `enforce.DetectMeterResets`. The meter package itself only compares counter values (`DetectResets`). A table, forward chain, or generation marker cleared outside the agent is reported as `METER_EPOCH_CHANGE` (report-only, not an HTTP status) when a usage counter was live. The agent then opens one epoch through the meter's existing sample switch, records a `counter_discontinuity` gap, and the serving apply installs the ruleset again. A counter that is zero in both snapshots is idle and does not open an epoch. The agent's own baseline, including the final sample, is not an external reset. A value drop the meter can already see is still `METER_EPOCH_CHANGE`, once per incident, and is not nudged a second time.
+
+Current-incarnation ledger-epoch restore is `usageupload.Restore`: `GET /api/v1/agent/usage-checkpoint`, then `ApplyCheckpoint`, which verifies the `recovery` signature with the node trust store. The agent calls it at startup and whenever `NeedsRestore` is set. A lower watermark is accepted only for a verified new epoch. The agent does not check the signature itself. A failed restore does not by itself block forwarding. Upload continues while member forwarding is stopped.
+
+## Interfaces for the updater
+
+Updater:
+
+- Lock: `node/internal/nodelock`, default `/var/lib/vpn-node/update.lock`. `Acquire` returns `ErrBusy` and does not wait forever.
+- Latch: `forwarding.blocked` in the journal directory. `agent.ForwardingBlocked(journalDir)` is true while the file exists.
+- Recover: the agent runs `updater_recover recover -config updater_config` once at boot (empty command skips it). Exit 0 clears the block. Exit 2, or any other failure, keeps members blocked. The agent does not import the updater package.
+- Desired state: read the verified envelope at `desired_state_path` (default `/var/lib/vpn-node/state/desired-state.json`). The agent is the only writer, and only after verification.
+- Health: the candidate agent writes `health-attest.json` for a live `health-challenge.json` in the journal directory (D-053). See Health attestation above. The file does not open the updater's gate. Stock updater checks still do not observe isolation or the tunnel on their own.
+
+## Configuration
+
+| Field | Required | Meaning |
+|---|---|---|
+| `control_url`, `server_ca_file`, `trust_bundle` | yes | Control origin, pinned CA, node trust bundle |
+| `agent_release` | yes | Pinned version. `latest` is rejected |
+| `datapath` | yes | `member_ingress` and `uplink` match `^fv[a-z0-9_-]{1,13}$` and differ. `snat` is IPv4 |
+| `host_reserve_bps` | yes | Host rate reserve in bit/s. Missing or zero exits 64. Production value is 待實測 and is set by the operator |
+| `netbird_backend` | yes for forwarding | `kernel`, `userspace` or `unknown`. Only `kernel` may forward |
+| `netbird_status_file` | no | Lab seam. A NetBird `status --json` document read instead of the CLI. Empty runs `netbird status --json` |
+| `egress_probe_target` | no | `host:port` for the data-path probe when desired state has no signed `egress_probe`. Empty skips that leg |
+| `dns.resolvers[]` | no | Host-local AdGuard targets, at most 8. Each has `admin_url` (`http` or `https`, IP literal, explicit port, no user, query, or path) and `dns_addr` (`host:port` of the DNS listener). `dns.New` requires both. Loopback is allowed. A link-local or private address is allowed only when it is assigned on a host interface. Optional `id` is a short token |
+| `dns.resolver_credentials_file` | with `dns.resolvers` | Absolute path of a root-owned mode `0600` JSON file `{"username","password"}`, one pair for every resolver. Loaded at process start and again on `SIGHUP` during `run`. A wrong mode or owner refuses the check with a fixed detail and does not log the secret or the URL |
+| `state_dir`, `identity_dir`, `journal_dir`, `lock_path`, `heartbeat_path` | no | Defaults under `/var/lib/vpn-node` and `/run/vpn-node`. Usage ledger is `state_dir/usage.db`. `journal_dir` is the directory for the latch and the health files |
+| `updater_journal` | no | Updater journal database file. Default `/var/lib/vpn-node/update-journal/journal.db`. A missing file is no update state. The agent does not create it |
+| `release_id` | no | Local release UUID. Empty blocks forwarding as an unknown release |
+| `test_mode`, `test_exempt_v4` | no | Exempt prefixes apply only when `test_mode` is true |
+| `renew_lead_seconds`, `heartbeat_seconds`, `poll_seconds`, `observation_seconds`, `watchdog_stale_seconds` | no | Zero selects the defaults in §16.3 and §16.5 |
+
+## Config example
+
+```json
+{
+ "state_dir": "/var/lib/vpn-node/state",
+ "identity_dir": "/var/lib/vpn-node/identity",
+ "journal_dir": "/var/lib/vpn-node/update-journal",
+ "updater_journal": "/var/lib/vpn-node/update-journal/journal.db",
+ "lock_path": "/var/lib/vpn-node/update.lock",
+ "control_url": "https://control.example.invalid",
+ "server_ca_file": "/etc/vpn-node/ca.pem",
+ "trust_bundle": "/etc/vpn-node/trust.json",
+ "heartbeat_path": "/run/vpn-node/heartbeat",
+ "datapath": {"member_ingress": "fv-fh", "uplink": "fv-ih", "snat": "192.0.2.37"},
+ "agent_release": "0.0.0-test",
+ "release_id": "019a0000-0000-7000-8000-0000000000c1",
+ "netbird_backend": "kernel",
+ "host_reserve_bps": 1000000,
+ "updater_recover": "/opt/vpn-node/current/fvpn-updater",
+ "updater_config": "/etc/vpn-node/updater.json",
+ "dns": {
+ "resolvers": [
+ {"id": "local", "admin_url": "http://127.0.0.1:8080", "dns_addr": "127.0.0.1:53"}
+ ],
+ "resolver_credentials_file": "/etc/vpn-node/resolver-credentials.json"
+ }
+}
+```
+
+`agent_release` must be a pinned version. `latest` is rejected. Prices and fair-use thresholds are not in this file. `host_reserve_bps` is required and must be greater than zero. The number in the example is not a measured reserve. The production value is 待實測 and must be set by the operator. The only TEST ONLY value lives in the lab configuration.
+
+`dns` is optional. Leave it out and a referenced resolver document still fails closed: outcome `not_run`, `DEPENDENCY_UNAVAILABLE`, detail "Resolver policy did not run.", and no AdGuard client. When `dns` is present, both `resolvers` and `resolver_credentials_file` are required. The credential file is not inline in `agent.json`. `fvpn-agent run` reloads that file on `SIGHUP` and does not stop. A credential file must be regular mode `0600`, owned by uid/gid `0:0`, with exactly one hard link. The device and inode from `Lstat` and the opened file's `Stat` must match; a replacement or symlink is refused. The next referenced document then fails `dns_policy` with `FORBIDDEN` and the detail "Resolver credentials are not usable." A desired state that does not name a document does not fail `dns_policy` for that file. `fvpn-agent step` and `enroll` load the file once at start.
+
+Resolver apply evidence is bound to the signed reference's digest and decimal generation. The hash is compared without case and with surrounding whitespace removed; generation is compared as a decimal string, never through a floating-point number. The applied record stores the verified applier digest.
+
+| Resolver evidence | Outcome | `dns_policy` / error |
+|---|---|---|
+| Verified read-back, matching digest and generation | `applied` | `passed` |
+| Applier digest differs from the signed reference | `failed` | `failed` / `VALIDATION_FAILED` |
+| Applier generation differs from the signed reference | `failed` | `failed` / `VALIDATION_FAILED` |
+| Applier unavailable or no verified read-back | `not_run` | `failed` / `DEPENDENCY_UNAVAILABLE` |
+| Rollback did not restore every resolver | `partial` | `failed` / `ROLLBACK_FAILED` |
+| Other apply error | `failed` | `failed` / `VALIDATION_FAILED` |
+
+## Decisions
+
+- Trusted time is `CLOCK_MONOTONIC` plus the signed server time captured when the lease request is sent. `CLOCK_BOOTTIME` is not used.
+- A qualifying same-boot restart adopts verified live rules under the original stored lease without an intermediate baseline. Failed adoption closes forwarding until a qualifying lease response. The same `lease_id` does not reset `mono_sent`; after reboot, only a strictly newer `issued_at` can enable forwarding.
+- A 304 skips desired-state acceptance only. The step still renews a due lease and still enforces.
+- Capacity null and a non-kernel NetBird backend block forwarding. A non-empty `serving_release_ids` that omits this release blocks forwarding. An empty list passes.
+- Baseline safety does not require the node to be serving. An unpublished generation is acknowledged after the fail-closed baseline is installed.
+- `data_health` `unknown` means the probe has not run yet. Forwarding stays off until `tunnel_probe` is `passed`. `degraded` with a passed check does not, by itself, block forwarding.
+- Lab exempt prefixes require `test_mode`. The probe still runs when `test_mode` is true.
+- A bootstrap secret lost after HTTP 200 and before the 0600 write is unrecoverable.
+- `ISOLATION_BASELINE_MISSING` and `METER_EPOCH_CHANGE` are report-only observation codes. `HEALTH_CHECK_FAILED` is not used as their stand-in.
+- `host_reserve_bps` missing or zero exits 64 before the kernel or the network. A zero that still reaches `Decide` fails closed and is not replaced.
+- Usage caps do not reuse `METER_PATH_INVALID`. A clean hand-off does not recount admission bytes.
+- A health attestation reports the checks this process just ran. It does not open member forwarding, does not change publication intent, and is ignored when the challenge names another release, boot, incarnation, or node. The watchdog does not answer it. Nothing is written until a verified desired document is in force. A transport error before that document is not an answer. A challenge that names a §13.9 test peer installs that exception only for the probe, then removes it.
+- `dns_policy` passes only after this process has applied the named resolver document (same id and digest). A revoked skip does not call Apply again and does not report that check passed.
+- Resolver admin URLs and the DNS listen address are host-local. The credential file is root-owned mode `0600` and is loaded at start and on `SIGHUP`. The URL and the password are not written to logs, observations, or check detail.
+- Contract revision 11 adopted. A provisional lease (D-067, D-071) reports `ErrorCode` `AWAITING_MEMBER_GRANTS`.
+- SECOPS-19: observation usage block populated. The report reads the open usage store at build time; a missing store or a failed read keeps the zero shape and adds no error, and a timed-out read reuses the last good status.
+
+## 待實測
+
+- Suspend versus `CLOCK_MONOTONIC` versus nft timeout jiffies. The lab does not step the clock (`date -s` is not isolated in this container).
+- Filesystem flush order beyond `synchronous=FULL` and a directory fsync.
+- Real arm64 hardware. CI cross-compiles `GOARCH=arm64` only.
+- The registered probe timeout, retry count, and stable window are still 待實測. The agent runs the probe once per step with a 2 second limit. A health challenge that names a §13.9 test peer installs that exception only for the check.
+- The production host rate reserve (`host_reserve_bps`). It is 待實測 and must be set by the operator. The agent no longer substitutes a stand-in.
+
+### Follow-up 23 timing evidence (2026-10-31)
+
+The engine now wakes at its retained monotonic policy deadline and checks expiry both before and after a live serving read. A read that straddles expiry cannot refresh a serving heartbeat. A failed lease renewal before that deadline retains the valid lease; failure at or after expiry cannot reopen forwarding.
+
+ISO-F6-03 remains open: both `node/agent/decide.go` and `node/enforce/deadline.go` floor remaining member allowances to whole seconds. A 1.9-second allowance renders a one-second kernel element; the agent omits a binding with 0.9 seconds remaining. Rounding up would weaken the independent kernel bound and is not a fix. The enforcement owner must supply a precise elapsed-time expiry contract, accounting for render/install latency, before the agent can remove its whole-second cap. `TestISOF603_WholeSecondRendererLimit` and the foreground live lab explicitly reproduce this gap; a passing diagnostic test is not an AT13 continuity pass.
+
+The live lab also exercises D-100 by replacing a member-link IPv6 address out of band, observing two same-generation non-serving holds, then publishing generation 3 and verifying recapture and serving. Its expiry diagnostic sends a member UDP frame every 100 ms, recording ingress, egress, and the deadline with one `CLOCK_MONOTONIC` clock. It reports the last positive and first dropped send. These are mechanism measurements; the assembled-stack ISO-F6-03 acceptance result still belongs to isolation follow-up 7.
+
+`TestD088_RealHTTPWireFreezeConsumer` uses `nodestest` dependencies, real enrollment and clone-conflict transactions, the production `httpwire` handlers, and mutually authenticated TLS. It proves that the real live acceptance flag drives withdrawal, durable latching, a non-serving heartbeat before immediate renewal without a generation ACK, and a corrected observation. Report-ID and idempotency-key replays retain the flag; a replacement incarnation does not inherit it.
diff --git a/tests/handover/testdata/history/follow-up-55/prior-docs_nodes_README.md.txt b/tests/handover/testdata/history/follow-up-55/prior-docs_nodes_README.md.txt
new file mode 100644
index 000000000..bf319ca38
--- /dev/null
+++ b/tests/handover/testdata/history/follow-up-55/prior-docs_nodes_README.md.txt
@@ -0,0 +1,554 @@
+# Node Registry, Desired State, Serving Leases, and Exits
+
+This document describes the central node management subsystem implemented in:
+
+- `internal/nodes` — Node aggregate views (`ListNodes`, `GetNode`, `ListMemberExits`), state transition tables (`CanTransitionLifecycle`, `CanTransitionProvisioning`, `CheckPublishable`), versioned updates (`UpdateNode`), revocation (`RevokeNode`), tombstoned retirement (`RetireNode`), observation ingestion (`SubmitObservation`), and staleness sweeps (`SweepStaleNodes`). The worker's `nodeJobs` registers the sweep (`NodeJobs` is its injectable wrapper), and `RunNodeSchedule` seeds and maintains its scheduled work.
+- `internal/desiredstate` — Per-node desired-state compiler (`Compile`, `CompileTx`, `ReSign`, `GetDesiredState`, `RecompileBatch`), member rate policy delegation (`fup.BuildNodeMemberRatePolicy`), and outbox burst coalescing.
+- `internal/exits` — Exit publication commands (`SetPublication`, `SetPublicationTx`), multi-step operation execution (`ExecuteOperation`), NetBird adapter integration with `external_bindings` idempotency, and NetBird read-back reconciliation (`ReconcileNetBird`).
+- `internal/leases` — Serving lease calculation (`ComputeMemberLeaseEnd`, `Renew`), Ed25519 envelope signing (`lease` purpose), and replay-safe persistence (`serving_leases`, `serving_lease_members`).
+- `internal/nodes/httpwire` — Admin fleet configuration (`GET`/`PUT /api/v1/admin/fleet-config`, D-065) and the HTTP adapters described in [WIRING.md](WIRING.md).
+
+### Admin fleet configuration (D-065, §14.5, §16.3)
+
+`GET /api/v1/admin/fleet-config` returns `max_offline_lease_seconds`, the read-only
+`default_max_offline_lease_seconds` (86400), `resource_version`, `updated_at`, and
+the strong ETag `""`. `PUT` accepts the new maximum and a required
+`reason`, using that ETag in `If-Match` and a UUID `Idempotency-Key`; it returns 200
+after the local write and one `fleet_config.update` audit event commit together.
+The event is visible through `GET /api/v1/admin/audit-events`, with before/after
+maximums, the admin actor and reason, and null `operation_id`. Same-key replay
+returns the original response and ETag, even after subsequent writes.
+
+The value applies only to leases issued or renewed after the write. Already
+issued leases and their replays keep their original value, expiry and signature.
+60 seconds is a lab floor; 86400 seconds is the §16.3 ceiling. The portal must
+warn below 900 seconds. Operators and harnesses use this API rather than writing
+`fleet_config` directly. The command increments `resource_version` under the
+singleton row lock shared with release updates, and never changes the fleet's
+release generation or support policy. Missing `If-Match` returns 428; a stale
+ETag returns 412 with `current_resource_version`; a reused key with different
+content returns 409; the shared request validator rejects values outside
+60..86400 with 422.
+
+---
+
+## 1. Node State Model (§5.1, §15.3, §18.1)
+
+Every node maintains strictly separate **desired** and **observed** fields. A `202 Accepted` command or observation receipt never claims an external or node-side effect has completed until read-back evidence is recorded.
+
+| Dimension | Values | Storage / Authority | Notes |
+|---|---|---|---|
+| `lifecycle_state` | `enrolling`, `registered`, `revoked`, `retired` | `nodes.lifecycle_state` | `retired` is a terminal tombstone (`DELETE` on `nodes` is forbidden by DB trigger). |
+| `provisioning_state` | `pending`, `applying`, `ready`, `failed` | `nodes.provisioning_state` | Local node configuration readiness. |
+| `publication_intent` | `unpublished`, `published`, `disabled` | `exits.publication_intent` | Authoritative copy lives **only** on `exits` (§15.3) and is joined into node views. |
+| `publication_observed` | `absent`, `applying`, `active`, `withdrawn`, `error` | `exits.publication_observed` | Updated only after NetBird read-back and node observation evidence. |
+| `control_status` | `online`, `stale`, `offline` | `nodes.control_status` | Derived from central `last_seen_at` (accepted receipt time), not node `observed_at` or the local watchdog. The worker uses stale age `min(90s, online_seconds)` and offline age `online_seconds`; with `online_seconds = 180` these are 90s and 180s. Scheduled processing may occur later. |
+| `safety_status` | `unknown`, `passed`, `failed`, `expired` | `nodes.safety_status` | Fail-closed: requires `internet_only=passed`, `meter_path=passed`, and `netbird.backend=kernel`. |
+| `data_health` | `unknown`, `healthy`, `degraded`, `failed` | `nodes.data_health` | Data-plane probe health. |
+| `config_generation` | `desired` vs `applied` (`decstr.U64`) | `nodes.desired_config_generation`, `nodes.applied_config_generation` | Monotonic per `(node_id, incarnation_id)`. |
+| `releases` | `desired_release_id`, `current_release_id`, `last_good_release_id` | `nodes.*_release_id` | Desired release is separate from observed running release. |
+
+### Allowed Lifecycle Transitions (`internal/nodes/transitions.go`)
+
+- `enrolling -> registered | revoked | retired`
+- `registered -> revoked | retired`
+- `revoked -> registered | retired`
+- `retired -> (none, terminal tombstone)`
+
+### Composite Serving Condition (`ServingReadiness.IsServing`, §5.1)
+
+A node is eligible to serve member traffic if and only if all of the following hold simultaneously:
+
+1. `lifecycle_state == registered`
+2. `provisioning_state == ready`
+3. `publication_intent == published`
+4. `control_status == online`
+5. `safety_status == passed`
+6. `data_health in (healthy, degraded)`
+7. `applied_config_generation >= desired_config_generation` (and `> 0`)
+8. `current_release_id` is in the active `serving_release_ids` set (not revoked and meeting `minimum_serving_version`).
+
+Health recovery, heartbeat recovery, or software updates **never** automatically flip `publication_intent = disabled` back to `published` (`EXIT03`, §5.1).
+
+---
+
+## 2. Publish and Unpublish Sequence Diagrams (§5.2, AT08, AT13)
+
+### 2.0 Publication Transaction Seam (`exits.Service.SetPublicationTx`)
+
+All three publication intents (`published`, `unpublished`, `disabled`) share a single transactional implementation:
+
+```go
+func (s *Service) SetPublicationTx(ctx context.Context, tx pgx.Tx, p SetPublicationParams) (api.Operation, string, error)
+```
+
+- **Wrapper vs. Caller Transaction**: `exits.Service.SetPublication` opens a transaction (`db.InTx`), handles idempotency lookup/save when `IdempotencyKey` is non-empty, and delegates to `SetPublicationTx`. HTTP command handlers (`PUT /api/v1/admin/nodes/{node_id}/publication`) that manage their own transaction and idempotency record call `SetPublicationTx` directly so the idempotency row, `nodes`/`exits` state mutation, `operations` row, `outbox_events` row, and `audit_events` row commit atomically.
+- **Lock Order and Concurrency**: Inside `SetPublicationTx`, rows are locked in strict `nodes -> exits` order (`SELECT true FROM nodes n WHERE n.id = $1 FOR UPDATE OF n` followed by `SELECT ... FROM nodes n JOIN exits e ON e.node_id = n.id WHERE n.id = $1 FOR UPDATE OF n, e`). `If-Match` is verified against `nodes.resource_version` under the lock (`428 PRECONDITION_REQUIRED` when missing, `412 RESOURCE_VERSION_CONFLICT` on mismatch).
+- **Single-Pass Mutation**: For `published`, `nodes.CheckPublishable` requires lifecycle `registered` and provisioning `ready`, rejects safety `failed`/`expired` and data health `failed`, and checks any supplied serving-release allowlist. Command acceptance does not require online status or a new-generation ACK; execution requires those through `RequireOnlineAndACKForRun`. Unknown health/safety and degraded health are not rejected by the command gate itself. See [baseline readiness versus peer binding](WIRING.md#worker-jobs-and-read-back). On an accepted intent change, `SetPublicationTx` writes `exits.publication_intent` (setting `exits.publication_observed = 'applying'` when publishing from non-`active`), bumps `nodes.resource_version` and `exits.resource_version` by `+1`, advances `nodes.desired_config_generation` by `+1` exactly once, inserts the pending `api.Operation` (`node.publish`, `node.unpublish`, or `node.disable` with steps `agent_policy`, `netbird_route_readback`, `data_path_probe`), enqueues `node.publication_changed` (`desiredstate.EventNodePublicationChanged`) in `outbox_events`, and appends an `exit:` audit event via `audit.NewEvent` + `audit.AppendEvent`.
+
+### 2.1 Publish (`PUT /admin/nodes/{id}/publication` with `publication_intent=published`)
+
+```mermaid
+sequenceDiagram
+ autonumber
+ participant Admin
+ participant Control as fvpn-control (exits.SetPublication / SetPublicationTx)
+ participant DB as PostgreSQL
+ participant Worker as fvpn-worker (exits.ExecuteOperation)
+ participant Agent as fvpn-agent
+ participant NB as NetBird Adapter
+
+ Admin->>Control: PUT /admin/nodes/{id}/publication (If-Match, Idempotency-Key, intent=published)
+ Control->>DB: Tx (SetPublicationTx): FOR UPDATE OF n then n, e; verify If-Match & CheckPublishable; bump nodes/exits resource_version & desired_config_generation (+1); set exits.publication_intent='published'; create Operation(pending: agent_policy, netbird_route_readback, data_path_probe); enqueue outbox; append audit
+ Control-->>Admin: 202 Accepted + Operation(pending) + ETag
+
+ Worker->>DB: Claim outbox & Compile new DesiredState (config_generation = G)
+ alt Branch A (D-074): Node has not ACKed generation G or data-path gate is unconfirmed while retries remain
+ Worker->>DB: Keep gated step (agent_policy or data_path_probe) pending with error_code=NODE_NOT_SERVICEABLE, message=member_forwarding_unconfirmed, reason=; keep Operation=running (error=null) and exits.publication_observed unchanged (or 'withdrawn' under r11 empty-exception)
+ Note over Worker,DB: Exhaustion at attempt == worker_attempts (default 10, ~255.5s..511s backoff window) marks the gated step and Operation failed and sets exits.publication_observed='error' (unless confirmed 'withdrawn').
+ else Branch B: Node ACKs generation G with safety_status=passed & forwarding=true
+ Agent->>Control: POST /agent/observations (applied_config_generation >= G, safety_status=passed)
+ Worker->>DB: Mark step agent_policy=succeeded (with observation evidence ref)
+ Worker->>DB: Lookup external_bindings(resource_type='exit', resource_id=exit_id)
+ Worker->>NB: PublishExit(ExistingRef from external_bindings)
+ alt NetBird API error or read-back mismatch
+ Worker->>DB: Record external_bindings(sync_state='error'), mark step netbird_route_readback=failed, Operation=failed, exits.publication_observed='error'
+ Note over Worker,NB: Retry reuses external_bindings.external_id — never creates a duplicate route!
+ else NetBird PublishExit + ReadExitState succeed
+ NB-->>Worker: ObservedExitState(Exists=true, Enabled=true, GroupIDs match)
+ Worker->>DB: Upsert external_bindings(sync_state='synced'), mark netbird_route_readback=succeeded, data_path_probe=succeeded, Operation=succeeded, exits.publication_observed='active'
+ end
+ end
+```
+
+### 2.2 Unpublish / Disable (`publication_intent=unpublished | disabled`, §5.2 step 4, AT13)
+
+Unpublish and disable withdraw member forwarding on the node first (via a new desired-state generation), then withdraw the NetBird route. If the node is offline or unresponsive, the NetBird route and peer permissions are **still withdrawn centrally**, and the operation records `partially_succeeded` so operators see the unconfirmed node step (`§18.3`).
+
+```mermaid
+sequenceDiagram
+ autonumber
+ participant Admin
+ participant Control as fvpn-control
+ participant DB as PostgreSQL
+ participant Worker as fvpn-worker
+ participant Agent as fvpn-agent
+ participant NB as NetBird Adapter
+
+ Admin->>Control: PUT /admin/nodes/{id}/publication (intent=unpublished | disabled)
+ Control->>DB: Tx: set exits.publication_intent, create Operation(pending), enqueue outbox, append audit
+ Control-->>Admin: 202 Accepted + Operation(pending)
+
+ Worker->>DB: Compile DesiredState (config_generation = G, publication_intent=unpublished/disabled)
+ alt Node is online and confirms member_forwarding_enabled=false at generation >= G
+ Worker->>DB: Mark step agent_policy=succeeded
+ Worker->>NB: WithdrawExit + ReadExitState (confirm Enabled=false)
+ Worker->>DB: Mark netbird_route_readback=succeeded, data_path_probe=not_required, Operation=succeeded, exits.publication_observed='withdrawn'
+ else Node is offline / has not confirmed withdrawal
+ Worker->>NB: WithdrawExit + ReadExitState (central withdrawal still executes!)
+ NB-->>Worker: ObservedExitState(Enabled=false)
+ Worker->>DB: Mark netbird_route_readback=succeeded, agent_policy=failed(NODE_UNREACHABLE), Operation=partially_succeeded, exits.publication_observed='withdrawn'
+ opt Node later reconnects and submits observation(applied_config_generation >= G, member_forwarding_enabled=false)
+ Agent->>Control: POST /agent/observations
+ Control->>DB: Advance agent_policy=succeeded and Operation=succeeded
+ end
+ end
+```
+
+---
+
+## 3. Desired-State Format and Compiler Rules (§11.2, §14.7)
+
+- **Signing**: Canonicalized with RFC 8785 (`pkg/canonjson`) and signed with Ed25519 using purpose `desired-state` (`pkg/envelope`). The signed payload embeds the full policy content (`device_bindings`, `member_rate_policies`, `dns`, `node_capacity`, `policy_refs`), never just a URL (§14.7).
+- **Effective Rate Math (§11.2 step 3)**:
+ $$\text{effective\_rate} = \min(\text{plan\_rate}, \text{fair\_use\_tier\_rate}, \text{node\_member\_rate\_cap})$$
+- **Immediate Revocation & Suspension Clamping**:
+ - Revoked devices (`status <> 'authorized'` or `revoked_at IS NOT NULL`) are omitted immediately from `device_bindings`.
+ - Suspended members (`admin_suspended = true`) have `valid_until` clamped to `<= issued_at` so the node cuts off forwarding immediately.
+ - Only members entitled to at least one group in the exit's `member_group_ids` are included when `publication_intent == published`. When `publication_intent` is `unpublished` or `disabled`, `device_bindings` and `member_rate_policies` are empty `[]`.
+- **ETag and `ReSign` (§14.7)**:
+ - ETag is `"ds--"`.
+ - Calling `ReSign` refreshes `issued_at`, `expires_at`, and `signatures` without changing `config_generation`, producing a new ETag so `GET /agent/desired-state` serves the refreshed envelope instead of `304 Not Modified`.
+- **Outbox Coalescing (`RecompileBatch`)**:
+ - Bursts of `member.entitlement_changed`, `device.authorized`, `device.revoked`, `member.suspended`, `policy.activated`, `node.publication_changed`, `release.target_changed`, and `node.updated` events in a worker batch are deduplicated by affected `node_id` so each affected node compiles at most once per batch.
+
+### Full `DesiredStateEnvelope` Example (§14.7)
+
+```json
+{
+ "signed": {
+ "schema_version": 1,
+ "node_id": "01900000-0000-7000-8000-000000000101",
+ "node_incarnation_id": "01900000-0000-7000-8000-000000000201",
+ "config_generation": "4",
+ "binding_revision": "12",
+ "issued_at": "2026-10-29T14:00:00Z",
+ "expires_at": "2026-10-30T14:00:00Z",
+ "publication_intent": "published",
+ "desired_release_id": "01900000-0000-7000-8000-000000000301",
+ "supported_release_policy_id": "01900000-0000-7000-8000-000000000302",
+ "serving_release_ids": [
+ "01900000-0000-7000-8000-000000000301"
+ ],
+ "policy_refs": {
+ "authorization_generation": "7",
+ "dns_generation": "5",
+ "fup_generation": "3"
+ },
+ "safety_profile": "internet-only-v1",
+ "lease_renewal_endpoint": "/api/v1/agent/lease-renewals",
+ "dns": {
+ "resolver_ipv4": ["100.64.0.53"],
+ "resolver_ipv6": ["2001:db8::53"]
+ },
+ "node_capacity": {
+ "down_bps": 1000000000,
+ "up_bps": 1000000000,
+ "member_down_bps_cap": 40000000,
+ "member_up_bps_cap": 20000000
+ },
+ "accounting_period": {
+ "period_id": "2026-10",
+ "period_start": "2026-10-01T00:00:00Z",
+ "period_end": "2026-11-01T00:00:00Z"
+ },
+ "device_bindings": [
+ {
+ "member_id": "01900000-0000-7000-8000-000000000401",
+ "device_id": "01900000-0000-7000-8000-000000000501",
+ "peer_id": "nb-peer-dev1",
+ "allowed_ipv4": ["100.64.0.10/32"],
+ "allowed_ipv6": [],
+ "binding_revision": "12",
+ "valid_from": "2026-10-29T13:00:00Z",
+ "valid_until": "2026-11-05T14:00:00Z"
+ }
+ ],
+ "member_rate_policies": [
+ {
+ "member_id": "01900000-0000-7000-8000-000000000401",
+ "generation": "3",
+ "period_id": "2026-10",
+ "mode": "enforce",
+ "reason": "fair_use_tier",
+ "tier_index": 1,
+ "down_bps": 40000000,
+ "up_bps": 20000000,
+ "priority": 2,
+ "valid_from": "2026-10-28T14:00:00Z",
+ "valid_until": "2026-11-05T14:00:00Z"
+ }
+ ],
+ "update": null
+ },
+ "signatures": [
+ {
+ "key_id": "ds-key-2026-10",
+ "algorithm": "ed25519",
+ "signature_b64": "TEST_ONLY_BASE64_SIGNATURE_64_BYTES_PADDED=="
+ }
+ ]
+}
+```
+
+---
+
+## 4. Serving Lease Math and Worked Examples (§16.3, AT29)
+
+When a node calls `POST /agent/lease-renewals`, the lease service computes:
+
+$$\text{node\_lease\_end} = \text{signed\_server\_time} + \text{max\_offline\_lease}$$
+
+$$\text{member\_lease\_end} = \min(\text{signed\_server\_time} + \text{max\_offline\_lease},\ \text{effective\_service\_end},\ \text{node\_lease\_end})$$
+
+where the recommended default `max_offline_lease` is `86400` seconds (24 hours, configured on `fleet_config.max_offline_lease_seconds`).
+
+### Worked Example 1: `effective_service_end` is sooner than 24h
+
+- `signed_server_time` (`issued_at`): `2026-10-29T12:00:00Z`
+- `max_offline_lease`: `24h` (`86400s`) $\implies \text{node\_lease\_end} = \text{2026-10-30T12:00:00Z}$
+- Member A's `effective_service_end`: `2026-10-29T14:00:00Z` (2 hours remaining on subscription)
+- Result:
+ $$\text{member\_lease\_end} = \min(\text{2026-10-30T12:00:00Z},\ \text{2026-10-29T14:00:00Z},\ \text{2026-10-30T12:00:00Z}) = \text{2026-10-29T14:00:00Z}$$
+ The lease never extends Member A's service past `14:00:00Z`.
+
+### Worked Example 2: `effective_service_end` is later than 24h
+
+- `signed_server_time` (`issued_at`): `2026-10-29T12:00:00Z`
+- `max_offline_lease`: `24h` (`86400s`) $\implies \text{node\_lease\_end} = \text{2026-10-30T12:00:00Z}$
+- Member B's `effective_service_end`: `2026-11-08T12:00:00Z` (10 days remaining)
+- Result:
+ $$\text{member\_lease\_end} = \min(\text{2026-10-30T12:00:00Z},\ \text{2026-11-08T12:00:00Z},\ \text{2026-10-30T12:00:00Z}) = \text{2026-10-30T12:00:00Z}$$
+ If the node loses control-plane connectivity, it may continue forwarding for Member B until at most `2026-10-30T12:00:00Z`, after which it fails closed.
+
+### Lease Invariants
+
+1. **Replay idempotency**: Replaying the same `(node_id, incarnation_id, renewal_request_id)` returns the exact stored `ServingLeaseEnvelope` with the original `issued_at` and `expires_at`—never restarting the TTL (§15.3, §16.3).
+2. **Entitlement immutability**: Lease renewal reads `entitlements` under `FOR SHARE` (enforced by trigger `serving_lease_members_deadline`) and never writes to `entitlements`.
+3. **Unpublished / disabled nodes**: Receive a valid signed lease with `members: []` (zero member grants).
+
+---
+
+## 5. Observation Ingestion Rules (§5.1, §14.4, §14.5, §15.3)
+
+1. **Strict mTLS Identity Binding**: `report.node_id` and `report.node_incarnation_id` must match the authenticated mTLS certificate identity and `nodes.current_incarnation_id`. Revoked or retired nodes receive `403 IDENTITY_REVOKED`; superseded incarnations receive `403 INCARNATION_MISMATCH`.
+2. **Deduplication by `(node_id, incarnation_id, report_id)`**:
+ - The payload is canonicalized via RFC 8785 (`pkg/canonjson`) and hashed with SHA-256.
+ - Same `report_id` + identical hash $\implies$ `202 Accepted` with the original `received_at`.
+ - Same `report_id` + different hash $\implies$ `409 ACK_CONFLICT`.
+3. **Separate `received_at` and `observed_at` + Monotonicity**:
+ - Central `received_at` is stored separately from the node's `observed_at`.
+ - An out-of-order observation with `observed_at < nodes.last_observed_at` is recorded in `node_observations` and updates `last_seen_at`, but **never** overwrites newer observed state (`applied_config_generation`, `safety_status`, `data_health`, `current_release_id`) on `nodes`.
+4. **Fail-Closed Safety Evaluation**:
+ - If `netbird.backend != "kernel"` (for example `"userspace"`), or if `internet_only` or `meter_path` checks are missing or failed, `safety_status` is forced to `failed`.
+5. **Concrete Evidence Required for Operation Steps**:
+ - A `202 Accepted` observation does not by itself complete an operation step.
+ - For `node.publish` and `node.update`, step `agent_policy` advances to `succeeded` only when `applied_config_generation >= desired_generation` and `safety_status == passed`.
+ - For `node.unpublish`, `node.disable`, `node.revoke`, and `node.retire`, step `agent_policy` advances to `succeeded` only when `applied_config_generation >= desired_generation` and `member_forwarding_enabled == false`.
+
+---
+
+## 6. Desired state and lease decisions, follow-up 2
+
+1. **Null `desired_release_id` when no release target is set (§13.2, §14.7)**:
+ - `DBPolicyReader.ReadPolicySnapshot` checks `fleet_config.desired_release_id` and `nodes.desired_release_id`. When neither sets a release target, `DesiredReleaseID` remains `nil` (`"desired_release_id": null` in the signed envelope).
+ - No query inside a compile transaction ever discards a SQL error and continues; the first SQL error aborts and returns immediately.
+2. **Fair-use state (`fup_member_states`) and missing plan rates (§11.2, §11.5)**:
+ - `DBEntitlementReader.ListEntitledMembersForGroups` reads `fup_member_states` for the current accounting period alongside the referenced `policy_revisions` payload.
+ - When `fup_member_states.mode == 'shadow'`, or when the fair-use policy revision has `mode == 'shadow'` or `as_of < effective_at`, the compiled member rate policy stamps `mode = "shadow"`, `tier_index = 0`, `reason = "normal"`, and a **null tier rate** so `effective_rate = min(plan_rate, node_member_rate_cap)` (shadow `would_apply_*` rates are never enforced).
+ - When `mode == 'enforce'` and `as_of >= effective_at`, the compiler stamps `mode = "enforce"` and uses the stored `enforced_down_bps`, `enforced_up_bps`, `enforced_tier_index`, `enforced_priority`, `enforced_reason`, and `generation` from `fup_member_states` to compute `effective_rate = min(plan_rate, fair_use_tier_rate, node_member_rate_cap)`.
+ - Production paths have no default plan rate (`DefaultPlanRateBps` is removed). If a member's plan revision omits a positive `down_bps` or `up_bps`, that member is omitted from both `member_rate_policies` and `device_bindings`, recorded in `CompiledDesiredState.OmittedMembers` (`reason = "plan_missing_rate"`), and logged via `slog.WarnContext`.
+3. **DNS profile generation and resolver configuration seam for `w3-dns-publish` (§8.1, §12.2, §12.4)**:
+ - `DBPolicyReader.ReadPolicySnapshot` matches the contract policy type `dns_profile` (`api.PolicyTypeDnsProfile`) and stamps `policy_refs.dns_generation` from the active `dns_profile` revision's generation (`greatest(policy_definitions.generation, policy_revisions.revision)`).
+ - Designated resolver addresses (`dns.resolver_ipv4`, `dns.resolver_ipv6`) are deployment configuration—never read from `dns_profile` revision payloads and with no production default (`TestOnlyDefaultDNSResolverIPv4` exists solely for `FakePolicyReader` in unit tests).
+ - **Seam for `w3-dns-publish`**: `desiredstate.NewCompiler` accepts `desiredstate.WithDNSResolvers(ipv4, ipv6 []string)` supplied by central control configuration at construction. When `w3-dns-publish` introduces a published resolver document, it can either supply those addresses via `WithDNSResolvers` or populate `PolicySnapshot.DNSResolverIPv4` / `DNSResolverIPv6` in `DBPolicyReader.ReadPolicySnapshot` (which `CompileTx` preserves whenever `WithDNSResolvers` is not overriding them).
+4. **Lease signing concurrency and member grant consistency (§15.3, §16.3)**:
+ - `leases.Service.Renew` locks eligible `members` and `entitlements` rows (`FOR SHARE OF m, e` in deterministic `m.id ASC` order) and holds those locks until transaction commit.
+ - If the locked eligible member set differs after `Signer.Sign` (for example, if a member was suspended concurrently while signing), `Renew` discards the first signature, rebuilds the `ServingLease` document from the locked eligible set, and signs again.
+ - `serving_leases.member_grant_refs` always equals the final signed `Members` list, and all `serving_lease_members` rows are inserted in the same transaction; any member-row insert failure aborts the entire lease renewal.
+5. **Signed lease `config_generation` authority (§14.4, §16.3)**:
+ - `ServingLease.ConfigGeneration` and `serving_leases.policy_generation` are always stamped from `nodes.desired_config_generation`. The agent's request `applied_config_generation` is an observation input only and never overwrites the signed lease generation.
+6. **`Compiler.ReSign` lifecycle and revocation guard (§14.7)**:
+ - `Compiler.ReSign` reads `nodes.lifecycle_state`, `nodes.current_incarnation_id`, and `node_incarnations.revoked_at` under `FOR UPDATE OF n` in the same transaction and refuses `revoked` or `retired` nodes (or revoked incarnations) with `403 IDENTITY_REVOKED`.
+7. **QoS class IDs (§11.4)**:
+ - Traffic-control class IDs remain node-local per §11.4 and are not embedded in central desired-state envelopes.
+
+---
+
+## 7. Desired state and lease decisions, follow-up 3
+
+1. **D-030 Serving Readers (`internal/entitlement`, `internal/nodes`, `internal/desiredstate`, `internal/leases`)**:
+ - Member exit visibility (`nodes.Service.ListMemberExits`), desired-state member compilation (`desiredstate.DBEntitlementReader.ListEntitledMembersForGroups`), and serving lease renewal (`leases.Service.Renew` / `RenewTx`) derive member eligibility exclusively from `entitlement.ServingExitGroups` and `entitlement.ListServingMembersForGroups` (and its lock variant `entitlement.ListServingMembersForGroupsForShare`) instead of `assignments`.
+ - Exit groups are the active plan revision's `exit_group_ids` $\cup$ `members.member_group_ids` projected onto `entitlements.projection->'exit_group_ids'`; a member is serving iff `members.status = 'active'`, `NOT members.admin_suspended`, `NOT entitlements.admin_suspended`, `entitlements.state NOT IN ('pending_payment','suspended','expired','closed')`, and `entitlements.valid_from <= asOf < entitlements.effective_service_end`.
+ - `entitlement.ListServingMembersForGroupsForShare` reuses the single `servingQuery` predicate constant with `FOR SHARE OF m, e` appended, preventing any predicate drift between initial read and post-sign verification.
+2. **DNS Generation from `dns_publication_heads` (§12.4, §12.5)**:
+ - `DBPolicyReader.ReadPolicySnapshot` reads `PolicySnapshot.DNSGeneration` and `dns_profile` `PolicyRefs` from the active published head in `dns_publication_heads` (`status = 'active'`), not from `policy_definitions` or `policy_revisions`.
+ - When no active published head exists in `dns_publication_heads`, `DNSGeneration` is `0` (`"dns_generation": "0"` in the compiled desired state).
+3. **Caller-Transaction Lease Renewal (`leases.Service.RenewTx`)**:
+ - `leases.Service.RenewTx(ctx, tx, authNodeID, authIncarnationID, req)` executes the full lease renewal workflow (node `FOR UPDATE` lock, replay check, initial D-030 read, signing, `FOR SHARE OF m, e` re-read with signature rebuild if eligibility changed, `serving_leases` + `serving_lease_members` + `audit_events` persistence) inside the caller's `pgx.Tx`.
+ - `leases.Service.Renew` delegates directly to `RenewTx` wrapped in `db.InTx`.
+4. **Entitlement Grant Operation Node Enforcement ACK and Lookup (Members request 3)**:
+ - `nodes.ListMemberOperations` and `nodes.GetMemberOperation` resolve member operations across `resource_type = 'member'`, `resource_type = 'entitlement_grant'` (through `entitlement_grants.member_id`), and `resource_type = 'member_device'` (through `member_devices.member_id`).
+ - When `nodes.Service.SubmitObservation` receives a ready, safety-passing observation (`applied_config_generation >= desired_config_generation` and `safety_status == passed`), `advanceNodeOperationsOnObservation` transitions the `"nodes"` step on matching `member`, `entitlement_grant` (excluding future grants where `valid_from > now`), and `member_device` operations via `entitlement.TransitionOperation` with persisted `audit_event:` evidence.
+5. **D-029 Audit and Operation Conformance**:
+ - All audit rows written by `nodes`, `desiredstate`, `leases`, and `exits` use `resource = node:` or `exit:`, UUID actors (`actor_type` in `admin|member|node|system`), and results `succeeded|failed|denied`.
+ - Operation kinds are validated against the generated `api.OperationKind` enum.
+ - Verified via `audit.Store.List` returning all rows with `store.AnomalyCount() == 0`.
+
+---
+
+## 8. Publication transaction seam and member rate algorithm, follow-up 4
+
+1. **Caller-Transaction Publication Seam (`exits.Service.SetPublicationTx`)**:
+ - `exits.Service.SetPublicationTx(ctx, tx, p)` provides the single implementation for `published`, `unpublished`, and `disabled` publication changes inside a caller-managed transaction (`pgx.Tx`), returning `(api.Operation, newETag, error)`.
+ - `exits.Service.SetPublication` opens a transaction (`db.InTx`), checks/records idempotency when `p.IdempotencyKey != ""`, and calls `SetPublicationTx`.
+ - Row locks follow the canonical `nodes -> exits` order (`FOR UPDATE OF n`, then `FOR UPDATE OF n, e`). `If-Match` is verified under the lock, `nodes.resource_version` and `exits.resource_version` each increment by `+1`, `nodes.desired_config_generation` increments by `+1` once per accepted change, the pending operation (`node.publish` with `agent_policy`, `netbird_route_readback`, `data_path_probe`; `node.unpublish`; `node.disable`) is inserted, `node.publication_changed` is enqueued to `outbox_events`, and the `exit:` audit event is recorded via `audit.NewEvent` + `audit.AppendEvent`.
+2. **Single Member Rate Algorithm (`fup.BuildNodeMemberRatePolicy` in `desiredstate.Compiler`)**:
+ - `desiredstate.Compiler.CompileTx` delegates `api.MemberRatePolicy` construction to `fup.BuildNodeMemberRatePolicy(eval, planRate, nodeCapacityRatePair(nodeCap))` and removes the duplicate `ComputeEffectiveRateBps` function.
+ - `DBEntitlementReader.ListEntitledMembersForGroups` loads persisted `fup_member_states` (and referenced `policy_revisions`) for the current accounting period into `EntitledMember`:
+ - In `enforce` mode (`as_of >= effective_at` and tier `> 0`), `eval` carries `EnforcedTierIndex`, `EnforcedDownBps`, `EnforcedUpBps`, `EnforcedPriority`, `EnforcedReason`, and `Reason = "fair_use_tier"`, so `fup.BuildNodeMemberRatePolicy` computes $\min(\text{plan\_rate}, \text{fair\_use\_tier\_rate}, \text{node\_member\_rate\_cap})$ and emits `WouldApplyTierIndex`, `WouldApplyDownBps`, `WouldApplyUpBps`, and `WouldApplyPriority`.
+ - In `shadow` mode (or normal tier `0`), `eval` carries `EnforcedTierIndex = 0`, `Reason = "normal"`, and any shadow `WouldApply*` fields while effective `DownBps`/`UpBps` remain $\min(\text{plan\_rate}, \text{node\_member\_rate\_cap})$.
+ - `nodeCapacityRatePair(nodeCap)` combines `nodeCap.DownBps`/`UpBps` with optional `nodeCap.MemberDownBpsCap`/`MemberUpBpsCap` so both total node bandwidth and per-member node caps bound the member rate policy.
+
+---
+
+## 9. Operation Completion Under Pending Isolation Errors & Readiness/Lease Contract, Follow-up 18
+
+### 9.1 Revoke Operation Completion Under Pending `ISOLATION_POLICY_INVALID` Apply Errors (r13 M-3)
+
+1. **Problem & Invariant (§5.2, §8.1, §14.5)**:
+ - When a node applies a new policy generation that removes a member or device binding, the node installs and verifies the serving nftables/tc ruleset first and then flushes established conntrack flows (`conntrack -D`) for the revoked overlay addresses.
+ - While bounded `conntrack -D` retries are in progress on the node, the agent reports `member_forwarding_enabled = true`, `safety_status = "passed"`, `provisioning_state = "ready"`, all checks `passed`, and an apply error `ISOLATION_POLICY_INVALID` (`stage = "apply"`, `"conntrack delete pending; serving ruleset verified"`).
+ - Central **never** completes the `"nodes"` step of a revoke operation (`member.device_revoke`, `member.grant_revoke`, `member.suspend`, or `member.update` on close/suspend) while the node's latest accepted observation for the target generation carries a pending `ISOLATION_POLICY_INVALID` apply error.
+
+2. **Node State, Operation Read Model, and Audit While Pending**:
+ - `evaluateObservationEvidence` (`internal/nodes/observations.go`) degrades `nodes.data_health` from `healthy` to `degraded` whenever `ISOLATION_POLICY_INVALID` is present in `report.Errors`, and `publicationForwardingFailure` (`internal/nodes/publication_evidence.go`) returns `"isolation_unconfirmed"`.
+ - `advanceNodeOperationsOnObservation` keeps the operation's `"nodes"` step in `status = "pending"` and records:
+ - `steps.nodes.error_code = "ISOLATION_POLICY_INVALID"`
+ - `steps.nodes.error_message = "member_forwarding_unconfirmed"` (in the `operations.IsBoundedFailureCause` allowlist so both `operations.Store.Get` for admins and `nodes.GetOperation` / `nodes.GetMemberOperation` / `nodes.ListMemberOperations` surface it, while `operations.Store.Get` for members surfaces `ErrorCode = "ISOLATION_POLICY_INVALID"` with the redacted step failure prompt)
+ - `steps.nodes.reason = "conntrack_delete_pending"`
+ - `observed_refs.nodes_isolation_pending = "report::gen::error:ISOLATION_POLICY_INVALID"`
+ - `SubmitObservation` records `"isolation_error_code": "ISOLATION_POLICY_INVALID"` and `"isolation_error_reason": "conntrack_delete_pending"` on the `node.observation_applied` audit event and appends a correlated `node.revoke_isolation_pending` (`result = "failed"`, `operation_id = `) audit event on the affected resource.
+
+3. **Completion Rules (Follow-up 18 & Follow-up 20, D-070)**:
+ - `hasIsolationApplyError` (`internal/nodes/publication_evidence.go`) keys strictly on `code == "ISOLATION_POLICY_INVALID"` and `stage == "apply"`.
+ - **Pending-under-the-bound report (`agent.Decide` with `RevocationPending = true, ConntrackBlocked = false`, D-070)**: the agent reports `errors: [{"code": "ISOLATION_POLICY_INVALID", "stage": "apply", "message": "conntrack delete pending; serving ruleset verified"}]`, `member_forwarding_enabled = true`, `safety_status = "passed"`, and every check `passed`. `isPendingIsolationApplyError` matches this shape and holds the `"nodes"` step in `status = "pending"` (`error_code = "ISOLATION_POLICY_INVALID"`, `error_message = "member_forwarding_unconfirmed"`, `reason = "conntrack_delete_pending"`). The step is **never** completed while the node forwards with a pending conntrack delete.
+ - **Real fail-closed report (`agent.Decide` with `ConntrackBlocked = true`, D-070)**: after 12 consecutive `conntrack -D` failures (`"Conntrack delete exceeded the retry bound."`) or when `conntrack` is missing (`"Conntrack is not installed."`), the agent reports `member_forwarding_enabled = false`, `safety_status = "failed"`, `forwarding_block_reasons` containing `"safety_check_failed"`, check `internet_only` **`failed`** with `error_code = "ISOLATION_POLICY_INVALID"` (detail `"Conntrack delete exceeded the retry bound."` or `"Conntrack is not installed."`), and `{code: "ISOLATION_POLICY_INVALID", stage: "apply"}` still present in `errors` (which central `SubmitObservation` projects to `nodes.provisioning_state = "applying"`, `nodes.safety_status = "failed"`, `nodes.data_health = "degraded"`, `nodes.member_forwarding_observed = false`).
+ - The `"nodes"` step transitions to `succeeded` (clearing `error_code`, `error_message`, `reason`, and `nodes_isolation_pending`) and appends a correlated `node.revoke_isolation_resolved` (`result = "succeeded"`) audit event only when no other registered, online node that shares an exit group with the member's plan and has a fresh observation within `DefaultStaleTimeout` (`90s` on both `last_observed_at` and `last_seen_at`; r14 H-1) still reports a pending `{code: "ISOLATION_POLICY_INVALID", stage: "apply"}` error while forwarding, and either:
+ 1. **Next clean observation (`resolution = "conntrack_delete_succeeded"`)**: the node submits an observation for `applied_config_generation >= desired_config_generation` with `safety_status = "passed"`, `provisioning_state = "ready"`, and no `ISOLATION_POLICY_INVALID` apply error; or
+ 2. **Node fails closed (`resolution = "node_failed_closed"`, D-070)**: `isFailClosedIsolationApplyError` matches the agent's real fail-closed shape (`member_forwarding_enabled = false`, `safety_status = "failed"`, `forwarding_block_reasons` contains `"safety_check_failed"`, check `internet_only` failed with `ISOLATION_POLICY_INVALID`, and the `ISOLATION_POLICY_INVALID` apply error in `errors`). The revocation's effect holds because nothing is forwarded on the node, while the node failure is surfaced by `safety_status = "failed"` and `forwarding_block_reasons = ["safety_check_failed"]`.
+
+### 9.2 Readiness, Serving Lease Contract, and D-067 60s Provisional Expiry Backstop (Members F4-01 / AT09, Isolation Finding 1, Follow-up 20)
+
+1. **Readiness Gate and D-067 60s Expiry Backstop on `RenewTx` (`internal/leases/leases.go`)**:
+ - `RenewTx` includes member lease grants iff `lifecycle_state == "registered" && publication_intent == "published" && provisioning_state == "ready" && !mappingFrozen && len(groupIDs) > 0`.
+ - When `includeMembers` is false on a registered, published exit because `provisioning_state != "ready"` or the incarnation mapping is frozen, `RenewTx` issues the grant-less lease (`members: []`) on `config_generation == desired_config_generation` with `expires_at = issued_at + min(max_offline_seconds, 60s)` (`leases.ProvisionalGrantlessLeaseSeconds = 60`, D-067 central backstop), while keeping `max_offline_seconds` copied from `fleet_config.max_offline_lease_seconds`. A provisioning-ready but frozen registered, published node is also subject to this cap. Other grant-less leases keep their ordinary configured window.
+ - Once `SubmitObservation` accepts a ready observation (`provisioning_state = "ready"`, `safety_status = "passed"`) on that generation, an eligible later `RenewTx` can issue active member grants on the same `config_generation` when publication, an unfrozen mapping, groups and member eligibility also permit them (`TestLeases_ReadinessGateAndSameGenerationGrantRecovery`).
+ - **Post-restart readiness flip code path (AT09, AT10–AT13)**:
+ - On `fvpn-agent` restart (`node/agent/engine.go:Start`/`Boot`), in the first `(*agent.Engine).Step` (`node/agent/engine.go:572-608`):
+ 1. `(*Engine).syncDesired` (`node/agent/sync.go:23-81`) verifies the desired state envelope (`e.desiredOK = true`).
+ 2. `(*Engine).syncLease` (`node/agent/sync.go`) can call `POST /api/v1/agent/lease-renewals` when eligible. If provisioning is already ready (which can be preserved across restart and concurrent generation advances), grants still require eligible publication, unfrozen mapping, groups and members. A registered, published node that is applying or frozen gets a grant-less lease capped at 60s. `(*Engine).noteProvisionalSchedule` plans the next renewal after one heartbeat, doubling up to 60s; renewal lead can shorten the slot and Retry-After and ongoing I/O can delay the attempt.
+ 3. Still in the first `Step`, `(*Engine).evaluate` (`node/agent/engine.go:610-635`) runs `(*Engine).refreshProbe` (`e.lastProbe.Ran = true`) and `agent.Decide` (`node/agent/decide.go:110-310`), which sets `d.Applied = uint64(in.Desired.ConfigGeneration)`, `d.Provisioning = api.ProvisioningStateReady` (`provisioningOf` at `decide.go:495-506`), and `d.Safety = api.SafetyStatusPassed` (`safetyOf` at `decide.go:454-486`) as soon as baseline checks (`internet_only`, `meter_path`, `tunnel_probe`, `dns_policy`, `policy_signature`, `release_supported`, `storage`) pass—even while `d.Serve == false` with `awaiting_member_grants`.
+ 4. In the ordinary non-serving branch, `(*Engine).enforce` attempts the baseline and calls `(*Engine).ackApplied(ctx, d.Applied)` only after successful enforcement; a failed baseline is not confirmed.
+ 5. `(*Engine).observe` + `(*Engine).flush` (`node/agent/observe.go:19-44, 217-249`) immediately send the first observation (`e.lastObs.IsZero()` is true on the first step after restart) to `POST /api/v1/agent/observations`.
+ 6. Central `(*nodes.Service).SubmitObservation` (`internal/nodes/observations.go:237-295`) verifies `effectiveSafety == api.SafetyStatusPassed` and `applied_config_generation >= desired_config_generation` (`acknowledged == true`), flipping `nodes.provisioning_state = 'ready'` and `nodes.safety_status = 'passed'` **on that first accepted observation**.
+ 7. An eligible later lease renewal can return populated member grants once readiness, publication, mapping, group and member eligibility permit them; planned slots do not guarantee completion at a fixed time.
+
+2. **Preserving `provisioning_state = "ready"` Across Concurrent Generation Bumps (Bounded One-Shot Grace, r14 M-2 & D-075)**:
+ - Initial baseline readiness for a node incarnation requires `applied_config_generation >= desired_config_generation` and `safety_status = "passed"`.
+ - Once the current incarnation has achieved `nodes.provisioning_state = "ready"`, at most **one** in-flight observation for an already-applied generation (`applied_config_generation >= nodes.applied_config_generation > 0`) that still passes safety (`safety_status = "passed"`) preserves `nodes.provisioning_state = "ready"` when central concurrently advances `desired_config_generation` (`TestReadiness_PreservedAcrossConcurrentDesiredGenerationAdvance`). A **second** consecutive report that still attests an applied generation below `desired_config_generation` downgrades `nodes.provisioning_state` to `"applying"` while recording `safety_status` as reported (`TestReviewR14_RepeatedStalePassedReportKeepsReady`).
+ - **Domain column (`node_incarnations.stale_generation_grace_at`, migration `00187`, D-075)**: The one-shot grace mark is stored on `node_incarnations.stale_generation_grace_at` (set to `observed_at` in the same transaction that grants the grace, cleared to `NULL` when the incarnation applies a generation `>= desired_config_generation` or is downgraded to `"applying"`/`"failed"`, and read via `i.stale_generation_grace_at IS NULL` so control-plane decisions never read `audit_events`, while `"stale_generation_grace": true` remains on the `node.observation_applied` audit payload as informational metadata).
+ - Generation lag continues to be enforced by `applied_config_generation < desired_config_generation` in `CheckPublishable` and `PublicationDataPathFailure` (`"stale_generation"`), while avoiding artificial grant-less lease windows when the agent renews its lease for a newly compiled generation before sending that generation's observation.
+
+3. **Separation of Baseline Readiness (`provisioning_state` / `safety_status`) from Serving Checks**:
+ - Per §5.1 and §8.1, `safety_status` and `provisioning_state` reflect the isolation and policy baseline (`internet_only`, `meter_path`, `tunnel_probe`, policy/release/DNS/storage baseline), whereas active member traffic forwarding is reflected by `member_forwarding_observed` and `PublicationDataPathFailure` (`"check_failed"` / `"serving_checks_unconfirmed"`).
+ - Serving checks (`lease`, `qos`, `source_binding`) intentionally do not flip `provisioning_state` to `"applying"` or `safety_status` to `"failed"`: because `RenewTx` requires `provisioning_state == "ready"` to issue member grants, downgrading `provisioning_state` on `lease: LEASE_EXPIRED` would deadlock recovery from a grant-less lease.
+
+---
+
+## 10. Node Incarnation History, Enrollment `token_sha256`, and `awaiting_member_grants`, Follow-up 19
+
+### 10.1 `GET /api/v1/admin/nodes/{node_id}/incarnations` (`listNodeIncarnations`, ENR-03)
+
+1. **Single-Query Read Model (`internal/nodes/incarnations.go`, `internal/nodes/httpwire/handlers.go`)**:
+ - `(*Service).ListNodeIncarnations` executes a single read-only query over `nodes` joined via `LEFT JOIN LATERAL` to `node_incarnations`, `node_enrollments` (`e.incarnation_id = i.id AND e.node_id = i.node_id`), and the per-incarnation usage ledger tables from migration `00130_usage_ledger.sql` (`usage_checkpoints`, `usage_events`, `usage_samples`).
+ - Returns HTTP 404 (`RESOURCE_NOT_FOUND`) only when no `nodes` row exists for `{node_id}`; a known node with no bound incarnations returns HTTP 200 with `items: []` and `next_cursor: null`.
+ - Ordered newest first (`created_at DESC, id DESC`), cursor-paginated (`limit` default 50, max 100; cursor `<= 512` chars), protected by admin RBAC.
+
+2. **Identity, Lifecycle State, and `retire_reason` Derivation**:
+ - `bound_public_key_sha256`: lowercase 64-character hex encoding of `node_incarnations.public_key_fingerprint`.
+ - `bound_at`: `coalesce(node_enrollments.consumed_at, node_incarnations.created_at)`.
+ - `current`: `nodes.current_incarnation_id = node_incarnations.id`.
+ - `state`: `"active"` when `node_incarnations.revoked_at IS NULL`, else `"retired"`.
+ - `retired_at`: `node_incarnations.revoked_at` (`null` while active).
+ - `retire_reason`: `null` while active; when retired (`revoked_at IS NOT NULL`):
+ - `"reinstall"` if a later `node_incarnations` row exists for the same `node_id`;
+ - else `"revocation"` if `nodes.lifecycle_state` is `'revoked'` or `'retired'`;
+ - else `"supersession"`.
+
+3. **Per-Incarnation Retained Usage (`NodeIncarnationUsage`)**:
+ - Reads only `usage_checkpoints` (`node_id`, `incarnation_id`, `updated_at`), `usage_events` (`id`, `node_id`, `incarnation_id`), and `usage_samples` (`event_id`, `upload_bytes`, `download_bytes`). Never reads `usage_event_rejections`, `usage_event_conflicts`, `usage_rollups`, or `usage_rollup_details`.
+ - `upload_bytes` and `download_bytes` are the sums of accepted `usage_samples` (`NUMERIC(20,0)`) formatted as decimal strings and parsed via `decstr.Parse` (`decstr.U64`). Any sum exceeding $2^{64}-1$ fails closed with `decstr.ErrOverflow` (HTTP 500 `INTERNAL_ERROR`), never returning a truncated total.
+ - `through` is `usage_checkpoints.updated_at` (`null` when no checkpoint row exists; when a checkpoint row exists with zero samples, bytes are `"0"` and `through` is set).
+ - Usage is keyed by `(node_id, incarnation_id)` and never moves between incarnations across guarded reinstalls.
+
+### 10.2 `token_sha256` on Enrollment Responses and Audit Events (ENR-02)
+
+- `internal/enrollment` populates `api.Enrollment.TokenSha256` (`*string`, 64 lowercase hex characters of `node_enrollments.token_hash`) on `createEnrollment` (both initial creation and idempotent replay), `getEnrollment`, and `revokeEnrollment`, and `internal/nodes/httpwire` passes the domain `api.Enrollment` through unchanged while never exposing the plaintext token after initial creation.
+- `enrollment.created` audit events record `changes.after.token_sha256` without redaction (via the `_sha256` suffix exemption in `internal/audit`).
+
+### 10.3 `awaiting_member_grants` in the Nodes Read Model (D-067, D-071, Revision 10–12)
+
+- `ForwardingBlockReasonAwaitingMemberGrants` (`"awaiting_member_grants"`) means the node holds a valid node lease with zero member grants while `device_bindings` are desired in its compiled policy. Under D-071 (contract revision 11–12, `ObservationReport.awaiting-member-grants.json`), the agent reports check `internet_only` as `passed` (`error_code: null`), serving checks `lease`, `qos`, and `source_binding` as `failed` with `error_code: "AWAITING_MEMBER_GRANTS"`, and one `errors` entry `{code: "AWAITING_MEMBER_GRANTS", stage: "lease", message: "Serving lease has no member grants yet."}`.
+- **Validation & Read Model Projection**:
+ - `SubmitObservation` validates every element of `report.ForwardingBlockReasons` against `api.ForwardingBlockReason.Valid()`, rejecting unknown block reasons with `422 VALIDATION_FAILED`.
+ - When `member_forwarding_enabled == false` and `forwarding_block_reasons` contains `"awaiting_member_grants"` (with `internet_only == "passed"` and `meter_path` absent, `"not_run"`, or `"passed"`), `evaluateObservationEvidence` preserves `safety_status = "passed"` and `data_health = "healthy"` (or `"degraded"` if degraded by another check)—the node is healthy and provisional, not `"expired"` or `"failed"`.
+ - In `GET /api/v1/admin/nodes/{node_id}` (`NodeDetail`) and `GET /api/v1/admin/nodes` (`NodeSummary`), the node shows `provisioning_state: "ready"`, `safety_status: "passed"`, `data_health: "healthy"`, and `member_forwarding_observed: false`, while `NodeDetail.recent_errors` projects the `AWAITING_MEMBER_GRANTS` entry and `node_observations.report_payload` retains `"forwarding_block_reasons": ["awaiting_member_grants"]`.
+ - **Publication & Operations (`check_failed` Precedence Order, D-067 / D-071)**: `exits.publication_intent` and `exits.publication_observed` remain unchanged. In `publicationForwardingFailure` (`internal/nodes/publication_evidence.go`), the loop over `report.Checks` runs before the `!report.MemberForwardingEnabled` (`"forwarding_disabled"`) branch, so a provisional node whose grant-less lease checks (`lease`, `qos`, `source_binding`) report `status = "failed"` with `error_code = "AWAITING_MEMBER_GRANTS"` is classified as `"check_failed"` (rather than `"forwarding_disabled"`). This order is the intended D-067 / D-071 semantics for the provisional state: `node.publish` completes `agent_policy` once the desired generation is acknowledged with passed safety while keeping `data_path_probe` held in the waiting gate until member grants arrive, serving checks pass, and member forwarding is armed. Member/entitlement/device operations complete the `"nodes"` step only after capture is complete and no captured target remains pending. One clean report cannot settle another pending target; completed outcomes can include targets recorded as unconfirmed.
+
+---
+
+## 11. Cloned-Identity Conflict Detection, Roaming vs. Interleaving, and Mapping Freeze (D-072, §6.2, Follow-up 21)
+
+1. **Production Ingress Callers (`internal/httpapi/middleware.go`, `internal/nodes/httpwire/handlers.go`, `internal/nodes/httpwire/state.go`)**:
+ - On authenticated `agent-mtls` requests, `httpapi.New` stores the verified leaf certificate (`httpapi.ClientCertificate(ctx)`) and coarsened compatibility domain (`httpapi.ClientCompatibilityDomain(ctx)`) in request-local metadata.
+ - `Handlers.RenewServingLease` (`POST /api/v1/agent/lease-renewals`) and `Handlers.SubmitObservation` (`POST /api/v1/agent/observations`) call `Enrollment.ObserveEndpointTx` inside their per-request transaction before any automatic identity-mapping mutation.
+ - Lease renewal and observation both take the `fleet_config` lock before any `nodes` lock through `commandtx.InTx`. Standalone lease-service callers also take a fleet share lock before the node; `check_node_lease` retains its `FOR SHARE` check.
+ - `GET /api/v1/agent/desired-state` and other GET routes perform no endpoint observation write.
+
+2. **Compatibility Domain Coarsening and Limitation**:
+ - Derived via `requestRateKey` (`X-Forwarded-For` honoured only when `RemoteAddr` belongs to configured `trusted_proxies`, otherwise `RemoteAddr`), coarsened to **IPv4 `/24`** and **IPv6 `/48`**, and hashed with SHA-256 into `node_identity_endpoints.endpoint_hash`.
+ - Raw addresses and CIDRs are never stored or logged.
+ - **Limitation**: Two clones operating behind the same IPv4 `/24` or IPv6 `/48` compatibility domain are not detected by this check.
+
+3. **Roaming vs. Interleaving (`DefaultIdentityActiveWindow = 120s`)**:
+ - `DefaultIdentityActiveWindow` is `120s`: larger than the 60s D-067 provisional lease renewal cap and the 30s heartbeat interval so an active or renewing node always refreshes inside the window, and shorter than a finite-member serving lease.
+ - **Roaming (`X → Y`)**: When `Y` is first observed while `X` was seen inside `activeWindow`, `X` remains mapped in `node_identity_endpoints`, `Y` is persisted as the roaming candidate on `node_identity_endpoints` (`candidate_hash`, `candidate_first_seen_at`, `candidate_last_seen_at`, locked with `SELECT … FOR UPDATE` inside the request transaction per migration `00187` / D-073 so multi-replica `fvpn-control` instances and process restarts evaluate roaming and interleaving identically), and `Y` is promoted to `node_identity_endpoints` only once `X` has been quiet for a full `activeWindow`.
+ - **Interleaving Conflict**: When `X` is observed again while `Y` is still inside `activeWindow` (`X → Y → X`), when `Y` and `X` are both seen within one window twice, or when a third domain `Z` is observed while `X` and `Y` are inside the window, `ObserveEndpointTx` inserts one `node_identity_conflicts` row, sets `mapping_frozen = true`, and appends one `node.identity.conflict` audit event on `node:` with `changes.after` containing only `incarnation_id`, `conflict_count`, and `observed_at` (later requests while frozen emit no second audit event). The HTTP request still returns its normal 2xx response (`200` for lease renewal, `202` for observation).
+
+4. **Terminal Freeze Effect and Reconciliation (`revokeNode` + Re-Enroll, D-084)**:
+ - The transaction that records the conflict and sets `mapping_frozen = true` also sets `nodes.provisioning_state = 'failed'` and `nodes.safety_status = 'failed'`. The detecting fresh lease renewal therefore sees a not-ready node before deciding member grants. `RenewTx` additionally checks the current incarnation's `mapping_frozen`, even if the node row incorrectly says ready: a published frozen exit receives `members: []` and a lease capped at 60 seconds, using the D-067 backstop. A single roaming switch keeps normal leases.
+ - While frozen, every automatic external identity mapping path (`node.peer.observe`, `node.peer.discover`, `node.provision.requested`, `netbird.Client.EnsureNodePeer`, `netbird.Client.DiscoverNodePeer`, and `PublicationAdapter.PublishExit`) skips mutation. `SubmitObservationTx` keeps the D-055 terminal state and records normalized `node_observations.safety_status = 'failed'`, `provisioning_state = 'failed'`, and `member_forwarding_enabled = false` before inserting the row, including for an out-of-order report. The row is retained as evidence; its raw `report_payload` and hash preserve the original agent claim. The node's `member_forwarding_observed` becomes false when a current observation is accepted.
+ - **D-084 server-side complete (D-088 part (i)):** the same freeze transaction clamps every lease for that node/incarnation whose stored `expires_at` exceeds `now() + 60 seconds` to that deadline. Shorter and expired leases remain untouched. Migration `00190_serving_leases_clamp.sql` permits only a strictly earlier expiry with every other column identical; runtime extensions, other mutations, DELETE and TRUNCATE remain forbidden, and the existing migration-owner escape is unchanged. The stored row is authoritative for central lease deadlines. Signed envelopes, signatures, hashes and member grant evidence remain unchanged; same-ID replay returns the original envelope without re-signing or restarting its TTL, so its signed expiry can be later than the stored deadline.
+ - **Agent visibility (D-088 part (ii), follow-up 28):** `POST /api/v1/agent/observations` returns `identity_frozen: true` when the reporting current incarnation has `node_identity_endpoints.mapping_frozen = true`, including on the report that detects the conflict. The flag is read in the transaction that stores or replays the report. Both report-ID and HTTP `Idempotency-Key` replay preserve `report_id`, `accepted`, and `received_at` while adding the live freeze flag, even if the original receipt preceded the freeze. An unfrozen incarnation omits the key entirely; the server never emits `false`. Retired or revoked incarnations retain the existing rejection behavior, and a replacement incarnation does not inherit the historical flag.
+ - **Two notification paths:** the observation response is the immediate signal: on `identity_frozen: true`, the agent must drop every member grant and renew at once (agent-core follow-up 22 implements the reaction). A fresh renewal is the second path and returns the grant-less envelope described above. Stored lease replay still preserves its original signed envelope, so the flag is essential for an agent already holding grants. Server HTTP/database evidence alone does not measure a packet-stop deadline or prove the separate agent consumer. Revoke and re-enroll remain the recovery workflow.
+ - Operators reconcile a frozen node via `revokeNode` followed by re-enrollment (`createEnrollment` + `enrollNode`), which creates a new incarnation with no `node_identity_endpoints` row (unfrozen) while keeping the historical `node_identity_conflicts` rows attached to the retired incarnation.
+
+5. **`NodeDetail.identity_conflict` Projection and Operator Note (D-072, Revision 11, Follow-up 22)**:
+ - `GET /api/v1/admin/nodes/{node_id}` (`getNode`) projects `identity_conflict` in the single node-detail query via a `LEFT JOIN` to `node_identity_endpoints` (`ie.incarnation_id = n.current_incarnation_id`) and a `LEFT JOIN LATERAL` aggregation over `node_identity_conflicts` (`ic.incarnation_id = n.current_incarnation_id`):
+ - `null` when the node has no `current_incarnation_id` or no `node_identity_endpoints` row yet for the current incarnation;
+ - otherwise `{mapping_frozen, conflict_count, last_conflict_at}` with `mapping_frozen` from `node_identity_endpoints.mapping_frozen`, `conflict_count` counting only conflict rows for `current_incarnation_id`, and `last_conflict_at` set to `max(observed_at)` in UTC (or `null` when `conflict_count == 0`).
+ - Endpoint hashes, client IP addresses, and compatibility domains never leave the server; the serialized `identity_conflict` object carries only `mapping_frozen`, `conflict_count`, and `last_conflict_at`. `listNodes` (`NodeSummary`), `drift`, and `recent_errors` are unchanged.
+ - Recording the first endpoint row or recording a conflict / freezing `mapping_frozen` increments `nodes.resource_version`, rotating the `GetNode` `ETag`; `GET /api/v1/admin/nodes/{node_id}` honours `If-None-Match` and returns `304 Not Modified` while the ETag is unchanged.
+ - **Operator note**: Operators inspect `NodeDetail.identity_conflict` (`mapping_frozen: true`, `conflict_count`, `last_conflict_at`) alongside `node.identity.conflict` audit events to see when a node incarnation's identity mapping has been frozen due to concurrent activity from incompatible endpoint domains; there is no automatic unfreeze and no unfreeze API—reconciliation is always `revokeNode` followed by re-enrolling the replacement node (`createEnrollment` + `enrollNode`), which starts a new incarnation with `{mapping_frozen: false, conflict_count: 0, last_conflict_at: null}` once observed.
+
+---
+
+## 12. Gated `node.publish` Waiting State vs. Exhaustion Failure (D-074, Follow-up 23)
+
+1. **Pending Gate Step (`NODE_NOT_SERVICEABLE`) While Retries Remain**:
+ - When `node.publish` runs before the node has applied the latest compiled generation or before the node's observation confirms an armed member data path, the gate is a **waiting state**, not a failure:
+ - On `agent_policy` (`reason` in `stale_generation`, `readiness_unconfirmed`) or `data_path_probe` (`reason` in `stale_generation`, `forwarding_disabled`, `tunnel_not_passed`, `isolation_unconfirmed`, `readiness_unconfirmed`, `check_failed`, `serving_checks_unconfirmed`, `lease_unconfirmed`), `exits.Service.failGatedPublish` calls `pendingPublishStepOutcome` to keep the gated step in `status = "pending"` with `error_code = "NODE_NOT_SERVICEABLE"`, bounded `message = "member_forwarding_unconfirmed"`, and `reason = `.
+ - The `node.publish` operation remains `status = "running"` (or `"pending"` before the first worker claim) with top-level `error = null`, and `exits.publication_observed` is **never** set to `"error"` by a waiting gate (`publication_observed` remains unchanged, or is set to `"withdrawn"` when the r11 empty-exception route withdrawal is confirmed).
+2. **How the Waiting Gate Clears**:
+ - When the node submits a subsequent `ObservationReport` acknowledging `applied_config_generation >= max(op.desired_generation, nodes.desired_config_generation)` with passing baseline/serving evidence, `advanceNodeOperationsOnObservation` (`internal/nodes/observations.go`) transitions `agent_policy` and `data_path_probe` to `succeeded` (clearing `error_code`, `error_message`, and `reason`).
+ - If `netbird_route_readback` has already succeeded, the observation completes the operation immediately (`status = "succeeded"`, `exits.publication_observed = "active"`). Otherwise `advanceNodeOperationsOnObservation` wakes the pending `node.publication_changed` outbox event (`available_at = clock_timestamp()`) so the worker immediately executes `netbird_route_readback` and completes the operation.
+3. **Retry and Exhaustion Budget**:
+ - Controlled by `worker_attempts` (default `10`, range `1..100`), `worker_backoff_seconds` (default `1s`), and `worker_backoff_max_seconds` (default `300s`). Each retry doubles the backoff cap (`1, 2, 4, 8, 16, 32, 64, 128, 256` seconds across 9 retries = `511s` unjittered ceiling) with uniform jitter in `[delay/2, delay]`, giving a total waiting window of `~255.5s..511s` (~4.3 to 8.5 minutes) before attempt 10 unless woken early by an observation.
+ - If the gate is still unsatisfied on the final attempt (`event.Attempt >= worker_attempts`), `exits.Service.ExhaustGatedPublish` marks the gated step `status = "failed"`, marks the operation `status = "failed"` with `error.code = "NODE_NOT_SERVICEABLE"`, and sets `exits.publication_observed = "error"` (unless confirmed `"withdrawn"` under the r11 empty-exception path).
+ - Non-gate failures (`DEPENDENCY_UNAVAILABLE` NetBird adapter errors, `STATE_CONFLICT`) mark the step `failed` and set `exits.publication_observed = "error"` immediately on the first failed attempt. The same failure path applies when `safety_status` is `failed` or `expired` and `applied_config_generation >= max(op.desired_generation, nodes.desired_config_generation)`: `agent_policy` fails with `NODE_NOT_SERVICEABLE` and bounded cause `safety_failed` or `safety_expired`. This is not `readiness_unconfirmed`. An unapplied generation still waits as `stale_generation`, and unknown safety or merely unconfirmed data-path evidence retains the waiting gate.
+ - As with other non-gate failures, the worker returns the operation to `running` while a retry remains, retaining the failed step and stored error; the public operation response exposes the failed step but keeps its top-level `error` null until terminal failure. On budget exhaustion the operation stays `failed`. An immediate failed step / `publication_observed = "error"` must not be described as a pending convergence gate.
+4. **Operator Note**:
+ - On a `node.publish` operation, a `pending` `agent_policy` or `data_path_probe` step carrying `error_code = "NODE_NOT_SERVICEABLE"` and `message = "member_forwarding_unconfirmed"` means the operation is waiting (`status = "running"`, `error = null`, `publication_observed` unchanged or `"withdrawn"` under the empty-attachment exception) for the node to apply the target generation and report passing serving checks; it clears automatically on the next qualifying observation + worker pass, and transitions the step and operation to `failed` (`publication_observed = "error"`) only if the worker retry budget (`worker_attempts` = 10 attempts, ~4.3–8.5 minutes of jittered exponential backoff from `1s` to `300s`) is exhausted, after which operators re-issue `PUT /api/v1/admin/nodes/{node_id}/publication` once the node is healthy.
+
+---
+
+## 13. `NodeDetail.usage_outbox` Projection and Migration `00189` (SECOPS-19, D-075, D-077 §2, Follow-up 25)
+
+1. **Domain Columns on `node_incarnations` (`db/migrations/00189_node_incarnation_usage_outbox.sql`, D-075)**:
+ - Migration `00189_node_incarnation_usage_outbox.sql` adds `usage_outbox JSONB NULL` (`CHECK (usage_outbox IS NULL OR jsonb_typeof(usage_outbox) = 'object')`), `usage_outbox_observed_at TIMESTAMPTZ NULL`, and `CONSTRAINT node_incarnations_usage_outbox_check CHECK ((usage_outbox IS NULL) = (usage_outbox_observed_at IS NULL))` on `node_incarnations` (with a reversible `-- +goose Down` that drops the constraint and both columns).
+ - **Why `usage_outbox JSONB NULL` + `usage_outbox_observed_at TIMESTAMPTZ NULL` on `node_incarnations` rather than 9 individual typed columns**:
+ - Putting the projection on `node_incarnations` scopes it per incarnation so a guarded re-enrollment (`nodes.current_incarnation_id` advancing to a new incarnation row) automatically resets `NodeDetail.usage_outbox` to `null` while retaining the retired incarnation's final snapshot on its row, and `getNodeWithQuerier` (`internal/nodes/nodes.go`) already performs `LEFT JOIN node_incarnations inc ON inc.id = n.current_incarnation_id` so reading `inc.usage_outbox` and `inc.usage_outbox_observed_at` requires zero extra joins or queries (`audit_events` and `node_observations.report_payload` are never read on `GET /api/v1/admin/nodes/{node_id}`, D-075).
+ - No SQL query filters, aggregates, or joins on individual fields of `usage_outbox`, and per SECOPS-19 / D-077 §2 the projection is informational only and never participates in control-plane decisions; storing the validated `UsageOutboxStatus` object in `usage_outbox JSONB` alongside `usage_outbox_observed_at TIMESTAMPTZ` matches `nodes.latest_checks`, `nodes.recent_errors`, `nodes.drift`, and `nodes.capacity` while preserving exact `decstr.U64` decimal strings (`last_durable_event_seq`, `central_acked_through`, `blocked_seq`, `unacked_payload_bytes`, `acked_archive_bytes`).
+
+2. **Transactional Write on Observation Acceptance (`SubmitObservation` / `SubmitObservationTx`, `internal/nodes/observations.go`)**:
+ - Inside the same transaction that accepts a non-stale observation report (`isNewerOrEqual`), `SubmitObservation` writes `node_incarnations.usage_outbox = $2::jsonb` and `node_incarnations.usage_outbox_observed_at = $3` (`receivedAt`, i.e., `node_observations.received_at` of that report) **only when the report's `usage` block is present** (`hasUsageOutbox(report.Usage)` is true).
+ - When the agent's local SQLite store is unavailable and the agent reports the zero `UsageOutboxStatus` shape (`ledger_epoch: null`, `meter_epoch_id: null`, `blocked_seq: null`, `oldest_unacked_at: null`, and zero counts `"0"` / `0`), the `usage` block is present and is persisted and projected as those zeros with `observed_at = received_at`, never `null`.
+ - When a report has no `usage` block (`hasUsageOutbox(report.Usage) == false`), `SubmitObservation` leaves `node_incarnations.usage_outbox` and `node_incarnations.usage_outbox_observed_at` unchanged.
+
+3. **Read Model and Strong ETag (`GetNode` / `GetNodeTx` / `GetNodeWithDNSEvidence`, `internal/nodes/nodes.go`)**:
+ - `GET /api/v1/admin/nodes/{node_id}` (`NodeDetail`) always emits `usage_outbox` (`nullable.Nullable[api.NodeUsageOutbox]`): `null` when the current incarnation has not yet had a report with a `usage` block accepted, or the `NodeUsageOutbox` object (`UsageOutboxStatus` fields plus `observed_at` equal to `usage_outbox_observed_at` in UTC) when present. The field is never absent on revision-12+ servers. `GET /api/v1/admin/nodes` (`NodeList`) returns `NodeSummary` items and does not embed `NodeDetail`.
+ - `usage_outbox` participates in the strong ETag (`""`) by the exact same rule as the other observation-derived `NodeDetail` fields (`checks`, `recent_errors`, `safety_status`, `member_forwarding_observed`, `data_health`, `dns_policy_evidence`): `SubmitObservationTx` increments `nodes.resource_version` when an observation is accepted, and `GetNode` serves `ETag: ""` and honours `If-None-Match` (`304 Not Modified`).
+
+4. **Informational-Only Invariant (SECOPS-19)**:
+ - `NodeDetail.usage_outbox` is strictly informational for operators monitoring whether a node's local usage outbox is backing up (`unacked_event_count`, `unacked_payload_bytes`, `oldest_unacked_at`, `blocked_seq`). It **never** affects `safety_status`, `provisioning_state`, `data_health`, `member_forwarding_observed`, lease renewal, or exit publication.
+
+
+
+
+
+## 14. Node-local tc verification failures (D-093, Follow-up 28)
+
+Revision 13 accepts `TC_FOREIGN_FILTER` in both observation `errors[].code` and `checks[].error_code`. Like `HEALTH_CHECK_FAILED`, it is a registered non-retryable node-local error; it is not an HTTP rejection of the observation. A withdrawn agent report with a failed isolation check remains safety-failed with member forwarding disabled. The evidence evaluator also rejects a contradictory `safety_status: passed` when the required isolation check failed. Ingestion uses the reported checks and forwarding evidence, with no separate error-code allowlist or translation to `HEALTH_CHECK_FAILED`.
+
+The stored normalized check, immutable report, `NodeDetail.checks` and `recent_errors` retain `TC_FOREIGN_FILTER`. The existing operation failure writer accepts the same code, and both node-domain and HTTP operation projections preserve it in step and top-level errors. Receipt acceptance alone does not complete an operation or prove that forwarding recovered. `TestD093_ISO02_HTTPTCForeignFilterStoredEvidence` stores both error forms and verifies these projections against the HEALTH_CHECK_FAILED case; all scenario responses are validated against `contracts/openapi.yaml`.
diff --git a/tests/handover/testdata/history/follow-up-55/prior-docs_nodes_WIRING.md.txt b/tests/handover/testdata/history/follow-up-55/prior-docs_nodes_WIRING.md.txt
new file mode 100644
index 000000000..c76169c8e
--- /dev/null
+++ b/tests/handover/testdata/history/follow-up-55/prior-docs_nodes_WIRING.md.txt
@@ -0,0 +1,749 @@
+# Node control and worker wiring
+
+References: Project Spec §5–7, §13.1–2/10, §14.4–5, §15.3, §16.1–3,
+§17.1. The current OpenAPI contract takes precedence over older service docs.
+
+## Composition and operation list
+
+`nodes(),` is the single registration line in each process's `Domains()` list.
+`apps/control/wire_nodes.go` builds `internal/nodes/httpwire` once using the
+process-owned pool, configuration and logger. Its `Built` supplies the strict
+handlers, PKI authenticator and enrollment credential middleware to the
+[D-026 composition seam](../control/COMPOSITION.md). The framework owns both
+listeners, routing, response tracking and request IDs. All command handlers reuse
+`httpapi.Transaction`, set durable resource references, and implement replay.
+Standalone service callers retain their existing transaction/idempotency APIs.
+
+Node-domain tests compose only core operations/audit and node handlers (D-039).
+Their unregistered member routes do not describe the production binary:
+`apps/control/handlers.go` also registers `members()` and `usage()`.
+`wire_members.go` installs `httpadapter.Handlers.GetMemberSelf` and
+`ListMemberDevices` from `internal/members/httpadapter/reads.go` for
+`GET /member/me` and `GET /member/devices`; `wire_usage.go` installs
+`UsageHandler.GetMemberUsage` for `GET /member/usage`. The control binary
+uses this production `Domains()` list through `control.Servers`.
+
+The following transitional 501 handlers are removed:
+
+| Operation | Behavior |
+|---|---|
+| `getFleetConfig`, `updateFleetConfig` | Admin fleet lease ceiling: GET with strong ETag; PUT with If-Match/idempotency returns 200 and commits one `fleet_config.update` audit, with no asynchronous operation. Existing leases retain their signed value. |
+| `createEnrollment`, `getEnrollment`, `revokeEnrollment` | Issue a hash-only token, read its state, revoke unused tokens. Replayed creation never returns plaintext. |
+| `enrollNode` | CSR proof, durable incarnation/certificate/provisioning operation; same proof returns the original certificate. |
+| `consumeAgentBootstrap` | Authenticated single delivery: 409 not ready, one 200, then 410 consumed; expired undelivered material returns 410 expired. |
+| `renewAgentCertificate` | New CSR and serial with bounded older-serial overlap; same renewal ID replays. |
+| `listNodes`, `getNode`, `listMemberExits` | Registry and member-scoped exit views, including the current fleet job summary. Node detail projects current exit `group_ids`, reported DNS document evidence, check diagnostics, `identity_conflict` (D-072), and per-incarnation `usage_outbox` (`node_incarnations.usage_outbox` + `usage_outbox_observed_at`, migration `00189`, SECOPS-19 / D-075 / D-077 §2). |
+| `createAdminGroup`, `listAdminGroups` | Immutable groups, unique code/name, exact code filtering and cursor pages; creation has an idempotent 201 receipt and `group.create` audit. |
+| `getResolverDocument` | mTLS node/current-incarnation issuance authorization, exact canonical bytes, digest ETag and a current/previous-generation window. Publisher and compiler integration status is described below. |
+| `updateNode`, `revokeNode`, `retireNode` | Strong If-Match under transaction locks; metadata 200 or pending operation 202; retirement retains history. |
+| `setNodePublication` | All three intents use `exits.Service.SetPublicationTx` inside the HTTP command transaction; 202 returns the pending publication operation. |
+| `getDesiredState` | Signed state from DB policy and D-030 entitlement readers, explicit release allowlist, authorized `NodeUpdateIntent`, whole-envelope ETag and 304. Published state includes eligible member policies. |
+| `renewServingLease` | Signed 24-hour default maximum (60 s D-067 backstop when `provisioning_state != 'ready'`), bounded member grants, natural renewal-ID replay without restarting deadlines, and transactional `ObserveEndpointTx` cloned-identity check (D-072). |
+| `submitObservation` | Immutable deduplicated receipt, transactional `ObserveEndpointTx` cloned-identity check (D-072), then `SubmitObservationTx` and `ObserveReportTx` in the same transaction, fleet lock before node lock. |
+| `listReleases`, `registerRelease` | Immutable signed manifests; runtime registration requests artifact verification and returns 202. |
+| `createUpdateBatch`, `getUpdateBatch`, `retryUpdateBatch` | Immutable all-nodes snapshot, original acceptance replay, cursor targets, new retry attempts. |
+| `submitUpdateResult` | Durable 202 ACK; identical result replays, changed payload returns 409 ACK_CONFLICT with retained conflict evidence. |
+
+Fleet configuration uses the same `nodes()` handler registration and generated
+admin-session/CSRF boundary. Its command transaction locks the singleton before
+checking `If-Match`, changes only the lease ceiling and resource metadata, then
+commits the audit and idempotency reference together. The audit ID is the command
+reservation ID; allowlisted `changes.after` also retains the original version and
+timestamp so a replay never substitutes a later fleet value. Keep audit retention
+at least as long as command retention (defaults: 180 days and 7 days); a missing
+receipt fails closed. Both audit snapshots include the maximum even on an
+accepted same-value write. No operation or outbox event is needed for this local
+200 response. See [the admin resource semantics](README.md#admin-fleet-configuration-d-065-145-163).
+If the singleton is absent, GET returns the issuer's 86400-second default with
+version `0` and `updated_at` at the Unix epoch, without writing. A subsequent PUT
+with `If-Match: "0"` creates it with the table's fail-closed release defaults and
+returns version `1`; an existing row normally starts at version `1`.
+
+Agent keys now join the same command transaction as their domain writes (§14.5).
+The transactional entry points delegate to the existing implementations rather
+than duplicating ingestion logic. Natural report/result/renewal IDs continue to
+work without a key.
+
+| Keyed operation | First acceptance | Replay source (no writes) |
+|---|---|---|
+| `submitObservation` | `SubmitObservationTx`, 202 receipt, node resource | `node_observations.received_at`, authenticated node/incarnation + report ID |
+| `submitUpdateResult` | `SubmitResultTx`, 202 receipt, node resource | Stored `update_results.ack`, authenticated node/incarnation + result ID |
+| `renewServingLease` | `RenewTx`, 200 envelope, node resource | `leases.ReadRenewal`, the original `serving_leases.envelope` |
+
+Receipts have no synthetic operation. Lease replay preserves the original lease
+ID, expiry and signature. `RenewTx` holds node/member/entitlement SHARE locks
+until the HTTP command commits; any command failure rolls back the lease,
+member grants, audit and HTTP key together. The contract renewal route is
+`POST /api/v1/agent/lease-renewals`.
+
+Every API response passes through `apierr`/response tracking. Secret responses use `no-store`; resolver documents use `private, max-age=0` as required by D-056.
+Certificate authentication uses the verified TLS certificate, current incarnation,
+certificate history, effective validity, and independent revocation journal.
+`X-Node-ID` and proxy certificate headers cannot select identity. The internal
+principal ID selects the authenticated public certificate serial for renewal and
+bootstrap; no private key is retrieved or transmitted.
+
+## Publication transaction and remaining boundaries
+
+`SetNodePublication` passes the authenticated principal scope, central request ID,
+raw `If-Match` and decoded request to `exits.Service.SetPublicationTx` for
+`published`, `unpublished` and `disabled` (§5.2, §14.5). The existing command wrapper
+acquires the fleet lock before the service locks nodes and exits. It advances node
+and exit resource versions and desired configuration generation once per accepted
+command, creates the operation, enqueues `node.publication_changed`, and writes
+the `exit:` audit event through the core builders. `httpapi.SetResult`
+completes the HTTP idempotency record in that same transaction. Replay reads the
+stored operation without changing publication or advancing versions again.
+
+Publishing creates `node.publish` with required pending steps `agent_policy`,
+`netbird_route_readback` and `data_path_probe`. Unpublishing and disabling create
+`node.unpublish` and `node.disable`; their data-path probe is explicitly not
+required. These are pending operations, not proof of applied forwarding or routes.
+The Tx method uses only the caller's transaction and its clock, so its service
+receives the runtime pool and no compiler or NetBird adapter. The request performs
+no external calls. Compilation on the following agent desired-state request uses
+the merged DB readers and `fup.BuildNodeMemberRatePolicy`; unpublished and disabled
+states have no member policies.
+
+Only the explicit DNS configuration and release-support policy fail-closed 503s
+remain in `internal/nodes/httpwire`. Publication acceptance is covered by
+`TestAT08_HTTPPublicationIntentsReplayAndPreconditions` and command atomicity by
+`TestAT08_HTTPPublicationRollsBackWithCommand`.
+
+The contract contains no batch cancel operation or enrollment collection GET.
+None is invented. Existing batch cancellation on revocation/retirement remains.
+`UpdateTarget` includes both required booleans; `NodeUpdateSummary` has no such
+fields in the current contract. The production worker now handles
+`node.publication_changed` through `exits.Service.ExecuteOperation`, using the
+runtime compiler and real NetBird adapter bridge. It returns the operation ID as
+its durable receipt. Successful or superseded operations replay without effects;
+a completed central withdrawal with an offline node retains `partially_succeeded`
+until an agent observation confirms forwarding is off.
+
+The spec has no §8.4; the applicable §8.1–3 were read. Its AT10 concerns network
+isolation; lease-window evidence here corresponds to §16.3/AT29, not an AT10
+packet-level pass.
+
+## Worker jobs and read-back
+
+`apps/worker/jobs_nodes.go` builds its registry and clients once from
+`Dependencies.Pool`, `Dependencies.Config` and `Dependencies.Logger`. `NodeJobs`
+also accepts explicit dependencies for integration tests. No domain opens a pool,
+reads environment variables, or starts a listener/dispatcher/goroutine during
+construction. `Built.Runners` supplies `RunNodeSchedule` to the process supervisor.
+
+The nodes build creates one `Runtime.DesiredStateCompiler()` and shares it with
+the publication executor and member jobs through `Built.Context` and
+`membersruntime.WithCompiler`. All context decorators run before dispatch, so
+this does not depend on domain build order or change the D-026/D-045 domain list.
+The compiler uses the nodes signing provider, `desired_state_seconds`, and
+`dns_resolver_ipv4` / `dns_resolver_ipv6`, with the DB entitlement and policy
+readers. The members registry keeps ownership of `device.authorized`,
+`device.revoked`, `member.entitlement_changed`, and `member.suspended`: after
+NetBird authorization read-back, it recompiles affected node policies and records
+an audit receipt before acknowledging the event. Compilation failure retries
+without acknowledging success. A compiled generation is desired state; applied
+generation and node operation steps still require agent observations (§14.5).
+
+| Event | Durable evidence and external calls |
+|---|---|
+| `node.publication_changed` | Validates the operation/node and current claim, then runs the exits executor for publish/unpublish/disable/revoke/retire. Publication requires agent policy ACK, route/group/policy read-back and stored data-path probe evidence before `active`/`succeeded`. Withdrawal removes the route/access policy even offline; an absent agent ACK stays unconfirmed. Revoke/retire additionally require confirmed setup-key revocation and peer deletion in `netbird_identity_cleanup` before finalization. |
+| `node.provision.requested` | `CreateNodeSetupKey(operation_id)` locates the stable name and saved ID before creation. The adapter ensures the shared staging group plus an empty per-enrollment correlation group (D-055), creates a one-off/usage_limit=1/non-ephemeral key with 86400-second external expiry, and GETs it to verify settings. Only then is bounded AES-GCM ciphertext stored and `netbird_setup` advanced; the same transaction seeds/coalesces `node.peer.discover`. |
+| `node.peer.observe` | Every deduplicated observation enqueues this job. A reported or previously bound ID goes through `EnsureNodePeer` read-back; an absent, unbound ID schedules/coalesces discovery. Baseline readiness and `node_policy` still depend on the latest report's safety and generation ACK. Frozen/revoked incarnations are acknowledged without external work. |
+| `node.peer.discover` | D-055 management-only correlation via `DiscoverNodePeer(operation_id, node/incarnation)`, under the deployment lock and claim/identity fence. Confirmed binding and temporary-group cleanup precede the central `peer_id`, audit evidence and `peer_readback` commit. No hostname, address or timing inference. |
+| `release.verify` | `VerifyRelease` with `HTTPSFetcher` streams both architecture artifacts with size/hash/origin checks. Fenced terminal verification persists success or failure evidence; failed verification never marks its step successful. |
+| `node.reconcile` | `fleetupdate.Reconcile`, expired-bootstrap erasure, then a delayed successor. |
+| `node.resolver_documents.reconcile` | Reads the eligible document through the DNS publisher's reader, pages current signed states with differing references, and recompiles them under the claim/fleet/node locks. Issuance and the new signed state commit together. No external network calls. |
+| `node.staleness.sweep` | Uses accepted central receipt age to sweep node status, with stale threshold `min(90s, online_seconds)` and offline threshold `online_seconds`. Its independent claimed chain schedules a delayed successor under the claim and fleet lock; errors return for retry, and scheduling can delay a transition. |
+| `fleet.update_created`, `fleet.first_sync_created`, `fleet.update_retry`, `fleet.release_support_changed`, `node.updated` | Reconcile persisted fleet state and seed/coalesce the periodic chain. Desired state is compiled when the authenticated node polls. |
+
+The supervised runner seeds all three chains immediately at startup
+and checks for missing chains every `min(reconcile_seconds, 60)` seconds. Fleet
+reconciliation retains its configured successor delay; resolver-document delivery
+and the independent staleness sweep each use the bounded cadence. Fleet locking coalesces seeds from
+multiple processes and event-created successors. Runners only enqueue; the shared
+dispatcher claims and completes work. Enqueue failures return to the supervisor;
+cancellation stops the runner. Reconciliation never guesses success for
+stuck/offline jobs.
+
+Readiness describes the node's fail-closed baseline and acknowledgement of its
+desired generation (§5.1, §6.1); it is separate from management peer discovery
+and member admission. An unpublished or disabled node may report `ready`,
+`safety_status=passed`, `data_health=healthy|degraded`, forwarding off and a null
+`netbird.peer_id`; `lease`, `qos` and `source_binding` may remain `not_run`.
+The store retains readiness when the baseline checks pass and a nonzero applied
+generation acknowledges the current desired generation. The worker requires
+this report to remain the latest observation before recording `node_policy`.
+Failed safety or missing/behind generation stays `applying`. A reported peer ID
+still requires management read-back; a later null report never clears an existing
+binding. Null IDs schedule discovery without fabricating `peer_readback`
+completion. Device/member admission still requires its verified peer bindings;
+`CheckPublishable`, serving eligibility and publication execution/probe gates
+are unchanged. D-055 now discovers the management peer even when the agent
+cannot report that ID.
+
+The adapter creates `fvpn-enroll-peer-` with the stable enrollment operation
+ID and records its group binding as `enroll-peer:`. It is empty at
+creation and is never a policy, route or DNS nameserver group. The setup key's `auto_groups` must
+contain exactly that group and `fvpn-unpublished-nodes`. Discovery requires one
+group peer, one setup-key use, and a non-ephemeral peer without a user owner.
+The adapter records the normal `node::` binding, detaches the
+correlation group from the consumed key, empties and deletes it with read-back;
+the shared staging group and membership remain. An interrupted cleanup resumes
+from the recorded binding. Revocation also removes the correlation group and
+cleans adapter bindings even if the central incarnation projection was interrupted.
+
+A single `node.peer.discover` event per incarnation is seeded by successful key
+provisioning and by an unbound null-peer observation; the fleet lock coalesces
+both sources. It uses `worker_attempts`, `worker_backoff_seconds` and
+`worker_backoff_max_seconds` from the existing dispatcher. An unused key or zero
+peers retries with bounded backoff. Exhaustion leaves a failed `peer_readback`
+step/operation and a dead letter; later heartbeats cannot reset that budget.
+Multiple peers, repeated key use, a user/ephemeral peer, or a policy/route/nameserver-linked
+correlation group produces a permanent mapping freeze for this incarnation,
+failed node provisioning/safety, a safe reason on the operation and an audit
+row. That event is acknowledged as a persisted terminal classification, never a
+successful peer binding. Heartbeats remain accepted but cannot erase the freeze
+or diagnostic. Operator recovery requires revocation and an authorized new
+incarnation; no automatic unfreeze occurs. Each discovery rechecks the current,
+unrevoked enrollment under the claim before management calls and before recording
+the adapter binding, then fences the central projection again after read-back.
+A consumed key may have management state `overused` (the one-off limit has been
+reached) or expire while the peer remains enrolled; exactly one use is accepted,
+while a revoked key is rejected. See the [adapter protocol](../../internal/netbird/DISCOVERY.md).
+Previously issued one-group keys cannot prove this correlation retroactively;
+those attempts require explicit revocation and a new authorized enrollment.
+The lab must consume the product-issued two-group key, not a manually supplied
+setup key or a peer mapping inferred from a name/address.
+
+`nodes.NetBirdBindings` aliases `devices.NetBirdBindings`, sharing the
+[member/device binding convention](../members/README.md#netbird-binding-and-lock-namespace-convention):
+provider `netbird`, reversible encoded keys, JCS SHA-256 resource UUIDs and
+PostgreSQL deployment session-lock namespace 119. HTTP calls never hold a SQL
+request transaction.
+Transport loss after remote key creation may make the one-time secret unavailable:
+the worker fails visibly and requires explicit enrollment recovery, never another
+automatic key creation. No real NetBird deployment or device behavior is claimed.
+
+Publication uses `httpwire.PublicationAdapter` because `netbird.Client` has a
+different method set from `exits.NetBirdAdapter`. It resolves the current
+incarnation and deployment, maps member-group UUIDs through `EnsurePaidGroup`,
+and calls `Client.PublishExit`. The client preserves stable route bindings,
+manual exit selection and source addresses, and reads back group/policy/route
+writes. `ReadExitState` independently uses `ReadObservedState`, checks route
+identity, peer, groups and forwarding options, and hashes actual read-back.
+`WithdrawExit` deletes the route and access policy and confirms their absence;
+it does not revoke the node's identity. The bridge matches the client's reserved
+stable route name after a binding is deleted, with an integration test against
+that client's implementation. It has no raw HTTP bypass and sanitizes failures
+before they can become public operation messages.
+
+The executor returns failed outcomes as an operation with a nil Go error. The
+job uses the dispatcher's configured `worker_attempts` budget: a failed execution
+remains `running` only when `event.Attempt` is below that budget, with failed
+step/error evidence retained for the next retry. At or above the budget it stays
+`failed` and still returns a job error, so D-040 dead-lettering leaves no delivery
+receipt or false claim of progress (§14.5). If the worker dies after that failure,
+the dispatcher's exhausted redelivery dead-letters without executing again.
+Recovery requires an operator's fresh publication command with a new idempotency
+key and current `If-Match`; the failed operation and evidence remain unchanged.
+The job never fabricates observation.
+A partial offline withdrawal is a completed central action with an unconfirmed
+agent step, so replay does not repeat its external effects. The fake-adapter
+worker tests and the real-client/local-HTTP test prove these orchestration paths;
+they do not prove real NetBird deployment behavior or packet forwarding.
+
+Enrollment revoke/retire commands now enqueue one `node.publication_changed`
+event with the operation's desired generation and standard withdrawal steps,
+plus required `netbird_identity_cleanup`. `httpwire.RevocationAdapter` decorates
+the publication adapter for those two operation kinds only: after withdrawing
+the route, it calls `RevokeNodeSetupKey` for revoked incarnations' enrollment
+operations (stable-key lookup also recovers lost creation responses), then
+`EnsureNodePeer` and `DeletePeer` for their known peer IDs. The client confirms
+each key revoked or absent and each peer absent; active reinstall incarnations
+are excluded. Nodes revoked before peer read-back use the configured NetBird
+deployment. Cleanup records a system audit event and its reference on the
+required step under the current claim. Failure records an unconfirmed failed
+step, follows the same attempt budget, and cannot finalize the operation.
+Offline withdrawals finish `partially_succeeded` only after route and identity
+read-back, preserving the unconfirmed agent step. Terminal event replay does
+not repeat external work. Real-client/local-HTTP tests cover key/peer read-back;
+fake-route tests cover retry recovery, exhaustion, replay and lost claims.
+
+The `node.routes.withdraw` / `node.peer.withdraw` producers and registrations
+are removed. Before upgrading an existing deployment, drain their queued work
+with the previous worker while old revocation producers are stopped; resolve
+any dead letters before switching. This change does not rewrite historical
+events or claim they ran through the new executor.
+
+The dispatcher records final delivery under its fenced claim. Release,
+bootstrap and identity cleanup mutations also check the claim again in their
+local transactions. Publication checks its claim before execution and when
+retaining a retryable failure. The exits executor owns its step transactions and
+honors the job context; those transactions do not yet accept the outbox claim
+token. This wiring does not claim per-step zombie-worker fencing for that executor.
+
+## Configuration
+
+The central configuration's required `nodes_config_file` points to a strict JSON
+document consumed by both domains through `Dependencies.Config.NodesConfigFile`.
+Only the binary's central loader interprets the corresponding
+`FVPN_NODES_CONFIG_FILE` environment override. Missing, malformed or unreadable
+configuration/credentials fails startup with `config.SettingError` naming
+`nodes_config_file`; there is no request-time configuration fallback.
+Do not put key material or bearer tokens in JSON. Provision the local
+FileProvider vault and public CA certificate explicitly; this development provider
+is not a production HSM or independent anti-rollback appliance.
+
+| JSON key | Requirement |
+|---|---|
+| `provider_directory`, `ca_certificate_file`, `ca_key_id` | Existing vault, public CA PEM and provider-held key reference. Never initialize a new authority silently. |
+| `certificate_seconds`, `renewal_overlap_seconds` | Explicit certificate lifetime and nonnegative overlap less than lifetime. |
+| `bootstrap_seconds` | Explicit local one-time delivery lifetime, independent of NetBird's external lifetime. |
+| `installer_seconds`, `preinstalled_seconds` | Defaults 900 and 604800; configurable. |
+| `authorization_seconds`, `online_seconds`, `stuck_seconds` | Explicit fleet authorization/online/watchdog windows. |
+| `reconcile_seconds`, `fetch_seconds`, `desired_state_seconds` | Explicit reconciliation, HTTP fetch and desired-envelope durations. |
+| `release_origins` | Exact HTTPS origins for immutable manifests/artifacts. |
+| `egress_probe` | Optional fleet-wide D-058 object: 1–4 unique literal-IP TCP targets (`address`, `port`, `protocol`), optional `timeout_ms` 100–10000 (contract default 2000). Absent by default. Signed with desired state before cache comparison. |
+| `dns_resolver_ipv4`, `dns_resolver_ipv6` | Fleet-wide designated resolver address arrays, validated by family; at least one address across the two arrays is required. No production default. |
+| `netbird_url`, `netbird_deployment`, `netbird_token_file` | Adapter `/api` HTTPS URL, deployment scope and bearer-token file. |
+
+A complete **TEST ONLY** configuration shape follows. Provision the vault, CA
+key and certificate first; replace the test key reference with that provider's
+returned key ID. The non-default time windows below are test values, not approved
+production settings.
+
+```json
+{
+ "provider_directory": "/var/lib/fvpn-control/signing",
+ "ca_certificate_file": "/etc/fvpn-control/node-ca.pem",
+ "ca_key_id": "test-ca-key-reference",
+ "certificate_seconds": 86400,
+ "renewal_overlap_seconds": 300,
+ "bootstrap_seconds": 300,
+ "installer_seconds": 900,
+ "preinstalled_seconds": 604800,
+ "authorization_seconds": 300,
+ "online_seconds": 180,
+ "stuck_seconds": 600,
+ "reconcile_seconds": 30,
+ "fetch_seconds": 30,
+ "desired_state_seconds": 600,
+ "release_origins": ["https://releases.example.invalid"],
+ "dns_resolver_ipv4": ["100.64.0.53"],
+ "dns_resolver_ipv6": ["2001:db8::53"],
+ "egress_probe": {"targets": [{"address": "192.0.2.80", "port": 443, "protocol": "tcp"}], "timeout_ms": 2000},
+ "netbird_url": "https://netbird.example.invalid/api",
+ "netbird_deployment": "test-deployment",
+ "netbird_token_file": "/etc/fvpn-control/netbird-token"
+}
+```
+
+Resolver addresses come only from this deployment configuration, never a policy
+revision payload. The node compiler receives them through
+`desiredstate.WithDNSResolvers(ipv4, ipv6)` (see [README §6](README.md#6-desired-state-and-lease-decisions-follow-up-2)).
+Both families participate in desired-envelope cache validation; changing either
+invalidates the stored ETag. These are fleet-wide settings, with no per-node
+override. A single-family deployment may omit the other array.
+
+The fleet's `max_offline_lease_seconds` remains authoritative, default 86400.
+Release trust is independently pinned in the vault and reloaded at each manifest
+authorization, so an already constructed service cannot retain revoked trust.
+Node trust bundles exclude central-only ledger-epoch keys. No release private
+key is loaded. Mutable configured files require controlled provisioning and
+process restart except the provider's current key/revocation ledger.
+
+## Evidence interpretation
+
+`needs_attention` is the stored watchdog flag OR failed/rolled_back/blocked OR
+already_current without the target observed release. `unconfirmed` requires a
+matching executing incarnation/generation and a central observation receipt
+strictly after issuance and no older than the latest result. Unbound jobs remain
+unconfirmed. Batch mapping, `Evidence` and `NodeVersionView` share the SQL
+predicates. `ObserveReportTx` retains the actual receipt time instead of substituting
+a later processing timestamp. No new evidence migration is needed.
+
+D-048 `UpdateTarget.policy_generation` and `policy_refs` come from the accepted
+result selected by the latest job's `observed_evidence.result_id`. `GetBatch`
+joins that result in its existing cursor-page query, sharing `Evidence`'s lookup
+semantics without a query per target. Missing result/history is explicit JSON
+null. Reported `"0"` and known empty references `[]` remain values. Neither a
+newer desired state nor a late historical result replaces accepted evidence.
+
+Integration coverage lives under `internal/nodes/httpwire` and uses the real
+httpapi middleware, test CA, isolated PostgreSQL databases and local HTTP fakes.
+It covers enrollment replay/conflict/reinstall, one-time bootstrap, certificate
+revocation/overlap expiry, snapshot stability and first sync, update-result
+conflicts, observation dedupe and confirmation, signed control state/ETags,
+lease deadlines and replay, NetBird setup read-back/retry, peer readiness, external
+key/peer withdrawal and worker fencing.
+Full packet isolation, throughput, real arm64 execution and native client
+compatibility still require their separate labs.
+
+The composition tests also exercise missing settings (including ignoring ambient
+environment in domain builds), immediate/coalesced reconciliation seeding and
+cancellation. A subprocess test runs both actual binaries with the production
+member and node domains registered, enrolls over TLS, consumes bootstrap over
+mTLS once, observes durable scheduled work and verifies clean SIGTERM shutdown.
+
+D-039 limits domain integration tests to core plus the domains under test; only
+composition and binary tests use the production `Domains()` list. Shared helper
+`internal/nodes/nodestest.New(t, nodestest.NetBird{})` writes a strict **TEST ONLY**
+configuration, ephemeral CA/vault and synthetic token under the test's private
+disk temporary directory. Its default NetBird URL points at a local TLS fake that
+rejects unexpected calls. Tests that exercise adapter requests pass their own
+local TLS fake URL, deployment and token file and configure trust for it. The
+returned `Path` supplies `NodesConfigFile`; `Nodes.CACertificateFile` supplies the
+agent listener CA. The helper has no dependency on either application, changes
+no environment variables, and adds no production defaults.
+
+The HTTP desired-state path reads `NewDBPolicyReader(tx)` and
+`NewDBEntitlementReader(tx)` in the same fleet-before-node transaction. The
+entitlement reader uses D-030 serving projections and persisted FUP evidence;
+unpublished nodes contain no member policies. The policy reader supplies active
+revision references and the active `dns_publication_heads` generation. The adapter
+adds the authorized fleet update intent and filters serving releases through the
+explicit fleet allowlist minus revocations. Missing resolver configuration or
+release-support policy remains fail closed.
+
+Cache validation compares concrete revision references and the fully compiled
+document, including generations, DNS, member eligibility, FUP rates and bindings.
+It ignores only the candidate's new generation and issue/expiry timestamps after
+checking the stored generation, signature and refresh deadline. The compiler's
+signing boundary occurs before persistence: an unchanged document returns the
+existing envelope without another desired-state/audit write. A policy revision,
+DNS publication, FUP update or member suspension therefore cannot remain hidden
+behind an otherwise fresh ETag.
+
+## Resolver documents, group membership and observations (follow-up 11)
+
+D-057 group creation writes `member_groups`, the typed D-059 `group.create` audit
+(`member_group: