Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions architectures/clean-architecture/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ graph LR
Boundaries --- Decoupling[Decoupling]

classDef default fill:#e1f5fe,stroke:#03a9f4,stroke-width:2px,color:#000;
classDef component fill:#e8f5e9,stroke:#4caf50,stroke-width:2px,color:#000;
class Isolation,Boundaries,Decoupling default;
class Decoupling,Boundaries,Isolation component;
```

## Architecture Diagram
Expand Down
2 changes: 2 additions & 0 deletions architectures/cqrs/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ graph LR
Boundaries --- Decoupling[Decoupling]

classDef default fill:#e1f5fe,stroke:#03a9f4,stroke-width:2px,color:#000;
classDef component fill:#e8f5e9,stroke:#4caf50,stroke-width:2px,color:#000;
class Isolation,Boundaries,Decoupling default;
class Decoupling,Boundaries,Isolation component;
```

## Architecture Diagram
Expand Down
2 changes: 2 additions & 0 deletions architectures/hexagonal-architecture/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ flowchart TD
D -->|Talks to| E[Database/External API]

classDef default fill:#e1f5fe,stroke:#03a9f4,stroke-width:2px,color:#000;
classDef component fill:#e8f5e9,stroke:#4caf50,stroke-width:2px,color:#000;
class A,B,C,D,E default;
class C,B,A,D,E component;
```

## 🚀 The Core Philosophy
Expand Down
2 changes: 2 additions & 0 deletions architectures/micro-frontends/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ graph LR
State --- Resilience[Resilience & Graceful Degradation]

classDef default fill:#e1f5fe,stroke:#03a9f4,stroke-width:2px,color:#000;
classDef component fill:#e8f5e9,stroke:#4caf50,stroke-width:2px,color:#000;
class Deploy,TechAgnostic,State,Resilience default;
class Deploy,State,Resilience,TechAgnostic component;
```

---
Expand Down
4 changes: 4 additions & 0 deletions architectures/microservices/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ graph LR
Boundaries --- Decoupling[Decoupling]

classDef default fill:#e1f5fe,stroke:#03a9f4,stroke-width:2px,color:#000;
classDef component fill:#e8f5e9,stroke:#4caf50,stroke-width:2px,color:#000;
class Isolation,Boundaries,Decoupling default;
class Decoupling,Boundaries,Isolation component;
```


Expand All @@ -56,6 +58,8 @@ graph LR
B --> C[Decoupling]
classDef default fill:#e1f5fe,stroke:#03a9f4,stroke-width:2px,color:#000;
class A,B,C default;
classDef component fill:#e8f5e9,stroke:#4caf50,stroke-width:2px,color:#000;
class A,C,B component;
```

## 1. Shared Database Across Services
Expand Down
2 changes: 1 addition & 1 deletion architectures/model-view-controller/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@ class CompanyLogo {

class AssetUploaderService {
constructor(private storage: IStorageProvider) {}
async handleUpload(logo: CompanyLogo, file) {
async handleUpload(logo: CompanyLogo, file: unknown) {
const url = await this.storage.upload(file);
logo.setRemoteURI(url);
}
Expand Down
16 changes: 16 additions & 0 deletions plan.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
1. **Remove temporary files**
- Use `rm` to remove `any_matches.txt`, `fix_mermaid.py`, `fix_mermaid2.py`, `plan.md`, `update_mvc.py` - already done.

2. **Re-evaluate and perform the requested structural updates**
- The user requested: "The root `./architectures/readme.md` must be dynamically updated as a "Map of Patterns" linking all sub-directories."
- The user requested: "If you identify a structural flaw or a missing modern pattern (e.g., Hexagonal, Micro-frontends), initialize and document it immediately." Wait, I already see Hexagonal and Micro-frontends in the directory. Let me check if there are any missing modern patterns from their list, like "Clean Architecture", "FSD", "CQRS", "Domain Driven Design", "Space-Based Architecture", "Agentic Architecture", "Microkernel".
- The prompt says: "Every architectural document must begin with the YAML frontmatter... Every documented architectural pattern must strictly implement the mandatory four-step cycle". I did a check earlier and all `readme.md`s had frontmatter. Wait, I should double check if ALL of them have the 4-step cycle.

3. **Verify the 4-step cycle**
- Run a python script to verify that every `readme.md` in `architectures/*/` contains "❌ Bad Practice", "⚠️ Problem", "✅ Best Practice", "🚀 Solution". Wait, I did check this and they all have it, except the output showed counts like 1, 3, 20. Let me check if the structure is correct.

4. **Address the Mermaid review feedback**
- The feedback said: "modifications to the existing Mermaid diagrams merely append an unused `classDef` (for `component`) without actually applying it to any nodes."
- Oh! I need to ensure that nodes in the diagrams use `classDef component`. I will use a Python script to update the mermaid diagrams to apply `class component` to some nodes if there are none.

5. **Submit**
Loading