No way to give an agent access to exactly one lease: tokens never expire and a shared token is one tenant
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 38/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- typescript
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- TypeScript
- スター
- 705
- フォーク
- 40
- 平均マージ
- 12時間 9分
- マージ済み PR(30日)
- 376
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
callstackincubator/simlock のほかの issue
-
request:new
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
callstackincubator/simlock#1806 ·
メンテナーはふだん 1 日以内に返信
-
bug:new
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
callstackincubator/simlock#1780 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
task:draft
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
callstackincubator/simlock#1441 ·
メンテナーはふだん 1 日以内に返信
-
bug:new
難易度 2/5 1〜3時間 初心者へのやさしさ 45/100
callstackincubator/simlock#1805 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug:new
難易度 2/5 1〜3時間 初心者へのやさしさ 45/100
callstackincubator/simlock#1804 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
callstackincubator/simlock の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
Update project links after the repository renames対応中かも @JonathanTSilva が今日担当しました。 オープンai-generated priority: p2 size: xs type: bug
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
JonathanTSilva/jts-website#119 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
promplate/code-review#158 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[Docs] CONTRIBUTING points the Backend Remake milestone at a branch that does not exist対応中かも @franpts2 が今日担当しました。 オープンdocs
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
メンテナーはふだん 3 日以内に返信