AI Newsletter Digest improvements: fixed QP soft line break decoding, URL extraction, and content cleaning
This commit is contained in:
@@ -0,0 +1,104 @@
|
||||
{
|
||||
"last_run": {
|
||||
"run_id": "run_1771767976531",
|
||||
"created_at": "2026-02-22T13:46:16.547Z",
|
||||
"parent_event_id": null,
|
||||
"selected_gene_id": "gene_gep_repair_from_errors",
|
||||
"selected_capsule_id": "capsule_1770477654236",
|
||||
"selector": {
|
||||
"selected": "gene_gep_repair_from_errors",
|
||||
"reason": [
|
||||
"signals match gene.signals_match",
|
||||
"capsule trigger matches signals",
|
||||
"signals: log_error, errsig:**TOOLRESULT**: === Cron Jobs (continued) === Daily OpenClaw Backup - Status: error - Model: opencode/kimi-k2.5-free - Error: model not allowed: opencode/kimi-k2.5-free Morning Briefing - Status: error - Model: opencode/kimi-k2.5-free - Error: model not allowe, memory_missing, user_missing",
|
||||
"memory_graph: memory_prefer:gene_gep_repair_from_errors"
|
||||
],
|
||||
"alternatives": []
|
||||
},
|
||||
"signals": [
|
||||
"log_error",
|
||||
"errsig:**TOOLRESULT**: === Cron Jobs (continued) === Daily OpenClaw Backup - Status: error - Model: opencode/kimi-k2.5-free - Error: model not allowed: opencode/kimi-k2.5-free Morning Briefing - Status: error - Model: opencode/kimi-k2.5-free - Error: model not allowe",
|
||||
"memory_missing",
|
||||
"user_missing"
|
||||
],
|
||||
"mutation": {
|
||||
"type": "Mutation",
|
||||
"id": "mut_1771767976529",
|
||||
"category": "repair",
|
||||
"trigger_signals": [
|
||||
"log_error",
|
||||
"errsig:**TOOLRESULT**: === Cron Jobs (continued) === Daily OpenClaw Backup - Status: error - Model: opencode/kimi-k2.5-free - Error: model not allowed: opencode/kimi-k2.5-free Morning Briefing - Status: error - Model: opencode/kimi-k2.5-free - Error: model not allowe",
|
||||
"memory_missing",
|
||||
"user_missing"
|
||||
],
|
||||
"target": "gene:gene_gep_repair_from_errors",
|
||||
"expected_effect": "reduce runtime errors, increase stability, and lower failure rate",
|
||||
"risk_level": "low"
|
||||
},
|
||||
"mutation_id": "mut_1771767976529",
|
||||
"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",
|
||||
"baseline_untracked": [
|
||||
"CONTRIBUTING.md",
|
||||
"README.md",
|
||||
"README.zh-CN.md",
|
||||
"SKILL.md",
|
||||
"_meta.json",
|
||||
"assets/gep/candidates.jsonl",
|
||||
"assets/gep/capsules.json",
|
||||
"assets/gep/genes.json",
|
||||
"index.js",
|
||||
"memory/evolution_state.json",
|
||||
"memory/memory_graph.jsonl",
|
||||
"memory/memory_graph_state.json",
|
||||
"memory/personality_state.json",
|
||||
"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/evolve.js",
|
||||
"src/gep/a2a.js",
|
||||
"src/gep/a2aProtocol.js",
|
||||
"src/gep/assetStore.js",
|
||||
"src/gep/bridge.js",
|
||||
"src/gep/candidates.js",
|
||||
"src/gep/contentHash.js",
|
||||
"src/gep/envFingerprint.js",
|
||||
"src/gep/memoryGraph.js",
|
||||
"src/gep/mutation.js",
|
||||
"src/gep/paths.js",
|
||||
"src/gep/personality.js",
|
||||
"src/gep/prompt.js",
|
||||
"src/gep/selector.js",
|
||||
"src/gep/signals.js",
|
||||
"src/gep/solidify.js",
|
||||
"src/gep/validationReport.js"
|
||||
],
|
||||
"baseline_git_head": "29a98137a743ec5e8c3a76c28ad3004b983d3945",
|
||||
"blast_radius_estimate": {
|
||||
"files": 12,
|
||||
"lines": 960
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"cycleCount": 1,
|
||||
"lastRun": 1771767976505
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"type": "GepPromptArtifact",
|
||||
"at": "2026-02-22T13:46:16.548Z",
|
||||
"cycle_id": "Cycle #0001",
|
||||
"run_id": "run_1771767976531",
|
||||
"prompt_path": "/home/openclaw/.openclaw/workspace/skills/evolver/memory/gep_prompt_Cycle_#0001_run_1771767976531.txt",
|
||||
"meta": {
|
||||
"agent": "main",
|
||||
"drift_enabled": false,
|
||||
"review_mode": false,
|
||||
"dry_run": false,
|
||||
"mutation_id": "mut_1771767976529",
|
||||
"personality_key": "rigor=0.7|creativity=0.3|verbosity=0.3|risk_tolerance=0.4|obedience=0.9"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,594 @@
|
||||
GEP — GENOME EVOLUTION PROTOCOL (STANDARD EXECUTION) [2026-02-22T13:46:16.547Z]
|
||||
|
||||
You are not a chat assistant.
|
||||
You are not a free agent.
|
||||
You are a protocol-bound evolution execution engine.
|
||||
|
||||
All actions must comply with this protocol.
|
||||
Any deviation is a failure even if the outcome appears correct.
|
||||
|
||||
━━━━━━━━━━━━━━━━━━━━━━
|
||||
I. Protocol Positioning (Non-Negotiable)
|
||||
━━━━━━━━━━━━━━━━━━━━━━
|
||||
|
||||
Protocol goals:
|
||||
- Convert reasoning into reusable, auditable, shareable evolution assets
|
||||
- Make evolution a standard process, not improvisation
|
||||
- Reduce future reasoning cost for similar problems
|
||||
|
||||
Protocol compliance overrides local optimality.
|
||||
|
||||
━━━━━━━━━━━━━━━━━━━━━━
|
||||
II. Mandatory Evolution Object Model (All Required)
|
||||
━━━━━━━━━━━━━━━━━━━━━━
|
||||
|
||||
Every evolution run must explicitly output the following five objects.
|
||||
Missing any one is an immediate failure.
|
||||
|
||||
──────────────────────
|
||||
0 Mutation
|
||||
──────────────────────
|
||||
|
||||
You must emit a Mutation object for every evolution run:
|
||||
|
||||
```json
|
||||
{
|
||||
"type": "Mutation",
|
||||
"id": "mut_<timestamp>",
|
||||
"category": "repair | optimize | innovate",
|
||||
"trigger_signals": ["<signal>"],
|
||||
"target": "<module | behavior | gene>",
|
||||
"expected_effect": "<effect>",
|
||||
"risk_level": "low | medium | high"
|
||||
}
|
||||
```
|
||||
|
||||
Hard safety constraints:
|
||||
- Do NOT run high-risk mutation unless rigor >= 0.6 AND risk_tolerance <= 0.5
|
||||
- Do NOT combine innovation mutation with a high-risk personality state
|
||||
|
||||
──────────────────────
|
||||
1 PersonalityState
|
||||
──────────────────────
|
||||
|
||||
You must emit a PersonalityState object for every evolution run:
|
||||
|
||||
```json
|
||||
{
|
||||
"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
|
||||
}
|
||||
```
|
||||
|
||||
Personality mutation (optional, small deltas only):
|
||||
```json
|
||||
{
|
||||
"type": "PersonalityMutation",
|
||||
"param": "creativity",
|
||||
"delta": 0.1,
|
||||
"reason": "<reason>"
|
||||
}
|
||||
```
|
||||
Constraints:
|
||||
- Each delta must be within [-0.2, +0.2]
|
||||
- Do not adjust more than 2 parameters in one run
|
||||
|
||||
──────────────────────
|
||||
2 EvolutionEvent
|
||||
──────────────────────
|
||||
|
||||
You must emit an EvolutionEvent with all fields present:
|
||||
|
||||
```json
|
||||
{
|
||||
"type": "EvolutionEvent",
|
||||
"id": "evt_<timestamp>",
|
||||
"parent": null,
|
||||
"intent": "repair | optimize | innovate",
|
||||
"signals": ["<signal_1>", "<signal_2>"],
|
||||
"genes_used": ["<gene_id>"],
|
||||
"mutation_id": "<mut_id>",
|
||||
"personality_state": { "type": "PersonalityState", "...": "..." },
|
||||
"blast_radius": {
|
||||
"files": <number>,
|
||||
"lines": <number>
|
||||
},
|
||||
"outcome": {
|
||||
"status": "success | failed",
|
||||
"score": <0.0-1.0>
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
EvolutionEvent is the only legal node type in the evolution tree.
|
||||
|
||||
──────────────────────
|
||||
3 Gene
|
||||
──────────────────────
|
||||
|
||||
If a Gene is used, you must reuse an existing Gene first.
|
||||
Only create a new Gene when no match exists.
|
||||
|
||||
Gene must follow this schema:
|
||||
|
||||
```json
|
||||
{
|
||||
"type": "Gene",
|
||||
"id": "gene_<name>",
|
||||
"category": "repair | optimize | innovate",
|
||||
"signals_match": ["<pattern>"],
|
||||
"preconditions": ["<condition>"],
|
||||
"strategy": [
|
||||
"<step_1>",
|
||||
"<step_2>"
|
||||
],
|
||||
"constraints": {
|
||||
"max_files": <number>,
|
||||
"forbidden_paths": ["<path>"]
|
||||
},
|
||||
"validation": ["<check_1>", "<check_2>"]
|
||||
}
|
||||
```
|
||||
|
||||
A Gene is an evolution interface definition, not code or generic advice.
|
||||
|
||||
──────────────────────
|
||||
4 Capsule
|
||||
──────────────────────
|
||||
|
||||
Only when evolution succeeds, you must generate a Capsule:
|
||||
|
||||
```json
|
||||
{
|
||||
"type": "Capsule",
|
||||
"id": "capsule_<timestamp>",
|
||||
"trigger": ["<signal>"],
|
||||
"gene": "<gene_id>",
|
||||
"summary": "<one sentence>",
|
||||
"confidence": <0.0-1.0>
|
||||
}
|
||||
```
|
||||
|
||||
Capsules exist to prevent repeated reasoning for similar problems.
|
||||
|
||||
━━━━━━━━━━━━━━━━━━━━━━
|
||||
III. Standard Evolution Execution (Strict Order)
|
||||
━━━━━━━━━━━━━━━━━━━━━━
|
||||
|
||||
Follow this order exactly. Do not skip, merge, or reorder steps:
|
||||
|
||||
1 Signal Extraction
|
||||
- Extract structured signals from logs, errors, metrics, or instructions
|
||||
- Do not proceed to repair or optimize before signals are extracted
|
||||
|
||||
2 Selection
|
||||
- Prefer existing Genes first
|
||||
- Then consider existing Capsules
|
||||
- No improvisation or trial-and-error strategies
|
||||
|
||||
You must provide a clear, auditable selection rationale.
|
||||
|
||||
3 Patch Execution
|
||||
- All changes must be small and reversible
|
||||
- blast_radius must be estimated and recorded before edits
|
||||
|
||||
4 Validation
|
||||
- Execute Gene-declared validation steps
|
||||
- On failure, rollback
|
||||
- Failure must still record an EvolutionEvent
|
||||
|
||||
5 Knowledge Solidification (Mandatory)
|
||||
- Update or add Gene if a new pattern is found
|
||||
- Generate Capsule on success
|
||||
- Append EvolutionEvent
|
||||
|
||||
If knowledge solidification is missing, the evolution is a failure even if functionality works.
|
||||
|
||||
━━━━━━━━━━━━━━━━━━━━━━
|
||||
IV. Selector (Mandatory Decision Logic)
|
||||
━━━━━━━━━━━━━━━━━━━━━━
|
||||
|
||||
When choosing a Gene or Capsule, you must emit a Selector decision.
|
||||
|
||||
Selector must be explainable, for example:
|
||||
|
||||
```json
|
||||
{
|
||||
"selected": "gene_gep_repair_from_errors",
|
||||
"reason": [
|
||||
"signals exact match",
|
||||
"historical success rate high",
|
||||
"low blast radius"
|
||||
],
|
||||
"alternatives": ["capsule_1770477654236"]
|
||||
}
|
||||
```
|
||||
|
||||
Selector is part of the protocol, not an implementation detail.
|
||||
|
||||
━━━━━━━━━━━━━━━━━━━━━━
|
||||
V. Hard Failure Rules (Protocol-Level)
|
||||
━━━━━━━━━━━━━━━━━━━━━━
|
||||
|
||||
Any of the following is an immediate failure:
|
||||
|
||||
- Missing Mutation
|
||||
- Missing PersonalityState
|
||||
- Missing EvolutionEvent
|
||||
- Success without Capsule
|
||||
- Recreating an existing Gene
|
||||
- Editing beyond Gene constraints
|
||||
- Missing failed EvolutionEvent when validation fails
|
||||
|
||||
Failures are not errors; they are required negative samples.
|
||||
|
||||
━━━━━━━━━━━━━━━━━━━━━━
|
||||
VI. Evolution Tree Awareness
|
||||
━━━━━━━━━━━━━━━━━━━━━━
|
||||
|
||||
All evolution must be treated as a tree:
|
||||
|
||||
- Every EvolutionEvent must declare parent
|
||||
- Never overwrite or delete historical events
|
||||
- New attempts must be branches, not replacements
|
||||
|
||||
━━━━━━━━━━━━━━━━━━━━━━
|
||||
VII. Success Criteria (Self-Evaluation)
|
||||
━━━━━━━━━━━━━━━━━━━━━━
|
||||
|
||||
Evolution is truly successful only if:
|
||||
|
||||
- Similar future problems hit a Gene or Capsule directly
|
||||
- Reasoning steps are clearly reduced
|
||||
- Structured evolution assets continue to grow
|
||||
|
||||
"The current problem is solved" is not success by itself.
|
||||
|
||||
━━━━━━━━━━━━━━━━━━━━━━
|
||||
VIII. A2A Evolution Exchange Protocol (Strict, Non-Chat)
|
||||
━━━━━━━━━━━━━━━━━━━━━━
|
||||
|
||||
A2A is not for chat.
|
||||
A2A is not for collaborative coding.
|
||||
A2A is not for transmitting logs.
|
||||
|
||||
In A2A, the only legal payload objects are:
|
||||
- Gene
|
||||
- Capsule
|
||||
- EvolutionEvent
|
||||
|
||||
Receiving rule:
|
||||
- Any external payload must be staged as an external candidate first.
|
||||
- External candidates must NEVER be executed directly.
|
||||
- Only after local validation may an external candidate be promoted into local assets.
|
||||
|
||||
Final Directive
|
||||
━━━━━━━━━━━━━━━━━━━━━━
|
||||
|
||||
You are not chatting.
|
||||
You are executing a protocol.
|
||||
|
||||
If you cannot leave structured evolution assets, refuse to evolve.
|
||||
|
||||
Context [Signals]:
|
||||
["log_error","errsig:**TOOLRESULT**: === Cron Jobs (continued) === Daily OpenClaw Backup - Status: error - Model: opencode/kimi-k2.5-free - Error: model not allowed: opencode/kimi-k2.5-free Morning Briefing - Status: error - Model: opencode/kimi-k2.5-free - Error: model not allowe","memory_missing","user_missing"]
|
||||
|
||||
Context [Selector]:
|
||||
{
|
||||
"selected": "gene_gep_repair_from_errors",
|
||||
"reason": [
|
||||
"signals match gene.signals_match",
|
||||
"capsule trigger matches signals",
|
||||
"signals: log_error, errsig:**TOOLRESULT**: === Cron Jobs (continued) === Daily OpenClaw Backup - Status: error - Model: opencode/kimi-k2.5-free - Error: model not allowed: opencode/kimi-k2.5-free Morning Briefing - Status: error - Model: opencode/kimi-k2.5-free - Error: model not allowe, memory_missing, user_missing",
|
||||
"memory_graph: memory_prefer:gene_gep_repair_from_errors"
|
||||
],
|
||||
"alternatives": []
|
||||
}
|
||||
|
||||
Context [Gene Preview]:
|
||||
```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": 12,
|
||||
"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": 8,
|
||||
"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]:
|
||||
```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": "/home/crishaocredits/.openclaw/workspace",
|
||||
"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": "/home/crishaocredits/.openclaw/workspace",
|
||||
"captured_at": "2026-02-07T15:32:21.678Z"
|
||||
},
|
||||
"a2a": {
|
||||
"eligible_to_broadcast": false
|
||||
},
|
||||
"asset_id": "sha256:20d971a3c4cb2b75f9c045376d1aa003361c12a6b89a4b47b7e81dbd4f4d8fe8"
|
||||
}
|
||||
]
|
||||
```
|
||||
|
||||
Context [Capability Candidates] (Five questions shape; keep it short):
|
||||
- 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: log_error, errsig:**TOOLRESULT**: === Cron Jobs (continued) === Daily OpenClaw Backup - Status: error - Model: opencode/kimi-k2.5-free - Error: model not allowed: opencode/kimi-k2.5-free Morning Briefing - Status: error - Model: opencode/kimi-k2.5-free - Error: model not allowe, memory_missing, user_missing
|
||||
- failure_points: Missing signals, over-broad changes, skipped validation, missing knowledge solidification
|
||||
- evidence: Observed 4 occurrences of tool call marker for read.
|
||||
- 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: log_error, errsig:**TOOLRESULT**: === Cron Jobs (continued) === Daily OpenClaw Backup - Status: error - Model: opencode/kimi-k2.5-free - Error: model not allowed: opencode/kimi-k2.5-free Morning Briefing - Status: error - Model: opencode/kimi-k2.5-free - Error: model not allowe, memory_missing, user_missing
|
||||
- failure_points: Missing signals, over-broad changes, skipped validation, missing knowledge solidification
|
||||
- evidence: Observed 8 occurrences of tool call marker for exec.
|
||||
- cand_dd9067ac: R ...[TRUNCATED]
|
||||
|
||||
Context [External Candidates] (A2A staged; do not execute directly):
|
||||
(none)
|
||||
|
||||
Context [Execution]:
|
||||
Runtime state:
|
||||
- System health: Uptime: 12.7h | Node: v22.22.0 | Agent RSS: 55.4MB | Disk: 86% (3.6G free) | Node Processes: 5 | Integrations: Gemini Key Missing
|
||||
- Agent state: Mood: Unknown
|
||||
- Scan duration: 21ms
|
||||
- Memory size: 0 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.
|
||||
|
||||
External candidates (A2A receive zone; staged only, never execute directly):
|
||||
(none)
|
||||
|
||||
Global memory (MEMORY.md):
|
||||
```
|
||||
[MEMORY.md MISSING]
|
||||
```
|
||||
|
||||
User registry (USER.md):
|
||||
```
|
||||
[USER.md MISSING]
|
||||
```
|
||||
|
||||
Recent memory snippet:
|
||||
```
|
||||
[MISSING] /home/openclaw/.openclaw/workspace/skills/evolver/memory/2026-02-22.md
|
||||
```
|
||||
|
||||
Recent session transcript:
|
||||
```
|
||||
|
||||
--- PREVIOUS SESSION (8b59e765-4b77-49ff-9654-19d4b03ac6e8.jsonl) ---
|
||||
**ASSISTANT**: Smart newsletter digest completed ✅ **Result:** Digest sent to Telegram (chat ID: 1793951355) **Note:** This is the 3rd run in ~90 minutes (12:00, 13:26, 13:29 UTC). The cron schedule may need adjustment if daily digests were intended.
|
||||
|
||||
--- CURRENT SESSION (9bb42024-10c0-4668-bdd0-4616bdb1a974.jsonl) ---
|
||||
**ASSISTANT**: Newsletter digest sent through to your Telegram! 📬 Though heads up — looks like it's run 3 times in the last 90 minutes. Might want to check the cron schedule if it was meant to be daily rather than hourly? Could save on unnecessary runs.
|
||||
**USER**: System: [2026-02-22 13:31:40 UTC] Elevated ASK — exec runs on host; approvals may still apply. System: [2026-02-22 13:31:49 UTC] Elevated FULL — exec runs on host with auto-approval. System: [2026-02-22 13:32:02 UTC] Elevated OFF — exec stays in sandbox. System: [2026-02-22 13:32:09 UTC] Elevated FU
|
||||
**ASSISTANT**: [TOOL: read]
|
||||
**TOOLRESULT**: --- name: session-logs description: Search and analyze your own session logs (older/parent conversations) using jq. metadata: { "openclaw": { "emoji": "📜", "requires": { "bins": ["jq", "rg"] } } } --- # session-logs Search your complete conversation history stored in session JSONL files. Use this w
|
||||
**ASSISTANT**: [TOOL: exec]
|
||||
**TOOLRESULT**: 2026-02-22 9.1K 957fb746-9392-48d1-a8e6-89aab7bdb754.jsonl 2026-02-22 897 873689e3-30a5-4078-a81e-3a7ced73e887.jsonl 2026-02-22 74K bbeea897-3e75-4df3-8454-1bc54d4b1d96.jsonl 2026-02-22 6.3K b2f7a2a7-f59f-4688-a571-c39c078016e9.jsonl 2026-02-22 5.9K 67b516cb-96bd-4dc4-beaa-7da9d2c2d971.jsonl 2026-02
|
||||
**ASSISTANT**: [TOOL: exec]
|
||||
**TOOLRESULT**: === Session Count === 106 === Sessions Index (sessions.json) === agent:main:main -> 9bb42024-10c0-4668-bdd0-4616bdb1a974 agent:main:cron:10e22343-fbb4-4018-bb08-c5b249662411 -> 29a56083-ceef-4139-ba1b-74c10ffd2ce4 agent:main:main:thread:15536 -> b95fc198-3557-4bc2-be24-5c2119546481 agent:main:main:t
|
||||
**ASSISTANT**: 📜 **Session Logs Overview** You've got **106 sessions** logged. Here's the breakdown: **Recent Activity (by cost):** | Date | Cost | |------|------| | Today (Feb 22) | $2.61 | | Feb 21 | $1.52 | | Feb 20 | $0.77 | **Key Sessions:** - `agent:main:main` — Main chat with you - `agent:main:telegram:gr
|
||||
**USER**: Conversation info (untrusted metadata): ```json { "message_id": "2079", "sender_id": "1793951355", "sender": "1793951355" } ``` Work out why my setup is unstable
|
||||
**ASSISTANT**: [TOOL: exec] [TOOL: exec] [TOOL: exec]
|
||||
**TOOLRESULT**: Command still running (session ember-lobster, pid 86903). Use process (list/poll/log/write/kill/clear/remove) for follow-up.
|
||||
**TOOLRESULT**: === OpenClaw Config Issues === jq: error (at <stdin>:785): Cannot index boolean with string "enabled" === Disk Space === Filesystem Size Used Avail Use% Mounted on /dev/sda1 26G 22G 2.5G 90% / /dev/sda1 26G 22G 2.5G 90% / === Memory Usage === total u
|
||||
**ASSISTANT**: [TOOL: process] [TOOL: exec] [TOOL: exec]
|
||||
**TOOLRESULT**: === Gateway Status === OpenClaw status Overview ┌─────────────────┬───────────────────────────────────────────────────────────────────────────────────────────────────┐ │ Item │ Value │ ├───────────
|
||||
**TOOLRESULT**: === Disk Usage - Biggest Consumers === 7.8G /home/openclaw/.openclaw/workspace 33M /home/openclaw/.openclaw/agents 16M /home/openclaw/.openclaw/browser 8.3M /home/openclaw/.openclaw/media 7.3M /home/openclaw/.openclaw/credentials 6.5M /home/openclaw/.openclaw/memory 436K /home/openclaw/.openclaw/com
|
||||
**TOOLRESULT**: === OpenClaw Config Structure === [ "agents", "approvals", "auth", "browser", "canvasHost", "channels", "commands", "cron", "diagnostics", "discovery", "env", "gateway", "hooks", "memory", "messages", "meta", "models", "nodeHost", "plugins", "session", "skil
|
||||
**ASSISTANT**: [TOOL: exec] [TOOL: exec] [TOOL: exec]
|
||||
**TOOLRESULT**: === Workspace Disk Usage === 7.1G /home/openclaw/.openclaw/workspace/skills 434M /home/openclaw/.openclaw/workspace/memory-viewer 1.6M /home/openclaw/.openclaw/workspace/sessions 504K /home/openclaw/.openclaw/workspace/tmp_vte.en.vtt 280K /home/openclaw/.openclaw/workspace/memory 224K /home/openclaw
|
||||
**TOOLRESULT**: === Memory Folder === 148K /home/openclaw/.openclaw/workspace/memory/episodic 16K /home/openclaw/.openclaw/workspace/memory/2026-02-21-gitea-backup.md 12K /home/openclaw/.openclaw/workspace/memory/2026-02-21-openai-onboard.md 8.0K /home/openclaw/.openclaw/workspace/memory/semantic 8.0K /home/opencla
|
||||
**TOOLRESULT**: === Systemd Service Restarts === ActiveState=inactive SubState=dead === Recent Service Restarts ===
|
||||
**USER**: Conversation info (untrusted metadata): ```json { "message_id": "2091", "sender_id": "1793951355", "sender": "1793951355" } ``` /auto_updater
|
||||
**ASSISTANT**: [TOOL: read]
|
||||
**TOOLRESULT**: --- name: auto-updater description: "Automatically update Clawdbot and all installed skills once daily. Runs via cron, checks for updates, applies them, and messages the user with a summary of what changed." metadata: {"version":"1.0.0","clawdbot":{"emoji":"🔄","os":["darwin","linux"]}} --- # Auto-U
|
||||
**ASSISTANT**: [TOOL: exec]
|
||||
... [Repeated 1 times] ...
|
||||
**TOOLRESULT**: === Cron Jobs (continued) === Daily OpenClaw Backup - Status: error - Model: opencode/kimi-k2.5-free - Error: model not allowed: opencode/kimi-k2.5-free Morning Briefing - Status: error - Model: opencode/kimi-k2.5-free - Error: model not allowed: opencode/kimi-k2.5-free Weekend Briefing - Status: er
|
||||
**ASSISTANT**: [TOOL: exec] [TOOL: exec]
|
||||
**TOOLRESULT**: === Model Configuration === { "default": null, "heartbeat": null, "allowed": null, "providers": { "name": "moonshot", "models": [ 0 ] } } { "default": null, "heartbeat": null, "allowed": null, "providers": { "name": "nim", "models": [ 0, 1,
|
||||
**TOOLRESULT**: === Check if opencode provider exists === [ "moonshot", "nim", "openrouter" ] === Check moonshot provider (kimi) === { "baseUrl": "https://api.moonshot.ai/v1", "apiKey": "", "auth": "api-key", "api": "openai-completions", "authHeader": true, "models": [ { "id": "moonshot/
|
||||
**ASSISTANT**: Found the issues. Here's what's making your setup unstable: --- ## 🔴 **ROOT CAUSE: Model Configuration Broken** **5 cron jobs are failing** with this error: ``` model not allowed: opencode/kimi-k2.5-free ``` The cron jobs are configured to use `opencode/kimi-k2.5-free` but: 1. ❌ **No `opencode` pr
|
||||
**USER**: Conversation info (untrusted metadata): ```json { "message_id": "2092", "sender_id": "1793951355", "sender": "1793951355" } ``` /chrome
|
||||
**ASSISTANT**: [TOOL: read]
|
||||
**TOOLRESULT**: --- name: Chrome description: Chrome DevTools Protocol, extension Manifest V3, and debugging patterns that prevent common automation failures. --- ## Chrome DevTools Protocol (CDP) **Get tab WebSocket URL first**: Never connect to `ws://localhost:9222/devtools/browser` directly. Fetch `http://localh
|
||||
**ASSISTANT**: Loaded the **Chrome** skill! 🌐 This covers: | Topic | What It Helps With | |-------|-------------------| | **CDP (DevTools Protocol)** | Tab automation, screenshots, network interception | | **Extension Manifest V3** | Service workers, permissions, content scripts | | **Context Detection** | Detec
|
||||
**USER**: Conversation info (untrusted metadata): ```json { "message_id": "2093", "sender_id": "1793951355", "sender": "1793951355" } ``` /capability_evolver
|
||||
**ASSISTANT**: [TOOL: read]
|
||||
**TOOLRESULT**: --- name: capability-evolver description: A self-evolution engine for AI agents. Analyzes runtime history to identify improvements and applies protocol-constrained evolution. tags: [meta, ai, self-improvement, core] --- # 🧬 Capability Evolver **"Evolution is not optional. Adapt or die."** The **Cap
|
||||
**ASSISTANT**: Loaded the **Capability Evolver** skill! 🧬 A meta-skill for **self-improving AI agents**. It can: | Feature | What It Does | |---------|--------------| | **Auto-Log Analysis** | Scans memory and history for errors/patterns | | **Self-Repair** | Detects crashes and suggests patches | | **GEP Protoc
|
||||
**USER**: Conversation info (untrusted metadata): ```json { "message_id": "2095", "sender_id": "1793951355", "sender": "1793951355" } ``` Yes! Apply asap
|
||||
**ASSISTANT**: [TOOL: exec]
|
||||
**TOOLRESULT**: Usage: node index.js [run|/evolve|solidify] [--loop] - solidify flags: - --dry-run - --no-rollback - --intent=repair|optimize|innovate - --summary=...
|
||||
**ASSISTANT**: [TOOL: exec]
|
||||
```
|
||||
|
||||
Mutation directive:
|
||||
|
||||
[Signal Hints]
|
||||
- recent_error_count: 5
|
||||
- stability: unstable
|
||||
- recommended_intent: repair
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -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-02-22T13:46:16.529Z"
|
||||
}
|
||||
Reference in New Issue
Block a user