# Declared Jurisdiction

> A design rule that a naming gate reads from one declaration the roots it governs, the containers and buckets under each, the classes of file exempt from the grammar, and the trees another system authors or resolves by name, which are exempted once and never governed.

Record: `architecture:declared-jurisdiction`
Kind: principle
Layer: [Structural Core](https://banes-lab.com/records/layer/structural-core.md)
Severity: mandatory
Scope: repository, root, file
Canonical: https://banes-lab.com/ontology#architecture-declared-jurisdiction

Listed in [Architecture principles](https://banes-lab.com/api/records/architecture.md), after [Glob-Resolvable Tree](https://banes-lab.com/records/architecture/glob-resolvable-tree.md) and before [Bounded Nesting Depth](https://banes-lab.com/records/architecture/bounded-nesting-depth.md).

## Repair

- Refactored by: Declare the Root, Place the Folder Inside an Existing Container, Remove the Ignore Entry, Collapse the Exemption Lists into One Declaration
- Detected by: a folder at a governed root that is in neither the container nor the bucket declaration, an ignore entry naming authored source that belongs to no exempt class, or a declared root that holds another system's ownership marker
- Violated by: inferring jurisdiction from folder shape, exempting a file by adding its name to silence a finding, or keeping one exemption list per check for the same upstream tree
- Measured by: undeclared root-level folder count, ignore entries outside the exempt classes, and exemptions held outside the one upstream declaration
- Enforced by: jurisdiction gate, the taxonomy validator, which refuses an ignore entry of wildcards or of a whole extension, and the coordination member's declaration check, which resolves every declared upstream root against the disk and refuses a root carrying a foreign ownership marker

## Requires

- [Governed Root](https://banes-lab.com/records/lexicon/governed-root.md)
- [Container Level](https://banes-lab.com/records/lexicon/container-level.md)
- [Flat Bucket](https://banes-lab.com/records/lexicon/flat-bucket.md)
- [Ignore Declaration](https://banes-lab.com/records/lexicon/ignore-declaration.md)
- [Ecosystem-Fixed Name](https://banes-lab.com/records/lexicon/ecosystem-fixed-name.md)
- [Structurally Exempt File](https://banes-lab.com/records/lexicon/structurally-exempt-file.md)
- [Compound Marker](https://banes-lab.com/records/lexicon/compound-marker.md)

## Reinforces

- [Explicit Boundaries](https://banes-lab.com/records/architecture/explicit-boundaries.md)
- [Single Source of Truth](https://banes-lab.com/records/architecture/single-source-of-truth.md)

## Enables

- [Bounded Nesting Depth](https://banes-lab.com/records/architecture/bounded-nesting-depth.md)
- [Glob-Resolvable Tree](https://banes-lab.com/records/architecture/glob-resolvable-tree.md)
- [Backward Compatibility](https://banes-lab.com/records/architecture/backward-compatibility.md)

## Conflicts with

- [Ignore-List Silencing](https://banes-lab.com/records/lexicon/ignore-list-silencing.md)
- [Depth-Relief Container](https://banes-lab.com/records/lexicon/depth-relief-container.md)
- [Claimed Foreign Tree](https://banes-lab.com/records/lexicon/claimed-foreign-tree.md)
- [Duplicated Authority](https://banes-lab.com/records/lexicon/duplicated-authority.md)

## Contracts

- [Taxonomy Jurisdiction](https://banes-lab.com/records/algorithms/taxonomy-jurisdiction.md)
- [Container Ladder](https://banes-lab.com/records/algorithms/container-ladder.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)

## Enforced by

- [rules/entrypoints/taxonomy.entrypoint.ts](https://banes-lab.com/source/governance/rules/entrypoints/taxonomy.entrypoint.ts.md)

## Enabled by

- [Derived Naming Registry](https://banes-lab.com/records/architecture/derived-naming-registry.md)

## Linked from

- [Placement is a grammar](https://banes-lab.com/disciplined-methodology/build/placement-is-a-grammar.md)
- [Domain Architecture](https://banes-lab.com/ontology/principles/architecture-category-domain-architecture.md)
- [Contracts / Interfaces / Compatibility](https://banes-lab.com/ontology/principles/architecture-category-contracts-interfaces-compatibility.md)
- [Schema / Canonical Data / Semantics](https://banes-lab.com/ontology/principles/architecture-category-schema-canonical-data-semantics.md)
- [Taxonomy / Classification / Naming](https://banes-lab.com/ontology/principles/architecture-category-taxonomy-classification-naming.md)
- [Schema / Canonical Data / Semantics](https://banes-lab.com/ontology/lexicon/lexicon-category-schema-canonical-data-semantics.md)
- [Taxonomy / Classification / Naming](https://banes-lab.com/ontology/lexicon/lexicon-category-taxonomy-classification-naming.md)
- [Taxonomy](https://banes-lab.com/ontology/algorithms/algorithms-domain-taxonomy.md)
- [Severity levels](https://banes-lab.com/ontology/schema/the-vocabulary-severity.md)

## Evidence in the code

- [checkPlacement](https://banes-lab.com/source/coordination/tools/core/validators/taxonomy.validator.ts.md)
