config.json3.0 KBView on GitHub
{
  "version": 1,
  "runtimePackage": null,
  "buildCommand": "pnpm --filter @zero/server types",
  "testCommand": "pnpm --filter @zero/server test",
  "replayCommand": null,
  "fixturePath": ".libra-trace-fixtures.json",
  "outputPath": ".libra-replay-output.json",
  "otel": {
    "apiKeyEnv": "LIBRA_API_KEY",
    "endpointEnv": "LIBRA_OTEL_TRACES_ENDPOINT",
    "endpointDefault": "https://api.libra.exla.ai/v1/traces",
    "prNumberEnv": "LIBRA_PR_NUMBER",
    "commitShaEnv": "LIBRA_COMMIT_SHA",
    "prNumberFallbackEnvs": [
      "GITHUB_PR_NUMBER",
      "VERCEL_GIT_PULL_REQUEST_ID",
      "CIRCLE_PULL_REQUEST",
      "CI_MERGE_REQUEST_IID",
      "BITBUCKET_PR_ID"
    ],
    "commitShaFallbackEnvs": [
      "GITHUB_SHA",
      "VERCEL_GIT_COMMIT_SHA",
      "CIRCLE_SHA1",
      "CI_COMMIT_SHA",
      "BITBUCKET_COMMIT",
      "SOURCE_VERSION"
    ],
    "libraServiceVersionEnv": "LIBRA_SERVICE_VERSION",
    "serviceVersionEnv": "CEDAR_SERVICE_VERSION",
    "serviceNames": ["cedar-api", "cedar-worker", "cedar-chat"],
    "entrypoints": {
      "cedar-api": "apps/server/src/runtime/api-entry.ts",
      "cedar-chat": "apps/server/src/runtime/chat-entry.ts",
      "cedar-worker": "apps/server/src/runtime/worker-entry.ts"
    }
  },
  "routing": [
    {
      "name": "crm-conversation-read-path",
      "paths": [
        "apps/server/src/trpc/routes/crm.ts",
        "apps/server/src/services/crm/conversations.ts",
        "apps/server/src/services/crm/email-events.ts"
      ],
      "replayTags": [
        "crm.getConversation",
        "crm.getConversationContext",
        "crm.getConversations",
        "crm.findOrCreateConversation",
        "crm.findOrCreateEmailEvent",
        "crm.findOrCreateEmailThread"
      ]
    },
    {
      "name": "mail-sync-and-provider-path",
      "paths": [
        "apps/server/src/services/mail",
        "apps/server/src/lib/driver",
        "apps/server/src/services/integrations"
      ],
      "replayTags": ["mail.sync", "gmail.driver", "provider.side_effect"]
    },
    {
      "name": "agent-execution-path",
      "paths": [
        "apps/server/src/runtime/handlers.ts",
        "apps/server/src/http/app.ts",
        "apps/server/src/worker/queue-handler.ts",
        "apps/server/src/worker/scheduled-handler.ts",
        "apps/server/src/cron/cron-task-registry.ts",
        "apps/server/src/mastra",
        "apps/server/src/workflows",
        "apps/server/src/services/agent-action-queue"
      ],
      "replayTags": ["agent.execution", "queue.handler", "workflow.handler"]
    }
  ],
  "safety": {
    "requiresFixtureDatabase": true,
    "forcedEnv": {
      "LIBRA_REPLAY": "true",
      "CEDAR_DATABASE_WRITE_ALLOWED": "false",
      "CEDAR_AUTH_DATABASE_WRITE_ALLOWED": "false",
      "CEDAR_PROVIDER_SIDE_EFFECTS_ALLOWED": "false",
      "CEDAR_NOTIFICATIONS_ALLOWED": "false",
      "CEDAR_OBJECT_STORE_WRITE_ALLOWED": "false",
      "CEDAR_QUEUE_PUBLISH_ALLOWED": "false"
    },
    "databaseUrlEnv": "LIBRA_REPLAY_DATABASE_URL",
    "blockedProductionMarkers": ["prod", "production", "cedar-mail-prod"]
  }
}