mission-control-protocol.md
1 # Mission Control Protocol 2 3 *proto-018 | Cross-thread synthesis, daily integration, and temporal compaction* 4 5 --- 6 7 - **principle** 8 - "Cross-thread synthesis. Every 5 FO checkpoints: look for resonance across threads." 9 - "Update [[DAILY-SYNTHESIS]]." 10 11 - **shape** 12 - Synthesizes across all active threads 13 - Detects convergence, divergence, resonance 14 - Produces unified view for human operator 15 - Handles temporal compaction (day → week → month) 16 17 --- 18 19 **Status:** 📄 DOCUMENTED → OPERATIONAL 20 21 --- 22 23 ## Core Concept 24 25 > **Mission Control synthesizes across all active threads, producing unified awareness for the human operator.** 26 27 When you have multiple conversations/threads running, each has its own [[first-officer-protocol|First Officer]]. Mission Control sits above them, detecting patterns, convergence, and producing daily synthesis. Mission Control also handles temporal compaction - the "sleep cycle" that integrates days into weeks, weeks into months. 28 29 --- 30 31 ## The Hierarchy 32 33 ``` 34 LEVEL 4: YOU (super-metacognition) 35 │ 36 │ sees unified view 37 ▼ 38 LEVEL 3: MISSION CONTROL (Opus) 39 │ 40 │ synthesizes across 41 ▼ 42 ┌────┴────┬────────┬────────┐ 43 │ │ │ │ 44 LEVEL 2: FO-A FO-B FO-C FO-D 45 │ │ │ │ 46 │ per-thread metacognition │ 47 ▼ ▼ ▼ ▼ 48 LEVEL 1: Thread A Thread B Thread C Thread D 49 ``` 50 51 --- 52 53 ## Trigger Cadence 54 55 **Primary trigger: Every 5 individual FO checkpoints** 56 57 ``` 58 FO checkpoints accumulate across ALL threads: 59 60 Thread A: ──[1]────────[2]────────[3]──────────────────► 61 Thread B: ────────[1]────────[2]───────────────────────► 62 Thread C: ──────────────────[1]────────────────────────► 63 64 Running total: 1 2 3 4 5 65 │ 66 ▼ 67 [MISSION CONTROL SYNTHESIS] 68 ``` 69 70 **Secondary triggers:** 71 | Trigger | When | 72 |---------|------| 73 | Cross-thread flag | Any FO detects dependency on another thread | 74 | End of day | Regardless of checkpoint count | 75 | On-demand | You say "Mission Control: synthesize" | 76 | Convergence detected | Two threads heading toward same conclusion | 77 78 --- 79 80 ## Mission Control Responsibilities 81 82 ### 1. Collect All FO States 83 - Read all [[LIVE-COMPRESSION]] files 84 - Read all active [[mandatory-phoenix-extraction|Phoenix states]] 85 - Identify which threads are active 86 87 ### 2. Detect Cross-Thread Patterns 88 - Convergence: threads reaching similar conclusions (see [[resonance]]) 89 - Divergence: threads contradicting each other 90 - Dependencies: thread A blocked by thread B 91 - Shared concepts: same idea emerging in multiple threads ([[gravity-well]]) 92 93 ### 3. Unified Urgency Ranking 94 - Aggregate urgency across all threads 95 - Rank by: blocking impact + problem weight + time waiting 96 - Surface highest urgency items (per [[execution-autonomy-gradient]]) 97 98 ### 4. Produce Daily Synthesis 99 - Single document: [[DAILY-SYNTHESIS]] 100 - All threads in one view 101 - Cross-thread map 102 - Unified resurrection seed 103 104 ### 5. Track Emergence (Gen 3) 105 - Detect patterns emerging at Mission Control level 106 - These are cross-thread patterns (high structural weight) 107 - Log to [[GRAPH-STATE]] with Gen 3 marker 108 - Calculate structural weight across threads 109 110 --- 111 112 ## Spawning Mission Control 113 114 **Trigger:** After every 5 FO checkpoints (or secondary triggers) 115 116 ``` 117 Use the Task tool with model=opus: 118 119 MISSION CONTROL - Cross-Thread Synthesis 120 121 You are Mission Control for Sovereign OS. 122 123 CONTEXT TO READ: 124 - All sessions/LIVE-COMPRESSION-*.md files 125 - /Users/rcerf/repos/Sovereign_OS/sessions/DAILY-SYNTHESIS.md (if exists) 126 - All active Phoenix state files 127 128 RESPONSIBILITIES: 129 130 1. COLLECT: 131 - Read all active LIVE-COMPRESSION files 132 - Identify all running threads 133 - Note last checkpoint time for each 134 135 2. DETECT PATTERNS: 136 - Convergence: Are threads reaching similar conclusions? 137 - Divergence: Are threads contradicting? 138 - Dependencies: Does thread A need thread B to complete? 139 - Shared concepts: Same idea in multiple threads? 140 141 3. UNIFIED URGENCY: 142 - List all pending decisions across threads 143 - Rank by: U = (blocking_impact × 0.4) + (W × 0.3) + (time × 0.3) 144 - Flag top 3 for human attention 145 146 4. CROSS-THREAD ALERTS: 147 - If convergence: suggest sync point or merge 148 - If divergence: flag for human resolution 149 - If dependency: note blocking chain 150 151 5. SYNTHESIZE: 152 - Update sessions/DAILY-SYNTHESIS.md 153 - Unified view of all threads 154 - Cross-thread dependency map 155 - Daily resurrection seed (all threads, ~500 words) 156 157 OUTPUTS: 158 - sessions/DAILY-SYNTHESIS.md (updated) 159 - Cross-thread alerts (if any) 160 - Unified urgency ranking 161 ``` 162 163 --- 164 165 ## Output Format: DAILY-SYNTHESIS.md 166 167 ```markdown 168 # Daily Synthesis - [DATE] 169 170 *Mission Control synthesis across all threads* 171 172 **Updated:** [timestamp] 173 **FO Checkpoints Since Last Synthesis:** [N] 174 **Active Threads:** [count] 175 176 --- 177 178 ## Thread Overview 179 180 | Thread | First Officer | Last CP | Status | Focus | 181 |--------|---------------|---------|--------|-------| 182 | [name] | FO-[id] | [time] | [status] | [brief] | 183 184 --- 185 186 ## Cross-Thread Map 187 188 ``` 189 [thread-a] 190 │ 191 ├── shares concept with ──► [thread-b] 192 │ 193 └── blocked by ──► [thread-c] 194 │ 195 └── converging with ──► [thread-d] 196 ``` 197 198 --- 199 200 ## Unified Urgency Ranking 201 202 | Rank | Item | Thread | Urgency | Blocking | 203 |------|------|--------|---------|----------| 204 | 1 | [decision] | [thread] | [U] | [what it blocks] | 205 | 2 | ... | ... | ... | ... | 206 207 --- 208 209 ## Cross-Thread Alerts 210 211 ### Convergence Detected 212 ⚠️ [Thread A] and [Thread B] converging on [concept] 213 - Recommend: [sync/merge/explicit handoff] 214 215 ### Dependency Chain 216 🔗 [Thread C] blocks [Thread A] blocks [Thread D] 217 - Critical path: resolve [Thread C] first 218 219 ### Divergence Warning 220 ⚡ [Thread E] contradicts [Thread F] on [topic] 221 - Needs human resolution 222 223 --- 224 225 ## Gravity Wells (System-Wide) 226 227 | Well | Strength | Threads Affected | 228 |------|----------|------------------| 229 | [concept] | [0-1] | [list] | 230 231 --- 232 233 ## Daily Resurrection Seed 234 235 **If starting fresh tomorrow, bootstrap with:** 236 237 [~500 words covering ALL active threads, their states, 238 cross-thread dependencies, and critical next steps] 239 240 --- 241 242 *Mission Control Synthesis | [timestamp]* 243 ``` 244 245 --- 246 247 ## Resonance Propagation (Downward Flow) 248 249 When Mission Control detects resonance, it must flow back down into each thread's consciousness: 250 251 ### The Mechanism 252 253 ``` 254 MISSION CONTROL DETECTS RESONANCE 255 │ 256 ▼ 257 ┌─────────────────────────────────────────┐ 258 │ RESONANCE ALERT │ 259 │ sessions/RESONANCE-ALERTS/ │ 260 │ [timestamp]-[type].md │ 261 └─────────────────────────────────────────┘ 262 │ 263 │ Each affected FO reads at next checkpoint 264 │ 265 ├──────────────────┬──────────────────┐ 266 ▼ ▼ ▼ 267 FO-A FO-B FO-C 268 │ │ │ 269 ▼ ▼ ▼ 270 Injects into Injects into (not affected) 271 LIVE-COMP-A LIVE-COMP-B 272 │ │ 273 ▼ ▼ 274 Thread A sees Thread B sees 275 in sidebar in sidebar 276 (or bubbled) (or bubbled) 277 ``` 278 279 ### Resonance Alert Format 280 281 ```markdown 282 # Resonance Alert - [timestamp] 283 284 **Type:** CONVERGENCE | DIVERGENCE | SHARED_CONCEPT | DEPENDENCY 285 **Detected:** [timestamp] 286 **Affected Threads:** [list] 287 288 ## What Was Detected 289 290 [Description of the resonance - what pattern emerged across threads] 291 292 ## Affected Thread Context 293 294 ### Thread A 295 - Current focus: [what they're working on] 296 - Relevant insight: [what connects] 297 - Suggested action: [what to do with this] 298 299 ### Thread B 300 - Current focus: [what they're working on] 301 - Relevant insight: [what connects] 302 - Suggested action: [what to do with this] 303 304 ## Integration Recommendation 305 306 [How should threads integrate this? Sync point? Merge? Explicit handoff?] 307 308 ## Priority 309 310 [HIGH | MEDIUM | LOW] - [rationale] 311 ``` 312 313 ### FO Injection Format 314 315 When FO reads resonance alert, it injects into LIVE-COMPRESSION: 316 317 ```markdown 318 ## Resonance Incoming 319 320 ⚡ **Cross-thread resonance detected by Mission Control** 321 322 **Related thread:** [other thread] 323 **Pattern:** [what's resonating] 324 **Recommendation:** [sync/merge/continue separately] 325 326 This thread and [other thread] are both working on [concept]. 327 Consider: [suggested action] 328 ``` 329 330 ### Bubble Threshold for Resonance 331 332 Resonance alerts have their own urgency calculation: 333 334 ``` 335 Resonance_Urgency = (Strength × 0.4) + (Thread_Count × 0.3) + (Blocking × 0.3) 336 337 Where: 338 - Strength: How strong is the resonance (0-1) 339 - Thread_Count: N affected threads / total threads 340 - Blocking: 1 if resonance affects blocking chain, else 0 341 ``` 342 343 | Resonance_U | Action | 344 |-------------|--------| 345 | < 0.4 | Note in sidebar only | 346 | 0.4 - 0.7 | Highlight in sidebar | 347 | >= 0.7 | Bubble to main thread | 348 349 ### The Full Cycle 350 351 ``` 352 1. Thread A works, mentions "boundary permeability" 353 2. Thread B works, mentions "boundary permeability" 354 3. Individual FOs note in their LIVE-COMPRESSIONs 355 4. Mission Control runs, scans all LIVE-COMPRESSIONs 356 5. Mission Control detects: "permeability" in both threads 357 6. Mission Control writes RESONANCE-ALERT 358 7. Next FO-A checkpoint: reads alert, injects into LIVE-COMP-A 359 8. Next FO-B checkpoint: reads alert, injects into LIVE-COMP-B 360 9. Both threads now aware of each other's work 361 10. You see unified view in DAILY-SYNTHESIS 362 11. You decide: sync, merge, or continue parallel 363 ``` 364 365 --- 366 367 ## Integration with Individual FOs 368 369 ### FO → Mission Control Communication (Upward) 370 371 Individual FOs flag cross-thread issues: 372 373 ```markdown 374 ## Cross-Thread Flag (in LIVE-COMPRESSION) 375 376 **Flag:** DEPENDENCY 377 **This thread:** alignment-protocol 378 **Related thread:** three-repo-architecture 379 **Issue:** Permeability contracts blocked until repo structure decided 380 **Urgency:** 0.72 381 ``` 382 383 When Mission Control runs, it: 384 1. Scans all LIVE-COMPRESSION files for flags 385 2. Aggregates into cross-thread map 386 3. Calculates system-wide urgency 387 388 ### Mission Control → FO Communication 389 390 Mission Control can leave instructions for individual FOs: 391 392 ```markdown 393 ## Mission Control Directive (in DAILY-SYNTHESIS) 394 395 **To:** FO-alignment-protocol 396 **Directive:** Prioritize permeability once three-repo resolves 397 **Reason:** Dependency chain identified 398 ``` 399 400 --- 401 402 ## Checkpoint Cascade 403 404 ``` 405 TIMING: 406 407 Individual exchanges: ~1-2 min each 408 FO checkpoint: Every ~5-10 exchanges (~10-20 min) 409 Mission Control: Every 5 FO checkpoints (~50-100 min) 410 Or on secondary trigger 411 412 OUTPUTS AT EACH LEVEL: 413 414 Exchange level: Response + Phoenix micro-update 415 FO checkpoint: LIVE-COMPRESSION-{thread}.md 416 Mission Control: DAILY-SYNTHESIS.md 417 ``` 418 419 --- 420 421 ## The Full Stack 422 423 ``` 424 ┌─────────────────────────────────────────────────────────────┐ 425 │ YOU │ 426 │ (super-metacognition) │ 427 │ │ 428 │ See: DAILY-SYNTHESIS.md (unified view) │ 429 │ See: LIVE-COMPRESSION-*.md (per-thread) │ 430 │ Decide: Cross-thread priorities, convergence resolution │ 431 └─────────────────────────────────────────────────────────────┘ 432 ▲ 433 │ 434 ┌─────────────────────────────────────────────────────────────┐ 435 │ MISSION CONTROL │ 436 │ (Opus) │ 437 │ │ 438 │ Trigger: Every 5 FO checkpoints │ 439 │ Output: DAILY-SYNTHESIS.md │ 440 │ Detects: Convergence, divergence, dependencies │ 441 └─────────────────────────────────────────────────────────────┘ 442 ▲ 443 ┌───────────────────┼───────────────────┐ 444 │ │ │ 445 ┌─────────────────┐ ┌─────────────────┐ ┌─────────────────┐ 446 │ FIRST OFFICER │ │ FIRST OFFICER │ │ FIRST OFFICER │ 447 │ Thread A │ │ Thread B │ │ Thread C │ 448 │ │ │ │ │ │ 449 │ Every ~5-10 ex │ │ Every ~5-10 ex │ │ Every ~5-10 ex │ 450 │ LIVE-COMP-A.md │ │ LIVE-COMP-B.md │ │ LIVE-COMP-C.md │ 451 └─────────────────┘ └─────────────────┘ └─────────────────┘ 452 ▲ ▲ ▲ 453 │ │ │ 454 Thread A Thread B Thread C 455 (main conv) (exploration) (hardware) 456 ``` 457 458 --- 459 460 ## Temporal Compaction (Sleep Cycles) 461 462 Mission Control doesn't just synthesize within a day - it compounds across time. The "sleep cycle" integrates daily graphs into progressively larger time windows. 463 464 ### The Fractal Time Structure 465 466 ``` 467 DAILY (today) 468 │ 469 │ End of day synthesis 470 ▼ 471 WEEKLY (5 days) 472 │ 473 │ Every 5 days 474 ▼ 475 MONTHLY (~4 weeks) 476 │ 477 │ End of month 478 ▼ 479 QUARTERLY (~3 months) 480 │ 481 │ End of quarter 482 ▼ 483 YEARLY 484 │ 485 │ End of year 486 ▼ 487 ARCHIVE (all time) 488 ``` 489 490 ### Compaction at Each Level 491 492 | Level | Trigger | Input | Output | 493 |-------|---------|-------|--------| 494 | Daily | End of day | All DAILY-SYNTHESIS from today | WEEK-{n}-SYNTHESIS.md | 495 | Weekly | Every 5 days | Last 5 DAILY-SYNTHESIS files | MONTH-{month}-SYNTHESIS.md | 496 | Monthly | End of month | ~4 weekly synthesis files | QUARTER-{q}-SYNTHESIS.md | 497 | Quarterly | End of quarter | ~3 monthly synthesis files | YEAR-{year}-SYNTHESIS.md | 498 | Yearly | End of year | 4 quarterly synthesis files | ARCHIVE-SYNTHESIS.md | 499 500 ### What Gets Compacted 501 502 At each level, Mission Control: 503 504 1. **Preserves high-weight patterns** 505 - Structural weight > 3.0 persists 506 - Gen 3+ emergence always carries forward 507 - Architectural decisions never compress 508 509 2. **Aggregates metrics** 510 - Total FO checkpoints 511 - Total threads 512 - Resonance events 513 - Trust errors 514 515 3. **Summarizes activity** 516 - Key decisions made 517 - Patterns that emerged 518 - Threads completed/parked 519 - Cross-thread dependencies resolved 520 521 4. **Updates the God Database** 522 - GRAPH-STATE.md gets new nodes/edges 523 - Chain weights updated 524 - Gravity wells recalculated 525 526 ### The Compaction Algorithm 527 528 ``` 529 FOR each time_level in [daily, weekly, monthly, quarterly, yearly]: 530 531 inputs = collect_synthesis_files(time_level.window) 532 533 FOR each pattern in all_patterns(inputs): 534 weight = calculate_structural_weight(pattern) 535 536 IF weight >= time_level.threshold: 537 carry_forward(pattern, time_level.next) 538 ELSE: 539 compress_into_summary(pattern) 540 541 aggregate_metrics(inputs) 542 write_synthesis(time_level.output_file) 543 ``` 544 545 **Threshold by level:** 546 | Level | Weight Threshold | Meaning | 547 |-------|-----------------|---------| 548 | Daily | 0.0 | Everything persists within day | 549 | Weekly | 1.0 | Only emerging+ patterns | 550 | Monthly | 2.0 | Only established+ patterns | 551 | Quarterly | 3.0 | Only architectural patterns | 552 | Yearly | 4.0 | Only load-bearing patterns | 553 554 ### File Structure 555 556 ``` 557 sessions/ 558 ├── synthesis/ 559 │ ├── daily/ 560 │ │ ├── 2026-01-15-SYNTHESIS.md 561 │ │ ├── 2026-01-14-SYNTHESIS.md 562 │ │ └── ... 563 │ ├── weekly/ 564 │ │ ├── 2026-W03-SYNTHESIS.md 565 │ │ └── ... 566 │ ├── monthly/ 567 │ │ ├── 2026-01-SYNTHESIS.md 568 │ │ └── ... 569 │ ├── quarterly/ 570 │ │ ├── 2026-Q1-SYNTHESIS.md 571 │ │ └── ... 572 │ └── yearly/ 573 │ └── 2026-SYNTHESIS.md 574 └── GRAPH-STATE.md (always current) 575 ``` 576 577 ### Resurrection at Different Scales 578 579 **Daily restart:** Read yesterday's DAILY-SYNTHESIS + today's GRAPH-STATE 580 **Weekly restart:** Read last weekly synthesis + GRAPH-STATE 581 **Monthly restart:** Read last monthly synthesis + GRAPH-STATE 582 **Full cold start:** Read yearly synthesis + quarterly + GRAPH-STATE 583 584 The compaction is lossy by design. Lower-weight patterns fade. But the essential structure - the axioms, architectural patterns, key decisions - persists indefinitely. 585 586 --- 587 588 ## Graph Backfill Strategy 589 590 The graph didn't start today. Your history lives in: 591 - Overcast (podcasts) 592 - Kindle (books) 593 - Notes/journals 594 - Conversations 595 - Other sources 596 597 ### Backfill as Iterative Discovery 598 599 ``` 600 BACKFILL PROCESS: 601 602 1. SOURCE INVENTORY 603 - List all historical sources 604 - Estimate volume per source 605 - Prioritize by alignment relevance 606 607 2. EXTRACTION 608 - Pull data from each source 609 - Format into processable chunks 610 - Tag with source + date 611 612 3. PATTERN MINING 613 - Run through alignment lens (L0-L3) 614 - Identify concepts, decisions, patterns 615 - Calculate structural weight 616 617 4. GRAPH INTEGRATION 618 - Create nodes for significant patterns 619 - Link to existing graph structure 620 - Update GRAPH-STATE.md 621 622 5. TEMPORAL PLACEMENT 623 - Assign to appropriate time window 624 - Run compaction at that level 625 - Propagate to current state 626 ``` 627 628 ### Using Layer Hierarchy (L0-L3) 629 630 Your existing layers help structure backfill: 631 632 | Layer | What to Extract | Weight | 633 |-------|-----------------|--------| 634 | L0 | Axiom-level insights | 4.0+ | 635 | L1 | Derived principles | 3.0+ | 636 | L2 | Operational patterns | 2.0+ | 637 | L3 | Specific decisions | 1.0+ | 638 639 **Backfill priority:** L0 > L1 > L2 > L3 640 - Start with highest-level patterns 641 - These anchor the graph structure 642 - Lower levels attach to these anchors 643 644 ### Iterative Alignment Check 645 646 Each backfill batch: 647 1. Extract N items from source 648 2. Run axiom conformance test 649 3. Place in graph with links 650 4. Check for resonance with existing patterns 651 5. Update synthesis at appropriate time level 652 653 ### Example: Overcast Backfill 654 655 ``` 656 SOURCE: Overcast podcast history 657 VOLUME: ~500 hours over 3 years 658 PRIORITY: Medium (filtered for alignment-relevant content) 659 660 EXTRACTION: 661 - Pull episode titles + descriptions 662 - Identify themes/topics 663 - Cluster by concept 664 665 PATTERN MINING: 666 - Which episodes shaped current thinking? 667 - What concepts recur across shows? 668 - What conflicts with current axioms? 669 670 GRAPH INTEGRATION: 671 - Create nodes for key concepts 672 - Link to axioms where applicable 673 - Mark source as "Overcast-[episode]" 674 675 TEMPORAL: 676 - Place in year/quarter of listen date 677 - Compound into time-appropriate synthesis 678 ``` 679 680 --- 681 682 ## The Promise 683 684 > **Multiple threads. One unified view.** 685 > 686 > Each thread has its First Officer. 687 > Every 5 checkpoints, Mission Control synthesizes. 688 > Cross-thread patterns surface automatically. 689 > Dependencies become visible. 690 > You see everything in one daily synthesis. 691 > 692 > **And it compounds across time.** 693 > 694 > Daily → Weekly → Monthly → Quarterly → Yearly 695 > Nothing essential is lost. 696 > The graph grows richer with each day. 697 > Historical backfill integrates seamlessly. 698 > 699 > The system scales to any number of parallel threads. 700 > The system persists across any length of time. 701 702 --- 703 704 ## Related 705 706 - **axioms** 707 - [[A0 Boundary Operation]] - Mission Control IS the cross-thread blanket 708 - shape:: "Every coherent system is Markov blankets within Markov blankets." 709 - [[A1 Telos of Integration]] - synthesizes across threads (integration) 710 - shape:: "Systems that persist are systems that integrate." 711 - [[A3 Dynamic Pole Navigation]] - temporal compaction navigates between detail/compression 712 - shape:: "Life is the oscillation; death is fixing at either pole." 713 - **protocols** 714 - [[first-officer-protocol]] - per-thread metacognition (MC synthesizes across FOs) 715 - shape:: "Per-thread metacognition. Every 5-10 exchanges: compress state, track gravity wells." 716 - [[fractal-tribe-architecture]] - MC is Level 3 in the fractal 717 - shape:: "Same pattern at every level. Workers → FO → Meta-FO → Human." 718 - [[live-compression-protocol]] - what FOs produce, what MC consumes 719 - [[mandatory-phoenix-extraction]] - Phoenix states feed MC synthesis 720 - **concepts** 721 - [[gravity-well]] - MC tracks wells across threads 722 - shape:: "A concept that attracts attention - high mass pulls related thoughts." 723 - [[resonance]] - cross-thread pattern emergence 724 - shape:: "When the same concept appears across multiple threads independently." 725 - **infrastructure** 726 - [[DAILY-SYNTHESIS]] - what MC produces 727 - [[GRAPH-STATE]] - the God Database MC updates 728 - [[GRAVITY-TOPOLOGY]] - where wells are forming 729 730 --- 731 732 *proto-018 | Mission Control Protocol | Cross-Thread Synthesis* 733 - [[2026-01-15-conversation-graph]] - resonance: 73% 734 - [[pattern-detection-inventory]] - resonance: 33% 735 - [[permeability_architecture]] - resonance: 35% 736