fix(policy): support legitimate CDI policies above 256 paths
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
調査の方向性
まず、issue の非機密なパスメタデータに基づくハードウェア不要の fixture を使って、301-path NVIDIA Jetson AGX Thor CDI policy を再現し、その後、権限と mount/device のセマンティクスを維持した安全な正規化を調査します。境界、重複、競合、過大な入力、fail-closed の動作に対するカバレッジを追加します。完了には、範囲を限定した policy の判断、ドキュメント、AGX Thor および IGX Orin での exact-build ARM64 NemoClaw の検証成功に加えて、一覧にある restart、resume、rebuild、および負のケースが必要です。
索引モデルが issue の本文から書いたものです。
説明
Problem
The native Docker CDI policy-enrichment path produced 301 filesystem paths for the NVIDIA Jetson AGX Thor qualification device, exceeding OpenShell's current 256-path policy limit before NemoClaw onboarding could complete.
The validation stack was #1606 through #2775, #2776, #2265, and #2846. A local 512-path change allowed qualification to proceed, but a blind limit increase is not a reviewed production solution: OpenShell must preserve a bounded, fail-closed policy while supporting legitimate CDI specifications.
Expected behavior
A legitimate selected Jetson CDI device can enrich the effective sandbox policy without exceeding an implementation-only ceiling. Duplicate or structurally redundant paths are normalized where safe. Excessive, malformed, conflicting, or adversarial requirements still fail closed with a diagnostic that reports the observed count and supported bound without dumping sensitive host metadata.
Acceptance
- Reproduce the 301-path AGX Thor CDI policy using a hardware-free fixture shaped from non-secret path metadata.
- Determine whether safe normalization/deduplication reduces the effective set; preserve distinct permissions and mount/device semantics.
- Define and document a bounded capacity that covers supported CDI devices, or replace the fixed entry ceiling with a resource limit tied to the actual policy representation.
- Add boundary tests at the accepted maximum, one above it, duplicate paths, conflicting access modes, and maliciously large input.
- Keep non-GPU sandbox policy and resource use unchanged.
- On the exact released OpenShell build, run the official ARM64 NemoClaw image through full AGX Thor and IGX Orin onboarding with exit 0 and no qualification-only limit patch.
- Re-run restart, resume, rebuild, non-GPU negative, and invalid/missing CDI fail-closed cases.
Current evidence
- NVIDIA/OpenShell#2846#issuecomment-5684128551 records the 301-path failure and local 512-path qualification change.
- NVIDIA/NemoClaw#8910#issuecomment-5684731268 records the accepted downstream ownership and release-gated validation contract.
- 主要言語
- Rust
- スター
- 8.7k
- フォーク
- 1.3k
- 平均マージ
- 1日 20時間
- マージ済み PR(30日)
- 311
環境構築
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
NVIDIA/OpenShell のほかの issue
-
area:docs
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
state:triage-needed
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
NVIDIA/OpenShell#3400 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
area:cli state:validated
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
NVIDIA/OpenShell#2888 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
state:triage-needed
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
メンテナーはふだん 1 日以内に返信
-
area:build spike state:review-ready state:stale
難易度 2/5 半日 初心者へのやさしさ 68/100
NVIDIA/OpenShell#2401 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
NVIDIA/OpenShell の issue をすべて見る
似ている issue
-
area:casework bug criticality:p3 triage:needs-implementation
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
registrystack/registry-stack#1623 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
DioxusLabs/anyrender#98 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
leptos-rs/leptos#4885 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
longbridge/gpui-kit#3276 ·
メンテナーはふだん 1 日以内に返信