feat(control): reconcile link policies #11

Merged
ochenstarik-ui merged 2 commits from hermes/task2-b-link-reconciliation into main 2026-08-03 03:52:19 +00:00
ochenstarik-ui commented 2026-08-03 03:41:17 +00:00 (Migrated from github.com)

Summary

  • add fail-closed factual nftables Link policy probing
  • reconcile desired Link state after reconnect and privileged mutations
  • serialize reconnect, disable, TTL, and certificate reenrollment paths
  • expose desired/actual drift, errors, and versions in Desktop
  • strengthen three-server acceptance contracts for factual state, disable, TTL, and restart

Security review

  • initial independent review found two HIGH concurrency/replay findings
  • both repaired with node/per-Link serialization and resumable convergence
  • independent repair-review: APPROVE; no BLOCKING/HIGH/MEDIUM findings

Verification

  • Control tests: 69/69 PASS
  • Desktop security tests: 12/12 PASS
  • Desktop Release x64: 0 warnings, 0 errors
  • changed shell syntax: PASS
  • bootstrap contract: PASS
  • Windows Desktop contracts: PASS before backend-only repair
  • git diff --check: PASS

Physical acceptance

Not run: HUB/SOURCE SSH hosts/users, WireGuard IPs, and identity file are not configured in this environment. Contract/mock evidence is not presented as physical acceptance.

## Summary - add fail-closed factual nftables Link policy probing - reconcile desired Link state after reconnect and privileged mutations - serialize reconnect, disable, TTL, and certificate reenrollment paths - expose desired/actual drift, errors, and versions in Desktop - strengthen three-server acceptance contracts for factual state, disable, TTL, and restart ## Security review - initial independent review found two HIGH concurrency/replay findings - both repaired with node/per-Link serialization and resumable convergence - independent repair-review: APPROVE; no BLOCKING/HIGH/MEDIUM findings ## Verification - Control tests: 69/69 PASS - Desktop security tests: 12/12 PASS - Desktop Release x64: 0 warnings, 0 errors - changed shell syntax: PASS - bootstrap contract: PASS - Windows Desktop contracts: PASS before backend-only repair - git diff --check: PASS ## Physical acceptance Not run: HUB/SOURCE SSH hosts/users, WireGuard IPs, and identity file are not configured in this environment. Contract/mock evidence is not presented as physical acceptance.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: ochenstarik/server-monitor-manager#11
No description provided.