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
[deep-report] [quick-win] Add deprecated: true flag to rate-limit and inline-sub-agents in main_workflow_schema.json #34683
Per the Schema Consistency audit (discussion #34599), the deprecation-warning infrastructure in pkg/workflow/compiler_orchestrator_tools.go:436-460 walks the schema and emits user-visible warnings for every field tagged deprecated: true. Two top-level fields with deprecation language in their description are missing the flag:
rate-limit — description says "Legacy alias for 'user-rate-limit'. Prefer 'user-rate-limit' with 'max-runs-per-window'." — no deprecated: true
inline-sub-agents — description says "Deprecated switch for inline sub-agent support..." — no deprecated: true
Result: users using these get silent acceptance / a debug-only log instead of a console warning + IDE strikethrough.
Suggested Fix
In the schema JSON, add "deprecated": true to both field definitions. 14 nested fields in the same schema already follow this convention.
Impact
Low-risk one-line additions × 2. Restores the deprecation warning path the team already invested in building.
Effort
~15 min — locate fields in pkg/workflow/main_workflow_schema.json, add deprecated: true, run schema/compiler tests.
Activity
github-actions commentedon May 25, 2026
🍪 Issue Monster selected this for Copilot
I've identified this issue as a good candidate for automated resolution and requested assignment to the Copilot coding agent.
If assignment succeeds, the Copilot coding agent will analyze the issue and create a pull request with the fix.
Om nom nom! 🍪
github-actions commentedon May 27, 2026
This issue was automatically closed because it expired on 2026-05-27T15:47:14.980Z.