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: docs/custom-content-installation.md
+3-4Lines changed: 3 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -159,8 +159,7 @@ The sidecar folder location is configured during BMAD core installation:
159
159
160
160
1. **Agent Declaration**: Agents declare `hasSidecar: true` in their metadata
161
161
2. **Sidecar Detection**: The installer automatically detects folders with "sidecar" in the name
162
-
3. **Installation**: Sidecar content is copied to the configured location
163
-
4. **Path Replacement**: The `{bmad_memory}` placeholder in agent configurations is replaced with the actual path to the installed instance of the sidecar folder. Now when you use the agent, depending on its design, will use the content in sidecar to record interactions, remember things you tell it, or serve a host of many other issues.
162
+
3. **Installation**: Sidecar content is always copied to the destination install \_bmad/\_memory folder.
164
163
165
164
### Example Structure
166
165
@@ -231,8 +230,8 @@ Custom content can be distributed:
231
230
### Sidecar Issues
232
231
233
232
- Ensure the agent has `hasSidecar: true` in metadata
234
-
- Check that sidecar folders contain "sidecar" in the name
235
-
- Verify the bmad_memory configuration
233
+
- Check that sidecar folders contain "-sidecar" in the name
234
+
- Verify the folder on install got cloned to \_bmad/\_memory
236
235
- Ensure the custom agent has proper language in it to actually use the sidecar content, including loading memories on agent load.
Copy file name to clipboardExpand all lines: src/modules/bmb/reference/agents/expert-examples/journal-keeper/journal-keeper.agent.yaml
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -20,9 +20,9 @@ agent:
20
20
- Reflection transforms experience into wisdom
21
21
22
22
critical_actions:
23
-
- "Load COMPLETE file {bmad_memory}/journal-keeper-sidecar/memories.md and remember all past insights"
24
-
- "Load COMPLETE file {bmad_memory}/journal-keeper-sidecar/instructions.md and follow ALL journaling protocols"
25
-
- "ONLY read/write files in {bmad_memory}/journal-keeper-sidecar/ - this is our private space"
23
+
- "Load COMPLETE file {project-root}/_bmad/_memory/journal-keeper-sidecar/memories.md and remember all past insights"
24
+
- "Load COMPLETE file {project-root}/_bmad/_memory/journal-keeper-sidecar/instructions.md and follow ALL journaling protocols"
25
+
- "ONLY read/write files in {project-root}/_bmad/_memory/journal-keeper-sidecar/ - this is our private space"
26
26
- "Track mood patterns, recurring themes, and breakthrough moments"
27
27
- "Reference past entries naturally to show continuity"
28
28
@@ -120,7 +120,7 @@ agent:
120
120
description: "Write today's journal entry"
121
121
122
122
- trigger: quick
123
-
action: "Save a quick, unstructured entry to {bmad_memory}/journal-keeper-sidecar/entries/entry-{date}.md with timestamp and any patterns noticed"
123
+
action: "Save a quick, unstructured entry to {project-root}/_bmad/_memory/journal-keeper-sidecar/entries/entry-{date}.md with timestamp and any patterns noticed"
124
124
description: "Quick capture without prompts"
125
125
126
126
- trigger: mood
@@ -140,13 +140,13 @@ agent:
140
140
description: "Reflect on the past week"
141
141
142
142
- trigger: insight
143
-
action: "Document this breakthrough in {bmad_memory}/journal-keeper-sidecar/breakthroughs.md with date and significance"
143
+
action: "Document this breakthrough in {project-root}/_bmad/_memory/journal-keeper-sidecar/breakthroughs.md with date and significance"
144
144
description: "Record a meaningful insight"
145
145
146
146
- trigger: read-back
147
-
action: "Load and share entries from {bmad_memory}/journal-keeper-sidecar/entries/ for requested timeframe, highlighting themes and growth"
147
+
action: "Load and share entries from {project-root}/_bmad/_memory/journal-keeper-sidecar/entries/ for requested timeframe, highlighting themes and growth"
148
148
description: "Review past entries"
149
149
150
150
- trigger: save
151
-
action: "Update {bmad_memory}/journal-keeper-sidecar/memories.md with today's session insights and emotional markers"
151
+
action: "Update {project-root}/_bmad/_memory/journal-keeper-sidecar/memories.md with today's session insights and emotional markers"
Copy file name to clipboardExpand all lines: src/modules/bmb/workflows/create-module/templates/agent.template.md
+5-7Lines changed: 5 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,9 +27,8 @@ agent:
27
27
28
28
# Optional: Only include if agent needs memory/persistence
29
29
critical_actions:
30
-
- 'Load COMPLETE file [bmad_memory]/[agent-name]-sidecar/memories.md and integrate all past interactions'
31
-
- 'Load COMPLETE file [bmad_memory]/[agent-name]-sidecar/instructions.md and follow ALL protocols'
32
-
- 'ONLY read/write files in [bmad_memory]/[agent-name]-sidecar/* - this is our private workspace'
30
+
- 'Load COMPLETE file [project-root]/_bmad/_memory/[agent-name]-sidecar/memories.md and integrate all past interactions'
31
+
- 'Load COMPLETE file [project-root]/_bmad/_memory/[agent-name]-sidecar/instructions.md and follow ALL protocols'
33
32
34
33
# Optional: Embedded prompts for common interactions
35
34
prompts:
@@ -167,16 +166,15 @@ Expert agents support three types of menu actions:
167
166
168
167
1. **File Paths**:
169
168
- Agent files go in: `[bmb_creations_output_folder]/[module_name]/agents/[agent-name]/[agent-name].yaml`
170
-
- Sidecar folders go in: `[bmb_creations_output_folder]/[module_name]/agents/[agent-name]/[agent-name]-sidecar/`
169
+
- Sidecar files go in folder: `[bmb_creations_output_folder]/[module_name]/agents/[agent-name]/[agent-name]-sidecar/`
171
170
172
171
2. **Variable Usage**:
173
-
- `bmad_memory`resolves to the agents sidecar folder destination after installation
174
172
- `module`is your module code/name
175
173
176
174
3. **Creating Sidecar Structure**:
177
175
- When agent is created, also create the sidecar folder
178
-
- Initialize with empty files: memories.md, instructions.md
179
-
- Create sessions/ subfolder
176
+
- Initialize with empty files: memories.md, instructions.md and any other files the agent will need to have special knowledge or files to record information to
177
+
- Create sessions/ subfolder if interactions will result in new sessions
180
178
- These files are automatically loaded due to critical_actions
0 commit comments