link_area_to_audience
Link a product area to a canonical audience: create an `area_serves_persona` (target is a registry persona) or `area_targets_market_segment` (target is a registry market_segment) cross-edge, with optional `relevance` (primary/secondary) and `audience_role` qualifiers. The edge type is inferred from the canonical entity's type. Source is the product_area id; target is `registry/{canonical_id}`. This is the only path that creates the area↔audience edges. Idempotent: an existing edge is updated (qualifiers), not duplicated.
Arguments
area_idstringrequiredThe product_area id (see list_product_areas).
canonical_idstringrequiredA registry persona or market_segment (bare or registry/{id}).
relevancestringoptionalWhether this audience is a primary or secondary focus of the area.
audience_rolestringoptionalThe audience role in this area's context (persona targets only).
Returns
{ edge, area, canonical, portfolio_file, already_existed?, updated? }