Statement
File ownership marker validation shall apply context-specific defaults for unmarked files: src/site/ and src/components/ are SITE-OWNED by directory (markers recommended but not required); src/pages/ with no marker defaults to SITE-OWNED (fail-safe for site customization files); src/content/ defaults to SITE-OWNED by directory convention. Core-owned directories (src/core/, src/lib/, scripts/) shall require explicit markers.
Rationale
Context-specific defaults prevent false positives for files that are inherently site-owned by location while still requiring explicit markers in ambiguous directories. Delivered by WP-D4 (D-D4-02).
Topics
Owner: docs-governance
Applies To
- Validation Pipeline DOC-00007
- Development Guidelines DOC-00042
Related Requirements
- REQ-00257 File ownership markers (// CORE-OWNED, // SITE-OWNED) in governed directories shall be validated by a lint step in the validate pipeline, ensuring all core-owned source files declare their ownership zone and site-owned directory files do not carry incorrect markers.