TypeSpec remediation skill for Java

Đang mở
#51,237 1 bình luận 1 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
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
java
Lĩnh vực
devtools

Hướng nghiên cứu

Read the shared remediation contract in Azure/azure-rest-api-specs#48168 and the dependent Java review skill issue #51221 first; the skill path and maintainer names are still placeholders. Build .github/skills/<remediation-skill-name>/SKILL.md to consume the supplied review result and context, map every finding exactly once, and emit the versioned result without edits. Done means reviewed historical examples and CI evals cover supported planes, uncertain cases route to manual-investigation, and maintainers and CODEOWNERS are confirmed.

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

Mô tả

needs-triage

Parent: https://github.com/Azure/azure-rest-api-specs/issues/48167
Repository: Azure/azure-sdk-for-java
Depends on: #51221 (generated SDK review skill)

Language-team ownership

  • Language owner completing this issue:
  • Remediation skill maintainers:
  • CODEOWNERS paths or team: <paths/team>

Summary

Author and maintain a TypeSpec remediation skill that takes the findings from the Java review skill and maps each one to where the spec author (or SDK team) should fix it.

This skill consumes the review skill's output, so it depends on #51221. The initial phase is guidance only. The pipeline never edits the spec PR or the SDK repo.

Shared skill contract

The central invocation, input, output, and trusted-validation contracts are defined in Azure/azure-rest-api-specs#48168.

The language team owns the skill's internal design, rules, supporting tools, and methodology. Central integration requires only that the skill satisfies the shared remediation contract within the provided read-only execution environment.

Deliverable: TypeSpec remediation skill

Location: .github/skills/<remediation-skill-name>/SKILL.md

  • Accepts the immutable review result and typespec-review-context.json supplied by the central workflow.
  • Returns the versioned TypeSpec remediation result defined in Azure/azure-rest-api-specs#48168.
  • Maps every review finding exactly once without adding, removing, or rewriting findings.
  • Produces guidance only and does not edit or regenerate code.

Evidence and evals

  • A small set of historical findings with known accepted fixes (TypeSpec, client.tsp, SDK-repository customization, or manual).
  • Examples for every plane supported by the review skill, or a documented subset with gaps and follow-up ownership.
  • Evals confirm that each finding is routed to the expected target and that uncertain cases go to manual-investigation.
  • Evals run in CI in this repository.
  • Evidence links and expected outcomes are reviewed by the language-team maintainers.

Pilot packages

Uses the pilot packages selected in #51221.

Maintenance

  • Named maintainers for the remediation skill (added to CODEOWNERS for the skill folder).
  • Process for updating the skill as client.tsp decorators, emitter options, or SDK customization mechanisms change.

Completion criteria

  • The skill path is final and owned by the language team.
  • The skill satisfies the shared remediation contract in Azure/azure-rest-api-specs#48168.
  • Supported planes match the review skill or are a documented subset.
  • Historical examples and evals are reviewed and passing.
  • Maintainers and CODEOWNERS are confirmed.
  • The language team confirms the skill is ready for central remediation integration.

Out of scope

Generated SDK review (tracked in #51221), central workflow implementation, PR publication, blocking checks, applying fixes, and regeneration.

Ngôn ngữ chính
Java
Star
2.6k
Fork
2.2k
Merge trung bình
1 ngày 17 giờ
Pull request đã merge (30 ngày)
259

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

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

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 Azure/azure-sdk-for-java

Tất cả issue của Azure/azure-sdk-for-java

Issue tương tự

Thêm issue về Java

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.