[Bug] Pi skill uses unsupported general-purpose subagent instead of delegate

Đang mở Phù hợp với người mới
#4,494 7 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

@bercedev đang làm issue này rồi.

Từ ngày 16/10/2026.

  • #4502 của @bercedev — đã đóng, không merge

Đá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
62/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ệ
markdown
Lĩnh vực
ai-infra-agents

Hướng nghiên cứu

Bắt đầu từ graphify/skill-pi.md và tìm các tham chiếu cứng đến agent general-purpose trong Bước B2 cùng đoạn văn bản khôi phục trong Bước B3. Thay chúng bằng delegate, giữ nguyên các bước ghi và kiểm tra tệp chunk. Hoàn thành khi skill Pi không còn nhắc đến general-purpose và một bài kiểm tra hồi quy riêng cho Pi sẽ thất bại nếu tên agent không được hỗ trợ bị đưa trở lại. Hãy đọc trước PR #4502, đã đóng và chưa được merge, để xem vì sao nó không được chấp nhận.

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

Mô tả

Environment:

  • Graphify: 0.9.90, installed via uv tool
  • Host: Pi coding agent
  • Subagent extension: nicobailon/pi-subagents

Problem

Graphify's Pi-specific skill hardcodes the Claude Code agent type general-purpose during semantic extraction (Step B2).

However, native pi-subagents does not provide a built-in agent with this name. Its equivalent is delegate, which already has the required read, bash, and write tools.

The resulting error is:

Semantic extraction could not start: pi-subagents rejected requested general-purpose agent as unknown. Graph merge and output refresh did not run; existing graph remains unmodified.

Expected behavior

When installed with graphify install --platform pi, Graphify should use native Pi agent names and dispatch semantics.

The default semantic extraction agent should be delegate, or another available agent with the required read/write capabilities.

Suggested fix:

  1. Update graphify/skill-pi.md to use native pi-subagents dispatch with delegate.
  2. Replace hardcoded general-purpose references in Step B2 and recovery instructions in Step B3.
  3. Preserve the existing requirement to write and validate extraction chunk files.
  4. Add a Pi-specific regression test to prevent unsupported agent names from being introduced again.

Workaround

  • Manually create ~/.pi/agent/agents/general-purpose.md with the appropriate tool permissions.
  • This avoids the unknown-agent error but requires unnecessary compatibility configuration.

Related issues

  • #2525: Hardcoded general-purpose dispatch under restricted host policies.
  • #2483: Separate Pi semantic extraction chunk-output compatibility issue.

Relevant source: graphify/skill-pi.md in v0.9.90.

Ngôn ngữ chính
Python
Star
124k
Fork
11.9k
Merge trung bình
2 giờ 35 phút
Pull request đã merge (30 ngày)
6

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 Graphify-Labs/graphify

Tất cả issue của Graphify-Labs/graphify

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.