Skip to content

Architecture / Decision records / ADR-HIS-033

ADR-HIS-033 One repository for code and documentation

Status Accepted
Decided 2026-11-24 by the product owner
Record Drafted 2026-11-24; approved 2026-11-24 by the Enterprise Architecture Board
Where the rule lives Architecture, section 10.3

Context

The requirements, architecture, design and implementation plan live in the cema-care repository under docs/. The build sessions of the session plan need a code repository, and the plan had assumed a new one.

Options considered

  • A separate code repository, with the documentation repository referenced from it
  • The cema-care repository for both, with code beside docs/

Decision

Code lives in the cema-care repository, beside docs/. The documentation site and its pipeline jobs stay as they are.

Rationale

A change to a requirement and the code that meets it can travel in one merge request, and a build session reads the specification it builds from in the same checkout. The session rules already require the specification to change first; one repository makes that one review.

Consequences

  • Foundation session FN-S01 lays out the code folders and the agent instruction file at the root, and must leave the documentation site building.
  • Foundation session FN-S05 builds the pipeline; each job runs only for the files it covers. Since ADR-HIS-038 it does so in GitHub Actions.
  • The repository was on gitlab.com at first and is on GitHub (cema-care/his) for development since ADR-HIS-038. Technology stack row 12 and DEP-008 require source and pipelines on the hospital's self-managed GitLab before production, so the repository moves there.