Build a sales pipeline CRM plugin with linked records. Slug: sales-pipeline. TWO RECORD TYPES with a reference relationship: Record schema for deals: company (string, required), contact_name (string, required), contact_email (email), deal_value (currency, required), stage (select: Lead, Qualified, Proposal, Negotiation, Closed Won, Closed Lost), expected_close_date (date, required), priority (select: Low, Medium, High), source (select: Inbound, Outbound, Referral, Partner), notes (text), last_activity_date (date). Declare views for deals: table (default), board (column_field: stage, card_title: company, card_subtitle: expected_close_date, card_badge: deal_value), calendar (date_field: expected_close_date, title_field: company, color_field: priority). Record schema for activities: description (string, required), deal_id (reference, target: 'deals', display_field: 'company'), activity_type (select: Call, Email, Meeting, Note, Demo), activity_date (date, required), completed (boolean, default: false). Declare views for activities: table (default), calendar (date_field: activity_date, title_field: description, color_field: activity_type). Include view switcher on both resources. Deal show page displays activity count and recent activities with an "Add Activity" button. Activities can be filtered by deal using find_children. Use breadcrumb navigation on activity pages within a deal. Dashboard shows pipeline value by stage, win rate, deals closing this month, revenue forecast, and recent activities. Define a workflow on deals: Lead → Qualified → Proposal → Negotiation → Closed Won / Closed Lost. Send email notification when a deal moves to Closed Won. Weekly scheduled job to flag deals with no activity in 14 days. Seed 8 deals and 15 activities across deals. Include data_version 1 and rag_index.