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

session: plan-born task worker briefs omit standing project orders

Đang mở
#1,549 2 bình luận 0 reaction 1 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ó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
78/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
go
Lĩnh vực
cli, devtools

Hướng nghiên cứu

Start in internal/session/task_brief.go:225-300 and compare plan-born worker message composition with TaskGraph.briefLocked, which appends standing orders to node.brief. Reproduce with a plan containing a project standing order and inspect the worker prompt journal at .codeaf/v3/.../transcript.jsonl. Done means every applicable rule appears in prompts for workers created directly and through plans.

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

Mô tả

area:session bug sev:critical
Summary

Standing project orders appended to node.brief are never included in worker prompt generation for tasks created from execution plans.

Observed Behavior

When a task is spawned via a plan, active standing orders (<standing> rules) defined for the project are missing from the system prompt given to the task worker, leading workers to violate project constraints.

Expected Behavior

Every delegated task worker must inherit all applicable standing orders for the target repository/project regardless of whether it was spawned directly or via a multi-step plan.

Reproduction Steps
  1. Add a standing order to a project (e.g. strict coding style or git branch constraints).
  2. Propose and approve a multi-step task that generates a plan graph.
  3. Inspect the worker prompt journal in .codeaf/v3/.../transcript.jsonl.
  4. Notice that <standing> orders are absent from the worker's brief.
Root Cause / Location

TaskGraph.briefLocked correctly appends standing orders to node.brief, but plan-born worker message composition in internal/session/task_brief.go:225-300 builds the prompt independently from plan template data and skips the appended standing rules.

—
Drafted with CodeAF · reviewed and owned by the author

Ngôn ngữ chính
Go
Star
115
Fork
14
Merge trung bình
9 giờ 44 phút
Pull request đã merge (30 ngày)
766

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

Chúng tôi chưa kiểm tra các tệp thiết lập môi trường của dự án này. 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 Agent-Field/CodeAF

Tất cả issue của Agent-Field/CodeAF

Issue tương tự

Thêm issue về Go

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.