{
  "schema": "hasna.service_contract.v1",
  "name": "factory",
  "class": "cli-with-store",
  "contractVersion": "v1",
  "kitVersion": "0.8.0",
  "description": "PostgreSQL-authoritative CLI retaining an explicit legacy SQLite import capability.",
  "bins": [
    "factory",
    "factory-mcp"
  ],
  "hosting": [
    "user-hosted"
  ],
  "serviceSurfaces": [
    {
      "name": "cli",
      "kind": "cli",
      "status": "supported",
      "bin": "factory",
      "authMode": "local-only"
    },
    {
      "name": "mcp",
      "kind": "mcp",
      "status": "supported",
      "mcpBin": "factory-mcp",
      "authMode": "local-only"
    }
  ],
  "storage": {
    "backend": "postgresql",
    "engines": [
      "sqlite",
      "postgresql"
    ],
    "envPrefix": "HASNA_FACTORY_",
    "aliasEnvPrefix": "FACTORY_",
    "sqlitePath": "~/.hasna/factory/factory.db"
  }
}
