Skip to content

Development principles

rettX’s software development is guided by an engineering constitution that applies to the software repositories in the ecosystem. This is development governance, not the registry’s patient data governance framework. It does not define approval of research access or replace consent and data-sharing policies.

The full versioned text lives in the source tree at .specify/memory/constitution.md; this page summarises the principles for readers who want a quick orientation.

The constitution exists because rettX is a distributed system operated by volunteers and small teams, and we cannot rely on shared tribal knowledge to keep things consistent or safe. The constitution is the source of shared knowledge.

Three reasons:

  1. Patient safety and dignity are not a feature; they are the floor. Codifying that in writing makes it harder to compromise them under deadline pressure.
  2. Multiple repositories, one program. Repositories that evolve independently still need to behave like one product to the people we serve.
  3. Continuity. Volunteers and contributors come and go. A written constitution is how the project’s values survive contributor turnover.

The constitution defines eight principles. Three are flagged NON-NEGOTIABLE — they cannot be relaxed by any individual change:

#PrincipleStatus
IPatients & caregivers come firstNON-NEGOTIABLE
IIPrivacy by designNON-NEGOTIABLE
IIITransparency above allNON-NEGOTIABLE
IVClinical accuracy and accountabilityRequired
VAccessibility and inclusionRequired
VISecurity baselineRequired
VIIOpen by default, private only when justifiedRequired
VIIISustainability and stewardshipRequired

These are development commitments, not a claim that every planned registry capability is already available. Read the full text for each principle in the constitution itself.

Every cross-cutting specification includes a Constitution check section. If a proposal cannot pass the check, it is rewritten or abandoned — not approved with caveats. This is what makes the constitution operational rather than aspirational.

The constitution is semver-versioned. A change is:

  • Major if it removes a principle, weakens a NON-NEGOTIABLE one, or otherwise breaks compatibility with existing specs.
  • Minor if it adds a new principle or strengthens an existing one in a way that requires changes to in-flight specs.
  • Patch for clarifications, typos, and editorial fixes.

The current version is recorded at the top of the constitution file.