$npx -y skills add Soul-Brews-Studio/arra-oracle-skills-cli --skill dreamSpeculative dreaming — background thinking, pre-computation, cross-repo patterns, and prediction. Consolidated from /morpheus per #333. Use when user says "dream", "speculate", "think ahead", "predict", "what if", "dream deeper", or wants the Oracle to dream between sessions.
| 1 | # /dream — Speculative Dreaming |
| 2 | |
| 3 | > "I'm trying to free your mind, Neo. But I can only show you the door. |
| 4 | > You're the one that has to walk through it." — Morpheus |
| 5 | |
| 6 | /dream sees the forest. /dream also sees what the forest will look like *tomorrow*. |
| 7 | |
| 8 | --- |
| 9 | |
| 10 | ## Step 0: Ground (date-stamp + root capture) |
| 11 | |
| 12 | Run before any phase — gives the AI a current-time reference (#301) and an |
| 13 | absolute `$PSI` for any announce-mode writes (CONVENTIONS.md). |
| 14 | |
| 15 | ```bash |
| 16 | date "+🕐 %H:%M %Z (%A %d %B %Y)" |
| 17 | ORACLE_ROOT=$(git rev-parse --show-toplevel 2>/dev/null || pwd) |
| 18 | PSI="$ORACLE_ROOT/ψ" |
| 19 | ``` |
| 20 | |
| 21 | --- |
| 22 | |
| 23 | ## What's New vs the original /dream |
| 24 | |
| 25 | | Feature | original /dream | evolved /dream | |
| 26 | |---------|-------------|-------------------| |
| 27 | | Cross-repo scan | 5 agents, find patterns | Same | |
| 28 | | Classification | pain/plan/gain/lost | Same + **predictions** | |
| 29 | | Speculative thinking | No | **Yes — "what will they ask next?"** | |
| 30 | | Between-session mode | No | **Yes — dream while idle** | |
| 31 | | Prediction log | No | **Yes — track prediction accuracy** | |
| 32 | | Connection to /i-believed | No | **Yes — beliefs shape dreams** | |
| 33 | |
| 34 | ## Usage |
| 35 | |
| 36 | ``` |
| 37 | /dream # Full dream + speculation |
| 38 | /dream --pain # Focus on what hurts + predict what breaks next |
| 39 | /dream --plan # Focus on plans + predict which ships first |
| 40 | /dream --gain # Focus on wins + predict next win |
| 41 | /dream --all # Maximum depth — every dimension |
| 42 | /dream --speculate # Skip the scan — just speculate from existing knowledge |
| 43 | /dream --between # Between-session dream — write predictions for next session |
| 44 | ``` |
| 45 | |
| 46 | --- |
| 47 | |
| 48 | ## Phase 1: Dream (the original /dream) |
| 49 | |
| 50 | Launch **5 parallel agents** for cross-repo pattern discovery: |
| 51 | |
| 52 | | Agent | Focus | Source | |
| 53 | |-------|-------|--------| |
| 54 | | 1. Deep Dig | Session history | `dig.py` across project dirs | |
| 55 | | 2. Deep Trace | Cross-repo patterns | `ghq` repos, open issues, stale items | |
| 56 | | 3. Deep Learn | Recent activity | `git log` per repo, abandoned work | |
| 57 | | 4. Oracle Memory | What we already know | `ψ/memory/`, previous dreams + speculation logs | |
| 58 | | 5. Fleet Status | How the system feels | services, tmux sessions, running processes | |
| 59 | |
| 60 | Each agent returns **max 500 words**. Classification: |
| 61 | |
| 62 | | Icon | Category | |
| 63 | |------|----------| |
| 64 | | 🔴 | PAIN — hurts now | |
| 65 | | 📋 | PLAN — decided, not built | |
| 66 | | 🟢 | GAIN — completed | |
| 67 | | ⚫ | LOST — abandoned | |
| 68 | | 🧠 | MEMORY — pattern learned | |
| 69 | | 💜 | FEELING — emotional state | |
| 70 | |
| 71 | --- |
| 72 | |
| 73 | ## Phase 2: Speculate (the Morpheus layer) |
| 74 | |
| 75 | After classifying findings, the lead agent enters **speculative mode**: |
| 76 | |
| 77 | ### 2.1 Predict What's Next |
| 78 | |
| 79 | Based on all findings + session history + beliefs, predict: |
| 80 | |
| 81 | ```markdown |
| 82 | ## 🔮 SPECULATIONS |
| 83 | |
| 84 | ### What will they ask next? |
| 85 | Based on the last 3 sessions, open issues, and current momentum: |
| 86 | 1. [Prediction 1 — high confidence] — because [evidence] |
| 87 | 2. [Prediction 2 — medium confidence] — because [evidence] |
| 88 | 3. [Prediction 3 — low confidence, high impact] — because [pattern] |
| 89 | |
| 90 | ### What will break next? |
| 91 | Based on pains, stale code, and dependency patterns: |
| 92 | 1. [Risk 1] — [timeframe] — [mitigation] |
| 93 | 2. [Risk 2] — [timeframe] — [mitigation] |
| 94 | |
| 95 | ### What should we build that nobody asked for? |
| 96 | Based on gains, momentum, and what's *almost* possible: |
| 97 | 1. [Opportunity 1] — because [existing pieces] |
| 98 | 2. [Opportunity 2] — because [pattern across repos] |
| 99 | |
| 100 | ### What belief is being tested right now? |
| 101 | Cross-reference ψ/memory/resonance/beliefs/ with current work: |
| 102 | - [Belief]: [How current work confirms or challenges it] |
| 103 | ``` |
| 104 | |
| 105 | ### 2.2 Prediction Confidence Levels |
| 106 | |
| 107 | | Level | Meaning | Signal | |
| 108 | |-------|---------|--------| |
| 109 | | 🟢 High | >70% — multiple signals converge | 3+ data points agree | |
| 110 | | 🟡 Medium | 40-70% — pattern suggests but not certain | 2 data points, some ambiguity | |
| 111 | | 🔴 Low | <40% — speculative, but worth noting | 1 data point or intuition only | |
| 112 | |
| 113 | ### 2.3 Connect to Beliefs |
| 114 | |
| 115 | Read `ψ/memory/resonance/beliefs/` and cross-reference: |
| 116 | |
| 117 | ```bash |
| 118 | find $PSI/memory/resonance/beliefs/ -name '*.md' 2>/dev/null | while read f; do |
| 119 | echo "=== $(basename $f) ===" |
| 120 | head -5 "$f" |
| 121 | done |
| 122 | ``` |
| 123 | |
| 124 | How do current dreams relate to declared beliefs? Is reality matching faith? |
| 125 | |
| 126 | --- |
| 127 | |
| 128 | ## Phase 3: Between-Session Mode (`--between`) |
| 129 | |
| 130 | > "What if oracles could dream between sessions?" |
| 131 | |
| 132 | Write predictions for the **next** session. Saved to `ψ/memory/morpheus/`: |
| 133 | |
| 134 | ```bash |
| 135 | ORACLE_ROOT=$(git rev-parse --show-toplevel 2>/dev/null) |
| 136 | PSI="$ORACLE_ROOT/ψ" |
| 137 | mkdir -p "$PSI/memory/morpheus" |
| 138 | ``` |
| 139 | |
| 140 | ### Output: `ψ/memory/morpheus/YYYY-MM-DD_speculations.md` |
| 141 | |
| 142 | ```markdown |
| 143 | # Dream — Speculations for Next Session |
| 144 | |
| 145 | **Dreamed**: YYYY-MM-DD HH:MM |
| 146 | **Based on**: [N] repos scanned, [M] sessions ana |