{"record":{"id":"de95801c3ea341b1","repo":"paperclipai/paperclip","slug":"feature-disabled","errorCode":"FEATURE_DISABLED","errorMessage":"Conference Room Chat is not enabled","messagePattern":"Conference Room Chat is not enabled","errorType":"http","errorClass":null,"httpStatus":403,"severity":"error","filePath":"server/src/routes/board-chat.ts","lineNumber":105,"sourceCode":"    } catch {\n      return (\n        \"You are a board-level assistant helping a human manage their AI-agent \" +\n        \"company through Paperclip. Help them create companies, hire agents, \" +\n        \"approve tasks, and monitor their organization. Be conversational, \" +\n        \"strategic, and concise.\"\n      );\n    }\n  }\n\n  router.post(\"/board/chat/stream\", async (req, res) => {\n    // Conference Room Chat is an experimental surface (PAP-136/PAP-137): the\n    // API is gated alongside the UI so the endpoint is inert while the flag\n    // is off, not just hidden.\n    const experimental = await instanceSettingsService(db).getExperimental();\n    if (experimental.enableConferenceRoomChat !== true) {\n      res.status(403).json({\n        error: \"Conference Room Chat is not enabled\",\n        code: \"FEATURE_DISABLED\",\n      });\n      return;\n    }\n\n    // The relay spawns the operator's local `claude` CLI with permissions\n    // skipped (it must run headless), so it is only safe where the requester\n    // IS the machine operator: local_trusted is loopback-only single-operator\n    // by construction (see server/src/index.ts boot guards). Refuse everywhere\n    // else rather than lending the server's shell to remote users.\n    if (opts.deploymentMode !== \"local_trusted\") {\n      res.status(403).json({\n        error: \"Board chat is only available on local single-operator instances\",\n        code: \"DEPLOYMENT_MODE_UNSUPPORTED\",\n      });\n      return;\n    }\n\n    const { companyId, message, taskId } = req.body as {","sourceCodeStart":87,"sourceCodeEnd":123,"githubUrl":"https://github.com/paperclipai/paperclip/blob/120ae5428fa29bee300bcf806491cd4d965fbb7c/server/src/routes/board-chat.ts#L87-L123","documentation":"Error \"Conference Room Chat is not enabled\" thrown in paperclipai/paperclip.","triggerScenarios":"Thrown at server/src/routes/board-chat.ts:105 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Enable Conference Room Chat in instance settings before using this endpoint."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"120ae5428fa29bee300bcf806491cd4d965fbb7c","analyzedAt":"2026-08-18T22:49:45.177Z","contentChangedAt":"2026-08-18T22:49:45.177Z","schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}