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

Plan contradiction: force push is both an extracted action and excluded as network egress

Đang mở Phù hợp với người mới
#86 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ó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
74/100
Loại issue
Tài liệu
Độ 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
documentation, security

Hướng nghiên cứu

Đọc docs/plans/2026-09-19-intent-aware-judgment.md cùng với literal-match.ts, bắt đầu từ bảng § Literal match và đoạn về loại trừ. Giải quyết mâu thuẫn bằng cách khiến kế hoạch mô tả nhất quán chính sách force-push đã chọn và lý do của chính sách đó; hoàn thành khi bảng và phần loại trừ không còn mâu thuẫn với hành vi hiện tại hoặc với một thay đổi được biện minh rõ ràng.

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

Mô tả

The intent-aware plan (docs/plans/2026-09-19-intent-aware-judgment.md) says two things that cannot both hold:

  • The action table (§ Literal match) lists "Force push, branch delete" as an extracted action that can match literally.
  • The paragraph under it says: "These always go to the reviewer and never match literally: any network egress, any use of a secret, privilege (sudo, doas), and any segment that is not extracted or inert."

A force push is network egress, so the table row is unreachable under the exclusion.

literal-match.ts resolves it the conservative way: it does not extract any push, so a force push goes to the reviewer. Branch delete is local and still matches. Pick one and make the plan say it:

  1. Keep the exclusion as written and drop force push from the table (what the code does today).
  2. Carve out git push to its own remote as not "egress" for this purpose, and say why the carve-out is safe.

Option 1 costs a dialog on git push --force-with-lease to a branch the user named. Option 2 needs an argument for why a push is different from scp, and the plan does not make one.

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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

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 STRML/omp-classifier

Tất cả issue của STRML/omp-classifier

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.