Commit 21717f6
[Research]: architecture modernization approaches (#1936)
* docs: comprehensive architecture modernization research and critique
Analyzes why the Oct 2025 DDD+Plugin architecture plan was never implemented.
Key findings:
- 374 lines (49%) of index.js extractable with minimal risk
- DDD+Plugin approach over-engineered for actual problems
- Recommends incremental refactoring instead
Includes 3 research documents:
1. ARCHITECTURE_RESEARCH_SUMMARY.md - Executive summary
2. ARCHITECTURE_MODERNIZATION_CRITICAL_ANALYSIS.md - Detailed analysis
3. INCREMENTAL_REFACTORING_PLAN.md - Practical alternative
Related to: #1799
* docs: add incremental refactoring plan and archive DDD+Plugin approach
Adds new active architecture plan to replace the archived DDD+Plugin research.
Changes:
1. NEW: incremental-refactoring-plan.md - Active plan for #1799
- 4-8 week incremental extraction approach
- Reduces index.js by 49% (755 → 381 lines)
- Low risk, continuous value delivery
- Week-by-week implementation guide
2. UPDATED: architecture-modernization-research.md - Marked as archived
- Added deprecation notice at top
- Explains why plan was not adopted (too complex)
- Points to new incremental plan
- Preserved as reference and historical context
3. UPDATED: research/README.md - Added Architecture & Refactoring section
- Links to active incremental plan
- Links to archived DDD+Plugin research
- Clear status indicators (ACTIVE vs ARCHIVED)
4. UPDATED: sidebars.ts - Added Architecture & Refactoring category
- Incremental plan listed first (active)
- Archived research listed second
Related to: #1799
* docs: remove redundant root-level architecture docs
All information consolidated into docs-site documentation:
- Removed INCREMENTAL_REFACTORING_PLAN.md (duplicate of docs-site version)
- Removed ARCHITECTURE_RESEARCH_SUMMARY.md (summary in incremental plan)
- Removed ARCHITECTURE_MODERNIZATION_CRITICAL_ANALYSIS.md (critique in archive notice)
Updated archive notice to inline key reasons instead of referencing deleted file.
Single source of truth: docs-site/docs/development/research/
* fix: resolve MDX compilation error in incremental refactoring plan
MDX interprets '<' followed by numbers as invalid HTML tags.
Changes:
- '<400 lines' → 'less than 400 lines'
- '<50' → 'less than 50'
This is the same issue that was fixed in the original architecture research doc.
* docs: update issue references - #1799 is closed
Issue #1799 was for the DDD+Plugin approach and is now closed.
Changes:
- incremental-refactoring-plan.md: Changed 'Issue' to 'Supersedes' with note
- architecture-modernization-research.md: Added '(Closed)' to issue reference
- README.md: Changed 'Adopted approach for #1799' to 'Supersedes closed #1799'
The incremental plan addresses the same architectural concerns but with
a different, lower-risk approach.
* docs: remove broken references to deleted analysis files
Removed links to:
- ARCHITECTURE_MODERNIZATION_CRITICAL_ANALYSIS.md (deleted)
- ARCHITECTURE_RESEARCH_SUMMARY.md (deleted)
The archived architecture document already contains the critique in its
deprecation notice, so the references are no longer needed.
* docs: add architecture modernization research to appdata.xml
Added entry documenting the comprehensive architecture research completed
for v2.6.13 release, noting the incremental refactoring approach that
supersedes the DDD+Plugin plan (#1799).
---------
Co-authored-by: Claude <[email protected]>1 parent 3e619e1 commit 21717f6
File tree
5 files changed
+752
-3
lines changed- docs-site
- docs/development/research
5 files changed
+752
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
34 | 46 | | |
35 | 47 | | |
36 | 48 | | |
| |||
Lines changed: 20 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
4 | 21 | | |
5 | | - | |
| 22 | + | |
6 | 23 | | |
7 | 24 | | |
8 | 25 | | |
| |||
0 commit comments