You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
edit_note and write_note revision-conflict payloads differ #1719
write_note: {"title": "...", "permalink": "notes/...", "file_path": "...", "checksum": "<current>", "action": "conflict", "error": "NOTE_REVISION_CONFLICT"}. The permalink here has no project prefix, while every other response includes it.
Both should use one shape: the same key for the current checksum, the note's identity filled in when the note exists, and the permalink formatted as in other responses.
Component: MCP tools (edit_note, write_note), not Cloud
Priority: Medium. Clients that handle revision conflicts must parse two different shapes. Nothing is lost.
Complexity: Simple to Medium. Both tools need to return one conflict payload built from a shared helper. Existing tests that assert either current shape will need updating.
Duplicates: A search for NOTE_REVISION_CONFLICT found no other issues.
Expected shape (from the issue)
One key for the current checksum. edit_note uses currentChecksum, while write_note puts the current value in checksum. Pick one and use it in both.
title, permalink and file_path filled in whenever the note exists. edit_note currently returns them as null.
The permalink in the same project-prefixed form as other responses. write_note currently omits the project prefix.
Open question for the maintainer: which key should be canonical, checksum or currentChecksum? Should action: "conflict" appear in both payloads? A compatibility note may be needed for callers that read the old key.
I've applied the bug label and made no code changes, as this run is triage only.
Activity
claude commentedon Oct 10, 2026
Claude finished @phernandez's task in 11s —— View job
Triage
edit_note,write_note), not CloudNOTE_REVISION_CONFLICTfound no other issues.Expected shape (from the issue)
edit_noteusescurrentChecksum, whilewrite_noteputs the current value inchecksum. Pick one and use it in both.title,permalinkandfile_pathfilled in whenever the note exists.edit_notecurrently returns them asnull.write_notecurrently omits the project prefix.Open question for the maintainer: which key should be canonical,
checksumorcurrentChecksum? Shouldaction: "conflict"appear in both payloads? A compatibility note may be needed for callers that read the old key.I've applied the
buglabel and made no code changes, as this run is triage only.fix(core): keep created_at on edits; clearer build_context and confli…
fix(core): keep created_at on edits; clearer build_context and confli…