Skip to content
EN · PT

Gate: header-layer-declared

The layer a header declares is one the Estrutura has.

Property Value
Checker header-layer-declared
Confronts spec feature code test
Blocking by default — new project yes
Blocking by default — existing project no — informs

The header’s layer: decides which templates derive the unit’s siblings and where the documentation files it. A layer the Estrutura does not have is read as nothing: the unit falls back to the default templates, lands in a page of its own, and shows up — if at all — as a layer outside every container on the architecture page. In the reference app a section declared layer: landing-component for months while the Estrutura only had landing-feature, and it surfaced by chance.

gates:
- name: header-layer-declared
on: [spec, feature, code, test]
check: header-layer-declared

Source: checker · its spec