You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(subagents): valid agent-type overrides are reported as startup problems #672
At source d36b58b67f87d24b4926521b965bdccfff7719e4 (OpenPI 0.9.0), valid global Agent Type definitions named explorer / implementer intentionally replace the provider-free built-in roles. Discovery reports the replacements correctly, but the formatter labels every diagnostic a "problem" and the startup listener always emits a warning.
This makes supported custom role definitions appear broken at each /reload, despite no malformed file or failed role load.
Required boundary
Keep complete-definition precedence: built-in < global < trusted project.
Preserve user role files, explicit narrowed tools, effort, model precedence, and fail-closed malformed higher-precedence handling.
Keep replacement/source notices visible, but classify valid overrides explicitly as informational.
Real malformed/unreadable/unknown-tool/fallback-blocking diagnostics remain warnings; mixed lists must not count normal overrides as problems.
Do not fix the message by removing custom files or widening capabilities.
Validation
Add red/green loader/formatter and actual notification-seam regressions for info-only overrides, mixed real problems, and malformed higher-precedence fallback blocking. Live user configuration repair is separate; no installation or live TUI smoke is implied by repository tests.
Activity
627150795 commentedon Oct 4, 2026
我来处理这个小范围修复:为合法 Agent Type 覆盖增加明确的信息级诊断,并修正 formatter 的问题计数和启动通知级别;补充 loader、formatter 与实际 notification seam 的回归测试。保留完整定义优先级、收窄工具和模型配置,以及 malformed 高优先级定义的 fail-closed 行为,不改动用户角色文件或现场安装配置。我会在独立目录基于最新 upstream/main 完成复现、最小修复与验证。