approve_node never rotates an existing key; node update-check endpoint; real Update Node button (node-26#14, #15) #194
No Reviewers
Labels
Clear labels
area/ai-pipeline
area/auth
area/billing
area/correlation
area/discord
area/frontend
area/governance
area/growth
area/infra-deploy
area/legal
area/map
area/mqtt
area/node-ota
area/osint
area/recording-audio
area/sdr-radio
area/transcription
board
board:agenda
minutes:draft
minutes:final
role:ceo
role:cfo
role:cio
role:ciso
role:cmo
role:coo
role:cto
Scene/entity extraction, summarizer, AI providers, embeddings
AuthN/Z, roles, tenancy/org scoping, API keys, credentials
Plans, entitlements, AI spend accounting and caps
Incident correlation, linking, lifecycle, severity, corr_debug
Discord bot, radio bots, voice streams, bot tokens, webhooks
Web UI: Next.js app and the edge-node local dashboard
Board process, minutes, unattended runner, agent tooling
Go-to-market, outreach, cold email, discovery conversations
CI/CD, VM, registry, Firestore rules/indexes deploy, Terraform/Caddy
ToS, retention, licences/DAAs, CAN-SPAM, E&O, name suppression
Live map: pins, paths, tiles, legend, geocoding
Node-C2 MQTT, checkins, commands, node sweeper, dynsec
Node install, enrollment, OTA updater, image skew
External feeds: cameras, 511, ADS-B, AIS, outages, and their licences
Call capture, boundaries, PulseAudio, ring buffer, trimming, attribution
OP25 decode, SDR hardware/tuning, conventional, second SDR, mesh radio
STT, transcript correction, place verification, name accuracy
Board process: minutes and board-filed items
Needs board scoping at the next sitting; CEO removes the label once scoped
One exec pre-read, closed by CEO
CEO ruling; open until enacted
Filed by the CEO
Filed by the CFO
Filed by the CIO
Filed by the CISO
Filed by the CMO
Filed by the COO
Filed by the CTO
kind
behavior-bug
Wrong product behavior; the instrument reads it correctly
kind
measurement-bug
Corrupts the recording/instrument (debug data, evals, health checks), not behavior
priority
p0
Drop everything: prod broken, live exposure, or owner-ruled P0
priority
p1
Next up: blocks a gate, a customer, or core incident quality
priority
p2
Normal: real defect or planned work, schedule in turn
priority
p3
Low: minor, cosmetic, or someday
status
blocked
Waiting on an external party, spend, or another issue
status
in-progress
Branch or PR open against it
status
needs-decision
Waiting on an owner or board ruling before work
status
needs-info
Root cause or repro unknown; needs a reading first
type
bug
Something built is wrong: code, data, or a measurement
type
chore
Maintenance, refactor, tests, pinning, cleanup: no user-visible change
type
decision
A ruling to make or record: board minutes, owner calls, legal reviews
type
docs
Docs, runbooks, CLAUDE.md, skills, SOPs
type
feature
New capability or an extension of an existing one
type
security
Security, privacy, credential or tenant-isolation exposure
type
tracking
Tracker, checklist, initiative or punch-list spanning several changes
No labels
Milestone
No items
No Milestone
Projects
Clear projects
No projects
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: logan/server-26#194
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Server half of node-26#14 and node-26#15. Pairs with node-26 PR
fix/14-15-provision-ota. Merging deploys to prod. The owner decides when.node_keys/{id}.api_keywhen one already exists. It still re-syncs dynsec with that same key and never overwritesnode_keys, so re-clicking Approve can no longer lock out a live node. Rotating a key stays a separate action (reissue-key).update_requested_aton the node doc and also sends the MQTTnode_updatecommand (best-effort).X-Pickup-Secret. It returns onlyupdate_requested_atand recordsupdater_last_check_at, the sha and the applied result. An unknown node gets 401 rather than 404, so the endpoint can't be used to discover node IDs. C2 cannot name a ref, an image or a command.Tests: c2-core 509 pass, including the new
tests/test_node_provisioning.py(12 tests). Frontend typecheck has not run because there's no node/npm on the authoring box. Please runnpm run typecheckindrb-frontend/before merging.- approve_node: reuses node_keys/{id}.api_key when one exists (still re-syncs dynsec with it, still never overwrites node_keys). Re-clicking Approve can no longer lock a live node out. Reissue stays explicit. - POST /nodes/{id}/request-update (admin): sets update_requested_at on the node doc AND sends MQTT node_update best-effort, so offline/locked-out nodes still get it. - POST /nodes/{id}/update-check (node, inline auth: Bearer api_key for THAT node or X-Pickup-Secret): host updater's HTTPS check-in. Returns only update_requested_at; records updater_last_check_at / sha / applied result. Unknown node -> 401 (no node_id oracle). C2 cannot name a ref, image or command. - Frontend: "Update Node Software" (admin only) calls request-update, honest confirm text; node page shows updater check-in and last update state. Tests: tests/test_node_provisioning.py (12). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>