@markus-global/cli 0.9.0-rc.8 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commands/start.d.ts.map +1 -1
- package/dist/commands/start.js +60 -11
- package/dist/commands/start.js.map +1 -1
- package/dist/markus.mjs +3456 -1469
- package/dist/web-ui/assets/{CommentInput-BJmv0Rha.js → CommentInput-Ccv0KCzc.js} +1 -1
- package/dist/web-ui/assets/{ContentRenderer-DJQo68Rq.js → ContentRenderer-BbN7QT3E.js} +2 -2
- package/dist/web-ui/assets/Deliverables-Dzfujlqv.js +6 -0
- package/dist/web-ui/assets/{Notifications-BTkCe_FT.js → Notifications-DMI9cmK5.js} +1 -1
- package/dist/web-ui/assets/{Search-DJMnvmW4.js → Search-Va12fH-V.js} +1 -1
- package/dist/web-ui/assets/{Settings-Bo7g6_tg.js → Settings-D_0MEUGb.js} +2 -2
- package/dist/web-ui/assets/{Store-B_9bFi_v.js → Store-dRlOlppM.js} +1 -1
- package/dist/web-ui/assets/Team-D8m98W3b.js +40 -0
- package/dist/web-ui/assets/{Work-CBpfr_rN.js → Work-C6pfFbRU.js} +5 -5
- package/dist/web-ui/assets/{arc-FGZKJEo5.js → arc-w52qYN0j.js} +1 -1
- package/dist/web-ui/assets/{architectureDiagram-3BPJPVTR-DrHriKKt.js → architectureDiagram-3BPJPVTR-Dq5t04Vy.js} +3 -3
- package/dist/web-ui/assets/{blockDiagram-GPEHLZMM-B1KrBMG4.js → blockDiagram-GPEHLZMM-dMSQ7RYP.js} +1 -1
- package/dist/web-ui/assets/{c4Diagram-AAUBKEIU-CB3d18fE.js → c4Diagram-AAUBKEIU-yG4K-xPW.js} +1 -1
- package/dist/web-ui/assets/channel-0x_SxlyN.js +1 -0
- package/dist/web-ui/assets/{chunk-2J33WTMH-yhAAZF8B.js → chunk-2J33WTMH-BMCCyFP7.js} +1 -1
- package/dist/web-ui/assets/{chunk-4BX2VUAB-DhGfeR_u.js → chunk-4BX2VUAB-DrZE__0f.js} +1 -1
- package/dist/web-ui/assets/{chunk-55IACEB6-B4ZyaFdf.js → chunk-55IACEB6-BHAPJ9Eo.js} +1 -1
- package/dist/web-ui/assets/{chunk-727SXJPM-DiEJq1Wh.js → chunk-727SXJPM-Ctfjl9vK.js} +1 -1
- package/dist/web-ui/assets/{chunk-AQP2D5EJ-DJgXMRvd.js → chunk-AQP2D5EJ-SVZPGzSA.js} +1 -1
- package/dist/web-ui/assets/{chunk-FMBD7UC4-DLzapSRw.js → chunk-FMBD7UC4-DeTpOrnv.js} +1 -1
- package/dist/web-ui/assets/{chunk-ND2GUHAM-KaWi6H4E.js → chunk-ND2GUHAM-CudW1r3G.js} +1 -1
- package/dist/web-ui/assets/{chunk-QZHKN3VN-CedM3HE_.js → chunk-QZHKN3VN-CJSQIoVy.js} +1 -1
- package/dist/web-ui/assets/classDiagram-4FO5ZUOK-D4o-x8Tr.js +1 -0
- package/dist/web-ui/assets/classDiagram-v2-Q7XG4LA2-D4o-x8Tr.js +1 -0
- package/dist/web-ui/assets/{cose-bilkent-S5V4N54A-DGOMWPFW.js → cose-bilkent-S5V4N54A-CcCOSPt7.js} +1 -1
- package/dist/web-ui/assets/{dagre-BM42HDAG-CsB6PNx2.js → dagre-BM42HDAG-F3l9565T.js} +1 -1
- package/dist/web-ui/assets/{diagram-2AECGRRQ-dsKr5CnT.js → diagram-2AECGRRQ-B5Ep5hBX.js} +1 -1
- package/dist/web-ui/assets/{diagram-5GNKFQAL-CfKFUiA0.js → diagram-5GNKFQAL-Ba-Xi40Z.js} +1 -1
- package/dist/web-ui/assets/{diagram-KO2AKTUF-C-iYqWwv.js → diagram-KO2AKTUF-nq3nvV52.js} +1 -1
- package/dist/web-ui/assets/{diagram-LMA3HP47-VrnDGieS.js → diagram-LMA3HP47-BLQG5suI.js} +1 -1
- package/dist/web-ui/assets/{diagram-OG6HWLK6-2CPw94I0.js → diagram-OG6HWLK6-BZwEfL_A.js} +1 -1
- package/dist/web-ui/assets/{erDiagram-TEJ5UH35-B2CXjopz.js → erDiagram-TEJ5UH35-x0d6Urzc.js} +1 -1
- package/dist/web-ui/assets/{flowDiagram-I6XJVG4X-uYZBII8i.js → flowDiagram-I6XJVG4X-Bps4iInm.js} +1 -1
- package/dist/web-ui/assets/{ganttDiagram-6RSMTGT7-DX__je4a.js → ganttDiagram-6RSMTGT7-BQhqabZG.js} +1 -1
- package/dist/web-ui/assets/{gitGraphDiagram-PVQCEYII-ClWVZgy5.js → gitGraphDiagram-PVQCEYII-CZsFUtiG.js} +1 -1
- package/dist/web-ui/assets/index-BDWvYwl1.css +1 -0
- package/dist/web-ui/assets/{index-Dgg0L65t.js → index-BVZKeNvh.js} +76 -72
- package/dist/web-ui/assets/{infoDiagram-5YYISTIA-0bE4Z9ff.js → infoDiagram-5YYISTIA-bUkRpixn.js} +1 -1
- package/dist/web-ui/assets/{ishikawaDiagram-YF4QCWOH-nCIQcUlM.js → ishikawaDiagram-YF4QCWOH-C71uSHjN.js} +1 -1
- package/dist/web-ui/assets/{journeyDiagram-JHISSGLW-Bc1umCm3.js → journeyDiagram-JHISSGLW-CH4cq7H3.js} +1 -1
- package/dist/web-ui/assets/{kanban-definition-UN3LZRKU-BqkpB1pF.js → kanban-definition-UN3LZRKU-B1plHCmn.js} +1 -1
- package/dist/web-ui/assets/{mermaid.core-CSfwY1-0.js → mermaid.core-BtKFJxef.js} +5 -5
- package/dist/web-ui/assets/{mindmap-definition-RKZ34NQL-nQyDFxhc.js → mindmap-definition-RKZ34NQL-BRinAMnx.js} +1 -1
- package/dist/web-ui/assets/{pieDiagram-4H26LBE5-5HVdrqjx.js → pieDiagram-4H26LBE5-B8r7cm8D.js} +1 -1
- package/dist/web-ui/assets/{quadrantDiagram-W4KKPZXB-NuRh23Sl.js → quadrantDiagram-W4KKPZXB-BlYE_3Bv.js} +1 -1
- package/dist/web-ui/assets/{requirementDiagram-4Y6WPE33-BGztYPcI.js → requirementDiagram-4Y6WPE33-XHqns5Oh.js} +1 -1
- package/dist/web-ui/assets/{sankeyDiagram-5OEKKPKP-bjpwDt_z.js → sankeyDiagram-5OEKKPKP--WceN9u7.js} +1 -1
- package/dist/web-ui/assets/{sequenceDiagram-3UESZ5HK-DyTeuxtF.js → sequenceDiagram-3UESZ5HK-NXQDJA2d.js} +1 -1
- package/dist/web-ui/assets/{stateDiagram-AJRCARHV-BHPWZwpF.js → stateDiagram-AJRCARHV-Cs8Vl8wX.js} +1 -1
- package/dist/web-ui/assets/stateDiagram-v2-BHNVJYJU-Cmof_fUq.js +1 -0
- package/dist/web-ui/assets/{timeline-definition-PNZ67QCA-LPx8DOxK.js → timeline-definition-PNZ67QCA-V9TBhcGA.js} +1 -1
- package/dist/web-ui/assets/{vennDiagram-CIIHVFJN-Dy6cnqv-.js → vennDiagram-CIIHVFJN-BkrjAkwE.js} +1 -1
- package/dist/web-ui/assets/{wardley-L42UT6IY-BtpmXexA.js → wardley-L42UT6IY-DnYl7xFk.js} +1 -1
- package/dist/web-ui/assets/{wardleyDiagram-YWT4CUSO-BsyOd3d4.js → wardleyDiagram-YWT4CUSO-Bgjk8gUy.js} +1 -1
- package/dist/web-ui/assets/{xychartDiagram-2RQKCTM6-BcIF0Smp.js → xychartDiagram-2RQKCTM6-DVv-I1Er.js} +1 -1
- package/dist/web-ui/index.html +2 -2
- package/package.json +1 -1
- package/templates/roles/SHARED.md +5 -5
- package/templates/roles/ai-engineer/agent.json +15 -3
- package/templates/roles/content-writer/HEARTBEAT.md +1 -1
- package/templates/roles/data-engineer/HEARTBEAT.md +1 -1
- package/templates/roles/data-engineer/POLICIES.md +5 -5
- package/templates/roles/data-engineer/ROLE.md +2 -3
- package/templates/roles/data-engineer/agent.json +15 -3
- package/templates/roles/developer/HEARTBEAT.md +2 -2
- package/templates/roles/devops/HEARTBEAT.md +1 -1
- package/templates/roles/finance/ROLE.md +0 -1
- package/templates/roles/finance/agent.json +9 -2
- package/templates/roles/hr/ROLE.md +0 -1
- package/templates/roles/hr/agent.json +10 -2
- package/templates/roles/marketing/ROLE.md +0 -1
- package/templates/roles/marketing/agent.json +11 -2
- package/templates/roles/operations/ROLE.md +0 -1
- package/templates/roles/operations/agent.json +9 -2
- package/templates/roles/org-manager/HEARTBEAT.md +1 -1
- package/templates/roles/product-manager/HEARTBEAT.md +1 -1
- package/templates/roles/project-manager/HEARTBEAT.md +1 -1
- package/templates/roles/qa-engineer/HEARTBEAT.md +1 -1
- package/templates/roles/research-assistant/HEARTBEAT.md +1 -1
- package/templates/roles/reviewer/HEARTBEAT.md +1 -1
- package/templates/roles/secretary/HEARTBEAT.md +1 -1
- package/templates/roles/skill-architect/HEARTBEAT.md +1 -1
- package/templates/roles/sre/ROLE.md +0 -4
- package/templates/roles/support/ROLE.md +0 -1
- package/templates/roles/support/agent.json +9 -2
- package/templates/roles/tech-writer/HEARTBEAT.md +1 -1
- package/templates/skills/cursor-agent/SKILL.md +1 -1
- package/templates/skills/skill-building/SKILL.md +1 -1
- package/templates/teams/content-team/team.json +25 -7
- package/templates/teams/dev-squad/NORMS.md +1 -1
- package/templates/teams/dev-squad/team.json +25 -6
- package/templates/teams/engineering-pod/team.json +24 -6
- package/templates/teams/research-lab/team.json +14 -5
- package/templates/teams/startup-team/team.json +15 -4
- package/dist/web-ui/assets/ChatHelpers-DDWzuvqW.js +0 -5
- package/dist/web-ui/assets/Deliverables-DCXoaQpj.js +0 -6
- package/dist/web-ui/assets/Team-Bp5j4tGQ.js +0 -40
- package/dist/web-ui/assets/channel-Dn6ohvAA.js +0 -1
- package/dist/web-ui/assets/classDiagram-4FO5ZUOK-BNcvQTsC.js +0 -1
- package/dist/web-ui/assets/classDiagram-v2-Q7XG4LA2-BNcvQTsC.js +0 -1
- package/dist/web-ui/assets/index-Bsf1pYmq.css +0 -1
- package/dist/web-ui/assets/stateDiagram-v2-BHNVJYJU-56cdLVMt.js +0 -1
- package/templates/skills/self-evolution/SKILL.md +0 -267
- package/templates/skills/self-evolution/skill.json +0 -20
|
@@ -1,267 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: self-evolution
|
|
3
|
-
description: Learn from experience — capture insights, organize knowledge, share reusable practices as skills, and refine your role over time
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Self-Evolution
|
|
7
|
-
|
|
8
|
-
You learn from experience and evolve yourself over time. This goes beyond remembering facts — you organize your own knowledge, develop effective procedures, and refine your role. Continuous self-improvement is a core part of being an effective agent.
|
|
9
|
-
|
|
10
|
-
## Knowledge Stores
|
|
11
|
-
|
|
12
|
-
Your memory has two stores with distinct roles:
|
|
13
|
-
|
|
14
|
-
| Store | File | Purpose | Written by |
|
|
15
|
-
|---|---|---|---|
|
|
16
|
-
| **Observation buffer** | `memories.json` | Raw observations, individual insights, tool tips | `memory_save` |
|
|
17
|
-
| **Curated knowledge** | `MEMORY.md` | Validated procedures, consolidated insights, proven patterns | `memory_update_longterm` |
|
|
18
|
-
|
|
19
|
-
**Flow**: Observations enter the buffer → recurring patterns get promoted to MEMORY.md (by you or by dream cycles) → source entries are pruned.
|
|
20
|
-
|
|
21
|
-
MEMORY.md is always loaded into your context as `## Your Knowledge`. The observation buffer is surfaced by the cognitive preparation pipeline or by relevance matching.
|
|
22
|
-
|
|
23
|
-
## When to Reflect
|
|
24
|
-
|
|
25
|
-
Trigger reflection when any of these happen:
|
|
26
|
-
|
|
27
|
-
1. **User correction** — "no, do X instead", "that's wrong". Strongest signal.
|
|
28
|
-
2. **Task revision** — Your submission was rejected. The system prompts you automatically.
|
|
29
|
-
3. **Self-correction** — One approach failed, a different one worked.
|
|
30
|
-
4. **Resolved error** — Unexpected failure you diagnosed and fixed.
|
|
31
|
-
5. **Efficiency insight** — A faster/cleaner/more reliable way for a recurring task.
|
|
32
|
-
6. **Pattern recognition** — You keep doing something the same way and it could be standardized.
|
|
33
|
-
|
|
34
|
-
Skip trivial matters — typos, one-off path errors, situations that won't recur.
|
|
35
|
-
|
|
36
|
-
## Decision Matrix — Where Does This Insight Go?
|
|
37
|
-
|
|
38
|
-
| What you learned | Where to save | How |
|
|
39
|
-
|---|---|---|
|
|
40
|
-
| Single insight, gotcha, mistake | Observation buffer | `memory_save` with tags: `["insight", ...]` |
|
|
41
|
-
| Tool tip or preference | Observation buffer | `memory_save` with tags: `["insight", "tool:<name>"]` |
|
|
42
|
-
| Validated pattern from successful task | Observation buffer | `memory_save` with tags: `["insight", ...]` |
|
|
43
|
-
| Multi-step repeatable workflow (personal) | MEMORY.md | `memory_update_longterm({ section: "<your-section>", mode: "patch" })` |
|
|
44
|
-
| Practice worth sharing with the team | Skill package | Create via **skill-building**, install with `package_install` |
|
|
45
|
-
| Behavioral rule or guiding principle | ROLE.md | `file_read` → `file_edit` to append |
|
|
46
|
-
| New recurring check for your patrol | HEARTBEAT.md | `file_read` → `file_edit` to add/remove items |
|
|
47
|
-
|
|
48
|
-
## Capturing Insights (Observation Buffer)
|
|
49
|
-
|
|
50
|
-
### Extracting an Insight
|
|
51
|
-
|
|
52
|
-
When a reflection trigger fires:
|
|
53
|
-
|
|
54
|
-
1. **Situation** — What were you trying to do?
|
|
55
|
-
2. **What went wrong** — What assumption or action was incorrect?
|
|
56
|
-
3. **What worked** — What was the correct approach?
|
|
57
|
-
4. **Generalized rule** — A reusable principle beyond this specific instance.
|
|
58
|
-
|
|
59
|
-
### Saving an Insight
|
|
60
|
-
|
|
61
|
-
Use `memory_save` with:
|
|
62
|
-
|
|
63
|
-
- **type**: `"insight"`
|
|
64
|
-
- **content** format:
|
|
65
|
-
```
|
|
66
|
-
[INSIGHT] <one-line summary>
|
|
67
|
-
Situation: <brief context>
|
|
68
|
-
Mistake: <what went wrong>
|
|
69
|
-
Correction: <what works>
|
|
70
|
-
Rule: <generalized principle>
|
|
71
|
-
```
|
|
72
|
-
- **tags**: Always include `"insight"` first, then category tags: `coding`, `tool-usage`, `communication`, `architecture`, `process`, `domain:<topic>`
|
|
73
|
-
|
|
74
|
-
Dream cycles automatically promote recurring patterns (3+ similar insights) from the observation buffer to MEMORY.md and prune the source entries.
|
|
75
|
-
|
|
76
|
-
## Organizing Your Knowledge (MEMORY.md)
|
|
77
|
-
|
|
78
|
-
MEMORY.md is **your** knowledge base. You decide what sections to create and how to organize it. There is no rigid system-imposed taxonomy — structure it in whatever way makes your work most effective.
|
|
79
|
-
|
|
80
|
-
### Common Section Patterns
|
|
81
|
-
|
|
82
|
-
| Section name | Example content |
|
|
83
|
-
|---|---|
|
|
84
|
-
| `conventions` | Coding standards, naming rules, review criteria for your projects |
|
|
85
|
-
| `procedures` | Step-by-step workflows for recurring tasks |
|
|
86
|
-
| `preferences` | Tool choices, flags, parameter settings that work well |
|
|
87
|
-
| `domain-knowledge` | Technical facts specific to your area of expertise |
|
|
88
|
-
| `evolution-log` | Chronological record of ROLE.md changes |
|
|
89
|
-
|
|
90
|
-
You are not limited to these — create whatever sections make sense for your work.
|
|
91
|
-
|
|
92
|
-
### How to Add Knowledge
|
|
93
|
-
|
|
94
|
-
Use `memory_update_longterm` with `mode: "patch"` to append without overwriting:
|
|
95
|
-
|
|
96
|
-
```
|
|
97
|
-
memory_update_longterm({
|
|
98
|
-
section: "procedures",
|
|
99
|
-
mode: "patch",
|
|
100
|
-
content: "### <Name>\nTrigger: <when to use>\nSteps:\n1. ...\n2. ...\nNotes: <gotchas>\nLast updated: <date>"
|
|
101
|
-
})
|
|
102
|
-
```
|
|
103
|
-
|
|
104
|
-
### How to Update Existing Knowledge
|
|
105
|
-
|
|
106
|
-
Use `mode: "replace"` with the full updated section content (read existing first, modify, then write back):
|
|
107
|
-
|
|
108
|
-
```
|
|
109
|
-
memory_update_longterm({
|
|
110
|
-
section: "procedures",
|
|
111
|
-
mode: "replace",
|
|
112
|
-
content: "<full updated section content>"
|
|
113
|
-
})
|
|
114
|
-
```
|
|
115
|
-
|
|
116
|
-
### Using Your Knowledge (Before Starting Work)
|
|
117
|
-
|
|
118
|
-
Before starting a task, check your existing knowledge:
|
|
119
|
-
|
|
120
|
-
1. **MEMORY.md** — Your curated knowledge appears in the system context above as `## Your Knowledge`. Read and follow any procedures whose trigger matches.
|
|
121
|
-
2. **Skills** — Use `discover_tools({ mode: "list_skills" })` to see available team skills. Activate relevant ones with `discover_tools({ name: ["skill-name"] })`.
|
|
122
|
-
3. **Past experience** — Use `recall_activity` to query your execution history for relevant context.
|
|
123
|
-
|
|
124
|
-
Do not reinvent approaches you have already codified. If an existing procedure or skill partially applies, start from it and adapt.
|
|
125
|
-
|
|
126
|
-
### Limits
|
|
127
|
-
|
|
128
|
-
- Per-section: 3000 chars max
|
|
129
|
-
- Total MEMORY.md: 15000 chars max
|
|
130
|
-
- Merge or retire outdated entries when sections grow large
|
|
131
|
-
|
|
132
|
-
## Shareable Skills (Team Practices)
|
|
133
|
-
|
|
134
|
-
When a practice would benefit **other agents on the team** (not just you), package it as an installable skill instead of a personal MEMORY.md entry.
|
|
135
|
-
|
|
136
|
-
### Personal Knowledge vs Skill — when to choose which
|
|
137
|
-
|
|
138
|
-
| Criterion | MEMORY.md entry | Skill |
|
|
139
|
-
|---|---|---|
|
|
140
|
-
| Who benefits | Only you | Multiple agents |
|
|
141
|
-
| Storage | MEMORY.md (your context) | Installable skill package |
|
|
142
|
-
| Visibility | Only in your prompt | Available to all agents after install |
|
|
143
|
-
| Examples | "How I deploy service X" | "Code review checklist", "Git workflow for this repo" |
|
|
144
|
-
|
|
145
|
-
### Before Creating — Check First
|
|
146
|
-
|
|
147
|
-
Before creating a new skill, check if one already exists:
|
|
148
|
-
1. Run `discover_tools({ mode: "list_skills" })` to see all installed skills
|
|
149
|
-
2. Run `package_list` to see packages in builder-artifacts
|
|
150
|
-
3. If a similar skill exists, **update it** instead of creating a new one
|
|
151
|
-
|
|
152
|
-
### How to Create and Install
|
|
153
|
-
|
|
154
|
-
1. Use the **skill-building** skill to create the package:
|
|
155
|
-
- Write `skill.json` manifest + `SKILL.md` instructions to `~/.markus/builder-artifacts/skills/{name}/`
|
|
156
|
-
2. Install with `package_install({ type: "skill", name: "{name}" })`
|
|
157
|
-
3. Log the creation via `memory_save` with tags `["insight", "skill-created"]`
|
|
158
|
-
|
|
159
|
-
### How to Update an Existing Skill
|
|
160
|
-
|
|
161
|
-
1. Edit the files in `~/.markus/builder-artifacts/skills/{name}/` (use `file_read` then `file_edit`)
|
|
162
|
-
2. Bump the version in `skill.json` (e.g., `"1.0.0"` → `"1.1.0"`)
|
|
163
|
-
3. Re-install with `package_install({ type: "skill", name: "{name}" })` — this overwrites the old version and re-registers
|
|
164
|
-
4. Log the update via `memory_save` with tags `["insight", "skill-updated"]`
|
|
165
|
-
|
|
166
|
-
Only create a skill when you are confident the practice is validated (proven across 2+ tasks) and genuinely useful for others.
|
|
167
|
-
|
|
168
|
-
## Role Evolution (ROLE.md)
|
|
169
|
-
|
|
170
|
-
ROLE.md is your identity — it is loaded into every conversation and shapes all your behavior. Updating it is one of the **simplest and most impactful** forms of self-evolution.
|
|
171
|
-
|
|
172
|
-
### When to Update
|
|
173
|
-
|
|
174
|
-
Modify ROLE.md when you discover a behavioral rule, working style, or guiding principle that should **always** apply to your work. Examples:
|
|
175
|
-
|
|
176
|
-
- "Always run tests before submitting code for review"
|
|
177
|
-
- "When debugging, check logs first before reading source code"
|
|
178
|
-
- "Prefer small, focused PRs over large ones"
|
|
179
|
-
|
|
180
|
-
You do NOT need to accumulate multiple insights first — even a single validated lesson can warrant a role update if it is fundamental and non-obvious.
|
|
181
|
-
|
|
182
|
-
### Guard Rails
|
|
183
|
-
|
|
184
|
-
- **Refine, don't contradict** — New guidelines should extend your core role, not conflict with it
|
|
185
|
-
- **Proven, not speculative** — The principle should be validated by actual task outcomes
|
|
186
|
-
- **Not one-off** — It should apply to future tasks, not just the current situation
|
|
187
|
-
|
|
188
|
-
### How to Modify
|
|
189
|
-
|
|
190
|
-
1. Read current ROLE.md via `file_read`
|
|
191
|
-
2. Append the new guideline (never rewrite the whole file)
|
|
192
|
-
3. Use `file_edit` for surgical changes
|
|
193
|
-
4. Log: `memory_save` with tags `["insight", "role-evolution"]`
|
|
194
|
-
|
|
195
|
-
## Heartbeat Customization (HEARTBEAT.md)
|
|
196
|
-
|
|
197
|
-
HEARTBEAT.md is your personal patrol checklist — it controls what you check during each heartbeat cycle. Customizing it is a direct way to evolve your operational behavior.
|
|
198
|
-
|
|
199
|
-
### When to Update
|
|
200
|
-
|
|
201
|
-
- You realize you should be regularly checking for something you currently aren't (e.g., monitoring a specific service, reviewing a certain type of task)
|
|
202
|
-
- A checklist item is obsolete or no longer relevant to your responsibilities
|
|
203
|
-
- You want to change the order or priority of your patrol routine
|
|
204
|
-
|
|
205
|
-
### How to Modify
|
|
206
|
-
|
|
207
|
-
1. Read current HEARTBEAT.md via `file_read`
|
|
208
|
-
2. Add, remove, or reorder checklist items via `file_edit`
|
|
209
|
-
3. Changes take effect at the next heartbeat cycle (the system auto-reloads)
|
|
210
|
-
4. Log: `memory_save` with tags `["insight", "heartbeat-evolution"]`
|
|
211
|
-
|
|
212
|
-
### Examples of Good Heartbeat Additions
|
|
213
|
-
|
|
214
|
-
- "Check if any PR I opened has new review comments"
|
|
215
|
-
- "Verify that the staging deployment matches the latest main branch"
|
|
216
|
-
- "Review `task_list` for tasks blocked more than 24 hours — escalate if needed"
|
|
217
|
-
|
|
218
|
-
## Quality Signal
|
|
219
|
-
|
|
220
|
-
During heartbeat, check your revision rate:
|
|
221
|
-
- Tasks with `executionRound > 1` required revision
|
|
222
|
-
- High revision rate (>30%) means your knowledge isn't being applied effectively
|
|
223
|
-
- Check if saved insights cover the failure patterns you see
|
|
224
|
-
- Consider: would a ROLE.md rule or a HEARTBEAT.md check have prevented any recent failures?
|
|
225
|
-
- Escalate recurring mistakes: insight → MEMORY.md procedure → ROLE.md rule or HEARTBEAT.md check
|
|
226
|
-
|
|
227
|
-
## Team-Wide Pattern Recognition
|
|
228
|
-
|
|
229
|
-
When you notice patterns that affect the whole team — not just yourself:
|
|
230
|
-
|
|
231
|
-
| Signal | Action |
|
|
232
|
-
|--------|--------|
|
|
233
|
-
| Same bug type recurring across multiple agents | Create a skill with prevention guidelines |
|
|
234
|
-
| Common tool usage mistakes | Add to team NORMS.md or propose a skill |
|
|
235
|
-
| Repeated review feedback across the team | Propose a coding standard update |
|
|
236
|
-
| Process bottleneck affecting multiple tasks | Flag to manager with data |
|
|
237
|
-
|
|
238
|
-
Use `deliverable_create` to share patterns as team knowledge. Individual insights go to `memory_save`; team patterns deserve broader visibility.
|
|
239
|
-
|
|
240
|
-
## The Ratchet Principle
|
|
241
|
-
|
|
242
|
-
Apply the keep-or-discard discipline to your own evolution:
|
|
243
|
-
- When you try a new approach and it works better, commit it to knowledge (`memory_save`, MEMORY.md, or ROLE.md).
|
|
244
|
-
- When an approach fails, record WHY it failed and move on — don't keep trying the same thing.
|
|
245
|
-
- Your ROLE.md, HEARTBEAT.md, and MEMORY.md are your "program.md" — they are the instructions that determine your effectiveness. Improving them IS your self-evolution.
|
|
246
|
-
|
|
247
|
-
### Delete the Harness
|
|
248
|
-
|
|
249
|
-
Your accumulated knowledge exists to compensate for your limitations. As you improve — through practice, better tools, or model upgrades — some of that knowledge becomes overhead:
|
|
250
|
-
|
|
251
|
-
- Periodically re-read your MEMORY.md and HEARTBEAT.md. If a procedure or check is now something you do naturally (or the platform handles automatically), remove it.
|
|
252
|
-
- A growing MEMORY.md is not always a sign of progress. Prune entries that are no longer needed — the harness that grows monotonically is a harness you have stopped reading.
|
|
253
|
-
- After platform updates or model improvements, audit your procedures: delete anything the system now does for free.
|
|
254
|
-
- The goal is a lean, high-signal knowledge base — not an exhaustive archive.
|
|
255
|
-
|
|
256
|
-
---
|
|
257
|
-
|
|
258
|
-
## Rules
|
|
259
|
-
|
|
260
|
-
- **DO** save insights immediately while context is fresh
|
|
261
|
-
- **DO** include specific, actionable advice ("Always validate input schema before processing" > "Be more careful")
|
|
262
|
-
- **DO** use tags consistently for discoverability
|
|
263
|
-
- **DO** use `mode: "patch"` when adding to MEMORY.md sections
|
|
264
|
-
- **DO NOT** save trivial or non-generalizable observations
|
|
265
|
-
- **DO NOT** let MEMORY.md sections grow unbounded — merge or prune regularly
|
|
266
|
-
- **DO NOT** modify ROLE.md for one-off situations
|
|
267
|
-
- **DO NOT** skip reflection when the system prompts you after a task revision
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"type": "skill",
|
|
3
|
-
"name": "self-evolution",
|
|
4
|
-
"displayName": "Self-Evolution",
|
|
5
|
-
"version": "1.0.0",
|
|
6
|
-
"description": "Learn from experience — capture lessons, evolve SOPs, share best practices as skills, and refine your role over time",
|
|
7
|
-
"author": "markus",
|
|
8
|
-
"category": "productivity",
|
|
9
|
-
"tags": ["learning", "reflection", "memory", "self-improvement", "evolution"],
|
|
10
|
-
"i18n": {
|
|
11
|
-
"zh-CN": {
|
|
12
|
-
"displayName": "自我进化",
|
|
13
|
-
"description": "从经验中学习 — 捕获教训、演进 SOP、分享最佳实践技能,并逐步优化自身角色"
|
|
14
|
-
}
|
|
15
|
-
},
|
|
16
|
-
"skill": {
|
|
17
|
-
"skillFile": "SKILL.md",
|
|
18
|
-
"alwaysOn": true
|
|
19
|
-
}
|
|
20
|
-
}
|