diff --git a/docs/ARCHITECTURE.md b/docs/ARCHITECTURE.md index 672d01e..c49f4f4 100644 --- a/docs/ARCHITECTURE.md +++ b/docs/ARCHITECTURE.md @@ -24,6 +24,7 @@ All under `docs/architecture/foundation/adr/`: - **ADR-008** — theme engine and design-token runtime. - **ADR-009** — feature flags and capability guards. - **ADR-010** — backward compatibility for auth/payment/authorization. +- **ADR-011** — optional Seller Management module (typed foundation only, not built; see `docs/architecture/foundation/Seller-Management-Diagrams.md`). Companion standards docs (also `docs/architecture/foundation/`, kept as-is, enforced): `Coding-Standards.md`, `Naming-Conventions.md`, `Dependency-Rules.md`, `Folder-Blueprint.md`, `Import-Boundary-Matrix.md`, `State-Management-Standards.md`, `Configuration-Standards.md`, `Component-Standards.md`, `Service-Standards.md`. diff --git a/docs/PROJECT_INDEX.md b/docs/PROJECT_INDEX.md index 2af7b35..dcbb6be 100644 --- a/docs/PROJECT_INDEX.md +++ b/docs/PROJECT_INDEX.md @@ -13,7 +13,8 @@ Every tenant has three surfaces on this one codebase: ## System overview -- **Architecture**: `Component (container) → Facade → Domain Service → Repository/Provider (DI token, swappable mock↔API) → Mock | API`. Enforced by `npm run arch:check` (import boundaries + circular deps), not just convention. Full detail: [ARCHITECTURE.md](ARCHITECTURE.md), governance docs at `docs/architecture/foundation/**` (10 ADRs + 9 standards docs). +- **Architecture**: `Component (container) → Facade → Domain Service → Repository/Provider (DI token, swappable mock↔API) → Mock | API`. Enforced by `npm run arch:check` (import boundaries + circular deps), not just convention. Full detail: [ARCHITECTURE.md](ARCHITECTURE.md), governance docs at `docs/architecture/foundation/**` (11 ADRs + 9 standards docs). +- **Seller Management** (optional, not built): typed foundation only — `modules.sellerManagement.enabled` gate on `BootstrapConfig`, disabled by default, zero effect on existing marketplaces. See ADR-011 and `docs/architecture/foundation/Seller-Management-Diagrams.md`. - **State**: Signals-based facades everywhere, no NgRx (ADR-007). - **Rendering**: Bootstrap JSON → Section Engine → Page Renderer → Widget Host → registered widget component (ADR-005). 100% lazy-loaded routes. - **Theming**: CSS custom properties per tenant, 3 theme stylesheets, never hardcoded hex in a component (ADR-008). Design system spec: [`DESIGN.md`](../DESIGN.md) (root of repo). @@ -43,7 +44,7 @@ Read these directly — they're the current source of truth, not one-off reports | [`../DESIGN.md`](../DESIGN.md) | Visual design system: colors, typography, elevation, component specs | | [`../PRODUCT.md`](../PRODUCT.md) | Product positioning, users, brand personality, anti-references | | [`../CHANGELOG.md`](../CHANGELOG.md) | Keep-a-Changelog-format history of shipped features | -| `docs/architecture/foundation/**` | Enforced ADRs (ADR-001…ADR-010) and standards docs — governance, read directly | +| `docs/architecture/foundation/**` | Enforced ADRs (ADR-001…ADR-011) and standards docs — governance, read directly | | `docs/context/**` | Barry Cache's own source-backed memory system — infrastructure, not project documentation, do not edit by hand | | `docs/archive/**` | Superseded docs, kept for history only — do not implement against these |