01 · Vendor the core
Your application never copies protocol code — it pins the core as a git submodule so the exact protocol revision you compiled against is recorded in your repo. This is how every ours.network client consumes the core (the README documents the same one-liner).
Prereqs:
gitinstalled.- Network access to
github.com(or a local mirror of this repo).
Steps:
Create your application repo:
shmkdir my-app && cd my-app git initAdd the core as a submodule under
mufl_code/core. Themufl_code/directory is your packet's compile root; the core must land in acore/subfolder of it, because that is where yourconfig.muflwill look for it (see 02 · Configure & compile):shgit submodule add https://github.com/adapt-toolkit/ours-mufl-core.git mufl_code/core(SSH form:
git@github.com:adapt-toolkit/ours-mufl-core.git.)
When cloning your app later, pull the pinned core with git submodule update --init.
Verify:
sh
ls mufl_code/core/*.mm
git submodule statusSuccess markers:
lslists the seven protocol libraries, endingmufl_code/core/a2a_protocol.mm…mufl_code/core/version.mm.git submodule statusprints one line: a commit hash followed bymufl_code/core.
Next: 02 · Configure & compile.