{
  "id": "vane",
  "name": "Vane",
  "version": "0.1.1",
  "maturity": "first-release-candidate",
  "category": "analytics",
  "spine": {
    "id": "foundation",
    "record": "Approved site configuration and anonymous page-load history"
  },
  "description": "Cookie-free website visits, sources, campaigns and goals with portable history.",
  "capabilities": [
    {
      "id": "http-dispatch",
      "clauses": [
        "HTTP-001"
      ]
    }
  ],
  "nonGoals": [
    "Visitor fingerprinting",
    "Session replay",
    "Advertising attribution"
  ],
  "externals": [
    {
      "id": "cloudflare",
      "required": true,
      "why": "Workers/D1 hosting and explicit owner-initiated first-party proxy route or dedicated-domain setup (INSTALL-006)",
      "data": [
        "HTTP requests",
        "One-use owner token, account/zone IDs, existing Worker name and chosen hostname/path sent only to the fixed Cloudflare API; resource configuration returned, no visitor rows"
      ],
      "adapters": []
    },
    {
      "id": "warehouse",
      "required": false,
      "why": "The owner's scheduled warehouse export (API-002) to their own Amazon S3 or Cloudflare R2 bucket",
      "data": [
        "Daily rollups",
        "Event rows without the visitor hash"
      ],
      "adapters": []
    },
    {
      "id": "webhooks",
      "required": false,
      "why": "Signed webhooks an owner or administrator adds (API-003) to their own endpoints",
      "data": [
        "Goal conversion counts per minute"
      ],
      "adapters": []
    },
    {
      "id": "push",
      "required": false,
      "why": "Browser push services (MOBILE-001) that deliver alerts to the browsers where a signed-in person turned them on",
      "data": [
        "Encrypted alert title, site name and app link"
      ],
      "adapters": []
    },
    {
      "id": "matomo",
      "required": false,
      "why": "Owner-initiated read-only Reporting API history import (IMPORT-005)",
      "data": [
        "Selected source site ID and day; one-use API token",
        "Aggregate traffic, goal and ecommerce reports; no visitor logs"
      ],
      "adapters": []
    },
    {
      "id": "google-search-console",
      "required": false,
      "why": "Owner-approved read-only Google Search Console OAuth (SEARCH-001)",
      "data": [
        "OAuth code and read-only credentials at fixed official Google endpoints",
        "Selected property and source date range; aggregate search query/page figures returned; no Vane visitor rows sent"
      ],
      "adapters": []
    },
    {
      "id": "bing-webmaster-tools",
      "required": false,
      "why": "Owner-connected read-only Bing Webmaster Tools query/page aggregates (SEARCH-002)",
      "data": [
        "Owner-generated API key and verified property sent only to the fixed official Bing API",
        "Source aggregate query, page and date figures returned; no collected Vane visits sent"
      ],
      "adapters": []
    },
    {
      "id": "slack",
      "required": false,
      "why": "Owner-approved Slack bot OAuth and aggregate chat reports/alerts (REPORT-002)",
      "data": [
        "OAuth code at fixed Slack endpoints; chat:write bot credential",
        "Aggregate figures and private filtered dashboard link; no visitor records"
      ],
      "adapters": []
    },
    {
      "id": "teams-workflow",
      "required": false,
      "why": "Owner-connected Microsoft Teams workflow webhook for aggregate reports/alerts (REPORT-002)",
      "data": [
        "Aggregate figures and private filtered dashboard link; no visitor records"
      ],
      "adapters": []
    },
    {
      "id": "nook",
      "required": false,
      "why": "Owner-connected Nook NOOK-079 scoped integration token for aggregate reports/alerts (REPORT-002)",
      "data": [
        "Scoped integration token to the owner-entered HTTPS Nook origin",
        "Aggregate figures and private filtered dashboard link; no visitor records"
      ],
      "adapters": []
    },
    {
      "id": "plausible",
      "required": false,
      "why": "Owner-initiated read-only goal and property recovery at fixed official plausible.io endpoints (IMPORT-009)",
      "data": [
        "Source site ID, one-use Stats or Enterprise Sites API key, goal/property listing and revenue-by-goal query",
        "Goal and custom-property definitions and aggregate revenue currencies returned; no collected Vane visits sent"
      ],
      "adapters": []
    },
    {
      "id": "models",
      "required": false,
      "why": "The owner-enabled plain-English questions (AGENT-007) go to the model provider the deployment configured through the Base ai module (AI_ENABLED)",
      "data": [
        "The question text, Vane's metric, breakdown and filter names, the site's goal names and its time zone and today's date",
        "No stored Vane analytics figures, visitor fields, page values or identifiers; typed personal details beyond email are not automatically removed"
      ],
      "adapters": []
    },
    {
      "id": "github",
      "required": false,
      "why": "AGENT-001 owner-connected fixed-host deploy-diff reads and separately approved script-only draft PRs in explicitly mapped templates",
      "data": [
        "Repository-scoped credential sent only to api.github.com; source/diff bodies read in memory and discarded",
        "Owner-approved script-only HTML edit returned to that same repository on a new vane/instrumentation branch and a draft PR; never merges, deploys or writes the base branch",
        "No analytics figures, visitor fields or new collection fields are sent; credential and pending outbound authority are excluded from archives"
      ],
      "adapters": []
    },
    {
      "id": "google-analytics",
      "required": false,
      "why": "Owner-connected read-only property aggregate history and key events (IMPORT-002)",
      "data": [
        "OAuth credentials, selected property and inclusive date range to fixed official Google endpoints",
        "Daily source aggregates and key-event definitions returned; no collected Vane visitor records sent"
      ],
      "adapters": []
    }
  ],
  "env": [],
  "deploy": {
    "healthPath": "/health",
    "publicPaths": [
      "/",
      "/health",
      "/signin",
      "/methodology"
    ],
    "notes": "Native owner sessions guard /app; unknown paths return real 404s; the development outbox is local-only."
  },
  "extensionPoints": {
    "contributions": [],
    "policies": [],
    "events": [],
    "slots": [],
    "adapters": []
  },
  "limits": {
    "status": "unmeasured"
  },
  "accessibility": {
    "level": "WCAG 2.2 AA",
    "status": "target; unaudited"
  },
  "operatingCost": {
    "status": "unmeasured"
  },
  "composition": {
    "base": "base",
    "family": "analytics",
    "edition": "vane",
    "modules": [
      "job-queue",
      "release",
      "deploy-kit",
      "container",
      "demo-host",
      "integrations",
      "mail",
      "ai",
      "portability",
      "erasure",
      "dependencies",
      "operator-auth",
      "owner-claim"
    ]
  }
}
