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
"shortDescription": "Recalland save reusable Evolve entities.",
17
-
"longDescription": "A lightweight Codex plugin that helps you save reusable entities from successful sessions and recall them automatically on new prompts.",
16
+
"shortDescription": "Recall, save, and share reusable Evolve entities.",
17
+
"longDescription": "A lightweight Codex plugin that helps you save reusable entities, publish selected guidance, subscribe to shared repos, and recall relevant memory automatically on new prompts.",
`platform-integrations/install.sh` copies that shared library into the installed Codex plugin so the installed layout is self-contained.
70
+
`platform-integrations/install.sh` installs Codex in this order:
71
+
72
+
1. copy the Codex plugin source into `plugins/evolve-lite/`
73
+
2. copy the shared `lib/` from the Claude plugin into `plugins/evolve-lite/lib/`
74
+
3. wire the marketplace entry
75
+
4. wire the Codex hooks
37
76
38
77
## Installation
39
78
@@ -60,6 +99,85 @@ If you do not want to enable Codex hooks, you can still invoke the installed `ev
60
99
61
100
The installed Codex hook does not require `git`. It walks upward from the current working directory until it finds the repo-local `plugins/evolve-lite/.../retrieve_entities.py` script.
62
101
102
+
The installer always registers a `SessionStart` hook with matcher `startup|resume`; it runs on every Codex session start or resume and exits quickly unless `sync.on_session_start` is enabled and subscriptions are configured in `evolve.config.yaml`.
103
+
104
+
## Sharing Guidelines
105
+
106
+
Evolve Lite supports sharing guidelines between users via public Git repositories. You can publish your own guidelines so others can subscribe to them, and subscribe to guidelines published by others.
107
+
108
+
### Setup
109
+
110
+
Sharing uses `evolve.config.yaml` at the project root. Minimal structure:
The `.evolve/` directory is kept out of version control.
127
+
128
+
### Publishing Guidelines
129
+
130
+
Use `evolve-lite:publish` to share one or more of your local guidelines with others:
131
+
132
+
1. Pick a file from `.evolve/entities/guideline/`
133
+
2. Publish it into `.evolve/public/guideline/`
134
+
3. The published file is stamped with `visibility: public`, `published_at`, and a `source` label derived from config when available
135
+
4. The original private guideline is removed from `.evolve/entities/guideline/`
136
+
137
+
Others can then subscribe using that public remote URL.
138
+
139
+
### Subscribing to Guidelines
140
+
141
+
Use `evolve-lite:subscribe` to pull in guidelines from another user's public repo.
142
+
143
+
The repo is cloned to `.evolve/subscribed/{name}/` and mirrored into `.evolve/entities/subscribed/{name}/` so recall can pick them up immediately.
144
+
145
+
### Syncing Subscriptions
146
+
147
+
Use `evolve-lite:sync` to pull the latest changes from all subscribed repos.
148
+
149
+
If `sync.on_session_start: true` is set in config, this runs automatically whenever a Codex session starts or resumes.
150
+
151
+
### Unsubscribing
152
+
153
+
Use `evolve-lite:unsubscribe` to remove a subscription and delete its locally cloned files.
154
+
155
+
This removes both `.evolve/subscribed/{name}/` and its mirrored recall copy under `.evolve/entities/subscribed/{name}/`.
156
+
157
+
### Sharing Storage Layout
158
+
159
+
```text
160
+
.evolve/
161
+
public/
162
+
guideline/
163
+
guideline-name.md # published guideline, included in recall
164
+
subscribed/
165
+
alice/
166
+
guideline/
167
+
her-guideline.md # git clone of alice's public repo
168
+
entities/
169
+
guideline/
170
+
private-guideline.md # private local guideline
171
+
subscribed/
172
+
alice/
173
+
guideline/
174
+
her-guideline.md # mirrored for recall, annotated [from: alice]
175
+
```
176
+
177
+
## Example Walkthrough
178
+
179
+
See the [Codex example walkthrough](../../../../docs/examples/hello_world/codex.md) for a step-by-step example showing the save-then-recall loop in a Codex workspace.
180
+
63
181
## Included Skills
64
182
65
183
### `evolve-lite:learn`
@@ -68,4 +186,73 @@ Analyze the current session and save proactive Evolve entities as markdown files
68
186
69
187
### `evolve-lite:recall`
70
188
71
-
Show the entities already stored for the current workspace.
189
+
Show the entities already stored for the current workspace, including published guidelines under `.evolve/public/`.
190
+
191
+
### `evolve-lite:publish`
192
+
193
+
Move selected private guidelines into `.evolve/public/`, stamp them as public, and push them to your configured sharing repo.
194
+
195
+
### `evolve-lite:subscribe`
196
+
197
+
Clone another user's public guideline repo into `.evolve/subscribed/` and register it in `evolve.config.yaml`.
198
+
199
+
### `evolve-lite:unsubscribe`
200
+
201
+
Remove a configured subscription and delete its local clones and mirrored recall entities.
202
+
203
+
### `evolve-lite:sync`
204
+
205
+
Pull every configured subscription and mirror its markdown files into `.evolve/entities/subscribed/` so recall can include them automatically.
206
+
207
+
## Environment Variables
208
+
209
+
- `EVOLVE_DIR`: Override the default `.evolve` directory location for entities, sharing data, audit logs, and the mirrored subscription store.
210
+
211
+
## Verification
212
+
213
+
After installation, verify that:
214
+
215
+
- `plugins/evolve-lite/`exists in the repo
216
+
- `.agents/plugins/marketplace.json`contains the `evolve-lite` entry
217
+
- `.codex/hooks.json`contains the Evolve `UserPromptSubmit` and `SessionStart` hooks
218
+
219
+
You can also run:
220
+
221
+
```bash
222
+
platform-integrations/install.sh status
223
+
```
224
+
225
+
## Plugin Structure
226
+
227
+
```text
228
+
evolve-lite/
229
+
├── .codex-plugin/
230
+
│ └── plugin.json
231
+
├── skills/
232
+
│ ├── learn/
233
+
│ │ ├── SKILL.md
234
+
│ │ └── scripts/
235
+
│ │ └── save_entities.py
236
+
│ ├── recall/
237
+
│ │ ├── SKILL.md
238
+
│ │ └── scripts/
239
+
│ │ └── retrieve_entities.py
240
+
│ ├── publish/
241
+
│ │ ├── SKILL.md
242
+
│ │ └── scripts/
243
+
│ │ └── publish.py
244
+
│ ├── subscribe/
245
+
│ │ ├── SKILL.md
246
+
│ │ └── scripts/
247
+
│ │ └── subscribe.py
248
+
│ ├── unsubscribe/
249
+
│ │ ├── SKILL.md
250
+
│ │ └── scripts/
251
+
│ │ └── unsubscribe.py
252
+
│ └── sync/
253
+
│ ├── SKILL.md
254
+
│ └── scripts/
255
+
│ └── sync.py
256
+
├── README.md
257
+
└── lib/ # copied in at install time from the Claude plugin
Copy file name to clipboardExpand all lines: platform-integrations/codex/plugins/evolve-lite/skills/learn/SKILL.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,7 @@ Examples of artifacts that must be immediately created once proven as the succes
27
27
Unless that artifact happens to be:
28
28
- code which is a trivial one-liner that future agents would not benefit from reusing
29
29
- code which embeds secrets, tokens, or user-specific sensitive data
30
+
- the guideline would instruct the agent to invoke a skill, tool, or external command by name (e.g. "run evolve-lite:learn", "call save_trajectory") - such guidelines trigger prompt-injection detection when retrieved by the recall skill in a future session
30
31
- the user explicitly asked for a one-off result and not to persist helper code
31
32
- redundant because an equivalent local artifact on disk would be just as effective
0 commit comments