Wave 2: whiteboard carries its own names and its own store, and its gates run on the forge (mcl-martha#1) #3
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Purpose (feature): mcl-whiteboard can stand in one mcl-martha bundle beside mcl-kanban. Its two read-model apps carry whiteboard-own names instead of the ones kanban already holds, and every evoq dispatch names
:board_storeinstead of leaning on evoq's one-per-VMstore_idapp env. Its own standalone release keeps working exactly as it does today, and its gates run on the forge.Raf, 2026-12-02: "Yes, resume for mcl-martha (Recommended)" (resumed for this package only)
Raf, 2026-12-02: "Run the whole path (Recommended)"
DECIDED 2026-11-21 "move all our work off Github" (the CI port below)
DECIDED 2026-11-18: whiteboard is paused; the rename is the only change consolidation needs from it.
Refs martha-ai/mcl-martha#1, macula-services/mcl-om#8, macula-io/martha#601
Consolidation analysis §2.1 C2 and C4; §2.3 "whiteboard: only C4 (the renames) and C2".
What changes here
:project_boardsand:query_boards, and the modulesProjectBoards.*andQueryBoards.*, are the only names this repository shares with mcl-kanban (apps/project_boards/mix.exs:6in both). They become:project_whiteboard_boards/:query_whiteboard_boardsandProjectWhiteboardBoards.*/QueryWhiteboardBoards.*, with the app directories and every reference in the umbrella (release list, deps, supervisor names, docs) following. The wire does not move: no event type, aggregate type, ETS table or mesh topic name changes, only the names the BEAM node holds.:evoq_router.dispatch/1call (13 sites: theMaybe*desks inguide_board_lifecycle, andmcl_whiteboard_web's default-board initiate) names the store on dispatch. One module names the id, and both the dispatchers andMclWhiteboard.Service.event_store/0read it from there, so the id is written once. Thestore_id: :board_storeline leaves theevoqblock ofconfig/runtime.exs: in a bundle it is one value per VM, set differently by every service that uses evoq. The adapters stay.ci.ymlwas still the GitHub shape:ubuntu-latest, a ghcr image with no pull credentials,actions/checkout/upload-artifactin a toolchain image that carries no node, and save fortest, every job guardedif: github.server_url == 'https://github.com'. Ported as mcl-bookclub-phoenix#3 did it: a forgedockerrunner, the forge registry's macula-ci-pq by digest with the org's read-only pull account, the node step the JavaScript actions need, no artifact hand-off, and the GitHub-only publish chain (guard, image, attest, promote-latest) removed with the two pinned copies only it called.c4-model.ymlwas already forge-shaped (its job is green in mcl-mail today) and gets no change;c4-design-gate.ymlstays: it runs on anissuesevent the forge does not have, and is guarded GitHub-only. The workflows stay in.github: the forge reads.github/workflowswhere no.forgejoexists, which mcl-mail's green runs 6582/6583 prove.Done when
:project_boardsor:query_boardsand noProjectBoards./QueryBoards.module remains in this repository; mcl-kanban's own are untouched (it is not in this package).store_idapp env, the line is out ofconfig/runtime.exs, and a test proves a dispatch reaches:board_storewith nostore_idin evoq's env.mix format --check-formatted,mix compile --warnings-as-errors,mix credo,mix testandmix dialyzerare green on OTP 28 / Elixir 1.18.4.gatesjob and thec4 modelworkflow run on the pull request and are green.Landed. PR 4 merged into
mainat509c6c5309(fast-forward, read back on the origin).Done-when, checked on
mainat that sha::project_boards/:query_boardsatom and noProjectBoards./QueryBoards.module remains; the apps areproject_whiteboard_boardsandquery_whiteboard_boards, and mcl-kanban was not touched.board_initiated_v1and theboard_list_query/shape_mutation_request/presencetopics keep their strings; only BEAM-side names moved.config/runtime.exscarries nostore_idsetting (only a comment saying why), all 14:evoq_router.dispatch/2sites pass%{store_id: GuideBoardLifecycle.Store.id()}, and that one module holds@id :board_store;apps/mcl_whiteboard/test/event_store_test.exsproves a dispatch reaches it.mix format,compile --warnings-as-errors,credo,testanddialyzeron OTP 28.4.3 / Elixir 1.18.4 are green in thegatesjob.status=success.Review: Jupiter PASS r=2, nit folded in at
509c6c5.Correction to item 5 above: the gates job does not build or boot a release (its steps are toolchain, deps, format, compile, credo, test, dialyzer). Done-when 5 was proven locally on this same code, as the pull request body records: the standalone release builds with
mix releaseand boots, opening:board_storeand its evoq subscription, until the smoke run stops it. The gates job covers lines 4 and, with the c4 model workflow, line 6.