-
Notifications
You must be signed in to change notification settings - Fork 156
chore(compile): remove legacy .chatmode.md primitive type #840
Copy link
Copy link
Open
Labels
area/cliCLI command surface, flags, help text (cross-cutting).CLI command surface, flags, help text (cross-cutting).area/docs-sitedocs/src/content (Starlight), README, doc generation.docs/src/content (Starlight), README, doc generation.area/package-authoringapm pack/unpack, plugin authoring, vendoring guidance, bundle format.apm pack/unpack, plugin authoring, vendoring guidance, bundle format.priority/lowAccepted but not time-sensitiveAccepted but not time-sensitivestatus/acceptedDirection approved, safe to start work.Direction approved, safe to start work.status/triagedInitial agentic triage complete; pending maintainer ratification (silence = approval).Initial agentic triage complete; pending maintainer ratification (silence = approval).type/refactorInternal restructure, no behavior change.Internal restructure, no behavior change.
Milestone
Metadata
Metadata
Assignees
Labels
area/cliCLI command surface, flags, help text (cross-cutting).CLI command surface, flags, help text (cross-cutting).area/docs-sitedocs/src/content (Starlight), README, doc generation.docs/src/content (Starlight), README, doc generation.area/package-authoringapm pack/unpack, plugin authoring, vendoring guidance, bundle format.apm pack/unpack, plugin authoring, vendoring guidance, bundle format.priority/lowAccepted but not time-sensitiveAccepted but not time-sensitivestatus/acceptedDirection approved, safe to start work.Direction approved, safe to start work.status/triagedInitial agentic triage complete; pending maintainer ratification (silence = approval).Initial agentic triage complete; pending maintainer ratification (silence = approval).type/refactorInternal restructure, no behavior change.Internal restructure, no behavior change.
Type
Projects
Status
Todo
Context
Follow-up to the dogfooding PR (closes #695 / #792). The repo's own agent primitives have been migrated to
.apm/agents/*.agent.mdand the legacy.chatmode.mdformat is no longer used anywhere inmicrosoft/apm.Primitive discovery still scans for the legacy format everywhere:
Matching legacy patterns also exist in
DEPENDENCY_PRIMITIVE_PATTERNSandDEPENDENCY_GITHUB_PRIMITIVE_PATTERNS, plus any related parsing / integrator / test fixtures.Proposal
[!]warning when any.chatmode.mdfile is discovered, pointing contributors at.agent.md..chatmode.md. Publish a migration guide if found.discovery.py, remove thechatmodeintegrator fallback, and update tests / docs.Removing the format simplifies discovery, shrinks the test surface, and removes the
chatmode/agentnaming confusion for new contributors.Open questions
target=all/target=copilotspecifically, or unconditional?.chatmode.md? If zero, we can skip straight to removal.Labels
breaking-change,compilation,tech-debt