Skip to content

Agent Host: use source URIs for client-synced customizations #346587

Description

Problem

Client-synced agents and other customization files are published using their materialized cache URI rather than the original source URI. Consumers must recover the source location before opening a file, and cached selections can become stale when the synchronized bundle is regenerated.

Expected behavior

Use the original source URI as the public customization identity and keep materialized cache paths internal to the agent host and provider SDKs. Preserve URI ownership across clients so a file from another client is never opened as a local file.

Scope

  • Carry source identity through client synchronization and provider publication.
  • Keep agent selections, drafts, and skill completions in source URI space.
  • Resolve source selections to materialized files only at provider boundaries.
  • Preserve legacy saved selections and immutable automation captures.

This should apply consistently to Copilot, Claude, and Codex.

Metadata

Metadata

Labels

agent-hostdebt

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions