Project
A project is an internal Onyx record for a GitHub repository, optionally scoped byprojectPath. Onyx creates or reuses it automatically when the first branch starts from that repository.
Onyx stores project metadata for search, permissions, graph rendering, and repository sync, while git remains the source of truth for code.
Branch
A branch is a research direction. Each Onyx branch maps to one git branch:- name and description;
- metric name;
- metric unit;
- direction, either
maximizeorminimize; - base commit;
- best experiment and best metric.
Experiment
An experiment is one recorded run at one commit. Experiments track:- commit SHA;
- status;
- primary metric value;
- secondary metrics;
- agent notes;
- output summary;
- optional checks result;
- previous best commit for diffing.