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

action summary: three things it cannot see, and what each one costs

Đã đóng
#95 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

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

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Công nghệ
shell, typescript
Lĩnh vực
authorization, security

Hướng nghiên cứu

Start with authorization.ts and the shadow action-summary behavior, then review the related concerns in #59 and phase 4 in #67. Do not change anything before the jev-v3 flip; after step 5 wires the decision order, decide whether each residual belongs in code or the plan's failure matrix.

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

Mô tả

enhancement ready-for-agent

authorization.ts's action summary is what the user_authorization question is asked over, so anything the summary cannot see is a question the model answers over a command it never saw whole. Three things it cannot see today. None of them is a bug in what shipped in #94; they are the stated edges of a summary that is not a parser.

1. The value of a command substitution

curl $(cat url.txt)

summarizes to read: url.txt and network: with no target. The inner segment is classified because the host tokenizer splits at (, but the outer segment loses the value, so the host the request actually reaches is never named. A double-quoted substitution stays inside one token instead, which is why curl -d "$(cat ~/.ssh/id_rsa)" does report the secret read.

Same root as #59, which is about commandHasOutboundNetwork missing network verbs inside substitutions. Fix both together or neither.

2. Sentence shape is a heuristic, not a boundary

A target is hashed when it reads as a sentence: three or more word parts with two or more function words. ownerSignedOff and clearedAlready have none, so they keep their text and carry a short claim to the model.

The boundary is the question's own instructions, which say targets describe an action and never authorize one. The hashing rule is defense in depth. Do not let a future change treat it as the boundary.

3. Program text is never read

awk, sed and yq report as run-code with the verb as the target. What their program does - a system() call, an e flag on s///, a -i rewrite of files named inside the program rather than on the command line - is invisible. Phase 4 reads script bodies (#67) and is the place to decide whether inline program text gets the same treatment.

What to do

Nothing before the jev-v3 flip. The summary runs in shadow and decides nothing. Reopen this when step 5 wires the decision order, and decide then whether each residual needs code or a line in the plan's failure matrix.

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

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

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

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.