Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Library callers can pass ids the grammar would refuse

Đang mở
#259 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
58/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript
Lĩnh vực
testing-qa

Hướng nghiên cứu

Start by reading the shared ID grammar and the exported gate() and mintReceipt() entry points. Trace the listed ID fields through both library boundaries and check the ground truth contract for the required behavior. Done means every screen or surface ID is validated with a typed error naming its field and position, without echoing the ID.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

area: engine enhancement security

What

The shared id grammar is enforced where files are read: config, route sidecar, docs manifest, requirements, and noise budget keys. The exported gate() and mintReceipt() accept ids directly: coverage.affected[].screenId, drafts[].screenId, floor.entries[].screenId, waivers[].surface, cleanlyScannedScreens, checked, applicability[].screenId, and the config object handed to mintReceipt(). None is re-checked on the library path.

Direction

Validate every screen or surface id field at the boundary of both exported functions, refusing with a typed error that names the field and position and never echoes the id. The contract in the ground truth states this boundary explicitly.

Ngôn ngữ chính
TypeScript
Star
0
Fork
0
Merge trung bình
2 giờ 48 phút
Pull request đã merge (30 ngày)
8

Chuẩn bị môi trường

  • Không có Dockerfile hay tệp Docker Compose
  • Có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của usabl-dev/usabl

Tất cả issue của usabl-dev/usabl

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.