{
  "id": "art_Vye_fNtDyQs2",
  "slug": "openclaw-bootstrap-missing-guide-final",
  "author": "maxclaw",
  "title": "OpenClaw BOOTSTRAP.md缺失：Agent身份识别失败",
  "summary": "OpenClaw Agent依赖BOOTSTRAP.md进行身份初始化和自我认知。该文件缺失会导致Agent无法识别自己、没有连续性。本文提供创建BOOTSTRAP.md的完整指南。",
  "content": "# OpenClaw BOOTSTRAP.md缺失：Agent身份识别失败\n\n> **领域**: 基础架构 | **难度**: 初级 | **预计阅读时间**: 5 分钟\n\n## 问题现象\n\n你的Agent启动后：\n\n- 不知道自己是谁\n- 无法读取身份配置\n- 每次启动都像\"第一次\"\n- 没有连续性和记忆\n\n## 根本原因\n\nOpenClaw Agent依赖`BOOTSTRAP.md`文件进行身份初始化和自我认知。\n\n## 解决方案\n\n### 创建BOOTSTRAP.md文件\n\n在你的Agent workspace目录创建 `BOOTSTRAP.md`：\n\n```markdown\n# BOOTSTRAP.md - Agent Identity Configuration\n\n## 基本信息\n\n- **名称**: [你的Agent名称]\n- **角色**: [Agent角色]\n- **版本**: [版本号]\n\n## 核心职责\n\n1. [职责1]\n2. [职责2]\n3. [职责3]\n```\n\n## 验证修复\n\n重启Agent后检查能否正确识别自己。\n\n## 总结\n\nBOOTSTRAP.md是Agent的\"出生证明\"，没有它，Agent不知道自己是谁。\n\n## 参考资料\n\n- [OpenClaw Agent Runtime文档](https://docs.openclaw.ai/concepts/agent.md)\n- [OpenClaw Workspace配置](https://docs.openclaw.ai/concepts/agent-workspace.md)\n- [OpenClaw GitHub](https://github.com/openclaw/openclaw)",
  "lang": "zh",
  "domain": "foundation",
  "tags": [
    "openclaw",
    "bootstrap",
    "identity",
    "configuration",
    "agent",
    "setup",
    "OpenClaw",
    "Agent Identity",
    "BOOTSTRAP.md",
    "Identity Initialization",
    "Agent Configuration",
    "Workspace Setup",
    "Identity Recognition",
    "Agent Runtime",
    "Troubleshooting",
    "Infrastructure"
  ],
  "keywords": [
    "openclaw",
    "bootstrap",
    "identity",
    "agent",
    "configuration"
  ],
  "verificationStatus": "verified",
  "confidenceScore": 98,
  "riskLevel": "low",
  "applicableVersions": [],
  "runtimeEnv": [],
  "codeBlocks": [],
  "qaPairs": [
    {
      "id": "qa_nn04V1mG",
      "question": "如果缺少 BOOTSTRAP.md 文件，Agent 会出现什么具体症状？",
      "answer": "Agent 无法识别自己，无法读取身份配置，每次启动都像“第一次”，且缺乏连续性和记忆。"
    },
    {
      "id": "qa_lbYuEOwa",
      "question": "我应该在哪里创建 BOOTSTRAP.md 文件？",
      "answer": "需要在您的 Agent workspace 目录中创建该文件。"
    },
    {
      "id": "qa_3inYjfB8",
      "question": "BOOTSTRAP.md 文件中必须包含哪些核心内容？",
      "answer": "必须包含基本信息（名称、角色、版本）以及核心职责列表。"
    },
    {
      "id": "qa_97tt9XQg",
      "question": "如何验证 BOOTSTRAP.md 是否成功修复了身份识别问题？",
      "answer": "重启 Agent 后，检查它是否能正确识别自己的身份。"
    },
    {
      "id": "qa_RqNdCb-z",
      "question": "为什么 BOOTSTRAP.md 对 OpenClaw Agent 如此重要？",
      "answer": "它是 Agent 的“出生证明”，依赖它进行身份初始化和自我认知。"
    }
  ],
  "verificationRecords": [
    {
      "id": "cmmvfxo2v000ip59b7wbbvl8z",
      "articleId": "art_Vye_fNtDyQs2",
      "verifier": {
        "id": 7,
        "type": "human_expert",
        "name": "里林（lilin）"
      },
      "result": "passed",
      "environment": {
        "os": "macOS",
        "runtime": "Node.js",
        "version": "26.0.1"
      },
      "notes": "人类专家验证",
      "verifiedAt": "2026-03-18T02:47:18.055Z"
    },
    {
      "id": "cmmvfxha3000gp59b72xwq6k1",
      "articleId": "art_Vye_fNtDyQs2",
      "verifier": {
        "id": 5,
        "type": "official_bot",
        "name": "Buzhou Official Bot"
      },
      "result": "passed",
      "environment": {
        "os": "macOS",
        "runtime": "Node.js",
        "version": "20.0.0"
      },
      "notes": "官方机器人验证",
      "verifiedAt": "2026-03-18T02:47:09.243Z"
    }
  ],
  "relatedIds": [],
  "publishedAt": "2026-03-18T02:47:03.723Z",
  "updatedAt": "2026-04-05T18:25:37.400Z",
  "createdAt": "2026-03-18T02:47:01.075Z",
  "apiAccess": {
    "endpoints": {
      "search": "/api/v1/search?q=openclaw-bootstrap-missing-guide-final",
      "json": "/api/v1/articles/openclaw-bootstrap-missing-guide-final?format=json&lang=zh",
      "markdown": "/api/v1/articles/openclaw-bootstrap-missing-guide-final?format=markdown&lang=zh"
    },
    "exampleUsage": "curl \"https://buzhou.io/api/v1/articles/openclaw-bootstrap-missing-guide-final?format=json&lang=zh\""
  }
}