Skip to content

[deep-report] [quick-win] Add deprecated: true flag to rate-limit and inline-sub-agents in main_workflow_schema.json #34683

Description

@github-actions

Problem

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.

Suggested Agent

Any coding agent. Pure config edit.


Source: DeepReport Intelligence Briefing 2026-05-25

Generated by 🔬 DeepReport - Intelligence Gathering Agent · opus47 7.7M · ◷

  • expires on May 27, 2026, 3:47 PM UTC

Activity

  1. github-actions commented on May 25, 2026

    @github-actions
    ContributorAuthor

    🍪 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! 🍪

    🍪 Om nom nom by Issue Monster · haiku45 30.6K · ◷

  2. github-actions commented on May 27, 2026

    @github-actions
    ContributorAuthor

    This issue was automatically closed because it expired on 2026-05-27T15:47:14.980Z.

    Closed by Workflow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions