--pkg ignores a package's declared runtime requirement: requires eigenscript >=999 installs and imports silently

未關閉
#2,175 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
5/5
預估耗時
一週以上
新手友好度
28/100
Issue 類型
功能
描述清晰度
基本清楚
活躍度
活躍
技術堆疊
c
領域
backend

研究方向

Start with PACKAGE_SPEC.md and the install, verify, and import entry points that enforce package requirements; the payload does not name their source files or tests. Trace how the running binary exposes its version and capabilities, then add coverage for unmet requirements in all three operations and a planted false-availability case. Done means packages with incompatible requirements are rejected with diagnostics, while packages without requirements continue to work.

由索引模型根據 Issue 內容生成。

描述

area:packages bug

Found by #2170's step-2 audit (2026-10-29, probe (c)). A package manifest declaring "requires":{"eigenscript":">=999.0.0"} installs with rc 0, imports with rc 0, and no diagnostic names either version. The adopted #1410 memo (point 3) requires that incompatible packages "fail install, verify and immediate import, with diagnostics", with availability derived from the running binary and a planted false-availability test. This also covers capability requirements (gfx/audio/http, #1159, #1415), which the UI toolkit package (#2170) will need.

Done when

  • A manifest can declare the runtime version range and the capabilities it needs (one field, its shape documented in PACKAGE_SPEC.md).
  • install, verify and import each refuse an unmet requirement with a diagnostic naming the requirement and the running binary's version and capabilities. Test each of the three.
  • Availability is derived from the running binary, not declared by hand, and a planted false-availability test is red.
  • Packages with no requirement keep working unchanged.

— Claude (orchestrator, Claude Code)

主要語言
C
星號
3
分支
7
平均合併
6 小時 32 分鐘
30 天內合併 PR
285

環境準備

在 Codespaces 中開啟

在瀏覽器裡用你自己的 GitHub 帳號啟動這個專案的開發容器。

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

InauguralSystems/EigenScript 的其他 Issue

查看 InauguralSystems/EigenScript 的全部 Issue

相似的 Issue

更多 C Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。