Enable incorporation of developer/organizational preferences in preparation of tasks.md

Đang mở
#2,175 0 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
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript
Lĩnh vực
developer-experience

Hướng nghiên cứu

The issue names OpenSpec and tasks.md but no implementation files or tests. Start by locating how OpenSpec prepares tasks.md and how it currently reads developer instructions. Done means team preferences for workflow gates can be represented and incorporated into generated tasks; the issue leaves their format and scope to be designed.

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

Mô tả

enhancement needs-triage
The problem, in one or two sentences

Different development teams have different protocols around certain common workflows, especially when it comes to working with agents. Some teams might require performing an agentic review (e.g., /review in Claude Code or GH Copilot), or requesting an @copilot review on a PR submission.

Tasks routinely don't clearly state check-in behaviors expected, which should conform to team norms (which makes this even more fun to describe). I personally prefer commits on completion of each task group as the last step, so that I can backtrack to a previous step if I need to start over again.

From my perspective, I have a rule that before PR, a review should be done, and after all PR checks complete and the build is green, then and only then to I archive/sync the work. That's realistically my last task group, get the PR to green, and then archive sync the work so that if anything goes wrong, I can still update the design, specs, and tasks.

The one before it is get the PR submitted, which has it's own process of a) perform an agentic review, b) submiit the PR (with certain tags included) as a draft, c) requeust @copilot review, d) coordinate and address review feedback from the agent and gh @copilot.

What all of this boils down to is that there should be a way to layer team norms and guidelines for certain commonly controlled/gated behaviors into how tasks are written, so that these are incorporated into the tasks themselves, so that the agent after creating a tasks.md is following the developer's process.

I'm not sure what shape this feature would have in OpenSpec, but it goes a long way towards making it more customizable to agentic development processes which organizations are getting more structure around as they continue their exploration of agentically assisted development.

Who this affects

Everyone

Alternatives you considered

I have a CLAUDE.md which after running openspec handles some of this, but sometimes forgets a moment after and has to go back and correct itself. Most commonly forgotten are the /review steps, and a commit after each group.

Why it's worth the added complexity

Different teams have different preferences, often configured in CLAUDE on an organization, user, or even project level.

What you have in mind

There are some commonly observed control points often found in published best practices (whether you agree with them or not, those can at least tell you what users care about),. For example, these include gates and expected behaviors for submitting a PR, gates for committing, processes for handling review findings. OpenSpec can ask the agent at these control points to ensure that tasks.md is following these user preferences. If there was a strccuted way to express some of these at a project, user, or event organization level content, it would make using OpenSpec easier for teams to adopt where such processes and gates are already present.

Ngôn ngữ chính
TypeScript
Star
76k
Fork
5.2k
Merge trung bình
1 ngày 5 giờ
Pull request đã merge (30 ngày)
58

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 Fission-AI/OpenSpec

Tất cả issue của Fission-AI/OpenSpec

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.