session handover: berhtjan dispatch done, next stapul integration #2

Closed
opened 2026-05-05 18:28:14 +02:00 by michael · 1 comment
Owner

Session Handover -- berhtjan dispatch + stapul integration

What was done

  • DAW/daw-modul-berhtjan-core: commands block support in loader (v0.1.2, 45 tests)
  • DAW/daw-modul-berhtjan-cli: dispatch.lua implemented (v0.1.1, 33 tests)
    • scan roots from cfg.ui.scan via adapters.ui
    • module.conf [lua] require for require path resolution
    • ctx passed through to all handlers
  • DAW/daw-module-manager: commands.lua + module.conf + contribution.json (42 tests)
    • list, install, update_index handlers
    • local .stpkg install via path detection
    • config/module.conf with [lua] require = daw.module_manager
  • DAW/steurjan: berhtjan-core + berhtjan-cli added as submodules
    • src/adapters/ui/init.lua added
    • config/steurjan.conf.example updated with [modules] and [ui] sections
    • migration of modules command pending (DAW/steurjan#)

Architecture decisions

  • Scan roots come from cfg.ui.scan -- no hardcoded paths in dispatch
  • module.conf [lua] require declares the Lua require path per module
  • ctx built from cfg by adapters.ui -- handlers never touch core directly
  • commands.lua separate from init.lua -- init stays slim facade
  • Local .stpkg install: path detection by pattern (starts ./ / or ends .stpkg)

Next session: stapul integration

  1. Create stapul repo on Forgejo
  2. Scaffold stapul with daw-modul-berhtjan-core, berhtjan-cli,
    daw-module-manager as submodules
  3. Implement adapters/ui + main.lua using adapter.dispatch
  4. Validate full dispatch flow end-to-end
  5. Then migrate DAW/steurjan modules command (DAW/steurjan#)

Blocked / pending

  • DAW/daw-module-manager: replace lfs in install.lua with daw.lua.common.fs
  • DAW/daw-module-standard: document [lua] require field in module.conf
  • DAW/steurjan: migrate modules command to berhtjan-cli dispatch

References

  • DAW/daw-modul-berhtjan-core#1 (previous session handover)
  • DAW/daw-modul-berhtjan-cli (dispatch implemented)
  • DAW/daw-module-manager (commands.lua)
  • docs/concepts/berhtjan-konzept.md v0.3
## Session Handover -- berhtjan dispatch + stapul integration ## What was done - DAW/daw-modul-berhtjan-core: commands block support in loader (v0.1.2, 45 tests) - DAW/daw-modul-berhtjan-cli: dispatch.lua implemented (v0.1.1, 33 tests) - scan roots from cfg.ui.scan via adapters.ui - module.conf [lua] require for require path resolution - ctx passed through to all handlers - DAW/daw-module-manager: commands.lua + module.conf + contribution.json (42 tests) - list, install, update_index handlers - local .stpkg install via path detection - config/module.conf with [lua] require = daw.module_manager - DAW/steurjan: berhtjan-core + berhtjan-cli added as submodules - src/adapters/ui/init.lua added - config/steurjan.conf.example updated with [modules] and [ui] sections - migration of modules command pending (DAW/steurjan#<issue>) ## Architecture decisions - Scan roots come from cfg.ui.scan -- no hardcoded paths in dispatch - module.conf [lua] require declares the Lua require path per module - ctx built from cfg by adapters.ui -- handlers never touch core directly - commands.lua separate from init.lua -- init stays slim facade - Local .stpkg install: path detection by pattern (starts ./ / or ends .stpkg) ## Next session: stapul integration 1. Create stapul repo on Forgejo 2. Scaffold stapul with daw-modul-berhtjan-core, berhtjan-cli, daw-module-manager as submodules 3. Implement adapters/ui + main.lua using adapter.dispatch 4. Validate full dispatch flow end-to-end 5. Then migrate DAW/steurjan modules command (DAW/steurjan#<issue>) ## Blocked / pending - DAW/daw-module-manager: replace lfs in install.lua with daw.lua.common.fs - DAW/daw-module-standard: document [lua] require field in module.conf - DAW/steurjan: migrate modules command to berhtjan-cli dispatch ## References - DAW/daw-modul-berhtjan-core#1 (previous session handover) - DAW/daw-modul-berhtjan-cli (dispatch implemented) - DAW/daw-module-manager (commands.lua) - docs/concepts/berhtjan-konzept.md v0.3
Author
Owner

Superseded. All items completed or tracked in follow-up issues.

Superseded. All items completed or tracked in follow-up issues.
michael 2026-06-02 09:24:53 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
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
DAW/daw-modul-berhtjan-core#2
No description provided.