Skip to main content

ROLE_ALIASES

Constant ROLE_ALIASES 

Source
pub const ROLE_ALIASES: &[(&str, &str)];
Expand description

Public role names that were renamed, and what they are now called.

A saved Fleet, a gate, a handoff record, and a task option are four different places the same role name is written down, and they are written at different times: a Fleet file saved a year ago says oracle, a workflow script written today says consultant. Canonicalizing in only one of those places is what turns a rename into a lookup failure, so every boundary that compares a role goes through canonical_role_key.

New schemas and receipts always record the canonical name — the alias is an input spelling, never an output one.