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

Offen
#2,175 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Anfängerfreundlichkeit
28/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
c
Bereich
backend

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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)

Vorherrschende Sprache
C
Sterne
3
Forks
7
Ø Merge
6 Std. 32 Min.
Gemergte PRs (30 T.)
285

Entwicklungsumgebung

In Codespaces öffnen

Startet den Dev-Container des Projekts im Browser, mit Ihrem eigenen GitHub-Konto.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus InauguralSystems/EigenScript

Alle Issues in InauguralSystems/EigenScript

Ähnliche Issues

Weitere Issues zu C

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.