Skip to content

Skill: open a folder for direct edits - #1774

Closed
bendrucker wants to merge 1 commit into
backnotprop:mainfrom
bendrucker:skill-folder-edit
Closed

bendrucker wants to merge 1 commit into
backnotprop:mainfrom
bendrucker:skill-folder-edit

Conversation

@bendrucker

@bendrucker bendrucker commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

An agent asked to "set up documents so I can review them and make direct edits in the browser" followed the plannotator skill's "Several files" bullet. It ran plannotator annotate a.md b.md c.md d.md, and the review that opened had no Edit Mode.

That is intended. Source save is off in bundles, and the server passes sourceSaveFolderPath only in annotate-folder mode. The canEditMarkdown gate in packages/editor/App.tsx allows editing a linked document only when its folder session has source save. Reopening as plannotator annotate dir/ gave Edit, with saves written back to each file.

This adds one sentence to the skill bullet and to the "Several files in one review" docs section. It steers agents to the folder form when the user wants to edit directly. No code change. plannotator-skill-reference.test.ts passes.

A review of several files has no Edit Mode. Point agents at the
folder form when the user wants to edit documents in the browser.
@backnotprop

Copy link
Copy Markdown
Owner

Thanks @bendrucker. Your report showed that a review of several files had no Edit Mode, and that was the wrong default. #1802 now turns Edit Mode on for every file in that kind of review, under the same rules as opening the file by itself, so the skill no longer needs to send agents to the folder form. I'm closing this as superseded; the fix came from your find.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants