Skip to content

Commit af5573e

Browse files
committed
feat: migrate to Source-Centric Monorepo taxonomy v2.0
1 parent 560bcbe commit af5573e

295 files changed

Lines changed: 53946 additions & 1812 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
File renamed without changes.

.bmad-core/rules/structuring-standard.md

Lines changed: 629 additions & 0 deletions
Large diffs are not rendered by default.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

.vscode/settings.json

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,10 @@
11
{
2-
"yaml.schemas": {
3-
"./.bmad/schemas/project-rules.schema.json": [
4-
".bmad/rules/project-rules.yaml"
5-
]
6-
},
7-
"json.schemas": [
8-
{
9-
"fileMatch": [
10-
"/.bmad/rules/project-rules.json"
11-
],
12-
"url": "./.bmad/schemas/project-rules.schema.json"
13-
}
14-
]
2+
"eslint.workingDirectories": ["./src/.workspace"],
3+
"typescript.tsdk": "./src/.workspace/node_modules/typescript/lib",
4+
"nx.workspaceRoot": "./src/.workspace",
5+
"search.exclude": {
6+
"**/node_modules": true,
7+
"**/dist": true,
8+
"src/.workspace/.nx": true
9+
}
1510
}

AGENTS.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,16 @@
22
Enterprise Monorepo for User Management System (UMS). An authorization block prototype capable of working with third-party Identity Providers or operating standalone, using .NET 8 LTS, React, and PostgreSQL.
33

44
## Build & Run
5-
Commands for Frontend (run from within `./src/ums-workspace/`):
5+
> [!IMPORTANT]
6+
> The technical engine of this monorepo is located in `src/.workspace`. All technical commands must be executed relative to that directory.
7+
8+
Commands for Frontend (run from `src/.workspace`):
69
- Frontend Install: `npm install`
7-
- Frontend Start: `npx nx run apps-web:dev`
10+
- Frontend Start: `npx nx run app-web:dev`
811
- Setup Docs Context (Context7): `npx ctx7 setup`
9-
- Markdown Encoding Sanitation: `python ./bmad-core/scripts/cleanup_markdown_encoding.py`
12+
- Markdown Encoding Sanitation: `python ../../.bmad-core/scripts/cleanup_markdown_encoding.py`
1013

11-
Commands for Backend (run from within `./src/ums-workspace/apps/api-dotnet/` or root solution directory):
14+
Commands for Backend (run from within `./src/ums/app-api-dotnet/` or root solution directory):
1215
- Backend Build: `dotnet build`
1316
- Backend Test: `dotnet test`
1417
- Backend Run: `dotnet run`
@@ -17,7 +20,7 @@ Commands for Backend (run from within `./src/ums-workspace/apps/api-dotnet/` or
1720
- Runtime: **.NET 8 LTS** (Backend) and React v18 + Vite (Frontend).
1821
- Monorepo: Managed via Nx, npm Workspaces (Frontend) and standard .NET SLN.
1922
- DB: PostgreSQL 16 + Entity Framework Core (EF Core).
20-
- Key Modules: `apps/api-dotnet` (Pending - .NET Backend Solution), `apps/web` (Frontend React Portal).
23+
- Key Modules: `src/ums/app-api-dotnet` (.NET Backend), `src/ums/app-web` (Frontend React Portal).
2124
- Pattern: Clean Architecture (Hexagonal), SOLID, Explicit Bounded Contexts.
2225

2326
## Conventions
@@ -33,7 +36,7 @@ Commands for Backend (run from within `./src/ums-workspace/apps/api-dotnet/` or
3336
- Before updating dependencies, verify strict dependency pinning.
3437
- If modifying core logic, ensure architectural traceability to approved ADRs.
3538
- Keep formatting clean, adhering to ESLint and Prettier configs in the workspace.
36-
- **BMAD Rule Compliance:** Any agent working on this repository MUST read, prioritize, and strictly enforce the 12 rules defined in `bmad-core/rules/global-rules.md` and `.bmad/rules/project-rules.yaml`. If encoding artifacts (mojibake) are detected, the agent MUST run the utility script `python ./bmad-core/scripts/cleanup_markdown_encoding.py` immediately to enforce rule R-03. No code or documentation commits are permitted without validating against these rules.
39+
- **BMAD Rule Compliance:** Any agent working on this repository MUST read, prioritize, and strictly enforce the 13 rules defined in `.bmad-core/rules/global-rules.md`, `.bmad-core/rules/structuring-standard.md` (R-13), and `.harness/rules/project-rules.yaml`. If encoding artifacts (mojibake) are detected, the agent MUST run the utility script `python ./.bmad-core/scripts/cleanup_markdown_encoding.py` immediately to enforce rule R-03. No code or documentation commits are permitted without validating against these rules.
3740
- **Context Retrieval:** Always use **Context7** (`npx ctx7`) to fetch updated, version-specific documentation for third-party libraries before implementing complex external integrations.
3841
- **Corporate Standards Alignment:** Any agent making architectural design decisions MUST query the **Corporate Reference** via Context7 (`use context7 for beyondnetcode/arc32_progresive_monolith`) to ensure absolute compliance with baseline polyglot standards and authoritative patterns.
3942

0 commit comments

Comments
 (0)