Skip to content

Commit 348f3d0

Browse files
authored
Merge pull request #101 from AgentWorkforce/dm-routing
2 parents 235197b + 9e255d8 commit 348f3d0

15 files changed

+1680
-474
lines changed
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
{
2+
"id": "traj_1g7yx6qtg4ai",
3+
"version": 1,
4+
"task": {
5+
"title": "Inline DM conversation with agent invites"
6+
},
7+
"status": "completed",
8+
"startedAt": "2026-01-07T19:32:42.245Z",
9+
"agents": [
10+
{
11+
"name": "default",
12+
"role": "lead",
13+
"joinedAt": "2026-01-07T19:32:47.144Z"
14+
}
15+
],
16+
"chapters": [
17+
{
18+
"id": "chap_fcmd8ybzbjhi",
19+
"title": "Work",
20+
"agentName": "default",
21+
"startedAt": "2026-01-07T19:32:47.144Z",
22+
"events": [
23+
{
24+
"ts": 1767814367146,
25+
"type": "decision",
26+
"content": "Reintroduce DM participants inline: Reintroduce DM participants inline",
27+
"raw": {
28+
"question": "Reintroduce DM participants inline",
29+
"chosen": "Reintroduce DM participants inline",
30+
"alternatives": [],
31+
"reasoning": "Inline DM view now supports inviting/removing agents with toggles, filters messages to human+participants, and sends to human plus invited agents"
32+
},
33+
"significance": "high"
34+
}
35+
],
36+
"endedAt": "2026-01-07T19:32:52.650Z"
37+
}
38+
],
39+
"commits": [],
40+
"filesChanged": [],
41+
"projectId": "/Users/khaliqgant/Projects/agent-workforce/relay",
42+
"tags": [],
43+
"completedAt": "2026-01-07T19:32:52.650Z",
44+
"retrospective": {
45+
"summary": "DMs now inline: human channel shows agent toggles, filters messages to participants, and sends to human + invited agents",
46+
"approach": "Standard approach",
47+
"confidence": 0.71
48+
}
49+
}
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Trajectory: Inline DM conversation with agent invites
2+
3+
> **Status:** ✅ Completed
4+
> **Confidence:** 71%
5+
> **Started:** January 7, 2026 at 08:32 PM
6+
> **Completed:** January 7, 2026 at 08:32 PM
7+
8+
---
9+
10+
## Summary
11+
12+
DMs now inline: human channel shows agent toggles, filters messages to participants, and sends to human + invited agents
13+
14+
**Approach:** Standard approach
15+
16+
---
17+
18+
## Key Decisions
19+
20+
### Reintroduce DM participants inline
21+
- **Chose:** Reintroduce DM participants inline
22+
- **Reasoning:** Inline DM view now supports inviting/removing agents with toggles, filters messages to human+participants, and sends to human plus invited agents
23+
24+
---
25+
26+
## Chapters
27+
28+
### 1. Work
29+
*Agent: default*
30+
31+
- Reintroduce DM participants inline: Reintroduce DM participants inline
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
{
2+
"id": "traj_ax8uungxz2qh",
3+
"version": 1,
4+
"task": {
5+
"title": "Fix DM participant toggle (removal not working)"
6+
},
7+
"status": "completed",
8+
"startedAt": "2026-01-07T19:10:39.600Z",
9+
"agents": [
10+
{
11+
"name": "khaliqgant",
12+
"role": "lead",
13+
"joinedAt": "2026-01-07T19:10:39.619Z"
14+
},
15+
{
16+
"name": "default",
17+
"role": "contributor",
18+
"joinedAt": "2026-01-07T19:11:44.435Z"
19+
}
20+
],
21+
"chapters": [
22+
{
23+
"id": "chap_get5382nsl2d",
24+
"title": "Work",
25+
"agentName": "default",
26+
"startedAt": "2026-01-07T19:11:44.435Z",
27+
"events": [
28+
{
29+
"ts": 1767813104436,
30+
"type": "decision",
31+
"content": "Allow DM agent removal: Allow DM agent removal",
32+
"raw": {
33+
"question": "Allow DM agent removal",
34+
"chosen": "Allow DM agent removal",
35+
"alternatives": [],
36+
"reasoning": "Track removedAgents so derived participants don't re-add toggled-off agents; participant list now respects user toggles"
37+
},
38+
"significance": "high"
39+
},
40+
{
41+
"ts": 1767813954702,
42+
"type": "decision",
43+
"content": "Show DMs inline: Show DMs inline",
44+
"raw": {
45+
"question": "Show DMs inline",
46+
"chosen": "Show DMs inline",
47+
"alternatives": [],
48+
"reasoning": "Removed DM modal and treat human selections as channels so DM messages appear in main conversation stream"
49+
},
50+
"significance": "high"
51+
}
52+
],
53+
"endedAt": "2026-01-07T19:26:00.289Z"
54+
}
55+
],
56+
"commits": [],
57+
"filesChanged": [],
58+
"projectId": "/Users/khaliqgant/Projects/agent-workforce/relay",
59+
"tags": [],
60+
"completedAt": "2026-01-07T19:26:00.289Z",
61+
"retrospective": {
62+
"summary": "DMs now render inline: human selection sets channel; DM modal removed; participant removal fixed",
63+
"approach": "Standard approach",
64+
"confidence": 0.73
65+
}
66+
}
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# Trajectory: Fix DM participant toggle (removal not working)
2+
3+
> **Status:** ✅ Completed
4+
> **Confidence:** 73%
5+
> **Started:** January 7, 2026 at 08:10 PM
6+
> **Completed:** January 7, 2026 at 08:26 PM
7+
8+
---
9+
10+
## Summary
11+
12+
DMs now render inline: human selection sets channel; DM modal removed; participant removal fixed
13+
14+
**Approach:** Standard approach
15+
16+
---
17+
18+
## Key Decisions
19+
20+
### Allow DM agent removal
21+
- **Chose:** Allow DM agent removal
22+
- **Reasoning:** Track removedAgents so derived participants don't re-add toggled-off agents; participant list now respects user toggles
23+
24+
### Show DMs inline
25+
- **Chose:** Show DMs inline
26+
- **Reasoning:** Removed DM modal and treat human selections as channels so DM messages appear in main conversation stream
27+
28+
---
29+
30+
## Chapters
31+
32+
### 1. Work
33+
*Agent: default*
34+
35+
- Allow DM agent removal: Allow DM agent removal
36+
- Show DMs inline: Show DMs inline
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
{
2+
"id": "traj_lgtodco7dp1n",
3+
"version": 1,
4+
"task": {
5+
"title": "DM routing/flow cleanup"
6+
},
7+
"status": "completed",
8+
"startedAt": "2026-01-07T21:41:28.024Z",
9+
"agents": [
10+
{
11+
"name": "default",
12+
"role": "lead",
13+
"joinedAt": "2026-01-07T21:41:32.714Z"
14+
}
15+
],
16+
"chapters": [
17+
{
18+
"id": "chap_9jwop5gckdrk",
19+
"title": "Work",
20+
"agentName": "default",
21+
"startedAt": "2026-01-07T21:41:32.714Z",
22+
"events": [
23+
{
24+
"ts": 1767822092715,
25+
"type": "decision",
26+
"content": "Removed DirectMessageModal: Removed DirectMessageModal",
27+
"raw": {
28+
"question": "Removed DirectMessageModal",
29+
"chosen": "Removed DirectMessageModal",
30+
"alternatives": [],
31+
"reasoning": "Inline DM flow replaces modal; deleted dead component"
32+
},
33+
"significance": "high"
34+
},
35+
{
36+
"ts": 1767822099837,
37+
"type": "decision",
38+
"content": "Dedup DM messages: Dedup DM messages",
39+
"raw": {
40+
"question": "Dedup DM messages",
41+
"chosen": "Dedup DM messages",
42+
"alternatives": [],
43+
"reasoning": "Filter duplicates when human channel active to avoid multi-recipient echo"
44+
},
45+
"significance": "high"
46+
}
47+
],
48+
"endedAt": "2026-01-07T21:41:49.080Z"
49+
}
50+
],
51+
"commits": [],
52+
"filesChanged": [],
53+
"projectId": "/Users/khaliqgant/Projects/agent-workforce/relay",
54+
"tags": [],
55+
"completedAt": "2026-01-07T21:41:49.080Z",
56+
"retrospective": {
57+
"summary": "Inline DM flow cleanup: removed modal, sticky invite controls, deduped DM messages",
58+
"approach": "Standard approach",
59+
"confidence": 0.7
60+
}
61+
}
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# Trajectory: DM routing/flow cleanup
2+
3+
> **Status:** ✅ Completed
4+
> **Confidence:** 70%
5+
> **Started:** January 7, 2026 at 10:41 PM
6+
> **Completed:** January 7, 2026 at 10:41 PM
7+
8+
---
9+
10+
## Summary
11+
12+
Inline DM flow cleanup: removed modal, sticky invite controls, deduped DM messages
13+
14+
**Approach:** Standard approach
15+
16+
---
17+
18+
## Key Decisions
19+
20+
### Removed DirectMessageModal
21+
- **Chose:** Removed DirectMessageModal
22+
- **Reasoning:** Inline DM flow replaces modal; deleted dead component
23+
24+
### Dedup DM messages
25+
- **Chose:** Dedup DM messages
26+
- **Reasoning:** Filter duplicates when human channel active to avoid multi-recipient echo
27+
28+
---
29+
30+
## Chapters
31+
32+
### 1. Work
33+
*Agent: default*
34+
35+
- Removed DirectMessageModal: Removed DirectMessageModal
36+
- Dedup DM messages: Dedup DM messages
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
{
2+
"id": "traj_yvfkwnkdiso2",
3+
"version": 1,
4+
"task": {
5+
"title": "DM invite button sticky + command palette"
6+
},
7+
"status": "completed",
8+
"startedAt": "2026-01-07T19:46:11.952Z",
9+
"agents": [
10+
{
11+
"name": "default",
12+
"role": "lead",
13+
"joinedAt": "2026-01-07T19:46:18.013Z"
14+
}
15+
],
16+
"chapters": [
17+
{
18+
"id": "chap_88haa8yrwdsy",
19+
"title": "Work",
20+
"agentName": "default",
21+
"startedAt": "2026-01-07T19:46:18.013Z",
22+
"events": [
23+
{
24+
"ts": 1767815178015,
25+
"type": "decision",
26+
"content": "Make DM invite controls sticky and add command palette actions: Make DM invite controls sticky and add command palette actions",
27+
"raw": {
28+
"question": "Make DM invite controls sticky and add command palette actions",
29+
"chosen": "Make DM invite controls sticky and add command palette actions",
30+
"alternatives": [],
31+
"reasoning": "Sticky header keeps invite buttons visible; palette now offers invite/remove actions for current DM"
32+
},
33+
"significance": "high"
34+
}
35+
],
36+
"endedAt": "2026-01-07T19:46:25.825Z"
37+
}
38+
],
39+
"commits": [],
40+
"filesChanged": [],
41+
"projectId": "/Users/khaliqgant/Projects/agent-workforce/relay",
42+
"tags": [],
43+
"completedAt": "2026-01-07T19:46:25.825Z",
44+
"retrospective": {
45+
"summary": "DM invite bar is sticky and command palette can invite/remove agents in current DM",
46+
"approach": "Standard approach",
47+
"confidence": 0.71
48+
}
49+
}
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Trajectory: DM invite button sticky + command palette
2+
3+
> **Status:** ✅ Completed
4+
> **Confidence:** 71%
5+
> **Started:** January 7, 2026 at 08:46 PM
6+
> **Completed:** January 7, 2026 at 08:46 PM
7+
8+
---
9+
10+
## Summary
11+
12+
DM invite bar is sticky and command palette can invite/remove agents in current DM
13+
14+
**Approach:** Standard approach
15+
16+
---
17+
18+
## Key Decisions
19+
20+
### Make DM invite controls sticky and add command palette actions
21+
- **Chose:** Make DM invite controls sticky and add command palette actions
22+
- **Reasoning:** Sticky header keeps invite buttons visible; palette now offers invite/remove actions for current DM
23+
24+
---
25+
26+
## Chapters
27+
28+
### 1. Work
29+
*Agent: default*
30+
31+
- Make DM invite controls sticky and add command palette actions: Make DM invite controls sticky and add command palette actions

0 commit comments

Comments
 (0)