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

Design explicit acceptance and review of changed skill content

Đang mở
#235 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ó
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
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript
Lĩnh vực
cli, security

Hướng nghiên cứu

Bắt đầu bằng cách đọc packages/intent/src/core/source-policy.ts và packages/intent/src/core/intent-core.ts, sau đó xem lại các quyết định liên quan trong các issue #204, #220, #221, #222 và #229. Xác định quy trình review và chấp nhận, ranh giới danh tính, chẩn đoán, các cơ chế bảo vệ quyền hạn và một phần triển khai có hành vi từ chối hiển thị cùng các bài kiểm thử; được xem là hoàn tất khi các tiêu chí chấp nhận đã được đặc tả mà không bổ sung plumbing chỉ dành cho storage.

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

Mô tả

Problem

Current permission selects a source or skill name, not a reviewed content snapshot. An allowed skill can change without a version change and load immediately. This is documented name-based trust behavior, not a bypass of an existing content lock.

Evidence

Replacing an allowed SKILL.md body while preserving package name and version changed the content returned by loadIntentSkill on the next call.

Sources: permission matching, live content read. #204 previously explored broader accepted-state work; #220 and #221 explicitly exclude byte-level content verification.

Verified against main at 206e987 (@tanstack/intent 0.3.8), Node v24.12.0 on macOS arm64. Tests used installed dependencies and synthetic local fixtures.

Acceptance criteria

  • Define the user flow for reviewing, accepting, and refusing changed content before choosing a storage format.
  • Define source identity and the acceptance boundary for SKILL.md, referenced resources, scripts, new files, deletions, and path escapes.
  • Specify what happens when package version stays unchanged but accepted content changes.
  • Distinguish content equality, publisher provenance, and instruction safety in diagnostics and documentation.
  • Define who may update acceptance state and what host/filesystem protections are required for a hard authority boundary.
  • A proposed implementation slice includes visible review/refusal behavior and tests, not storage-only plumbing.

Scope and priority

Priority: High. Type: feature design.

Separate design and follow-up release, not a v0.4.0 dependency. Reuse #222 for policy explanations and #229 for command-authority work. Do not widen #221 into content drift. No hosted registry, Git sources, native delivery synchronization, or claim that a hash proves safety.

Ngôn ngữ chính
TypeScript
Star
331
Fork
22
Merge trung bình
12 giờ 17 phút
Pull request đã merge (30 ngày)
51

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

Mở 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 TanStack/intent

Tất cả issue của TanStack/intent

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.