The structured source is the only editable ontology surface.
- Add or edit a record in
ontology.source.json. - Assign a unique stable
id; preserve it when changing a label. - Put alternate labels in
aliasesand choose an allowedstatus,list, andtag. - For Core terms, provide a tag, primary definition, and correct example.
- Preserve free-text context in
connectionsText. - Add only relations whose targets and types are explicit and reviewable.
- Regenerate and validate:
python3 scripts/ontology.py build
python3 scripts/ontology.py export-csv
python3 scripts/ontology.py site
python3 scripts/ontology.py gnn-terms
python3 scripts/ontology.py sync-manifest
python3 scripts/ontology.py validate --strict- Keep the existing
idwhen a label changes. - Add the former label to
aliaseswhen downstream lookup should continue to work. - Use
deprecated,merged, orretiredstatus rather than deleting a published term. - Record the replacement relationship explicitly when a merger has been reviewed.
- Are IDs, labels, and aliases unique?
- Are required Core fields present?
- Do all relation targets exist and avoid self-relations?
- Is a relation type supported by explicit evidence?
- Does the quality report make remaining historical gaps visible?
- Do all generated artifacts and manifest hashes validate?