{
  "id": 18784392,
  "title": "在同一份 Note 裡，osFoundry 如何避免 Claude 的編輯蓋掉別人的編輯？",
  "url": "https://urgent.news/2026/11/07/note-osfoundry-claude",
  "topic": "ai",
  "section": "AI",
  "published": "2026-11-07T20:43:12.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/bbt-zh/zai-tong-fen-note-li-osfoundry-ru-he-bi-mian-claude-de-bian-ji-gai-diao-bie-ren-de-bian-ji--19cg"
  },
  "original_language": "en",
  "account": "In the Note tab of osFoundry, Claude's edition tool can avoid editing someone else's edits. The note_id, tab_id, expected_version, and idempotency_key are required fields, while operation determines the type of operation (replace_text, replace_tab_data, slide_add, slides_add_outline, or sheet_set_range). The expected_version ensures the write is a compare-and-swap, and the idempotency_key prevents repeated damage. Other Note write tools also require these fields. Reading operations do not require these fields. osFoundry's desktop app follows the same method, and the Connected app checks the expected_updated_at and expected_version before saving. If rejected, the agent should re-read the page, apply changes to the latest content, and write again.",
  "summary": "這是 Claude 對話在 osFoundry Notes 上可以用的寫入工具，內容取自公開 MCP endpoint 的列表。資料是 2026-11-06 用未驗證的 tools/list 抓下來的，只保留跟本文有關的欄位： { \"name\" : \"edit_note_tab\" , \"description\" : \"Use an exact tab ID and version from read_note_tab. Use replace_text for Note/Markdown, slide_add or slides_add_outline for Slides, sheet_set_range for Sheet, or replace_tab_data for supported content tabs. File and Source attachments…",
  "key_points": [
    "osFoundry's Note tab prevents Claude's edits from overwriting others.",
    "Required fields: noteid, tabid, expectedversion, idempotencykey.",
    "Operation type determines action: replacetext, replacetabdata, etc."
  ],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}