# Sanctioned Generic Subject

> A rule or precondition that a file takes the one generic subject only when it is generic over its type parameters and names no domain noun anywhere in its source.

Record: `architecture:sanctioned-generic-subject`
Kind: constraint
Layer: [Structural Core](https://banes-lab.com/records/layer/structural-core.md)
Severity: mandatory
Scope: filename
Canonical: https://banes-lab.com/ontology#architecture-sanctioned-generic-subject

Listed in [Architecture principles](https://banes-lab.com/api/records/architecture.md), after [Mirrored Test Placement](https://banes-lab.com/records/architecture/mirrored-test-placement.md) and before [Conformance at Creation](https://banes-lab.com/records/architecture/conformance-at-creation.md).

## Repair

- Refactored by: Take the Domain Noun as the Subject
- Detected by: a file carrying the generic subject whose source names a domain noun
- Violated by: naming a file with the generic subject while its source mentions the domain it serves
- Measured by: generic-subject files that fail either test
- Enforced by: classification review

## Requires

- [Subject Slot](https://banes-lab.com/records/lexicon/subject-slot.md)

## Reinforces

- [Closed Vocabulary](https://banes-lab.com/records/architecture/closed-vocabulary.md)

## Enables

- [Placement Predictability](https://banes-lab.com/records/lexicon/placement-predictability.md)

## Conflicts with

- [Grouping Label](https://banes-lab.com/records/lexicon/grouping-label.md)

## Severity

- [mandatory](https://banes-lab.com/records/vocabulary/severity-mandatory.md)

## Category

- [Taxonomy / Classification / Naming](https://banes-lab.com/records/architecture-category/taxonomy-classification-naming.md)

## Linked from

- [Taxonomy / Classification / Naming](https://banes-lab.com/ontology/principles/architecture-category-taxonomy-classification-naming.md)
- [Taxonomy / Classification / Naming](https://banes-lab.com/ontology/lexicon/lexicon-category-taxonomy-classification-naming.md)
- [Severity levels](https://banes-lab.com/ontology/schema/the-vocabulary-severity.md)
