Domain docs
Read domain documentation before exploring a codebase or proposing a domain change. Adapted from
Matt Pocock's domain.md.
Read before exploring
- Read this repo's
GLOSSARY.mdanddocs/adr/, when present. - Read the corresponding files in
clhbid/CLHbid-LiveAuction. Use
gh apito fetchrepos/clhbid/CLHbid-LiveAuction/contents/GLOSSARY.mdand listrepos/clhbid/CLHbid-LiveAuction/contents/docs/adr/, then fetch each ADR with the same contents endpoint and decode its.contentfrom base64. In LiveAuction itself, the local files are these same files, so read them once.
If a glossary or ADR directory is absent locally or in LiveAuction, continue silently.
Apply the domain model
- LiveAuction's glossary and ADRs are the org's source of truth. Flag a local term or ADR that conflicts with them; surface the conflict rather than choosing one silently.
- Use glossary terms in issue titles, proposals and test names. A missing term is either invented
language to reconsider or a gap to note for
/domain-modeling. - Flag output that contradicts an ADR rather than overriding it silently.
- Write recorded domain knowledge to LiveAuction unless it applies only to this repo.
