You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* fix(tests): resolve 2 failing platform integration tests
- Fixed test_uninstall_prunes_evolve_only_hook_groups by adding empty group pruning logic to _remove_user_prompt_hook in install.sh
- Fixed test_skips_symlinked_entities by correcting test expectations - symlinks exist in git clones but are filtered by retrieve script
- Added RETRIEVE_SCRIPT constant to test_sync.py for cleaner test code
* fix(formatting): apply ruff formatting to mcp_server and entity sharing tests
* fix(mcp): verify ownership before publish/unpublish entity
* fix(mcp): enforce owner_id on public create, consistent limits, ownership mismatch tests
* chore: remove unused imports in evolve_client.py
-`get_entities(task: str, entity_type: str)`: Get relevant entities for a specific task, filtered by type (e.g., 'guideline', 'policy').
110
-
-`get_guidelines(task: str)`: Get relevant guidelines for a specific task (backward compatibility alias).
111
-
-`save_trajectory(trajectory_data: str, task_id: str | None)`: Save a conversation trajectory and generate new guidelines.
112
-
-`create_entity(content: str, entity_type: str, metadata: str | None, enable_conflict_resolution: bool)`: Create a single entity in the namespace.
109
+
-`get_entities(task: str, entity_type: str = "guideline", include_public: bool = False)`: Get relevant entities for a specific task. Set `include_public=True` to merge in public entities from all other namespaces; those results are annotated with `[public: {owner_id}]`.
110
+
-`get_guidelines(task: str)`: Get relevant guidelines for a specific task (backward compatibility alias for `get_entities`).
111
+
-`save_trajectory(trajectory_data: str, task_id: str | None, owner_id: str | None)`: Save a conversation trajectory and generate new guidelines.
112
+
-`create_entity(content: str, entity_type: str, metadata: str | None, enable_conflict_resolution: bool, owner_id: str | None, visibility: str = "private")`: Create a single entity. Pass `visibility="public"` and `owner_id` to make it immediately discoverable by other namespaces.
113
+
-`publish_entity(entity_id: str, user_id: str | None)`: Make an entity publicly visible to all namespaces. Records the caller as owner and stamps `published_at`.
114
+
-`unpublish_entity(entity_id: str, user_id: str | None = None)`: Revert an entity to private visibility. Ownership is enforced server-side: if the entity has an `owner_id`, `user_id` must match it.
113
115
-`delete_entity(entity_id: str)`: Delete a specific entity by its ID.
114
116
115
117
### Filter Migration Note
@@ -123,6 +125,7 @@ Existing integrations that stored custom fields in entity metadata should update
123
125
-**Proactive**: Learns how to recognize problems and their solutions, and generates guidelines that get automatically applied to new tasks.
124
126
-**Conflict Resolution**: Update existing guidelines when new information contradicts them.
125
127
-**On Command**: An array of tools to manage guidelines whether in the agent or through a CLI
128
+
-**Sharing**: Publish individual entities so other agents can discover and retrieve them across namespaces.
126
129
127
130
## Architecture
128
131
Evolve is built on a modular architecture which forms a feedback loop, taking conversation traces (trajectories) from an agent, extracting key insights into a database, feeding it back into the agent.
@@ -133,6 +136,46 @@ _Lite Mode omits the Interaction layer. All activity is performed in-agent_
REST API endpoints (`GET /api/entities/public`, publish/unpublish routes) and UI controls are not yet implemented.
178
+
136
179
## Guideline Provenance
137
180
Evolve automatically tracks the origin of every guideline it generates or stores. Every guideline entity contains `metadata` identifying its source:
138
181
-`creation_mode`: Identifies how the guideline was created (`auto-phoenix` via trace observability, `auto-mcp` via trajectory saving tools, or `manual`).
0 commit comments