Codes
Every area and capability gets a permanent natural code — an area gets a
short stem (e.g. ARE-CMM), and a capability gets a stem plus a running
number (e.g. CAP-CMM-001). Codes exist so a capability can be cited
stably in a ticket, a report, or a conversation without repeating its
full title.
Stems are mechanical, not conventional
The stem is derived from the title by a fixed rule, and that rule does
not know your domain's conventions. It will produce results a person
would not have chosen — for example "Reports" derives the stem RPR,
not the more intuitive RPT. This is expected, not a bug to route
around: don't rename a title purely to chase a "nicer" code.
Codes are permanent
Once assigned, a code is never reused and never freed — not even when the area or capability it names is deprecated. A deprecated capability's code stays retired, not available for the next thing that happens to get a similar title.
What can re-code (and why it's rare)
Only two events cause a re-code:
- An area's title changes enough to re-derive its stem.
- A capability moves to a different area (its stem depends on its area).
When a re-code happens, the old code is retired into an alias table so that anything citing it — a ticket, a saved link — still resolves to the current entity. This means a re-code is safe for existing references, but it is still a real event: don't treat area renames or capability moves as free actions taken lightly. Rename an area only when its scope has genuinely changed, and don't promise a stakeholder that a specific code will survive a move.