verstak/docs
mirivlad b800bce7e4 step 10: plugins system (Lua + templates) + DokuWiki as optional plugin
Plugin Manager:
- Discover plugins from .verstak/plugins/<name>/plugin.json
- Enable/disable per plugin
- Template definitions (JSON) → pre-filled node trees
- SQL migrations from plugins
- Built-in templates loaded from internal/core/plugins/builtin/templates/

Lua Runtime:
- Stub (gopher-lua placeholder) — ready for real implementation
- When dep added: hooks (on_init, on_vault_open, on_node_create),
  sandbox (no io/os.execute), Plugin API

GUI:
- Template selector in create node modal
- POST /api/nodes/from-template creates tree from template
- Built-in "Клиент" template: Overview note + Документы/Переписка/Скриншоты

CLI:
- verstak plugin list/enable/disable/templates

DokuWiki Importer:
- Moved to contrib/plugins/importer-dokuwiki/ (optional plugin)
- plugin.json + migration + README

DokuWiki removed from MVP core — now an opt-in plugin.

Acceptance: go build ./... pass, go test ./... pass (all packages).
2026-05-31 11:20:45 +08:00
..
00_README.md steps 4-6 + doc overhaul: files, notes, GUI, plugins docs 2026-05-30 20:35:04 +08:00
01_Product_Spec.md steps 4-6 + doc overhaul: files, notes, GUI, plugins docs 2026-05-30 20:35:04 +08:00
02_Architecture.md steps 4-6 + doc overhaul: files, notes, GUI, plugins docs 2026-05-30 20:35:04 +08:00
03_Data_Model_Storage.md steps 4-6 + doc overhaul: files, notes, GUI, plugins docs 2026-05-30 20:35:04 +08:00
04_Sync_Backup_Activity.md step 1: skeleton - go module, CLI stub with --version, structure 2026-05-30 18:42:19 +08:00
05_UI_UX.md step 1: skeleton - go module, CLI stub with --version, structure 2026-05-30 18:42:19 +08:00
06_Roadmap.md step 1: skeleton - go module, CLI stub with --version, structure 2026-05-30 18:42:19 +08:00
07_AI_Coder_Prompts.md step 1: skeleton - go module, CLI stub with --version, structure 2026-05-30 18:42:19 +08:00
08_MVP_Checklist.md step 10: plugins system (Lua + templates) + DokuWiki as optional plugin 2026-05-31 11:20:45 +08:00
09_Extensibility.md steps 4-6 + doc overhaul: files, notes, GUI, plugins docs 2026-05-30 20:35:04 +08:00
PLAN.md step 10: plugins system (Lua + templates) + DokuWiki as optional plugin 2026-05-31 11:20:45 +08:00
verstak_browser_extension_prompts.md step 1: skeleton - go module, CLI stub with --version, structure 2026-05-30 18:42:19 +08:00