Notes: Files Markdown editor rejects plugin-owned files #1237

Open
opened 2026-10-06 22:04:39 +00:00 by kayg · 1 comment
Owner

Steps:

  1. Start a fresh local production server and register a User.
  2. Enable the Money Plugin and create a Household budget. This creates Money/Household/Budget.md.
  3. In Files, open Budget.md and choose Open in block editor. The stable Files item ID route is /f/<item-id>/edit.

Expected: Files opens the Markdown body in the live block editor. The route keeps the file's stable identity and edits persist to the same file.

Actual: The route shows “This note is not here anymore” with no editor. The Files item resolves with 200 and /api/v1/notes/files/open?path=Money%2FHousehold%2FBudget.md returns the Markdown body with ID path:Money/Household/Budget.md. The browser opens /api/v1/collab/notes/path%3AMoney%2FHousehold%2FBudget.md; the socket closes, then /api/v1/notes/path%3AMoney%2FHousehold%2FBudget.md returns 404. The existing Notes E2E also times out waiting for the editable surface at apps/web/e2e/notes.mjs:606.

Evidence: artifacts/bash-notes/identity-gate-debug.png (390 px, light scheme, macOS platform emulation). The screenshot shows the actual empty state after opening the valid Markdown file. Production-server browser trace and fixture data are in the #1216 job worktree.

Severity: major — the Files action cannot open valid Markdown owned by a Plugin in the block editor.

Steps: 1. Start a fresh local production server and register a User. 2. Enable the Money Plugin and create a Household budget. This creates `Money/Household/Budget.md`. 3. In Files, open `Budget.md` and choose **Open in block editor**. The stable Files item ID route is `/f/<item-id>/edit`. Expected: Files opens the Markdown body in the live block editor. The route keeps the file's stable identity and edits persist to the same file. Actual: The route shows “This note is not here anymore” with no editor. The Files item resolves with 200 and `/api/v1/notes/files/open?path=Money%2FHousehold%2FBudget.md` returns the Markdown body with ID `path:Money/Household/Budget.md`. The browser opens `/api/v1/collab/notes/path%3AMoney%2FHousehold%2FBudget.md`; the socket closes, then `/api/v1/notes/path%3AMoney%2FHousehold%2FBudget.md` returns 404. The existing Notes E2E also times out waiting for the editable surface at `apps/web/e2e/notes.mjs:606`. Evidence: `artifacts/bash-notes/identity-gate-debug.png` (390 px, light scheme, macOS platform emulation). The screenshot shows the actual empty state after opening the valid Markdown file. Production-server browser trace and fixture data are in the #1216 job worktree. Severity: major — the Files action cannot open valid Markdown owned by a Plugin in the block editor.
Author
Owner

Production-browser evidence (390 px, light scheme, macOS platform emulation):

The Files Markdown editor route shows the missing Note state for a valid Plugin-owned Markdown file

Production-browser evidence (390 px, light scheme, macOS platform emulation): ![The Files Markdown editor route shows the missing Note state for a valid Plugin-owned Markdown file](https://git.kayg.org/attachments/8d05cc9c-fd51-46a5-9783-2847b6c66cc1)
Commenting is not possible because the repository is archived.
No labels
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
kayg/calternal-v0#1237
No description provided.