Understanding how /workflows:compound captures learnings from sub-agent work

Đang mở
#186 4 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ó
4/5
Thời gian dự kiến
3-5 ngày
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
Đình trệ
Công nghệ
typescript
Lĩnh vực
developer-experience

Hướng nghiên cứu

Read the /workflows:compound and sub-agent workflow definitions in the repository to trace what context and artifacts they consume. Then inspect the relevant instructions for how agents report findings; compare them with the questions raised here. Done means documenting how context loss is handled and whether workflow changes or usage guidance are warranted.

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

Mô tả

documentation

Context

I've started using the compound engineering workflow and I'm trying to understand how the compound step works in practice, specifically around sub-agent context and information retention.

What I'm trying to understand

When work happens through sub-agents (via /workflows:work, /lfg, /slfg), each sub-agent has its own context where it may try multiple approaches, hit dead ends, discover codebase quirks, and eventually succeed. The sub-agent then returns a summary to the orchestrator.

By the time /workflows:compound runs at the end, several things may have happened:

  1. Sub-agents compressed their experience into summaries, potentially dropping the failed attempts and unexpected discoveries that are arguably the most valuable things to compound
  2. Multiple sub-agent summaries have accumulated in the orchestrator's context, with early ones potentially losing weight as later tasks push them further back
  3. On longer task lists, compaction may have occurred at least once before the compound step runs, which could mean early sub-agent summaries are gone entirely — not just far back in context, but actually removed

Questions

  1. What does /workflows:compound actually read from? Does it work from the orchestrator's conversation context, the git diff, the PR, the plan file, or some combination?

  2. If it relies on the orchestrator's context, how does it handle the case where compaction has already occurred and early task summaries have been lost?

  3. Do sub-agents currently have any instructions to report failed approaches and unexpected discoveries, or are they primarily reporting outcomes?

  4. Is there a recommended task list size or session structure where the compound step works best? For example, should users be running compound more frequently on long feature branches rather than once at the end?

  5. Has the team observed cases where the compound step produced thin or low-value docs/solutions/ entries, and if so, was context loss a contributing factor?

  6. Would it make sense to compound at the sub-agent level — having each sub-agent capture learnings while its full context is still fresh, right after completing its task? If so, is there a recommended way to achieve this today, or would it require changes to the workflow?

I want to make sure I'm getting full value from the compound step rather than just going through the motions. Any insight into how this actually works under the hood would be really helpful.

Ngôn ngữ chính
TypeScript
Star
25.6k
Fork
2.1k
Merge trung bình
3 giờ 57 phút
Pull request đã merge (30 ngày)
170

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 EveryInc/compound-engineering-plugin

Tất cả issue của EveryInc/compound-engineering-plugin

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.