Add community node socket: devices, tickets, consent gate, kill switch
Phase 3 of plan.md. Device registration with one-time secrets, scoped single-use socket tickets, the lock-owner WS /nodes/ws with handshake and heartbeat eviction, a single batch ConsentGate, and NodesService which disconnects nodes within one tick when consent, device or the nodes_enabled kill switch changes. A reconcile of 2000 sessions measured about 110 ms after replacing per-session queries with batches. Devii may withdraw but never grant bandwidth_sharing. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -205,6 +205,13 @@ from devplacepy.schemas.game import (
|
||||
GameQuestOut,
|
||||
GameStateOut,
|
||||
)
|
||||
from devplacepy.schemas.nodes import (
|
||||
NodeDeviceCreatedOut,
|
||||
NodeDeviceOut,
|
||||
NodeDevicesOut,
|
||||
NodeSecretOut,
|
||||
NodeTicketOut,
|
||||
)
|
||||
from devplacepy.schemas.skills import (
|
||||
SkillDetailOut,
|
||||
SkillInstallOut,
|
||||
|
||||
Reference in New Issue
Block a user