SR-INFRA-007 — Naming Conventions: System Requirements

By Engineering Team•October 20, 2026•2 min read
Metadata Details
System Name Naming conventions
Document ID SR-INFRA-007
Author Engineering Team
Status Draft / Implementation

Traces back to BRD-INFRA-007. Implements workspace rule 09.


1. Functional System Requirements

ID Description Traceability (BRD)
SR-F-01 (Format) Names use lowercase kebab-case: a-z, 0-9, -. A name never contains a secret, account ID, zone ID or email address. BR-1.1
SR-F-02 (Credential Name) A machine credential is named <project>-<environment>-<runner>-<purpose>[-<person>]. <project> is the repository folder name exactly. BR-1.1, BR-1.2
SR-F-03 (Environment Values) <environment> is dev, staging or prod. It is the environment the credential changes, not the machine it runs on. Non-production, as in SR-INFRA-004 and SR-INFRA-009, uses dev for the single non-production site and may add staging later. BR-1.2
SR-F-04 (Runner Values) <runner> is local (the administrator’s Mac), codespace or gha. One credential per runner. BR-1.2
SR-F-05 (Person Segment) <person> (the GitHub username) is required on every personally held credential and never on a gha credential. BR-1.2
SR-F-06 (Group Name) An access group is named cf-<project>-<environment>-<role>, assigned a built-in provider role scoped to the project. BR-1.1
SR-F-07 (Password-Manager Entries) A project’s vault and its 1Password Environment for one environment share one name, <project-name>-<environment> (shared for an account-level layer), with the same pattern in every environment; never a short or role-only name. Items are named by purpose, and every environment of a project has the same item set, so an op:// reference reads with the same project, environment and purpose. BR-1.1
SR-F-09 (Resource Name) Every cloud resource a layer creates (hosting project, bucket, ruleset and any other account-wide name) is named <project>-<environment>[-<purpose>] in every environment, with no exemption for a name that predates the rule. Names are derived in code from the project and the environment in one place of the shared module; no environment root sets a name, so the non-production plan shows the names production will get. Zones and DNS records are named by their domain and host. BR-1.1
SR-F-08 (Published Text) Documents under <site-repo>/src/content/ use placeholders such as <project>-<env>-<runner>-<purpose>. Real names stay in internal docs/infra/ and in code. BR-1.3