> ## Documentation Index
> Fetch the complete documentation index at: https://docs.rffl.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Team Codes

> Canonical RFFL team code handling and source boundaries.

Team codes are stable identifiers used across season files, registries, generated recaps, and lookup workflows.

## Code Rules

| Rule                        | Meaning                                                                   |
| --------------------------- | ------------------------------------------------------------------------- |
| Use canonical codes         | Public pages should prefer registry-approved team codes                   |
| Resolve aliases first       | ESPN variants and historical abbreviations map through the alias registry |
| Preserve season context     | A code can be valid in one season and absent in another                   |
| Do not guess owner identity | Use the team registry before answering ownership questions                |

## Source Paths

| Source                             | Use it for                           |
| ---------------------------------- | ------------------------------------ |
| `registries/RFFL_REG_TEAMS_001.py` | canonical team-season records        |
| `registries/canonical_teams.csv`   | readable season-by-season team table |
| `registries/rffl-reg-teams-002.md` | alias-to-canonical mapping           |

## Related

| Page                                       | Use it for                        |
| ------------------------------------------ | --------------------------------- |
| [Team Registry](/registries/teams)         | Canonical teams and owner history |
| [Division Registry](/registries/divisions) | Division names, codes, and eras   |
| [Registry Usage](/registries/usage)        | How to apply registry records     |
