P1: mcl-om history into mcl-core, renamed mcl_core, split contract/LAN/bridge #1
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?
Raf, 2026-12-02: DECIDED 2026-12-02 "I have created and cloned macula-services/mcl-core. Let's build this properly. In the end I hope we keep a single repo: mcl-core that will replace both mcl-om and mcl-lan"
Purpose (feature): mcl-core becomes the one service library. It carries mcl-om's history, so blame survives, under the name
mcl_coreand split into contract, LAN and bridge. This is P1 of the mcl-lan design (macula-services/mcl-landocs/DESIGN.md§7), and P2, the LAN transport and the firstmcl_corehex release, builds on it.Supervisor rulings (Raf may overrule):
mcl_core, module prefixmcl_core_*, a fresh 1.0 line.mcl_om1.x stays published.mcl_corerelease.Checked once (2026-12-02):
https://hex.pm/api/packages/mcl_coreanswers 404, so the name is free.Scope (P1):
main(a8e35a1) into mcl-core with--allow-unrelated-histories.mcl_omtomcl_core: files bygit mvin a commit of their own, then content, sogit log --followand blame reach mcl-om's commits.src/intocontract/,bridge/andlan/per design §1.2, behind a transport boundary. No behaviour change: every existing test passes.docs/DESIGN.mdand the two C4 SVGs from mcl-lan intodocs/andassets/, shown by README.Done when:
git log --follow src/contract/mcl_core.erlreaches mcl-om commits from before the merge.mcl_omis left insrc/,test/,test_live/,priv/,config/,scripts/,rebar.configor the workflows, except where it names the old package on purpose (CHANGELOG history, the pointer to mcl_om 1.x).src/contract,src/bridgeandsrc/lanas in design §1.2.rebar3 compile,xref,lint,dialyzer,eunitandctpass on OTP 28, and nothing in them reaches outside.assets/*context*.svgandassets/*container*.svg, anddocs/DESIGN.mdis in the repo.Later packages (P2-P4) get their own issues. Jupiter's P4 advisory (macula-services/mcl-lan#1 comment 8141: the token request carries the public key, and a key whose SHA-256 is not the claimed node id is refused) goes onto the P4 issue.
Refs macula-services/mcl-lan#1
Landed on main at
1256ced9dfas a fast-forward (PR 5, Terra), so mcl-om's history is kept. Jupiter PASS r=1, with one inline fix: the LICENSE notice "Copyright 2026 Raf Lefever, BEAM Campus" restored (Apache §4(c)). Mars read main back.Done when, checked on main:
git log --follow src/contract/mcl_core.erlgives 35 commits, back to mcl-om'sd295033.mcl_omis left in src, test, test_live, priv, config, scripts, rebar.config or the workflows, except history: CHANGELOG, version mentions,mcl-om#Nreferences, and the ownership-proof vector's provenance (test/vector/ownership_proof_v2/README.md).src/contract,src/bridgeandsrc/lan, as in design §1.2.src/lanholds only a note, since the LAN modules are P2 (#3).assets/mcl-lan-context.svgandassets/mcl-lan-container.svg, anddocs/DESIGN.mdis in the repo (§9 appended).yq: command not found) is the accepted red, #2.Left for later and recorded in DESIGN §9: the pool start moves to the bridge in P3, and services' publish calls move to the boundary in P2 (#3).
mcl_core 1.0.0 is live on hex (the forge-ci publish was staged; the owner approved it on 2026-12-02). Evidence:
scripts/is_hex_serving_what_git_says.sh 1.0.0 v1.0.0rc=0 against tag v1.0.0 (914650a): 88 files in the package, 0 differing, 0 absent from the tag; rebar.lock is the expected packaging artifact.