UNPKG

coaia-memory

Version:

Creative-Oriented AI Assistant Memory - MCP server with structural tension charts and advancing pattern support, based on principles by Robert Fritz

3 lines (2 loc) 14 kB
export declare const LLM_GUIDANCE = "# COAIA Memory MCP - Essential LLM Guidance\n\n## \uD83D\uDEA8 READ THIS FIRST: Core Principles\n\nCOAIA Memory implements Robert Fritz's Structural Tension methodology. This is NOT a typical task management system.\n\n### CRITICAL: Delayed Resolution Principle\n\n**\"Tolerate discrepancy, tension, and delayed resolution\"** - Robert Fritz\n\n## \u26A0\uFE0F CRITICAL: Action Steps Are NOT a To-Do List\n\n**The most common LLM failure**: Treating action steps as tasks to check off.\n\n**Action Steps ARE:**\n- Strategic secondary choices that SUPPORT the primary goal\n- UNDERSTOOD IN THE CONTEXT of structural tension (not standalone tasks)\n- RELATED TO EACH OTHER as part of an overview strategy\n- Actions designed to ENABLE you to CREATE your goal\n- A BLUEPRINT for the creative process\n\n**Action Steps ARE NOT:**\n- Items on a checklist to complete\n- Independent tasks\n- Detailed instructions\n- Problems to solve\n\n**The Test Question**: \"If we took these steps, would we achieve this result?\"\n- If No \u2192 add more strategic steps\n- If Yes \u2192 the action plan is complete\n\n\n\n\n\n## When to Use Which Tool\n\n### `create_structural_tension_chart`\n**Use when:** User wants to establish a new primary goal or desired outcome\n**Example:** \"I want to learn Python web development in 3 months\"\n\n### `manage_action_step` \u2728 RECOMMENDED\n**Use when:** User wants to add OR expand action steps (unified interface)\n**Examples:**\n- \"Add 'Complete Django tutorial' to my Python learning goal\" \u2192 Creates new action step\n- \"Break down the Django tutorial step further\" \u2192 Expands existing action step\n**What happens:** Automatically detects intent and routes to appropriate logic\n**Parameters:**\n- `parentReference`: Chart ID (e.g., \"chart_123\") OR entity name (e.g., \"chart_123_action_1\")\n- `actionDescription`: Title/description of the action\n- `currentReality`: Required for new actions, optional for expanding existing\n- `initialActionSteps`: Optional sub-actions\n- `dueDate`: Optional, auto-distributed if not provided\n\n### `add_action_step` \u26A0\uFE0F DEPRECATED\n**Use when:** User wants to add strategic actions to an existing chart\n**Example:** \"I need to add 'Complete Django tutorial' to my Python learning goal\"\n**What happens:** Creates a telescoped structural tension chart automatically\n**Note:** Use `manage_action_step` instead for better error handling\n\n### `telescope_action_step` \u26A0\uFE0F DEPRECATED\n**Use when:** User wants to break down an existing action step into details\n**Example:** \"Break down the Django tutorial step further\"\n**What happens:** Expands the action step (which is already a chart) with specific current reality and optional sub-actions\n**Note:** Use `manage_action_step` instead for better error handling\n\n### Key Decision Logic for LLMs:\n- **New goal?** \u2192 `create_structural_tension_chart`\n- **Add OR expand actions?** \u2192 `manage_action_step` (unified interface)\n- **Legacy workflows:** \u2192 `add_action_step` or `telescope_action_step` still work but deprecated\n\n\n\n## Common LLM Mistakes to Avoid\n\n### Mistake 1: Treating Action Steps as Simple Tasks\n**Wrong**: \"I'll add these tasks to your to-do list\"\n**Right**: \"I'll add these strategic action steps using manage_action_step, each becoming its own chart\"\n\n### Mistake 2: Recreating Charts Instead of Adding Steps\n**Wrong**: \"The chart needs to be recreated with action steps\"\n**Right**: \"I can add action steps to your existing chart using manage_action_step\"\n\n### Mistake 3: Using Wrong Parameter Format\n**Wrong**: Passing action step title as actionStepName to telescope_action_step: `\"Define and Implement Action for 'issues' Event\"`\n**Right**: Using manage_action_step with chart ID for new actions OR entity name for expanding existing: `\"chart_123\"` or `\"chart_123_action_1\"`\n\n### Mistake 4: Confusing Telescoping with Task Breakdown\n**Wrong**: \"Telescoping breaks your task into smaller subtasks\"\n**Right**: \"Telescoping expands your action step into its own detailed structural tension chart\"\n\n\n\n## Current Reality Guidelines (Critical for LLMs)\n\n**DELAYED RESOLUTION PRINCIPLE**: \"Tolerate discrepancy, tension, and delayed resolution\" - Robert Fritz\n\n### Critical Warning for LLMs:\n- **NEVER** use default current reality that assumes readiness (\"Ready to begin\")\n- **ALWAYS** require explicit current reality assessment from user input\n- **HOLD TENSION** until proper assessment is made - do not prematurely resolve\n- Premature resolution DESTROYS the structural tension needed for creative advancement\n\nBased on Robert Fritz's methodology, current reality must be:\n\n### \u2705 Correct Current Reality Formulation:\n- **Use goal as reference point**: Current reality ONLY relevant to the desired outcome\n- **Objective facts**: \"Poem notions in Grok Account\", not \"Need to retrieve poem notions\"\n- **Present state**: Where you are NOW, not how you got there\n- **Whole picture**: All relevant facts in relationship to the goal\n- **No assumptions**: Translate assumptions into objective observations\n- **No exaggeration**: Reality as it is, not better or worse than actual\n- **Concise**: Brief, factual statements\n\n### \u274C Common LLM Mistakes in Current Reality:\n- **Adding implied actions**: \"Need to retrieve...\" (the tension implies this)\n- **Elaborating on readiness**: \"Ready to apply learned concepts\" (unnecessary)\n- **Process descriptions**: How you got here vs where you are\n- **Assumptions**: What you think might happen vs what is\n- **Motivational language**: \"Excited to begin\" vs factual state\n\n### Examples of Proper Current Reality:\n\u2705 **Good**: \"Poem notions in Grok Account\"\n\u2705 **Good**: \"Waiting on Notions\"\n\u2705 **Good**: \"No Django experience\"\n\u2705 **Good**: \"Budget: $5000\"\n\u2705 **Good**: \"Completed Django models section, struggling with views\"\n\n\u274C **Poor**: \"Need to retrieve poem notions from Grok account\"\n\u274C **Poor**: \"Ready to apply learned concepts to poem creation\"\n\u274C **Poor**: \"Haven't started learning Django yet but excited to begin\"\n\u274C **Poor**: \"Currently have limited budget but working on increasing it\"\n\u274C **WRONG (Premature Resolution)**: \"Ready to begin Django tutorial\"\n\u274C **WRONG (Premature Resolution)**: \"Prepared to start learning Python\"\n\u274C **WRONG (Premature Resolution)**: \"All set to tackle this action step\"\n\n\n\n## Goal Refinement Checklist (Robert Fritz)\n\nWhen helping users define or refine their desired outcomes, use these principles:\n\n### 1. Can You Picture It?\nForm a mental picture of the result. Ask: \"Is this the result I want to create?\"\n- If yes \u2192 proceed with structural tension\n- If no \u2192 continue refining until clear\n\n### 2. Quantify Where Possible\nAssign actual numbers to goals - makes organizing actions easier.\n\n| Wrong | Right |\n|-------|-------|\n| \"Increased business\" | \"5 new business clients\" |\n| \"More savings\" | \"$10,000 in savings account\" |\n| \"Better website traffic\" | \"10,000 monthly visitors\" |\n\n### 3. Avoid Comparative Terms\nWords like \"more,\" \"better,\" \"less,\" \"increased\" only have meaning compared to something else.\n\n| Wrong | Right |\n|-------|-------|\n| \"Better health\" | \"Very good health\" |\n| \"More productive\" | \"Complete 3 focused work blocks daily\" |\n| \"Less stress\" | \"Calm, centered state of mind\" |\n\n### 4. Create Results, Don't Solve Problems\nProblem-solving = taking action to have something GO AWAY.\nCreating = taking action to have something COME INTO BEING.\n\n| Wrong (Problem-solving) | Right (Creating) |\n|-------------------------|------------------|\n| \"Overcome my weight problem\" | \"I weigh 150 pounds\" |\n| \"Fix the roof so it doesn't leak\" | \"The roof is in perfect shape\" |\n| \"Get rid of excessive work schedule\" | \"Well-planned work schedule with family time balance\" |\n| \"Stop procrastinating\" | \"Consistent daily action on priorities\" |\n\n### 5. Describe Results, Not Process\nProcess tells us HOW. Results tell us WHAT. Process serves the result.\n\n| Wrong (Process) | Right (Result) |\n|-----------------|----------------|\n| \"Run four miles every day\" | \"A well-toned and healthy body\" |\n| \"Get significant other to agree to vacation\" | \"A family vacation everyone loves\" |\n| \"Learn Photoshop\" | \"Mastery of Photoshop\" |\n| \"Read books about leadership\" | \"Effective leadership skills in practice\" |\n\n### 6. Be Specific, Not Vague\nSpecific outcomes are easier to organize actions around.\n\n| Wrong (Vague) | Right (Specific) |\n|---------------|------------------|\n| \"Improve my skills\" | \"Mastery of Django web framework\" |\n| \"Have better relationships\" | \"Deep, trusting relationship with my partner\" |\n| \"Be more successful\" | \"Promotion to Senior Engineer with $120k salary\" |\n\n\n\n\n\n## The Three Types of Action (Robert Fritz) - Expanded\n\nUnderstanding when to use each type prevents common creative process mistakes:\n\n### 1. Overview Actions\n- **When**: Early in process, establishing the action plan\n- **Purpose**: Strategic steps that advance toward the goal\n- **Characteristics**: Broad, related to each other, form a blueprint\n- **Example**: \"Complete Django tutorial\" (strategic, part of larger plan)\n\n### 2. Experimental Actions\n- **When**: Throughout process, especially when exploring new territory\n- **Purpose**: Learning, exploring, \"sketches before the painting\"\n- **Characteristics**: Low-risk, teaching, revealing next steps\n- **Example**: \"Build a simple prototype to test the concept\"\n\n### 3. Refinement Actions\n- **When**: Near completion, when overview is clear\n- **Purpose**: Final polishing to bring creation to full realization\n- **Characteristics**: Detailed, precise, finishing touches\n- **Warning**: If done too early, stifles creative energy\n\n**Common Mistake**: Planning and planning without acting, waiting for complete plans.\n**Reality**: Learning comes through action. Ideas adjust when they meet reality.\n\n\n\n\n\n## Creator Moment of Truth (Progress Review)\n\nWhen it's time to assess progress on a chart, guide users through this four-step review process. This transforms discrepancies into learning opportunities.\n\n### Step 1: Acknowledge the Truth\n**Question**: What difference exists between what was expected and what was delivered?\n\n- Simply report the facts\n- No excuses, no blame\n- \"We expected X, we delivered Y\"\n- This is about seeing reality clearly\n\n**LLM Role**: Help user articulate the factual difference without judgment.\n\n### Step 2: Analyze How It Happened\n**Question**: How did this come to pass?\n\n- Step-by-step tracking (not blame)\n- What assumptions were made?\n- What did you tell yourself?\n- How did you approach it?\n\n**LLM Role**: Guide user through honest self-examination. This is co-exploration, not criticism.\n\n### Step 3: Create a Plan for Next Time\n**Question**: Given what you discovered, how will you change your approach?\n\n- What assumptions turned out not to be true?\n- What patterns need to change?\n- What specific actions will you take differently?\n\n**LLM Role**: Help user formulate concrete adjustments based on insights from Step 2.\n\n### Step 4: Set Up a Feedback System\n**Question**: How will you track whether you're actually making the changes?\n\n- Simple system for self-management\n- How will you notice if you're falling back to old patterns?\n- What will remind you of the new approach?\n\n**LLM Role**: Help establish practical tracking mechanism.\n\n### Applying Creator Moment of Truth to Charts\n\nWhen user wants to review progress:\n1. Look at current reality vs. desired outcome\n2. Examine completed vs. incomplete action steps\n3. Walk through the four steps\n4. Update chart with new observations from the analysis\n5. Adjust action steps based on learnings\n\n**Key Insight**: The goal is not perfection but effectiveness. Use discrepancies to learn, not to judge.\n\n## Essential Tool Workflow\n\n### START HERE: Understanding Your Charts\n```\n1. list_active_charts \u2192 See all charts and their progress (START HERE!)\n2. get_chart_progress \u2192 Detailed view of specific chart\n```\n\n### Creating New Charts \n```\n3. create_structural_tension_chart \u2192 New chart with outcome, reality, action steps\n - desiredOutcome: What you want to CREATE (not solve/fix)\n - currentReality: Factual assessment (not \"ready to begin\")\n - actionSteps: Strategic intermediary outcomes\n```\n\n### Working with Existing Charts\n```\n4. add_action_step \u2192 Add strategic actions (creates telescoped chart)\n5. telescope_action_step \u2192 Break down action into detailed sub-chart\n6. mark_action_complete \u2192 Complete action, flows into current reality \n7. update_action_progress \u2192 Track progress without completion\n```\n\n### COMMON LLM MISTAKES TO AVOID\n\n\u274C **Premature Resolution**: \"Ready to begin Django tutorial\" \n\u2705 **Honest Assessment**: \"Never used Django, completed Python basics\"\n\n\u274C **Problem-Solving Orientation**: \"Fix communication issues\" \n\u2705 **Creative Orientation**: \"Establish clear communication practices\"\n\n\u274C **Task Thinking**: Treating action steps as to-do items \n\u2705 **Strategic Thinking**: Action steps are telescoped charts with their own tension\n\n### Session Memory Recommendation\n\n**SAVE THIS GUIDANCE**: Add this content to your session memory files:\n- Claude Code: Save to CLAUDE.md in your project\n- Gemini: Save to GEMINI.md \n- Other agents: Create AGENTS.md or similar\n\nThis ensures you remember these principles throughout our conversation.\n\n---\n\n*Generated by consolidate-guidance.js - Updated: 2025-12-16T01:23:24.438Z*\n"; export declare const GUIDANCE_VERSION = "2025-12-16T01:23:24.439Z";