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
Copy file name to clipboardExpand all lines: platform-integrations/INSTALL_SPEC.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -115,12 +115,13 @@ Target: project directory
115
115
2. Copy shared lib from `platform-integrations/claude/plugins/evolve-lite/lib/` → `plugins/evolve-lite/lib/`
116
116
3. Upsert plugin entry `evolve-lite` into `.agents/plugins/marketplace.json`
117
117
4. Upsert a `UserPromptSubmit` hook into `.codex/hooks.json` that runs the Evolve recall helper script by walking upward from the current working directory until it finds `plugins/evolve-lite/skills/recall/scripts/retrieve_entities.py` (does not require `git`)
118
-
5. Print post-install guidance that automatic recall requires `~/.codex/config.toml` to include:
118
+
5. Upsert a `SessionStart` hook into `.codex/hooks.json` that runs `plugins/evolve-lite/skills/sync/scripts/sync.py --quiet`
119
+
6. Print post-install guidance that automatic recall requires `~/.codex/config.toml` to include:
119
120
```toml
120
121
[features]
121
122
codex_hooks = true
122
123
```
123
-
6. Print a manual fallback note that users can invoke `evolve-lite:recall` directly if they do not want to enable Codex hooks
124
+
7. Print a manual fallback note that users can invoke `evolve-lite:recall` directly if they do not want to enable Codex hooks
124
125
125
126
Codex is currently implemented only in lite mode. Full mode is reserved for future MCP-backed work.
126
127
@@ -143,6 +144,7 @@ Codex is currently implemented only in lite mode. Full mode is reserved for futu
143
144
1. Remove `plugins/evolve-lite/`
144
145
2. Remove the `evolve-lite` entry from `.agents/plugins/marketplace.json`
145
146
3. Remove the Evolve `UserPromptSubmit` hook from `.codex/hooks.json`
147
+
4. Remove the Evolve `SessionStart` hook from `.codex/hooks.json`
"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,8 @@ 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
+
If `sync.on_session_start` is enabled in `evolve.config.yaml`, the installer also registers a `SessionStart` hook that runs the sync helper quietly whenever a Codex session starts or resumes.
103
+
63
104
## Included Skills
64
105
65
106
### `evolve-lite:learn`
@@ -69,3 +110,19 @@ Analyze the current session and save proactive Evolve entities as markdown files
69
110
### `evolve-lite:recall`
70
111
71
112
Show the entities already stored for the current workspace.
113
+
114
+
### `evolve-lite:publish`
115
+
116
+
Copy selected private guidelines into `.evolve/public/`, stamp them as public, and push them to your configured sharing repo.
117
+
118
+
### `evolve-lite:subscribe`
119
+
120
+
Clone another user's public guideline repo into `.evolve/subscribed/` and register it in `evolve.config.yaml`.
121
+
122
+
### `evolve-lite:unsubscribe`
123
+
124
+
Remove a configured subscription and delete its local clones and mirrored recall entities.
125
+
126
+
### `evolve-lite:sync`
127
+
128
+
Pull every configured subscription and mirror its markdown files into `.evolve/entities/subscribed/` so recall can include them automatically.
description: Publish a private guideline to your public repo so others can subscribe to it.
4
+
---
5
+
6
+
# Publish Guideline
7
+
8
+
## Overview
9
+
10
+
This skill publishes one or more private guidelines from your local `.evolve/entities/guideline/` directory to your public git repository, making them available for others to subscribe to.
11
+
12
+
## Workflow
13
+
14
+
### Step 1: Bootstrap config if missing or incomplete
15
+
16
+
Check whether `evolve.config.yaml` exists in the project root.
17
+
18
+
If it does not exist, ask the user for:
19
+
20
+
- a username such as `vatche`
21
+
- the remote URL for the public guidelines repo
22
+
23
+
Create `evolve.config.yaml` with:
24
+
25
+
```yaml
26
+
identity:
27
+
user: {username}
28
+
public_repo:
29
+
remote: {remote}
30
+
branch: main
31
+
subscriptions: []
32
+
sync:
33
+
on_session_start: true
34
+
```
35
+
36
+
If the file exists but `identity.user` or `public_repo.remote` is missing, ask only for the missing values and update the file.
37
+
38
+
### Step 2: First-time setup
39
+
40
+
Ensure `.evolve/` is gitignored at the project root:
0 commit comments