Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions packages/lint/src/validate-ai-agent-authoring.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,12 @@ function strName(v: unknown): string | undefined {
}

/**
* The two platform agent ids. A stack that re-declares one of these is doing
* something different from inventing a custom persona (it is shadowing a
* platform record), so it gets its own wording.
* The two platform agent ids (`ask`, `build`) plus their two legacy aliases
* (`data_chat` → `ask`, `metadata_assistant` → `build`, registered via the
* cloud alias registry — ADR-0063 §2). A stack that re-declares any of these
* four names is doing something different from inventing a custom persona
* (it is shadowing a platform record, directly or through its alias), so it
* gets its own wording.
*/
const PLATFORM_AGENT_NAMES = new Set(['ask', 'build', 'data_chat', 'metadata_assistant']);

Expand Down
Loading