#!/bin/bash
cd ~/firefrost-work/firefrost-operations-manual

# Create sandbox sessions directory
mkdir -p docs/sandbox-sessions

# Create the handoff template
cat > docs/sandbox-sessions/TEMPLATE.md << 'TEMPLATE'
# Sandbox Session - [TOPIC]

**Date:** [DATE]  
**AI Used:** Gemini  
**Duration:** [TIME]  
**Status:** [Exploration / Ready for Review / Implemented]

---

## Topic

[What we discussed - 1-2 sentences]

---

## Key Ideas

[Bullet points of main concepts explored]

- Idea 1
- Idea 2
- Idea 3

---

## Recommended Approach

[The consensus/best path forward from brainstorming]

---

## Open Questions

[Things that still need exploration or decision]

- Question 1
- Question 2

---

## Technical Considerations

[Any infrastructure, code, or implementation notes]

---

## Ready for Production?

**Status:** [YES / NO / NEEDS REFINEMENT]

**Reasoning:** [Why or why not]

**Next Steps:** [What needs to happen before implementation]

---

## Gemini Conversation Export

[Optional: Paste key excerpts from Gemini chat if helpful]

---

**Fire + Frost = Where Passion Meets Precision** 🔥❄️
TEMPLATE

# Create README for sandbox sessions
cat > docs/sandbox-sessions/README.md << 'README'
# Sandbox Sessions Directory

**Purpose:** Organize exploratory brainstorming sessions with alternate AIs (Gemini, ChatGPT, etc.)

## Workflow

1. **Brainstorm in Gemini** using SANDBOX-BRIEFING.md for context
2. **At end of session**, ask Gemini to format output using TEMPLATE.md structure
3. **Copy output** and save as new file: `gemini-[topic]-[date].md`
4. **Commit to Git** for Production Claude to review
5. **Implement in production** if validated

## File Naming Convention

- `gemini-ddos-strategy-2026-02-10.md`
- `gemini-subscriber-auth-2026-02-15.md`
- `chatgpt-discord-bot-ideas-2026-03-01.md`

## Status Indicators

- **Exploration:** Still thinking through ideas
- **Ready for Review:** Needs Production Claude evaluation
- **Implemented:** Idea executed in production
- **Archived:** Decided against, kept for reference

## Example Usage
```
1. Open Gemini
2. Paste: https://raw.githubusercontent.com/frostystyle/firefrost-operations-manual/master/project-files/SANDBOX-BRIEFING.md
3. Brainstorm: "Let's explore DDoS protection options"
4. Ask Gemini: "Format our discussion using the template structure"
5. Copy output → Save as gemini-ddos-options-2026-02-10.md
6. git add, commit, push
7. Production Claude reviews and implements if validated
```

**This keeps sandbox work organized and reviewable!**
README

# Add quick-copy prompt for Gemini
cat > docs/sandbox-sessions/GEMINI-PROMPT.txt << 'PROMPT'
At the end of our brainstorming session, please summarize our discussion in this format:

---

# Sandbox Session - [our topic]

**Date:** [today's date]
**AI Used:** Gemini
**Duration:** [estimate]
**Status:** Exploration

## Topic
[1-2 sentence summary of what we discussed]

## Key Ideas
[Bullet points of main concepts]

## Recommended Approach
[The best path forward from our brainstorming]

## Open Questions
[Things that still need exploration]

## Technical Considerations
[Any infrastructure, code, or implementation notes]

## Ready for Production?
**Status:** [YES / NO / NEEDS REFINEMENT]
**Reasoning:** [Why or why not]
**Next Steps:** [What needs to happen before implementation]

---

Thank you!
PROMPT

# Commit everything
git add -A
git commit -m "Create sandbox handoff system for exploratory AI sessions

- docs/sandbox-sessions/ directory structure
- TEMPLATE.md (structured handoff format)
- README.md (workflow documentation)
- GEMINI-PROMPT.txt (quick-copy for end of sessions)

Enables organized brainstorming with Gemini, easy review in production."

git push

echo "Sandbox handoff system created!"
echo ""
echo "=== QUICK START ==="
echo "1. Brainstorm in Gemini"
echo "2. Copy GEMINI-PROMPT.txt and paste at end of session"
echo "3. Save Gemini's output as: docs/sandbox-sessions/gemini-[topic]-[date].md"
echo "4. Commit to Git for Production Claude review"
