Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[submodule "libs/deepagents"]
path = libs/deepagents
url = https://github.com/DavinciDreams/deepagentsjs.git
branch = main
382 changes: 382 additions & 0 deletions BRANCH_ANALYSIS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,382 @@
# Branch and PR Analysis

**Date:** 2026-01-30
**Repository:** deepagentsjs

## Summary

This document provides a comprehensive analysis of all remaining branches and open PRs in the repository, along with recommendations for merging into main.

---

## All Remote Branches

| Branch Name | Status | Notes |
|-------------|--------|-------|
| `origin/changeset-release/main` | Open PR (#118) | Version packages release branch |
| `origin/feature/COORD-001-connection-lines` | No PR | Connection lines between cooperating agents |
| `origin/feature/MAP-001-isometric-camera` | No PR | Isometric 3D camera view |
| `origin/feature/MAP-002-zoom-scroll-wheel` | No PR | Zoom with scroll wheel, agent goal assignment, dragon spawn |
| `origin/feature/PH2-agent-bridge` | No PR | File operation visuals, agent state transitions |
| `origin/feature/PH3-ui-layer` | No PR | Drag-and-drop tool equipping to agents |
| `origin/feature/UI-003-INV-001-panel-animations-equipment` | No PR | Panel animations, equipment items, goal structures |
| `origin/feature/agents-of-empire-workspace-update` | No PR | Workspace updates, LISA Loop skill, landing page |
| `origin/fix/agents-of-empire-startup-fixes` | Merged | Already merged into integration/main-merge |
| `origin/integration/main-merge` | Merged | Integration branch, pushed to main |
| `origin/lno-stars` | Merged | Already merged into integration/main-merge |
| `origin/main` | Base | Main branch |
| `origin/many-features` | Open PR (#116) | UI improvements, panel animations, inventory, goals |

---

## Open Pull Requests

### PR #118: chore: version packages
- **Branch:** `changeset-release/main`
- **Author:** app/github-actions (bot)
- **Created:** 2026-01-30
- **Base:** main
- **Description:** Changesets release PR for versioning packages
- **Changes:**
- `deepagents-cli@0.0.17` - Fixed regex in platform key format test

### PR #116: UI Improvements, Panel Animations, Inventory System, and Goal Assignment
- **Branch:** `many-features`
- **Author:** DavinciDreams
- **Created:** 2026-01-28
- **Base:** main
- **Additions:** 8,319 lines
- **Deletions:** 325 lines
- **Description:** UI improvements, panel animations, inventory system, and goal assignment

---

## Branch Analysis

### 1. `many-features` (PR #116)
**Status:** Open PR
**Ancestry:** Based on main, merged with main recently

**Commits:**
- Merge branch 'main' into many-features
- Delete .claude/skills/lisa-loop directory
- Phase 1: Foundation - MVP Pathfinding (PH1-001) (#114)
- fix: add missing usePartiesShallow import in HUD.tsx
- feat: UI improvements, panel animations, inventory system, and goal assignment
- feat: reorganize documentation and add UI tooltip components
- feat: update agents-of-empire game core functionality
- debug: add console logs for right-click context menu debugging
- fix: add missing useCallback import to Structure.tsx
- fix: resolve merge conflict markers from PR merge

**Features:**
- UI improvements
- Panel animations
- Inventory system
- Goal assignment

---

### 2. `changeset-release/main` (PR #118)
**Status:** Open PR
**Ancestry:** Based on main

**Commits:**
- chore: version packages
- pnpm version
- feat: reimplement quest server with deepagents middleware and enhance game store
- Merge lno-stars branch with --allow-unrelated-histories
- feat: add quest system with AI-generated dungeon stories
- Initial commit: Add deepagentsjs project structure
- fix: resolve agents-of-empire startup and selection issues
- Delete .claude/skills/lisa-loop directory
- Phase 1: Foundation - MVP Pathfinding (PH1-001) (#114)
- feat: update agents-of-empire game core functionality

**Features:**
- Version packages release
- Quest server with deepagents middleware
- Quest system with AI-generated dungeon stories

---

### 3. `feature/COORD-001-connection-lines`
**Status:** No PR
**Ancestry:** Shares ancestry with main (merge base: 7fcd860)

**Commits:**
- feat(agents-of-empire): implement connection lines between cooperating agents (COORD-001)
- feat(agents-of-empire): implement RTS-style HUD layout (UI-001)
- MAP-001: Isometric 3D camera view
- feat(agents-of-empire): implement isometric 3D camera view (MAP-001)
- Merge pull request #88 from DavinciDreams/feature/AG-002-drag-select-multiple-agents
- feat(agents-of-empire): implement drag-select multiple agents (AG-002)
- Merge pull request #87 from DavinciDreams/feature/AG-001-instanced-agent-rendering
- feat(agents-of-empire): implement instanced rendering for 100+ agents (AG-001)

**Features:**
- Connection lines between cooperating agents
- RTS-style HUD layout
- Isometric 3D camera view
- Drag-select multiple agents
- Instanced rendering for 100+ agents

---

### 4. `feature/MAP-001-isometric-camera`
**Status:** No PR
**Ancestry:** Shares ancestry with main (merge base: 9b0b60d)

**Commits:**
- MAP-001: Isometric 3D camera view
- feat(agents-of-empire): implement isometric 3D camera view (MAP-001)
- Merge pull request #88 from DavinciDreams/feature/AG-002-drag-select-multiple-agents
- feat(agents-of-empire): implement drag-select multiple agents (AG-002)
- Merge pull request #87 from DavinciDreams/feature/AG-001-instanced-agent-rendering
- feat(agents-of-empire): implement instanced rendering for 100+ agents (AG-001)

**Features:**
- Isometric 3D camera view
- Drag-select multiple agents
- Instanced rendering for 100+ agents

---

### 5. `feature/MAP-002-zoom-scroll-wheel`
**Status:** No PR
**Ancestry:** Based on feature branches

**Commits:**
- feat(goal): implement agent-to-goal assignment (GOAL-002)
- feat(map): implement zoom in/out with scroll wheel (MAP-002)
- feat(agent): implement enhanced agent state visualization (DA-003)
- feat(combat): implement dragon spawn on errors (COMB-001)
- docs(inventory): update plan.md with INV-001 implementation details
- feat(ui): panel animations and equipment items (UI-003, INV-001)
- Merge PR #94
- Merge PR #91
- Merge PR #92
- feat(agents-of-empire): implement connection lines between cooperating agents (COORD-001)

**Features:**
- Zoom in/out with scroll wheel
- Agent-to-goal assignment
- Enhanced agent state visualization
- Dragon spawn on errors
- Panel animations and equipment items

---

### 6. `feature/PH2-agent-bridge`
**Status:** No PR
**Ancestry:** Based on feature branches

**Commits:**
- feat(bridge): implement file operation visuals and agent state transitions
- feat(map): zoom scroll wheel and agent goal assignment (MAP-002, GOAL-002)
- feat(ui): panel animations and equipment items (UI-003, INV-001)
- Merge PR #94
- Merge PR #91
- Merge PR #92
- feat(agents-of-empire): implement connection lines between cooperating agents (COORD-001)
- feat(agents-of-empire): implement RTS-style HUD layout (UI-001)
- chore: remove temporary HUD files and fix gameStore

**Features:**
- File operation visuals
- Agent state transitions
- Zoom scroll wheel
- Agent goal assignment
- Panel animations and equipment items

---

### 7. `feature/PH3-ui-layer`
**Status:** No PR
**Ancestry:** Based on feature branches

**Commits:**
- feat(ui): implement drag-and-drop tool equipping to agents
- feat(map): zoom scroll wheel and agent goal assignment (MAP-002, GOAL-002)
- feat(ui): panel animations and equipment items (UI-003, INV-001)
- Merge PR #94
- Merge PR #91
- Merge PR #92
- feat(agents-of-empire): implement connection lines between cooperating agents (COORD-001)
- feat(agents-of-empire): implement RTS-style HUD layout (UI-001)
- chore: remove temporary HUD files and fix gameStore

**Features:**
- Drag-and-drop tool equipping to agents
- Zoom scroll wheel
- Agent goal assignment
- Panel animations and equipment items

---

### 8. `feature/UI-003-INV-001-panel-animations-equipment`
**Status:** No PR
**Ancestry:** Based on feature branches

**Commits:**
- fix: resolve merge conflict syntax errors in Structure.tsx
- Merge main into feature branch - resolved conflicts
- fix(agent): correct undefined ref variables in arm materials
- feat(map): zoom scroll wheel and agent goal assignment (MAP-002, GOAL-002)
- feat(ui): panel animations and equipment items (UI-003, INV-001)
- feat(combat): implement dragon spawn on errors (COMB-001)
- feat(goals): implement GOAL-001 - goals appear as physical structures
- docs(inventory): update plan.md with INV-001 implementation details
- feat(inventory): represent tools as equipment items with icons and rarity (INV-001)
- feat(ui): implement smooth panel animations with Framer Motion (UI-003)

**Features:**
- Panel animations with Framer Motion
- Equipment items with icons and rarity
- Goals as physical structures
- Dragon spawn on errors
- Zoom scroll wheel and agent goal assignment

---

### 9. `feature/agents-of-empire-workspace-update`
**Status:** No PR
**Ancestry:** Older branch

**Commits:**
- feat(skills): add LISA Loop as standalone skill
- chore: ignore debug/test scripts and screenshots
- fix(ci): add vercel.json configuration for monorepo deployment
- feat(agents-of-empire): integrate real email service for waitlist
- feat(agents-of-empire): update game entities and landing page
- fix(agents-of-empire): resolve infinite loop in useCamera hook
- fix(agents-of-empire): add tiles shallow selector and fix GameHooks
- fix(agents-of-empire): resolve infinite loop and crash on game load
- ts fixes
- feat: add landing page and update game UI

**Features:**
- LISA Loop as standalone skill
- Real email service for waitlist
- Landing page updates
- Various bug fixes

---

## Current State of Main

The main branch currently contains:
- Quest server with deepagents middleware
- Quest system with AI-generated dungeon stories
- Lno-stars merged with --allow-unrelated-histories
- Startup and selection fixes
- Phase 1: Foundation - MVP Pathfinding (PH1-001)

---

## Recommended Merge Order

Based on the analysis, here is the recommended merge order:

### Priority 1: Merge Open PRs First

1. **PR #116: `many-features` → main**
- This is the most comprehensive feature branch with 8,319 additions
- Contains UI improvements, panel animations, inventory system, and goal assignment
- Already has a PR open and is ready for review
- **Note:** This branch appears to supersede many of the individual feature branches

2. **PR #118: `changeset-release/main` → main** (AFTER #116)
- This is a release branch for versioning packages
- Should be merged AFTER feature changes to include them in the release
- This is an automated changeset release PR

### Priority 2: Evaluate Individual Feature Branches

After merging the open PRs, evaluate if the following branches still need to be merged (they may be superseded by `many-features`):

3. **`feature/UI-003-INV-001-panel-animations-equipment`**
- Panel animations and equipment items
- May be partially included in `many-features`

4. **`feature/MAP-002-zoom-scroll-wheel`**
- Zoom with scroll wheel, agent goal assignment, dragon spawn
- May be partially included in `many-features`

5. **`feature/PH3-ui-layer`**
- Drag-and-drop tool equipping
- May be partially included in `many-features`

6. **`feature/PH2-agent-bridge`**
- File operation visuals and agent state transitions
- May be partially included in `many-features`

7. **`feature/COORD-001-connection-lines`**
- Connection lines between cooperating agents
- RTS-style HUD layout
- Isometric camera view
- May be partially included in `many-features`

8. **`feature/MAP-001-isometric-camera`**
- Isometric 3D camera view
- May be superseded by COORD-001 branch

9. **`feature/agents-of-empire-workspace-update`**
- Older branch with workspace updates
- May already be merged into main or superseded

---

## Key Observations

1. **The `many-features` branch appears to be a consolidation branch** that includes features from multiple individual feature branches (UI-003, INV-001, MAP-002, PH2, PH3, etc.)

2. **Branch overlap:** Several feature branches contain overlapping features:
- Panel animations appear in multiple branches
- Zoom scroll wheel appears in multiple branches
- Agent goal assignment appears in multiple branches

3. **Ancestry:** Most feature branches share ancestry with main, indicating they were created from main at various points in time

4. **PR Status:** Only 2 branches have open PRs, while 7 branches have no associated PRs

---

## Recommendations

### Immediate Actions

1. **Merge PR #116 (`many-features`) first** - This appears to be the most comprehensive feature branch and may supersede many of the individual feature branches

2. **Review and merge PR #118 (`changeset-release/main`) after #116** - This will create a proper release with all the new features

### Post-Merge Actions

3. **After merging #116, evaluate individual feature branches:**
- Check if features from individual branches are already included in `many-features`
- Delete branches that have been superseded
- Create PRs for any remaining unique features

4. **Clean up merged branches:**
- `fix/agents-of-empire-startup-fixes` (already merged)
- `lno-stars` (already merged)
- `integration/main-merge` (already merged)

### Questions for Review

1. **Is `many-features` intended to replace the individual feature branches?** If so, the individual branches can be deleted.

2. **Are there any features in the individual branches that are NOT in `many-features`?** These would need separate PRs.

3. **Should `feature/agents-of-empire-workspace-update` be merged?** It appears to be an older branch that may have been superseded.

---

## Next Steps

1. Review PR #116 for any conflicts or issues
2. Merge PR #116 into main
3. Review PR #118 and merge after #116
4. Evaluate remaining feature branches for unique features
5. Create PRs for any unique features not in `many-features`
6. Clean up obsolete branches
Loading