spec template: a fix-up round updates the PR body

Đang mở Phù hợp với người mới
#80 0 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ó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
75/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ệ
markdown, python
Lĩnh vực
devtools, documentation

Hướng nghiên cứu

Đọc shared/dev-team/skills/orchestrate/references/spec-template.md và xem mục “For a fix-up round”, sau đó kiểm tra các quyền mặc định trong references/cross-host.md theo chỉ dẫn của issue. Cập nhật mẫu và các quyền mặc định để đặc tả fix-up chỉ bao gồm việc cập nhật phần nội dung của PR được nêu tên, gồm cả vòng và các bước kiểm tra; nếu không có lệnh chỉnh sửa PR, đặt phần nội dung cạnh đích báo cáo. Chạy python3 scripts/build.py --check và các bài kiểm thử được nêu trong AGENTS.md; sắp xếp việc đánh giá độc lập theo yêu cầu.

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

Mô tả

next

Problem

The fix-up section of the spec template (references/spec-template.md, "For a fix-up round") lists only the PR, the findings and the items not to change. It does not say whether the implementer updates the PR body after the fix. The orchestrator wrote the permissions of each fix-up spec by hand, and they were not the same each time:

  • One fix-up spec allowed the project's PR-edit command (<project PR script> --edit <N> <body.md>) and told the implementer to keep the rest of the body. The implementer updated the body.
  • Two later fix-up specs in the same session (2026-12-01) allowed only read-only tracker API calls. Each implementer wrote an updated body file. The first wrote it to a temporary directory outside the scratchpad that the spec named. Each reported "PR body update awaits the main session". The orchestrator then compared the file with the live body and applied it by hand.

The PR body is the record of the review rounds: what each fix changed, and the tests that fail without it. If the body is not updated, the owner can merge a PR whose body describes an earlier head.

Proposed change

In shared/dev-team/skills/orchestrate/references/spec-template.md, "For a fix-up round", add one item: the implementer updates the PR body for the fix. It adds the round (the finding, the fix and the test that fails without it), updates the checks to the new head, and keeps the rest of the body. It uses the project's PR-edit command. If the project gives none, it writes the body to the report destination's directory and states this in the report.

Then check the related permission defaults in references/cross-host.md (grep -n 'Default Codex permissions' -A20 cross-host.md). An implementer that may open a PR may also need to edit that PR's body. Make sure that the defaults allow this for the PR that the spec names only.

Acceptance

  • The fix-up section names the PR-body update. A fix-up spec made from the template needs no hand-written permission for it.
  • Run python3 scripts/build.py --check and the test commands of AGENTS.md. This change needs an independent review (AGENTS.md).
Ngôn ngữ chính
Python
Star
0
Fork
0
Merge trung bình
29 phút
Pull request đã merge (30 ngày)
57

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 j3ko/agent-plugins

Tất cả issue của j3ko/agent-plugins

Issue tương tự

Thêm issue về Python

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.