No way to give an agent access to exactly one lease: tokens never expire and a shared token is one tenant
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 38/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- typescript
- Área
- authentication
Línea de trabajo
Start by reading ADR 0033 and locating tokenRecordSchema and the lease.request flow mentioned in the issue. Trace how tokens authorize lease routes and how lease endings and expiry are handled. Done means a credential can access only its lease for that lease’s lifetime; the issue also raises token expiry as a separate option.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
The problem
A remote agent that needs one device gets a long-lived agent token. Tokens have no expiry (tokenRecordSchema: id, role, label, createdAt, workerId), and every agent that shares a token is one requester and one agent-device tenant, so it can see the others' sessions. To hand a device to a short-lived job safely we'd have to mint and revoke a token per job ourselves, and even then the token reaches more than that one lease.
Who runs into this
A coordinator or CI job that leases a device on behalf of an agent it doesn't fully trust (an agent working on a contributor's branch, a job on someone else's machine) and wants to give that agent access to exactly one device for exactly the lease's lifetime.
What you would like to happen
A credential scoped to one lease: valid only for that lease's routes (exec, stream, input, files, the agent-device front) and dead the moment the lease ends or expires. For example, lease.request could optionally return one alongside the lease. Separately, an optional expiresAt on tokens would help for anything that can't be scoped to a single lease.
Anything else
Workaround today: one agent token per binding, a requesterId per actor, and revoking tokens by hand. ADR 0033 gives proxy identities an expiresAt, which is close to what we'd want for tokens.
- Lenguaje dominante
- TypeScript
- Estrellas
- 705
- Forks
- 40
- Merge medio
- 12 h 9 min
- PR fusionados (30 d)
- 376
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
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de callstackincubator/simlock
-
request:new
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
callstackincubator/simlock#1806 ·
Los mantenedores suelen responder en 1 día
-
bug:new
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
callstackincubator/simlock#1780 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
task:draft
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
callstackincubator/simlock#1441 ·
Los mantenedores suelen responder en 1 día
-
bug:new
Dificultad 2/5 1-3 horas Aptitud para principiantes 45/100
callstackincubator/simlock#1805 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
bug:new
Dificultad 2/5 1-3 horas Aptitud para principiantes 45/100
callstackincubator/simlock#1804 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de callstackincubator/simlock
Issues similares
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
Update project links after the repository renamesPosiblemente ocupada @JonathanTSilva la tomó hoy. Abiertoai-generated priority: p2 size: xs type: bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
JonathanTSilva/jts-website#119 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
promplate/code-review#158 · 1 comentario · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
[Docs] CONTRIBUTING points the Backend Remake milestone at a branch that does not existPosiblemente ocupada @franpts2 la tomó hoy. Abiertodocs
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100
Los mantenedores suelen responder en 3 días