import type { CompositionProfile } from "./profile";

/**
 * Composition profile template (ADR 013).
 *
 * Copy this file as `config/profiles/<customer-name>.ts` and fill in values.
 * Then add the new name to the portability CI matrix and to
 * `config/profiles/index.ts` if the selector needs an explicit case.
 *
 * Rules:
 *   - Profile name must be lowercase alphanumeric / dash / underscore.
 *   - `default` profile must boot without any customer-specific env var (ADR 010 R5).
 *   - New customer-specific behaviour goes via this profile, never via
 *     `if (tenant.isBmw)` style checks in core code.
 *   - Adding a new integration type requires extending `IntegrationsProfileSchema`
 *     in `profile.ts` first.
 */
const profile: CompositionProfile = {
  name: "_template",
  description: "Customer profile template — copy and rename.",
  productionReady: false,
  branding: {
    productName: "Customer Product Name",
    logoAssetKey: "customer/logo",
    paletteKey: "neutral",
    supportFooter: "Customer Co. · Supplier Development",
  },
  features: {
    ownerConsole: true,
    strongAuth: false,
    demoSeeds: false,
    wertstrom: true,
    oee: true,
    lscWorkshop: true,
    workModeCapture: true,
    consultantLoadReport: true,
    qafValueStream: false,
    qafSupplierBenchmark: false,
    copilotExports: false,
    wertstromScenarios: false,
    wertstromUxV2: false,
    wertstromSimvsmImport: false,
    experimental: {},
  },
  integrations: {
    auth: "oidc",
    observability: "otlp",
    storage: "s3",
    queue: "none",
    email: "ses",
    support: "jira",
    ai: "none",
    datastore: "postgres",
  },
};

export default profile;
