Repository navigation
feat: sidebar tree by virtualPath, CLI docs rewrite, cleanup - #4
Merged
Merged
Conversation
- drop the stray old-format vault committed at the repo root (.cerbo/, index/) and ignore /.cerbo/ there; the repository is not a vault - drop tool caches: .lean-ctx/ and the stale generated gitnexus skills (they referenced core/src/index.rs, rename.rs and slug.rs, long gone) - drop test-core.sh (same as `cargo test -p cerbo-core`) and the remark-gridtables type stub for a dependency that is not installed - core: remove unused page helpers (get_page_path, cursor position and attachment stubs, has_h1/humanize_slug/ensure_page_has_h1), the legacy [[wikilink]] extractor and the unused fixtures module; the test-utils feature stays for the mock embedder - package.json: name the package cerbo and drop the "#lib" alias that pointed to a missing src/lib/index.js
- README: app icon, short pitch, feature list, quick start and a table of links into docs/ - docs/README.md indexes the pages; development.md, cli.md, desktop.md and links-and-annotations.md take over the material that lived in the README - storage.md: gather the legacy vocabulary, backrefs.ttl, index.json, migration and slug-model notes into one "Older vaults" chapter; add the config directory layout - move the 2026-09-04 store model review to docs/archive/ with a note
Apply the fixes newer lints suggest in the lib targets (useless borrows in format!, chunks_exact -> as_chunks, nested format!, manual range contains, manual is_multiple_of) and mark the test modules that write fixtures with std::fs::write as exempt from the disallowed_methods rule, matching the pattern core/src/page.rs already uses. No behaviour change.
- expand clap help on every command and argument, with output shapes - describe outputs of vault and page subcommands in the man page - drop the AUTOMATIC MIGRATION section and legacy backrefs references - add .agents/skills/cerbo-cli/SKILL.md for agents working a vault
Proposal, delta specs, design and tasks for rendering the sidebar as a tree driven by cerbo:virtualPath, with a Move dialog, drag and drop, folder rename, and cerbo page move / cerbo folder rename CLI commands.
- core: virtualPath on PageMeta, page_update_virtual_path, folder_rename with a per-page failure report, collapsed folders per vault in ui.toml - cli: page move <UUID> <PATH|--root>, folder rename <OLD> <NEW>, path suffix in page list; man page, docs and the cerbo-cli skill updated - tauri: page_move, folder_rename, ui_settings_set_collapsed_folders - desktop: folders derived from paths with collapse state, h/l/m keys, Move and Rename-folder dialogs, context menu, drag-and-drop, shared path input with folder suggestions - tests: core unit, CLI integration, vitest tree/path, desktop e2e spec - openspec: tick add-virtual-path-tree tasks 1 to 6.2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Six commits on top of the last merge from this branch (#3).
virtualPath(3933d5f, OpenSpec changeadd-virtual-path-tree): a page'scerbo:virtualPathnow places it in a folder tree in the desktop sidebar. Folders are derived from paths, never stored. Collapse state is saved per vault inui.toml.virtualPathonPageMeta,page_update_virtual_path,folder_renamewith a per-page failure report.cerbo page move <UUID> <PATH|--root>,cerbo folder rename <OLD> <NEW>, path suffix inpage list.page_move,folder_rename,ui_settings_set_collapsed_folders.h/lkeys,mto move, Move and Rename-folder dialogs, right-click menu, drag-and-drop, shared path input with folder suggestions.cerbo-cliskill (1b79a64), OpenSpec change documents (89221fa).513fe9c), docs reorganisation (f01b177), legacy files and dead code removed (cb07292).Test plan
cargo test --workspaceinsidenix develop: 394 passedbun run test(vitest): 175 passedbun run check(svelte-check) andcargo clippy: cleanpage-tree.e2e.tsopenspec validate --strict add-virtual-path-tree: valid