Code repository

Code repository is the tool class for versioned implementation: source code, configuration, infrastructure definitions, schemas, tests, and the history of changes to them. An example of a product in this class is GitHub.

Role in TFW

The code repository is the source of truth for versioned implementation and its change history: source code, configuration, infrastructure definitions, schemas, tests, executable runbooks, technical decision records that are kept next to the code, and instructions for AI agents that work in the repository. A change to one of these is made in the repository, through the review process the repository uses.

The code repository is not the source of truth for business approvals, task status, long explanations of how the topic works, chat transcripts, or credentials. Task status stays in task management, and a pull request or change links to the task. Broad explanations and procedures for people stay in the knowledge base. Credentials stay in a dedicated secrets manager and are never committed to a repository.

One topic’s surface

The example topic Example Co Operations (topic code EXOP) has a code repository surface only if the topic has code. A topic can have more than one repository. Together, the repositories whose names start with the topic’s prefix are the topic’s code repository surface.

Rules

Common mistakes

Tools

This site does not yet have a tool page for this class. Products in this class follow the same rules.