Tailscale: tagging tag:grokbot drops the session; reconnect mints a new untagged device

Abierto
#1,172 5 comentarios 1 reacción 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
46/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
typescript

Línea de trabajo

Start with the Tailscale plugin in third_party/tailscale and trace how it authenticates and reconnects a device after its tag changes. Check the plugin docs and tailscale-setup skill for the documented tag:grokbot flow. Done means tagging no longer leads to repeated new, untagged devices, and the documented least-privilege grants work as expected.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Summary

On a personal Tailscale tailnet, applying tag:grokbot to the Grok Bot device immediately drops its session. Reconnecting via Authenticate mints a new device that is again untagged. Least-privilege ACL/grants that target only tag:grokbot therefore never take effect in practice.

Steps to reproduce

  1. Install/connect the Tailscale plugin so Grok Bot joins the personal tailnet (device appears, typically named like grokbot-user-…).
  2. In Tailscale admin, set device tags to tag:grokbot (with tagOwners allowing that tag).
  3. Observe the Grok Bot Tailscale session disconnects / device goes offline.
  4. Authenticate / Sign in again from Grok Bot.
  5. A new Grok Bot device appears on the tailnet — still untagged (owner access).
  6. Repeat: tagging again → disconnect → reconnect → another new untagged device.

Expected

Either:

  • tagging tag:grokbot keeps the same device online and tagged, so grants like src: ["tag:grokbot"] → MCP host:port work; or
  • reconnect after tagging re-joins as the same tagged device (or re-applies the tag automatically).

Actual

Tagging forces a disconnect; each reconnect creates a fresh untagged machine. The documented least-privilege path (tag:grokbot + narrow grants) is effectively unenforceable for personal tailnets. Workaround today is owner-access (untagged) plus host/IP grants, which is broader than intended.

Notes

  • MagicDNS names in grants were rejected as invalid in our policy; we used the Tailscale IP (100.x) instead — separate friction, may be worth documenting.
  • Plugin docs / tailscale-setup skill present tag:grokbot as the least-privilege path; this loop contradicts that.
  • Related but different: #774 (inbound to the box / node surviving resets).

Environment

  • Grok Bot Tailscale plugin (third_party/tailscale)
  • Personal tailnet (incremental.coach / *.ts.net)
  • Goal: reach a private MCP on the tailnet with grants limited to tag:grokbot
Lenguaje dominante
TypeScript
Estrellas
18.2k
Forks
2k
Merge medio
3 h 56 min
PR fusionados (30 d)
96

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de cursor/plugins

Todos los issues de cursor/plugins

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.