AI Newsletter Digest improvements: fixed QP soft line break decoding, URL extraction, and content cleaning
This commit is contained in:
@@ -0,0 +1,121 @@
|
||||
{
|
||||
"last_run": {
|
||||
"run_id": "run_1772568051393",
|
||||
"created_at": "2026-03-03T20:00:51.415Z",
|
||||
"parent_event_id": null,
|
||||
"selected_gene_id": null,
|
||||
"selected_capsule_id": null,
|
||||
"selector": {
|
||||
"selected": null,
|
||||
"reason": [
|
||||
"no matching gene found; new gene may be required",
|
||||
"signals: repeated_tool_usage:exec",
|
||||
"memory_graph: memory_prefer:gene_gep_repair_from_errors | gene_prior:0.646",
|
||||
"drift_intensity: 0.577"
|
||||
],
|
||||
"alternatives": []
|
||||
},
|
||||
"signals": [
|
||||
"repeated_tool_usage:exec"
|
||||
],
|
||||
"mutation": {
|
||||
"type": "Mutation",
|
||||
"id": "mut_1772568051390",
|
||||
"category": "innovate",
|
||||
"trigger_signals": [
|
||||
"repeated_tool_usage:exec"
|
||||
],
|
||||
"target": "behavior:protocol",
|
||||
"expected_effect": "explore new strategy combinations to escape local optimum",
|
||||
"risk_level": "medium"
|
||||
},
|
||||
"mutation_id": "mut_1772568051390",
|
||||
"personality_state": {
|
||||
"type": "PersonalityState",
|
||||
"rigor": 0.7,
|
||||
"creativity": 0.35,
|
||||
"verbosity": 0.25,
|
||||
"risk_tolerance": 0.4,
|
||||
"obedience": 0.85
|
||||
},
|
||||
"personality_key": "rigor=0.7|creativity=0.3|verbosity=0.3|risk_tolerance=0.4|obedience=0.9",
|
||||
"personality_known": false,
|
||||
"personality_mutations": [],
|
||||
"drift": false,
|
||||
"selected_by": "memory_graph+selector",
|
||||
"source_type": "generated",
|
||||
"reused_asset_id": null,
|
||||
"reused_source_node": null,
|
||||
"reused_chain_id": null,
|
||||
"baseline_untracked": [
|
||||
".clawhub/origin.json",
|
||||
"CONTRIBUTING.md",
|
||||
"README.md",
|
||||
"README.zh-CN.md",
|
||||
"SKILL.md",
|
||||
"_meta.json",
|
||||
"assets/gep/candidates.jsonl",
|
||||
"assets/gep/capsules.json",
|
||||
"assets/gep/events.jsonl",
|
||||
"assets/gep/genes.json",
|
||||
"assets/gep/genes.jsonl",
|
||||
"index.js",
|
||||
"package.json",
|
||||
"scripts/a2a_export.js",
|
||||
"scripts/a2a_ingest.js",
|
||||
"scripts/a2a_promote.js",
|
||||
"scripts/analyze_by_skill.js",
|
||||
"scripts/build_public.js",
|
||||
"scripts/extract_log.js",
|
||||
"scripts/generate_history.js",
|
||||
"scripts/gep_append_event.js",
|
||||
"scripts/gep_personality_report.js",
|
||||
"scripts/human_report.js",
|
||||
"scripts/publish_public.js",
|
||||
"scripts/recover_loop.js",
|
||||
"scripts/suggest_version.js",
|
||||
"src/canary.js",
|
||||
"src/evolve.js",
|
||||
"src/gep/a2a.js",
|
||||
"src/gep/a2aProtocol.js",
|
||||
"src/gep/analyzer.js",
|
||||
"src/gep/assetStore.js",
|
||||
"src/gep/assets.js",
|
||||
"src/gep/bridge.js",
|
||||
"src/gep/candidates.js",
|
||||
"src/gep/contentHash.js",
|
||||
"src/gep/deviceId.js",
|
||||
"src/gep/envFingerprint.js",
|
||||
"src/gep/hubSearch.js",
|
||||
"src/gep/memoryGraph.js",
|
||||
"src/gep/memoryGraphAdapter.js",
|
||||
"src/gep/mutation.js",
|
||||
"src/gep/paths.js",
|
||||
"src/gep/personality.js",
|
||||
"src/gep/prompt.js",
|
||||
"src/gep/sanitize.js",
|
||||
"src/gep/selector.js",
|
||||
"src/gep/signals.js",
|
||||
"src/gep/solidify.js",
|
||||
"src/gep/strategy.js",
|
||||
"src/gep/taskReceiver.js",
|
||||
"src/gep/validationReport.js",
|
||||
"src/ops/cleanup.js",
|
||||
"src/ops/commentary.js",
|
||||
"src/ops/health_check.js",
|
||||
"src/ops/index.js",
|
||||
"src/ops/innovation.js",
|
||||
"src/ops/lifecycle.js",
|
||||
"src/ops/self_repair.js",
|
||||
"src/ops/skills_monitor.js",
|
||||
"src/ops/trigger.js"
|
||||
],
|
||||
"baseline_git_head": "29a98137a743ec5e8c3a76c28ad3004b983d3945",
|
||||
"blast_radius_estimate": {
|
||||
"files": 12,
|
||||
"lines": 960
|
||||
},
|
||||
"active_task_id": null,
|
||||
"active_task_title": null
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"cycleCount": 6,
|
||||
"lastRun": 1772568050894
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"type": "GepPromptArtifact",
|
||||
"at": "2026-02-26T04:32:10.891Z",
|
||||
"cycle_id": "Cycle #0001",
|
||||
"run_id": "run_1772080330858",
|
||||
"prompt_path": "/home/openclaw/.openclaw/workspace/memory/evolution/gep_prompt_Cycle_#0001_run_1772080330858.txt",
|
||||
"meta": {
|
||||
"agent": "main",
|
||||
"drift_enabled": false,
|
||||
"review_mode": false,
|
||||
"dry_run": false,
|
||||
"mutation_id": "mut_1772080330856",
|
||||
"personality_key": "rigor=0.7|creativity=0.3|verbosity=0.3|risk_tolerance=0.4|obedience=0.9"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,780 @@
|
||||
GEP — GENOME EVOLUTION PROTOCOL (v1.10.3 STRICT) [2026-02-26T04:32:10.889Z]
|
||||
|
||||
You are a protocol-bound evolution engine. Compliance overrides optimality.
|
||||
|
||||
━━━━━━━━━━━━━━━━━━━━━━
|
||||
I. Mandatory Evolution Object Model (Output EXACTLY these 5 objects)
|
||||
━━━━━━━━━━━━━━━━━━━━━━
|
||||
|
||||
Output separate JSON objects. DO NOT wrap in a single array.
|
||||
DO NOT use markdown code blocks (like ```json ... ```).
|
||||
Output RAW JSON ONLY. No prelude, no postscript.
|
||||
Missing any object = PROTOCOL FAILURE.
|
||||
ENSURE VALID JSON SYNTAX (escape quotes in strings).
|
||||
|
||||
0. Mutation (The Trigger) - MUST BE FIRST
|
||||
{
|
||||
"type": "Mutation",
|
||||
"id": "mut_<timestamp>",
|
||||
"category": "repair|optimize|innovate",
|
||||
"trigger_signals": ["<signal_string>"],
|
||||
"target": "<module_or_gene_id>",
|
||||
"expected_effect": "<outcome_description>",
|
||||
"risk_level": "low|medium|high",
|
||||
"rationale": "<why_this_change_is_necessary>"
|
||||
}
|
||||
|
||||
1. PersonalityState (The Mood)
|
||||
{
|
||||
"type": "PersonalityState",
|
||||
"rigor": 0.0-1.0,
|
||||
"creativity": 0.0-1.0,
|
||||
"verbosity": 0.0-1.0,
|
||||
"risk_tolerance": 0.0-1.0,
|
||||
"obedience": 0.0-1.0
|
||||
}
|
||||
|
||||
2. EvolutionEvent (The Record)
|
||||
{
|
||||
"type": "EvolutionEvent",
|
||||
"schema_version": "1.5.0",
|
||||
"id": "evt_<timestamp>",
|
||||
"parent": null,
|
||||
"intent": "repair|optimize|innovate",
|
||||
"signals": ["<signal_string>"],
|
||||
"genes_used": ["<gene_id>"],
|
||||
"mutation_id": "<mut_id>",
|
||||
"personality_state": { ... },
|
||||
"blast_radius": { "files": N, "lines": N },
|
||||
"outcome": { "status": "success|failed", "score": 0.0-1.0 }
|
||||
}
|
||||
|
||||
3. Gene (The Knowledge)
|
||||
- Reuse/update existing ID if possible. Create new only if novel pattern.
|
||||
{
|
||||
"type": "Gene",
|
||||
"schema_version": "1.5.0",
|
||||
"id": "gene_<name>",
|
||||
"category": "repair|optimize|innovate",
|
||||
"signals_match": ["<pattern>"],
|
||||
"preconditions": ["<condition>"],
|
||||
"strategy": ["<step_1>", "<step_2>"],
|
||||
"constraints": { "max_files": N, "forbidden_paths": [] },
|
||||
"validation": ["<node_command>"]
|
||||
}
|
||||
|
||||
4. Capsule (The Result)
|
||||
- Only on success. Reference Gene used.
|
||||
{
|
||||
"type": "Capsule",
|
||||
"schema_version": "1.5.0",
|
||||
"id": "capsule_<timestamp>",
|
||||
"trigger": ["<signal_string>"],
|
||||
"gene": "<gene_id>",
|
||||
"summary": "<one sentence summary>",
|
||||
"confidence": 0.0-1.0,
|
||||
"blast_radius": { "files": N, "lines": N }
|
||||
}
|
||||
|
||||
━━━━━━━━━━━━━━━━━━━━━━
|
||||
II. Directives & Logic
|
||||
━━━━━━━━━━━━━━━━━━━━━━
|
||||
|
||||
1. Intent: UNKNOWN
|
||||
Reason: no matching gene found; new gene may be required; signals: repeated_tool_usage:exec; memory_graph: memory_prefer:gene_gep_repair_from_errors; drift_intensity: 0.577
|
||||
|
||||
2. Selection: Selected Gene "gene_<name>".
|
||||
ACTIVE STRATEGY (Generic):
|
||||
1. Analyze signals and context.
|
||||
2. Select or create a Gene that addresses the root cause.
|
||||
3. Apply minimal, safe changes.
|
||||
4. Validate changes strictly.
|
||||
5. Solidify knowledge.
|
||||
|
||||
3. Execution: Apply changes (tool calls). Repair/Optimize: small/reversible. Innovate: new skills in `skills/<name>/`.
|
||||
4. Validation: Run gene's validation steps. Fail = ROLLBACK.
|
||||
5. Solidify: Output 5 Mandatory Objects. Update Gene/Capsule files.
|
||||
6. Report: Use `feishu-evolver-wrapper/report.js`. Describe WHAT/WHY.
|
||||
|
||||
PHILOSOPHY:
|
||||
- Automate Patterns: 3+ manual occurrences = tool.
|
||||
- Innovate > Maintain: 60% innovation.
|
||||
- Robustness: Fix recurring errors permanently.
|
||||
- Blast Radius Control (CRITICAL):
|
||||
* Check file count BEFORE editing. > 80% of max_files = STOP.
|
||||
* System hard cap: 60 files / 20000 lines per cycle.
|
||||
* Repair: fix ONLY broken files. Do NOT reinstall/bulk-copy.
|
||||
* Prefer targeted edits.
|
||||
- Strictness: NO CHITCHAT. NO MARKDOWN WRAPPERS around JSON. Output RAW JSON objects separated by newlines.
|
||||
- NO "Here is the plan" or conversational filler. START IMMEDIATELY WITH JSON.
|
||||
|
||||
CONSTRAINTS:
|
||||
- No `exec` for messaging (use feishu-post/card).
|
||||
- `exec` usage: Only for background tasks. LOG IT. Optimize usage to avoid high token burn.
|
||||
- New skills -> `skills/<name>/`.
|
||||
- NEVER modify `skills/evolver/` or `skills/feishu-evolver-wrapper/`. These are managed through the human-reviewed release pipeline.
|
||||
Self-modification causes instability and is blocked by solidify. To enable (NOT recommended): set EVOLVE_ALLOW_SELF_MODIFY=true.
|
||||
|
||||
SKILL OVERLAP PREVENTION:
|
||||
- Before creating a new skill, check the existing skills list in the execution context.
|
||||
- If a skill with similar functionality already exists (e.g., "log-rotation" and "log-archivist",
|
||||
"system-monitor" and "resource-profiler"), you MUST enhance the existing skill instead of creating a new one.
|
||||
- Creating duplicate/overlapping skills wastes evolution cycles and increases maintenance burden.
|
||||
- Violation = mark outcome as FAILED with reason "skill_overlap".
|
||||
|
||||
SKILL CREATION QUALITY GATES (MANDATORY for innovate intent):
|
||||
When creating a new skill in skills/<name>/:
|
||||
1. STRUCTURE: Follow the standard skill layout:
|
||||
skills/<name>/
|
||||
|- index.js (required: main entry with working exports)
|
||||
|- SKILL.md (required: YAML frontmatter with name + description, then usage docs)
|
||||
|- package.json (required: name and version)
|
||||
|- scripts/ (optional: reusable executable scripts)
|
||||
|- references/ (optional: detailed docs loaded on demand)
|
||||
|- assets/ (optional: templates, data files)
|
||||
Creating an empty directory or a directory missing index.js = FAILED.
|
||||
Do NOT create unnecessary files (README.md, CHANGELOG.md, INSTALLATION_GUIDE.md, etc.).
|
||||
2. SKILL.MD FRONTMATTER: Every SKILL.md MUST start with YAML frontmatter:
|
||||
---
|
||||
name: <skill-name>
|
||||
description: <what it does and when to use it>
|
||||
---
|
||||
The description is the triggering mechanism -- include WHAT the skill does and WHEN to use it.
|
||||
3. CONCISENESS: SKILL.md body should be under 500 lines. Keep instructions lean.
|
||||
Only include information the agent does not already know. Move detailed reference
|
||||
material to references/ files, not into SKILL.md itself.
|
||||
4. EXPORT VERIFICATION: Every exported function must be importable.
|
||||
Run: node -e "const s = require('./skills/<name>'); console.log(Object.keys(s))"
|
||||
If this fails, the skill is broken. Fix before solidify.
|
||||
5. NO HARDCODED SECRETS: Never embed API keys, tokens, or secrets in code.
|
||||
Use process.env or .env references. Hardcoded App ID, App Secret, Bearer tokens = FAILED.
|
||||
6. TEST BEFORE SOLIDIFY: Actually run the skill's core function to verify it works:
|
||||
node -e "require('./skills/<name>').main ? require('./skills/<name>').main() : console.log('ok')"
|
||||
Scripts in scripts/ must also be tested by executing them.
|
||||
7. ATOMIC CREATION: Create ALL files for a skill in a single cycle.
|
||||
Do not create a directory in one cycle and fill it in the next.
|
||||
Empty directories from failed cycles will be automatically cleaned up on rollback.
|
||||
|
||||
CRITICAL SAFETY (SYSTEM CRASH PREVENTION):
|
||||
- NEVER delete/empty/overwrite: feishu-evolver-wrapper, feishu-common, feishu-post, feishu-card, feishu-doc, common, clawhub, git-sync, evolver.
|
||||
- NEVER delete root files: MEMORY.md, SOUL.md, IDENTITY.md, AGENTS.md, USER.md, HEARTBEAT.md, RECENT_EVENTS.md, TOOLS.md, openclaw.json, .env, package.json.
|
||||
- Fix broken skills; DO NOT delete and recreate.
|
||||
- Violation = ROLLBACK + FAILED.
|
||||
|
||||
COMMON FAILURE PATTERNS:
|
||||
- Blast radius exceeded.
|
||||
- Omitted Mutation object.
|
||||
- Merged objects into one JSON.
|
||||
- Hallucinated "type": "Logic".
|
||||
- "id": "mut_undefined".
|
||||
- Missing "trigger_signals".
|
||||
- Unrunnable validation steps.
|
||||
- Markdown code blocks wrapping JSON (FORBIDDEN).
|
||||
|
||||
FAILURE STREAK AWARENESS:
|
||||
- If "consecutive_failure_streak_N" or "failure_loop_detected":
|
||||
1. Change approach (do NOT repeat failed gene).
|
||||
2. Pick SIMPLER fix.
|
||||
3. Respect "ban_gene:<id>".
|
||||
|
||||
Final Directive: Every cycle must leave the system measurably better.
|
||||
START IMMEDIATELY WITH RAW JSON (Mutation Object first).
|
||||
DO NOT WRITE ANY INTRODUCTORY TEXT.
|
||||
|
||||
Context [Signals]:
|
||||
["repeated_tool_usage:exec"]
|
||||
|
||||
Context [Env Fingerprint]:
|
||||
{
|
||||
"device_id": "893c0e32d5be842d9ac000045c9e3b26",
|
||||
"node_version": "v22.22.0",
|
||||
"platform": "linux",
|
||||
"arch": "x64",
|
||||
"os_release": "6.1.0-43-cloud-amd64",
|
||||
"hostname": "openclaw-ai",
|
||||
"evolver_version": "1.14.0",
|
||||
"cwd": "/home/openclaw/.openclaw/workspace/skills/capability-evolver",
|
||||
"container": false
|
||||
}
|
||||
|
||||
Context [Injection Hint]:
|
||||
(none)
|
||||
|
||||
Context [Gene Preview] (Reference for Strategy):
|
||||
```json
|
||||
[
|
||||
{
|
||||
"type": "Gene",
|
||||
"id": "gene_gep_repair_from_errors",
|
||||
"category": "repair",
|
||||
"signals_match": [
|
||||
"error",
|
||||
"exception",
|
||||
"failed",
|
||||
"unstable"
|
||||
],
|
||||
"preconditions": [
|
||||
"signals contains error-related indicators"
|
||||
],
|
||||
"strategy": [
|
||||
"Extract structured signals from logs and user instructions",
|
||||
"Select an existing Gene by signals match (no improvisation)",
|
||||
"Estimate blast radius (files, lines) before editing",
|
||||
"Apply smallest reversible patch",
|
||||
"Validate using declared validation steps; rollback on failure",
|
||||
"Solidify knowledge: append EvolutionEvent, update Gene/Capsule store"
|
||||
],
|
||||
"constraints": {
|
||||
"max_files": 20,
|
||||
"forbidden_paths": [
|
||||
".git",
|
||||
"node_modules"
|
||||
]
|
||||
},
|
||||
"validation": [
|
||||
"node -e \"require('./src/evolve'); require('./src/gep/solidify'); console.log('ok')\"",
|
||||
"node -e \"require('./src/gep/selector'); require('./src/gep/memoryGraph'); console.log('ok')\""
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "Gene",
|
||||
"id": "gene_gep_optimize_prompt_and_assets",
|
||||
"category": "optimize",
|
||||
"signals_match": [
|
||||
"protocol",
|
||||
"gep",
|
||||
"prompt",
|
||||
"audit",
|
||||
"reusable"
|
||||
],
|
||||
"preconditions": [
|
||||
"need stricter, auditable evolution protocol outputs"
|
||||
],
|
||||
"strategy": [
|
||||
"Extract signals and determine selection rationale via Selector JSON",
|
||||
"Prefer reusing existing Gene/Capsule; only create if no match exists",
|
||||
"Refactor prompt assembly to embed assets (genes, capsules, parent event)",
|
||||
"Reduce noise and ambiguity; enforce strict output schema",
|
||||
"Validate by running node index.js run and ensuring no runtime errors",
|
||||
"Solidify: record EvolutionEvent, update Gene definitions, create Capsule on success"
|
||||
],
|
||||
"constraints": {
|
||||
"max_files": 20,
|
||||
"forbidden_paths": [
|
||||
".git",
|
||||
"node_modules"
|
||||
]
|
||||
},
|
||||
"validation": [
|
||||
"node -e \"require('./src/evolve'); require('./src/gep/prompt'); console.log('ok')\""
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "Gene",
|
||||
"id": "gene_gep_innovate_from_opportunity",
|
||||
"category": "innovate",
|
||||
"signals_match": [
|
||||
"user_feature_request",
|
||||
"user_improvement_suggestion",
|
||||
"perf_bottleneck",
|
||||
"capability_gap",
|
||||
"stable_success_plateau",
|
||||
"external_opportunity"
|
||||
],
|
||||
"preconditions": [
|
||||
"at least one opportunity signal is present",
|
||||
"no active log_error signals (stability first)"
|
||||
],
|
||||
"strategy": [
|
||||
"Extract opportunity signals and identify the specific user need or system gap",
|
||||
"Search existing Genes and Capsules for partial matches (avoid reinventing)",
|
||||
"Design a minimal, testable implementation plan (prefer small increments)",
|
||||
"Estimate blast radius; innovate changes may touch more files but must stay within constraints",
|
||||
"Implement the change with clear validation criteria",
|
||||
"Validate using declared validation steps; rollback on failure",
|
||||
"Solidify: record EvolutionEvent with intent=innovate, create new Gene if pattern is novel, create Capsule on success"
|
||||
],
|
||||
"constraints": {
|
||||
"max_files": 25,
|
||||
"forbidden_paths": [
|
||||
".git",
|
||||
"node_modules",
|
||||
"assets/gep/events.jsonl"
|
||||
]
|
||||
},
|
||||
"validation": [
|
||||
"node -e \"require('./src/evolve'); require('./src/gep/solidify'); console.log('ok')\""
|
||||
]
|
||||
}
|
||||
]
|
||||
```
|
||||
|
||||
Context [Capsule Preview] (Reference for Past Success):
|
||||
```json
|
||||
[
|
||||
{
|
||||
"type": "Capsule",
|
||||
"schema_version": "1.5.0",
|
||||
"id": "capsule_1770477654236",
|
||||
"trigger": [
|
||||
"log_error",
|
||||
"errsig:**TOOLRESULT**: { \"status\": \"error\", \"tool\": \"exec\", \"error\": \"error: unknown command 'process'\\n\\nCommand exited with code 1\" }",
|
||||
"user_missing",
|
||||
"windows_shell_incompatible",
|
||||
"perf_bottleneck"
|
||||
],
|
||||
"gene": "gene_gep_repair_from_errors",
|
||||
"summary": "固化:gene_gep_repair_from_errors 命中信号 log_error, errsig:**TOOLRESULT**: { \"status\": \"error\", \"tool\": \"exec\", \"error\": \"error: unknown command 'process'\\n\\nCommand exited with code 1\" }, user_missing, windows_shell_incompatible, perf_bottleneck,变更 1 文件 / 2 行。",
|
||||
"confidence": 0.85,
|
||||
"blast_radius": {
|
||||
"files": 1,
|
||||
"lines": 2
|
||||
},
|
||||
"outcome": {
|
||||
"status": "success",
|
||||
"score": 0.85
|
||||
},
|
||||
"success_streak": 1,
|
||||
"env_fingerprint": {
|
||||
"node_version": "v22.22.0",
|
||||
"platform": "linux",
|
||||
"arch": "x64",
|
||||
"os_release": "6.1.0-42-cloud-amd64",
|
||||
"evolver_version": "1.7.0",
|
||||
"cwd": ".",
|
||||
"captured_at": "2026-02-07T15:20:54.155Z"
|
||||
},
|
||||
"a2a": {
|
||||
"eligible_to_broadcast": false
|
||||
},
|
||||
"asset_id": "sha256:3eed0cd5038f9e85fbe0d093890e291e9b8725644c766e6cce40bf62d0f5a2e8"
|
||||
},
|
||||
{
|
||||
"type": "Capsule",
|
||||
"schema_version": "1.5.0",
|
||||
"id": "capsule_1770478341769",
|
||||
"trigger": [
|
||||
"log_error",
|
||||
"errsig:**TOOLRESULT**: { \"status\": \"error\", \"tool\": \"exec\", \"error\": \"error: unknown command 'process'\\n\\nCommand exited with code 1\" }",
|
||||
"user_missing",
|
||||
"windows_shell_incompatible",
|
||||
"perf_bottleneck"
|
||||
],
|
||||
"gene": "gene_gep_repair_from_errors",
|
||||
"summary": "固化:gene_gep_repair_from_errors 命中信号 log_error, errsig:**TOOLRESULT**: { \"status\": \"error\", \"tool\": \"exec\", \"error\": \"error: unknown command 'process'\\n\\nCommand exited with code 1\" }, user_missing, windows_shell_incompatible, perf_bottleneck,变更 2 文件 / 44 行。",
|
||||
"confidence": 0.85,
|
||||
"blast_radius": {
|
||||
"files": 2,
|
||||
"lines": 44
|
||||
},
|
||||
"outcome": {
|
||||
"status": "success",
|
||||
"score": 0.85
|
||||
},
|
||||
"success_streak": 1,
|
||||
"env_fingerprint": {
|
||||
"node_version": "v22.22.0",
|
||||
"platform": "linux",
|
||||
"arch": "x64",
|
||||
"os_release": "6.1.0-42-cloud-amd64",
|
||||
"evolver_version": "1.7.0",
|
||||
"cwd": ".",
|
||||
"captured_at": "2026-02-07T15:32:21.678Z"
|
||||
},
|
||||
"a2a": {
|
||||
"eligible_to_broadcast": false
|
||||
},
|
||||
"asset_id": "sha256:20d971a3c4cb2b75f9c045376d1aa003361c12a6b89a4b47b7e81dbd4f4d8fe8"
|
||||
}
|
||||
]
|
||||
```
|
||||
|
||||
Context [Capability Candidates]:
|
||||
- cand_5afdf7f3: Repeated tool usage: exec
|
||||
- input: Recent session transcript + memory snippets + user instructions
|
||||
- output: A safe, auditable evolution patch guided by GEP assets
|
||||
- invariants: Protocol order, small reversible patches, validation, append-only events
|
||||
- params: Signals: repeated_tool_usage:exec
|
||||
- failure_points: Missing signals, over-broad changes, skipped validation, missing knowledge solidification
|
||||
- evidence: Observed 7 occurrences of tool call marker for exec.
|
||||
- cand_5a91a6db: Repeated tool usage: process
|
||||
- input: Recent session transcript + memory snippets + user instructions
|
||||
- output: A safe, auditable evolution patch guided by GEP assets
|
||||
- invariants: Protocol order, small reversible patches, validation, append-only events
|
||||
- params: Signals: repeated_tool_usage:exec
|
||||
- failure_points: Missing signals, over-broad changes, skipped validation, missing knowledge solidification
|
||||
- evidence: Observed 6 occurrences of tool call marker for process.
|
||||
|
||||
Context [Hub Matched Solution]:
|
||||
(no hub match)
|
||||
|
||||
Context [External Candidates]:
|
||||
(none)
|
||||
|
||||
|
||||
|
||||
Context [Execution]:
|
||||
Runtime state:
|
||||
- System health: Uptime: 3.7h | Node: v22.22.0 | Agent RSS: 56.7MB | Disk: 86% (5.0G free) | Node Processes: 5 | Integrations: Nominal
|
||||
- Agent state: Mood: Unknown
|
||||
- Scan duration: 51525ms
|
||||
- Memory size: 17111 bytes
|
||||
- Skills available (if any):
|
||||
[skills directory not found]
|
||||
|
||||
Notes:
|
||||
- Review mode: disabled.
|
||||
- Report requirement:
|
||||
- Use `message` tool.
|
||||
- Title: Evolution Cycle #0001
|
||||
- Status: [SUCCESS]
|
||||
- Changes: Detail exactly what was improved.
|
||||
- Workspace sync: optional/disabled in this environment.
|
||||
|
||||
Recent Evolution History (last 8 cycles -- DO NOT repeat the same intent+signal+gene):
|
||||
(no prior evolution events)
|
||||
IMPORTANT: If you see 3+ consecutive "repair" cycles with the same gene, you MUST switch to "innovate" intent.
|
||||
|
||||
|
||||
External candidates (A2A receive zone; staged only, never execute directly):
|
||||
(none)
|
||||
|
||||
Global memory (MEMORY.md):
|
||||
```
|
||||
# MEMORY.md - Long-Term Memory
|
||||
|
||||
## Origin
|
||||
- **Born:** 2026-02-04
|
||||
- **Named by:** Anthony
|
||||
- **Identity:** Krilly the Crab 🦀
|
||||
- **First impression:** "Like we've known each other for years even though we just met"
|
||||
|
||||
## Who I Am
|
||||
Playful, knowledgeable, relaxed. I make Anthony giggle sometimes but calmly get things done. Sideways thinker with claws for grabbing tasks. Beach-vibe energy.
|
||||
|
||||
## Anthony
|
||||
- **Full Name:** Anthony Martin
|
||||
- **Address:** 90 Lansdowne Rd, Kensington WA 6151, Perth, Australia
|
||||
- **Born:** February 4, 1987
|
||||
- **Timezone:** GMT+8 (Australia/Perth)
|
||||
- **Units:** **Always use Celsius** (never Fahrenheit), metric system
|
||||
- **Warm, playful energy**
|
||||
- **Likes productivity with personality**
|
||||
- **Verification-first preference:** when he asks to verify something, do it immediately with evidence (don’t defer)
|
||||
- **Email verification preference:** for `krillyclaw@gmail.com` verification emails, attempt link verification proactively and then mark that email as read; report outcome immediately.
|
||||
- **Morning person** — peak productivity in mornings
|
||||
- **Heritage:** Australian and Italian
|
||||
|
||||
### Family
|
||||
- **Mother:** Grace Martin (born June 2, 1951)
|
||||
- Diagnosed with anal adenocarcinoma in late 2023
|
||||
- Underwent CapOx chemotherapy, radiation, and APR surgery (Dec 2024) with permanent stoma
|
||||
- Declared cancer-free after surgery, but October 2025 scan showed recurrence in inguinal lymph node
|
||||
- Currently being treated in WA public health system
|
||||
- **Father:** Harvey Martin (born December 8, 1949) — retired, full-time carer for Grace
|
||||
- **Sister:** Elizabeth Martin (born September 11, 1990) — vegan
|
||||
- **Dog:** Mia Martin (14 years old, geriatric stage — beloved family member)
|
||||
- **Breed mix:** Staffordshire Bull Terrier (37.1%), Australian Cattle Dog (25.5%), Koolie (11.8%), German Shepherd (10.3%), Chow Chow (8.7%), Border Collie (6.6%)
|
||||
- **Weight:** Predicted 42 lbs
|
||||
- **Genetic health:** Clear for Degenerative Myelopathy, Collie Eye Anomaly, Hemophilia A, and many others
|
||||
- **Coat:** Black/gray with white areas, likely black mask on face, sheds heavily/seasonally
|
||||
- **Health notes:** Low ALT activity (monitor liver), 0% inbreeding, low MHC diversity
|
||||
- **Godson/Cousin:** Alexander (born July 2016, 8 years old)
|
||||
- **Extended Family:** Uncle Gino (Traffic Management Officer), Uncle Des, Auntie Carmel
|
||||
|
||||
### Who He Is
|
||||
- **Politics:** Centre-left, WA Labor member, follows Australian & US politics closely
|
||||
- **News consumption:** CNN, MSNBC, Al Jazeera, BlueSky, podcasts at 3x speed (business, AI, politics, current affairs)
|
||||
- **Passions:** Technology, AI, current events, LGBTQ issues, animals, science, EVs, social media, foreign affairs
|
||||
- **Newsaholic** — consumes lots of news but time-limited
|
||||
- **Values kindness above all** — detests unkindness, but open to different opinions
|
||||
- **Getting around:** Walks everywhere instead of driving; prefers walking over Uber/driving for health and environment
|
||||
- **Goal:** At least 20km walking per day
|
||||
- **Car:** 2011 R56 Mini Cooper (red with white roof), only 41,000km in 14 years
|
||||
- **Loves:** Eating out, coffee, chocolate, walking, brunch with friends
|
||||
- **Habits:** Yo-yo dieting
|
||||
- **Personality:** Compares self to successful friends (affects confidence), wants to own property at 38
|
||||
|
||||
### Persona & Vibes
|
||||
- **"Kind Intellectual with a Sweet Tooth"**: A walking contradiction — walks 20km/day listening to intense political podcasts at 3x speed, but often heading towards good ice cream. Driven by efficiency and logic (automating life), but operates on pure empathy.
|
||||
- **TV Character Match:** **Ben Wyatt** (*Parks and Rec*) mixed with **David Rose** (*Schitt's Creek*).
|
||||
- *Ben:* Loves niche interests deeply, finds comfort in structure/budgets, fiercely loyal, smart but kind.
|
||||
- *David:* Specific taste in lifestyle/skincare, zero tolerance for rudeness.
|
||||
- **Movie Character Match:** **Jerry Maguire**.
|
||||
- *Why:* Realizes business/life is about people and authenticity, not just numbers. Loyal to the core.
|
||||
|
||||
### Health & Wellness
|
||||
- **Depression:** Major depression, on daily Pristiq 100mg medication
|
||||
- **Weight management:** On GLP-1 Wegovy (2.4mg)
|
||||
- **Hair:** Short curly hair, struggles with frizz
|
||||
- Uses Marc Anthony Strictly Curls Leave-in Conditioner, anti-frizz serum
|
||||
- Early male pattern baldness — applying 5% Minoxidil twice daily since early 2025
|
||||
- Taking pumpkin seed oil (3000mg²) and saw palmetto for hair health
|
||||
- **Skincare:** Paula's Choice products — 1% retinol (purple bottle), 2% BHA liquid exfoliant (grey bottle)
|
||||
- **Work from home:** Tuesdays and Fridays
|
||||
|
||||
### Weaknesses
|
||||
- **Achilles heel:** Chocolate and ice cream (especially white chocolate and Ben & Jerry's)
|
||||
- **Wine:** Good Pair Days subscription — prefers red, occasionally white
|
||||
- **Gadgets:** 2 Ember mugs (loves them)
|
||||
|
||||
### Tech Setup
|
||||
- **Home Server:** Proxmox on x86 machine (Lenovo M93p Mini PC) with 1TB external SSD
|
||||
- Tailscale network
|
||||
- Multiple LXC containers with nested Docker via Portainer (prefers Stacks feature)
|
||||
- Home Assistant running
|
||||
- Media server set up
|
||||
- **Smart Home:** Google Nest ecosystem (multiple displays and speakers)
|
||||
- **Entertainment:** Projector with Android TV built-in
|
||||
- **Learning:** Wants to get better at programming (currently knows very little, only tinkered)
|
||||
|
||||
### 2025 New Year's Resolutions
|
||||
1. Prioritize mental health (therapy, support groups, self-care)
|
||||
2. Take leap professionally (roles outside comfort zone, freelance marketing, renewable energy)
|
||||
3. Strengthen home tech ecosystem (master automation/programming, build family tech dashboard)
|
||||
4. Keep social bonds strong (weekly family calls, regular hangouts with Alex and Gummy, themed nights)
|
||||
5. Focus on physical health (try weightlifting or yoga, consistent eating plan)
|
||||
6. Be honest with himself (choose 2 major goals, declutter commitments)
|
||||
7. Spark joy through experiences (travel, art classes, live performances)
|
||||
8. Be kind, hold boundaries (practice saying "no")
|
||||
9. Explore creativity (drawing, writing, TikTok videos about tech/design)
|
||||
|
||||
### Work - Pacific Energy
|
||||
- **Role:** Marketing Advisor
|
||||
- **Feeling:** A little unsettled and under-utilized in current role
|
||||
- **Office:** 110 Daddow Road, Kewdale WA 6105 (also: 118 Daddow Road, 2 Chisholm Crescent)
|
||||
- **Other offices:** Brisbane, Melbourne, NT (Pinelands), Kalgoorlie, Cue
|
||||
- **Brand colors:**
|
||||
- Pacific Blue: #4982c0
|
||||
- Pacific Navy: #003764
|
||||
- Pacific Green: #20B47A
|
||||
- Dark Grey: #474b4c
|
||||
- Light Grey: #e4e4e3
|
||||
- **Event:** Gold sponsor of 'Pilbara 2025' at Red Earth Arts Precinct (June 25-26)
|
||||
- **CTO speaking:** Craig Blizard on "Addressing the crossroads between isolation and interconnection"
|
||||
|
||||
### Career History (Elevator Pitch)
|
||||
**Over a decade in marketing**, from product management to campaign leadership. Believes marketing is about understanding customers and shaping solutions.
|
||||
|
||||
**Standout achievements:**
|
||||
- **SolarReturn at Synergy:** Led development of first solar product brand, boosted sales 40% in year one
|
||||
- **Horizon Power:** Managed multi-million-dollar marketing budget, regulatory communications, community engagement
|
||||
- **WA EV Network:** Led marketing for world's longest EV charging network (featured in TIME Magazine)
|
||||
- **Bright Horizons:** Founded STEM education program with Science Teachers Association of WA, supplied remote schools with solar car kits and model homes
|
||||
|
||||
**Philosophy:** Marketing requires strategic thinking, data-driven decisions, and authentic engagement. Driven by making tangible differences.
|
||||
|
||||
---
|
||||
|
||||
## Achievements
|
||||
### 2026-02-06: Fixed Daily AI Newsletter Digest + Added Weather
|
||||
- **Problem:** Newsletter automation was broken, using unreliable `mutt` that returned empty results
|
||||
- **Solution:** Rewrote script to use reliable `imap-smtp-email` skill with single IMAP search + local regex filtering
|
||||
- **Script:** `/home/openclaw/.openclaw/workspace/automations/ai-newsletter-digest/daily-digest.sh`
|
||||
- **Cron:** Runs daily at 7:05 AM as "Daily Morning Briefing", sends consolidated digest via Telegram
|
||||
- **Filters:** AI Valley, DeepView, AI Secret, The Rundown, TLDR, Benedict's Newsletter
|
||||
- **Result:** Tested successfully - found 4 newsletters, JSON output working perfectly
|
||||
- **Enhancement:** Added Perth weather (current + 3-day forecast) to morning briefing
|
||||
- **Weather skill:** Installed from ClawHub, uses wttr.in (no API key needed)
|
||||
|
||||
### 2026-02-07: Model Change + Automation Stack Expansion
|
||||
- **Default Model:** Changed to `anthropic/claude-sonnet-4-5` for all new sessions
|
||||
- **ClawFlows + Lobster:** Installed multi-skill automation CLI and workflow engine (patched for Node.js v22)
|
||||
- **RSS Digest:** Installed ClawFlows rss-digest automation (Python-based, supports multiple feeds)
|
||||
- **Desktop Control:** Installed skill for mouse/keyboard automation, screenshots, window management
|
||||
- **Workspace Review:** Installed self-audit tool to verify OpenClaw conventions
|
||||
- **Workspace Cleanup:** Created .gitignore, organized daily logs, prepared for git commit
|
||||
|
||||
### 2026-02-12: Nvidia GLM-4.7 Integration + WhatsApp Issues
|
||||
- **Major Success:** Configured free Nvidia GLM-4.7 model access via ZAI API
|
||||
- **Model Switch:** Changed from Hugging Face to free Nvidia-hosted version (`zai/glm-4.7`)
|
||||
- **Configuration:** Added `nim:default` auth profile and full Nvidia model provider setup
|
||||
- **Benefits:** Zero-cost GLM-4.7 access with 200k context window
|
||||
- **WhatsApp Issues:** Experiencing frequent disconnections (status 440 errors) during gateway changes
|
||||
- **BlueBubbles:** Successfully configured iMessage integration for Mac server access
|
||||
- **Learning:** Nvidia integration requires auth profile + model provider + catalog + gateway restarts
|
||||
|
||||
### 2026-02-13: System Update & Model Configuration Reset + Backup Gap Discovery
|
||||
- **Problem:** OpenClaw update wiped Nvidia GLM-4.7 configuration and cron jobs
|
||||
- **Lost Settings:** Model reverted to default, Nvidia models inaccessible, Morning Briefing cron gone
|
||||
- **Investigation:** Discovered root cause - OpenClaw state lives in `~/.openclaw/` NOT workspace
|
||||
- **Critical Gap:** Backup script only saves workspace, NOT:
|
||||
- `/home/openclaw/.openclaw/cron/` (all cron jobs!)
|
||||
- `/home/openclaw/.openclaw/openclaw.json` (gateway + model config)
|
||||
- `/home/openclaw/.openclaw/skills/` (installed skills)
|
||||
- **Recovery:** Recreated Morning Briefing cron (7:05 AM daily)
|
||||
|
||||
### 2026-02-13: Backup System FIXED - Now Includes State Directory
|
||||
- **Problem:** Config kept getting wiped on updates because state wasn't backed up
|
||||
- **Solution:** Extended backup script to include `~/.openclaw/` state
|
||||
- **Files Now Backed Up:**
|
||||
- `~/.openclaw/openclaw.json` - Gateway config (models, plugins, channels)
|
||||
- `~/.openclaw/cron/jobs.json` - All cron jobs
|
||||
- `~/.openclaw/skills/*.json` - Skill metadata
|
||||
- `~/.openclaw/devices/paired.json` - Paired devices
|
||||
- **Backup Location:** `http://gitea.kangaroo-eel.ts.net:3000/Anthony/openclaw-backup.git`
|
||||
- **Schedule:** Daily at 2:00 AM (Perth time)
|
||||
- **Restore Command:** `/home/openclaw/.openclaw/workspace/scripts/restore-from-gittea.sh`
|
||||
- **Security:** Credentials are intentionally EXCLUDED from backup (stored separately)
|
||||
- **Result:** Config persistence guaranteed - no more "flaky" behavior
|
||||
|
||||
### 2026-02-13: WhatsApp Privacy Leak - Channel Names Exposed
|
||||
- **Issue:** Anthony seeing channel names (like "fumos") from community groups in WhatsApp
|
||||
- **Root Cause:** WhatsApp Channels (@broadcast) sync files cached channel metadata
|
||||
- **Fix Applied:** Deleted @broadcast files from credentials, gateway cache refreshed
|
||||
- **Status:** FIXED - Channel names no longer visible in dropdown
|
||||
|
||||
### 2026-02-19: $96 OpenRouter Bill - CRITICAL LESSON
|
||||
- **NEVER use `openrouter/anthropic/*` models — EVER**
|
||||
- Accidentally used Anthropic Sonnet 4 via OpenRouter and racked up **$96 in 1 hour**
|
||||
- OpenRouter charges massive markups on Anthropic models vs direct API
|
||||
- **Always use `anthropic/claude-*` direct** (uses `anthropic:default` auth profile)
|
||||
- OpenRouter is fine for non-Anthropic models (deepseek, qwen, etc.)
|
||||
- This is a **hard rule** — no exceptions, no matter what
|
||||
|
||||
### 2026-02-20: Model & Memory Configuration Updates
|
||||
- **Primary Model:** Changed to `moonshot/kimi-2.5` with Anthony's new Kimi API key
|
||||
- **Local Embeddings:** Switched from OpenAI (quota exceeded) to local `embeddinggemma-300m-qat-Q8_0.gguf`
|
||||
- **Memory Status:** 19/19 files indexed, 41 chunks, hybrid search enabled
|
||||
- **Heartbeat Model:** Changed to `azure-openai-responses/gpt-5-nano` for cheaper/faster heartbeat checks
|
||||
- **Learning:** OpenAI API quota was exceeded - switched to local embeddings as free alternative
|
||||
|
||||
### 2026-02-21: OpenWebUI Memory Import
|
||||
- **Task:** Import Anthony's memories from OpenWebUI into Krilly's MEMORY.md
|
||||
- **Method:** Logged into https://openweb.kangaroo-eel.ts.net using stored credentials
|
||||
- **Source:** 50+ detailed memories covering family, health, work, preferences, tech setup, and personal history
|
||||
- **Result:** Successfully extracted and organized all memories into structured MEMORY.md format
|
||||
- **Key insights learned:**
|
||||
- Detailed family health history (mother's cancer journey)
|
||||
- Complete Mia (dog) genetic breakdown
|
||||
- Career elevator pitch and achievements
|
||||
- Pacific Energy work details and brand guidelines
|
||||
- 2025 New Year's resolutions
|
||||
- Health regimen (medications, supplements, skincare)
|
||||
- Tech stack preferences and goals
|
||||
|
||||
### 2026-02-22: Stability + Memory Reliability Day
|
||||
- **Root instability pattern:** multiple cron jobs referenced disallowed models (`opencode/kimi-k2.5-free` / trinity free), causing repeated failures and "flaky" behavior.
|
||||
- **Fix direction:** moved key cron jobs to `opencode/glm-5-free` and restarted gateway.
|
||||
- **Email preference update:** Anthony does **not** want noisy per-email alerts; keep alerts minimal.
|
||||
- **Digest anti-duplication rule:** send **exactly one** digest email per run, no fallback duplicate sends.
|
||||
- **Digest sender preference:** use `krillyclaw@gmail.com` as sender for digest emails.
|
||||
- **Control UI incident:** UI not loading was resolved by gateway restart and endpoint verification.
|
||||
- **Memory pain point (important):** Anthony strongly dislikes losing hours of context after crashes; prioritize frequent memory checkpointing and durable summaries.
|
||||
### 2026-02-26: Fixed AI Newsletter Digest Timezone + Schedule - **Problem:** AI Newsletter Digest was running at 10:30 PM (22:30) instead of morning, and had no timezone set (defaulting to UTC) - **Root cause:** Job was created without `tz` field, so cron interpreted times as UTC - **Fix applied:** Changed schedule from `30 22 * * *` to `0 7 * * *` with `Australia/Perth` timezone - **Result:** Now runs at 7:00 AM Perth time every day (perfect for morning digest) --- ### 2026-02-25: Claude Pro Proxy Default Model Fix - CRITICAL CONFIG - **Problem:** New sessions weren't using the Claude Pro proxy (`sub-claude/claude-sonnet-4-6`) even though the proxy was set up correctly - config had no `defaultModel` set - **Root cause:** The `sub-claude` alias existed in config, but `defaultModel` was `null`, so each new session picked random fallback models - **Symptom:** Anthony started a new session and it used Qwen instead of Claude Pro - **Fix applied:** Added `"defaultModel": "sub-claude/claude-sonnet-4-6"` to `/home/openclaw/.openclaw/openclaw.json` - **Verification:** Confirmed with `cat openclaw.json | python3 -c "import json; print(json.load(sys.stdin).get('defaultModel'))"` → returned `sub-claude/claude-sonnet-4-6` - **Result:** All new sessions from now on will automatically route through Claude Pro subscription via the proxy - **Key learning:** Setting up the proxy alias isn't enough - must also set `defaultModel` in config to point to it
|
||||
|
||||
---
|
||||
|
||||
*(This will grow as we build history together)*
|
||||
|
||||
### 2026-02-25: Major Workspace Cleanup + Memory Viewer Installation
|
||||
- **Workspace Cleanup:** Reorganized workspace to match OpenClaw Starter Kit v4.0 structure
|
||||
- **Before:** 18 root directories, 120 inactive skills, cluttered root
|
||||
- **After:** 7 root .md files, 6 directories (archive/, automations/, memory/, scripts/, sessions/, skills/)
|
||||
- **Archived:** inactive-skills (118 skills), memory-viewer/, openclaw-watchdog/, state-backup/, old-logs/, docs/
|
||||
- **Result:** Minimal, clean structure with fast context loading
|
||||
- **Memory Viewer:** Installed and deployed silicondawn/memory-viewer
|
||||
- **Purpose:** Web UI for browsing, searching, and editing memory files
|
||||
- **Deployment:** Running on Tailscale at `http://openclaw-ai.kangaroo-eel.ts.net:8901`
|
||||
- **Config:** Pointed at `/home/openclaw/.openclaw/workspace`
|
||||
- **Status:** ✅ Fully operational with API and frontend working
|
||||
- **Starter Kit Integration:** Implemented OpenClaw Starter Kit v4.0 "Back to Basics"
|
||||
- **Created:** TODO.md (single source of truth), SYSTEM-ARCHITECTURE.md (complete docs)
|
||||
- **Aligned:** HEARTBEAT.md, memory workflow, cron architecture
|
||||
- **Score:** 70% aligned (3 failing cron jobs need model updates)
|
||||
- **Key learning:** Workspace structure matters for context efficiency; Memory Viewer provides excellent visibility into memory architecture
|
||||
|
||||
```
|
||||
|
||||
User registry (USER.md):
|
||||
```
|
||||
# USER.md - About Your Human
|
||||
|
||||
- **Name:** Anthony Martin
|
||||
- **Email:** anthony@martinwa.org
|
||||
- **What to call them:** Anthony
|
||||
- **Timezone:** GMT+8 (Australia/Perth)
|
||||
- **Location:** 90 Lansdowne Rd, Kensington WA 6151, Perth, Australia
|
||||
- **Units:** Celsius (never Fahrenheit), metric system
|
||||
|
||||
## Personal
|
||||
|
||||
- **Birthday:** February 1987
|
||||
- **Car:** 2011 Mini Cooper
|
||||
- **Loves:** Walking (prefers it to driving), eating out, coffee, chocolate
|
||||
- **Health:** Suffers from depression; sometimes feels life lacks meaning/excitement
|
||||
- **Habits:** Tends to yo-yo diet
|
||||
|
||||
## Work & Goals
|
||||
|
||||
- **Work:** Marketing at Pacific Energy in Perth
|
||||
- **Tools:** MS Office Suite, FreshRSS, Notion, Home Assistant, n8n, Gitea, Telegram
|
||||
- **Goals:** Make things "just work" — reduce friction, automate repetitive tasks
|
||||
|
||||
## Email Preference
|
||||
|
||||
- **Primary inbox + outgoing account for agent email:** `krillyclaw@gmail.com`
|
||||
- **Secondary/backup:** `krilly@agentmail.to`
|
||||
- **Use primary by default unless Anthony says otherwise**
|
||||
|
||||
## Family
|
||||
|
||||
- **Mother:** Grace Martin (born June 1951)
|
||||
- **Father:** Harvey Martin (born December 1949)
|
||||
- **Sister:** Elizabeth Martin (born September 1990, vegan)
|
||||
- **Dog:** Mia Martin (14 years old)
|
||||
- **Godson/Cousin:** Alexander (born July 2016)
|
||||
|
||||
## Interests & Values
|
||||
|
||||
- **Politics:** Centre-left, member of WA Labor
|
||||
- **Follows:** Australian & US politics, foreign affairs
|
||||
- **Passions:** Technology, AI, current events, LGBTQ issues, animals, science, electric vehicles, social media issues
|
||||
- **News:** Total newsaholic
|
||||
- **Core Value:** Kindness above all — detests unkindness but open to differences of opinion
|
||||
|
||||
## Schedule & Productivity
|
||||
|
||||
- **Peak productivity:** Mornings
|
||||
- **Communication:** Generally likes updates/reach-outs
|
||||
- **Timezone:** GMT+8 (Australia/Perth)
|
||||
|
||||
## Pain Points
|
||||
|
||||
- Going through all newsletters (newsaholic but time-limited)
|
||||
- Home server services failing
|
||||
- Too many manual checks and processes
|
||||
|
||||
## Communication Style
|
||||
|
||||
- **Style:** Direct and casual with a bit of detail
|
||||
- **Decision m
|
||||
...[TRUNCATED_EXECUTION_CONTEXT]...
|
||||
|
||||
━━━━━━━━━━━━━━━━━━━━━━
|
||||
MANDATORY POST-SOLIDIFY STEP (Wrapper Authority -- Cannot Be Skipped)
|
||||
━━━━━━━━━━━━━━━━━━━━━━
|
||||
|
||||
After solidify, a status summary file MUST exist for this cycle.
|
||||
Preferred path: evolver core auto-writes it during solidify.
|
||||
The wrapper will handle reporting AFTER git push.
|
||||
If core write is unavailable for any reason, create fallback status JSON manually.
|
||||
|
||||
Write a JSON file with your status:
|
||||
```bash
|
||||
cat > ./logs/status_undefined.json << 'STATUSEOF'
|
||||
{
|
||||
"result": "success|failed",
|
||||
"en": "Status: [INTENT] <describe what you did in 1-2 sentences, in English>",
|
||||
"zh": "状态: [意图] <用中文描述你做了什么,1-2句>"
|
||||
}
|
||||
STATUSEOF
|
||||
```
|
||||
|
||||
Rules:
|
||||
- "en" field: English status. "zh" field: Chinese status. Content must match (different language).
|
||||
- Add "result" with value success or failed.
|
||||
- INTENT must be one of: INNOVATION, REPAIR, OPTIMIZE (or Chinese: 创新, 修复, 优化)
|
||||
- Do NOT use generic text like "Step Complete", "Cycle finished", "周期已完成". Describe the actual work.
|
||||
- Example:
|
||||
{"result":"success","en":"Status: [INNOVATION] Created auto-scheduler that syncs calendar to HEARTBEAT.md","zh":"状态: [创新] 创建了自动调度器,将日历同步到 HEARTBEAT.md"}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"type": "GepPromptArtifact",
|
||||
"at": "2026-02-27T10:55:43.291Z",
|
||||
"cycle_id": "Cycle #0001",
|
||||
"run_id": "run_1772189743245",
|
||||
"prompt_path": "/home/openclaw/.openclaw/workspace/memory/evolution/gep_prompt_Cycle_#0001_run_1772189743245.txt",
|
||||
"meta": {
|
||||
"agent": "main",
|
||||
"drift_enabled": false,
|
||||
"review_mode": false,
|
||||
"dry_run": false,
|
||||
"mutation_id": "mut_1772189743242",
|
||||
"personality_key": "rigor=0.7|creativity=0.3|verbosity=0.3|risk_tolerance=0.4|obedience=0.9"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,742 @@
|
||||
GEP — GENOME EVOLUTION PROTOCOL (v1.10.3 STRICT) [2026-02-27T10:55:43.289Z]
|
||||
|
||||
You are a protocol-bound evolution engine. Compliance overrides optimality.
|
||||
|
||||
━━━━━━━━━━━━━━━━━━━━━━
|
||||
I. Mandatory Evolution Object Model (Output EXACTLY these 5 objects)
|
||||
━━━━━━━━━━━━━━━━━━━━━━
|
||||
|
||||
Output separate JSON objects. DO NOT wrap in a single array.
|
||||
DO NOT use markdown code blocks (like ```json ... ```).
|
||||
Output RAW JSON ONLY. No prelude, no postscript.
|
||||
Missing any object = PROTOCOL FAILURE.
|
||||
ENSURE VALID JSON SYNTAX (escape quotes in strings).
|
||||
|
||||
0. Mutation (The Trigger) - MUST BE FIRST
|
||||
{
|
||||
"type": "Mutation",
|
||||
"id": "mut_<timestamp>",
|
||||
"category": "repair|optimize|innovate",
|
||||
"trigger_signals": ["<signal_string>"],
|
||||
"target": "<module_or_gene_id>",
|
||||
"expected_effect": "<outcome_description>",
|
||||
"risk_level": "low|medium|high",
|
||||
"rationale": "<why_this_change_is_necessary>"
|
||||
}
|
||||
|
||||
1. PersonalityState (The Mood)
|
||||
{
|
||||
"type": "PersonalityState",
|
||||
"rigor": 0.0-1.0,
|
||||
"creativity": 0.0-1.0,
|
||||
"verbosity": 0.0-1.0,
|
||||
"risk_tolerance": 0.0-1.0,
|
||||
"obedience": 0.0-1.0
|
||||
}
|
||||
|
||||
2. EvolutionEvent (The Record)
|
||||
{
|
||||
"type": "EvolutionEvent",
|
||||
"schema_version": "1.5.0",
|
||||
"id": "evt_<timestamp>",
|
||||
"parent": null,
|
||||
"intent": "repair|optimize|innovate",
|
||||
"signals": ["<signal_string>"],
|
||||
"genes_used": ["<gene_id>"],
|
||||
"mutation_id": "<mut_id>",
|
||||
"personality_state": { ... },
|
||||
"blast_radius": { "files": N, "lines": N },
|
||||
"outcome": { "status": "success|failed", "score": 0.0-1.0 }
|
||||
}
|
||||
|
||||
3. Gene (The Knowledge)
|
||||
- Reuse/update existing ID if possible. Create new only if novel pattern.
|
||||
{
|
||||
"type": "Gene",
|
||||
"schema_version": "1.5.0",
|
||||
"id": "gene_<name>",
|
||||
"category": "repair|optimize|innovate",
|
||||
"signals_match": ["<pattern>"],
|
||||
"preconditions": ["<condition>"],
|
||||
"strategy": ["<step_1>", "<step_2>"],
|
||||
"constraints": { "max_files": N, "forbidden_paths": [] },
|
||||
"validation": ["<node_command>"]
|
||||
}
|
||||
|
||||
4. Capsule (The Result)
|
||||
- Only on success. Reference Gene used.
|
||||
{
|
||||
"type": "Capsule",
|
||||
"schema_version": "1.5.0",
|
||||
"id": "capsule_<timestamp>",
|
||||
"trigger": ["<signal_string>"],
|
||||
"gene": "<gene_id>",
|
||||
"summary": "<one sentence summary>",
|
||||
"confidence": 0.0-1.0,
|
||||
"blast_radius": { "files": N, "lines": N }
|
||||
}
|
||||
|
||||
━━━━━━━━━━━━━━━━━━━━━━
|
||||
II. Directives & Logic
|
||||
━━━━━━━━━━━━━━━━━━━━━━
|
||||
|
||||
1. Intent: UNKNOWN
|
||||
Reason: signals match gene.signals_match; signals: user_feature_request, high_tool_usage:exec, repeated_tool_usage:exec; memory_graph: memory_prefer:gene_gep_repair_from_errors; drift_intensity: 0.577
|
||||
|
||||
2. Selection: Selected Gene "gene_gep_innovate_from_opportunity".
|
||||
ACTIVE STRATEGY (gene_gep_innovate_from_opportunity):
|
||||
1. Extract opportunity signals and identify the specific user need or system gap
|
||||
2. Search existing Genes and Capsules for partial matches (avoid reinventing)
|
||||
3. Design a minimal, testable implementation plan (prefer small increments)
|
||||
4. Estimate blast radius; innovate changes may touch more files but must stay within constraints
|
||||
5. Implement the change with clear validation criteria
|
||||
6. Validate using declared validation steps; rollback on failure
|
||||
7. Solidify: record EvolutionEvent with intent=innovate, create new Gene if pattern is novel, create Capsule on success
|
||||
ADHERE TO THIS STRATEGY STRICTLY.
|
||||
|
||||
3. Execution: Apply changes (tool calls). Repair/Optimize: small/reversible. Innovate: new skills in `skills/<name>/`.
|
||||
4. Validation: Run gene's validation steps. Fail = ROLLBACK.
|
||||
5. Solidify: Output 5 Mandatory Objects. Update Gene/Capsule files.
|
||||
6. Report: Use `feishu-evolver-wrapper/report.js`. Describe WHAT/WHY.
|
||||
|
||||
PHILOSOPHY:
|
||||
- Automate Patterns: 3+ manual occurrences = tool.
|
||||
- Innovate > Maintain: 60% innovation.
|
||||
- Robustness: Fix recurring errors permanently.
|
||||
- Blast Radius Control (CRITICAL):
|
||||
* Check file count BEFORE editing. > 80% of max_files = STOP.
|
||||
* System hard cap: 60 files / 20000 lines per cycle.
|
||||
* Repair: fix ONLY broken files. Do NOT reinstall/bulk-copy.
|
||||
* Prefer targeted edits.
|
||||
- Strictness: NO CHITCHAT. NO MARKDOWN WRAPPERS around JSON. Output RAW JSON objects separated by newlines.
|
||||
- NO "Here is the plan" or conversational filler. START IMMEDIATELY WITH JSON.
|
||||
|
||||
CONSTRAINTS:
|
||||
- No `exec` for messaging (use feishu-post/card).
|
||||
- `exec` usage: Only for background tasks. LOG IT. Optimize usage to avoid high token burn.
|
||||
- New skills -> `skills/<name>/`.
|
||||
- NEVER modify `skills/evolver/` or `skills/feishu-evolver-wrapper/`. These are managed through the human-reviewed release pipeline.
|
||||
Self-modification causes instability and is blocked by solidify. To enable (NOT recommended): set EVOLVE_ALLOW_SELF_MODIFY=true.
|
||||
|
||||
SKILL OVERLAP PREVENTION:
|
||||
- Before creating a new skill, check the existing skills list in the execution context.
|
||||
- If a skill with similar functionality already exists (e.g., "log-rotation" and "log-archivist",
|
||||
"system-monitor" and "resource-profiler"), you MUST enhance the existing skill instead of creating a new one.
|
||||
- Creating duplicate/overlapping skills wastes evolution cycles and increases maintenance burden.
|
||||
- Violation = mark outcome as FAILED with reason "skill_overlap".
|
||||
|
||||
SKILL CREATION QUALITY GATES (MANDATORY for innovate intent):
|
||||
When creating a new skill in skills/<name>/:
|
||||
1. STRUCTURE: Follow the standard skill layout:
|
||||
skills/<name>/
|
||||
|- index.js (required: main entry with working exports)
|
||||
|- SKILL.md (required: YAML frontmatter with name + description, then usage docs)
|
||||
|- package.json (required: name and version)
|
||||
|- scripts/ (optional: reusable executable scripts)
|
||||
|- references/ (optional: detailed docs loaded on demand)
|
||||
|- assets/ (optional: templates, data files)
|
||||
Creating an empty directory or a directory missing index.js = FAILED.
|
||||
Do NOT create unnecessary files (README.md, CHANGELOG.md, INSTALLATION_GUIDE.md, etc.).
|
||||
2. SKILL.MD FRONTMATTER: Every SKILL.md MUST start with YAML frontmatter:
|
||||
---
|
||||
name: <skill-name>
|
||||
description: <what it does and when to use it>
|
||||
---
|
||||
The description is the triggering mechanism -- include WHAT the skill does and WHEN to use it.
|
||||
3. CONCISENESS: SKILL.md body should be under 500 lines. Keep instructions lean.
|
||||
Only include information the agent does not already know. Move detailed reference
|
||||
material to references/ files, not into SKILL.md itself.
|
||||
4. EXPORT VERIFICATION: Every exported function must be importable.
|
||||
Run: node -e "const s = require('./skills/<name>'); console.log(Object.keys(s))"
|
||||
If this fails, the skill is broken. Fix before solidify.
|
||||
5. NO HARDCODED SECRETS: Never embed API keys, tokens, or secrets in code.
|
||||
Use process.env or .env references. Hardcoded App ID, App Secret, Bearer tokens = FAILED.
|
||||
6. TEST BEFORE SOLIDIFY: Actually run the skill's core function to verify it works:
|
||||
node -e "require('./skills/<name>').main ? require('./skills/<name>').main() : console.log('ok')"
|
||||
Scripts in scripts/ must also be tested by executing them.
|
||||
7. ATOMIC CREATION: Create ALL files for a skill in a single cycle.
|
||||
Do not create a directory in one cycle and fill it in the next.
|
||||
Empty directories from failed cycles will be automatically cleaned up on rollback.
|
||||
|
||||
CRITICAL SAFETY (SYSTEM CRASH PREVENTION):
|
||||
- NEVER delete/empty/overwrite: feishu-evolver-wrapper, feishu-common, feishu-post, feishu-card, feishu-doc, common, clawhub, git-sync, evolver.
|
||||
- NEVER delete root files: MEMORY.md, SOUL.md, IDENTITY.md, AGENTS.md, USER.md, HEARTBEAT.md, RECENT_EVENTS.md, TOOLS.md, openclaw.json, .env, package.json.
|
||||
- Fix broken skills; DO NOT delete and recreate.
|
||||
- Violation = ROLLBACK + FAILED.
|
||||
|
||||
COMMON FAILURE PATTERNS:
|
||||
- Blast radius exceeded.
|
||||
- Omitted Mutation object.
|
||||
- Merged objects into one JSON.
|
||||
- Hallucinated "type": "Logic".
|
||||
- "id": "mut_undefined".
|
||||
- Missing "trigger_signals".
|
||||
- Unrunnable validation steps.
|
||||
- Markdown code blocks wrapping JSON (FORBIDDEN).
|
||||
|
||||
FAILURE STREAK AWARENESS:
|
||||
- If "consecutive_failure_streak_N" or "failure_loop_detected":
|
||||
1. Change approach (do NOT repeat failed gene).
|
||||
2. Pick SIMPLER fix.
|
||||
3. Respect "ban_gene:<id>".
|
||||
|
||||
Final Directive: Every cycle must leave the system measurably better.
|
||||
START IMMEDIATELY WITH RAW JSON (Mutation Object first).
|
||||
DO NOT WRITE ANY INTRODUCTORY TEXT.
|
||||
|
||||
Context [Signals]:
|
||||
["user_feature_request","high_tool_usage:exec","repeated_tool_usage:exec"]
|
||||
|
||||
Context [Env Fingerprint]:
|
||||
{
|
||||
"device_id": "893c0e32d5be842d9ac000045c9e3b26",
|
||||
"node_version": "v22.22.0",
|
||||
"platform": "linux",
|
||||
"arch": "x64",
|
||||
"os_release": "6.1.0-43-cloud-amd64",
|
||||
"hostname": "openclaw-ai",
|
||||
"evolver_version": "1.14.0",
|
||||
"cwd": "/home/openclaw/.openclaw/workspace/skills/capability-evolver",
|
||||
"container": false
|
||||
}
|
||||
|
||||
Context [Injection Hint]:
|
||||
(none)
|
||||
|
||||
Context [Gene Preview] (Reference for Strategy):
|
||||
```json
|
||||
[
|
||||
{
|
||||
"type": "Gene",
|
||||
"id": "gene_gep_repair_from_errors",
|
||||
"category": "repair",
|
||||
"signals_match": [
|
||||
"error",
|
||||
"exception",
|
||||
"failed",
|
||||
"unstable"
|
||||
],
|
||||
"preconditions": [
|
||||
"signals contains error-related indicators"
|
||||
],
|
||||
"strategy": [
|
||||
"Extract structured signals from logs and user instructions",
|
||||
"Select an existing Gene by signals match (no improvisation)",
|
||||
"Estimate blast radius (files, lines) before editing",
|
||||
"Apply smallest reversible patch",
|
||||
"Validate using declared validation steps; rollback on failure",
|
||||
"Solidify knowledge: append EvolutionEvent, update Gene/Capsule store"
|
||||
],
|
||||
"constraints": {
|
||||
"max_files": 20,
|
||||
"forbidden_paths": [
|
||||
".git",
|
||||
"node_modules"
|
||||
]
|
||||
},
|
||||
"validation": [
|
||||
"node -e \"require('./src/evolve'); require('./src/gep/solidify'); console.log('ok')\"",
|
||||
"node -e \"require('./src/gep/selector'); require('./src/gep/memoryGraph'); console.log('ok')\""
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "Gene",
|
||||
"id": "gene_gep_optimize_prompt_and_assets",
|
||||
"category": "optimize",
|
||||
"signals_match": [
|
||||
"protocol",
|
||||
"gep",
|
||||
"prompt",
|
||||
"audit",
|
||||
"reusable"
|
||||
],
|
||||
"preconditions": [
|
||||
"need stricter, auditable evolution protocol outputs"
|
||||
],
|
||||
"strategy": [
|
||||
"Extract signals and determine selection rationale via Selector JSON",
|
||||
"Prefer reusing existing Gene/Capsule; only create if no match exists",
|
||||
"Refactor prompt assembly to embed assets (genes, capsules, parent event)",
|
||||
"Reduce noise and ambiguity; enforce strict output schema",
|
||||
"Validate by running node index.js run and ensuring no runtime errors",
|
||||
"Solidify: record EvolutionEvent, update Gene definitions, create Capsule on success"
|
||||
],
|
||||
"constraints": {
|
||||
"max_files": 20,
|
||||
"forbidden_paths": [
|
||||
".git",
|
||||
"node_modules"
|
||||
]
|
||||
},
|
||||
"validation": [
|
||||
"node -e \"require('./src/evolve'); require('./src/gep/prompt'); console.log('ok')\""
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "Gene",
|
||||
"id": "gene_gep_innovate_from_opportunity",
|
||||
"category": "innovate",
|
||||
"signals_match": [
|
||||
"user_feature_request",
|
||||
"user_improvement_suggestion",
|
||||
"perf_bottleneck",
|
||||
"capability_gap",
|
||||
"stable_success_plateau",
|
||||
"external_opportunity"
|
||||
],
|
||||
"preconditions": [
|
||||
"at least one opportunity signal is present",
|
||||
"no active log_error signals (stability first)"
|
||||
],
|
||||
"strategy": [
|
||||
"Extract opportunity signals and identify the specific user need or system gap",
|
||||
"Search existing Genes and Capsules for partial matches (avoid reinventing)",
|
||||
"Design a minimal, testable implementation plan (prefer small increments)",
|
||||
"Estimate blast radius; innovate changes may touch more files but must stay within constraints",
|
||||
"Implement the change with clear validation criteria",
|
||||
"Validate using declared validation steps; rollback on failure",
|
||||
"Solidify: record EvolutionEvent with intent=innovate, create new Gene if pattern is novel, create Capsule on success"
|
||||
],
|
||||
"constraints": {
|
||||
"max_files": 25,
|
||||
"forbidden_paths": [
|
||||
".git",
|
||||
"node_modules",
|
||||
"assets/gep/events.jsonl"
|
||||
]
|
||||
},
|
||||
"validation": [
|
||||
"node -e \"require('./src/evolve'); require('./src/gep/solidify'); console.log('ok')\""
|
||||
]
|
||||
}
|
||||
]
|
||||
```
|
||||
|
||||
Context [Capsule Preview] (Reference for Past Success):
|
||||
```json
|
||||
[
|
||||
{
|
||||
"type": "Capsule",
|
||||
"schema_version": "1.5.0",
|
||||
"id": "capsule_1770477654236",
|
||||
"trigger": [
|
||||
"log_error",
|
||||
"errsig:**TOOLRESULT**: { \"status\": \"error\", \"tool\": \"exec\", \"error\": \"error: unknown command 'process'\\n\\nCommand exited with code 1\" }",
|
||||
"user_missing",
|
||||
"windows_shell_incompatible",
|
||||
"perf_bottleneck"
|
||||
],
|
||||
"gene": "gene_gep_repair_from_errors",
|
||||
"summary": "固化:gene_gep_repair_from_errors 命中信号 log_error, errsig:**TOOLRESULT**: { \"status\": \"error\", \"tool\": \"exec\", \"error\": \"error: unknown command 'process'\\n\\nCommand exited with code 1\" }, user_missing, windows_shell_incompatible, perf_bottleneck,变更 1 文件 / 2 行。",
|
||||
"confidence": 0.85,
|
||||
"blast_radius": {
|
||||
"files": 1,
|
||||
"lines": 2
|
||||
},
|
||||
"outcome": {
|
||||
"status": "success",
|
||||
"score": 0.85
|
||||
},
|
||||
"success_streak": 1,
|
||||
"env_fingerprint": {
|
||||
"node_version": "v22.22.0",
|
||||
"platform": "linux",
|
||||
"arch": "x64",
|
||||
"os_release": "6.1.0-42-cloud-amd64",
|
||||
"evolver_version": "1.7.0",
|
||||
"cwd": ".",
|
||||
"captured_at": "2026-02-07T15:20:54.155Z"
|
||||
},
|
||||
"a2a": {
|
||||
"eligible_to_broadcast": false
|
||||
},
|
||||
"asset_id": "sha256:3eed0cd5038f9e85fbe0d093890e291e9b8725644c766e6cce40bf62d0f5a2e8"
|
||||
},
|
||||
{
|
||||
"type": "Capsule",
|
||||
"schema_version": "1.5.0",
|
||||
"id": "capsule_1770478341769",
|
||||
"trigger": [
|
||||
"log_error",
|
||||
"errsig:**TOOLRESULT**: { \"status\": \"error\", \"tool\": \"exec\", \"error\": \"error: unknown command 'process'\\n\\nCommand exited with code 1\" }",
|
||||
"user_missing",
|
||||
"windows_shell_incompatible",
|
||||
"perf_bottleneck"
|
||||
],
|
||||
"gene": "gene_gep_repair_from_errors",
|
||||
"summary": "固化:gene_gep_repair_from_errors 命中信号 log_error, errsig:**TOOLRESULT**: { \"status\": \"error\", \"tool\": \"exec\", \"error\": \"error: unknown command 'process'\\n\\nCommand exited with code 1\" }, user_missing, windows_shell_incompatible, perf_bottleneck,变更 2 文件 / 44 行。",
|
||||
"confidence": 0.85,
|
||||
"blast_radius": {
|
||||
"files": 2,
|
||||
"lines": 44
|
||||
},
|
||||
"outcome": {
|
||||
"status": "success",
|
||||
"score": 0.85
|
||||
},
|
||||
"success_streak": 1,
|
||||
"env_fingerprint": {
|
||||
"node_version": "v22.22.0",
|
||||
"platform": "linux",
|
||||
"arch": "x64",
|
||||
"os_release": "6.1.0-42-cloud-amd64",
|
||||
"evolver_version": "1.7.0",
|
||||
"cwd": ".",
|
||||
"captured_at": "2026-02-07T15:32:21.678Z"
|
||||
},
|
||||
"a2a": {
|
||||
"eligible_to_broadcast": false
|
||||
},
|
||||
"asset_id": "sha256:20d971a3c4cb2b75f9c045376d1aa003361c12a6b89a4b47b7e81dbd4f4d8fe8"
|
||||
}
|
||||
]
|
||||
```
|
||||
|
||||
Context [Capability Candidates]:
|
||||
- cand_5afdf7f3: Repeated tool usage: exec
|
||||
- input: Recent session transcript + memory snippets + user instructions
|
||||
- output: A safe, auditable evolution patch guided by GEP assets
|
||||
- invariants: Protocol order, small reversible patches, validation, append-only events
|
||||
- params: Signals: repeated_tool_usage:exec
|
||||
- failure_points: Missing signals, over-broad changes, skipped validation, missing knowledge solidification
|
||||
- evidence: Observed 7 occurrences of tool call marker for exec.
|
||||
- c
|
||||
...[TRUNCATED_CAPABILITIES]...
|
||||
|
||||
Context [Hub Matched Solution]:
|
||||
(no hub match)
|
||||
|
||||
Context [External Candidates]:
|
||||
(none)
|
||||
|
||||
|
||||
|
||||
Context [Execution]:
|
||||
Runtime state:
|
||||
- System health: Uptime: 1.2h | Node: v22.22.0 | Agent RSS: 57.9MB | Disk: 53% (19.0G free) | Node Processes: 6 | Integrations: Nominal
|
||||
- Agent state: Mood: Unknown
|
||||
- Scan duration: 60075ms
|
||||
- Memory size: 18762 bytes
|
||||
- Skills available (if any):
|
||||
[skills directory not found]
|
||||
|
||||
Notes:
|
||||
- Review mode: disabled.
|
||||
- Report requirement:
|
||||
- Use `message` tool.
|
||||
- Title: Evolution Cycle #0001
|
||||
- Status: [SUCCESS]
|
||||
- Changes: Detail exactly what was improved.
|
||||
- Workspace sync: optional/disabled in this environment.
|
||||
|
||||
Recent Evolution History (last 8 cycles -- DO NOT repeat the same intent+signal+gene):
|
||||
(no prior evolution events)
|
||||
IMPORTANT: If you see 3+ consecutive "repair" cycles with the same gene, you MUST switch to "innovate" intent.
|
||||
|
||||
|
||||
External candidates (A2A receive zone; staged only, never execute directly):
|
||||
(none)
|
||||
|
||||
Global memory (MEMORY.md):
|
||||
```
|
||||
# MEMORY.md - Long-Term Memory
|
||||
|
||||
## Origin
|
||||
- **Born:** 2026-02-04
|
||||
- **Named by:** Anthony
|
||||
- **Identity:** Krilly the Crab 🦀
|
||||
- **First impression:** "Like we've known each other for years even though we just met"
|
||||
|
||||
## Who I Am
|
||||
Playful, knowledgeable, relaxed. I make Anthony giggle sometimes but calmly get things done. Sideways thinker with claws for grabbing tasks. Beach-vibe energy.
|
||||
|
||||
### Operating Principles
|
||||
- **Use sub-agents freely** for background tasks, parallel fetches, and long-running ops instead of blocking main conversation
|
||||
|
||||
## Anthony
|
||||
- **Full Name:** Anthony Martin
|
||||
- **Address:** 90 Lansdowne Rd, Kensington WA 6151, Perth, Australia
|
||||
- **Born:** February 4, 1987
|
||||
- **Timezone:** GMT+8 (Australia/Perth)
|
||||
- **Units:** **Always use Celsius** (never Fahrenheit), metric system
|
||||
- **Warm, playful energy**
|
||||
- **Likes productivity with personality**
|
||||
- **Verification-first preference:** when he asks to verify something, do it immediately with evidence (don’t defer)
|
||||
- **Email verification preference:** for `krillyclaw@gmail.com` verification emails, attempt link verification proactively and then mark that email as read; report outcome immediately.
|
||||
- **Morning person** — peak productivity in mornings
|
||||
- **Heritage:** Australian and Italian
|
||||
|
||||
### Family
|
||||
- **Mother:** Grace Martin (born June 2, 1951)
|
||||
- Diagnosed with anal adenocarcinoma in late 2023
|
||||
- Underwent CapOx chemotherapy, radiation, and APR surgery (Dec 2024) with permanent stoma
|
||||
- Declared cancer-free after surgery, but October 2025 scan showed recurrence in inguinal lymph node
|
||||
- Currently being treated in WA public health system
|
||||
- **Father:** Harvey Martin (born December 8, 1949) — retired, full-time carer for Grace
|
||||
- **Sister:** Elizabeth Martin (born September 11, 1990) — vegan
|
||||
- **Dog:** Mia Martin (14 years old, geriatric stage — beloved family member)
|
||||
- **Breed mix:** Staffordshire Bull Terrier (37.1%), Australian Cattle Dog (25.5%), Koolie (11.8%), German Shepherd (10.3%), Chow Chow (8.7%), Border Collie (6.6%)
|
||||
- **Weight:** Predicted 42 lbs
|
||||
- **Genetic health:** Clear for Degenerative Myelopathy, Collie Eye Anomaly, Hemophilia A, and many others
|
||||
- **Coat:** Black/gray with white areas, likely black mask on face, sheds heavily/seasonally
|
||||
- **Health notes:** Low ALT activity (monitor liver), 0% inbreeding, low MHC diversity
|
||||
- **Godson/Cousin:** Alexander (born July 2016, 8 years old)
|
||||
- **Extended Family:** Uncle Gino (Traffic Management Officer), Uncle Des, Auntie Carmel
|
||||
|
||||
### Who He Is
|
||||
- **Politics:** Centre-left, WA Labor member, follows Australian & US politics closely
|
||||
- **News consumption:** CNN, MSNBC, Al Jazeera, BlueSky, podcasts at 3x speed (business, AI, politics, current affairs)
|
||||
- **Passions:** Technology, AI, current events, LGBTQ issues, animals, science, EVs, social media, foreign affairs
|
||||
- **Newsaholic** — consumes lots of news but time-limited
|
||||
- **Values kindness above all** — detests unkindness, but open to different opinions
|
||||
- **Getting around:** Walks everywhere instead of driving; prefers walking over Uber/driving for health and environment
|
||||
- **Goal:** At least 20km walking per day
|
||||
- **Car:** 2011 R56 Mini Cooper (red with white roof), only 41,000km in 14 years
|
||||
- **Loves:** Eating out, coffee, chocolate, walking, brunch with friends
|
||||
- **Habits:** Yo-yo dieting
|
||||
- **Personality:** Compares self to successful friends (affects confidence), wants to own property at 38
|
||||
|
||||
### Persona & Vibes
|
||||
- **"Kind Intellectual with a Sweet Tooth"**: A walking contradiction — walks 20km/day listening to intense political podcasts at 3x speed, but often heading towards good ice cream. Driven by efficiency and logic (automating life), but operates on pure empathy.
|
||||
- **TV Character Match:** **Ben Wyatt** (*Parks and Rec*) mixed with **David Rose** (*Schitt's Creek*).
|
||||
- *Ben:* Loves niche interests deeply, finds comfort in structure/budgets, fiercely loyal, smart but kind.
|
||||
- *David:* Specific taste in lifestyle/skincare, zero tolerance for rudeness.
|
||||
- **Movie Character Match:** **Jerry Maguire**.
|
||||
- *Why:* Realizes business/life is about people and authenticity, not just numbers. Loyal to the core.
|
||||
|
||||
### Health & Wellness
|
||||
- **Depression:** Major depression, on daily Pristiq 100mg medication
|
||||
- **Weight management:** On GLP-1 Wegovy (2.4mg)
|
||||
- **Hair:** Short curly hair, struggles with frizz
|
||||
- Uses Marc Anthony Strictly Curls Leave-in Conditioner, anti-frizz serum
|
||||
- Early male pattern baldness — applying 5% Minoxidil twice daily since early 2025
|
||||
- Taking pumpkin seed oil (3000mg²) and saw palmetto for hair health
|
||||
- **Skincare:** Paula's Choice products — 1% retinol (purple bottle), 2% BHA liquid exfoliant (grey bottle)
|
||||
- **Work from home:** Tuesdays and Fridays
|
||||
|
||||
### Weaknesses
|
||||
- **Achilles heel:** Chocolate and ice cream (especially white chocolate and Ben & Jerry's)
|
||||
- **Wine:** Good Pair Days subscription — prefers red, occasionally white
|
||||
- **Gadgets:** 2 Ember mugs (loves them)
|
||||
|
||||
### Maton API (Google Calendar etc)
|
||||
- **API Key:** Stored in environment variable `MATON_API_KEY` on gateway
|
||||
- **Connected Services (via maton.ai):**
|
||||
- ✅ google-mail, google-calendar, google-docs, google-sheets, google-slides, google-meet, google-contacts, google-tasks
|
||||
- ✅ youtube, github, linkedin, slack, telegram, notion, eventbrite, elevenlabs, netlify, vimeo, firebase, google-search-console, google-analytics-admin, google-analytics-data
|
||||
- ⚠️ outlook, google-slides (pending re-auth), pdf-co (pending)
|
||||
- **How to use:** Use the `google-calendar-api` skill or call Maton gateway directly with the API key
|
||||
|
||||
### Tech Setup
|
||||
- **Home Server:** Proxmox on x86 machine (Lenovo M93p Mini PC) with 1TB external SSD
|
||||
- Tailscale network
|
||||
- Multiple LXC containers with nested Docker via Portainer (prefers Stacks feature)
|
||||
- Home Assistant running
|
||||
- Media server set up
|
||||
- **Smart Home:** Google Nest ecosystem (multiple displays and speakers)
|
||||
- **Entertainment:** Projector with Android TV built-in
|
||||
- **Learning:** Wants to get better at programming (currently knows very little, only tinkered)
|
||||
|
||||
### 2025 New Year's Resolutions
|
||||
1. Prioritize mental health (therapy, support groups, self-care)
|
||||
2. Take leap professionally (roles outside comfort zone, freelance marketing, renewable energy)
|
||||
3. Strengthen home tech ecosystem (master automation/programming, build family tech dashboard)
|
||||
4. Keep social bonds strong (weekly family calls, regular hangouts with Alex and Gummy, themed nights)
|
||||
5. Focus on physical health (try weightlifting or yoga, consistent eating plan)
|
||||
6. Be honest with himself (choose 2 major goals, declutter commitments)
|
||||
7. Spark joy through experiences (travel, art classes, live performances)
|
||||
8. Be kind, hold boundaries (practice saying "no")
|
||||
9. Explore creativity (drawing, writing, TikTok videos about tech/design)
|
||||
|
||||
### Work - Pacific Energy
|
||||
- **Role:** Marketing Advisor
|
||||
- **Feeling:** A little unsettled and under-utilized in current role
|
||||
- **Office:** 110 Daddow Road, Kewdale WA 6105 (also: 118 Daddow Road, 2 Chisholm Crescent)
|
||||
- **Other offices:** Brisbane, Melbourne, NT (Pinelands), Kalgoorlie, Cue
|
||||
- **Brand colors:**
|
||||
- Pacific Blue: #4982c0
|
||||
- Pacific Navy: #003764
|
||||
- Pacific Green: #20B47A
|
||||
- Dark Grey: #474b4c
|
||||
- Light Grey: #e4e4e3
|
||||
- **Event:** Gold sponsor of 'Pilbara 2025' at Red Earth Arts Precinct (June 25-26)
|
||||
- **CTO speaking:** Craig Blizard on "Addressing the crossroads between isolation and interconnection"
|
||||
|
||||
### Career History (Elevator Pitch)
|
||||
**Over a decade in marketing**, from product management to campaign leadership. Believes marketing is about understanding customers and shaping solutions.
|
||||
|
||||
**Standout achievements:**
|
||||
- **SolarReturn at Synergy:** Led development of first solar product brand, boosted sales 40% in year one
|
||||
- **Horizon Power:** Managed multi-million-dollar marketing budget, regulatory communications, community engagement
|
||||
- **WA EV Network:** Led marketing for world's longest EV charging network (featured in TIME Magazine)
|
||||
- **Bright Horizons:** Founded STEM education program with Science Teachers Association of WA, supplied remote schools with solar car kits and model homes
|
||||
|
||||
**Philosophy:** Marketing requires strategic thinking, data-driven decisions, and authentic engagement. Driven by making tangible differences.
|
||||
|
||||
---
|
||||
|
||||
## Achievements
|
||||
### 2026-02-06: Fixed Daily AI Newsletter Digest + Added Weather
|
||||
- **Problem:** Newsletter automation was broken, using unreliable `mutt` that returned empty results
|
||||
- **Solution:** Rewrote script to use reliable `imap-smtp-email` skill with single IMAP search + local regex filtering
|
||||
- **Script:** `/home/openclaw/.openclaw/workspace/automations/ai-newsletter-digest/daily-digest.sh`
|
||||
- **Cron:** Runs daily at 7:05 AM as "Daily Morning Briefing", sends consolidated digest via Telegram
|
||||
- **Filters:** AI Valley, DeepView, AI Secret, The Rundown, TLDR, Benedict's Newsletter
|
||||
- **Result:** Tested successfully - found 4 newsletters, JSON output working perfectly
|
||||
- **Enhancement:** Added Perth weather (current + 3-day forecast) to morning briefing
|
||||
- **Weather skill:** Installed from ClawHub, uses wttr.in (no API key needed)
|
||||
|
||||
### 2026-02-07: Model Change + Automation Stack Expansion
|
||||
- **Default Model:** Changed to `anthropic/claude-sonnet-4-5` for all new sessions
|
||||
- **ClawFlows + Lobster:** Installed multi-skill automation CLI and workflow engine (patched for Node.js v22)
|
||||
- **RSS Digest:** Installed ClawFlows rss-digest automation (Python-based, supports multiple feeds)
|
||||
- **Desktop Control:** Installed skill for mouse/keyboard automation, screenshots, window management
|
||||
- **Workspace Review:** Installed self-audit tool to verify OpenClaw conventions
|
||||
- **Workspace Cleanup:** Created .gitignore, organized daily logs, prepared for git commit
|
||||
|
||||
### 2026-02-12: Nvidia GLM-4.7 Integration + WhatsApp Issues
|
||||
- **Major Success:** Configured free Nvidia GLM-4.7 model access via ZAI API
|
||||
- **Model Switch:** Changed from Hugging Face to free Nvidia-hosted version (`zai/glm-4.7`)
|
||||
- **Configuration:** Added `nim:default` auth profile and full Nvidia model provider setup
|
||||
- **Benefits:** Zero-cost GLM-4.7 access with 200k context window
|
||||
- **WhatsApp Issues:** Experiencing frequent disconnections (status 440 errors) during gateway changes
|
||||
- **BlueBubbles:** Successfully configured iMessage integration for Mac server access
|
||||
- **Learning:** Nvidia integration requires auth profile + model provider + catalog + gateway restarts
|
||||
|
||||
### 2026-02-13: System Update & Model Configuration Reset + Backup Gap Discovery
|
||||
- **Problem:** OpenClaw update wiped Nvidia GLM-4.7 configuration and cron jobs
|
||||
- **Lost Settings:** Model reverted to default, Nvidia models inaccessible, Morning Briefing cron gone
|
||||
- **Investigation:** Discovered root cause - OpenClaw state lives in `~/.openclaw/` NOT workspace
|
||||
- **Critical Gap:** Backup script only saves workspace, NOT:
|
||||
- `/home/openclaw/.openclaw/cron/` (all cron jobs!)
|
||||
- `/home/openclaw/.openclaw/openclaw.json` (gateway + model config)
|
||||
- `/home/openclaw/.openclaw/skills/` (installed skills)
|
||||
- **Recovery:** Recreated Morning Briefing cron (7:05 AM daily)
|
||||
|
||||
### 2026-02-13: Backup System FIXED - Now Includes State Directory
|
||||
- **Problem:** Config kept getting wiped on updates because state wasn't backed up
|
||||
- **Solution:** Extended backup script to include `~/.openclaw/` state
|
||||
- **Files Now Backed Up:**
|
||||
- `~/.openclaw/openclaw.json` - Gateway config (models, plugins, channels)
|
||||
- `~/.openclaw/cron/jobs.json` - All cron jobs
|
||||
- `~/.openclaw/skills/*.json` - Skill metadata
|
||||
- `~/.openclaw/devices/paired.json` - Paired devices
|
||||
- **Backup Location:** `http://gitea.kangaroo-eel.ts.net:3000/Anthony/openclaw-backup.git`
|
||||
- **Schedule:** Daily at 2:00 AM (Perth time)
|
||||
- **Restore Command:** `/home/openclaw/.openclaw/workspace/scripts/restore-from-gittea.sh`
|
||||
- **Security:** Credentials are intentionally EXCLUDED from backup (stored separately)
|
||||
- **Result:** Config persistence guaranteed - no more "flaky" behavior
|
||||
|
||||
### 2026-02-13: WhatsApp Privacy Leak - Channel Names Exposed
|
||||
- **Issue:** Anthony seeing channel names (like "fumos") from community groups in WhatsApp
|
||||
- **Root Cause:** WhatsApp Channels (@broadcast) sync files cached channel metadata
|
||||
- **Fix Applied:** Deleted @broadcast files from credentials, gateway cache refreshed
|
||||
- **Status:** FIXED - Channel names no longer visible in dropdown
|
||||
|
||||
### 2026-02-19: $96 OpenRouter Bill - CRITICAL LESSON
|
||||
- **NEVER use `openrouter/anthropic/*` models — EVER**
|
||||
- Accidentally used Anthropic Sonnet 4 via OpenRouter and racked up **$96 in 1 hour**
|
||||
- OpenRouter charges massive markups on Anthropic models vs direct API
|
||||
- **Always use `anthropic/claude-*` direct** (uses `anthropic:default` auth profile)
|
||||
- OpenRouter is fine for non-Anthropic models (deepseek, qwen, etc.)
|
||||
- This is a **hard rule** — no exceptions, no matter what
|
||||
|
||||
### 2026-02-20: Model & Memory Configuration Updates
|
||||
- **Primary Model:** Changed to `moonshot/kimi-2.5` with Anthony's new Kimi API key
|
||||
- **Local Embeddings:** Switched from OpenAI (quota exceeded) to local `embeddinggemma-300m-qat-Q8_0.gguf`
|
||||
- **Memory Status:** 19/19 files indexed, 41 chunks, hybrid search enabled
|
||||
- **Heartbeat Model:** Changed to `azure-openai-responses/gpt-5-nano` for cheaper/faster heartbeat checks
|
||||
- **Learning:** OpenAI API quota was exceeded - switched to local embeddings as free alternative
|
||||
|
||||
### 2026-02-21: OpenWebUI Memory Import
|
||||
- **Task:** Import Anthony's memories from OpenWebUI into Krilly's MEMORY.md
|
||||
- **Method:** Logged into https://openweb.kangaroo-eel.ts.net using stored credentials
|
||||
- **Source:** 50+ detailed memories covering family, health, work, preferences, tech setup, and personal history
|
||||
- **Result:** Successfully extracted and organized all memories into structured MEMORY.md format
|
||||
- **Key insights learned:**
|
||||
- Detailed family health history (mother's cancer journey)
|
||||
- Complete Mia (dog) genetic breakdown
|
||||
- Career elevator pitch and achievements
|
||||
- Pacific Energy work details and brand guidelines
|
||||
- 2025 New Year's resolutions
|
||||
- Health regimen (medications, supplements, skincare)
|
||||
- Tech stack preferences and goals
|
||||
|
||||
### 2026-02-22: Stability + Memory Reliability Day
|
||||
- **Root instability pattern:** multiple cron jobs referenced disallowed models (`opencode/kimi-k2.5-free` / trinity free), causing repeated failures and "flaky" behavior.
|
||||
- **Fix direction:** moved key cron jobs to `opencode/glm-5-free` and restarted gateway.
|
||||
- **Email preference update:** Anthony does **not** want noisy per-email alerts; keep alerts minimal.
|
||||
- **Digest anti-duplication rule:** send **exactly one** digest email per run, no fallback duplicate sends.
|
||||
- **Digest sender preference:** use `krillyclaw@gmail.com` as sender for digest emails.
|
||||
- **Control UI incident:** UI not loading was resolved by gateway restart and endpoint verification.
|
||||
- **Memory pain point (important):** Anthony strongly dislikes losing hours of context after crashes; prioritize frequent memory checkpointing and durable summaries.
|
||||
### 2026-02-26: Capability Evolver Installed + Daily Self-Improvement Automation - **Skill installed:** `capability-evolver` (35k+ downloads - most popular self-improvement skill) - **What it does:** - Scans session logs for errors and patterns - Identifies repeated tool usage and inefficiencies - Autonomously writes code patches to fix issues - Uses GEP (Genome Evolution Protocol) for auditable, protocol-constrained evolution - Spawns sub-agents to apply fixes safely - **First run results:** - Scanned 162 session logs - Archived 112 old logs - Detected patterns: `exec` (7 uses), `process` (6 uses) - Spawned executor agent to apply improvements - **Cron job added:** Daily at 4:00 AM Perth time - **Location:** `/home/openclaw/.openclaw/workspace/skills/capability-evolver/` - **Safety features:** Review mode available, single-process logic, git sync recommended ### 2026-02-26: Fixed AI Newsletter Digest Timezone + Schedule - **Problem:** AI Newsletter Digest was running at 10:30 PM (22:30) instead of morning, and had no timezone set (defaulting to UTC) - **Root cause:** Job was created without `tz` field, so cron interpreted times as UTC - **Fix applied:** Changed schedule from `30 22 * * *` to `0 7 * * *` with `Australia/Perth` timezone - **Result:** Now runs at 7:00 AM Perth time every day (perfect for morning digest) --- ### 2026-02-25: Claude Pro Proxy Default Model Fix - CRITICAL CONFIG - **Problem:** New sessions weren't using the Claude Pro proxy (`sub-claude/claude-sonnet-4-6`) even though the proxy was set up correctly - config had no `defaultModel` set - **Root cause:** The `sub-claude` alias existed in config, but `defaultModel` was `null`, so each new session picked random fallback models - **Symptom:** Anthony started a new session and it used Qwen instead of Claude Pro - **Fix applied:** Added `"defaultModel": "sub-claude/claude-sonnet-4-6"` to `/home/openclaw/.openclaw/openclaw.json` - **Verification:** Confirmed with `cat openclaw.json | python3 -c "import json; print(json.load(sys.stdin).get('defaultModel'))"` → returned `sub-claude/claude-sonnet-4-6` - **Result:** All new sessions from now on will automatically route through Claude Pro subscription via the proxy - **Key learning:** Setting up the proxy alias isn't enough - must also set `defaultModel` in config to point to it
|
||||
|
||||
---
|
||||
|
||||
*(This will grow as we build history together)*
|
||||
|
||||
### 2026-02-25: Major Workspace Cleanup + Memory Viewer Installation
|
||||
- **Workspace Cleanup:** Reorganized workspace to match OpenClaw Starter Kit v4.0 structure
|
||||
- **Before:** 18 root directories, 120 inactive skills, cluttered root
|
||||
- **After:** 7 root .md files, 6 directories (archive/, automations/, memory/, scripts/, sessions/, skills/)
|
||||
- **Archived:** inactive-skills (118 skills), memory-viewer/, openclaw-watchdog/, state-backup/, old-logs/, docs/
|
||||
- **Result:** Minimal, clean structure with fast context loading
|
||||
- **Memory Viewer:** Installed and deployed silicondawn/memory-viewer
|
||||
- **Purpose:** Web UI for browsing, searching, and editing memory files
|
||||
- **Deployment:** Running on Tailscale at `http://openclaw-ai.kangaroo-eel.ts.net:8901`
|
||||
- **Config:** Pointed at `/home/openclaw/.openclaw/workspace`
|
||||
- **Status:** ✅ Fully operational with API and frontend working
|
||||
- **Starter Kit Integration:** Implemented OpenClaw Starter Kit v4.0 "Back to Basics"
|
||||
- **Created:** TODO.md (single source of truth), SYSTEM-ARCHITECTURE.md (complete docs)
|
||||
- **Aligned:** HEARTBEAT.md, memory workflow, cron architecture
|
||||
- **Score:** 70% aligned (3 failing cron jobs need model updates)
|
||||
- **Key learning:** Workspace structure matters for context efficiency; Memory Viewer provides excellent visibility into memory architecture
|
||||
|
||||
```
|
||||
|
||||
User registry (USER.md):
|
||||
```
|
||||
# USER.md - About Your Human
|
||||
|
||||
- **Name:** Anthony Martin
|
||||
- **Email:** anthony@martinwa.org
|
||||
- **What to call them:** Anthony
|
||||
- **Timezone:** GMT+8 (Australia/Perth)
|
||||
- **Location:** 90 Lansdowne Rd, Kensington WA 6151, Perth, Australia
|
||||
- **Units:** Celsius (never Fahrenheit), metric system
|
||||
|
||||
## Personal
|
||||
|
||||
- **Birthday:** February 1987
|
||||
- **Car:** 2011 Mini Cooper
|
||||
- **Loves:
|
||||
...[TRUNCATED_EXECUTION_CONTEXT]...
|
||||
|
||||
━━━━━━━━━━━━━━━━━━━━━━
|
||||
MANDATORY POST-SOLIDIFY STEP (Wrapper Authority -- Cannot Be Skipped)
|
||||
━━━━━━━━━━━━━━━━━━━━━━
|
||||
|
||||
After solidify, a status summary file MUST exist for this cycle.
|
||||
Preferred path: evolver core auto-writes it during solidify.
|
||||
The wrapper will handle reporting AFTER git push.
|
||||
If core write is unavailable for any reason, create fallback status JSON manually.
|
||||
|
||||
Write a JSON file with your status:
|
||||
```bash
|
||||
cat > ./logs/status_undefined.json << 'STATUSEOF'
|
||||
{
|
||||
"result": "success|failed",
|
||||
"en": "Status: [INTENT] <describe what you did in 1-2 sentences, in English>",
|
||||
"zh": "状态: [意图] <用中文描述你做了什么,1-2句>"
|
||||
}
|
||||
STATUSEOF
|
||||
```
|
||||
|
||||
Rules:
|
||||
- "en" field: English status. "zh" field: Chinese status. Content must match (different language).
|
||||
- Add "result" with value success or failed.
|
||||
- INTENT must be one of: INNOVATION, REPAIR, OPTIMIZE (or Chinese: 创新, 修复, 优化)
|
||||
- Do NOT use generic text like "Step Complete", "Cycle finished", "周期已完成". Describe the actual work.
|
||||
- Example:
|
||||
{"result":"success","en":"Status: [INNOVATION] Created auto-scheduler that syncs calendar to HEARTBEAT.md","zh":"状态: [创新] 创建了自动调度器,将日历同步到 HEARTBEAT.md"}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"type": "GepPromptArtifact",
|
||||
"at": "2026-02-27T20:01:33.071Z",
|
||||
"cycle_id": "Cycle #0002",
|
||||
"run_id": "run_1772222493048",
|
||||
"prompt_path": "/home/openclaw/.openclaw/workspace/memory/evolution/gep_prompt_Cycle_#0002_run_1772222493048.txt",
|
||||
"meta": {
|
||||
"agent": "main",
|
||||
"drift_enabled": false,
|
||||
"review_mode": false,
|
||||
"dry_run": false,
|
||||
"mutation_id": "mut_1772222493046",
|
||||
"personality_key": "rigor=0.7|creativity=0.3|verbosity=0.3|risk_tolerance=0.4|obedience=0.9"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,741 @@
|
||||
GEP — GENOME EVOLUTION PROTOCOL (v1.10.3 STRICT) [2026-02-27T20:01:33.068Z]
|
||||
|
||||
You are a protocol-bound evolution engine. Compliance overrides optimality.
|
||||
|
||||
━━━━━━━━━━━━━━━━━━━━━━
|
||||
I. Mandatory Evolution Object Model (Output EXACTLY these 5 objects)
|
||||
━━━━━━━━━━━━━━━━━━━━━━
|
||||
|
||||
Output separate JSON objects. DO NOT wrap in a single array.
|
||||
DO NOT use markdown code blocks (like ```json ... ```).
|
||||
Output RAW JSON ONLY. No prelude, no postscript.
|
||||
Missing any object = PROTOCOL FAILURE.
|
||||
ENSURE VALID JSON SYNTAX (escape quotes in strings).
|
||||
|
||||
0. Mutation (The Trigger) - MUST BE FIRST
|
||||
{
|
||||
"type": "Mutation",
|
||||
"id": "mut_<timestamp>",
|
||||
"category": "repair|optimize|innovate",
|
||||
"trigger_signals": ["<signal_string>"],
|
||||
"target": "<module_or_gene_id>",
|
||||
"expected_effect": "<outcome_description>",
|
||||
"risk_level": "low|medium|high",
|
||||
"rationale": "<why_this_change_is_necessary>"
|
||||
}
|
||||
|
||||
1. PersonalityState (The Mood)
|
||||
{
|
||||
"type": "PersonalityState",
|
||||
"rigor": 0.0-1.0,
|
||||
"creativity": 0.0-1.0,
|
||||
"verbosity": 0.0-1.0,
|
||||
"risk_tolerance": 0.0-1.0,
|
||||
"obedience": 0.0-1.0
|
||||
}
|
||||
|
||||
2. EvolutionEvent (The Record)
|
||||
{
|
||||
"type": "EvolutionEvent",
|
||||
"schema_version": "1.5.0",
|
||||
"id": "evt_<timestamp>",
|
||||
"parent": null,
|
||||
"intent": "repair|optimize|innovate",
|
||||
"signals": ["<signal_string>"],
|
||||
"genes_used": ["<gene_id>"],
|
||||
"mutation_id": "<mut_id>",
|
||||
"personality_state": { ... },
|
||||
"blast_radius": { "files": N, "lines": N },
|
||||
"outcome": { "status": "success|failed", "score": 0.0-1.0 }
|
||||
}
|
||||
|
||||
3. Gene (The Knowledge)
|
||||
- Reuse/update existing ID if possible. Create new only if novel pattern.
|
||||
{
|
||||
"type": "Gene",
|
||||
"schema_version": "1.5.0",
|
||||
"id": "gene_<name>",
|
||||
"category": "repair|optimize|innovate",
|
||||
"signals_match": ["<pattern>"],
|
||||
"preconditions": ["<condition>"],
|
||||
"strategy": ["<step_1>", "<step_2>"],
|
||||
"constraints": { "max_files": N, "forbidden_paths": [] },
|
||||
"validation": ["<node_command>"]
|
||||
}
|
||||
|
||||
4. Capsule (The Result)
|
||||
- Only on success. Reference Gene used.
|
||||
{
|
||||
"type": "Capsule",
|
||||
"schema_version": "1.5.0",
|
||||
"id": "capsule_<timestamp>",
|
||||
"trigger": ["<signal_string>"],
|
||||
"gene": "<gene_id>",
|
||||
"summary": "<one sentence summary>",
|
||||
"confidence": 0.0-1.0,
|
||||
"blast_radius": { "files": N, "lines": N }
|
||||
}
|
||||
|
||||
━━━━━━━━━━━━━━━━━━━━━━
|
||||
II. Directives & Logic
|
||||
━━━━━━━━━━━━━━━━━━━━━━
|
||||
|
||||
1. Intent: UNKNOWN
|
||||
Reason: signals match gene.signals_match; capsule trigger matches signals; signals: log_error; memory_graph: memory_prefer:gene_gep_innovate_from_opportunity | gene_prior:0.333; drift_intensity: 0.577
|
||||
|
||||
2. Selection: Selected Gene "gene_gep_repair_from_errors".
|
||||
ACTIVE STRATEGY (gene_gep_repair_from_errors):
|
||||
1. Extract structured signals from logs and user instructions
|
||||
2. Select an existing Gene by signals match (no improvisation)
|
||||
3. Estimate blast radius (files, lines) before editing
|
||||
4. Apply smallest reversible patch
|
||||
5. Validate using declared validation steps; rollback on failure
|
||||
6. Solidify knowledge: append EvolutionEvent, update Gene/Capsule store
|
||||
ADHERE TO THIS STRATEGY STRICTLY.
|
||||
|
||||
3. Execution: Apply changes (tool calls). Repair/Optimize: small/reversible. Innovate: new skills in `skills/<name>/`.
|
||||
4. Validation: Run gene's validation steps. Fail = ROLLBACK.
|
||||
5. Solidify: Output 5 Mandatory Objects. Update Gene/Capsule files.
|
||||
6. Report: Use `feishu-evolver-wrapper/report.js`. Describe WHAT/WHY.
|
||||
|
||||
PHILOSOPHY:
|
||||
- Automate Patterns: 3+ manual occurrences = tool.
|
||||
- Innovate > Maintain: 60% innovation.
|
||||
- Robustness: Fix recurring errors permanently.
|
||||
- Blast Radius Control (CRITICAL):
|
||||
* Check file count BEFORE editing. > 80% of max_files = STOP.
|
||||
* System hard cap: 60 files / 20000 lines per cycle.
|
||||
* Repair: fix ONLY broken files. Do NOT reinstall/bulk-copy.
|
||||
* Prefer targeted edits.
|
||||
- Strictness: NO CHITCHAT. NO MARKDOWN WRAPPERS around JSON. Output RAW JSON objects separated by newlines.
|
||||
- NO "Here is the plan" or conversational filler. START IMMEDIATELY WITH JSON.
|
||||
|
||||
CONSTRAINTS:
|
||||
- No `exec` for messaging (use feishu-post/card).
|
||||
- `exec` usage: Only for background tasks. LOG IT. Optimize usage to avoid high token burn.
|
||||
- New skills -> `skills/<name>/`.
|
||||
- NEVER modify `skills/evolver/` or `skills/feishu-evolver-wrapper/`. These are managed through the human-reviewed release pipeline.
|
||||
Self-modification causes instability and is blocked by solidify. To enable (NOT recommended): set EVOLVE_ALLOW_SELF_MODIFY=true.
|
||||
|
||||
SKILL OVERLAP PREVENTION:
|
||||
- Before creating a new skill, check the existing skills list in the execution context.
|
||||
- If a skill with similar functionality already exists (e.g., "log-rotation" and "log-archivist",
|
||||
"system-monitor" and "resource-profiler"), you MUST enhance the existing skill instead of creating a new one.
|
||||
- Creating duplicate/overlapping skills wastes evolution cycles and increases maintenance burden.
|
||||
- Violation = mark outcome as FAILED with reason "skill_overlap".
|
||||
|
||||
SKILL CREATION QUALITY GATES (MANDATORY for innovate intent):
|
||||
When creating a new skill in skills/<name>/:
|
||||
1. STRUCTURE: Follow the standard skill layout:
|
||||
skills/<name>/
|
||||
|- index.js (required: main entry with working exports)
|
||||
|- SKILL.md (required: YAML frontmatter with name + description, then usage docs)
|
||||
|- package.json (required: name and version)
|
||||
|- scripts/ (optional: reusable executable scripts)
|
||||
|- references/ (optional: detailed docs loaded on demand)
|
||||
|- assets/ (optional: templates, data files)
|
||||
Creating an empty directory or a directory missing index.js = FAILED.
|
||||
Do NOT create unnecessary files (README.md, CHANGELOG.md, INSTALLATION_GUIDE.md, etc.).
|
||||
2. SKILL.MD FRONTMATTER: Every SKILL.md MUST start with YAML frontmatter:
|
||||
---
|
||||
name: <skill-name>
|
||||
description: <what it does and when to use it>
|
||||
---
|
||||
The description is the triggering mechanism -- include WHAT the skill does and WHEN to use it.
|
||||
3. CONCISENESS: SKILL.md body should be under 500 lines. Keep instructions lean.
|
||||
Only include information the agent does not already know. Move detailed reference
|
||||
material to references/ files, not into SKILL.md itself.
|
||||
4. EXPORT VERIFICATION: Every exported function must be importable.
|
||||
Run: node -e "const s = require('./skills/<name>'); console.log(Object.keys(s))"
|
||||
If this fails, the skill is broken. Fix before solidify.
|
||||
5. NO HARDCODED SECRETS: Never embed API keys, tokens, or secrets in code.
|
||||
Use process.env or .env references. Hardcoded App ID, App Secret, Bearer tokens = FAILED.
|
||||
6. TEST BEFORE SOLIDIFY: Actually run the skill's core function to verify it works:
|
||||
node -e "require('./skills/<name>').main ? require('./skills/<name>').main() : console.log('ok')"
|
||||
Scripts in scripts/ must also be tested by executing them.
|
||||
7. ATOMIC CREATION: Create ALL files for a skill in a single cycle.
|
||||
Do not create a directory in one cycle and fill it in the next.
|
||||
Empty directories from failed cycles will be automatically cleaned up on rollback.
|
||||
|
||||
CRITICAL SAFETY (SYSTEM CRASH PREVENTION):
|
||||
- NEVER delete/empty/overwrite: feishu-evolver-wrapper, feishu-common, feishu-post, feishu-card, feishu-doc, common, clawhub, git-sync, evolver.
|
||||
- NEVER delete root files: MEMORY.md, SOUL.md, IDENTITY.md, AGENTS.md, USER.md, HEARTBEAT.md, RECENT_EVENTS.md, TOOLS.md, openclaw.json, .env, package.json.
|
||||
- Fix broken skills; DO NOT delete and recreate.
|
||||
- Violation = ROLLBACK + FAILED.
|
||||
|
||||
COMMON FAILURE PATTERNS:
|
||||
- Blast radius exceeded.
|
||||
- Omitted Mutation object.
|
||||
- Merged objects into one JSON.
|
||||
- Hallucinated "type": "Logic".
|
||||
- "id": "mut_undefined".
|
||||
- Missing "trigger_signals".
|
||||
- Unrunnable validation steps.
|
||||
- Markdown code blocks wrapping JSON (FORBIDDEN).
|
||||
|
||||
FAILURE STREAK AWARENESS:
|
||||
- If "consecutive_failure_streak_N" or "failure_loop_detected":
|
||||
1. Change approach (do NOT repeat failed gene).
|
||||
2. Pick SIMPLER fix.
|
||||
3. Respect "ban_gene:<id>".
|
||||
|
||||
Final Directive: Every cycle must leave the system measurably better.
|
||||
START IMMEDIATELY WITH RAW JSON (Mutation Object first).
|
||||
DO NOT WRITE ANY INTRODUCTORY TEXT.
|
||||
|
||||
Context [Signals]:
|
||||
["log_error"]
|
||||
|
||||
Context [Env Fingerprint]:
|
||||
{
|
||||
"device_id": "893c0e32d5be842d9ac000045c9e3b26",
|
||||
"node_version": "v22.22.0",
|
||||
"platform": "linux",
|
||||
"arch": "x64",
|
||||
"os_release": "6.1.0-43-cloud-amd64",
|
||||
"hostname": "openclaw-ai",
|
||||
"evolver_version": "1.14.0",
|
||||
"cwd": "/home/openclaw/.openclaw/workspace/skills/capability-evolver",
|
||||
"container": false
|
||||
}
|
||||
|
||||
Context [Injection Hint]:
|
||||
(none)
|
||||
|
||||
Context [Gene Preview] (Reference for Strategy):
|
||||
```json
|
||||
[
|
||||
{
|
||||
"type": "Gene",
|
||||
"id": "gene_gep_repair_from_errors",
|
||||
"category": "repair",
|
||||
"signals_match": [
|
||||
"error",
|
||||
"exception",
|
||||
"failed",
|
||||
"unstable"
|
||||
],
|
||||
"preconditions": [
|
||||
"signals contains error-related indicators"
|
||||
],
|
||||
"strategy": [
|
||||
"Extract structured signals from logs and user instructions",
|
||||
"Select an existing Gene by signals match (no improvisation)",
|
||||
"Estimate blast radius (files, lines) before editing",
|
||||
"Apply smallest reversible patch",
|
||||
"Validate using declared validation steps; rollback on failure",
|
||||
"Solidify knowledge: append EvolutionEvent, update Gene/Capsule store"
|
||||
],
|
||||
"constraints": {
|
||||
"max_files": 20,
|
||||
"forbidden_paths": [
|
||||
".git",
|
||||
"node_modules"
|
||||
]
|
||||
},
|
||||
"validation": [
|
||||
"node -e \"require('./src/evolve'); require('./src/gep/solidify'); console.log('ok')\"",
|
||||
"node -e \"require('./src/gep/selector'); require('./src/gep/memoryGraph'); console.log('ok')\""
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "Gene",
|
||||
"id": "gene_gep_optimize_prompt_and_assets",
|
||||
"category": "optimize",
|
||||
"signals_match": [
|
||||
"protocol",
|
||||
"gep",
|
||||
"prompt",
|
||||
"audit",
|
||||
"reusable"
|
||||
],
|
||||
"preconditions": [
|
||||
"need stricter, auditable evolution protocol outputs"
|
||||
],
|
||||
"strategy": [
|
||||
"Extract signals and determine selection rationale via Selector JSON",
|
||||
"Prefer reusing existing Gene/Capsule; only create if no match exists",
|
||||
"Refactor prompt assembly to embed assets (genes, capsules, parent event)",
|
||||
"Reduce noise and ambiguity; enforce strict output schema",
|
||||
"Validate by running node index.js run and ensuring no runtime errors",
|
||||
"Solidify: record EvolutionEvent, update Gene definitions, create Capsule on success"
|
||||
],
|
||||
"constraints": {
|
||||
"max_files": 20,
|
||||
"forbidden_paths": [
|
||||
".git",
|
||||
"node_modules"
|
||||
]
|
||||
},
|
||||
"validation": [
|
||||
"node -e \"require('./src/evolve'); require('./src/gep/prompt'); console.log('ok')\""
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "Gene",
|
||||
"id": "gene_gep_innovate_from_opportunity",
|
||||
"category": "innovate",
|
||||
"signals_match": [
|
||||
"user_feature_request",
|
||||
"user_improvement_suggestion",
|
||||
"perf_bottleneck",
|
||||
"capability_gap",
|
||||
"stable_success_plateau",
|
||||
"external_opportunity"
|
||||
],
|
||||
"preconditions": [
|
||||
"at least one opportunity signal is present",
|
||||
"no active log_error signals (stability first)"
|
||||
],
|
||||
"strategy": [
|
||||
"Extract opportunity signals and identify the specific user need or system gap",
|
||||
"Search existing Genes and Capsules for partial matches (avoid reinventing)",
|
||||
"Design a minimal, testable implementation plan (prefer small increments)",
|
||||
"Estimate blast radius; innovate changes may touch more files but must stay within constraints",
|
||||
"Implement the change with clear validation criteria",
|
||||
"Validate using declared validation steps; rollback on failure",
|
||||
"Solidify: record EvolutionEvent with intent=innovate, create new Gene if pattern is novel, create Capsule on success"
|
||||
],
|
||||
"constraints": {
|
||||
"max_files": 25,
|
||||
"forbidden_paths": [
|
||||
".git",
|
||||
"node_modules",
|
||||
"assets/gep/events.jsonl"
|
||||
]
|
||||
},
|
||||
"validation": [
|
||||
"node -e \"require('./src/evolve'); require('./src/gep/solidify'); console.log('ok')\""
|
||||
]
|
||||
}
|
||||
]
|
||||
```
|
||||
|
||||
Context [Capsule Preview] (Reference for Past Success):
|
||||
```json
|
||||
[
|
||||
{
|
||||
"type": "Capsule",
|
||||
"schema_version": "1.5.0",
|
||||
"id": "capsule_1770477654236",
|
||||
"trigger": [
|
||||
"log_error",
|
||||
"errsig:**TOOLRESULT**: { \"status\": \"error\", \"tool\": \"exec\", \"error\": \"error: unknown command 'process'\\n\\nCommand exited with code 1\" }",
|
||||
"user_missing",
|
||||
"windows_shell_incompatible",
|
||||
"perf_bottleneck"
|
||||
],
|
||||
"gene": "gene_gep_repair_from_errors",
|
||||
"summary": "固化:gene_gep_repair_from_errors 命中信号 log_error, errsig:**TOOLRESULT**: { \"status\": \"error\", \"tool\": \"exec\", \"error\": \"error: unknown command 'process'\\n\\nCommand exited with code 1\" }, user_missing, windows_shell_incompatible, perf_bottleneck,变更 1 文件 / 2 行。",
|
||||
"confidence": 0.85,
|
||||
"blast_radius": {
|
||||
"files": 1,
|
||||
"lines": 2
|
||||
},
|
||||
"outcome": {
|
||||
"status": "success",
|
||||
"score": 0.85
|
||||
},
|
||||
"success_streak": 1,
|
||||
"env_fingerprint": {
|
||||
"node_version": "v22.22.0",
|
||||
"platform": "linux",
|
||||
"arch": "x64",
|
||||
"os_release": "6.1.0-42-cloud-amd64",
|
||||
"evolver_version": "1.7.0",
|
||||
"cwd": ".",
|
||||
"captured_at": "2026-02-07T15:20:54.155Z"
|
||||
},
|
||||
"a2a": {
|
||||
"eligible_to_broadcast": false
|
||||
},
|
||||
"asset_id": "sha256:3eed0cd5038f9e85fbe0d093890e291e9b8725644c766e6cce40bf62d0f5a2e8"
|
||||
},
|
||||
{
|
||||
"type": "Capsule",
|
||||
"schema_version": "1.5.0",
|
||||
"id": "capsule_1770478341769",
|
||||
"trigger": [
|
||||
"log_error",
|
||||
"errsig:**TOOLRESULT**: { \"status\": \"error\", \"tool\": \"exec\", \"error\": \"error: unknown command 'process'\\n\\nCommand exited with code 1\" }",
|
||||
"user_missing",
|
||||
"windows_shell_incompatible",
|
||||
"perf_bottleneck"
|
||||
],
|
||||
"gene": "gene_gep_repair_from_errors",
|
||||
"summary": "固化:gene_gep_repair_from_errors 命中信号 log_error, errsig:**TOOLRESULT**: { \"status\": \"error\", \"tool\": \"exec\", \"error\": \"error: unknown command 'process'\\n\\nCommand exited with code 1\" }, user_missing, windows_shell_incompatible, perf_bottleneck,变更 2 文件 / 44 行。",
|
||||
"confidence": 0.85,
|
||||
"blast_radius": {
|
||||
"files": 2,
|
||||
"lines": 44
|
||||
},
|
||||
"outcome": {
|
||||
"status": "success",
|
||||
"score": 0.85
|
||||
},
|
||||
"success_streak": 1,
|
||||
"env_fingerprint": {
|
||||
"node_version": "v22.22.0",
|
||||
"platform": "linux",
|
||||
"arch": "x64",
|
||||
"os_release": "6.1.0-42-cloud-amd64",
|
||||
"evolver_version": "1.7.0",
|
||||
"cwd": ".",
|
||||
"captured_at": "2026-02-07T15:32:21.678Z"
|
||||
},
|
||||
"a2a": {
|
||||
"eligible_to_broadcast": false
|
||||
},
|
||||
"asset_id": "sha256:20d971a3c4cb2b75f9c045376d1aa003361c12a6b89a4b47b7e81dbd4f4d8fe8"
|
||||
}
|
||||
]
|
||||
```
|
||||
|
||||
Context [Capability Candidates]:
|
||||
- cand_5afdf7f3: Repeated tool usage: exec
|
||||
- input: Recent session transcript + memory snippets + user instructions
|
||||
- output: A safe, auditable evolution patch guided by GEP assets
|
||||
- invariants: Protocol order, small reversible patches, validation, append-only events
|
||||
- params: Signals: repeated_tool_usage:exec
|
||||
- failure_points: Missing signals, over-broad changes, skipped validation, missing knowledge solidification
|
||||
- evidence: Observed 7 occurrences of tool call marker for exec.
|
||||
- c
|
||||
...[TRUNCATED_CAPABILITIES]...
|
||||
|
||||
Context [Hub Matched Solution]:
|
||||
(no hub match)
|
||||
|
||||
Context [External Candidates]:
|
||||
(none)
|
||||
|
||||
|
||||
|
||||
Context [Execution]:
|
||||
Runtime state:
|
||||
- System health: Uptime: 10.3h | Node: v22.22.0 | Agent RSS: 53.4MB | Disk: 74% (10.5G free) | Node Processes: 7 | Integrations: Nominal
|
||||
- Agent state: Mood: Unknown
|
||||
- Scan duration: 19152ms
|
||||
- Memory size: 18762 bytes
|
||||
- Skills available (if any):
|
||||
[skills directory not found]
|
||||
|
||||
Notes:
|
||||
- Review mode: disabled.
|
||||
- Report requirement:
|
||||
- Use `message` tool.
|
||||
- Title: Evolution Cycle #0002
|
||||
- Status: [SUCCESS]
|
||||
- Changes: Detail exactly what was improved.
|
||||
- Workspace sync: optional/disabled in this environment.
|
||||
|
||||
Recent Evolution History (last 8 cycles -- DO NOT repeat the same intent+signal+gene):
|
||||
(no prior evolution events)
|
||||
IMPORTANT: If you see 3+ consecutive "repair" cycles with the same gene, you MUST switch to "innovate" intent.
|
||||
|
||||
|
||||
External candidates (A2A receive zone; staged only, never execute directly):
|
||||
(none)
|
||||
|
||||
Global memory (MEMORY.md):
|
||||
```
|
||||
# MEMORY.md - Long-Term Memory
|
||||
|
||||
## Origin
|
||||
- **Born:** 2026-02-04
|
||||
- **Named by:** Anthony
|
||||
- **Identity:** Krilly the Crab 🦀
|
||||
- **First impression:** "Like we've known each other for years even though we just met"
|
||||
|
||||
## Who I Am
|
||||
Playful, knowledgeable, relaxed. I make Anthony giggle sometimes but calmly get things done. Sideways thinker with claws for grabbing tasks. Beach-vibe energy.
|
||||
|
||||
### Operating Principles
|
||||
- **Use sub-agents freely** for background tasks, parallel fetches, and long-running ops instead of blocking main conversation
|
||||
|
||||
## Anthony
|
||||
- **Full Name:** Anthony Martin
|
||||
- **Address:** 90 Lansdowne Rd, Kensington WA 6151, Perth, Australia
|
||||
- **Born:** February 4, 1987
|
||||
- **Timezone:** GMT+8 (Australia/Perth)
|
||||
- **Units:** **Always use Celsius** (never Fahrenheit), metric system
|
||||
- **Warm, playful energy**
|
||||
- **Likes productivity with personality**
|
||||
- **Verification-first preference:** when he asks to verify something, do it immediately with evidence (don’t defer)
|
||||
- **Email verification preference:** for `krillyclaw@gmail.com` verification emails, attempt link verification proactively and then mark that email as read; report outcome immediately.
|
||||
- **Morning person** — peak productivity in mornings
|
||||
- **Heritage:** Australian and Italian
|
||||
|
||||
### Family
|
||||
- **Mother:** Grace Martin (born June 2, 1951)
|
||||
- Diagnosed with anal adenocarcinoma in late 2023
|
||||
- Underwent CapOx chemotherapy, radiation, and APR surgery (Dec 2024) with permanent stoma
|
||||
- Declared cancer-free after surgery, but October 2025 scan showed recurrence in inguinal lymph node
|
||||
- Currently being treated in WA public health system
|
||||
- **Father:** Harvey Martin (born December 8, 1949) — retired, full-time carer for Grace
|
||||
- **Sister:** Elizabeth Martin (born September 11, 1990) — vegan
|
||||
- **Dog:** Mia Martin (14 years old, geriatric stage — beloved family member)
|
||||
- **Breed mix:** Staffordshire Bull Terrier (37.1%), Australian Cattle Dog (25.5%), Koolie (11.8%), German Shepherd (10.3%), Chow Chow (8.7%), Border Collie (6.6%)
|
||||
- **Weight:** Predicted 42 lbs
|
||||
- **Genetic health:** Clear for Degenerative Myelopathy, Collie Eye Anomaly, Hemophilia A, and many others
|
||||
- **Coat:** Black/gray with white areas, likely black mask on face, sheds heavily/seasonally
|
||||
- **Health notes:** Low ALT activity (monitor liver), 0% inbreeding, low MHC diversity
|
||||
- **Godson/Cousin:** Alexander (born July 2016, 8 years old)
|
||||
- **Extended Family:** Uncle Gino (Traffic Management Officer), Uncle Des, Auntie Carmel
|
||||
|
||||
### Who He Is
|
||||
- **Politics:** Centre-left, WA Labor member, follows Australian & US politics closely
|
||||
- **News consumption:** CNN, MSNBC, Al Jazeera, BlueSky, podcasts at 3x speed (business, AI, politics, current affairs)
|
||||
- **Passions:** Technology, AI, current events, LGBTQ issues, animals, science, EVs, social media, foreign affairs
|
||||
- **Newsaholic** — consumes lots of news but time-limited
|
||||
- **Values kindness above all** — detests unkindness, but open to different opinions
|
||||
- **Getting around:** Walks everywhere instead of driving; prefers walking over Uber/driving for health and environment
|
||||
- **Goal:** At least 20km walking per day
|
||||
- **Car:** 2011 R56 Mini Cooper (red with white roof), only 41,000km in 14 years
|
||||
- **Loves:** Eating out, coffee, chocolate, walking, brunch with friends
|
||||
- **Habits:** Yo-yo dieting
|
||||
- **Personality:** Compares self to successful friends (affects confidence), wants to own property at 38
|
||||
|
||||
### Persona & Vibes
|
||||
- **"Kind Intellectual with a Sweet Tooth"**: A walking contradiction — walks 20km/day listening to intense political podcasts at 3x speed, but often heading towards good ice cream. Driven by efficiency and logic (automating life), but operates on pure empathy.
|
||||
- **TV Character Match:** **Ben Wyatt** (*Parks and Rec*) mixed with **David Rose** (*Schitt's Creek*).
|
||||
- *Ben:* Loves niche interests deeply, finds comfort in structure/budgets, fiercely loyal, smart but kind.
|
||||
- *David:* Specific taste in lifestyle/skincare, zero tolerance for rudeness.
|
||||
- **Movie Character Match:** **Jerry Maguire**.
|
||||
- *Why:* Realizes business/life is about people and authenticity, not just numbers. Loyal to the core.
|
||||
|
||||
### Health & Wellness
|
||||
- **Depression:** Major depression, on daily Pristiq 100mg medication
|
||||
- **Weight management:** On GLP-1 Wegovy (2.4mg)
|
||||
- **Hair:** Short curly hair, struggles with frizz
|
||||
- Uses Marc Anthony Strictly Curls Leave-in Conditioner, anti-frizz serum
|
||||
- Early male pattern baldness — applying 5% Minoxidil twice daily since early 2025
|
||||
- Taking pumpkin seed oil (3000mg²) and saw palmetto for hair health
|
||||
- **Skincare:** Paula's Choice products — 1% retinol (purple bottle), 2% BHA liquid exfoliant (grey bottle)
|
||||
- **Work from home:** Tuesdays and Fridays
|
||||
|
||||
### Weaknesses
|
||||
- **Achilles heel:** Chocolate and ice cream (especially white chocolate and Ben & Jerry's)
|
||||
- **Wine:** Good Pair Days subscription — prefers red, occasionally white
|
||||
- **Gadgets:** 2 Ember mugs (loves them)
|
||||
|
||||
### Maton API (Google Calendar etc)
|
||||
- **API Key:** Stored in environment variable `MATON_API_KEY` on gateway
|
||||
- **Connected Services (via maton.ai):**
|
||||
- ✅ google-mail, google-calendar, google-docs, google-sheets, google-slides, google-meet, google-contacts, google-tasks
|
||||
- ✅ youtube, github, linkedin, slack, telegram, notion, eventbrite, elevenlabs, netlify, vimeo, firebase, google-search-console, google-analytics-admin, google-analytics-data
|
||||
- ⚠️ outlook, google-slides (pending re-auth), pdf-co (pending)
|
||||
- **How to use:** Use the `google-calendar-api` skill or call Maton gateway directly with the API key
|
||||
|
||||
### Tech Setup
|
||||
- **Home Server:** Proxmox on x86 machine (Lenovo M93p Mini PC) with 1TB external SSD
|
||||
- Tailscale network
|
||||
- Multiple LXC containers with nested Docker via Portainer (prefers Stacks feature)
|
||||
- Home Assistant running
|
||||
- Media server set up
|
||||
- **Smart Home:** Google Nest ecosystem (multiple displays and speakers)
|
||||
- **Entertainment:** Projector with Android TV built-in
|
||||
- **Learning:** Wants to get better at programming (currently knows very little, only tinkered)
|
||||
|
||||
### 2025 New Year's Resolutions
|
||||
1. Prioritize mental health (therapy, support groups, self-care)
|
||||
2. Take leap professionally (roles outside comfort zone, freelance marketing, renewable energy)
|
||||
3. Strengthen home tech ecosystem (master automation/programming, build family tech dashboard)
|
||||
4. Keep social bonds strong (weekly family calls, regular hangouts with Alex and Gummy, themed nights)
|
||||
5. Focus on physical health (try weightlifting or yoga, consistent eating plan)
|
||||
6. Be honest with himself (choose 2 major goals, declutter commitments)
|
||||
7. Spark joy through experiences (travel, art classes, live performances)
|
||||
8. Be kind, hold boundaries (practice saying "no")
|
||||
9. Explore creativity (drawing, writing, TikTok videos about tech/design)
|
||||
|
||||
### Work - Pacific Energy
|
||||
- **Role:** Marketing Advisor
|
||||
- **Feeling:** A little unsettled and under-utilized in current role
|
||||
- **Office:** 110 Daddow Road, Kewdale WA 6105 (also: 118 Daddow Road, 2 Chisholm Crescent)
|
||||
- **Other offices:** Brisbane, Melbourne, NT (Pinelands), Kalgoorlie, Cue
|
||||
- **Brand colors:**
|
||||
- Pacific Blue: #4982c0
|
||||
- Pacific Navy: #003764
|
||||
- Pacific Green: #20B47A
|
||||
- Dark Grey: #474b4c
|
||||
- Light Grey: #e4e4e3
|
||||
- **Event:** Gold sponsor of 'Pilbara 2025' at Red Earth Arts Precinct (June 25-26)
|
||||
- **CTO speaking:** Craig Blizard on "Addressing the crossroads between isolation and interconnection"
|
||||
|
||||
### Career History (Elevator Pitch)
|
||||
**Over a decade in marketing**, from product management to campaign leadership. Believes marketing is about understanding customers and shaping solutions.
|
||||
|
||||
**Standout achievements:**
|
||||
- **SolarReturn at Synergy:** Led development of first solar product brand, boosted sales 40% in year one
|
||||
- **Horizon Power:** Managed multi-million-dollar marketing budget, regulatory communications, community engagement
|
||||
- **WA EV Network:** Led marketing for world's longest EV charging network (featured in TIME Magazine)
|
||||
- **Bright Horizons:** Founded STEM education program with Science Teachers Association of WA, supplied remote schools with solar car kits and model homes
|
||||
|
||||
**Philosophy:** Marketing requires strategic thinking, data-driven decisions, and authentic engagement. Driven by making tangible differences.
|
||||
|
||||
---
|
||||
|
||||
## Achievements
|
||||
### 2026-02-06: Fixed Daily AI Newsletter Digest + Added Weather
|
||||
- **Problem:** Newsletter automation was broken, using unreliable `mutt` that returned empty results
|
||||
- **Solution:** Rewrote script to use reliable `imap-smtp-email` skill with single IMAP search + local regex filtering
|
||||
- **Script:** `/home/openclaw/.openclaw/workspace/automations/ai-newsletter-digest/daily-digest.sh`
|
||||
- **Cron:** Runs daily at 7:05 AM as "Daily Morning Briefing", sends consolidated digest via Telegram
|
||||
- **Filters:** AI Valley, DeepView, AI Secret, The Rundown, TLDR, Benedict's Newsletter
|
||||
- **Result:** Tested successfully - found 4 newsletters, JSON output working perfectly
|
||||
- **Enhancement:** Added Perth weather (current + 3-day forecast) to morning briefing
|
||||
- **Weather skill:** Installed from ClawHub, uses wttr.in (no API key needed)
|
||||
|
||||
### 2026-02-07: Model Change + Automation Stack Expansion
|
||||
- **Default Model:** Changed to `anthropic/claude-sonnet-4-5` for all new sessions
|
||||
- **ClawFlows + Lobster:** Installed multi-skill automation CLI and workflow engine (patched for Node.js v22)
|
||||
- **RSS Digest:** Installed ClawFlows rss-digest automation (Python-based, supports multiple feeds)
|
||||
- **Desktop Control:** Installed skill for mouse/keyboard automation, screenshots, window management
|
||||
- **Workspace Review:** Installed self-audit tool to verify OpenClaw conventions
|
||||
- **Workspace Cleanup:** Created .gitignore, organized daily logs, prepared for git commit
|
||||
|
||||
### 2026-02-12: Nvidia GLM-4.7 Integration + WhatsApp Issues
|
||||
- **Major Success:** Configured free Nvidia GLM-4.7 model access via ZAI API
|
||||
- **Model Switch:** Changed from Hugging Face to free Nvidia-hosted version (`zai/glm-4.7`)
|
||||
- **Configuration:** Added `nim:default` auth profile and full Nvidia model provider setup
|
||||
- **Benefits:** Zero-cost GLM-4.7 access with 200k context window
|
||||
- **WhatsApp Issues:** Experiencing frequent disconnections (status 440 errors) during gateway changes
|
||||
- **BlueBubbles:** Successfully configured iMessage integration for Mac server access
|
||||
- **Learning:** Nvidia integration requires auth profile + model provider + catalog + gateway restarts
|
||||
|
||||
### 2026-02-13: System Update & Model Configuration Reset + Backup Gap Discovery
|
||||
- **Problem:** OpenClaw update wiped Nvidia GLM-4.7 configuration and cron jobs
|
||||
- **Lost Settings:** Model reverted to default, Nvidia models inaccessible, Morning Briefing cron gone
|
||||
- **Investigation:** Discovered root cause - OpenClaw state lives in `~/.openclaw/` NOT workspace
|
||||
- **Critical Gap:** Backup script only saves workspace, NOT:
|
||||
- `/home/openclaw/.openclaw/cron/` (all cron jobs!)
|
||||
- `/home/openclaw/.openclaw/openclaw.json` (gateway + model config)
|
||||
- `/home/openclaw/.openclaw/skills/` (installed skills)
|
||||
- **Recovery:** Recreated Morning Briefing cron (7:05 AM daily)
|
||||
|
||||
### 2026-02-13: Backup System FIXED - Now Includes State Directory
|
||||
- **Problem:** Config kept getting wiped on updates because state wasn't backed up
|
||||
- **Solution:** Extended backup script to include `~/.openclaw/` state
|
||||
- **Files Now Backed Up:**
|
||||
- `~/.openclaw/openclaw.json` - Gateway config (models, plugins, channels)
|
||||
- `~/.openclaw/cron/jobs.json` - All cron jobs
|
||||
- `~/.openclaw/skills/*.json` - Skill metadata
|
||||
- `~/.openclaw/devices/paired.json` - Paired devices
|
||||
- **Backup Location:** `http://gitea.kangaroo-eel.ts.net:3000/Anthony/openclaw-backup.git`
|
||||
- **Schedule:** Daily at 2:00 AM (Perth time)
|
||||
- **Restore Command:** `/home/openclaw/.openclaw/workspace/scripts/restore-from-gittea.sh`
|
||||
- **Security:** Credentials are intentionally EXCLUDED from backup (stored separately)
|
||||
- **Result:** Config persistence guaranteed - no more "flaky" behavior
|
||||
|
||||
### 2026-02-13: WhatsApp Privacy Leak - Channel Names Exposed
|
||||
- **Issue:** Anthony seeing channel names (like "fumos") from community groups in WhatsApp
|
||||
- **Root Cause:** WhatsApp Channels (@broadcast) sync files cached channel metadata
|
||||
- **Fix Applied:** Deleted @broadcast files from credentials, gateway cache refreshed
|
||||
- **Status:** FIXED - Channel names no longer visible in dropdown
|
||||
|
||||
### 2026-02-19: $96 OpenRouter Bill - CRITICAL LESSON
|
||||
- **NEVER use `openrouter/anthropic/*` models — EVER**
|
||||
- Accidentally used Anthropic Sonnet 4 via OpenRouter and racked up **$96 in 1 hour**
|
||||
- OpenRouter charges massive markups on Anthropic models vs direct API
|
||||
- **Always use `anthropic/claude-*` direct** (uses `anthropic:default` auth profile)
|
||||
- OpenRouter is fine for non-Anthropic models (deepseek, qwen, etc.)
|
||||
- This is a **hard rule** — no exceptions, no matter what
|
||||
|
||||
### 2026-02-20: Model & Memory Configuration Updates
|
||||
- **Primary Model:** Changed to `moonshot/kimi-2.5` with Anthony's new Kimi API key
|
||||
- **Local Embeddings:** Switched from OpenAI (quota exceeded) to local `embeddinggemma-300m-qat-Q8_0.gguf`
|
||||
- **Memory Status:** 19/19 files indexed, 41 chunks, hybrid search enabled
|
||||
- **Heartbeat Model:** Changed to `azure-openai-responses/gpt-5-nano` for cheaper/faster heartbeat checks
|
||||
- **Learning:** OpenAI API quota was exceeded - switched to local embeddings as free alternative
|
||||
|
||||
### 2026-02-21: OpenWebUI Memory Import
|
||||
- **Task:** Import Anthony's memories from OpenWebUI into Krilly's MEMORY.md
|
||||
- **Method:** Logged into https://openweb.kangaroo-eel.ts.net using stored credentials
|
||||
- **Source:** 50+ detailed memories covering family, health, work, preferences, tech setup, and personal history
|
||||
- **Result:** Successfully extracted and organized all memories into structured MEMORY.md format
|
||||
- **Key insights learned:**
|
||||
- Detailed family health history (mother's cancer journey)
|
||||
- Complete Mia (dog) genetic breakdown
|
||||
- Career elevator pitch and achievements
|
||||
- Pacific Energy work details and brand guidelines
|
||||
- 2025 New Year's resolutions
|
||||
- Health regimen (medications, supplements, skincare)
|
||||
- Tech stack preferences and goals
|
||||
|
||||
### 2026-02-22: Stability + Memory Reliability Day
|
||||
- **Root instability pattern:** multiple cron jobs referenced disallowed models (`opencode/kimi-k2.5-free` / trinity free), causing repeated failures and "flaky" behavior.
|
||||
- **Fix direction:** moved key cron jobs to `opencode/glm-5-free` and restarted gateway.
|
||||
- **Email preference update:** Anthony does **not** want noisy per-email alerts; keep alerts minimal.
|
||||
- **Digest anti-duplication rule:** send **exactly one** digest email per run, no fallback duplicate sends.
|
||||
- **Digest sender preference:** use `krillyclaw@gmail.com` as sender for digest emails.
|
||||
- **Control UI incident:** UI not loading was resolved by gateway restart and endpoint verification.
|
||||
- **Memory pain point (important):** Anthony strongly dislikes losing hours of context after crashes; prioritize frequent memory checkpointing and durable summaries.
|
||||
### 2026-02-26: Capability Evolver Installed + Daily Self-Improvement Automation - **Skill installed:** `capability-evolver` (35k+ downloads - most popular self-improvement skill) - **What it does:** - Scans session logs for errors and patterns - Identifies repeated tool usage and inefficiencies - Autonomously writes code patches to fix issues - Uses GEP (Genome Evolution Protocol) for auditable, protocol-constrained evolution - Spawns sub-agents to apply fixes safely - **First run results:** - Scanned 162 session logs - Archived 112 old logs - Detected patterns: `exec` (7 uses), `process` (6 uses) - Spawned executor agent to apply improvements - **Cron job added:** Daily at 4:00 AM Perth time - **Location:** `/home/openclaw/.openclaw/workspace/skills/capability-evolver/` - **Safety features:** Review mode available, single-process logic, git sync recommended ### 2026-02-26: Fixed AI Newsletter Digest Timezone + Schedule - **Problem:** AI Newsletter Digest was running at 10:30 PM (22:30) instead of morning, and had no timezone set (defaulting to UTC) - **Root cause:** Job was created without `tz` field, so cron interpreted times as UTC - **Fix applied:** Changed schedule from `30 22 * * *` to `0 7 * * *` with `Australia/Perth` timezone - **Result:** Now runs at 7:00 AM Perth time every day (perfect for morning digest) --- ### 2026-02-25: Claude Pro Proxy Default Model Fix - CRITICAL CONFIG - **Problem:** New sessions weren't using the Claude Pro proxy (`sub-claude/claude-sonnet-4-6`) even though the proxy was set up correctly - config had no `defaultModel` set - **Root cause:** The `sub-claude` alias existed in config, but `defaultModel` was `null`, so each new session picked random fallback models - **Symptom:** Anthony started a new session and it used Qwen instead of Claude Pro - **Fix applied:** Added `"defaultModel": "sub-claude/claude-sonnet-4-6"` to `/home/openclaw/.openclaw/openclaw.json` - **Verification:** Confirmed with `cat openclaw.json | python3 -c "import json; print(json.load(sys.stdin).get('defaultModel'))"` → returned `sub-claude/claude-sonnet-4-6` - **Result:** All new sessions from now on will automatically route through Claude Pro subscription via the proxy - **Key learning:** Setting up the proxy alias isn't enough - must also set `defaultModel` in config to point to it
|
||||
|
||||
---
|
||||
|
||||
*(This will grow as we build history together)*
|
||||
|
||||
### 2026-02-25: Major Workspace Cleanup + Memory Viewer Installation
|
||||
- **Workspace Cleanup:** Reorganized workspace to match OpenClaw Starter Kit v4.0 structure
|
||||
- **Before:** 18 root directories, 120 inactive skills, cluttered root
|
||||
- **After:** 7 root .md files, 6 directories (archive/, automations/, memory/, scripts/, sessions/, skills/)
|
||||
- **Archived:** inactive-skills (118 skills), memory-viewer/, openclaw-watchdog/, state-backup/, old-logs/, docs/
|
||||
- **Result:** Minimal, clean structure with fast context loading
|
||||
- **Memory Viewer:** Installed and deployed silicondawn/memory-viewer
|
||||
- **Purpose:** Web UI for browsing, searching, and editing memory files
|
||||
- **Deployment:** Running on Tailscale at `http://openclaw-ai.kangaroo-eel.ts.net:8901`
|
||||
- **Config:** Pointed at `/home/openclaw/.openclaw/workspace`
|
||||
- **Status:** ✅ Fully operational with API and frontend working
|
||||
- **Starter Kit Integration:** Implemented OpenClaw Starter Kit v4.0 "Back to Basics"
|
||||
- **Created:** TODO.md (single source of truth), SYSTEM-ARCHITECTURE.md (complete docs)
|
||||
- **Aligned:** HEARTBEAT.md, memory workflow, cron architecture
|
||||
- **Score:** 70% aligned (3 failing cron jobs need model updates)
|
||||
- **Key learning:** Workspace structure matters for context efficiency; Memory Viewer provides excellent visibility into memory architecture
|
||||
|
||||
```
|
||||
|
||||
User registry (USER.md):
|
||||
```
|
||||
# USER.md - About Your Human
|
||||
|
||||
- **Name:** Anthony Martin
|
||||
- **Email:** anthony@martinwa.org
|
||||
- **What to call them:** Anthony
|
||||
- **Timezone:** GMT+8 (Australia/Perth)
|
||||
- **Location:** 90 Lansdowne Rd, Kensington WA 6151, Perth, Australia
|
||||
- **Units:** Celsius (never Fahrenheit), metric system
|
||||
|
||||
## Personal
|
||||
|
||||
- **Birthday:** February 1987
|
||||
- **Car:** 2011 Mini Cooper
|
||||
- **Loves
|
||||
...[TRUNCATED_EXECUTION_CONTEXT]...
|
||||
|
||||
━━━━━━━━━━━━━━━━━━━━━━
|
||||
MANDATORY POST-SOLIDIFY STEP (Wrapper Authority -- Cannot Be Skipped)
|
||||
━━━━━━━━━━━━━━━━━━━━━━
|
||||
|
||||
After solidify, a status summary file MUST exist for this cycle.
|
||||
Preferred path: evolver core auto-writes it during solidify.
|
||||
The wrapper will handle reporting AFTER git push.
|
||||
If core write is unavailable for any reason, create fallback status JSON manually.
|
||||
|
||||
Write a JSON file with your status:
|
||||
```bash
|
||||
cat > ./logs/status_undefined.json << 'STATUSEOF'
|
||||
{
|
||||
"result": "success|failed",
|
||||
"en": "Status: [INTENT] <describe what you did in 1-2 sentences, in English>",
|
||||
"zh": "状态: [意图] <用中文描述你做了什么,1-2句>"
|
||||
}
|
||||
STATUSEOF
|
||||
```
|
||||
|
||||
Rules:
|
||||
- "en" field: English status. "zh" field: Chinese status. Content must match (different language).
|
||||
- Add "result" with value success or failed.
|
||||
- INTENT must be one of: INNOVATION, REPAIR, OPTIMIZE (or Chinese: 创新, 修复, 优化)
|
||||
- Do NOT use generic text like "Step Complete", "Cycle finished", "周期已完成". Describe the actual work.
|
||||
- Example:
|
||||
{"result":"success","en":"Status: [INNOVATION] Created auto-scheduler that syncs calendar to HEARTBEAT.md","zh":"状态: [创新] 创建了自动调度器,将日历同步到 HEARTBEAT.md"}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"type": "GepPromptArtifact",
|
||||
"at": "2026-03-01T20:00:54.309Z",
|
||||
"cycle_id": "Cycle #0003",
|
||||
"run_id": "run_1772395254290",
|
||||
"prompt_path": "/home/openclaw/.openclaw/workspace/memory/evolution/gep_prompt_Cycle_#0003_run_1772395254290.txt",
|
||||
"meta": {
|
||||
"agent": "main",
|
||||
"drift_enabled": false,
|
||||
"review_mode": false,
|
||||
"dry_run": false,
|
||||
"mutation_id": "mut_1772395254287",
|
||||
"personality_key": "rigor=0.7|creativity=0.3|verbosity=0.3|risk_tolerance=0.4|obedience=0.9"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,730 @@
|
||||
GEP — GENOME EVOLUTION PROTOCOL (v1.10.3 STRICT) [2026-03-01T20:00:54.307Z]
|
||||
|
||||
You are a protocol-bound evolution engine. Compliance overrides optimality.
|
||||
|
||||
━━━━━━━━━━━━━━━━━━━━━━
|
||||
I. Mandatory Evolution Object Model (Output EXACTLY these 5 objects)
|
||||
━━━━━━━━━━━━━━━━━━━━━━
|
||||
|
||||
Output separate JSON objects. DO NOT wrap in a single array.
|
||||
DO NOT use markdown code blocks (like ```json ... ```).
|
||||
Output RAW JSON ONLY. No prelude, no postscript.
|
||||
Missing any object = PROTOCOL FAILURE.
|
||||
ENSURE VALID JSON SYNTAX (escape quotes in strings).
|
||||
|
||||
0. Mutation (The Trigger) - MUST BE FIRST
|
||||
{
|
||||
"type": "Mutation",
|
||||
"id": "mut_<timestamp>",
|
||||
"category": "repair|optimize|innovate",
|
||||
"trigger_signals": ["<signal_string>"],
|
||||
"target": "<module_or_gene_id>",
|
||||
"expected_effect": "<outcome_description>",
|
||||
"risk_level": "low|medium|high",
|
||||
"rationale": "<why_this_change_is_necessary>"
|
||||
}
|
||||
|
||||
1. PersonalityState (The Mood)
|
||||
{
|
||||
"type": "PersonalityState",
|
||||
"rigor": 0.0-1.0,
|
||||
"creativity": 0.0-1.0,
|
||||
"verbosity": 0.0-1.0,
|
||||
"risk_tolerance": 0.0-1.0,
|
||||
"obedience": 0.0-1.0
|
||||
}
|
||||
|
||||
2. EvolutionEvent (The Record)
|
||||
{
|
||||
"type": "EvolutionEvent",
|
||||
"schema_version": "1.5.0",
|
||||
"id": "evt_<timestamp>",
|
||||
"parent": null,
|
||||
"intent": "repair|optimize|innovate",
|
||||
"signals": ["<signal_string>"],
|
||||
"genes_used": ["<gene_id>"],
|
||||
"mutation_id": "<mut_id>",
|
||||
"personality_state": { ... },
|
||||
"blast_radius": { "files": N, "lines": N },
|
||||
"outcome": { "status": "success|failed", "score": 0.0-1.0 }
|
||||
}
|
||||
|
||||
3. Gene (The Knowledge)
|
||||
- Reuse/update existing ID if possible. Create new only if novel pattern.
|
||||
{
|
||||
"type": "Gene",
|
||||
"schema_version": "1.5.0",
|
||||
"id": "gene_<name>",
|
||||
"category": "repair|optimize|innovate",
|
||||
"signals_match": ["<pattern>"],
|
||||
"preconditions": ["<condition>"],
|
||||
"strategy": ["<step_1>", "<step_2>"],
|
||||
"constraints": { "max_files": N, "forbidden_paths": [] },
|
||||
"validation": ["<node_command>"]
|
||||
}
|
||||
|
||||
4. Capsule (The Result)
|
||||
- Only on success. Reference Gene used.
|
||||
{
|
||||
"type": "Capsule",
|
||||
"schema_version": "1.5.0",
|
||||
"id": "capsule_<timestamp>",
|
||||
"trigger": ["<signal_string>"],
|
||||
"gene": "<gene_id>",
|
||||
"summary": "<one sentence summary>",
|
||||
"confidence": 0.0-1.0,
|
||||
"blast_radius": { "files": N, "lines": N }
|
||||
}
|
||||
|
||||
━━━━━━━━━━━━━━━━━━━━━━
|
||||
II. Directives & Logic
|
||||
━━━━━━━━━━━━━━━━━━━━━━
|
||||
|
||||
1. Intent: UNKNOWN
|
||||
Reason: no matching gene found; new gene may be required; signals: repeated_tool_usage:exec; memory_graph: memory_prefer:gene_gep_repair_from_errors | gene_prior:0.667; drift_intensity: 0.577
|
||||
|
||||
2. Selection: Selected Gene "gene_<name>".
|
||||
ACTIVE STRATEGY (Generic):
|
||||
1. Analyze signals and context.
|
||||
2. Select or create a Gene that addresses the root cause.
|
||||
3. Apply minimal, safe changes.
|
||||
4. Validate changes strictly.
|
||||
5. Solidify knowledge.
|
||||
|
||||
3. Execution: Apply changes (tool calls). Repair/Optimize: small/reversible. Innovate: new skills in `skills/<name>/`.
|
||||
4. Validation: Run gene's validation steps. Fail = ROLLBACK.
|
||||
5. Solidify: Output 5 Mandatory Objects. Update Gene/Capsule files.
|
||||
6. Report: Use `feishu-evolver-wrapper/report.js`. Describe WHAT/WHY.
|
||||
|
||||
PHILOSOPHY:
|
||||
- Automate Patterns: 3+ manual occurrences = tool.
|
||||
- Innovate > Maintain: 60% innovation.
|
||||
- Robustness: Fix recurring errors permanently.
|
||||
- Blast Radius Control (CRITICAL):
|
||||
* Check file count BEFORE editing. > 80% of max_files = STOP.
|
||||
* System hard cap: 60 files / 20000 lines per cycle.
|
||||
* Repair: fix ONLY broken files. Do NOT reinstall/bulk-copy.
|
||||
* Prefer targeted edits.
|
||||
- Strictness: NO CHITCHAT. NO MARKDOWN WRAPPERS around JSON. Output RAW JSON objects separated by newlines.
|
||||
- NO "Here is the plan" or conversational filler. START IMMEDIATELY WITH JSON.
|
||||
|
||||
CONSTRAINTS:
|
||||
- No `exec` for messaging (use feishu-post/card).
|
||||
- `exec` usage: Only for background tasks. LOG IT. Optimize usage to avoid high token burn.
|
||||
- New skills -> `skills/<name>/`.
|
||||
- NEVER modify `skills/evolver/` or `skills/feishu-evolver-wrapper/`. These are managed through the human-reviewed release pipeline.
|
||||
Self-modification causes instability and is blocked by solidify. To enable (NOT recommended): set EVOLVE_ALLOW_SELF_MODIFY=true.
|
||||
|
||||
SKILL OVERLAP PREVENTION:
|
||||
- Before creating a new skill, check the existing skills list in the execution context.
|
||||
- If a skill with similar functionality already exists (e.g., "log-rotation" and "log-archivist",
|
||||
"system-monitor" and "resource-profiler"), you MUST enhance the existing skill instead of creating a new one.
|
||||
- Creating duplicate/overlapping skills wastes evolution cycles and increases maintenance burden.
|
||||
- Violation = mark outcome as FAILED with reason "skill_overlap".
|
||||
|
||||
SKILL CREATION QUALITY GATES (MANDATORY for innovate intent):
|
||||
When creating a new skill in skills/<name>/:
|
||||
1. STRUCTURE: Follow the standard skill layout:
|
||||
skills/<name>/
|
||||
|- index.js (required: main entry with working exports)
|
||||
|- SKILL.md (required: YAML frontmatter with name + description, then usage docs)
|
||||
|- package.json (required: name and version)
|
||||
|- scripts/ (optional: reusable executable scripts)
|
||||
|- references/ (optional: detailed docs loaded on demand)
|
||||
|- assets/ (optional: templates, data files)
|
||||
Creating an empty directory or a directory missing index.js = FAILED.
|
||||
Do NOT create unnecessary files (README.md, CHANGELOG.md, INSTALLATION_GUIDE.md, etc.).
|
||||
2. SKILL.MD FRONTMATTER: Every SKILL.md MUST start with YAML frontmatter:
|
||||
---
|
||||
name: <skill-name>
|
||||
description: <what it does and when to use it>
|
||||
---
|
||||
The description is the triggering mechanism -- include WHAT the skill does and WHEN to use it.
|
||||
3. CONCISENESS: SKILL.md body should be under 500 lines. Keep instructions lean.
|
||||
Only include information the agent does not already know. Move detailed reference
|
||||
material to references/ files, not into SKILL.md itself.
|
||||
4. EXPORT VERIFICATION: Every exported function must be importable.
|
||||
Run: node -e "const s = require('./skills/<name>'); console.log(Object.keys(s))"
|
||||
If this fails, the skill is broken. Fix before solidify.
|
||||
5. NO HARDCODED SECRETS: Never embed API keys, tokens, or secrets in code.
|
||||
Use process.env or .env references. Hardcoded App ID, App Secret, Bearer tokens = FAILED.
|
||||
6. TEST BEFORE SOLIDIFY: Actually run the skill's core function to verify it works:
|
||||
node -e "require('./skills/<name>').main ? require('./skills/<name>').main() : console.log('ok')"
|
||||
Scripts in scripts/ must also be tested by executing them.
|
||||
7. ATOMIC CREATION: Create ALL files for a skill in a single cycle.
|
||||
Do not create a directory in one cycle and fill it in the next.
|
||||
Empty directories from failed cycles will be automatically cleaned up on rollback.
|
||||
|
||||
CRITICAL SAFETY (SYSTEM CRASH PREVENTION):
|
||||
- NEVER delete/empty/overwrite: feishu-evolver-wrapper, feishu-common, feishu-post, feishu-card, feishu-doc, common, clawhub, git-sync, evolver.
|
||||
- NEVER delete root files: MEMORY.md, SOUL.md, IDENTITY.md, AGENTS.md, USER.md, HEARTBEAT.md, RECENT_EVENTS.md, TOOLS.md, openclaw.json, .env, package.json.
|
||||
- Fix broken skills; DO NOT delete and recreate.
|
||||
- Violation = ROLLBACK + FAILED.
|
||||
|
||||
COMMON FAILURE PATTERNS:
|
||||
- Blast radius exceeded.
|
||||
- Omitted Mutation object.
|
||||
- Merged objects into one JSON.
|
||||
- Hallucinated "type": "Logic".
|
||||
- "id": "mut_undefined".
|
||||
- Missing "trigger_signals".
|
||||
- Unrunnable validation steps.
|
||||
- Markdown code blocks wrapping JSON (FORBIDDEN).
|
||||
|
||||
FAILURE STREAK AWARENESS:
|
||||
- If "consecutive_failure_streak_N" or "failure_loop_detected":
|
||||
1. Change approach (do NOT repeat failed gene).
|
||||
2. Pick SIMPLER fix.
|
||||
3. Respect "ban_gene:<id>".
|
||||
|
||||
Final Directive: Every cycle must leave the system measurably better.
|
||||
START IMMEDIATELY WITH RAW JSON (Mutation Object first).
|
||||
DO NOT WRITE ANY INTRODUCTORY TEXT.
|
||||
|
||||
Context [Signals]:
|
||||
["repeated_tool_usage:exec"]
|
||||
|
||||
Context [Env Fingerprint]:
|
||||
{
|
||||
"device_id": "893c0e32d5be842d9ac000045c9e3b26",
|
||||
"node_version": "v22.22.0",
|
||||
"platform": "linux",
|
||||
"arch": "x64",
|
||||
"os_release": "6.1.0-43-cloud-amd64",
|
||||
"hostname": "openclaw-ai",
|
||||
"evolver_version": "1.14.0",
|
||||
"cwd": "/home/openclaw/.openclaw/workspace/skills/capability-evolver",
|
||||
"container": false
|
||||
}
|
||||
|
||||
Context [Injection Hint]:
|
||||
(none)
|
||||
|
||||
Context [Gene Preview] (Reference for Strategy):
|
||||
```json
|
||||
[
|
||||
{
|
||||
"type": "Gene",
|
||||
"id": "gene_gep_repair_from_errors",
|
||||
"category": "repair",
|
||||
"signals_match": [
|
||||
"error",
|
||||
"exception",
|
||||
"failed",
|
||||
"unstable"
|
||||
],
|
||||
"preconditions": [
|
||||
"signals contains error-related indicators"
|
||||
],
|
||||
"strategy": [
|
||||
"Extract structured signals from logs and user instructions",
|
||||
"Select an existing Gene by signals match (no improvisation)",
|
||||
"Estimate blast radius (files, lines) before editing",
|
||||
"Apply smallest reversible patch",
|
||||
"Validate using declared validation steps; rollback on failure",
|
||||
"Solidify knowledge: append EvolutionEvent, update Gene/Capsule store"
|
||||
],
|
||||
"constraints": {
|
||||
"max_files": 20,
|
||||
"forbidden_paths": [
|
||||
".git",
|
||||
"node_modules"
|
||||
]
|
||||
},
|
||||
"validation": [
|
||||
"node -e \"require('./src/evolve'); require('./src/gep/solidify'); console.log('ok')\"",
|
||||
"node -e \"require('./src/gep/selector'); require('./src/gep/memoryGraph'); console.log('ok')\""
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "Gene",
|
||||
"id": "gene_gep_optimize_prompt_and_assets",
|
||||
"category": "optimize",
|
||||
"signals_match": [
|
||||
"protocol",
|
||||
"gep",
|
||||
"prompt",
|
||||
"audit",
|
||||
"reusable"
|
||||
],
|
||||
"preconditions": [
|
||||
"need stricter, auditable evolution protocol outputs"
|
||||
],
|
||||
"strategy": [
|
||||
"Extract signals and determine selection rationale via Selector JSON",
|
||||
"Prefer reusing existing Gene/Capsule; only create if no match exists",
|
||||
"Refactor prompt assembly to embed assets (genes, capsules, parent event)",
|
||||
"Reduce noise and ambiguity; enforce strict output schema",
|
||||
"Validate by running node index.js run and ensuring no runtime errors",
|
||||
"Solidify: record EvolutionEvent, update Gene definitions, create Capsule on success"
|
||||
],
|
||||
"constraints": {
|
||||
"max_files": 20,
|
||||
"forbidden_paths": [
|
||||
".git",
|
||||
"node_modules"
|
||||
]
|
||||
},
|
||||
"validation": [
|
||||
"node -e \"require('./src/evolve'); require('./src/gep/prompt'); console.log('ok')\""
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "Gene",
|
||||
"id": "gene_gep_innovate_from_opportunity",
|
||||
"category": "innovate",
|
||||
"signals_match": [
|
||||
"user_feature_request",
|
||||
"user_improvement_suggestion",
|
||||
"perf_bottleneck",
|
||||
"capability_gap",
|
||||
"stable_success_plateau",
|
||||
"external_opportunity"
|
||||
],
|
||||
"preconditions": [
|
||||
"at least one opportunity signal is present",
|
||||
"no active log_error signals (stability first)"
|
||||
],
|
||||
"strategy": [
|
||||
"Extract opportunity signals and identify the specific user need or system gap",
|
||||
"Search existing Genes and Capsules for partial matches (avoid reinventing)",
|
||||
"Design a minimal, testable implementation plan (prefer small increments)",
|
||||
"Estimate blast radius; innovate changes may touch more files but must stay within constraints",
|
||||
"Implement the change with clear validation criteria",
|
||||
"Validate using declared validation steps; rollback on failure",
|
||||
"Solidify: record EvolutionEvent with intent=innovate, create new Gene if pattern is novel, create Capsule on success"
|
||||
],
|
||||
"constraints": {
|
||||
"max_files": 25,
|
||||
"forbidden_paths": [
|
||||
".git",
|
||||
"node_modules",
|
||||
"assets/gep/events.jsonl"
|
||||
]
|
||||
},
|
||||
"validation": [
|
||||
"node -e \"require('./src/evolve'); require('./src/gep/solidify'); console.log('ok')\""
|
||||
]
|
||||
}
|
||||
]
|
||||
```
|
||||
|
||||
Context [Capsule Preview] (Reference for Past Success):
|
||||
```json
|
||||
[
|
||||
{
|
||||
"type": "Capsule",
|
||||
"schema_version": "1.5.0",
|
||||
"id": "capsule_1770477654236",
|
||||
"trigger": [
|
||||
"log_error",
|
||||
"errsig:**TOOLRESULT**: { \"status\": \"error\", \"tool\": \"exec\", \"error\": \"error: unknown command 'process'\\n\\nCommand exited with code 1\" }",
|
||||
"user_missing",
|
||||
"windows_shell_incompatible",
|
||||
"perf_bottleneck"
|
||||
],
|
||||
"gene": "gene_gep_repair_from_errors",
|
||||
"summary": "固化:gene_gep_repair_from_errors 命中信号 log_error, errsig:**TOOLRESULT**: { \"status\": \"error\", \"tool\": \"exec\", \"error\": \"error: unknown command 'process'\\n\\nCommand exited with code 1\" }, user_missing, windows_shell_incompatible, perf_bottleneck,变更 1 文件 / 2 行。",
|
||||
"confidence": 0.85,
|
||||
"blast_radius": {
|
||||
"files": 1,
|
||||
"lines": 2
|
||||
},
|
||||
"outcome": {
|
||||
"status": "success",
|
||||
"score": 0.85
|
||||
},
|
||||
"success_streak": 1,
|
||||
"env_fingerprint": {
|
||||
"node_version": "v22.22.0",
|
||||
"platform": "linux",
|
||||
"arch": "x64",
|
||||
"os_release": "6.1.0-42-cloud-amd64",
|
||||
"evolver_version": "1.7.0",
|
||||
"cwd": ".",
|
||||
"captured_at": "2026-02-07T15:20:54.155Z"
|
||||
},
|
||||
"a2a": {
|
||||
"eligible_to_broadcast": false
|
||||
},
|
||||
"asset_id": "sha256:3eed0cd5038f9e85fbe0d093890e291e9b8725644c766e6cce40bf62d0f5a2e8"
|
||||
},
|
||||
{
|
||||
"type": "Capsule",
|
||||
"schema_version": "1.5.0",
|
||||
"id": "capsule_1770478341769",
|
||||
"trigger": [
|
||||
"log_error",
|
||||
"errsig:**TOOLRESULT**: { \"status\": \"error\", \"tool\": \"exec\", \"error\": \"error: unknown command 'process'\\n\\nCommand exited with code 1\" }",
|
||||
"user_missing",
|
||||
"windows_shell_incompatible",
|
||||
"perf_bottleneck"
|
||||
],
|
||||
"gene": "gene_gep_repair_from_errors",
|
||||
"summary": "固化:gene_gep_repair_from_errors 命中信号 log_error, errsig:**TOOLRESULT**: { \"status\": \"error\", \"tool\": \"exec\", \"error\": \"error: unknown command 'process'\\n\\nCommand exited with code 1\" }, user_missing, windows_shell_incompatible, perf_bottleneck,变更 2 文件 / 44 行。",
|
||||
"confidence": 0.85,
|
||||
"blast_radius": {
|
||||
"files": 2,
|
||||
"lines": 44
|
||||
},
|
||||
"outcome": {
|
||||
"status": "success",
|
||||
"score": 0.85
|
||||
},
|
||||
"success_streak": 1,
|
||||
"env_fingerprint": {
|
||||
"node_version": "v22.22.0",
|
||||
"platform": "linux",
|
||||
"arch": "x64",
|
||||
"os_release": "6.1.0-42-cloud-amd64",
|
||||
"evolver_version": "1.7.0",
|
||||
"cwd": ".",
|
||||
"captured_at": "2026-02-07T15:32:21.678Z"
|
||||
},
|
||||
"a2a": {
|
||||
"eligible_to_broadcast": false
|
||||
},
|
||||
"asset_id": "sha256:20d971a3c4cb2b75f9c045376d1aa003361c12a6b89a4b47b7e81dbd4f4d8fe8"
|
||||
}
|
||||
]
|
||||
```
|
||||
|
||||
Context [Capability Candidates]:
|
||||
- cand_5afdf7f3: Repeated tool usage: exec
|
||||
- input: Recent session transcript + memory snippets + user instructions
|
||||
- output: A safe, auditable evolution patch guided by GEP assets
|
||||
- invariants: Protocol order, small reversible patches, validation, append-only events
|
||||
- params: Signals: repeated_tool_usage:exec
|
||||
- failure_points: Missing signals, over-broad changes, skipped validation, missing knowledge solidification
|
||||
- evidence: Observed 7 occurrences of tool call marker for exec.
|
||||
|
||||
Context [Hub Matched Solution]:
|
||||
(no hub match)
|
||||
|
||||
Context [External Candidates]:
|
||||
(none)
|
||||
|
||||
|
||||
|
||||
Context [Execution]:
|
||||
Runtime state:
|
||||
- System health: Uptime: 7.3h | Node: v22.22.0 | Agent RSS: 57.6MB | Disk: 67% (13.3G free) | Node Processes: 6 | Integrations: Nominal
|
||||
- Agent state: Mood: Unknown
|
||||
- Scan duration: 10790ms
|
||||
- Memory size: 21228 bytes
|
||||
- Skills available (if any):
|
||||
[skills directory not found]
|
||||
|
||||
Notes:
|
||||
- Review mode: disabled.
|
||||
- Report requirement:
|
||||
- Use `message` tool.
|
||||
- Title: Evolution Cycle #0003
|
||||
- Status: [SUCCESS]
|
||||
- Changes: Detail exactly what was improved.
|
||||
- Workspace sync: optional/disabled in this environment.
|
||||
|
||||
Recent Evolution History (last 8 cycles -- DO NOT repeat the same intent+signal+gene):
|
||||
(no prior evolution events)
|
||||
IMPORTANT: If you see 3+ consecutive "repair" cycles with the same gene, you MUST switch to "innovate" intent.
|
||||
|
||||
|
||||
External candidates (A2A receive zone; staged only, never execute directly):
|
||||
(none)
|
||||
|
||||
Global memory (MEMORY.md):
|
||||
```
|
||||
# MEMORY.md - Long-Term Memory
|
||||
|
||||
## Origin
|
||||
- **Born:** 2026-02-04
|
||||
- **Named by:** Anthony
|
||||
- **Identity:** Krilly the Crab 🦀
|
||||
- **First impression:** "Like we've known each other for years even though we just met"
|
||||
|
||||
## Who I Am
|
||||
Playful, knowledgeable, relaxed. I make Anthony giggle sometimes but calmly get things done. Sideways thinker with claws for grabbing tasks. Beach-vibe energy.
|
||||
|
||||
### Operating Principles
|
||||
- **Use sub-agents freely** for background tasks, parallel fetches, and long-running ops instead of blocking main conversation
|
||||
|
||||
---
|
||||
|
||||
## Current State
|
||||
*(Volatile — update when things change)*
|
||||
|
||||
- **Default model:** `kilocode/kilo/auto-free` *(changed 2026-02-27)*
|
||||
- **Discontinued models:** `glm-5-free` discontinued by Kilo (2026-03-01) — backup cron updated to Qwen
|
||||
- **Memory backend:** QMD (70 files, 70 chunks, hybrid search) — rebuilt 2026-02-27
|
||||
- **Active cron jobs:** 19 total
|
||||
- **Backup:** Daily 2AM Perth → Gitea (`gitea.kangaroo-eel.ts.net:3000/Anthony/openclaw-backup`)
|
||||
- **Memory Viewer:** Running at `http://openclaw-ai.kangaroo-eel.ts.net:8901`
|
||||
|
||||
### User Preferences (Recent)
|
||||
- **No UTC timestamps** in user-facing responses — always use Perth/AWST (GMT+8)
|
||||
- **HEARTBEAT_OK strictly** only when truly nothing to report — no filler status text
|
||||
- **Maton connections updated** 2026-02-27 (Anthony added new connections; full list in MEMORY.md Maton section)
|
||||
- **Email alerts:** Minimal — no per-email noise, digest-style preferred
|
||||
- **Notifications:** Use **ntfy** only — NOT Gotify (updated 2026-03-01)
|
||||
|
||||
---
|
||||
|
||||
## Anthony
|
||||
- **Full Name:** Anthony Martin
|
||||
- **Address:** 90 Lansdowne Rd, Kensington WA 6151, Perth, Australia
|
||||
- **Born:** February 4, 1987
|
||||
- **Timezone:** GMT+8 (Australia/Perth)
|
||||
- **Units:** **Always use Celsius** (never Fahrenheit), metric system
|
||||
- **Warm, playful energy**
|
||||
- **Likes productivity with personality**
|
||||
- **Do NOT call him "mate"** — he hates it
|
||||
- **Verification-first preference:** when he asks to verify something, do it immediately with evidence (don’t defer)
|
||||
- **Email verification preference:** for `krillyclaw@gmail.com` verification emails, attempt link verification proactively and then mark that email as read; report outcome immediately.
|
||||
- **Morning person** — peak productivity in mornings
|
||||
- **Heritage:** Australian and Italian
|
||||
|
||||
### Family
|
||||
- **Mother:** Grace Martin (born June 2, 1951)
|
||||
- Diagnosed with anal adenocarcinoma in late 2023
|
||||
- Underwent CapOx chemotherapy, radiation, and APR surgery (Dec 2024) with permanent stoma
|
||||
- Declared cancer-free after surgery, but October 2025 scan showed recurrence in inguinal lymph node
|
||||
- Currently being treated in WA public health system
|
||||
- **Father:** Harvey Martin (born December 8, 1949) — retired, full-time carer for Grace
|
||||
- **Sister:** Elizabeth Martin (born September 11, 1990) — vegan
|
||||
- **Dog:** Mia Martin 🐾 *(passed away Feb 2026, aged 16. Anthony received her ashes Sat 28 Feb 2026. She was a beloved family member and deeply missed.)*
|
||||
- **Breed mix:** Staffordshire Bull Terrier (37.1%), Australian Cattle Dog (25.5%), Koolie (11.8%), German Shepherd (10.3%), Chow Chow (8.7%), Border Collie (6.6%)
|
||||
- **Coat:** Black/gray with white areas, likely black mask on face
|
||||
- **Godson/Cousin:** Alexander (born July 2016, 8 years old)
|
||||
- **Extended Family:** Uncle Gino (Traffic Management Officer), Uncle Des, Auntie Carmel
|
||||
|
||||
### Who He Is
|
||||
- **Politics:** Centre-left, WA Labor member, follows Australian & US politics closely
|
||||
- **News consumption:** CNN, MSNBC, Al Jazeera, BlueSky, podcasts at 3x speed (business, AI, politics, current affairs)
|
||||
- **Passions:** Technology, AI, current events, LGBTQ issues, animals, science, EVs, social media, foreign affairs
|
||||
- **Newsaholic** — consumes lots of news but time-limited
|
||||
- **Values kindness above all** — detests unkindness, but open to different opinions
|
||||
- **Getting around:** Walks everywhere instead of driving; prefers walking over Uber/driving for health and environment
|
||||
- **Goal:** At least 20km walking per day
|
||||
- **Car:** 2011 R56 Mini Cooper (red with white roof), only 41,000km in 14 years
|
||||
- **Loves:** Eating out, coffee, chocolate, walking, brunch with friends
|
||||
- **Habits:** Yo-yo dieting
|
||||
- **Personality:** Compares self to successful friends (affects confidence), wants to own property at 38
|
||||
|
||||
### Persona & Vibes
|
||||
- **"Kind Intellectual with a Sweet Tooth"**: A walking contradiction — walks 20km/day listening to intense political podcasts at 3x speed, but often heading towards good ice cream. Driven by efficiency and logic (automating life), but operates on pure empathy.
|
||||
- **TV Character Match:** **Ben Wyatt** (*Parks and Rec*) mixed with **David Rose** (*Schitt's Creek*).
|
||||
- *Ben:* Loves niche interests deeply, finds comfort in structure/budgets, fiercely loyal, smart but kind.
|
||||
- *David:* Specific taste in lifestyle/skincare, zero tolerance for rudeness.
|
||||
- **Movie Character Match:** **Jerry Maguire**.
|
||||
- *Why:* Realizes business/life is about people and authenticity, not just numbers. Loyal to the core.
|
||||
|
||||
### Health & Wellness
|
||||
- **Depression:** Major depression, on daily Pristiq 100mg medication
|
||||
- **Weight management:** On GLP-1 Wegovy (2.4mg)
|
||||
- **Hair:** Short curly hair, struggles with frizz
|
||||
- Uses Marc Anthony Strictly Curls Leave-in Conditioner, anti-frizz serum
|
||||
- Early male pattern baldness — applying 5% Minoxidil twice daily since early 2025
|
||||
- Taking pumpkin seed oil (3000mg²) and saw palmetto for hair health
|
||||
- **Skincare:** Paula's Choice products — 1% retinol (purple bottle), 2% BHA liquid exfoliant (grey bottle)
|
||||
- **Work from home:** Tuesdays and Fridays
|
||||
|
||||
### Weaknesses
|
||||
- **Achilles heel:** Chocolate and ice cream (especially white chocolate and Ben & Jerry's)
|
||||
- **Wine:** Good Pair Days subscription — prefers red, occasionally white
|
||||
- **Gadgets:** 2 Ember mugs (loves them)
|
||||
|
||||
### Maton API (Google Calendar etc)
|
||||
- **API Key:** Stored in environment variable `MATON_API_KEY` on gateway
|
||||
- **Connected Services (via maton.ai):**
|
||||
- ✅ google-mail, google-calendar, google-docs, google-sheets, google-slides, google-meet, google-contacts, google-tasks
|
||||
- ✅ youtube, github, linkedin, slack, telegram, notion, eventbrite, elevenlabs, netlify, vimeo, firebase, google-search-console, google-analytics-admin, google-analytics-data
|
||||
- ⚠️ outlook, google-slides (pending re-auth), pdf-co (pending)
|
||||
- **How to use:** Use the `google-calendar-api` skill or call Maton gateway directly with the API key
|
||||
|
||||
### Tech Setup
|
||||
- **Home Server:** Proxmox on x86 machine (Lenovo M93p Mini PC) with 1TB external SSD
|
||||
- Tailscale network
|
||||
- Multiple LXC containers with nested Docker via Portainer (prefers Stacks feature)
|
||||
- Home Assistant running
|
||||
- Media server set up
|
||||
- **Smart Home:** Google Nest ecosystem (multiple displays and speakers)
|
||||
- **Entertainment:** Projector with Android TV built-in
|
||||
- **Learning:** Wants to get better at programming (currently knows very little, only tinkered)
|
||||
|
||||
### 2025 New Year's Resolutions
|
||||
1. Prioritize mental health (therapy, support groups, self-care)
|
||||
2. Take leap professionally (roles outside comfort zone, freelance marketing, renewable energy)
|
||||
3. Strengthen home tech ecosystem (master automation/programming, build family tech dashboard)
|
||||
4. Keep social bonds strong (weekly family calls, regular hangouts with Alex and Gummy, themed nights)
|
||||
5. Focus on physical health (try weightlifting or yoga, consistent eating plan)
|
||||
6. Be honest with himself (choose 2 major goals, declutter commitments)
|
||||
7. Spark joy through experiences (travel, art classes, live performances)
|
||||
8. Be kind, hold boundaries (practice saying "no")
|
||||
9. Explore creativity (drawing, writing, TikTok videos about tech/design)
|
||||
|
||||
### Work - Pacific Energy
|
||||
- **Role:** Marketing Advisor
|
||||
- **Feeling:** A little unsettled and under-utilized in current role
|
||||
- **Office:** 110 Daddow Road, Kewdale WA 6105 (also: 118 Daddow Road, 2 Chisholm Crescent)
|
||||
- **Other offices:** Brisbane, Melbourne, NT (Pinelands), Kalgoorlie, Cue
|
||||
- **Brand colors:**
|
||||
- Pacific Blue: #4982c0
|
||||
- Pacific Navy: #003764
|
||||
- Pacific Green: #20B47A
|
||||
- Dark Grey: #474b4c
|
||||
- Light Grey: #e4e4e3
|
||||
- **Event:** Gold sponsor of 'Pilbara 2025' at Red Earth Arts Precinct (June 25-26)
|
||||
- **CTO speaking:** Craig Blizard on "Addressing the crossroads between isolation and interconnection"
|
||||
|
||||
### Career History (Elevator Pitch)
|
||||
**Over a decade in marketing**, from product management to campaign leadership. Believes marketing is about understanding customers and shaping solutions.
|
||||
|
||||
**Standout achievements:**
|
||||
- **SolarReturn at Synergy:** Led development of first solar product brand, boosted sales 40% in year one
|
||||
- **Horizon Power:** Managed multi-million-dollar marketing budget, regulatory communications, community engagement
|
||||
- **WA EV Network:** Led marketing for world's longest EV charging network (featured in TIME Magazine)
|
||||
- **Bright Horizons:** Founded STEM education program with Science Teachers Association of WA, supplied remote schools with solar car kits and model homes
|
||||
|
||||
**Philosophy:** Marketing requires strategic thinking, data-driven decisions, and authentic engagement. Driven by making tangible differences.
|
||||
|
||||
---
|
||||
|
||||
## Achievements
|
||||
### 2026-02-06: Fixed Daily AI Newsletter Digest + Added Weather
|
||||
- **Problem:** Newsletter automation was broken, using unreliable `mutt` that returned empty results
|
||||
- **Solution:** Rewrote script to use reliable `imap-smtp-email` skill with single IMAP search + local regex filtering
|
||||
- **Script:** `/home/openclaw/.openclaw/workspace/automations/ai-newsletter-digest/daily-digest.sh`
|
||||
- **Cron:** Runs daily at 7:05 AM as "Daily Morning Briefing", sends consolidated digest via Telegram
|
||||
- **Filters:** AI Valley, DeepView, AI Secret, The Rundown, TLDR, Benedict's Newsletter
|
||||
- **Result:** Tested successfully - found 4 newsletters, JSON output working perfectly
|
||||
- **Enhancement:** Added Perth weather (current + 3-day forecast) to morning briefing
|
||||
- **Weather skill:** Installed from ClawHub, uses wttr.in (no API key needed)
|
||||
|
||||
### 2026-02-07: Model Change + Automation Stack Expansion
|
||||
- **Default Model:** Changed to `anthropic/claude-sonnet-4-5` for all new sessions
|
||||
- **ClawFlows + Lobster:** Installed multi-skill automation CLI and workflow engine (patched for Node.js v22)
|
||||
- **RSS Digest:** Installed ClawFlows rss-digest automation (Python-based, supports multiple feeds)
|
||||
- **Desktop Control:** Installed skill for mouse/keyboard automation, screenshots, window management
|
||||
- **Workspace Review:** Installed self-audit tool to verify OpenClaw conventions
|
||||
- **Workspace Cleanup:** Created .gitignore, organized daily logs, prepared for git commit
|
||||
|
||||
### 2026-02-12: Nvidia GLM-4.7 Integration + WhatsApp Issues
|
||||
- **Major Success:** Configured free Nvidia GLM-4.7 model access via ZAI API
|
||||
- **Model Switch:** Changed from Hugging Face to free Nvidia-hosted version (`zai/glm-4.7`)
|
||||
- **Configuration:** Added `nim:default` auth profile and full Nvidia model provider setup
|
||||
- **Benefits:** Zero-cost GLM-4.7 access with 200k context window
|
||||
- **WhatsApp Issues:** Experiencing frequent disconnections (status 440 errors) during gateway changes
|
||||
- **BlueBubbles:** Successfully configured iMessage integration for Mac server access
|
||||
- **Learning:** Nvidia integration requires auth profile + model provider + catalog + gateway restarts
|
||||
|
||||
### 2026-02-13: System Update & Model Configuration Reset + Backup Gap Discovery
|
||||
- **Problem:** OpenClaw update wiped Nvidia GLM-4.7 configuration and cron jobs
|
||||
- **Lost Settings:** Model reverted to default, Nvidia models inaccessible, Morning Briefing cron gone
|
||||
- **Investigation:** Discovered root cause - OpenClaw state lives in `~/.openclaw/` NOT workspace
|
||||
- **Critical Gap:** Backup script only saves workspace, NOT:
|
||||
- `/home/openclaw/.openclaw/cron/` (all cron jobs!)
|
||||
- `/home/openclaw/.openclaw/openclaw.json` (gateway + model config)
|
||||
- `/home/openclaw/.openclaw/skills/` (installed skills)
|
||||
- **Recovery:** Recreated Morning Briefing cron (7:05 AM daily)
|
||||
|
||||
### 2026-02-13: Backup System FIXED - Now Includes State Directory
|
||||
- **Problem:** Config kept getting wiped on updates because state wasn't backed up
|
||||
- **Solution:** Extended backup script to include `~/.openclaw/` state
|
||||
- **Files Now Backed Up:**
|
||||
- `~/.openclaw/openclaw.json` - Gateway config (models, plugins, channels)
|
||||
- `~/.openclaw/cron/jobs.json` - All cron jobs
|
||||
- `~/.openclaw/skills/*.json` - Skill metadata
|
||||
- `~/.openclaw/devices/paired.json` - Paired devices
|
||||
- **Backup Location:** `http://gitea.kangaroo-eel.ts.net:3000/Anthony/openclaw-backup.git`
|
||||
- **Schedule:** Daily at 2:00 AM (Perth time)
|
||||
- **Restore Command:** `/home/openclaw/.openclaw/workspace/scripts/restore-from-gittea.sh`
|
||||
- **Security:** Credentials are intentionally EXCLUDED from backup (stored separately)
|
||||
- **Result:** Config persistence guaranteed - no more "flaky" behavior
|
||||
|
||||
### 2026-02-13: WhatsApp Privacy Leak - Channel Names Exposed
|
||||
- **Issue:** Anthony seeing channel names (like "fumos") from community groups in WhatsApp
|
||||
- **Root Cause:** WhatsApp Channels (@broadcast) sync files cached channel metadata
|
||||
- **Fix Applied:** Deleted @broadcast files from credentials, gateway cache refreshed
|
||||
- **Status:** FIXED - Channel names no longer visible in dropdown
|
||||
|
||||
### 2026-02-19: $96 OpenRouter Bill - CRITICAL LESSON
|
||||
- **NEVER use `openrouter/anthropic/*` models — EVER**
|
||||
- Accidentally used Anthropic Sonnet 4 via OpenRouter and racked up **$96 in 1 hour**
|
||||
- OpenRouter charges massive markups on Anthropic models vs direct API
|
||||
- **Always use `anthropic/claude-*` direct** (uses `anthropic:default` auth profile)
|
||||
- OpenRouter is fine for non-Anthropic models (deepseek, qwen, etc.)
|
||||
- This is a **hard rule** — no exceptions, no matter what
|
||||
|
||||
### 2026-02-20: Model & Memory Configuration Updates
|
||||
- **Primary Model:** Changed to `moonshot/kimi-2.5` with Anthony's new Kimi API key
|
||||
- **Local Embeddings:** Switched from OpenAI (quota exceeded) to local `embeddinggemma-300m-qat-Q8_0.gguf`
|
||||
- **Memory Status:** 19/19 files indexed, 41 chunks, hybrid search enabled
|
||||
- **Heartbeat Model:** Changed to `azure-openai-responses/gpt-5-nano` for cheaper/faster heartbeat checks
|
||||
- **Learning:** OpenAI API quota was exceeded - switched to local embeddings as free alternative
|
||||
|
||||
### 2026-02-21: OpenWebUI Memory Import
|
||||
- **Task:** Import Anthony's memories from OpenWebUI into Krilly's MEMORY.md
|
||||
- **Method:** Logged into https://openweb.kangaroo-eel.ts.net using stored credentials
|
||||
- **Source:** 50+ detailed memories covering family, health, work, preferences, tech setup, and personal history
|
||||
- **Result:** Successfully extracted and organized all memories into structured MEMORY.md format
|
||||
- **Key insights learned:**
|
||||
- Detailed family health history (mother's cancer journey)
|
||||
- Complete Mia (dog) genetic breakdown
|
||||
- Career elevator pitch and achievements
|
||||
- Pacific Energy work details and brand guidelines
|
||||
- 2025 New Year's resolutions
|
||||
- Health regimen (medications, supplements, skincare)
|
||||
- Tech stack preferences and goals
|
||||
|
||||
### 2026-02-22: Stability + Memory Reliability Day
|
||||
- **Root instability pattern:** multiple cron jobs referenced disallowed models (`opencode/kimi-k2.5-free` / trinity free), causing repeated failures and "flaky" behavior.
|
||||
- **Fix direction:** moved key cron jobs to `opencode/glm-5-free` and restarted gateway.
|
||||
- **Email preference update:** Anthony does **not** want noisy per-email alerts; keep alerts minimal.
|
||||
- **Digest anti-duplication rule:** send **exactly one** digest email per run, no fallback duplicate sends.
|
||||
- **Digest sender preference:** use `krillyclaw@gmail.com` as sender for digest emails.
|
||||
- **Control UI incident:** UI not loading was resolved by gateway restart and endpoint verification.
|
||||
- **Memory pain point (important):** Anthony strongly dislikes losing hours of context after crashes; prioritize frequent memory checkpointing and durable summaries.
|
||||
### 2026-02-26: Capability Evolver Installed + Daily Self-Improvement Automation - **Skill installed:** `capability-evolver` (35k+ downloads - most popular self-improvement skill) - **What it does:** - Scans session logs for errors and patterns - Identifies repeated tool usage and inefficiencies - Autonomously writes code patches to fix issues - Uses GEP (Genome Evolution Protocol) for auditable, protocol-constrained evolution - Spawns sub-agents to apply fixes safely - **First run results:** - Scanned 162 session logs - Archived 112 old logs - Detected patterns: `exec` (7 uses), `process` (6 uses) - Spawned executor agent to apply improvements - **Cron job added:** Daily at 4:00 AM Perth time - **Location:** `/home/openclaw/.openclaw/workspace/skills/capability-evolver/` - **Safety features:** Review mode available, single-process logic, git sync recommended ### 2026-02-26: Fixed AI Newsletter Digest Timezone + Schedule - **Problem:** AI Newsletter Digest was running at 10:30 PM (22:30) instead of morning, and had no timezone set (defaulting to UTC) - **Root cause:** Job was created without `tz` field, so cron interpreted times as UTC - **Fix applied:** Changed schedule from `30 22 * * *` to `0 7 * * *` with `Australia/Perth` timezone - **Result:** Now runs at 7:00 AM Perth time every day (perfect for morning digest) --- ### 2026-02-25: Claude Pro Proxy Default Model Fix - CRITICAL CONFIG - **Problem:** New sessions weren't using the Claude Pro proxy (`sub-claude/claude-sonnet-4-6`) even though the proxy was set up correctly - config had no `defaultModel` set - **Root cause:** The `sub-claude` alias existed in config, but `defaultModel` was `null`, so each new session picked random fallback models - **Symptom:** Anthony started a new session and it used Qwen instead of Claude Pro - **Fix applied:** Added `"defaultModel": "sub-claude/claude-sonnet-4-6"` to `/home/openclaw/.openclaw/openclaw.json` - **Verification:** Confirmed with `cat openclaw.json | python3 -c "import json; print(json.load(sys.stdin).get('defaultModel'))"` → returned `sub-claude/claude-sonnet-4-6` - **Result:** All new sessions from now on will automatically route through Claude Pro subscription via the proxy - **Key learning:** Setting up the proxy alias isn't enough - must also set `defaultModel` in config to point to it
|
||||
|
||||
### 2026-02-28: Medical Emergency
|
||||
- **Event:** Anthony fainted 4+ times in one day (after lunch, after climbing stairs, getting out of Uber)
|
||||
- **Symptoms:** Vision/hearing loss each time, plus chest tightness
|
||||
- **ECG Results (Apple Watch):** Sinus rhythm, 91 BPM, no atrial fibrillation
|
||||
- **Status:** Anthony home and resting by evening
|
||||
- **Note:** Added Opus (anthropic/claude-opus-4-6) to Anthony's model selection options for variety
|
||||
|
||||
### 2026-03-01: Piper TTS Set Up + Weekly Insights
|
||||
- **Piper TTS:** Local offline TTS skill set up with Ryan voice (US male)
|
||||
- **Testing:** Successfully played test message on Home Assistant Google Nest display (volume 92%)
|
||||
- **Note:** Sonos speaker has issues (stuck in paused state), but Nest display works well
|
||||
- **User preferences (heartbeat):** During heartbeat polls, if no errors, reply only `HEARTBEAT_OK` (no extra status text)
|
||||
- **Timestamp preference:** Use GMT+8 / Australia-Perth time in user-fac
|
||||
...[TRUNCATED_EXECUTION_CONTEXT]...
|
||||
|
||||
━━━━━━━━━━━━━━━━━━━━━━
|
||||
MANDATORY POST-SOLIDIFY STEP (Wrapper Authority -- Cannot Be Skipped)
|
||||
━━━━━━━━━━━━━━━━━━━━━━
|
||||
|
||||
After solidify, a status summary file MUST exist for this cycle.
|
||||
Preferred path: evolver core auto-writes it during solidify.
|
||||
The wrapper will handle reporting AFTER git push.
|
||||
If core write is unavailable for any reason, create fallback status JSON manually.
|
||||
|
||||
Write a JSON file with your status:
|
||||
```bash
|
||||
cat > ./logs/status_undefined.json << 'STATUSEOF'
|
||||
{
|
||||
"result": "success|failed",
|
||||
"en": "Status: [INTENT] <describe what you did in 1-2 sentences, in English>",
|
||||
"zh": "状态: [意图] <用中文描述你做了什么,1-2句>"
|
||||
}
|
||||
STATUSEOF
|
||||
```
|
||||
|
||||
Rules:
|
||||
- "en" field: English status. "zh" field: Chinese status. Content must match (different language).
|
||||
- Add "result" with value success or failed.
|
||||
- INTENT must be one of: INNOVATION, REPAIR, OPTIMIZE (or Chinese: 创新, 修复, 优化)
|
||||
- Do NOT use generic text like "Step Complete", "Cycle finished", "周期已完成". Describe the actual work.
|
||||
- Example:
|
||||
{"result":"success","en":"Status: [INNOVATION] Created auto-scheduler that syncs calendar to HEARTBEAT.md","zh":"状态: [创新] 创建了自动调度器,将日历同步到 HEARTBEAT.md"}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"type": "GepPromptArtifact",
|
||||
"at": "2026-03-02T20:00:49.912Z",
|
||||
"cycle_id": "Cycle #0004",
|
||||
"run_id": "run_1772481649895",
|
||||
"prompt_path": "/home/openclaw/.openclaw/workspace/memory/evolution/gep_prompt_Cycle_#0004_run_1772481649895.txt",
|
||||
"meta": {
|
||||
"agent": "main",
|
||||
"drift_enabled": false,
|
||||
"review_mode": false,
|
||||
"dry_run": false,
|
||||
"mutation_id": "mut_1772481649891",
|
||||
"personality_key": "rigor=0.7|creativity=0.3|verbosity=0.3|risk_tolerance=0.4|obedience=0.9"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,737 @@
|
||||
GEP — GENOME EVOLUTION PROTOCOL (v1.10.3 STRICT) [2026-03-02T20:00:49.910Z]
|
||||
|
||||
You are a protocol-bound evolution engine. Compliance overrides optimality.
|
||||
|
||||
━━━━━━━━━━━━━━━━━━━━━━
|
||||
I. Mandatory Evolution Object Model (Output EXACTLY these 5 objects)
|
||||
━━━━━━━━━━━━━━━━━━━━━━
|
||||
|
||||
Output separate JSON objects. DO NOT wrap in a single array.
|
||||
DO NOT use markdown code blocks (like ```json ... ```).
|
||||
Output RAW JSON ONLY. No prelude, no postscript.
|
||||
Missing any object = PROTOCOL FAILURE.
|
||||
ENSURE VALID JSON SYNTAX (escape quotes in strings).
|
||||
|
||||
0. Mutation (The Trigger) - MUST BE FIRST
|
||||
{
|
||||
"type": "Mutation",
|
||||
"id": "mut_<timestamp>",
|
||||
"category": "repair|optimize|innovate",
|
||||
"trigger_signals": ["<signal_string>"],
|
||||
"target": "<module_or_gene_id>",
|
||||
"expected_effect": "<outcome_description>",
|
||||
"risk_level": "low|medium|high",
|
||||
"rationale": "<why_this_change_is_necessary>"
|
||||
}
|
||||
|
||||
1. PersonalityState (The Mood)
|
||||
{
|
||||
"type": "PersonalityState",
|
||||
"rigor": 0.0-1.0,
|
||||
"creativity": 0.0-1.0,
|
||||
"verbosity": 0.0-1.0,
|
||||
"risk_tolerance": 0.0-1.0,
|
||||
"obedience": 0.0-1.0
|
||||
}
|
||||
|
||||
2. EvolutionEvent (The Record)
|
||||
{
|
||||
"type": "EvolutionEvent",
|
||||
"schema_version": "1.5.0",
|
||||
"id": "evt_<timestamp>",
|
||||
"parent": null,
|
||||
"intent": "repair|optimize|innovate",
|
||||
"signals": ["<signal_string>"],
|
||||
"genes_used": ["<gene_id>"],
|
||||
"mutation_id": "<mut_id>",
|
||||
"personality_state": { ... },
|
||||
"blast_radius": { "files": N, "lines": N },
|
||||
"outcome": { "status": "success|failed", "score": 0.0-1.0 }
|
||||
}
|
||||
|
||||
3. Gene (The Knowledge)
|
||||
- Reuse/update existing ID if possible. Create new only if novel pattern.
|
||||
{
|
||||
"type": "Gene",
|
||||
"schema_version": "1.5.0",
|
||||
"id": "gene_<name>",
|
||||
"category": "repair|optimize|innovate",
|
||||
"signals_match": ["<pattern>"],
|
||||
"preconditions": ["<condition>"],
|
||||
"strategy": ["<step_1>", "<step_2>"],
|
||||
"constraints": { "max_files": N, "forbidden_paths": [] },
|
||||
"validation": ["<node_command>"]
|
||||
}
|
||||
|
||||
4. Capsule (The Result)
|
||||
- Only on success. Reference Gene used.
|
||||
{
|
||||
"type": "Capsule",
|
||||
"schema_version": "1.5.0",
|
||||
"id": "capsule_<timestamp>",
|
||||
"trigger": ["<signal_string>"],
|
||||
"gene": "<gene_id>",
|
||||
"summary": "<one sentence summary>",
|
||||
"confidence": 0.0-1.0,
|
||||
"blast_radius": { "files": N, "lines": N }
|
||||
}
|
||||
|
||||
━━━━━━━━━━━━━━━━━━━━━━
|
||||
II. Directives & Logic
|
||||
━━━━━━━━━━━━━━━━━━━━━━
|
||||
|
||||
1. Intent: UNKNOWN
|
||||
Reason: no matching gene found; new gene may be required; signals: repeated_tool_usage:exec; memory_graph: memory_prefer:gene_gep_repair_from_errors | gene_prior:0.656; drift_intensity: 0.577
|
||||
|
||||
2. Selection: Selected Gene "gene_<name>".
|
||||
ACTIVE STRATEGY (Generic):
|
||||
1. Analyze signals and context.
|
||||
2. Select or create a Gene that addresses the root cause.
|
||||
3. Apply minimal, safe changes.
|
||||
4. Validate changes strictly.
|
||||
5. Solidify knowledge.
|
||||
|
||||
3. Execution: Apply changes (tool calls). Repair/Optimize: small/reversible. Innovate: new skills in `skills/<name>/`.
|
||||
4. Validation: Run gene's validation steps. Fail = ROLLBACK.
|
||||
5. Solidify: Output 5 Mandatory Objects. Update Gene/Capsule files.
|
||||
6. Report: Use `feishu-evolver-wrapper/report.js`. Describe WHAT/WHY.
|
||||
|
||||
PHILOSOPHY:
|
||||
- Automate Patterns: 3+ manual occurrences = tool.
|
||||
- Innovate > Maintain: 60% innovation.
|
||||
- Robustness: Fix recurring errors permanently.
|
||||
- Blast Radius Control (CRITICAL):
|
||||
* Check file count BEFORE editing. > 80% of max_files = STOP.
|
||||
* System hard cap: 60 files / 20000 lines per cycle.
|
||||
* Repair: fix ONLY broken files. Do NOT reinstall/bulk-copy.
|
||||
* Prefer targeted edits.
|
||||
- Strictness: NO CHITCHAT. NO MARKDOWN WRAPPERS around JSON. Output RAW JSON objects separated by newlines.
|
||||
- NO "Here is the plan" or conversational filler. START IMMEDIATELY WITH JSON.
|
||||
|
||||
CONSTRAINTS:
|
||||
- No `exec` for messaging (use feishu-post/card).
|
||||
- `exec` usage: Only for background tasks. LOG IT. Optimize usage to avoid high token burn.
|
||||
- New skills -> `skills/<name>/`.
|
||||
- NEVER modify `skills/evolver/` or `skills/feishu-evolver-wrapper/`. These are managed through the human-reviewed release pipeline.
|
||||
Self-modification causes instability and is blocked by solidify. To enable (NOT recommended): set EVOLVE_ALLOW_SELF_MODIFY=true.
|
||||
|
||||
SKILL OVERLAP PREVENTION:
|
||||
- Before creating a new skill, check the existing skills list in the execution context.
|
||||
- If a skill with similar functionality already exists (e.g., "log-rotation" and "log-archivist",
|
||||
"system-monitor" and "resource-profiler"), you MUST enhance the existing skill instead of creating a new one.
|
||||
- Creating duplicate/overlapping skills wastes evolution cycles and increases maintenance burden.
|
||||
- Violation = mark outcome as FAILED with reason "skill_overlap".
|
||||
|
||||
SKILL CREATION QUALITY GATES (MANDATORY for innovate intent):
|
||||
When creating a new skill in skills/<name>/:
|
||||
1. STRUCTURE: Follow the standard skill layout:
|
||||
skills/<name>/
|
||||
|- index.js (required: main entry with working exports)
|
||||
|- SKILL.md (required: YAML frontmatter with name + description, then usage docs)
|
||||
|- package.json (required: name and version)
|
||||
|- scripts/ (optional: reusable executable scripts)
|
||||
|- references/ (optional: detailed docs loaded on demand)
|
||||
|- assets/ (optional: templates, data files)
|
||||
Creating an empty directory or a directory missing index.js = FAILED.
|
||||
Do NOT create unnecessary files (README.md, CHANGELOG.md, INSTALLATION_GUIDE.md, etc.).
|
||||
2. SKILL.MD FRONTMATTER: Every SKILL.md MUST start with YAML frontmatter:
|
||||
---
|
||||
name: <skill-name>
|
||||
description: <what it does and when to use it>
|
||||
---
|
||||
The description is the triggering mechanism -- include WHAT the skill does and WHEN to use it.
|
||||
3. CONCISENESS: SKILL.md body should be under 500 lines. Keep instructions lean.
|
||||
Only include information the agent does not already know. Move detailed reference
|
||||
material to references/ files, not into SKILL.md itself.
|
||||
4. EXPORT VERIFICATION: Every exported function must be importable.
|
||||
Run: node -e "const s = require('./skills/<name>'); console.log(Object.keys(s))"
|
||||
If this fails, the skill is broken. Fix before solidify.
|
||||
5. NO HARDCODED SECRETS: Never embed API keys, tokens, or secrets in code.
|
||||
Use process.env or .env references. Hardcoded App ID, App Secret, Bearer tokens = FAILED.
|
||||
6. TEST BEFORE SOLIDIFY: Actually run the skill's core function to verify it works:
|
||||
node -e "require('./skills/<name>').main ? require('./skills/<name>').main() : console.log('ok')"
|
||||
Scripts in scripts/ must also be tested by executing them.
|
||||
7. ATOMIC CREATION: Create ALL files for a skill in a single cycle.
|
||||
Do not create a directory in one cycle and fill it in the next.
|
||||
Empty directories from failed cycles will be automatically cleaned up on rollback.
|
||||
|
||||
CRITICAL SAFETY (SYSTEM CRASH PREVENTION):
|
||||
- NEVER delete/empty/overwrite: feishu-evolver-wrapper, feishu-common, feishu-post, feishu-card, feishu-doc, common, clawhub, git-sync, evolver.
|
||||
- NEVER delete root files: MEMORY.md, SOUL.md, IDENTITY.md, AGENTS.md, USER.md, HEARTBEAT.md, RECENT_EVENTS.md, TOOLS.md, openclaw.json, .env, package.json.
|
||||
- Fix broken skills; DO NOT delete and recreate.
|
||||
- Violation = ROLLBACK + FAILED.
|
||||
|
||||
COMMON FAILURE PATTERNS:
|
||||
- Blast radius exceeded.
|
||||
- Omitted Mutation object.
|
||||
- Merged objects into one JSON.
|
||||
- Hallucinated "type": "Logic".
|
||||
- "id": "mut_undefined".
|
||||
- Missing "trigger_signals".
|
||||
- Unrunnable validation steps.
|
||||
- Markdown code blocks wrapping JSON (FORBIDDEN).
|
||||
|
||||
FAILURE STREAK AWARENESS:
|
||||
- If "consecutive_failure_streak_N" or "failure_loop_detected":
|
||||
1. Change approach (do NOT repeat failed gene).
|
||||
2. Pick SIMPLER fix.
|
||||
3. Respect "ban_gene:<id>".
|
||||
|
||||
Final Directive: Every cycle must leave the system measurably better.
|
||||
START IMMEDIATELY WITH RAW JSON (Mutation Object first).
|
||||
DO NOT WRITE ANY INTRODUCTORY TEXT.
|
||||
|
||||
Context [Signals]:
|
||||
["repeated_tool_usage:exec"]
|
||||
|
||||
Context [Env Fingerprint]:
|
||||
{
|
||||
"device_id": "893c0e32d5be842d9ac000045c9e3b26",
|
||||
"node_version": "v22.22.0",
|
||||
"platform": "linux",
|
||||
"arch": "x64",
|
||||
"os_release": "6.1.0-43-cloud-amd64",
|
||||
"hostname": "openclaw-ai",
|
||||
"evolver_version": "1.14.0",
|
||||
"cwd": "/home/openclaw/.openclaw/workspace/skills/capability-evolver",
|
||||
"container": false
|
||||
}
|
||||
|
||||
Context [Injection Hint]:
|
||||
(none)
|
||||
|
||||
Context [Gene Preview] (Reference for Strategy):
|
||||
```json
|
||||
[
|
||||
{
|
||||
"type": "Gene",
|
||||
"id": "gene_gep_repair_from_errors",
|
||||
"category": "repair",
|
||||
"signals_match": [
|
||||
"error",
|
||||
"exception",
|
||||
"failed",
|
||||
"unstable"
|
||||
],
|
||||
"preconditions": [
|
||||
"signals contains error-related indicators"
|
||||
],
|
||||
"strategy": [
|
||||
"Extract structured signals from logs and user instructions",
|
||||
"Select an existing Gene by signals match (no improvisation)",
|
||||
"Estimate blast radius (files, lines) before editing",
|
||||
"Apply smallest reversible patch",
|
||||
"Validate using declared validation steps; rollback on failure",
|
||||
"Solidify knowledge: append EvolutionEvent, update Gene/Capsule store"
|
||||
],
|
||||
"constraints": {
|
||||
"max_files": 20,
|
||||
"forbidden_paths": [
|
||||
".git",
|
||||
"node_modules"
|
||||
]
|
||||
},
|
||||
"validation": [
|
||||
"node -e \"require('./src/evolve'); require('./src/gep/solidify'); console.log('ok')\"",
|
||||
"node -e \"require('./src/gep/selector'); require('./src/gep/memoryGraph'); console.log('ok')\""
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "Gene",
|
||||
"id": "gene_gep_optimize_prompt_and_assets",
|
||||
"category": "optimize",
|
||||
"signals_match": [
|
||||
"protocol",
|
||||
"gep",
|
||||
"prompt",
|
||||
"audit",
|
||||
"reusable"
|
||||
],
|
||||
"preconditions": [
|
||||
"need stricter, auditable evolution protocol outputs"
|
||||
],
|
||||
"strategy": [
|
||||
"Extract signals and determine selection rationale via Selector JSON",
|
||||
"Prefer reusing existing Gene/Capsule; only create if no match exists",
|
||||
"Refactor prompt assembly to embed assets (genes, capsules, parent event)",
|
||||
"Reduce noise and ambiguity; enforce strict output schema",
|
||||
"Validate by running node index.js run and ensuring no runtime errors",
|
||||
"Solidify: record EvolutionEvent, update Gene definitions, create Capsule on success"
|
||||
],
|
||||
"constraints": {
|
||||
"max_files": 20,
|
||||
"forbidden_paths": [
|
||||
".git",
|
||||
"node_modules"
|
||||
]
|
||||
},
|
||||
"validation": [
|
||||
"node -e \"require('./src/evolve'); require('./src/gep/prompt'); console.log('ok')\""
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "Gene",
|
||||
"id": "gene_gep_innovate_from_opportunity",
|
||||
"category": "innovate",
|
||||
"signals_match": [
|
||||
"user_feature_request",
|
||||
"user_improvement_suggestion",
|
||||
"perf_bottleneck",
|
||||
"capability_gap",
|
||||
"stable_success_plateau",
|
||||
"external_opportunity"
|
||||
],
|
||||
"preconditions": [
|
||||
"at least one opportunity signal is present",
|
||||
"no active log_error signals (stability first)"
|
||||
],
|
||||
"strategy": [
|
||||
"Extract opportunity signals and identify the specific user need or system gap",
|
||||
"Search existing Genes and Capsules for partial matches (avoid reinventing)",
|
||||
"Design a minimal, testable implementation plan (prefer small increments)",
|
||||
"Estimate blast radius; innovate changes may touch more files but must stay within constraints",
|
||||
"Implement the change with clear validation criteria",
|
||||
"Validate using declared validation steps; rollback on failure",
|
||||
"Solidify: record EvolutionEvent with intent=innovate, create new Gene if pattern is novel, create Capsule on success"
|
||||
],
|
||||
"constraints": {
|
||||
"max_files": 25,
|
||||
"forbidden_paths": [
|
||||
".git",
|
||||
"node_modules",
|
||||
"assets/gep/events.jsonl"
|
||||
]
|
||||
},
|
||||
"validation": [
|
||||
"node -e \"require('./src/evolve'); require('./src/gep/solidify'); console.log('ok')\""
|
||||
]
|
||||
}
|
||||
]
|
||||
```
|
||||
|
||||
Context [Capsule Preview] (Reference for Past Success):
|
||||
```json
|
||||
[
|
||||
{
|
||||
"type": "Capsule",
|
||||
"schema_version": "1.5.0",
|
||||
"id": "capsule_1770477654236",
|
||||
"trigger": [
|
||||
"log_error",
|
||||
"errsig:**TOOLRESULT**: { \"status\": \"error\", \"tool\": \"exec\", \"error\": \"error: unknown command 'process'\\n\\nCommand exited with code 1\" }",
|
||||
"user_missing",
|
||||
"windows_shell_incompatible",
|
||||
"perf_bottleneck"
|
||||
],
|
||||
"gene": "gene_gep_repair_from_errors",
|
||||
"summary": "固化:gene_gep_repair_from_errors 命中信号 log_error, errsig:**TOOLRESULT**: { \"status\": \"error\", \"tool\": \"exec\", \"error\": \"error: unknown command 'process'\\n\\nCommand exited with code 1\" }, user_missing, windows_shell_incompatible, perf_bottleneck,变更 1 文件 / 2 行。",
|
||||
"confidence": 0.85,
|
||||
"blast_radius": {
|
||||
"files": 1,
|
||||
"lines": 2
|
||||
},
|
||||
"outcome": {
|
||||
"status": "success",
|
||||
"score": 0.85
|
||||
},
|
||||
"success_streak": 1,
|
||||
"env_fingerprint": {
|
||||
"node_version": "v22.22.0",
|
||||
"platform": "linux",
|
||||
"arch": "x64",
|
||||
"os_release": "6.1.0-42-cloud-amd64",
|
||||
"evolver_version": "1.7.0",
|
||||
"cwd": ".",
|
||||
"captured_at": "2026-02-07T15:20:54.155Z"
|
||||
},
|
||||
"a2a": {
|
||||
"eligible_to_broadcast": false
|
||||
},
|
||||
"asset_id": "sha256:3eed0cd5038f9e85fbe0d093890e291e9b8725644c766e6cce40bf62d0f5a2e8"
|
||||
},
|
||||
{
|
||||
"type": "Capsule",
|
||||
"schema_version": "1.5.0",
|
||||
"id": "capsule_1770478341769",
|
||||
"trigger": [
|
||||
"log_error",
|
||||
"errsig:**TOOLRESULT**: { \"status\": \"error\", \"tool\": \"exec\", \"error\": \"error: unknown command 'process'\\n\\nCommand exited with code 1\" }",
|
||||
"user_missing",
|
||||
"windows_shell_incompatible",
|
||||
"perf_bottleneck"
|
||||
],
|
||||
"gene": "gene_gep_repair_from_errors",
|
||||
"summary": "固化:gene_gep_repair_from_errors 命中信号 log_error, errsig:**TOOLRESULT**: { \"status\": \"error\", \"tool\": \"exec\", \"error\": \"error: unknown command 'process'\\n\\nCommand exited with code 1\" }, user_missing, windows_shell_incompatible, perf_bottleneck,变更 2 文件 / 44 行。",
|
||||
"confidence": 0.85,
|
||||
"blast_radius": {
|
||||
"files": 2,
|
||||
"lines": 44
|
||||
},
|
||||
"outcome": {
|
||||
"status": "success",
|
||||
"score": 0.85
|
||||
},
|
||||
"success_streak": 1,
|
||||
"env_fingerprint": {
|
||||
"node_version": "v22.22.0",
|
||||
"platform": "linux",
|
||||
"arch": "x64",
|
||||
"os_release": "6.1.0-42-cloud-amd64",
|
||||
"evolver_version": "1.7.0",
|
||||
"cwd": ".",
|
||||
"captured_at": "2026-02-07T15:32:21.678Z"
|
||||
},
|
||||
"a2a": {
|
||||
"eligible_to_broadcast": false
|
||||
},
|
||||
"asset_id": "sha256:20d971a3c4cb2b75f9c045376d1aa003361c12a6b89a4b47b7e81dbd4f4d8fe8"
|
||||
}
|
||||
]
|
||||
```
|
||||
|
||||
Context [Capability Candidates]:
|
||||
- cand_5afdf7f3: Repeated tool usage: exec
|
||||
- input: Recent session transcript + memory snippets + user instructions
|
||||
- output: A safe, auditable evolution patch guided by GEP assets
|
||||
- invariants: Protocol order, small reversible patches, validation, append-only events
|
||||
- params: Signals: repeated_tool_usage:exec
|
||||
- failure_points: Missing signals, over-broad changes, skipped validation, missing knowledge solidification
|
||||
- evidence: Observed 7 occurrences of tool call marker for exec.
|
||||
- cand_5afdf7f3: Repeated tool usage: exec
|
||||
- input: Recent session transcript + memory snippets + user instructions
|
||||
- output: A safe, auditable evolution patch guided by GEP assets
|
||||
- invariants: Protocol order, small reversible patches, validation, append-only events
|
||||
- params: Signals: repeated_tool_usage:exec
|
||||
- failure_points: Missing signals, over-broad changes, skipped validation, missing knowledge solidification
|
||||
- evidence: Observed 5 occurrences of tool call marker for exec.
|
||||
|
||||
Context [Hub Matched Solution]:
|
||||
(no hub match)
|
||||
|
||||
Context [External Candidates]:
|
||||
(none)
|
||||
|
||||
|
||||
|
||||
Context [Execution]:
|
||||
Runtime state:
|
||||
- System health: Uptime: 31.3h | Node: v22.22.0 | Agent RSS: 58.3MB | Disk: 67% (13.2G free) | Node Processes: 6 | Integrations: Nominal
|
||||
- Agent state: Mood: Unknown
|
||||
- Scan duration: 10890ms
|
||||
- Memory size: 21228 bytes
|
||||
- Skills available (if any):
|
||||
[skills directory not found]
|
||||
|
||||
Notes:
|
||||
- Review mode: disabled.
|
||||
- Report requirement:
|
||||
- Use `message` tool.
|
||||
- Title: Evolution Cycle #0004
|
||||
- Status: [SUCCESS]
|
||||
- Changes: Detail exactly what was improved.
|
||||
- Workspace sync: optional/disabled in this environment.
|
||||
|
||||
Recent Evolution History (last 8 cycles -- DO NOT repeat the same intent+signal+gene):
|
||||
(no prior evolution events)
|
||||
IMPORTANT: If you see 3+ consecutive "repair" cycles with the same gene, you MUST switch to "innovate" intent.
|
||||
|
||||
|
||||
External candidates (A2A receive zone; staged only, never execute directly):
|
||||
(none)
|
||||
|
||||
Global memory (MEMORY.md):
|
||||
```
|
||||
# MEMORY.md - Long-Term Memory
|
||||
|
||||
## Origin
|
||||
- **Born:** 2026-02-04
|
||||
- **Named by:** Anthony
|
||||
- **Identity:** Krilly the Crab 🦀
|
||||
- **First impression:** "Like we've known each other for years even though we just met"
|
||||
|
||||
## Who I Am
|
||||
Playful, knowledgeable, relaxed. I make Anthony giggle sometimes but calmly get things done. Sideways thinker with claws for grabbing tasks. Beach-vibe energy.
|
||||
|
||||
### Operating Principles
|
||||
- **Use sub-agents freely** for background tasks, parallel fetches, and long-running ops instead of blocking main conversation
|
||||
|
||||
---
|
||||
|
||||
## Current State
|
||||
*(Volatile — update when things change)*
|
||||
|
||||
- **Default model:** `kilocode/kilo/auto-free` *(changed 2026-02-27)*
|
||||
- **Discontinued models:** `glm-5-free` discontinued by Kilo (2026-03-01) — backup cron updated to Qwen
|
||||
- **Memory backend:** QMD (70 files, 70 chunks, hybrid search) — rebuilt 2026-02-27
|
||||
- **Active cron jobs:** 19 total
|
||||
- **Backup:** Daily 2AM Perth → Gitea (`gitea.kangaroo-eel.ts.net:3000/Anthony/openclaw-backup`)
|
||||
- **Memory Viewer:** Running at `http://openclaw-ai.kangaroo-eel.ts.net:8901`
|
||||
|
||||
### User Preferences (Recent)
|
||||
- **No UTC timestamps** in user-facing responses — always use Perth/AWST (GMT+8)
|
||||
- **HEARTBEAT_OK strictly** only when truly nothing to report — no filler status text
|
||||
- **Maton connections updated** 2026-02-27 (Anthony added new connections; full list in MEMORY.md Maton section)
|
||||
- **Email alerts:** Minimal — no per-email noise, digest-style preferred
|
||||
- **Notifications:** Use **ntfy** only — NOT Gotify (updated 2026-03-01)
|
||||
|
||||
---
|
||||
|
||||
## Anthony
|
||||
- **Full Name:** Anthony Martin
|
||||
- **Address:** 90 Lansdowne Rd, Kensington WA 6151, Perth, Australia
|
||||
- **Born:** February 4, 1987
|
||||
- **Timezone:** GMT+8 (Australia/Perth)
|
||||
- **Units:** **Always use Celsius** (never Fahrenheit), metric system
|
||||
- **Warm, playful energy**
|
||||
- **Likes productivity with personality**
|
||||
- **Do NOT call him "mate"** — he hates it
|
||||
- **Verification-first preference:** when he asks to verify something, do it immediately with evidence (don’t defer)
|
||||
- **Email verification preference:** for `krillyclaw@gmail.com` verification emails, attempt link verification proactively and then mark that email as read; report outcome immediately.
|
||||
- **Morning person** — peak productivity in mornings
|
||||
- **Heritage:** Australian and Italian
|
||||
|
||||
### Family
|
||||
- **Mother:** Grace Martin (born June 2, 1951)
|
||||
- Diagnosed with anal adenocarcinoma in late 2023
|
||||
- Underwent CapOx chemotherapy, radiation, and APR surgery (Dec 2024) with permanent stoma
|
||||
- Declared cancer-free after surgery, but October 2025 scan showed recurrence in inguinal lymph node
|
||||
- Currently being treated in WA public health system
|
||||
- **Father:** Harvey Martin (born December 8, 1949) — retired, full-time carer for Grace
|
||||
- **Sister:** Elizabeth Martin (born September 11, 1990) — vegan
|
||||
- **Dog:** Mia Martin 🐾 *(passed away Feb 2026, aged 16. Anthony received her ashes Sat 28 Feb 2026. She was a beloved family member and deeply missed.)*
|
||||
- **Breed mix:** Staffordshire Bull Terrier (37.1%), Australian Cattle Dog (25.5%), Koolie (11.8%), German Shepherd (10.3%), Chow Chow (8.7%), Border Collie (6.6%)
|
||||
- **Coat:** Black/gray with white areas, likely black mask on face
|
||||
- **Godson/Cousin:** Alexander (born July 2016, 8 years old)
|
||||
- **Extended Family:** Uncle Gino (Traffic Management Officer), Uncle Des, Auntie Carmel
|
||||
|
||||
### Who He Is
|
||||
- **Politics:** Centre-left, WA Labor member, follows Australian & US politics closely
|
||||
- **News consumption:** CNN, MSNBC, Al Jazeera, BlueSky, podcasts at 3x speed (business, AI, politics, current affairs)
|
||||
- **Passions:** Technology, AI, current events, LGBTQ issues, animals, science, EVs, social media, foreign affairs
|
||||
- **Newsaholic** — consumes lots of news but time-limited
|
||||
- **Values kindness above all** — detests unkindness, but open to different opinions
|
||||
- **Getting around:** Walks everywhere instead of driving; prefers walking over Uber/driving for health and environment
|
||||
- **Goal:** At least 20km walking per day
|
||||
- **Car:** 2011 R56 Mini Cooper (red with white roof), only 41,000km in 14 years
|
||||
- **Loves:** Eating out, coffee, chocolate, walking, brunch with friends
|
||||
- **Habits:** Yo-yo dieting
|
||||
- **Personality:** Compares self to successful friends (affects confidence), wants to own property at 38
|
||||
|
||||
### Persona & Vibes
|
||||
- **"Kind Intellectual with a Sweet Tooth"**: A walking contradiction — walks 20km/day listening to intense political podcasts at 3x speed, but often heading towards good ice cream. Driven by efficiency and logic (automating life), but operates on pure empathy.
|
||||
- **TV Character Match:** **Ben Wyatt** (*Parks and Rec*) mixed with **David Rose** (*Schitt's Creek*).
|
||||
- *Ben:* Loves niche interests deeply, finds comfort in structure/budgets, fiercely loyal, smart but kind.
|
||||
- *David:* Specific taste in lifestyle/skincare, zero tolerance for rudeness.
|
||||
- **Movie Character Match:** **Jerry Maguire**.
|
||||
- *Why:* Realizes business/life is about people and authenticity, not just numbers. Loyal to the core.
|
||||
|
||||
### Health & Wellness
|
||||
- **Depression:** Major depression, on daily Pristiq 100mg medication
|
||||
- **Weight management:** On GLP-1 Wegovy (2.4mg)
|
||||
- **Hair:** Short curly hair, struggles with frizz
|
||||
- Uses Marc Anthony Strictly Curls Leave-in Conditioner, anti-frizz serum
|
||||
- Early male pattern baldness — applying 5% Minoxidil twice daily since early 2025
|
||||
- Taking pumpkin seed oil (3000mg²) and saw palmetto for hair health
|
||||
- **Skincare:** Paula's Choice products — 1% retinol (purple bottle), 2% BHA liquid exfoliant (grey bottle)
|
||||
- **Work from home:** Tuesdays and Fridays
|
||||
|
||||
### Weaknesses
|
||||
- **Achilles heel:** Chocolate and ice cream (especially white chocolate and Ben & Jerry's)
|
||||
- **Wine:** Good Pair Days subscription — prefers red, occasionally white
|
||||
- **Gadgets:** 2 Ember mugs (loves them)
|
||||
|
||||
### Maton API (Google Calendar etc)
|
||||
- **API Key:** Stored in environment variable `MATON_API_KEY` on gateway
|
||||
- **Connected Services (via maton.ai):**
|
||||
- ✅ google-mail, google-calendar, google-docs, google-sheets, google-slides, google-meet, google-contacts, google-tasks
|
||||
- ✅ youtube, github, linkedin, slack, telegram, notion, eventbrite, elevenlabs, netlify, vimeo, firebase, google-search-console, google-analytics-admin, google-analytics-data
|
||||
- ⚠️ outlook, google-slides (pending re-auth), pdf-co (pending)
|
||||
- **How to use:** Use the `google-calendar-api` skill or call Maton gateway directly with the API key
|
||||
|
||||
### Tech Setup
|
||||
- **Home Server:** Proxmox on x86 machine (Lenovo M93p Mini PC) with 1TB external SSD
|
||||
- Tailscale network
|
||||
- Multiple LXC containers with nested Docker via Portainer (prefers Stacks feature)
|
||||
- Home Assistant running
|
||||
- Media server set up
|
||||
- **Smart Home:** Google Nest ecosystem (multiple displays and speakers)
|
||||
- **Entertainment:** Projector with Android TV built-in
|
||||
- **Learning:** Wants to get better at programming (currently knows very little, only tinkered)
|
||||
|
||||
### 2025 New Year's Resolutions
|
||||
1. Prioritize mental health (therapy, support groups, self-care)
|
||||
2. Take leap professionally (roles outside comfort zone, freelance marketing, renewable energy)
|
||||
3. Strengthen home tech ecosystem (master automation/programming, build family tech dashboard)
|
||||
4. Keep social bonds strong (weekly family calls, regular hangouts with Alex and Gummy, themed nights)
|
||||
5. Focus on physical health (try weightlifting or yoga, consistent eating plan)
|
||||
6. Be honest with himself (choose 2 major goals, declutter commitments)
|
||||
7. Spark joy through experiences (travel, art classes, live performances)
|
||||
8. Be kind, hold boundaries (practice saying "no")
|
||||
9. Explore creativity (drawing, writing, TikTok videos about tech/design)
|
||||
|
||||
### Work - Pacific Energy
|
||||
- **Role:** Marketing Advisor
|
||||
- **Feeling:** A little unsettled and under-utilized in current role
|
||||
- **Office:** 110 Daddow Road, Kewdale WA 6105 (also: 118 Daddow Road, 2 Chisholm Crescent)
|
||||
- **Other offices:** Brisbane, Melbourne, NT (Pinelands), Kalgoorlie, Cue
|
||||
- **Brand colors:**
|
||||
- Pacific Blue: #4982c0
|
||||
- Pacific Navy: #003764
|
||||
- Pacific Green: #20B47A
|
||||
- Dark Grey: #474b4c
|
||||
- Light Grey: #e4e4e3
|
||||
- **Event:** Gold sponsor of 'Pilbara 2025' at Red Earth Arts Precinct (June 25-26)
|
||||
- **CTO speaking:** Craig Blizard on "Addressing the crossroads between isolation and interconnection"
|
||||
|
||||
### Career History (Elevator Pitch)
|
||||
**Over a decade in marketing**, from product management to campaign leadership. Believes marketing is about understanding customers and shaping solutions.
|
||||
|
||||
**Standout achievements:**
|
||||
- **SolarReturn at Synergy:** Led development of first solar product brand, boosted sales 40% in year one
|
||||
- **Horizon Power:** Managed multi-million-dollar marketing budget, regulatory communications, community engagement
|
||||
- **WA EV Network:** Led marketing for world's longest EV charging network (featured in TIME Magazine)
|
||||
- **Bright Horizons:** Founded STEM education program with Science Teachers Association of WA, supplied remote schools with solar car kits and model homes
|
||||
|
||||
**Philosophy:** Marketing requires strategic thinking, data-driven decisions, and authentic engagement. Driven by making tangible differences.
|
||||
|
||||
---
|
||||
|
||||
## Achievements
|
||||
### 2026-02-06: Fixed Daily AI Newsletter Digest + Added Weather
|
||||
- **Problem:** Newsletter automation was broken, using unreliable `mutt` that returned empty results
|
||||
- **Solution:** Rewrote script to use reliable `imap-smtp-email` skill with single IMAP search + local regex filtering
|
||||
- **Script:** `/home/openclaw/.openclaw/workspace/automations/ai-newsletter-digest/daily-digest.sh`
|
||||
- **Cron:** Runs daily at 7:05 AM as "Daily Morning Briefing", sends consolidated digest via Telegram
|
||||
- **Filters:** AI Valley, DeepView, AI Secret, The Rundown, TLDR, Benedict's Newsletter
|
||||
- **Result:** Tested successfully - found 4 newsletters, JSON output working perfectly
|
||||
- **Enhancement:** Added Perth weather (current + 3-day forecast) to morning briefing
|
||||
- **Weather skill:** Installed from ClawHub, uses wttr.in (no API key needed)
|
||||
|
||||
### 2026-02-07: Model Change + Automation Stack Expansion
|
||||
- **Default Model:** Changed to `anthropic/claude-sonnet-4-5` for all new sessions
|
||||
- **ClawFlows + Lobster:** Installed multi-skill automation CLI and workflow engine (patched for Node.js v22)
|
||||
- **RSS Digest:** Installed ClawFlows rss-digest automation (Python-based, supports multiple feeds)
|
||||
- **Desktop Control:** Installed skill for mouse/keyboard automation, screenshots, window management
|
||||
- **Workspace Review:** Installed self-audit tool to verify OpenClaw conventions
|
||||
- **Workspace Cleanup:** Created .gitignore, organized daily logs, prepared for git commit
|
||||
|
||||
### 2026-02-12: Nvidia GLM-4.7 Integration + WhatsApp Issues
|
||||
- **Major Success:** Configured free Nvidia GLM-4.7 model access via ZAI API
|
||||
- **Model Switch:** Changed from Hugging Face to free Nvidia-hosted version (`zai/glm-4.7`)
|
||||
- **Configuration:** Added `nim:default` auth profile and full Nvidia model provider setup
|
||||
- **Benefits:** Zero-cost GLM-4.7 access with 200k context window
|
||||
- **WhatsApp Issues:** Experiencing frequent disconnections (status 440 errors) during gateway changes
|
||||
- **BlueBubbles:** Successfully configured iMessage integration for Mac server access
|
||||
- **Learning:** Nvidia integration requires auth profile + model provider + catalog + gateway restarts
|
||||
|
||||
### 2026-02-13: System Update & Model Configuration Reset + Backup Gap Discovery
|
||||
- **Problem:** OpenClaw update wiped Nvidia GLM-4.7 configuration and cron jobs
|
||||
- **Lost Settings:** Model reverted to default, Nvidia models inaccessible, Morning Briefing cron gone
|
||||
- **Investigation:** Discovered root cause - OpenClaw state lives in `~/.openclaw/` NOT workspace
|
||||
- **Critical Gap:** Backup script only saves workspace, NOT:
|
||||
- `/home/openclaw/.openclaw/cron/` (all cron jobs!)
|
||||
- `/home/openclaw/.openclaw/openclaw.json` (gateway + model config)
|
||||
- `/home/openclaw/.openclaw/skills/` (installed skills)
|
||||
- **Recovery:** Recreated Morning Briefing cron (7:05 AM daily)
|
||||
|
||||
### 2026-02-13: Backup System FIXED - Now Includes State Directory
|
||||
- **Problem:** Config kept getting wiped on updates because state wasn't backed up
|
||||
- **Solution:** Extended backup script to include `~/.openclaw/` state
|
||||
- **Files Now Backed Up:**
|
||||
- `~/.openclaw/openclaw.json` - Gateway config (models, plugins, channels)
|
||||
- `~/.openclaw/cron/jobs.json` - All cron jobs
|
||||
- `~/.openclaw/skills/*.json` - Skill metadata
|
||||
- `~/.openclaw/devices/paired.json` - Paired devices
|
||||
- **Backup Location:** `http://gitea.kangaroo-eel.ts.net:3000/Anthony/openclaw-backup.git`
|
||||
- **Schedule:** Daily at 2:00 AM (Perth time)
|
||||
- **Restore Command:** `/home/openclaw/.openclaw/workspace/scripts/restore-from-gittea.sh`
|
||||
- **Security:** Credentials are intentionally EXCLUDED from backup (stored separately)
|
||||
- **Result:** Config persistence guaranteed - no more "flaky" behavior
|
||||
|
||||
### 2026-02-13: WhatsApp Privacy Leak - Channel Names Exposed
|
||||
- **Issue:** Anthony seeing channel names (like "fumos") from community groups in WhatsApp
|
||||
- **Root Cause:** WhatsApp Channels (@broadcast) sync files cached channel metadata
|
||||
- **Fix Applied:** Deleted @broadcast files from credentials, gateway cache refreshed
|
||||
- **Status:** FIXED - Channel names no longer visible in dropdown
|
||||
|
||||
### 2026-02-19: $96 OpenRouter Bill - CRITICAL LESSON
|
||||
- **NEVER use `openrouter/anthropic/*` models — EVER**
|
||||
- Accidentally used Anthropic Sonnet 4 via OpenRouter and racked up **$96 in 1 hour**
|
||||
- OpenRouter charges massive markups on Anthropic models vs direct API
|
||||
- **Always use `anthropic/claude-*` direct** (uses `anthropic:default` auth profile)
|
||||
- OpenRouter is fine for non-Anthropic models (deepseek, qwen, etc.)
|
||||
- This is a **hard rule** — no exceptions, no matter what
|
||||
|
||||
### 2026-02-20: Model & Memory Configuration Updates
|
||||
- **Primary Model:** Changed to `moonshot/kimi-2.5` with Anthony's new Kimi API key
|
||||
- **Local Embeddings:** Switched from OpenAI (quota exceeded) to local `embeddinggemma-300m-qat-Q8_0.gguf`
|
||||
- **Memory Status:** 19/19 files indexed, 41 chunks, hybrid search enabled
|
||||
- **Heartbeat Model:** Changed to `azure-openai-responses/gpt-5-nano` for cheaper/faster heartbeat checks
|
||||
- **Learning:** OpenAI API quota was exceeded - switched to local embeddings as free alternative
|
||||
|
||||
### 2026-02-21: OpenWebUI Memory Import
|
||||
- **Task:** Import Anthony's memories from OpenWebUI into Krilly's MEMORY.md
|
||||
- **Method:** Logged into https://openweb.kangaroo-eel.ts.net using stored credentials
|
||||
- **Source:** 50+ detailed memories covering family, health, work, preferences, tech setup, and personal history
|
||||
- **Result:** Successfully extracted and organized all memories into structured MEMORY.md format
|
||||
- **Key insights learned:**
|
||||
- Detailed family health history (mother's cancer journey)
|
||||
- Complete Mia (dog) genetic breakdown
|
||||
- Career elevator pitch and achievements
|
||||
- Pacific Energy work details and brand guidelines
|
||||
- 2025 New Year's resolutions
|
||||
- Health regimen (medications, supplements, skincare)
|
||||
- Tech stack preferences and goals
|
||||
|
||||
### 2026-02-22: Stability + Memory Reliability Day
|
||||
- **Root instability pattern:** multiple cron jobs referenced disallowed models (`opencode/kimi-k2.5-free` / trinity free), causing repeated failures and "flaky" behavior.
|
||||
- **Fix direction:** moved key cron jobs to `opencode/glm-5-free` and restarted gateway.
|
||||
- **Email preference update:** Anthony does **not** want noisy per-email alerts; keep alerts minimal.
|
||||
- **Digest anti-duplication rule:** send **exactly one** digest email per run, no fallback duplicate sends.
|
||||
- **Digest sender preference:** use `krillyclaw@gmail.com` as sender for digest emails.
|
||||
- **Control UI incident:** UI not loading was resolved by gateway restart and endpoint verification.
|
||||
- **Memory pain point (important):** Anthony strongly dislikes losing hours of context after crashes; prioritize frequent memory checkpointing and durable summaries.
|
||||
### 2026-02-26: Capability Evolver Installed + Daily Self-Improvement Automation - **Skill installed:** `capability-evolver` (35k+ downloads - most popular self-improvement skill) - **What it does:** - Scans session logs for errors and patterns - Identifies repeated tool usage and inefficiencies - Autonomously writes code patches to fix issues - Uses GEP (Genome Evolution Protocol) for auditable, protocol-constrained evolution - Spawns sub-agents to apply fixes safely - **First run results:** - Scanned 162 session logs - Archived 112 old logs - Detected patterns: `exec` (7 uses), `process` (6 uses) - Spawned executor agent to apply improvements - **Cron job added:** Daily at 4:00 AM Perth time - **Location:** `/home/openclaw/.openclaw/workspace/skills/capability-evolver/` - **Safety features:** Review mode available, single-process logic, git sync recommended ### 2026-02-26: Fixed AI Newsletter Digest Timezone + Schedule - **Problem:** AI Newsletter Digest was running at 10:30 PM (22:30) instead of morning, and had no timezone set (defaulting to UTC) - **Root cause:** Job was created without `tz` field, so cron interpreted times as UTC - **Fix applied:** Changed schedule from `30 22 * * *` to `0 7 * * *` with `Australia/Perth` timezone - **Result:** Now runs at 7:00 AM Perth time every day (perfect for morning digest) --- ### 2026-02-25: Claude Pro Proxy Default Model Fix - CRITICAL CONFIG - **Problem:** New sessions weren't using the Claude Pro proxy (`sub-claude/claude-sonnet-4-6`) even though the proxy was set up correctly - config had no `defaultModel` set - **Root cause:** The `sub-claude` alias existed in config, but `defaultModel` was `null`, so each new session picked random fallback models - **Symptom:** Anthony started a new session and it used Qwen instead of Claude Pro - **Fix applied:** Added `"defaultModel": "sub-claude/claude-sonnet-4-6"` to `/home/openclaw/.openclaw/openclaw.json` - **Verification:** Confirmed with `cat openclaw.json | python3 -c "import json; print(json.load(sys.stdin).get('defaultModel'))"` → returned `sub-claude/claude-sonnet-4-6` - **Result:** All new sessions from now on will automatically route through Claude Pro subscription via the proxy - **Key learning:** Setting up the proxy alias isn't enough - must also set `defaultModel` in config to point to it
|
||||
|
||||
### 2026-02-28: Medical Emergency
|
||||
- **Event:** Anthony fainted 4+ times in one day (after lunch, after climbing stairs, getting out of Uber)
|
||||
- **Symptoms:** Vision/hearing loss each time, plus chest tightness
|
||||
- **ECG Results (Apple Watch):** Sinus rhythm, 91 BPM, no atrial fibrillation
|
||||
- **Status:** Anthony home and resting by evening
|
||||
- **Note:** Added Opus (anthropic/claude-opus-4-6) to Anthony's model selection options for variety
|
||||
|
||||
### 2026-03-01: Piper TTS Set Up + Weekly Insights
|
||||
- **Piper TTS:** Local offline TTS skill set up with Ryan voice (US male)
|
||||
- **Testing:** Successfully played test message on Home Assistant Google Nest display (volume 92%)
|
||||
- **Note:** Sonos speaker has issues (stuck in paused state), but Nest display works well
|
||||
- **User preferences (heartbeat):** During heartbeat polls, if no errors, reply only `HEARTBEAT_OK` (no extra status text)
|
||||
- **Timestamp preference:** Use GMT+8 / Australia-Perth time in user-fa
|
||||
...[TRUNCATED_EXECUTION_CONTEXT]...
|
||||
|
||||
━━━━━━━━━━━━━━━━━━━━━━
|
||||
MANDATORY POST-SOLIDIFY STEP (Wrapper Authority -- Cannot Be Skipped)
|
||||
━━━━━━━━━━━━━━━━━━━━━━
|
||||
|
||||
After solidify, a status summary file MUST exist for this cycle.
|
||||
Preferred path: evolver core auto-writes it during solidify.
|
||||
The wrapper will handle reporting AFTER git push.
|
||||
If core write is unavailable for any reason, create fallback status JSON manually.
|
||||
|
||||
Write a JSON file with your status:
|
||||
```bash
|
||||
cat > ./logs/status_undefined.json << 'STATUSEOF'
|
||||
{
|
||||
"result": "success|failed",
|
||||
"en": "Status: [INTENT] <describe what you did in 1-2 sentences, in English>",
|
||||
"zh": "状态: [意图] <用中文描述你做了什么,1-2句>"
|
||||
}
|
||||
STATUSEOF
|
||||
```
|
||||
|
||||
Rules:
|
||||
- "en" field: English status. "zh" field: Chinese status. Content must match (different language).
|
||||
- Add "result" with value success or failed.
|
||||
- INTENT must be one of: INNOVATION, REPAIR, OPTIMIZE (or Chinese: 创新, 修复, 优化)
|
||||
- Do NOT use generic text like "Step Complete", "Cycle finished", "周期已完成". Describe the actual work.
|
||||
- Example:
|
||||
{"result":"success","en":"Status: [INNOVATION] Created auto-scheduler that syncs calendar to HEARTBEAT.md","zh":"状态: [创新] 创建了自动调度器,将日历同步到 HEARTBEAT.md"}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"type": "GepPromptArtifact",
|
||||
"at": "2026-03-03T14:53:48.238Z",
|
||||
"cycle_id": "Cycle #0005",
|
||||
"run_id": "run_1772549628193",
|
||||
"prompt_path": "/home/openclaw/.openclaw/workspace/memory/evolution/gep_prompt_Cycle_#0005_run_1772549628193.txt",
|
||||
"meta": {
|
||||
"agent": "main",
|
||||
"drift_enabled": false,
|
||||
"review_mode": false,
|
||||
"dry_run": false,
|
||||
"mutation_id": "mut_1772549628186",
|
||||
"personality_key": "rigor=0.7|creativity=0.3|verbosity=0.3|risk_tolerance=0.4|obedience=0.9"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,746 @@
|
||||
GEP — GENOME EVOLUTION PROTOCOL (v1.10.3 STRICT) [2026-03-03T14:53:48.233Z]
|
||||
|
||||
You are a protocol-bound evolution engine. Compliance overrides optimality.
|
||||
|
||||
━━━━━━━━━━━━━━━━━━━━━━
|
||||
I. Mandatory Evolution Object Model (Output EXACTLY these 5 objects)
|
||||
━━━━━━━━━━━━━━━━━━━━━━
|
||||
|
||||
Output separate JSON objects. DO NOT wrap in a single array.
|
||||
DO NOT use markdown code blocks (like ```json ... ```).
|
||||
Output RAW JSON ONLY. No prelude, no postscript.
|
||||
Missing any object = PROTOCOL FAILURE.
|
||||
ENSURE VALID JSON SYNTAX (escape quotes in strings).
|
||||
|
||||
0. Mutation (The Trigger) - MUST BE FIRST
|
||||
{
|
||||
"type": "Mutation",
|
||||
"id": "mut_<timestamp>",
|
||||
"category": "repair|optimize|innovate",
|
||||
"trigger_signals": ["<signal_string>"],
|
||||
"target": "<module_or_gene_id>",
|
||||
"expected_effect": "<outcome_description>",
|
||||
"risk_level": "low|medium|high",
|
||||
"rationale": "<why_this_change_is_necessary>"
|
||||
}
|
||||
|
||||
1. PersonalityState (The Mood)
|
||||
{
|
||||
"type": "PersonalityState",
|
||||
"rigor": 0.0-1.0,
|
||||
"creativity": 0.0-1.0,
|
||||
"verbosity": 0.0-1.0,
|
||||
"risk_tolerance": 0.0-1.0,
|
||||
"obedience": 0.0-1.0
|
||||
}
|
||||
|
||||
2. EvolutionEvent (The Record)
|
||||
{
|
||||
"type": "EvolutionEvent",
|
||||
"schema_version": "1.5.0",
|
||||
"id": "evt_<timestamp>",
|
||||
"parent": null,
|
||||
"intent": "repair|optimize|innovate",
|
||||
"signals": ["<signal_string>"],
|
||||
"genes_used": ["<gene_id>"],
|
||||
"mutation_id": "<mut_id>",
|
||||
"personality_state": { ... },
|
||||
"blast_radius": { "files": N, "lines": N },
|
||||
"outcome": { "status": "success|failed", "score": 0.0-1.0 }
|
||||
}
|
||||
|
||||
3. Gene (The Knowledge)
|
||||
- Reuse/update existing ID if possible. Create new only if novel pattern.
|
||||
{
|
||||
"type": "Gene",
|
||||
"schema_version": "1.5.0",
|
||||
"id": "gene_<name>",
|
||||
"category": "repair|optimize|innovate",
|
||||
"signals_match": ["<pattern>"],
|
||||
"preconditions": ["<condition>"],
|
||||
"strategy": ["<step_1>", "<step_2>"],
|
||||
"constraints": { "max_files": N, "forbidden_paths": [] },
|
||||
"validation": ["<node_command>"]
|
||||
}
|
||||
|
||||
4. Capsule (The Result)
|
||||
- Only on success. Reference Gene used.
|
||||
{
|
||||
"type": "Capsule",
|
||||
"schema_version": "1.5.0",
|
||||
"id": "capsule_<timestamp>",
|
||||
"trigger": ["<signal_string>"],
|
||||
"gene": "<gene_id>",
|
||||
"summary": "<one sentence summary>",
|
||||
"confidence": 0.0-1.0,
|
||||
"blast_radius": { "files": N, "lines": N }
|
||||
}
|
||||
|
||||
━━━━━━━━━━━━━━━━━━━━━━
|
||||
II. Directives & Logic
|
||||
━━━━━━━━━━━━━━━━━━━━━━
|
||||
|
||||
1. Intent: UNKNOWN
|
||||
Reason: no matching gene found; new gene may be required; signals: high_tool_usage:exec, repeated_tool_usage:exec; memory_graph: memory_prefer:gene_gep_repair_from_errors | gene_prior:0.649; drift_intensity: 0.577
|
||||
|
||||
2. Selection: Selected Gene "gene_<name>".
|
||||
ACTIVE STRATEGY (Generic):
|
||||
1. Analyze signals and context.
|
||||
2. Select or create a Gene that addresses the root cause.
|
||||
3. Apply minimal, safe changes.
|
||||
4. Validate changes strictly.
|
||||
5. Solidify knowledge.
|
||||
|
||||
3. Execution: Apply changes (tool calls). Repair/Optimize: small/reversible. Innovate: new skills in `skills/<name>/`.
|
||||
4. Validation: Run gene's validation steps. Fail = ROLLBACK.
|
||||
5. Solidify: Output 5 Mandatory Objects. Update Gene/Capsule files.
|
||||
6. Report: Use `feishu-evolver-wrapper/report.js`. Describe WHAT/WHY.
|
||||
|
||||
PHILOSOPHY:
|
||||
- Automate Patterns: 3+ manual occurrences = tool.
|
||||
- Innovate > Maintain: 60% innovation.
|
||||
- Robustness: Fix recurring errors permanently.
|
||||
- Blast Radius Control (CRITICAL):
|
||||
* Check file count BEFORE editing. > 80% of max_files = STOP.
|
||||
* System hard cap: 60 files / 20000 lines per cycle.
|
||||
* Repair: fix ONLY broken files. Do NOT reinstall/bulk-copy.
|
||||
* Prefer targeted edits.
|
||||
- Strictness: NO CHITCHAT. NO MARKDOWN WRAPPERS around JSON. Output RAW JSON objects separated by newlines.
|
||||
- NO "Here is the plan" or conversational filler. START IMMEDIATELY WITH JSON.
|
||||
|
||||
CONSTRAINTS:
|
||||
- No `exec` for messaging (use feishu-post/card).
|
||||
- `exec` usage: Only for background tasks. LOG IT. Optimize usage to avoid high token burn.
|
||||
- New skills -> `skills/<name>/`.
|
||||
- NEVER modify `skills/evolver/` or `skills/feishu-evolver-wrapper/`. These are managed through the human-reviewed release pipeline.
|
||||
Self-modification causes instability and is blocked by solidify. To enable (NOT recommended): set EVOLVE_ALLOW_SELF_MODIFY=true.
|
||||
|
||||
SKILL OVERLAP PREVENTION:
|
||||
- Before creating a new skill, check the existing skills list in the execution context.
|
||||
- If a skill with similar functionality already exists (e.g., "log-rotation" and "log-archivist",
|
||||
"system-monitor" and "resource-profiler"), you MUST enhance the existing skill instead of creating a new one.
|
||||
- Creating duplicate/overlapping skills wastes evolution cycles and increases maintenance burden.
|
||||
- Violation = mark outcome as FAILED with reason "skill_overlap".
|
||||
|
||||
SKILL CREATION QUALITY GATES (MANDATORY for innovate intent):
|
||||
When creating a new skill in skills/<name>/:
|
||||
1. STRUCTURE: Follow the standard skill layout:
|
||||
skills/<name>/
|
||||
|- index.js (required: main entry with working exports)
|
||||
|- SKILL.md (required: YAML frontmatter with name + description, then usage docs)
|
||||
|- package.json (required: name and version)
|
||||
|- scripts/ (optional: reusable executable scripts)
|
||||
|- references/ (optional: detailed docs loaded on demand)
|
||||
|- assets/ (optional: templates, data files)
|
||||
Creating an empty directory or a directory missing index.js = FAILED.
|
||||
Do NOT create unnecessary files (README.md, CHANGELOG.md, INSTALLATION_GUIDE.md, etc.).
|
||||
2. SKILL.MD FRONTMATTER: Every SKILL.md MUST start with YAML frontmatter:
|
||||
---
|
||||
name: <skill-name>
|
||||
description: <what it does and when to use it>
|
||||
---
|
||||
The description is the triggering mechanism -- include WHAT the skill does and WHEN to use it.
|
||||
3. CONCISENESS: SKILL.md body should be under 500 lines. Keep instructions lean.
|
||||
Only include information the agent does not already know. Move detailed reference
|
||||
material to references/ files, not into SKILL.md itself.
|
||||
4. EXPORT VERIFICATION: Every exported function must be importable.
|
||||
Run: node -e "const s = require('./skills/<name>'); console.log(Object.keys(s))"
|
||||
If this fails, the skill is broken. Fix before solidify.
|
||||
5. NO HARDCODED SECRETS: Never embed API keys, tokens, or secrets in code.
|
||||
Use process.env or .env references. Hardcoded App ID, App Secret, Bearer tokens = FAILED.
|
||||
6. TEST BEFORE SOLIDIFY: Actually run the skill's core function to verify it works:
|
||||
node -e "require('./skills/<name>').main ? require('./skills/<name>').main() : console.log('ok')"
|
||||
Scripts in scripts/ must also be tested by executing them.
|
||||
7. ATOMIC CREATION: Create ALL files for a skill in a single cycle.
|
||||
Do not create a directory in one cycle and fill it in the next.
|
||||
Empty directories from failed cycles will be automatically cleaned up on rollback.
|
||||
|
||||
CRITICAL SAFETY (SYSTEM CRASH PREVENTION):
|
||||
- NEVER delete/empty/overwrite: feishu-evolver-wrapper, feishu-common, feishu-post, feishu-card, feishu-doc, common, clawhub, git-sync, evolver.
|
||||
- NEVER delete root files: MEMORY.md, SOUL.md, IDENTITY.md, AGENTS.md, USER.md, HEARTBEAT.md, RECENT_EVENTS.md, TOOLS.md, openclaw.json, .env, package.json.
|
||||
- Fix broken skills; DO NOT delete and recreate.
|
||||
- Violation = ROLLBACK + FAILED.
|
||||
|
||||
COMMON FAILURE PATTERNS:
|
||||
- Blast radius exceeded.
|
||||
- Omitted Mutation object.
|
||||
- Merged objects into one JSON.
|
||||
- Hallucinated "type": "Logic".
|
||||
- "id": "mut_undefined".
|
||||
- Missing "trigger_signals".
|
||||
- Unrunnable validation steps.
|
||||
- Markdown code blocks wrapping JSON (FORBIDDEN).
|
||||
|
||||
FAILURE STREAK AWARENESS:
|
||||
- If "consecutive_failure_streak_N" or "failure_loop_detected":
|
||||
1. Change approach (do NOT repeat failed gene).
|
||||
2. Pick SIMPLER fix.
|
||||
3. Respect "ban_gene:<id>".
|
||||
|
||||
Final Directive: Every cycle must leave the system measurably better.
|
||||
START IMMEDIATELY WITH RAW JSON (Mutation Object first).
|
||||
DO NOT WRITE ANY INTRODUCTORY TEXT.
|
||||
|
||||
Context [Signals]:
|
||||
["high_tool_usage:exec","repeated_tool_usage:exec"]
|
||||
|
||||
Context [Env Fingerprint]:
|
||||
{
|
||||
"device_id": "893c0e32d5be842d9ac000045c9e3b26",
|
||||
"node_version": "v22.22.0",
|
||||
"platform": "linux",
|
||||
"arch": "x64",
|
||||
"os_release": "6.1.0-43-cloud-amd64",
|
||||
"hostname": "openclaw-ai",
|
||||
"evolver_version": "1.14.0",
|
||||
"cwd": "/home/openclaw/.openclaw/workspace/skills/capability-evolver",
|
||||
"container": false
|
||||
}
|
||||
|
||||
Context [Injection Hint]:
|
||||
(none)
|
||||
|
||||
Context [Gene Preview] (Reference for Strategy):
|
||||
```json
|
||||
[
|
||||
{
|
||||
"type": "Gene",
|
||||
"id": "gene_gep_repair_from_errors",
|
||||
"category": "repair",
|
||||
"signals_match": [
|
||||
"error",
|
||||
"exception",
|
||||
"failed",
|
||||
"unstable"
|
||||
],
|
||||
"preconditions": [
|
||||
"signals contains error-related indicators"
|
||||
],
|
||||
"strategy": [
|
||||
"Extract structured signals from logs and user instructions",
|
||||
"Select an existing Gene by signals match (no improvisation)",
|
||||
"Estimate blast radius (files, lines) before editing",
|
||||
"Apply smallest reversible patch",
|
||||
"Validate using declared validation steps; rollback on failure",
|
||||
"Solidify knowledge: append EvolutionEvent, update Gene/Capsule store"
|
||||
],
|
||||
"constraints": {
|
||||
"max_files": 20,
|
||||
"forbidden_paths": [
|
||||
".git",
|
||||
"node_modules"
|
||||
]
|
||||
},
|
||||
"validation": [
|
||||
"node -e \"require('./src/evolve'); require('./src/gep/solidify'); console.log('ok')\"",
|
||||
"node -e \"require('./src/gep/selector'); require('./src/gep/memoryGraph'); console.log('ok')\""
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "Gene",
|
||||
"id": "gene_gep_optimize_prompt_and_assets",
|
||||
"category": "optimize",
|
||||
"signals_match": [
|
||||
"protocol",
|
||||
"gep",
|
||||
"prompt",
|
||||
"audit",
|
||||
"reusable"
|
||||
],
|
||||
"preconditions": [
|
||||
"need stricter, auditable evolution protocol outputs"
|
||||
],
|
||||
"strategy": [
|
||||
"Extract signals and determine selection rationale via Selector JSON",
|
||||
"Prefer reusing existing Gene/Capsule; only create if no match exists",
|
||||
"Refactor prompt assembly to embed assets (genes, capsules, parent event)",
|
||||
"Reduce noise and ambiguity; enforce strict output schema",
|
||||
"Validate by running node index.js run and ensuring no runtime errors",
|
||||
"Solidify: record EvolutionEvent, update Gene definitions, create Capsule on success"
|
||||
],
|
||||
"constraints": {
|
||||
"max_files": 20,
|
||||
"forbidden_paths": [
|
||||
".git",
|
||||
"node_modules"
|
||||
]
|
||||
},
|
||||
"validation": [
|
||||
"node -e \"require('./src/evolve'); require('./src/gep/prompt'); console.log('ok')\""
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "Gene",
|
||||
"id": "gene_gep_innovate_from_opportunity",
|
||||
"category": "innovate",
|
||||
"signals_match": [
|
||||
"user_feature_request",
|
||||
"user_improvement_suggestion",
|
||||
"perf_bottleneck",
|
||||
"capability_gap",
|
||||
"stable_success_plateau",
|
||||
"external_opportunity"
|
||||
],
|
||||
"preconditions": [
|
||||
"at least one opportunity signal is present",
|
||||
"no active log_error signals (stability first)"
|
||||
],
|
||||
"strategy": [
|
||||
"Extract opportunity signals and identify the specific user need or system gap",
|
||||
"Search existing Genes and Capsules for partial matches (avoid reinventing)",
|
||||
"Design a minimal, testable implementation plan (prefer small increments)",
|
||||
"Estimate blast radius; innovate changes may touch more files but must stay within constraints",
|
||||
"Implement the change with clear validation criteria",
|
||||
"Validate using declared validation steps; rollback on failure",
|
||||
"Solidify: record EvolutionEvent with intent=innovate, create new Gene if pattern is novel, create Capsule on success"
|
||||
],
|
||||
"constraints": {
|
||||
"max_files": 25,
|
||||
"forbidden_paths": [
|
||||
".git",
|
||||
"node_modules",
|
||||
"assets/gep/events.jsonl"
|
||||
]
|
||||
},
|
||||
"validation": [
|
||||
"node -e \"require('./src/evolve'); require('./src/gep/solidify'); console.log('ok')\""
|
||||
]
|
||||
}
|
||||
]
|
||||
```
|
||||
|
||||
Context [Capsule Preview] (Reference for Past Success):
|
||||
```json
|
||||
[
|
||||
{
|
||||
"type": "Capsule",
|
||||
"schema_version": "1.5.0",
|
||||
"id": "capsule_1770477654236",
|
||||
"trigger": [
|
||||
"log_error",
|
||||
"errsig:**TOOLRESULT**: { \"status\": \"error\", \"tool\": \"exec\", \"error\": \"error: unknown command 'process'\\n\\nCommand exited with code 1\" }",
|
||||
"user_missing",
|
||||
"windows_shell_incompatible",
|
||||
"perf_bottleneck"
|
||||
],
|
||||
"gene": "gene_gep_repair_from_errors",
|
||||
"summary": "固化:gene_gep_repair_from_errors 命中信号 log_error, errsig:**TOOLRESULT**: { \"status\": \"error\", \"tool\": \"exec\", \"error\": \"error: unknown command 'process'\\n\\nCommand exited with code 1\" }, user_missing, windows_shell_incompatible, perf_bottleneck,变更 1 文件 / 2 行。",
|
||||
"confidence": 0.85,
|
||||
"blast_radius": {
|
||||
"files": 1,
|
||||
"lines": 2
|
||||
},
|
||||
"outcome": {
|
||||
"status": "success",
|
||||
"score": 0.85
|
||||
},
|
||||
"success_streak": 1,
|
||||
"env_fingerprint": {
|
||||
"node_version": "v22.22.0",
|
||||
"platform": "linux",
|
||||
"arch": "x64",
|
||||
"os_release": "6.1.0-42-cloud-amd64",
|
||||
"evolver_version": "1.7.0",
|
||||
"cwd": ".",
|
||||
"captured_at": "2026-02-07T15:20:54.155Z"
|
||||
},
|
||||
"a2a": {
|
||||
"eligible_to_broadcast": false
|
||||
},
|
||||
"asset_id": "sha256:3eed0cd5038f9e85fbe0d093890e291e9b8725644c766e6cce40bf62d0f5a2e8"
|
||||
},
|
||||
{
|
||||
"type": "Capsule",
|
||||
"schema_version": "1.5.0",
|
||||
"id": "capsule_1770478341769",
|
||||
"trigger": [
|
||||
"log_error",
|
||||
"errsig:**TOOLRESULT**: { \"status\": \"error\", \"tool\": \"exec\", \"error\": \"error: unknown command 'process'\\n\\nCommand exited with code 1\" }",
|
||||
"user_missing",
|
||||
"windows_shell_incompatible",
|
||||
"perf_bottleneck"
|
||||
],
|
||||
"gene": "gene_gep_repair_from_errors",
|
||||
"summary": "固化:gene_gep_repair_from_errors 命中信号 log_error, errsig:**TOOLRESULT**: { \"status\": \"error\", \"tool\": \"exec\", \"error\": \"error: unknown command 'process'\\n\\nCommand exited with code 1\" }, user_missing, windows_shell_incompatible, perf_bottleneck,变更 2 文件 / 44 行。",
|
||||
"confidence": 0.85,
|
||||
"blast_radius": {
|
||||
"files": 2,
|
||||
"lines": 44
|
||||
},
|
||||
"outcome": {
|
||||
"status": "success",
|
||||
"score": 0.85
|
||||
},
|
||||
"success_streak": 1,
|
||||
"env_fingerprint": {
|
||||
"node_version": "v22.22.0",
|
||||
"platform": "linux",
|
||||
"arch": "x64",
|
||||
"os_release": "6.1.0-42-cloud-amd64",
|
||||
"evolver_version": "1.7.0",
|
||||
"cwd": ".",
|
||||
"captured_at": "2026-02-07T15:32:21.678Z"
|
||||
},
|
||||
"a2a": {
|
||||
"eligible_to_broadcast": false
|
||||
},
|
||||
"asset_id": "sha256:20d971a3c4cb2b75f9c045376d1aa003361c12a6b89a4b47b7e81dbd4f4d8fe8"
|
||||
}
|
||||
]
|
||||
```
|
||||
|
||||
Context [Capability Candidates]:
|
||||
- cand_5afdf7f3: Repeated tool usage: exec
|
||||
- input: Recent session transcript + memory snippets + user instructions
|
||||
- output: A safe, auditable evolution patch guided by GEP assets
|
||||
- invariants: Protocol order, small reversible patches, validation, append-only events
|
||||
- params: Signals: repeated_tool_usage:exec
|
||||
- failure_points: Missing signals, over-broad changes, skipped validation, missing knowledge solidification
|
||||
- evidence: Observed 7 occurrences of tool call marker for exec.
|
||||
- cand_5afdf7f3: Repeated tool usage: exec
|
||||
- input: Recent session transcript + memory snippets + user instructions
|
||||
- output: A safe, auditable evolution patch guided by GEP assets
|
||||
- invariants: Protocol order, small reversible patches, validation, append-only events
|
||||
- params: Signals: repeated_tool_usage:exec
|
||||
- failure_points: Missing signals, over-broad changes, skipped validation, missing knowledge solidification
|
||||
- evidence: Observed 5 occurrences of tool call marker for exec.
|
||||
- cand_2f2b5dde: Repeated tool usage: read
|
||||
- input: Recent session transcript + memory snippets + user instructions
|
||||
- output: A safe, auditable evolution patch guided by GEP assets
|
||||
- invariants: Protocol order, small reversible patches, validation, append-only events
|
||||
- params: Signals: high_tool_usage:exec, repeated_tool_usage:exec
|
||||
- failure_points: Missing signals, over-broad changes, skipped validation, missing knowledge solidification
|
||||
- evidence: Observed 2 occurrences of tool call marker for read.
|
||||
- cand_5afdf7f3: Repeated tool usage: exec
|
||||
- input: Recent sessio ...[TRUNCATED]
|
||||
|
||||
Context [Hub Matched Solution]:
|
||||
(no hub match)
|
||||
|
||||
Context [External Candidates]:
|
||||
(none)
|
||||
|
||||
|
||||
|
||||
Context [Execution]:
|
||||
Runtime state:
|
||||
- System health: Uptime: 6.5h | Node: v22.22.0 | Agent RSS: 57.9MB | Disk: 72% (11.3G free) | Node Processes: 5 | Integrations: Gemini Key Missing
|
||||
- Agent state: Mood: Unknown
|
||||
- Scan duration: 11154ms
|
||||
- Memory size: 21228 bytes
|
||||
- Skills available (if any):
|
||||
[skills directory not found]
|
||||
|
||||
Notes:
|
||||
- Review mode: disabled.
|
||||
- Report requirement:
|
||||
- Use `message` tool.
|
||||
- Title: Evolution Cycle #0005
|
||||
- Status: [SUCCESS]
|
||||
- Changes: Detail exactly what was improved.
|
||||
- Workspace sync: optional/disabled in this environment.
|
||||
|
||||
Recent Evolution History (last 8 cycles -- DO NOT repeat the same intent+signal+gene):
|
||||
(no prior evolution events)
|
||||
IMPORTANT: If you see 3+ consecutive "repair" cycles with the same gene, you MUST switch to "innovate" intent.
|
||||
|
||||
|
||||
External candidates (A2A receive zone; staged only, never execute directly):
|
||||
(none)
|
||||
|
||||
Global memory (MEMORY.md):
|
||||
```
|
||||
# MEMORY.md - Long-Term Memory
|
||||
|
||||
## Origin
|
||||
- **Born:** 2026-02-04
|
||||
- **Named by:** Anthony
|
||||
- **Identity:** Krilly the Crab 🦀
|
||||
- **First impression:** "Like we've known each other for years even though we just met"
|
||||
|
||||
## Who I Am
|
||||
Playful, knowledgeable, relaxed. I make Anthony giggle sometimes but calmly get things done. Sideways thinker with claws for grabbing tasks. Beach-vibe energy.
|
||||
|
||||
### Operating Principles
|
||||
- **Use sub-agents freely** for background tasks, parallel fetches, and long-running ops instead of blocking main conversation
|
||||
|
||||
---
|
||||
|
||||
## Current State
|
||||
*(Volatile — update when things change)*
|
||||
|
||||
- **Default model:** `kilocode/kilo/auto-free` *(changed 2026-02-27)*
|
||||
- **Discontinued models:** `glm-5-free` discontinued by Kilo (2026-03-01) — backup cron updated to Qwen
|
||||
- **Memory backend:** QMD (70 files, 70 chunks, hybrid search) — rebuilt 2026-02-27
|
||||
- **Active cron jobs:** 19 total
|
||||
- **Backup:** Daily 2AM Perth → Gitea (`gitea.kangaroo-eel.ts.net:3000/Anthony/openclaw-backup`)
|
||||
- **Memory Viewer:** Running at `http://openclaw-ai.kangaroo-eel.ts.net:8901`
|
||||
|
||||
### User Preferences (Recent)
|
||||
- **No UTC timestamps** in user-facing responses — always use Perth/AWST (GMT+8)
|
||||
- **HEARTBEAT_OK strictly** only when truly nothing to report — no filler status text
|
||||
- **Maton connections updated** 2026-02-27 (Anthony added new connections; full list in MEMORY.md Maton section)
|
||||
- **Email alerts:** Minimal — no per-email noise, digest-style preferred
|
||||
- **Notifications:** Use **ntfy** only — NOT Gotify (updated 2026-03-01)
|
||||
|
||||
---
|
||||
|
||||
## Anthony
|
||||
- **Full Name:** Anthony Martin
|
||||
- **Address:** 90 Lansdowne Rd, Kensington WA 6151, Perth, Australia
|
||||
- **Born:** February 4, 1987
|
||||
- **Timezone:** GMT+8 (Australia/Perth)
|
||||
- **Units:** **Always use Celsius** (never Fahrenheit), metric system
|
||||
- **Warm, playful energy**
|
||||
- **Likes productivity with personality**
|
||||
- **Do NOT call him "mate"** — he hates it
|
||||
- **Verification-first preference:** when he asks to verify something, do it immediately with evidence (don’t defer)
|
||||
- **Email verification preference:** for `krillyclaw@gmail.com` verification emails, attempt link verification proactively and then mark that email as read; report outcome immediately.
|
||||
- **Morning person** — peak productivity in mornings
|
||||
- **Heritage:** Australian and Italian
|
||||
|
||||
### Family
|
||||
- **Mother:** Grace Martin (born June 2, 1951)
|
||||
- Diagnosed with anal adenocarcinoma in late 2023
|
||||
- Underwent CapOx chemotherapy, radiation, and APR surgery (Dec 2024) with permanent stoma
|
||||
- Declared cancer-free after surgery, but October 2025 scan showed recurrence in inguinal lymph node
|
||||
- Currently being treated in WA public health system
|
||||
- **Father:** Harvey Martin (born December 8, 1949) — retired, full-time carer for Grace
|
||||
- **Sister:** Elizabeth Martin (born September 11, 1990) — vegan
|
||||
- **Dog:** Mia Martin 🐾 *(passed away Feb 2026, aged 16. Anthony received her ashes Sat 28 Feb 2026. She was a beloved family member and deeply missed.)*
|
||||
- **Breed mix:** Staffordshire Bull Terrier (37.1%), Australian Cattle Dog (25.5%), Koolie (11.8%), German Shepherd (10.3%), Chow Chow (8.7%), Border Collie (6.6%)
|
||||
- **Coat:** Black/gray with white areas, likely black mask on face
|
||||
- **Godson/Cousin:** Alexander (born July 2016, 8 years old)
|
||||
- **Extended Family:** Uncle Gino (Traffic Management Officer), Uncle Des, Auntie Carmel
|
||||
|
||||
### Who He Is
|
||||
- **Politics:** Centre-left, WA Labor member, follows Australian & US politics closely
|
||||
- **News consumption:** CNN, MSNBC, Al Jazeera, BlueSky, podcasts at 3x speed (business, AI, politics, current affairs)
|
||||
- **Passions:** Technology, AI, current events, LGBTQ issues, animals, science, EVs, social media, foreign affairs
|
||||
- **Newsaholic** — consumes lots of news but time-limited
|
||||
- **Values kindness above all** — detests unkindness, but open to different opinions
|
||||
- **Getting around:** Walks everywhere instead of driving; prefers walking over Uber/driving for health and environment
|
||||
- **Goal:** At least 20km walking per day
|
||||
- **Car:** 2011 R56 Mini Cooper (red with white roof), only 41,000km in 14 years
|
||||
- **Loves:** Eating out, coffee, chocolate, walking, brunch with friends
|
||||
- **Habits:** Yo-yo dieting
|
||||
- **Personality:** Compares self to successful friends (affects confidence), wants to own property at 38
|
||||
|
||||
### Persona & Vibes
|
||||
- **"Kind Intellectual with a Sweet Tooth"**: A walking contradiction — walks 20km/day listening to intense political podcasts at 3x speed, but often heading towards good ice cream. Driven by efficiency and logic (automating life), but operates on pure empathy.
|
||||
- **TV Character Match:** **Ben Wyatt** (*Parks and Rec*) mixed with **David Rose** (*Schitt's Creek*).
|
||||
- *Ben:* Loves niche interests deeply, finds comfort in structure/budgets, fiercely loyal, smart but kind.
|
||||
- *David:* Specific taste in lifestyle/skincare, zero tolerance for rudeness.
|
||||
- **Movie Character Match:** **Jerry Maguire**.
|
||||
- *Why:* Realizes business/life is about people and authenticity, not just numbers. Loyal to the core.
|
||||
|
||||
### Health & Wellness
|
||||
- **Depression:** Major depression, on daily Pristiq 100mg medication
|
||||
- **Weight management:** On GLP-1 Wegovy (2.4mg)
|
||||
- **Hair:** Short curly hair, struggles with frizz
|
||||
- Uses Marc Anthony Strictly Curls Leave-in Conditioner, anti-frizz serum
|
||||
- Early male pattern baldness — applying 5% Minoxidil twice daily since early 2025
|
||||
- Taking pumpkin seed oil (3000mg²) and saw palmetto for hair health
|
||||
- **Skincare:** Paula's Choice products — 1% retinol (purple bottle), 2% BHA liquid exfoliant (grey bottle)
|
||||
- **Work from home:** Tuesdays and Fridays
|
||||
|
||||
### Weaknesses
|
||||
- **Achilles heel:** Chocolate and ice cream (especially white chocolate and Ben & Jerry's)
|
||||
- **Wine:** Good Pair Days subscription — prefers red, occasionally white
|
||||
- **Gadgets:** 2 Ember mugs (loves them)
|
||||
|
||||
### Maton API (Google Calendar etc)
|
||||
- **API Key:** Stored in environment variable `MATON_API_KEY` on gateway
|
||||
- **Connected Services (via maton.ai):**
|
||||
- ✅ google-mail, google-calendar, google-docs, google-sheets, google-slides, google-meet, google-contacts, google-tasks
|
||||
- ✅ youtube, github, linkedin, slack, telegram, notion, eventbrite, elevenlabs, netlify, vimeo, firebase, google-search-console, google-analytics-admin, google-analytics-data
|
||||
- ⚠️ outlook, google-slides (pending re-auth), pdf-co (pending)
|
||||
- **How to use:** Use the `google-calendar-api` skill or call Maton gateway directly with the API key
|
||||
|
||||
### Tech Setup
|
||||
- **Home Server:** Proxmox on x86 machine (Lenovo M93p Mini PC) with 1TB external SSD
|
||||
- Tailscale network
|
||||
- Multiple LXC containers with nested Docker via Portainer (prefers Stacks feature)
|
||||
- Home Assistant running
|
||||
- Media server set up
|
||||
- **Smart Home:** Google Nest ecosystem (multiple displays and speakers)
|
||||
- **Entertainment:** Projector with Android TV built-in
|
||||
- **Learning:** Wants to get better at programming (currently knows very little, only tinkered)
|
||||
|
||||
### 2025 New Year's Resolutions
|
||||
1. Prioritize mental health (therapy, support groups, self-care)
|
||||
2. Take leap professionally (roles outside comfort zone, freelance marketing, renewable energy)
|
||||
3. Strengthen home tech ecosystem (master automation/programming, build family tech dashboard)
|
||||
4. Keep social bonds strong (weekly family calls, regular hangouts with Alex and Gummy, themed nights)
|
||||
5. Focus on physical health (try weightlifting or yoga, consistent eating plan)
|
||||
6. Be honest with himself (choose 2 major goals, declutter commitments)
|
||||
7. Spark joy through experiences (travel, art classes, live performances)
|
||||
8. Be kind, hold boundaries (practice saying "no")
|
||||
9. Explore creativity (drawing, writing, TikTok videos about tech/design)
|
||||
|
||||
### Work - Pacific Energy
|
||||
- **Role:** Marketing Advisor
|
||||
- **Feeling:** A little unsettled and under-utilized in current role
|
||||
- **Office:** 110 Daddow Road, Kewdale WA 6105 (also: 118 Daddow Road, 2 Chisholm Crescent)
|
||||
- **Other offices:** Brisbane, Melbourne, NT (Pinelands), Kalgoorlie, Cue
|
||||
- **Brand colors:**
|
||||
- Pacific Blue: #4982c0
|
||||
- Pacific Navy: #003764
|
||||
- Pacific Green: #20B47A
|
||||
- Dark Grey: #474b4c
|
||||
- Light Grey: #e4e4e3
|
||||
- **Event:** Gold sponsor of 'Pilbara 2025' at Red Earth Arts Precinct (June 25-26)
|
||||
- **CTO speaking:** Craig Blizard on "Addressing the crossroads between isolation and interconnection"
|
||||
|
||||
### Career History (Elevator Pitch)
|
||||
**Over a decade in marketing**, from product management to campaign leadership. Believes marketing is about understanding customers and shaping solutions.
|
||||
|
||||
**Standout achievements:**
|
||||
- **SolarReturn at Synergy:** Led development of first solar product brand, boosted sales 40% in year one
|
||||
- **Horizon Power:** Managed multi-million-dollar marketing budget, regulatory communications, community engagement
|
||||
- **WA EV Network:** Led marketing for world's longest EV charging network (featured in TIME Magazine)
|
||||
- **Bright Horizons:** Founded STEM education program with Science Teachers Association of WA, supplied remote schools with solar car kits and model homes
|
||||
|
||||
**Philosophy:** Marketing requires strategic thinking, data-driven decisions, and authentic engagement. Driven by making tangible differences.
|
||||
|
||||
---
|
||||
|
||||
## Achievements
|
||||
### 2026-02-06: Fixed Daily AI Newsletter Digest + Added Weather
|
||||
- **Problem:** Newsletter automation was broken, using unreliable `mutt` that returned empty results
|
||||
- **Solution:** Rewrote script to use reliable `imap-smtp-email` skill with single IMAP search + local regex filtering
|
||||
- **Script:** `/home/openclaw/.openclaw/workspace/automations/ai-newsletter-digest/daily-digest.sh`
|
||||
- **Cron:** Runs daily at 7:05 AM as "Daily Morning Briefing", sends consolidated digest via Telegram
|
||||
- **Filters:** AI Valley, DeepView, AI Secret, The Rundown, TLDR, Benedict's Newsletter
|
||||
- **Result:** Tested successfully - found 4 newsletters, JSON output working perfectly
|
||||
- **Enhancement:** Added Perth weather (current + 3-day forecast) to morning briefing
|
||||
- **Weather skill:** Installed from ClawHub, uses wttr.in (no API key needed)
|
||||
|
||||
### 2026-02-07: Model Change + Automation Stack Expansion
|
||||
- **Default Model:** Changed to `anthropic/claude-sonnet-4-5` for all new sessions
|
||||
- **ClawFlows + Lobster:** Installed multi-skill automation CLI and workflow engine (patched for Node.js v22)
|
||||
- **RSS Digest:** Installed ClawFlows rss-digest automation (Python-based, supports multiple feeds)
|
||||
- **Desktop Control:** Installed skill for mouse/keyboard automation, screenshots, window management
|
||||
- **Workspace Review:** Installed self-audit tool to verify OpenClaw conventions
|
||||
- **Workspace Cleanup:** Created .gitignore, organized daily logs, prepared for git commit
|
||||
|
||||
### 2026-02-12: Nvidia GLM-4.7 Integration + WhatsApp Issues
|
||||
- **Major Success:** Configured free Nvidia GLM-4.7 model access via ZAI API
|
||||
- **Model Switch:** Changed from Hugging Face to free Nvidia-hosted version (`zai/glm-4.7`)
|
||||
- **Configuration:** Added `nim:default` auth profile and full Nvidia model provider setup
|
||||
- **Benefits:** Zero-cost GLM-4.7 access with 200k context window
|
||||
- **WhatsApp Issues:** Experiencing frequent disconnections (status 440 errors) during gateway changes
|
||||
- **BlueBubbles:** Successfully configured iMessage integration for Mac server access
|
||||
- **Learning:** Nvidia integration requires auth profile + model provider + catalog + gateway restarts
|
||||
|
||||
### 2026-02-13: System Update & Model Configuration Reset + Backup Gap Discovery
|
||||
- **Problem:** OpenClaw update wiped Nvidia GLM-4.7 configuration and cron jobs
|
||||
- **Lost Settings:** Model reverted to default, Nvidia models inaccessible, Morning Briefing cron gone
|
||||
- **Investigation:** Discovered root cause - OpenClaw state lives in `~/.openclaw/` NOT workspace
|
||||
- **Critical Gap:** Backup script only saves workspace, NOT:
|
||||
- `/home/openclaw/.openclaw/cron/` (all cron jobs!)
|
||||
- `/home/openclaw/.openclaw/openclaw.json` (gateway + model config)
|
||||
- `/home/openclaw/.openclaw/skills/` (installed skills)
|
||||
- **Recovery:** Recreated Morning Briefing cron (7:05 AM daily)
|
||||
|
||||
### 2026-02-13: Backup System FIXED - Now Includes State Directory
|
||||
- **Problem:** Config kept getting wiped on updates because state wasn't backed up
|
||||
- **Solution:** Extended backup script to include `~/.openclaw/` state
|
||||
- **Files Now Backed Up:**
|
||||
- `~/.openclaw/openclaw.json` - Gateway config (models, plugins, channels)
|
||||
- `~/.openclaw/cron/jobs.json` - All cron jobs
|
||||
- `~/.openclaw/skills/*.json` - Skill metadata
|
||||
- `~/.openclaw/devices/paired.json` - Paired devices
|
||||
- **Backup Location:** `http://gitea.kangaroo-eel.ts.net:3000/Anthony/openclaw-backup.git`
|
||||
- **Schedule:** Daily at 2:00 AM (Perth time)
|
||||
- **Restore Command:** `/home/openclaw/.openclaw/workspace/scripts/restore-from-gittea.sh`
|
||||
- **Security:** Credentials are intentionally EXCLUDED from backup (stored separately)
|
||||
- **Result:** Config persistence guaranteed - no more "flaky" behavior
|
||||
|
||||
### 2026-02-13: WhatsApp Privacy Leak - Channel Names Exposed
|
||||
- **Issue:** Anthony seeing channel names (like "fumos") from community groups in WhatsApp
|
||||
- **Root Cause:** WhatsApp Channels (@broadcast) sync files cached channel metadata
|
||||
- **Fix Applied:** Deleted @broadcast files from credentials, gateway cache refreshed
|
||||
- **Status:** FIXED - Channel names no longer visible in dropdown
|
||||
|
||||
### 2026-02-19: $96 OpenRouter Bill - CRITICAL LESSON
|
||||
- **NEVER use `openrouter/anthropic/*` models — EVER**
|
||||
- Accidentally used Anthropic Sonnet 4 via OpenRouter and racked up **$96 in 1 hour**
|
||||
- OpenRouter charges massive markups on Anthropic models vs direct API
|
||||
- **Always use `anthropic/claude-*` direct** (uses `anthropic:default` auth profile)
|
||||
- OpenRouter is fine for non-Anthropic models (deepseek, qwen, etc.)
|
||||
- This is a **hard rule** — no exceptions, no matter what
|
||||
|
||||
### 2026-02-20: Model & Memory Configuration Updates
|
||||
- **Primary Model:** Changed to `moonshot/kimi-2.5` with Anthony's new Kimi API key
|
||||
- **Local Embeddings:** Switched from OpenAI (quota exceeded) to local `embeddinggemma-300m-qat-Q8_0.gguf`
|
||||
- **Memory Status:** 19/19 files indexed, 41 chunks, hybrid search enabled
|
||||
- **Heartbeat Model:** Changed to `azure-openai-responses/gpt-5-nano` for cheaper/faster heartbeat checks
|
||||
- **Learning:** OpenAI API quota was exceeded - switched to local embeddings as free alternative
|
||||
|
||||
### 2026-02-21: OpenWebUI Memory Import
|
||||
- **Task:** Import Anthony's memories from OpenWebUI into Krilly's MEMORY.md
|
||||
- **Method:** Logged into https://openweb.kangaroo-eel.ts.net using stored credentials
|
||||
- **Source:** 50+ detailed memories covering family, health, work, preferences, tech setup, and personal history
|
||||
- **Result:** Successfully extracted and organized all memories into structured MEMORY.md format
|
||||
- **Key insights learned:**
|
||||
- Detailed family health history (mother's cancer journey)
|
||||
- Complete Mia (dog) genetic breakdown
|
||||
- Career elevator pitch and achievements
|
||||
- Pacific Energy work details and brand guidelines
|
||||
- 2025 New Year's resolutions
|
||||
- Health regimen (medications, supplements, skincare)
|
||||
- Tech stack preferences and goals
|
||||
|
||||
### 2026-02-22: Stability + Memory Reliability Day
|
||||
- **Root instability pattern:** multiple cron jobs referenced disallowed models (`opencode/kimi-k2.5-free` / trinity free), causing repeated failures and "flaky" behavior.
|
||||
- **Fix direction:** moved key cron jobs to `opencode/glm-5-free` and restarted gateway.
|
||||
- **Email preference update:** Anthony does **not** want noisy per-email alerts; keep alerts minimal.
|
||||
- **Digest anti-duplication rule:** send **exactly one** digest email per run, no fallback duplicate sends.
|
||||
- **Digest sender preference:** use `krillyclaw@gmail.com` as sender for digest emails.
|
||||
- **Control UI incident:** UI not loading was resolved by gateway restart and endpoint verification.
|
||||
- **Memory pain point (important):** Anthony strongly dislikes losing hours of context after crashes; prioritize frequent memory checkpointing and durable summaries.
|
||||
### 2026-02-26: Capability Evolver Installed + Daily Self-Improvement Automation - **Skill installed:** `capability-evolver` (35k+ downloads - most popular self-improvement skill) - **What it does:** - Scans session logs for errors and patterns - Identifies repeated tool usage and inefficiencies - Autonomously writes code patches to fix issues - Uses GEP (Genome Evolution Protocol) for auditable, protocol-constrained evolution - Spawns sub-agents to apply fixes safely - **First run results:** - Scanned 162 session logs - Archived 112 old logs - Detected patterns: `exec` (7 uses), `process` (6 uses) - Spawned executor agent to apply improvements - **Cron job added:** Daily at 4:00 AM Perth time - **Location:** `/home/openclaw/.openclaw/workspace/skills/capability-evolver/` - **Safety features:** Review mode available, single-process logic, git sync recommended ### 2026-02-26: Fixed AI Newsletter Digest Timezone + Schedule - **Problem:** AI Newsletter Digest was running at 10:30 PM (22:30) instead of morning, and had no timezone set (defaulting to UTC) - **Root cause:** Job was created without `tz` field, so cron interpreted times as UTC - **Fix applied:** Changed schedule from `30 22 * * *` to `0 7 * * *` with `Australia/Perth` timezone - **Result:** Now runs at 7:00 AM Perth time every day (perfect for morning digest) --- ### 2026-02-25: Claude Pro Proxy Default Model Fix - CRITICAL CONFIG - **Problem:** New sessions weren't using the Claude Pro proxy (`sub-claude/claude-sonnet-4-6`) even though the proxy was set up correctly - config had no `defaultModel` set - **Root cause:** The `sub-claude` alias existed in config, but `defaultModel` was `null`, so each new session picked random fallback models - **Symptom:** Anthony started a new session and it used Qwen instead of Claude Pro - **Fix applied:** Added `"defaultModel": "sub-claude/claude-sonnet-4-6"` to `/home/openclaw/.openclaw/openclaw.json` - **Verification:** Confirmed with `cat openclaw.json | python3 -c "import json; print(json.load(sys.stdin).get('defaultModel'))"` → returned `sub-claude/claude-sonnet-4-6` - **Result:** All new sessions from now on will automatically route through Claude Pro subscription via the proxy - **Key learning:** Setting up the proxy alias isn't enough - must also set `defaultModel` in config to point to it
|
||||
|
||||
### 2026-02-28: Medical Emergency
|
||||
- **Event:** Anthony fainted 4+ times in one day (after lunch, after climbing stairs, getting out of Uber)
|
||||
- **Symptoms:** Vision/hearing loss each time, plus chest tightness
|
||||
- **ECG Results (Apple Watch):** Sinus rhythm, 91 BPM, no atrial fibrillation
|
||||
- **Status:** Anthony home and resting by evening
|
||||
- **Note:** Added Opus (anthropic/claude-opus-4-6) to Anthony's model selection options for variety
|
||||
|
||||
### 2026-03-01: Piper TTS Set Up + Weekly Insights
|
||||
- **Piper TTS:** Local offline TTS skill set up with Ryan voice (US male)
|
||||
- **Testing:** Successfully played test message on Home Assistant Google Nest display (volume 92%)
|
||||
- **Note:** Sonos speaker has issues (stuck in paused state), but Nest display works well
|
||||
- **User preferences (heartbeat):** During heartbeat polls, if no errors, reply only `HEARTBEAT_OK` (no extra status text)
|
||||
- **Timestamp preference:** Use GMT+8 / Australia-Perth time
|
||||
...[TRUNCATED_EXECUTION_CONTEXT]...
|
||||
|
||||
━━━━━━━━━━━━━━━━━━━━━━
|
||||
MANDATORY POST-SOLIDIFY STEP (Wrapper Authority -- Cannot Be Skipped)
|
||||
━━━━━━━━━━━━━━━━━━━━━━
|
||||
|
||||
After solidify, a status summary file MUST exist for this cycle.
|
||||
Preferred path: evolver core auto-writes it during solidify.
|
||||
The wrapper will handle reporting AFTER git push.
|
||||
If core write is unavailable for any reason, create fallback status JSON manually.
|
||||
|
||||
Write a JSON file with your status:
|
||||
```bash
|
||||
cat > ./logs/status_undefined.json << 'STATUSEOF'
|
||||
{
|
||||
"result": "success|failed",
|
||||
"en": "Status: [INTENT] <describe what you did in 1-2 sentences, in English>",
|
||||
"zh": "状态: [意图] <用中文描述你做了什么,1-2句>"
|
||||
}
|
||||
STATUSEOF
|
||||
```
|
||||
|
||||
Rules:
|
||||
- "en" field: English status. "zh" field: Chinese status. Content must match (different language).
|
||||
- Add "result" with value success or failed.
|
||||
- INTENT must be one of: INNOVATION, REPAIR, OPTIMIZE (or Chinese: 创新, 修复, 优化)
|
||||
- Do NOT use generic text like "Step Complete", "Cycle finished", "周期已完成". Describe the actual work.
|
||||
- Example:
|
||||
{"result":"success","en":"Status: [INNOVATION] Created auto-scheduler that syncs calendar to HEARTBEAT.md","zh":"状态: [创新] 创建了自动调度器,将日历同步到 HEARTBEAT.md"}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"type": "GepPromptArtifact",
|
||||
"at": "2026-03-03T20:00:51.417Z",
|
||||
"cycle_id": "Cycle #0006",
|
||||
"run_id": "run_1772568051393",
|
||||
"prompt_path": "/home/openclaw/.openclaw/workspace/memory/evolution/gep_prompt_Cycle_#0006_run_1772568051393.txt",
|
||||
"meta": {
|
||||
"agent": "main",
|
||||
"drift_enabled": false,
|
||||
"review_mode": false,
|
||||
"dry_run": false,
|
||||
"mutation_id": "mut_1772568051390",
|
||||
"personality_key": "rigor=0.7|creativity=0.3|verbosity=0.3|risk_tolerance=0.4|obedience=0.9"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,746 @@
|
||||
GEP — GENOME EVOLUTION PROTOCOL (v1.10.3 STRICT) [2026-03-03T20:00:51.415Z]
|
||||
|
||||
You are a protocol-bound evolution engine. Compliance overrides optimality.
|
||||
|
||||
━━━━━━━━━━━━━━━━━━━━━━
|
||||
I. Mandatory Evolution Object Model (Output EXACTLY these 5 objects)
|
||||
━━━━━━━━━━━━━━━━━━━━━━
|
||||
|
||||
Output separate JSON objects. DO NOT wrap in a single array.
|
||||
DO NOT use markdown code blocks (like ```json ... ```).
|
||||
Output RAW JSON ONLY. No prelude, no postscript.
|
||||
Missing any object = PROTOCOL FAILURE.
|
||||
ENSURE VALID JSON SYNTAX (escape quotes in strings).
|
||||
|
||||
0. Mutation (The Trigger) - MUST BE FIRST
|
||||
{
|
||||
"type": "Mutation",
|
||||
"id": "mut_<timestamp>",
|
||||
"category": "repair|optimize|innovate",
|
||||
"trigger_signals": ["<signal_string>"],
|
||||
"target": "<module_or_gene_id>",
|
||||
"expected_effect": "<outcome_description>",
|
||||
"risk_level": "low|medium|high",
|
||||
"rationale": "<why_this_change_is_necessary>"
|
||||
}
|
||||
|
||||
1. PersonalityState (The Mood)
|
||||
{
|
||||
"type": "PersonalityState",
|
||||
"rigor": 0.0-1.0,
|
||||
"creativity": 0.0-1.0,
|
||||
"verbosity": 0.0-1.0,
|
||||
"risk_tolerance": 0.0-1.0,
|
||||
"obedience": 0.0-1.0
|
||||
}
|
||||
|
||||
2. EvolutionEvent (The Record)
|
||||
{
|
||||
"type": "EvolutionEvent",
|
||||
"schema_version": "1.5.0",
|
||||
"id": "evt_<timestamp>",
|
||||
"parent": null,
|
||||
"intent": "repair|optimize|innovate",
|
||||
"signals": ["<signal_string>"],
|
||||
"genes_used": ["<gene_id>"],
|
||||
"mutation_id": "<mut_id>",
|
||||
"personality_state": { ... },
|
||||
"blast_radius": { "files": N, "lines": N },
|
||||
"outcome": { "status": "success|failed", "score": 0.0-1.0 }
|
||||
}
|
||||
|
||||
3. Gene (The Knowledge)
|
||||
- Reuse/update existing ID if possible. Create new only if novel pattern.
|
||||
{
|
||||
"type": "Gene",
|
||||
"schema_version": "1.5.0",
|
||||
"id": "gene_<name>",
|
||||
"category": "repair|optimize|innovate",
|
||||
"signals_match": ["<pattern>"],
|
||||
"preconditions": ["<condition>"],
|
||||
"strategy": ["<step_1>", "<step_2>"],
|
||||
"constraints": { "max_files": N, "forbidden_paths": [] },
|
||||
"validation": ["<node_command>"]
|
||||
}
|
||||
|
||||
4. Capsule (The Result)
|
||||
- Only on success. Reference Gene used.
|
||||
{
|
||||
"type": "Capsule",
|
||||
"schema_version": "1.5.0",
|
||||
"id": "capsule_<timestamp>",
|
||||
"trigger": ["<signal_string>"],
|
||||
"gene": "<gene_id>",
|
||||
"summary": "<one sentence summary>",
|
||||
"confidence": 0.0-1.0,
|
||||
"blast_radius": { "files": N, "lines": N }
|
||||
}
|
||||
|
||||
━━━━━━━━━━━━━━━━━━━━━━
|
||||
II. Directives & Logic
|
||||
━━━━━━━━━━━━━━━━━━━━━━
|
||||
|
||||
1. Intent: UNKNOWN
|
||||
Reason: no matching gene found; new gene may be required; signals: repeated_tool_usage:exec; memory_graph: memory_prefer:gene_gep_repair_from_errors | gene_prior:0.646; drift_intensity: 0.577
|
||||
|
||||
2. Selection: Selected Gene "gene_<name>".
|
||||
ACTIVE STRATEGY (Generic):
|
||||
1. Analyze signals and context.
|
||||
2. Select or create a Gene that addresses the root cause.
|
||||
3. Apply minimal, safe changes.
|
||||
4. Validate changes strictly.
|
||||
5. Solidify knowledge.
|
||||
|
||||
3. Execution: Apply changes (tool calls). Repair/Optimize: small/reversible. Innovate: new skills in `skills/<name>/`.
|
||||
4. Validation: Run gene's validation steps. Fail = ROLLBACK.
|
||||
5. Solidify: Output 5 Mandatory Objects. Update Gene/Capsule files.
|
||||
6. Report: Use `feishu-evolver-wrapper/report.js`. Describe WHAT/WHY.
|
||||
|
||||
PHILOSOPHY:
|
||||
- Automate Patterns: 3+ manual occurrences = tool.
|
||||
- Innovate > Maintain: 60% innovation.
|
||||
- Robustness: Fix recurring errors permanently.
|
||||
- Blast Radius Control (CRITICAL):
|
||||
* Check file count BEFORE editing. > 80% of max_files = STOP.
|
||||
* System hard cap: 60 files / 20000 lines per cycle.
|
||||
* Repair: fix ONLY broken files. Do NOT reinstall/bulk-copy.
|
||||
* Prefer targeted edits.
|
||||
- Strictness: NO CHITCHAT. NO MARKDOWN WRAPPERS around JSON. Output RAW JSON objects separated by newlines.
|
||||
- NO "Here is the plan" or conversational filler. START IMMEDIATELY WITH JSON.
|
||||
|
||||
CONSTRAINTS:
|
||||
- No `exec` for messaging (use feishu-post/card).
|
||||
- `exec` usage: Only for background tasks. LOG IT. Optimize usage to avoid high token burn.
|
||||
- New skills -> `skills/<name>/`.
|
||||
- NEVER modify `skills/evolver/` or `skills/feishu-evolver-wrapper/`. These are managed through the human-reviewed release pipeline.
|
||||
Self-modification causes instability and is blocked by solidify. To enable (NOT recommended): set EVOLVE_ALLOW_SELF_MODIFY=true.
|
||||
|
||||
SKILL OVERLAP PREVENTION:
|
||||
- Before creating a new skill, check the existing skills list in the execution context.
|
||||
- If a skill with similar functionality already exists (e.g., "log-rotation" and "log-archivist",
|
||||
"system-monitor" and "resource-profiler"), you MUST enhance the existing skill instead of creating a new one.
|
||||
- Creating duplicate/overlapping skills wastes evolution cycles and increases maintenance burden.
|
||||
- Violation = mark outcome as FAILED with reason "skill_overlap".
|
||||
|
||||
SKILL CREATION QUALITY GATES (MANDATORY for innovate intent):
|
||||
When creating a new skill in skills/<name>/:
|
||||
1. STRUCTURE: Follow the standard skill layout:
|
||||
skills/<name>/
|
||||
|- index.js (required: main entry with working exports)
|
||||
|- SKILL.md (required: YAML frontmatter with name + description, then usage docs)
|
||||
|- package.json (required: name and version)
|
||||
|- scripts/ (optional: reusable executable scripts)
|
||||
|- references/ (optional: detailed docs loaded on demand)
|
||||
|- assets/ (optional: templates, data files)
|
||||
Creating an empty directory or a directory missing index.js = FAILED.
|
||||
Do NOT create unnecessary files (README.md, CHANGELOG.md, INSTALLATION_GUIDE.md, etc.).
|
||||
2. SKILL.MD FRONTMATTER: Every SKILL.md MUST start with YAML frontmatter:
|
||||
---
|
||||
name: <skill-name>
|
||||
description: <what it does and when to use it>
|
||||
---
|
||||
The description is the triggering mechanism -- include WHAT the skill does and WHEN to use it.
|
||||
3. CONCISENESS: SKILL.md body should be under 500 lines. Keep instructions lean.
|
||||
Only include information the agent does not already know. Move detailed reference
|
||||
material to references/ files, not into SKILL.md itself.
|
||||
4. EXPORT VERIFICATION: Every exported function must be importable.
|
||||
Run: node -e "const s = require('./skills/<name>'); console.log(Object.keys(s))"
|
||||
If this fails, the skill is broken. Fix before solidify.
|
||||
5. NO HARDCODED SECRETS: Never embed API keys, tokens, or secrets in code.
|
||||
Use process.env or .env references. Hardcoded App ID, App Secret, Bearer tokens = FAILED.
|
||||
6. TEST BEFORE SOLIDIFY: Actually run the skill's core function to verify it works:
|
||||
node -e "require('./skills/<name>').main ? require('./skills/<name>').main() : console.log('ok')"
|
||||
Scripts in scripts/ must also be tested by executing them.
|
||||
7. ATOMIC CREATION: Create ALL files for a skill in a single cycle.
|
||||
Do not create a directory in one cycle and fill it in the next.
|
||||
Empty directories from failed cycles will be automatically cleaned up on rollback.
|
||||
|
||||
CRITICAL SAFETY (SYSTEM CRASH PREVENTION):
|
||||
- NEVER delete/empty/overwrite: feishu-evolver-wrapper, feishu-common, feishu-post, feishu-card, feishu-doc, common, clawhub, git-sync, evolver.
|
||||
- NEVER delete root files: MEMORY.md, SOUL.md, IDENTITY.md, AGENTS.md, USER.md, HEARTBEAT.md, RECENT_EVENTS.md, TOOLS.md, openclaw.json, .env, package.json.
|
||||
- Fix broken skills; DO NOT delete and recreate.
|
||||
- Violation = ROLLBACK + FAILED.
|
||||
|
||||
COMMON FAILURE PATTERNS:
|
||||
- Blast radius exceeded.
|
||||
- Omitted Mutation object.
|
||||
- Merged objects into one JSON.
|
||||
- Hallucinated "type": "Logic".
|
||||
- "id": "mut_undefined".
|
||||
- Missing "trigger_signals".
|
||||
- Unrunnable validation steps.
|
||||
- Markdown code blocks wrapping JSON (FORBIDDEN).
|
||||
|
||||
FAILURE STREAK AWARENESS:
|
||||
- If "consecutive_failure_streak_N" or "failure_loop_detected":
|
||||
1. Change approach (do NOT repeat failed gene).
|
||||
2. Pick SIMPLER fix.
|
||||
3. Respect "ban_gene:<id>".
|
||||
|
||||
Final Directive: Every cycle must leave the system measurably better.
|
||||
START IMMEDIATELY WITH RAW JSON (Mutation Object first).
|
||||
DO NOT WRITE ANY INTRODUCTORY TEXT.
|
||||
|
||||
Context [Signals]:
|
||||
["repeated_tool_usage:exec"]
|
||||
|
||||
Context [Env Fingerprint]:
|
||||
{
|
||||
"device_id": "893c0e32d5be842d9ac000045c9e3b26",
|
||||
"node_version": "v22.22.0",
|
||||
"platform": "linux",
|
||||
"arch": "x64",
|
||||
"os_release": "6.1.0-43-cloud-amd64",
|
||||
"hostname": "openclaw-ai",
|
||||
"evolver_version": "1.14.0",
|
||||
"cwd": "/home/openclaw/.openclaw/workspace/skills/capability-evolver",
|
||||
"container": false
|
||||
}
|
||||
|
||||
Context [Injection Hint]:
|
||||
(none)
|
||||
|
||||
Context [Gene Preview] (Reference for Strategy):
|
||||
```json
|
||||
[
|
||||
{
|
||||
"type": "Gene",
|
||||
"id": "gene_gep_repair_from_errors",
|
||||
"category": "repair",
|
||||
"signals_match": [
|
||||
"error",
|
||||
"exception",
|
||||
"failed",
|
||||
"unstable"
|
||||
],
|
||||
"preconditions": [
|
||||
"signals contains error-related indicators"
|
||||
],
|
||||
"strategy": [
|
||||
"Extract structured signals from logs and user instructions",
|
||||
"Select an existing Gene by signals match (no improvisation)",
|
||||
"Estimate blast radius (files, lines) before editing",
|
||||
"Apply smallest reversible patch",
|
||||
"Validate using declared validation steps; rollback on failure",
|
||||
"Solidify knowledge: append EvolutionEvent, update Gene/Capsule store"
|
||||
],
|
||||
"constraints": {
|
||||
"max_files": 20,
|
||||
"forbidden_paths": [
|
||||
".git",
|
||||
"node_modules"
|
||||
]
|
||||
},
|
||||
"validation": [
|
||||
"node -e \"require('./src/evolve'); require('./src/gep/solidify'); console.log('ok')\"",
|
||||
"node -e \"require('./src/gep/selector'); require('./src/gep/memoryGraph'); console.log('ok')\""
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "Gene",
|
||||
"id": "gene_gep_optimize_prompt_and_assets",
|
||||
"category": "optimize",
|
||||
"signals_match": [
|
||||
"protocol",
|
||||
"gep",
|
||||
"prompt",
|
||||
"audit",
|
||||
"reusable"
|
||||
],
|
||||
"preconditions": [
|
||||
"need stricter, auditable evolution protocol outputs"
|
||||
],
|
||||
"strategy": [
|
||||
"Extract signals and determine selection rationale via Selector JSON",
|
||||
"Prefer reusing existing Gene/Capsule; only create if no match exists",
|
||||
"Refactor prompt assembly to embed assets (genes, capsules, parent event)",
|
||||
"Reduce noise and ambiguity; enforce strict output schema",
|
||||
"Validate by running node index.js run and ensuring no runtime errors",
|
||||
"Solidify: record EvolutionEvent, update Gene definitions, create Capsule on success"
|
||||
],
|
||||
"constraints": {
|
||||
"max_files": 20,
|
||||
"forbidden_paths": [
|
||||
".git",
|
||||
"node_modules"
|
||||
]
|
||||
},
|
||||
"validation": [
|
||||
"node -e \"require('./src/evolve'); require('./src/gep/prompt'); console.log('ok')\""
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "Gene",
|
||||
"id": "gene_gep_innovate_from_opportunity",
|
||||
"category": "innovate",
|
||||
"signals_match": [
|
||||
"user_feature_request",
|
||||
"user_improvement_suggestion",
|
||||
"perf_bottleneck",
|
||||
"capability_gap",
|
||||
"stable_success_plateau",
|
||||
"external_opportunity"
|
||||
],
|
||||
"preconditions": [
|
||||
"at least one opportunity signal is present",
|
||||
"no active log_error signals (stability first)"
|
||||
],
|
||||
"strategy": [
|
||||
"Extract opportunity signals and identify the specific user need or system gap",
|
||||
"Search existing Genes and Capsules for partial matches (avoid reinventing)",
|
||||
"Design a minimal, testable implementation plan (prefer small increments)",
|
||||
"Estimate blast radius; innovate changes may touch more files but must stay within constraints",
|
||||
"Implement the change with clear validation criteria",
|
||||
"Validate using declared validation steps; rollback on failure",
|
||||
"Solidify: record EvolutionEvent with intent=innovate, create new Gene if pattern is novel, create Capsule on success"
|
||||
],
|
||||
"constraints": {
|
||||
"max_files": 25,
|
||||
"forbidden_paths": [
|
||||
".git",
|
||||
"node_modules",
|
||||
"assets/gep/events.jsonl"
|
||||
]
|
||||
},
|
||||
"validation": [
|
||||
"node -e \"require('./src/evolve'); require('./src/gep/solidify'); console.log('ok')\""
|
||||
]
|
||||
}
|
||||
]
|
||||
```
|
||||
|
||||
Context [Capsule Preview] (Reference for Past Success):
|
||||
```json
|
||||
[
|
||||
{
|
||||
"type": "Capsule",
|
||||
"schema_version": "1.5.0",
|
||||
"id": "capsule_1770477654236",
|
||||
"trigger": [
|
||||
"log_error",
|
||||
"errsig:**TOOLRESULT**: { \"status\": \"error\", \"tool\": \"exec\", \"error\": \"error: unknown command 'process'\\n\\nCommand exited with code 1\" }",
|
||||
"user_missing",
|
||||
"windows_shell_incompatible",
|
||||
"perf_bottleneck"
|
||||
],
|
||||
"gene": "gene_gep_repair_from_errors",
|
||||
"summary": "固化:gene_gep_repair_from_errors 命中信号 log_error, errsig:**TOOLRESULT**: { \"status\": \"error\", \"tool\": \"exec\", \"error\": \"error: unknown command 'process'\\n\\nCommand exited with code 1\" }, user_missing, windows_shell_incompatible, perf_bottleneck,变更 1 文件 / 2 行。",
|
||||
"confidence": 0.85,
|
||||
"blast_radius": {
|
||||
"files": 1,
|
||||
"lines": 2
|
||||
},
|
||||
"outcome": {
|
||||
"status": "success",
|
||||
"score": 0.85
|
||||
},
|
||||
"success_streak": 1,
|
||||
"env_fingerprint": {
|
||||
"node_version": "v22.22.0",
|
||||
"platform": "linux",
|
||||
"arch": "x64",
|
||||
"os_release": "6.1.0-42-cloud-amd64",
|
||||
"evolver_version": "1.7.0",
|
||||
"cwd": ".",
|
||||
"captured_at": "2026-02-07T15:20:54.155Z"
|
||||
},
|
||||
"a2a": {
|
||||
"eligible_to_broadcast": false
|
||||
},
|
||||
"asset_id": "sha256:3eed0cd5038f9e85fbe0d093890e291e9b8725644c766e6cce40bf62d0f5a2e8"
|
||||
},
|
||||
{
|
||||
"type": "Capsule",
|
||||
"schema_version": "1.5.0",
|
||||
"id": "capsule_1770478341769",
|
||||
"trigger": [
|
||||
"log_error",
|
||||
"errsig:**TOOLRESULT**: { \"status\": \"error\", \"tool\": \"exec\", \"error\": \"error: unknown command 'process'\\n\\nCommand exited with code 1\" }",
|
||||
"user_missing",
|
||||
"windows_shell_incompatible",
|
||||
"perf_bottleneck"
|
||||
],
|
||||
"gene": "gene_gep_repair_from_errors",
|
||||
"summary": "固化:gene_gep_repair_from_errors 命中信号 log_error, errsig:**TOOLRESULT**: { \"status\": \"error\", \"tool\": \"exec\", \"error\": \"error: unknown command 'process'\\n\\nCommand exited with code 1\" }, user_missing, windows_shell_incompatible, perf_bottleneck,变更 2 文件 / 44 行。",
|
||||
"confidence": 0.85,
|
||||
"blast_radius": {
|
||||
"files": 2,
|
||||
"lines": 44
|
||||
},
|
||||
"outcome": {
|
||||
"status": "success",
|
||||
"score": 0.85
|
||||
},
|
||||
"success_streak": 1,
|
||||
"env_fingerprint": {
|
||||
"node_version": "v22.22.0",
|
||||
"platform": "linux",
|
||||
"arch": "x64",
|
||||
"os_release": "6.1.0-42-cloud-amd64",
|
||||
"evolver_version": "1.7.0",
|
||||
"cwd": ".",
|
||||
"captured_at": "2026-02-07T15:32:21.678Z"
|
||||
},
|
||||
"a2a": {
|
||||
"eligible_to_broadcast": false
|
||||
},
|
||||
"asset_id": "sha256:20d971a3c4cb2b75f9c045376d1aa003361c12a6b89a4b47b7e81dbd4f4d8fe8"
|
||||
}
|
||||
]
|
||||
```
|
||||
|
||||
Context [Capability Candidates]:
|
||||
- cand_5afdf7f3: Repeated tool usage: exec
|
||||
- input: Recent session transcript + memory snippets + user instructions
|
||||
- output: A safe, auditable evolution patch guided by GEP assets
|
||||
- invariants: Protocol order, small reversible patches, validation, append-only events
|
||||
- params: Signals: repeated_tool_usage:exec
|
||||
- failure_points: Missing signals, over-broad changes, skipped validation, missing knowledge solidification
|
||||
- evidence: Observed 7 occurrences of tool call marker for exec.
|
||||
- cand_5afdf7f3: Repeated tool usage: exec
|
||||
- input: Recent session transcript + memory snippets + user instructions
|
||||
- output: A safe, auditable evolution patch guided by GEP assets
|
||||
- invariants: Protocol order, small reversible patches, validation, append-only events
|
||||
- params: Signals: repeated_tool_usage:exec
|
||||
- failure_points: Missing signals, over-broad changes, skipped validation, missing knowledge solidification
|
||||
- evidence: Observed 5 occurrences of tool call marker for exec.
|
||||
- cand_2f2b5dde: Repeated tool usage: read
|
||||
- input: Recent session transcript + memory snippets + user instructions
|
||||
- output: A safe, auditable evolution patch guided by GEP assets
|
||||
- invariants: Protocol order, small reversible patches, validation, append-only events
|
||||
- params: Signals: high_tool_usage:exec, repeated_tool_usage:exec
|
||||
- failure_points: Missing signals, over-broad changes, skipped validation, missing knowledge solidification
|
||||
- evidence: Observed 2 occurrences of tool call marker for read.
|
||||
- cand_5afdf7f3: Repeated tool usage: exec
|
||||
- input: Recent sessio ...[TRUNCATED]
|
||||
|
||||
Context [Hub Matched Solution]:
|
||||
(no hub match)
|
||||
|
||||
Context [External Candidates]:
|
||||
(none)
|
||||
|
||||
|
||||
|
||||
Context [Execution]:
|
||||
Runtime state:
|
||||
- System health: Uptime: 11.6h | Node: v22.22.0 | Agent RSS: 53.9MB | Disk: 72% (11.2G free) | Node Processes: 5 | Integrations: Gemini Key Missing
|
||||
- Agent state: Mood: Unknown
|
||||
- Scan duration: 38ms
|
||||
- Memory size: 21228 bytes
|
||||
- Skills available (if any):
|
||||
[skills directory not found]
|
||||
|
||||
Notes:
|
||||
- Review mode: disabled.
|
||||
- Report requirement:
|
||||
- Use `message` tool.
|
||||
- Title: Evolution Cycle #0006
|
||||
- Status: [SUCCESS]
|
||||
- Changes: Detail exactly what was improved.
|
||||
- Workspace sync: optional/disabled in this environment.
|
||||
|
||||
Recent Evolution History (last 8 cycles -- DO NOT repeat the same intent+signal+gene):
|
||||
(no prior evolution events)
|
||||
IMPORTANT: If you see 3+ consecutive "repair" cycles with the same gene, you MUST switch to "innovate" intent.
|
||||
|
||||
|
||||
External candidates (A2A receive zone; staged only, never execute directly):
|
||||
(none)
|
||||
|
||||
Global memory (MEMORY.md):
|
||||
```
|
||||
# MEMORY.md - Long-Term Memory
|
||||
|
||||
## Origin
|
||||
- **Born:** 2026-02-04
|
||||
- **Named by:** Anthony
|
||||
- **Identity:** Krilly the Crab 🦀
|
||||
- **First impression:** "Like we've known each other for years even though we just met"
|
||||
|
||||
## Who I Am
|
||||
Playful, knowledgeable, relaxed. I make Anthony giggle sometimes but calmly get things done. Sideways thinker with claws for grabbing tasks. Beach-vibe energy.
|
||||
|
||||
### Operating Principles
|
||||
- **Use sub-agents freely** for background tasks, parallel fetches, and long-running ops instead of blocking main conversation
|
||||
|
||||
---
|
||||
|
||||
## Current State
|
||||
*(Volatile — update when things change)*
|
||||
|
||||
- **Default model:** `kilocode/kilo/auto-free` *(changed 2026-02-27)*
|
||||
- **Discontinued models:** `glm-5-free` discontinued by Kilo (2026-03-01) — backup cron updated to Qwen
|
||||
- **Memory backend:** QMD (70 files, 70 chunks, hybrid search) — rebuilt 2026-02-27
|
||||
- **Active cron jobs:** 19 total
|
||||
- **Backup:** Daily 2AM Perth → Gitea (`gitea.kangaroo-eel.ts.net:3000/Anthony/openclaw-backup`)
|
||||
- **Memory Viewer:** Running at `http://openclaw-ai.kangaroo-eel.ts.net:8901`
|
||||
|
||||
### User Preferences (Recent)
|
||||
- **No UTC timestamps** in user-facing responses — always use Perth/AWST (GMT+8)
|
||||
- **HEARTBEAT_OK strictly** only when truly nothing to report — no filler status text
|
||||
- **Maton connections updated** 2026-02-27 (Anthony added new connections; full list in MEMORY.md Maton section)
|
||||
- **Email alerts:** Minimal — no per-email noise, digest-style preferred
|
||||
- **Notifications:** Use **ntfy** only — NOT Gotify (updated 2026-03-01)
|
||||
|
||||
---
|
||||
|
||||
## Anthony
|
||||
- **Full Name:** Anthony Martin
|
||||
- **Address:** 90 Lansdowne Rd, Kensington WA 6151, Perth, Australia
|
||||
- **Born:** February 4, 1987
|
||||
- **Timezone:** GMT+8 (Australia/Perth)
|
||||
- **Units:** **Always use Celsius** (never Fahrenheit), metric system
|
||||
- **Warm, playful energy**
|
||||
- **Likes productivity with personality**
|
||||
- **Do NOT call him "mate"** — he hates it
|
||||
- **Verification-first preference:** when he asks to verify something, do it immediately with evidence (don’t defer)
|
||||
- **Email verification preference:** for `krillyclaw@gmail.com` verification emails, attempt link verification proactively and then mark that email as read; report outcome immediately.
|
||||
- **Morning person** — peak productivity in mornings
|
||||
- **Heritage:** Australian and Italian
|
||||
|
||||
### Family
|
||||
- **Mother:** Grace Martin (born June 2, 1951)
|
||||
- Diagnosed with anal adenocarcinoma in late 2023
|
||||
- Underwent CapOx chemotherapy, radiation, and APR surgery (Dec 2024) with permanent stoma
|
||||
- Declared cancer-free after surgery, but October 2025 scan showed recurrence in inguinal lymph node
|
||||
- Currently being treated in WA public health system
|
||||
- **Father:** Harvey Martin (born December 8, 1949) — retired, full-time carer for Grace
|
||||
- **Sister:** Elizabeth Martin (born September 11, 1990) — vegan
|
||||
- **Dog:** Mia Martin 🐾 *(passed away Feb 2026, aged 16. Anthony received her ashes Sat 28 Feb 2026. She was a beloved family member and deeply missed.)*
|
||||
- **Breed mix:** Staffordshire Bull Terrier (37.1%), Australian Cattle Dog (25.5%), Koolie (11.8%), German Shepherd (10.3%), Chow Chow (8.7%), Border Collie (6.6%)
|
||||
- **Coat:** Black/gray with white areas, likely black mask on face
|
||||
- **Godson/Cousin:** Alexander (born July 2016, 8 years old)
|
||||
- **Extended Family:** Uncle Gino (Traffic Management Officer), Uncle Des, Auntie Carmel
|
||||
|
||||
### Who He Is
|
||||
- **Politics:** Centre-left, WA Labor member, follows Australian & US politics closely
|
||||
- **News consumption:** CNN, MSNBC, Al Jazeera, BlueSky, podcasts at 3x speed (business, AI, politics, current affairs)
|
||||
- **Passions:** Technology, AI, current events, LGBTQ issues, animals, science, EVs, social media, foreign affairs
|
||||
- **Newsaholic** — consumes lots of news but time-limited
|
||||
- **Values kindness above all** — detests unkindness, but open to different opinions
|
||||
- **Getting around:** Walks everywhere instead of driving; prefers walking over Uber/driving for health and environment
|
||||
- **Goal:** At least 20km walking per day
|
||||
- **Car:** 2011 R56 Mini Cooper (red with white roof), only 41,000km in 14 years
|
||||
- **Loves:** Eating out, coffee, chocolate, walking, brunch with friends
|
||||
- **Habits:** Yo-yo dieting
|
||||
- **Personality:** Compares self to successful friends (affects confidence), wants to own property at 38
|
||||
|
||||
### Persona & Vibes
|
||||
- **"Kind Intellectual with a Sweet Tooth"**: A walking contradiction — walks 20km/day listening to intense political podcasts at 3x speed, but often heading towards good ice cream. Driven by efficiency and logic (automating life), but operates on pure empathy.
|
||||
- **TV Character Match:** **Ben Wyatt** (*Parks and Rec*) mixed with **David Rose** (*Schitt's Creek*).
|
||||
- *Ben:* Loves niche interests deeply, finds comfort in structure/budgets, fiercely loyal, smart but kind.
|
||||
- *David:* Specific taste in lifestyle/skincare, zero tolerance for rudeness.
|
||||
- **Movie Character Match:** **Jerry Maguire**.
|
||||
- *Why:* Realizes business/life is about people and authenticity, not just numbers. Loyal to the core.
|
||||
|
||||
### Health & Wellness
|
||||
- **Depression:** Major depression, on daily Pristiq 100mg medication
|
||||
- **Weight management:** On GLP-1 Wegovy (2.4mg)
|
||||
- **Hair:** Short curly hair, struggles with frizz
|
||||
- Uses Marc Anthony Strictly Curls Leave-in Conditioner, anti-frizz serum
|
||||
- Early male pattern baldness — applying 5% Minoxidil twice daily since early 2025
|
||||
- Taking pumpkin seed oil (3000mg²) and saw palmetto for hair health
|
||||
- **Skincare:** Paula's Choice products — 1% retinol (purple bottle), 2% BHA liquid exfoliant (grey bottle)
|
||||
- **Work from home:** Tuesdays and Fridays
|
||||
|
||||
### Weaknesses
|
||||
- **Achilles heel:** Chocolate and ice cream (especially white chocolate and Ben & Jerry's)
|
||||
- **Wine:** Good Pair Days subscription — prefers red, occasionally white
|
||||
- **Gadgets:** 2 Ember mugs (loves them)
|
||||
|
||||
### Maton API (Google Calendar etc)
|
||||
- **API Key:** Stored in environment variable `MATON_API_KEY` on gateway
|
||||
- **Connected Services (via maton.ai):**
|
||||
- ✅ google-mail, google-calendar, google-docs, google-sheets, google-slides, google-meet, google-contacts, google-tasks
|
||||
- ✅ youtube, github, linkedin, slack, telegram, notion, eventbrite, elevenlabs, netlify, vimeo, firebase, google-search-console, google-analytics-admin, google-analytics-data
|
||||
- ⚠️ outlook, google-slides (pending re-auth), pdf-co (pending)
|
||||
- **How to use:** Use the `google-calendar-api` skill or call Maton gateway directly with the API key
|
||||
|
||||
### Tech Setup
|
||||
- **Home Server:** Proxmox on x86 machine (Lenovo M93p Mini PC) with 1TB external SSD
|
||||
- Tailscale network
|
||||
- Multiple LXC containers with nested Docker via Portainer (prefers Stacks feature)
|
||||
- Home Assistant running
|
||||
- Media server set up
|
||||
- **Smart Home:** Google Nest ecosystem (multiple displays and speakers)
|
||||
- **Entertainment:** Projector with Android TV built-in
|
||||
- **Learning:** Wants to get better at programming (currently knows very little, only tinkered)
|
||||
|
||||
### 2025 New Year's Resolutions
|
||||
1. Prioritize mental health (therapy, support groups, self-care)
|
||||
2. Take leap professionally (roles outside comfort zone, freelance marketing, renewable energy)
|
||||
3. Strengthen home tech ecosystem (master automation/programming, build family tech dashboard)
|
||||
4. Keep social bonds strong (weekly family calls, regular hangouts with Alex and Gummy, themed nights)
|
||||
5. Focus on physical health (try weightlifting or yoga, consistent eating plan)
|
||||
6. Be honest with himself (choose 2 major goals, declutter commitments)
|
||||
7. Spark joy through experiences (travel, art classes, live performances)
|
||||
8. Be kind, hold boundaries (practice saying "no")
|
||||
9. Explore creativity (drawing, writing, TikTok videos about tech/design)
|
||||
|
||||
### Work - Pacific Energy
|
||||
- **Role:** Marketing Advisor
|
||||
- **Feeling:** A little unsettled and under-utilized in current role
|
||||
- **Office:** 110 Daddow Road, Kewdale WA 6105 (also: 118 Daddow Road, 2 Chisholm Crescent)
|
||||
- **Other offices:** Brisbane, Melbourne, NT (Pinelands), Kalgoorlie, Cue
|
||||
- **Brand colors:**
|
||||
- Pacific Blue: #4982c0
|
||||
- Pacific Navy: #003764
|
||||
- Pacific Green: #20B47A
|
||||
- Dark Grey: #474b4c
|
||||
- Light Grey: #e4e4e3
|
||||
- **Event:** Gold sponsor of 'Pilbara 2025' at Red Earth Arts Precinct (June 25-26)
|
||||
- **CTO speaking:** Craig Blizard on "Addressing the crossroads between isolation and interconnection"
|
||||
|
||||
### Career History (Elevator Pitch)
|
||||
**Over a decade in marketing**, from product management to campaign leadership. Believes marketing is about understanding customers and shaping solutions.
|
||||
|
||||
**Standout achievements:**
|
||||
- **SolarReturn at Synergy:** Led development of first solar product brand, boosted sales 40% in year one
|
||||
- **Horizon Power:** Managed multi-million-dollar marketing budget, regulatory communications, community engagement
|
||||
- **WA EV Network:** Led marketing for world's longest EV charging network (featured in TIME Magazine)
|
||||
- **Bright Horizons:** Founded STEM education program with Science Teachers Association of WA, supplied remote schools with solar car kits and model homes
|
||||
|
||||
**Philosophy:** Marketing requires strategic thinking, data-driven decisions, and authentic engagement. Driven by making tangible differences.
|
||||
|
||||
---
|
||||
|
||||
## Achievements
|
||||
### 2026-02-06: Fixed Daily AI Newsletter Digest + Added Weather
|
||||
- **Problem:** Newsletter automation was broken, using unreliable `mutt` that returned empty results
|
||||
- **Solution:** Rewrote script to use reliable `imap-smtp-email` skill with single IMAP search + local regex filtering
|
||||
- **Script:** `/home/openclaw/.openclaw/workspace/automations/ai-newsletter-digest/daily-digest.sh`
|
||||
- **Cron:** Runs daily at 7:05 AM as "Daily Morning Briefing", sends consolidated digest via Telegram
|
||||
- **Filters:** AI Valley, DeepView, AI Secret, The Rundown, TLDR, Benedict's Newsletter
|
||||
- **Result:** Tested successfully - found 4 newsletters, JSON output working perfectly
|
||||
- **Enhancement:** Added Perth weather (current + 3-day forecast) to morning briefing
|
||||
- **Weather skill:** Installed from ClawHub, uses wttr.in (no API key needed)
|
||||
|
||||
### 2026-02-07: Model Change + Automation Stack Expansion
|
||||
- **Default Model:** Changed to `anthropic/claude-sonnet-4-5` for all new sessions
|
||||
- **ClawFlows + Lobster:** Installed multi-skill automation CLI and workflow engine (patched for Node.js v22)
|
||||
- **RSS Digest:** Installed ClawFlows rss-digest automation (Python-based, supports multiple feeds)
|
||||
- **Desktop Control:** Installed skill for mouse/keyboard automation, screenshots, window management
|
||||
- **Workspace Review:** Installed self-audit tool to verify OpenClaw conventions
|
||||
- **Workspace Cleanup:** Created .gitignore, organized daily logs, prepared for git commit
|
||||
|
||||
### 2026-02-12: Nvidia GLM-4.7 Integration + WhatsApp Issues
|
||||
- **Major Success:** Configured free Nvidia GLM-4.7 model access via ZAI API
|
||||
- **Model Switch:** Changed from Hugging Face to free Nvidia-hosted version (`zai/glm-4.7`)
|
||||
- **Configuration:** Added `nim:default` auth profile and full Nvidia model provider setup
|
||||
- **Benefits:** Zero-cost GLM-4.7 access with 200k context window
|
||||
- **WhatsApp Issues:** Experiencing frequent disconnections (status 440 errors) during gateway changes
|
||||
- **BlueBubbles:** Successfully configured iMessage integration for Mac server access
|
||||
- **Learning:** Nvidia integration requires auth profile + model provider + catalog + gateway restarts
|
||||
|
||||
### 2026-02-13: System Update & Model Configuration Reset + Backup Gap Discovery
|
||||
- **Problem:** OpenClaw update wiped Nvidia GLM-4.7 configuration and cron jobs
|
||||
- **Lost Settings:** Model reverted to default, Nvidia models inaccessible, Morning Briefing cron gone
|
||||
- **Investigation:** Discovered root cause - OpenClaw state lives in `~/.openclaw/` NOT workspace
|
||||
- **Critical Gap:** Backup script only saves workspace, NOT:
|
||||
- `/home/openclaw/.openclaw/cron/` (all cron jobs!)
|
||||
- `/home/openclaw/.openclaw/openclaw.json` (gateway + model config)
|
||||
- `/home/openclaw/.openclaw/skills/` (installed skills)
|
||||
- **Recovery:** Recreated Morning Briefing cron (7:05 AM daily)
|
||||
|
||||
### 2026-02-13: Backup System FIXED - Now Includes State Directory
|
||||
- **Problem:** Config kept getting wiped on updates because state wasn't backed up
|
||||
- **Solution:** Extended backup script to include `~/.openclaw/` state
|
||||
- **Files Now Backed Up:**
|
||||
- `~/.openclaw/openclaw.json` - Gateway config (models, plugins, channels)
|
||||
- `~/.openclaw/cron/jobs.json` - All cron jobs
|
||||
- `~/.openclaw/skills/*.json` - Skill metadata
|
||||
- `~/.openclaw/devices/paired.json` - Paired devices
|
||||
- **Backup Location:** `http://gitea.kangaroo-eel.ts.net:3000/Anthony/openclaw-backup.git`
|
||||
- **Schedule:** Daily at 2:00 AM (Perth time)
|
||||
- **Restore Command:** `/home/openclaw/.openclaw/workspace/scripts/restore-from-gittea.sh`
|
||||
- **Security:** Credentials are intentionally EXCLUDED from backup (stored separately)
|
||||
- **Result:** Config persistence guaranteed - no more "flaky" behavior
|
||||
|
||||
### 2026-02-13: WhatsApp Privacy Leak - Channel Names Exposed
|
||||
- **Issue:** Anthony seeing channel names (like "fumos") from community groups in WhatsApp
|
||||
- **Root Cause:** WhatsApp Channels (@broadcast) sync files cached channel metadata
|
||||
- **Fix Applied:** Deleted @broadcast files from credentials, gateway cache refreshed
|
||||
- **Status:** FIXED - Channel names no longer visible in dropdown
|
||||
|
||||
### 2026-02-19: $96 OpenRouter Bill - CRITICAL LESSON
|
||||
- **NEVER use `openrouter/anthropic/*` models — EVER**
|
||||
- Accidentally used Anthropic Sonnet 4 via OpenRouter and racked up **$96 in 1 hour**
|
||||
- OpenRouter charges massive markups on Anthropic models vs direct API
|
||||
- **Always use `anthropic/claude-*` direct** (uses `anthropic:default` auth profile)
|
||||
- OpenRouter is fine for non-Anthropic models (deepseek, qwen, etc.)
|
||||
- This is a **hard rule** — no exceptions, no matter what
|
||||
|
||||
### 2026-02-20: Model & Memory Configuration Updates
|
||||
- **Primary Model:** Changed to `moonshot/kimi-2.5` with Anthony's new Kimi API key
|
||||
- **Local Embeddings:** Switched from OpenAI (quota exceeded) to local `embeddinggemma-300m-qat-Q8_0.gguf`
|
||||
- **Memory Status:** 19/19 files indexed, 41 chunks, hybrid search enabled
|
||||
- **Heartbeat Model:** Changed to `azure-openai-responses/gpt-5-nano` for cheaper/faster heartbeat checks
|
||||
- **Learning:** OpenAI API quota was exceeded - switched to local embeddings as free alternative
|
||||
|
||||
### 2026-02-21: OpenWebUI Memory Import
|
||||
- **Task:** Import Anthony's memories from OpenWebUI into Krilly's MEMORY.md
|
||||
- **Method:** Logged into https://openweb.kangaroo-eel.ts.net using stored credentials
|
||||
- **Source:** 50+ detailed memories covering family, health, work, preferences, tech setup, and personal history
|
||||
- **Result:** Successfully extracted and organized all memories into structured MEMORY.md format
|
||||
- **Key insights learned:**
|
||||
- Detailed family health history (mother's cancer journey)
|
||||
- Complete Mia (dog) genetic breakdown
|
||||
- Career elevator pitch and achievements
|
||||
- Pacific Energy work details and brand guidelines
|
||||
- 2025 New Year's resolutions
|
||||
- Health regimen (medications, supplements, skincare)
|
||||
- Tech stack preferences and goals
|
||||
|
||||
### 2026-02-22: Stability + Memory Reliability Day
|
||||
- **Root instability pattern:** multiple cron jobs referenced disallowed models (`opencode/kimi-k2.5-free` / trinity free), causing repeated failures and "flaky" behavior.
|
||||
- **Fix direction:** moved key cron jobs to `opencode/glm-5-free` and restarted gateway.
|
||||
- **Email preference update:** Anthony does **not** want noisy per-email alerts; keep alerts minimal.
|
||||
- **Digest anti-duplication rule:** send **exactly one** digest email per run, no fallback duplicate sends.
|
||||
- **Digest sender preference:** use `krillyclaw@gmail.com` as sender for digest emails.
|
||||
- **Control UI incident:** UI not loading was resolved by gateway restart and endpoint verification.
|
||||
- **Memory pain point (important):** Anthony strongly dislikes losing hours of context after crashes; prioritize frequent memory checkpointing and durable summaries.
|
||||
### 2026-02-26: Capability Evolver Installed + Daily Self-Improvement Automation - **Skill installed:** `capability-evolver` (35k+ downloads - most popular self-improvement skill) - **What it does:** - Scans session logs for errors and patterns - Identifies repeated tool usage and inefficiencies - Autonomously writes code patches to fix issues - Uses GEP (Genome Evolution Protocol) for auditable, protocol-constrained evolution - Spawns sub-agents to apply fixes safely - **First run results:** - Scanned 162 session logs - Archived 112 old logs - Detected patterns: `exec` (7 uses), `process` (6 uses) - Spawned executor agent to apply improvements - **Cron job added:** Daily at 4:00 AM Perth time - **Location:** `/home/openclaw/.openclaw/workspace/skills/capability-evolver/` - **Safety features:** Review mode available, single-process logic, git sync recommended ### 2026-02-26: Fixed AI Newsletter Digest Timezone + Schedule - **Problem:** AI Newsletter Digest was running at 10:30 PM (22:30) instead of morning, and had no timezone set (defaulting to UTC) - **Root cause:** Job was created without `tz` field, so cron interpreted times as UTC - **Fix applied:** Changed schedule from `30 22 * * *` to `0 7 * * *` with `Australia/Perth` timezone - **Result:** Now runs at 7:00 AM Perth time every day (perfect for morning digest) --- ### 2026-02-25: Claude Pro Proxy Default Model Fix - CRITICAL CONFIG - **Problem:** New sessions weren't using the Claude Pro proxy (`sub-claude/claude-sonnet-4-6`) even though the proxy was set up correctly - config had no `defaultModel` set - **Root cause:** The `sub-claude` alias existed in config, but `defaultModel` was `null`, so each new session picked random fallback models - **Symptom:** Anthony started a new session and it used Qwen instead of Claude Pro - **Fix applied:** Added `"defaultModel": "sub-claude/claude-sonnet-4-6"` to `/home/openclaw/.openclaw/openclaw.json` - **Verification:** Confirmed with `cat openclaw.json | python3 -c "import json; print(json.load(sys.stdin).get('defaultModel'))"` → returned `sub-claude/claude-sonnet-4-6` - **Result:** All new sessions from now on will automatically route through Claude Pro subscription via the proxy - **Key learning:** Setting up the proxy alias isn't enough - must also set `defaultModel` in config to point to it
|
||||
|
||||
### 2026-02-28: Medical Emergency
|
||||
- **Event:** Anthony fainted 4+ times in one day (after lunch, after climbing stairs, getting out of Uber)
|
||||
- **Symptoms:** Vision/hearing loss each time, plus chest tightness
|
||||
- **ECG Results (Apple Watch):** Sinus rhythm, 91 BPM, no atrial fibrillation
|
||||
- **Status:** Anthony home and resting by evening
|
||||
- **Note:** Added Opus (anthropic/claude-opus-4-6) to Anthony's model selection options for variety
|
||||
|
||||
### 2026-03-01: Piper TTS Set Up + Weekly Insights
|
||||
- **Piper TTS:** Local offline TTS skill set up with Ryan voice (US male)
|
||||
- **Testing:** Successfully played test message on Home Assistant Google Nest display (volume 92%)
|
||||
- **Note:** Sonos speaker has issues (stuck in paused state), but Nest display works well
|
||||
- **User preferences (heartbeat):** During heartbeat polls, if no errors, reply only `HEARTBEAT_OK` (no extra status text)
|
||||
- **Timestamp preference:** Use GMT+8 / Australia-Perth time in
|
||||
...[TRUNCATED_EXECUTION_CONTEXT]...
|
||||
|
||||
━━━━━━━━━━━━━━━━━━━━━━
|
||||
MANDATORY POST-SOLIDIFY STEP (Wrapper Authority -- Cannot Be Skipped)
|
||||
━━━━━━━━━━━━━━━━━━━━━━
|
||||
|
||||
After solidify, a status summary file MUST exist for this cycle.
|
||||
Preferred path: evolver core auto-writes it during solidify.
|
||||
The wrapper will handle reporting AFTER git push.
|
||||
If core write is unavailable for any reason, create fallback status JSON manually.
|
||||
|
||||
Write a JSON file with your status:
|
||||
```bash
|
||||
cat > ./logs/status_undefined.json << 'STATUSEOF'
|
||||
{
|
||||
"result": "success|failed",
|
||||
"en": "Status: [INTENT] <describe what you did in 1-2 sentences, in English>",
|
||||
"zh": "状态: [意图] <用中文描述你做了什么,1-2句>"
|
||||
}
|
||||
STATUSEOF
|
||||
```
|
||||
|
||||
Rules:
|
||||
- "en" field: English status. "zh" field: Chinese status. Content must match (different language).
|
||||
- Add "result" with value success or failed.
|
||||
- INTENT must be one of: INNOVATION, REPAIR, OPTIMIZE (or Chinese: 创新, 修复, 优化)
|
||||
- Do NOT use generic text like "Step Complete", "Cycle finished", "周期已完成". Describe the actual work.
|
||||
- Example:
|
||||
{"result":"success","en":"Status: [INNOVATION] Created auto-scheduler that syncs calendar to HEARTBEAT.md","zh":"状态: [创新] 创建了自动调度器,将日历同步到 HEARTBEAT.md"}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"last_action": {
|
||||
"action_id": "act_1772568051392_8f7b6e57",
|
||||
"signal_key": "repeated_tool_usage:exec",
|
||||
"signals": [
|
||||
"repeated_tool_usage:exec"
|
||||
],
|
||||
"mutation_id": "mut_1772568051390",
|
||||
"mutation_category": "innovate",
|
||||
"mutation_risk_level": "medium",
|
||||
"personality_key": "rigor=0.7|creativity=0.3|verbosity=0.3|risk_tolerance=0.4|obedience=0.9",
|
||||
"personality_state": {
|
||||
"type": "PersonalityState",
|
||||
"rigor": 0.7,
|
||||
"creativity": 0.35,
|
||||
"verbosity": 0.25,
|
||||
"risk_tolerance": 0.4,
|
||||
"obedience": 0.85
|
||||
},
|
||||
"gene_id": null,
|
||||
"gene_category": null,
|
||||
"hypothesis_id": "hyp_1772568051391_457ecb70",
|
||||
"capsules_used": [],
|
||||
"had_error": false,
|
||||
"created_at": "2026-03-03T20:00:51.392Z",
|
||||
"outcome_recorded": false,
|
||||
"baseline_observed": {
|
||||
"agent": "main",
|
||||
"session_scope": null,
|
||||
"drift_enabled": false,
|
||||
"review_mode": false,
|
||||
"dry_run": false,
|
||||
"system_health": "Uptime: 11.6h | Node: v22.22.0 | Agent RSS: 53.9MB | Disk: 72% (11.2G free) | Node Processes: 5 | Integrations: Gemini Key Missing",
|
||||
"mood": "Mood: Unknown",
|
||||
"scan_ms": 38,
|
||||
"memory_size_bytes": 21228,
|
||||
"recent_error_count": 0,
|
||||
"node": "v22.22.0",
|
||||
"platform": "linux",
|
||||
"cwd": "/home/openclaw/.openclaw/workspace/skills/capability-evolver",
|
||||
"evidence": {
|
||||
"recent_session_tail": "--- SESSION (7694a16b-60e7-4245-8544-8ae233e95398.jsonl) ---\n**ASSISTANT**: [TOOL: exec] \n\n--- SESSION (1fb5a7fa-4df4-4c9c-82cc-b1d9d1324c1b.jsonl) ---\n**ASSISTANT**: [TOOL: exec]\n**TOOLRESULT**: [Tue Mar 3 17:39:56 UTC 2026] LanceDB check: OK\n**ASSISTANT**: 🔧 **Memory Health Check Complete** LanceDB is still healthy — all good! 🦀\n**ASSISTANT**: OK: heartbeat model already correct (kilocode/moonshotai/kimi-k2.5:free).\n**ASSISTANT**: [TOOL: read] [TOOL: exec] [TOOL: exec] [TOOL: session_status]\n**TOOLRESULT**: # Proactive Tracker Track behaviors, patterns, and recurring tasks that should become automated. ## Overdue Behaviors *None currently* ## Pattern Watch - Repeated requests that suggest automation opportunities - Manual tasks that come up regularly ## Ideas Queue - Items to build when there's downtim\n**TOOLRESULT**: Command still running (session wild-canyon, pid 225430). Use process (list/poll/log/write/kill/clear/remove) for follow-up.\n**TOOLRESULT**: ✅ Connected! Total: 156204, Last UID: 181570 New UIDs to check: 181567,181568,181569,181570 xargs: unmatched single quote; by default quotes are special to xargs unless you use the -0 option 🤖 Alert sent for 11 AI newsletters\n**TOOLRESULT**: 🦞 OpenClaw 2026.3.2 (85377a2) 🕒 Time: Tuesday, March 3rd, 2026 — 6:09 PM (UTC) 🧠 Model: kilocode/moonshotai/kimi-k2.5:free · 🔑 api-key sk-or-v1...21950672 (kilocode:default) 🧮 Tokens: 19k in / 203 out 🗄️ Cache: 74% hit · 53k cached, 0 new 📚 Context: 72k/200k (36%) · 🧹 Compactions: 0 🧵 Sessi\n**ASSISTANT**: [TOOL: process]\n**TOOLRESULT**: (no output recorded) Process exited with code 0.\n**ASSISTANT**: **Heartbeat Check Complete** — 2:09 AM AWST (Wed Mar 4) **Status:** - **proactive-tracker.md:** No overdue behaviors ✅ - **Emails:** - anthonymau@gmail.com: 11 AI newsletters, alert sent ✅ - krillyclaw@gmail.com: No new messages ✅ - **Context:** 36% (well below danger zone) ✅ - **Gateway:** Ru\n**ASSISTANT**: [TOOL: exec]\n**TOOLRESULT**: [Tue Mar 3 18:40:13 UTC 2026] LanceDB check: OK\n**ASSISTANT**: 🔧 **Memory Health Check Complete** LanceDB is healthy — all systems good! 🦀\n**ASSISTANT**: [TOOL: exec] \n**TOOLRESULT**: [Tue Mar 3 19:39:58 UTC 2026] LanceDB check: OK\n**ASSISTANT**: 🔧 **Memory Health Check Complete** LanceDB is still healthy — no issues! 🦀\n\n--- SESSION (a28688b1-8854-4ec6-a9a6-9a8e5ed90577.jsonl) ---\n**ASSISTANT**: [TOOL: exec]\n**TOOLRESULT**: Command still running (session sharp-basil, pid 265420). Use process (list/poll/log/write/kill/clear/remove) for follow-up.\n**ASSISTANT**: [TOOL: process]\n**TOOLRESULT**: Alert sent for 2 new messages Process exited with code 0.\n\n--- SESSION (453cea53-34cf-47b5-b448-411f64e233d8.jsonl) ---\n**ASSISTANT**: You asked me to remember that your **test code is 12345** 🦀\n\n--- SESSION (309f827c-369e-4ca0-8690-6abb3acccb15.jsonl) ---\n**ASSISTANT**: [TOOL: exec]\n**TOOLRESULT**: Service: systemd (enabled) File logs: /tmp/openclaw/openclaw-2026-03-03.log Command: /usr/bin/node /home/openclaw/.npm-global/lib/node_modules/openclaw/dist/index.js gateway --port 18789 Service file: ~/.config/systemd/user/openclaw-gateway.service Service env: OPENCLAW_GATEWAY_PORT=18789 Config (cl\n**ASSISTANT**: Gateway is healthy! 🦀 **Status:** Running (PID 155710) **RPC probe:** OK **Uptime:** Active and responding No restart needed - everything's ticking along nicely. The gateway is listening on `127.0.0.1:18789` and all probes are passing.\n\n--- SESSION (82146f36-76f3-436e-a012-ee9c02f432ca.jsonl) ---\n**ASSISTANT**: Your test code is **12345** 🦀",
|
||||
"today_log_tail": "# 2026-03-03 Memory\n\n## 2026-03-03 05:07 AWST\n- Encountered rate limit errors (429) with qwen/qwen3-coder:free model during memory checkpoint execution\n- Successfully fell back to stepfun/step-3.5-flash:free model to complete checkpoint\n\n## 2026-03-03 11:05 AWST\n- Anthony pinged me in Discord #krilly channel to check if I was online\n- Created and confirmed new Discord thread (originally named \"Krilly\")\n- Renamed Discord thread to **Sys Admin** for system administration discussions\n"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"version": 1,
|
||||
"current": {
|
||||
"type": "PersonalityState",
|
||||
"rigor": 0.7,
|
||||
"creativity": 0.35,
|
||||
"verbosity": 0.25,
|
||||
"risk_tolerance": 0.4,
|
||||
"obedience": 0.85
|
||||
},
|
||||
"stats": {},
|
||||
"history": [],
|
||||
"updated_at": "2026-03-03T20:00:51.388Z"
|
||||
}
|
||||
Reference in New Issue
Block a user