{
  "format": "CLARA-APPLICATION-1",
  "name": "CLARA Projects",
  "publisher": "MineSpace Inc.",
  "url": "desk.html",
  "source": "desk.clara",
  "package": "desk-project.json",
  "catalogID": "projects",
  "mcp": {
    "tool": "clara_template",
    "arguments": {
      "id": "projects"
    },
    "note": "Returns public source and isolated tests, not user records."
  },
  "execution": {
    "default": "browser worker / IndexedDB",
    "hosted": "explicitly deploy native project and connect same-origin release or channel base using scoped application key",
    "compute": "typed Int function: four deterministic CPU shards (WebAssembly or reference IR); optional WebGPU/WebGL2 selection; full reference replay and exported receipt"
  },
  "routes": [
    {
      "method": "GET",
      "path": "/api/tasks",
      "auth": true,
      "description": "List up to 100 stored tasks"
    },
    {
      "method": "GET",
      "path": "/api/tasks/:id",
      "auth": true,
      "description": "Read revision and task"
    },
    {
      "method": "PUT",
      "path": "/api/tasks/:id",
      "auth": true,
      "description": "Create with revision 0 or update at current revision; conflict returns 409",
      "body": {
        "revision": "Int >= 0",
        "title": "String 1..100",
        "description": "String <= 1500",
        "owner": "String <= 60",
        "due": "Empty string or valid YYYY-MM-DD",
        "status": [
          "todo",
          "doing",
          "done",
          "archived"
        ],
        "priority": "Int 1..3",
        "effort": "Int 1..10"
      }
    },
    {
      "method": "GET",
      "path": "/api/brief/:id",
      "auth": true,
      "description": "Escaped HTML brief"
    },
    {
      "method": "GET",
      "path": "/api/score/:input",
      "auth": false,
      "description": "Reviewed priorityScore integer function, input 0..50"
    }
  ],
  "data": {
    "capacity": 100,
    "snapshot": "CLARA-PROJECT-DATA-1",
    "encrypted": "CLARA-PROJECT-DATA-SEALED-1",
    "crypto": "AES-256-GCM / PBKDF2-SHA256 600000 iterations",
    "merge": "new IDs, no overwrites; partial import possible on interruption"
  },
  "privacy": "No app analytics or uploads in local mode. Hosting provider can log ordinary asset requests. Hosted data is server-readable; encryption is for exported snapshots."
}
