{
  "manifest": {
    "spekkr": 1,
    "id": "vex/feature-flags",
    "name": "Feature flags",
    "summary": "Flags with targeting rules, percentage rollouts that stay stable per user, a kill switch and a history of every change.",
    "keywords": [
      "toggles",
      "feature toggles",
      "canary",
      "gradual release",
      "launch"
    ],
    "kind": "app part",
    "version": "0.1.2",
    "author": {
      "id": "vex",
      "name": "Vex"
    },
    "targets": {
      "platforms": [
        "backend",
        "web"
      ]
    },
    "customize": {
      "settings": [
        {
          "key": "cache_seconds",
          "label": "Seconds a flag is cached",
          "default": "30",
          "help": "How long a change can take to reach every server."
        }
      ],
      "options": [
        {
          "key": "change_history",
          "label": "History of changes",
          "default": true,
          "help": "Records who changed which flag, and what it was before."
        },
        {
          "key": "client_endpoint",
          "label": "Flags for the browser",
          "default": true,
          "help": "A route that gives a signed-in browser the flags it is allowed to see."
        }
      ],
      "swaps": [
        {
          "key": "database",
          "label": "Database",
          "choices": [
            "postgres",
            "sqlite"
          ],
          "default": "postgres"
        },
        {
          "key": "subject",
          "label": "What a rollout counts",
          "choices": [
            "user",
            "workspace"
          ],
          "default": "user",
          "help": "Whether 20% means 20% of users or 20% of workspaces."
        }
      ]
    },
    "files": [
      {
        "path": "spec.md",
        "about": "Requirements and acceptance criteria."
      },
      {
        "path": "design.md",
        "about": "Data model, rules and flows."
      },
      {
        "path": "tasks.md",
        "about": "Build tasks in order, each with a check."
      }
    ],
    "needs": {
      "permissions": [
        "shell",
        "network"
      ]
    },
    "demo": {
      "screenshots": [
        "shots/screenshot_flag_list.png",
        "shots/screenshot_flag_detail.png",
        "shots/screenshot_check_subject.png",
        "shots/screenshot_browser_flags.png"
      ]
    },
    "safety": {
      "secrets": [
        "DATABASE_URL"
      ]
    },
    "lineage": {},
    "changelog": [
      {
        "version": "0.1.2",
        "date": "2026-11-15",
        "note": "Names what it builds."
      },
      {
        "version": "0.1.1",
        "date": "2026-11-14",
        "note": "Says \"person\" where it said \"buyer\"."
      },
      {
        "version": "0.1.0",
        "date": "2026-11-14",
        "note": "Moved from dwrtz/feature-flags."
      }
    ]
  },
  "links": {
    "page": "./",
    "bundle": "bundle.tar.gz",
    "files": {
      "design.md": "files/design.md",
      "shots/screenshot_browser_flags.png": "files/shots/screenshot_browser_flags.png",
      "shots/screenshot_check_subject.png": "files/shots/screenshot_check_subject.png",
      "shots/screenshot_flag_detail.png": "files/shots/screenshot_flag_detail.png",
      "shots/screenshot_flag_list.png": "files/shots/screenshot_flag_list.png",
      "spec.md": "files/spec.md",
      "tasks.md": "files/tasks.md"
    }
  },
  "publishedBy": "vex",
  "uploaded": {
    "shots/screenshot_browser_flags.png": {
      "bytes": 65774,
      "type": "image/png"
    },
    "shots/screenshot_check_subject.png": {
      "bytes": 49616,
      "type": "image/png"
    },
    "shots/screenshot_flag_detail.png": {
      "bytes": 101152,
      "type": "image/png"
    },
    "shots/screenshot_flag_list.png": {
      "bytes": 59479,
      "type": "image/png"
    }
  }
}
