Implement merge.md migration roadmap: Extract super/ to clean architecture#3
Draft
Implement merge.md migration roadmap: Extract super/ to clean architecture#3
Conversation
…rge) Co-authored-by: MrIbrahem <26301308+MrIbrahem@users.noreply.github.com>
…tory Co-authored-by: MrIbrahem <26301308+MrIbrahem@users.noreply.github.com>
Co-authored-by: MrIbrahem <26301308+MrIbrahem@users.noreply.github.com>
Co-authored-by: MrIbrahem <26301308+MrIbrahem@users.noreply.github.com>
…vice Co-authored-by: MrIbrahem <26301308+MrIbrahem@users.noreply.github.com>
Co-authored-by: MrIbrahem <26301308+MrIbrahem@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Start working on roadmap plan step by step
Implement merge.md migration roadmap: Extract super/ to clean architecture
Jan 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements phases 1-5 of the migration plan from
merge.mdto extract legacysuper/folder functionality into layered architecture (repositories, services, auth).Changes
New Components (7 files, ~1,470 LOC)
Auth layer:
auth/cookie_store.py- Cookie lifecycle management (validation, 3-day TTL, cleanup)auth/session_manager.py- Session caching with access trackingData access (repositories):
PageRepositorywithget_text_html(),create_page(),purge()api_repository.py- General API operations (all pages, recent changes, user contribs, existence checks)category_repository.py- Category data access (members, subcategories, metadata)Business logic (services):
search_service.py- Search operations (full-text, prefix, backlinks)category_service.py- Category tree traversal (recursive members, depth analysis)Migration Path
Added deprecation warnings to 8
MainPagemethods directing to new repositories:Technical Notes
formatversion: 2across all API callsRemaining Work
Integration (phase 6): Wire legacy classes to delegate to new components
Testing (phase 7): Unit/integration tests for new modules
Cleanup (phase 8): Complete deprecation warnings, remove
super/after grace periodOriginal prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.