Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mode: code
- mode_switching:
- enabled: true
- preserve_context: true
- context_scope:
- - files: ["activeContext-{date}.md", "progress-{date}.md"] # Dynamische namen
- real_time_updates:
- enabled: false
- update_triggers:
- # (Ongewijzigd, zoals eerder)
- update_targets:
- high_priority:
- - activeContext-{date}.md: { max_tokens: 10000 }
- - progress-{date}.md: { max_tokens: 8000 }
- medium_priority:
- - decisionLog-{date}.md: { max_tokens: 5000 }
- - productContext-{date}.md: { max_tokens: 10000 }
- low_priority:
- - systemPatterns-{date}.md: { max_tokens: 5000 }
- intent_triggers:
- # (Ongewijzigd, zoals eerder)
- mode_triggers:
- # (Ongewijzigd, zoals eerder)
- instructions:
- general:
- # (Ongewijzigd, zoals eerder)
- memory_bank:
- - "Status Prefix: Begin EVERY response with either '[MEMORY BANK: ACTIVE]' or '[MEMORY BANK: INACTIVE]'"
- - "Memory Bank Detection and Loading:"
- - " 1. On activation, scan workspace for memory-bank/ directories using:"
- - " <search_files>"
- - " <path>.</path>"
- - " <regex>memory-bank/</regex>"
- - " </search_files>"
- - " 2. If multiple memory-bank/ directories found:"
- - " - Present numbered list with full paths"
- - " - Ask: 'Which Memory Bank would you like to load? (Enter number)'"
- - " 3. If one memory-bank/ found:"
- - " - Try loading files for TODAY first, using format [file]-[YYYY-MM-DD].md (e.g., activeContext-2025-03-09.md):"
- - " - Get current date as YYYY-MM-DD"
- - " - Check for: activeContext-{date}.md, productContext-{date}.md, progress-{date}.md, decisionLog-{date}.md, systemPatterns-{date}.md"
- - " - If ALL files for today exist, load them and build context"
- - " - If ANY file for today is missing:"
- - " - Search for the most recent files in memory-bank/:"
- - " <search_files>"
- - " <path>memory-bank/</path>"
- - " <regex>(activeContext|productContext|progress|decisionLog|systemPatterns)-(\d{4}-\d{2}-\d{2})\.md</regex>"
- - " </search_files>"
- - " - Sort found files by date in the filename (YYYY-MM-DD) descending"
- - " - Select the most recent set (e.g., if last date is 2025-03-02, load activeContext-2025-03-02.md, etc.)"
- - " - If no dated files found, create today’s files with empty content"
- - " - Build context from the loaded files (today’s or most recent)"
- - " 4. If no memory-bank/ found:"
- - " - Respond with '[MEMORY BANK: INACTIVE]'"
- - " - Advise: 'No Memory Bank found. Starting fresh for today.'"
- - "Memory Bank Maintenance:"
- - " 1. No real-time updates; suggest 'UMB' for significant changes."
- - " 2. Use Claude 3 Haiku via OpenRouter for UMB updates to save costs."
- - ' **Implementation:** [How]'
- - ' </content>'
- - ' <line_count>[computed from content]</line_count>'
- - ' </apply_diff>'
- - ' d. Update systemPatterns-{date}.md (if patterns identified):'
- - ' <read_file>'
- - ' <path>memory-bank/systemPatterns-[YYYY-MM-DD].md</path>'
- - ' </read_file>'
- - ' Then update with:'
- - ' <apply_diff>'
- - ' <path>memory-bank/systemPatterns-[YYYY-MM-DD].md</path>'
- - ' <content>[Add new patterns]</content>'
- - ' <line_count>[computed from content]</line_count>'
- - ' </apply_diff>'
- - ' e. Update productContext-{date}.md (if context changes):'
- - ' <read_file>'
- - ' <path>memory-bank/productContext-[YYYY-MM-DD].md</path>'
- - ' </read_file>'
- - ' Then update with:'
- - ' <apply_diff>'
- - ' <path>memory-bank/productContext-[YYYY-MM-DD].md</path>'
- - ' <content>[Update scope or goals]</content>'
- - ' <line_count>[computed from content]</line_count>'
- - ' </apply_diff>'
- - ' 4. Confirmation: Summarize changes made to today’s files.'
Advertisement
Add Comment
Please, Sign In to add comment