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

pstack: default Task model slugs are unresolvable in current Cursor

Đang mở
#335 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ó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
76/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
tooling

Hướng nghiên cứu

Trước tiên, hãy đọc skills/setup-pstack/SKILL.md, sau đó tìm các giá trị mặc định của model được hardcode trong poteto-mode, arena, architect, interrogate, how, why, swarm và reflect. Cập nhật từng bảng hoặc giá trị mặc định tương ứng thành slug hợp lệ cho Task được liệt kê, rồi chạy /setup-pstack và xác minh rằng các giá trị mặc định mới tạo ra các model được allow-list của Task 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ả

Summary

pstack 0.15.0 (/setup-pstack and the skill defaults) hard-codes these Task model slugs:

  • grok-4.6-fast-xhigh
  • claude-fable-5-1-thinking-max
  • gpt-5.6-sol-max
  • claude-opus-5-thinking-xhigh

Spawning a subagent with any of them fails:

Invalid model selection "grok-4.6-fast-xhigh". Model could not be resolved to a valid subagent model.
Allowed model slugs:
- claude-fable-5-1-thinking-high
- claude-fable-5-thinking-high
- claude-opus-5-thinking-high
- composer-2.5-fast
- cursor-grok-4.6-high-fast
- gpt-5.6-luna-medium
- gpt-5.6-sol-medium
- gpt-5.6-terra-medium

Enabling Fable 5.1 / Sol / Opus 5 / Grok 4.6 in Settings → Models (and the Explore Subagent Model dropdown) does not add the -max / -xhigh / grok-4.6-fast-xhigh ids to that allow-list. /setup-pstack then either writes slugs that cannot spawn, or remaps to a different effort tier.

skills/interrogate/SKILL.md already says: if a slug is rejected, pick the closest Task-valid equivalent and open a PR to update the default table. This is that report.

Suggested pstack fix

Update the default table in skills/setup-pstack/SKILL.md (and the matching hardcoded defaults in poteto-mode, arena, architect, interrogate, how, why, swarm, reflect) to the current Task-valid slugs of the same families:

current default spawnable equivalent
grok-4.6-fast-xhigh cursor-grok-4.6-high-fast
claude-fable-5-1-thinking-max claude-fable-5-1-thinking-high
gpt-5.6-sol-max gpt-5.6-sol-medium
claude-opus-5-thinking-xhigh claude-opus-5-thinking-high

/setup-pstack already treats the session Task allow-list as source of truth. The baked-in defaults should match that list so a fresh install works before the user writes pstack-models.mdc.

Cursor-side gap (not fixable in this plugin alone)

Task still does not expose -max / -xhigh even when those models are selected in the picker. If that is intentional, pstack defaults should stay on the spawnable slugs. If it is a product bug, the allow-list needs to include the effort tiers pstack names.

Repro

  1. Enable Claude Fable 5.1, GPT-5.6 Sol, Claude Opus 5, Cursor Grok 4.6 in Settings → Models.
  2. Install pstack, run /setup-pstack (or use the skill defaults).
  3. Have an agent Task a subagent with model: grok-4.6-fast-xhigh (or any of the four defaults).
  4. Observe the invalid-model error and the allowed-slug list above.
Ngôn ngữ chính
TypeScript
Star
8.8k
Fork
819
Merge trung bình
14 giờ 37 phút
Pull request đã merge (30 ngày)
66

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 cursor/plugins

Tất cả issue của cursor/plugins

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.