Status: normative
eng/architecture.json is the machine-readable project and reference allowlist. When implementation begins, the repository uses exactly this shape:
src/
NeNeCommander.App/
NeNeCommander.Presentation.WinUI/
NeNeCommander.Application/
NeNeCommander.Domain/
NeNeCommander.Infrastructure.Windows/
tests/
NeNeCommander.Domain.Tests/
NeNeCommander.Application.Tests/
NeNeCommander.Infrastructure.Windows.Tests/
NeNeCommander.Presentation.WinUI.Tests/
NeNeCommander.Architecture.Tests/
eng/
architecture.json
check.ps1
conformance.ps1
prove-gates.ps1
ui-evidence/
docs/
adr/
quality/
waivers/
| Content | Sole location |
|---|---|
| invariants, value objects, provider kinds, closed outcomes | NeNeCommander.Domain |
| use cases, ports, orchestration, reducers | NeNeCommander.Application |
| view models, deterministic input translation, intent mapping | NeNeCommander.Presentation.WinUI |
| local/UNC/WSL adapters, shell, settings persistence, OS integration | NeNeCommander.Infrastructure.Windows |
| executable startup, WinUI framework boundary, semantic XAML resources, dependency composition | NeNeCommander.App |
| automated behavioral proof | matching project under tests/ |
| repository policy enforcement | eng/ and NeNeCommander.Architecture.Tests |
eng/ui-evidence/ holds the Issue #94 UI release evidence harness: the Invoke-UiEvidence.ps1 entry, its UiEvidence.psm1 functions, the cells.json matrix, and the Win32-free selftest.ps1. Like eng/run-live-wsl-tests.ps1 it is an environment-tier launcher outside eng/check.ps1; it is not a gate and adds no production hook.
eng/complexity/ holds the standalone CS-013 metric implementation and its small
fixtures, owned by eng/measure-complexity.ps1 (ADR-0075). It compiles with the
pinned SDK into ignored artifacts/complexity/, without a solution project,
dependency, product build or gate/CI connection.
eng/record-closure/ holds the compiler-driven CS-002 gate sources owned by
eng/verify-record-closure.ps1 (ADR-0073). They compile directly with the pinned
SDK into ignored artifacts/record-closure/, not a solution project or a production
dependency. The existing gate and proof entries invoke this one implementation.
- Folders are named for product concepts or adapter boundaries, not technical grab bags.
Helpers,Utils,Utilities,Common,Misc, and equivalent catch-all folders are prohibited.- A feature is placed by ownership. Mirrored copies across layers are prohibited.
- Generated files live under
obj/or an explicitly declared generated directory and are never edited manually. - Tests mirror the production namespace and file name using the suffix
Tests. - Each production file has one primary top-level type. Small private nested types are permitted when they cannot be reused independently.
Under ADR-0087, eng/theme-catalog/ owns the fixed palette manifest and the three
C# source templates; eng/import-theme-catalog.ps1 is the sole offline import/check
entry. Its declared committed outputs are Application Settings/ColorScheme.cs,
Presentation Settings/SettingsPresenter.cs, App Themes/ColorSchemeResources.cs,
the shared125 Themes/Schemes/*.xaml, and their three-locale name entries. These
are the explicit CS-019 exception to the generated-directory rule and stay subject
to all ordinary analyzers and gates. Edit templates/manifest, then import; never
hand-edit those imported sections. The four Commander-only scheme files remain
authored. docs/release/licenses/theme-palette-notices.txt holds the exact bounded
upstream palette notice, inventoried by the existing release-notice path.
Adding, removing, renaming, or changing references for a project requires an accepted ADR and an atomic update to eng/architecture.json, this document, the solution, package allowlist, architecture tests, and lock files.