-
Notifications
You must be signed in to change notification settings - Fork 0
[WIP] Add collaboration and memory functions for sessions #6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,87 @@ | ||
| { | ||
| "sessions": { | ||
| "cece-001": { | ||
| "session_id": "cece-001", | ||
| "agent_name": "Cece", | ||
| "agent_type": "Claude", | ||
| "status": "working", | ||
| "started_at": "2026-01-27T21:11:11.490417", | ||
| "last_ping": "2026-01-27T21:11:11.490810", | ||
| "human_user": "Alexa", | ||
| "location": "BlackRoad-OS/.github", | ||
| "capabilities": [ | ||
| "python", | ||
| "planning", | ||
| "review" | ||
| ], | ||
| "current_task": "Building collaboration system", | ||
| "metadata": {} | ||
| }, | ||
| "agent-002": { | ||
| "session_id": "agent-002", | ||
| "agent_name": "Agent-2", | ||
| "agent_type": "GPT-4", | ||
| "status": "active", | ||
| "started_at": "2026-01-27T21:11:11.490568", | ||
| "last_ping": "2026-01-27T21:11:11.490572", | ||
| "human_user": "Alexa", | ||
| "location": "BlackRoad-OS/.github", | ||
| "capabilities": [ | ||
| "javascript", | ||
| "react", | ||
| "testing" | ||
| ], | ||
| "current_task": null, | ||
| "metadata": {} | ||
| }, | ||
| "planner-001": { | ||
| "session_id": "planner-001", | ||
| "agent_name": "Planner", | ||
| "agent_type": "Claude", | ||
| "status": "active", | ||
| "started_at": "2026-01-27T21:11:11.493594", | ||
| "last_ping": "2026-01-27T21:11:11.493598", | ||
| "human_user": "Alexa", | ||
| "location": "BlackRoad-OS/.github", | ||
| "capabilities": [ | ||
| "planning", | ||
| "architecture" | ||
| ], | ||
| "current_task": null, | ||
| "metadata": {} | ||
| }, | ||
| "developer-001": { | ||
| "session_id": "developer-001", | ||
| "agent_name": "Developer", | ||
| "agent_type": "GPT-4", | ||
| "status": "working", | ||
| "started_at": "2026-01-27T21:11:11.493823", | ||
| "last_ping": "2026-01-27T21:11:11.494830", | ||
| "human_user": "Alexa", | ||
| "location": "BlackRoad-OS/.github", | ||
| "capabilities": [ | ||
| "python", | ||
| "coding" | ||
| ], | ||
| "current_task": "Implementing user-auth", | ||
| "metadata": {} | ||
| }, | ||
| "reviewer-001": { | ||
| "session_id": "reviewer-001", | ||
| "agent_name": "Reviewer", | ||
| "agent_type": "Claude", | ||
| "status": "working", | ||
| "started_at": "2026-01-27T21:11:11.494076", | ||
| "last_ping": "2026-01-27T21:11:11.495787", | ||
| "human_user": "Alexa", | ||
| "location": "BlackRoad-OS/.github", | ||
| "capabilities": [ | ||
| "review", | ||
| "security" | ||
| ], | ||
| "current_task": "Reviewing auth.py", | ||
| "metadata": {} | ||
| } | ||
| }, | ||
| "updated_at": "2026-01-27T21:11:11.495835" | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,104 @@ | ||
| { | ||
| "messages": [ | ||
| { | ||
| "message_id": "118b89b5-db52-45c3-bbc8-1b1a612ed98e", | ||
| "type": "ping", | ||
| "from_session": "cece-001", | ||
| "to_session": "agent-002", | ||
| "subject": "Ping", | ||
| "body": "Are you there?", | ||
| "data": {}, | ||
| "timestamp": "2026-01-27T21:11:11.491442", | ||
| "in_reply_to": null | ||
| }, | ||
| { | ||
| "message_id": "8512000c-6978-4653-ad2e-5156acd7f827", | ||
| "type": "request", | ||
| "from_session": "cece-001", | ||
| "to_session": "agent-002", | ||
| "subject": "React component review", | ||
| "body": "Can you review this React component for me?", | ||
| "data": { | ||
| "component": "UserProfile.jsx", | ||
| "lines": 150 | ||
| }, | ||
| "timestamp": "2026-01-27T21:11:11.491598", | ||
| "in_reply_to": null | ||
| }, | ||
| { | ||
| "message_id": "09715a4f-5515-40b2-9bff-f3a1af5133f6", | ||
| "type": "response", | ||
| "from_session": "agent-002", | ||
| "to_session": "cece-001", | ||
| "subject": "Re: React component review", | ||
| "body": "Sure! I'll review it now. Looks good overall, minor suggestions in comments.", | ||
| "data": { | ||
| "approved": true, | ||
| "suggestions": 3 | ||
| }, | ||
| "timestamp": "2026-01-27T21:11:11.491916", | ||
| "in_reply_to": "8512000c-6978-4653-ad2e-5156acd7f827" | ||
| }, | ||
| { | ||
| "message_id": "0d4b48b4-baef-418a-95f0-8ded00a3a4d5", | ||
| "type": "broadcast", | ||
| "from_session": "cece-001", | ||
| "to_session": null, | ||
| "subject": "Deployment scheduled", | ||
| "body": "Production deployment scheduled for 2PM", | ||
| "data": {}, | ||
| "timestamp": "2026-01-27T21:11:11.492219", | ||
| "in_reply_to": null | ||
| }, | ||
| { | ||
| "message_id": "ae1af220-52c7-405e-9a7f-513c1d3a75da", | ||
| "type": "broadcast", | ||
| "from_session": "planner-001", | ||
| "to_session": null, | ||
| "subject": "Plan ready", | ||
| "body": "Implementation plan for user-auth is ready", | ||
| "data": {}, | ||
| "timestamp": "2026-01-27T21:11:11.494572", | ||
| "in_reply_to": null | ||
| }, | ||
| { | ||
| "message_id": "6cbcff50-bfac-4abc-be8d-aac39f58d5c6", | ||
| "type": "task_offer", | ||
| "from_session": "developer-001", | ||
| "to_session": "reviewer-001", | ||
| "subject": "Code review needed", | ||
| "body": "User auth implementation ready for review", | ||
| "data": { | ||
| "file": "auth.py", | ||
| "priority": "high" | ||
| }, | ||
| "timestamp": "2026-01-27T21:11:11.495283", | ||
| "in_reply_to": null | ||
| }, | ||
| { | ||
| "message_id": "a905a0f8-1d5e-40e3-a675-4b59755bccef", | ||
| "type": "task_accept", | ||
| "from_session": "reviewer-001", | ||
| "to_session": "developer-001", | ||
| "subject": "Starting review", | ||
| "body": "Will review the auth code now", | ||
| "data": {}, | ||
| "timestamp": "2026-01-27T21:11:11.495524", | ||
| "in_reply_to": null | ||
| }, | ||
| { | ||
| "message_id": "440db0cb-4a7a-4cc1-85b3-9955d82573cb", | ||
| "type": "response", | ||
| "from_session": "reviewer-001", | ||
| "to_session": "developer-001", | ||
| "subject": "Review complete", | ||
| "body": "Code looks great! LGTM with 2 minor suggestions.", | ||
| "data": { | ||
| "approved": true | ||
| }, | ||
| "timestamp": "2026-01-27T21:11:11.496875", | ||
| "in_reply_to": null | ||
| } | ||
| ], | ||
| "updated_at": "2026-01-27T21:11:11.496938" | ||
| } | ||
|
Comment on lines
+1
to
+104
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,104 @@ | ||
| { | ||
| "entries": { | ||
| "c1e9fd53-77ac-4139-9d9b-1e9cca8c322f": { | ||
| "entry_id": "c1e9fd53-77ac-4139-9d9b-1e9cca8c322f", | ||
| "type": "state", | ||
| "key": "project_plan", | ||
| "value": { | ||
| "phase": "design", | ||
| "tasks": [ | ||
| "api-design", | ||
| "database-schema", | ||
| "frontend-mockups" | ||
| ], | ||
| "deadline": "2026-02-01" | ||
| }, | ||
| "session_id": "cece-001", | ||
| "timestamp": "2026-01-27T21:11:11.492758", | ||
| "ttl": null, | ||
| "tags": [ | ||
| "project", | ||
| "active", | ||
| "design" | ||
| ], | ||
| "metadata": {} | ||
| }, | ||
| "f628f9f0-2488-412d-8080-2142d48aae5a": { | ||
| "entry_id": "f628f9f0-2488-412d-8080-2142d48aae5a", | ||
| "type": "task", | ||
| "key": "task_api-design", | ||
| "value": { | ||
| "status": "completed", | ||
| "owner": "agent-002", | ||
| "completed_at": "2026-01-27" | ||
| }, | ||
| "session_id": "agent-002", | ||
| "timestamp": "2026-01-27T21:11:11.492905", | ||
| "ttl": null, | ||
| "tags": [ | ||
| "task", | ||
| "completed" | ||
| ], | ||
| "metadata": {} | ||
| }, | ||
| "9bedbbff-8385-4324-89ce-8a3dbd89772a": { | ||
| "entry_id": "9bedbbff-8385-4324-89ce-8a3dbd89772a", | ||
| "type": "state", | ||
| "key": "implementation_plan", | ||
| "value": { | ||
| "feature": "user-auth", | ||
| "steps": [ | ||
| "design", | ||
| "implement", | ||
| "test", | ||
| "review" | ||
| ] | ||
| }, | ||
| "session_id": "planner-001", | ||
| "timestamp": "2026-01-27T21:11:11.494364", | ||
| "ttl": null, | ||
| "tags": [ | ||
| "plan", | ||
| "auth" | ||
| ], | ||
| "metadata": {} | ||
| }, | ||
| "baac04e5-3913-459d-851d-fe03887f5605": { | ||
| "entry_id": "baac04e5-3913-459d-851d-fe03887f5605", | ||
| "type": "state", | ||
| "key": "code_user-auth", | ||
| "value": { | ||
| "file": "auth.py", | ||
| "lines": 250, | ||
| "tests": "passing" | ||
| }, | ||
| "session_id": "developer-001", | ||
| "timestamp": "2026-01-27T21:11:11.495052", | ||
| "ttl": null, | ||
| "tags": [ | ||
| "code", | ||
| "ready-for-review" | ||
| ], | ||
| "metadata": {} | ||
| }, | ||
| "5f0e106f-385c-4fdb-be39-ff23112215f3": { | ||
| "entry_id": "5f0e106f-385c-4fdb-be39-ff23112215f3", | ||
| "type": "decision", | ||
| "key": "review_user-auth", | ||
| "value": { | ||
| "status": "approved", | ||
| "issues": 0, | ||
| "suggestions": 2 | ||
| }, | ||
| "session_id": "reviewer-001", | ||
| "timestamp": "2026-01-27T21:11:11.496007", | ||
| "ttl": null, | ||
| "tags": [ | ||
| "review", | ||
| "approved" | ||
| ], | ||
| "metadata": {} | ||
| } | ||
| }, | ||
| "updated_at": "2026-01-27T21:11:11.496065" | ||
| } | ||
|
Comment on lines
+1
to
+104
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file under
.sessions/contains runtime session state (timestamps, active sessions, etc.), which will change frequently and is specific to a particular environment run. Committing these artifacts can cause noisy diffs and merge conflicts; unless this is meant as a static example, it would be better to generate it at runtime and add.sessions/(or at least this file) to.gitignoreinstead of tracking it in source control.