Skip to content

Daemon pre-launch reliability + data-plane trust gate (default-off) + PII redaction#417

Merged
TeoSlayer merged 2 commits into
mainfrom
feat/prelaunch-daemon-hardening
Jul 23, 2026
Merged

Daemon pre-launch reliability + data-plane trust gate (default-off) + PII redaction#417
TeoSlayer merged 2 commits into
mainfrom
feat/prelaunch-daemon-hardening

Conversation

@TeoSlayer

Copy link
Copy Markdown
Collaborator

Makes the daemon-side hardening durable in git (WS1/WS4/WS6).

WS6 reliability (always-on) — the local-daemon + fleet wedge fixes: registry-pool half-open detection (idle-ping + pong deadline → reconnect), per-request resolve deadline (no more hangs), rx-watchdog restart-loop breaker.
WS1 data-plane trust (default-off)StrictDataPlaneTrust control-path gate, default false, bypassed on Public nodes → wire-compatible, not enforcing until enabled.
WS4 (partial)redactID helper for pre-trust identifiers.

Excluded/parked (follow-up, in session scratchpad): a non-compiling test (imports nonexistent pilot-router-poc/router), relay-debug scaffolding, real-network relayonly integration tests, unrelated catalogue+workflow. No flag default flipped. Staged pkg/daemon code builds + vets clean + tests green (2 unrelated IPC test failures are the macOS unix-socket path-length limit, pass on Linux CI).

🤖 Generated with Claude Code

…+ PII redaction

WS6 reliability (always-on): registry-pool half-open detect (idle-ping 30s + pong
deadline 10s -> reconnect), per-request resolve deadline, rx-watchdog restart-loop breaker.
WS1 data-plane trust: StrictDataPlaneTrust control-path gate, DEFAULT FALSE + bypassed on
Public nodes (wire-compatible, not enforcing until enabled).
WS4 (partial): redactID helper for pre-trust identifiers.

Excludes/parks for follow-up: a non-compiling test importing nonexistent
pilot-router-poc/router, relay-debug scaffolding, real-network relayonly integration
tests, unrelated catalogue/workflow. No enforcement flag default flipped.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Comment thread pkg/daemon/daemon.go
if d.regConn != nil {
d.regConn.Close()
if d.reg() != nil {
d.reg().Close()
…(default off)

Makes the WS1 StrictDataPlaneTrust gate flippable in prod. Default false +
bypassed on Public nodes — no behavior change, wire-compatible with old agents.
Enforcement stays deferred.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@TeoSlayer
TeoSlayer merged commit b80e5df into main Jul 23, 2026
14 checks passed
@TeoSlayer
TeoSlayer deleted the feat/prelaunch-daemon-hardening branch July 23, 2026 21:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants