Onboarding¶
Next: How a run works.
Set up¶
Clone the repository; optionally clone
MLLM-Shap-legacyas a sibling.uv self update(uv 0.12 or newer), thenmake install: Python 3.12, all dependency groups, prek git hooks.make check: filtered tests, every prek hook andmake vault-check. It must pass before any hand-off.
Open the vault¶
Open the repository folder as a vault in Obsidian (
open -a Obsidian .on macOS); accept the community plugins listed in.obsidian/community-plugins.json(Code Graph, Dataview, Templater, Mermaid Tools). Their code (main.js,styles.css) is committed next to each manifest, so the vault works on a fresh clone; after a version bump in a manifest runmake obsidian-pluginsto download that release. Obsidian drops an entry fromcommunity-plugins.jsonwhosemain.jsis missing; restore the list after a failed download.Code Graph colours each package of
src/mllm_shap; its settings are committed in.obsidian/plugins/code-graph/data.json.Without Obsidian, read the same notes on GitHub or in the documentation site’s handbook section.
Tool-specific hook behaviour found during the session-start smoke test: T01.
Where things live¶
Path |
What |
|---|---|
|
the package; one architecture note per subpackage (Modules) |
|
pytest suite; markers |
|
real-model scenarios on a GPU, |
|
Sphinx site ( |
|
notebooks with stored outputs ( |
|
this vault: map, architecture notes, decisions, issues |
|
vault checker, knowledge builder, editor hooks |
Making a change¶
Read the map and the architecture note of the package you touch.
Test first, implement, run
make check.Update the architecture note and append decision sections and issue notes; run
make knowledge vault-check.Open a pull request; Cursor Bugbot and CodeQL review it.