Skip to content

[deep-report] Implement codemod: auto-migrate tools.{name} entries to mcp-servers: block #27378

@github-actions

Description

@github-actions

The aw-compat agent has filed a codemod proposal (#27311) and a prior duplicate (#26812, closed) for automating the migration of legacy tools: {name: ...} entries to the new mcp-servers: block syntax. This is a recurring cause of compat failures (currently contributing to tools.serena failures in today's 4/20 failing repos, #27310). The migration is mechanical and fully automatable.

The codemod should: (1) parse each workflow's YAML tools: section, (2) identify entries whose name is not a built-in tool, (3) rewrite them as mcp-servers: entries with the appropriate schema, and (4) validate the output compiles cleanly.

Expected Impact: Eliminates the tools.serena class of compat failures. Can be run across all repos in the compat audit corpus in a single pass, reducing failing repos from 4 to ~2.

Suggested Agent: aw-compat agent or a general-purpose coding agent with YAML/Go skills

Estimated Effort: Medium (1–4 hours) — requires careful YAML transformation logic and validation.

Data Source: DeepReport Intelligence Briefing 2026-04-20 (§24673982657); aw-compat issues #27310, #27311.

Generated by DeepReport - Intelligence Gathering Agent · ● 375K ·

  • expires on Apr 22, 2026, 3:16 PM UTC

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions