Pick a folder or type a path (a new one is created on save); new items
start in the folder they were created from and copies stay with the
draft's folder. A folder changed from the editor is audited as a move
(moved / sequence-moved), like a move from the list.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Sequences carry a folder ("/" or "/a/b") with the scripts' rules:
normalized, compared ignoring case through an upper-cased key, adopting
the casing of folders a path passes through
- "sequences" is a library of the shared folder service and endpoints:
GET/POST/DELETE /api/sequences/folders, POST /api/sequences/folders/move
(rename or move with everything in it), POST /api/sequences/move (one or
many); delete only while empty
- Saves take an optional folder: new sequences land in it, updates without
one keep the sequence where it is; bad paths are refused as for scripts
- Scripts View to read, Manage Scripts to change; audited in the scripts
category as sequence-folder-created/moved/deleted and sequence-moved
- SequenceFolders migration for SQLite, PostgreSQL and SQL Server: existing
sequences go to "/"
- Tests: folder CRUD, rename and move, bulk move, validation, Viewer 403,
migration default, and a run under way unaffected by a move
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Scripts and function modules carry a folder ("/" or "/a/b"), compared
ignoring case and adopting the casing of folders a path passes through
- Each library keeps folder rows, so empty folders persist; create,
rename or move (with everything in it), delete only while empty, and
move items between folders (created when missing)
- Saves take an optional folder: new items land in it, updates without
one keep the item where it is
- GET of every folder path for the console tree, for scripts, functions
and the vault
- Views need scripts.view / functions.view, changes scripts.manage /
functions.manage; changes are audited
- Folder path rules shared between the vault and the libraries
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>