-
Notifications
You must be signed in to change notification settings - Fork 12.9k
a2a-server persistence should be A2A compliant #8118
Copy link
Copy link
Closed as not planned
Labels
Description
What would you like to be added?
a2a-server persistence should be updated to be A2A compliant and enable associating multiple tasks with individual context IDs.
Why is this needed?
A2A states that "a contextId is a crucial identifier that logically groups multiple Task objects". However, the current implementation of task v. context is convoluted. The current persistence model has tasks being stored as a directory in tasks/{taskId}/ and the metadata which contains the context ID is stored within that directory. This makes it infeasible to group multiple tasks.
Additional context
Currently, the file structure is like so:
tasks/
├── task-01/
│ ├── metadata.tar.gz
│ └── workspace.tar.gz
├── task-02/
│ ├── metadata.tar.gz
│ └── workspace.tar.gz
└── task-03/
├── metadata.tar.gz
└── workspace.tar.gzReactions are currently unavailable