diff --git a/AGENTS.md b/AGENTS.md index 2f743d1..fecf774 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -83,7 +83,7 @@ azos/ ├── shells/ # Dev shells └── azos-core/ # Shared feature library (git submodule) ├── flake.nix - ├── features/ # Shared/reusable features (auto-discovered) + ├── suites/ # Suites, each grouping related sub-features (auto-discovered) ├── overlays/ # Core overlays └── _lib/ # Module schema helpers ``` @@ -93,7 +93,10 @@ Features are auto-discovered by `import-tree` — no central imports file. Each then explicitly imported in `home-manager/home.nix` via `suiteModules.homeManager.`. **Where to put a new feature:** -- Shared / reusable across machines → `azos-core/features//default.nix` +- Shared / reusable across machines → inside an existing or new suite directory, + `azos-core/suites///default.nix` (registering + `config.flake.modules.homeManager.`) — never a bare file directly under + `azos-core/suites/`; every azos-core feature belongs to a suite. - Machine-specific → `azos/features//default.nix` ## Code Style Guidelines @@ -125,7 +128,7 @@ All features follow this flake-parts registration pattern: ### Naming Conventions - Option paths: `azos..