| 1 | # Project Components DOX |
| 2 | |
| 3 | ## Purpose |
| 4 | |
| 5 | - Own WebUI project creation, selection, editing, secrets, model, skill, MCP server, and file-structure components. |
| 6 | |
| 7 | ## Ownership |
| 8 | |
| 9 | - `projects-store.js` owns project state and actions. |
| 10 | - `project-create.html`, `project-list.html`, and `project-selector.html` own project creation and navigation UI. |
| 11 | - `project-edit*.html` files own project editing subsections. |
| 12 | - `project-file-structure-test.html` owns file-structure test UI. |
| 13 | |
| 14 | ## Local Contracts |
| 15 | |
| 16 | - Keep project API payloads synchronized with backend project handlers. |
| 17 | - Do not expose project secrets in logs, URLs, or long-lived frontend state unnecessarily. |
| 18 | - Preserve scoped settings interactions with plugins, models, skills, and MCP servers. |
| 19 | - Project model settings select a global `_model_config` preset; they do not own copied model dictionaries or project-local preset definitions. |
| 20 | - Agent Editor owns profile-scoped availability mutations. Project edit payloads |
| 21 | do not include that state, so unrelated project saves cannot restore stale |
| 22 | toggle values. |
| 23 | |
| 24 | ## Work Guidance |
| 25 | |
| 26 | - Verify project edit flows when changing shared project store state. |
| 27 | |
| 28 | ## Verification |
| 29 | |
| 30 | - Smoke-test create, select, edit, secrets, LLM, skills, MCP servers, and file-structure flows after changes. |
| 31 | |
| 32 | ## Child DOX Index |
| 33 | |
| 34 | No child DOX files. |