Skip to content

[FEATURE] override a consumed primitive's frontmatter (e.g. agent name/description) from apm.yml #1883

Description

@DevSecNinja

Is your feature request related to a problem? Please describe.
When consuming individual primitives from another repo (e.g. github/awesome-copilot
agents) via dependencies.apm, the content is materialized verbatim and the
apm.lock.yaml integrity check (correctly) forbids editing it. But upstream display
names are often inconsistent or carry vendor taglines — e.g.
Prompt Builder - Brought to you by microsoft/edge-ai, or terse slugs like
sast-sca-security-analyzer. I would like to normalize these artifacts
without forking or vendoring each file — which loses apm update and the
supply-chain gate.

Describe the solution you'd like
Allow per-dependency frontmatter overrides in apm.yml, applied at deploy time and
recorded in apm.lock.yaml so they are reproducible and visible in diffs:

dependencies:
  apm:
    - repo: github/awesome-copilot
      path: agents/sast-sca-security-analyzer.agent.md
      ref: <sha>
      overrides:
        name: "SAST/SCA Security Analyzer"
        # description: "Reviews dependencies and code for SAST/SCA findings."

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/lockfileLockfile schema, per-file provenance, integrity hashes, drift detection.area/package-authoringapm pack/unpack, plugin authoring, vendoring guidance, bundle format.status/needs-designDirection approved, design discussion required before code.status/triagedInitial agentic triage complete; pending maintainer ratification (silence = approval).theme/governanceGoverned by policy. apm-policy, audit, enforcement, enterprise rollout.type/featureNew capability, new flag, new primitive.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions