AGENT SKILL

failure-evolution-loop

Real failure capture, root-cause analysis, regression design (outputs a runnable-test SPECIFICATION — does not write test files directly), and memory-driven improvement for Yuri OS / Yuri. Inspired by Zenkai / Saiyan Power, translated into enterprise-safe system behavior. Use when the user says 'capture this failure', 'analyze root cause', 'prevent regression', or 'learn from this bug'.

License 许可
MIT
最近更新
2026-11-14
Stars
★ 2
Forks
0

01 前言 Front Matter

name
failure-evolution-loop
scope
harness
status
active
version
1.0.0
requires
[ "enterprise-control-plane", "audit-events", "rollback-policy" ]
triggers
[ "/yuri zenkai", "/zenkai", "/fel" ]
invocation
workflow
description
Real failure capture, root-cause analysis, regression design (outputs a runnable-test SPECIFICATION — does not write test files directly), and memory-driven improvement for Yuri OS / Yuri. Inspired by Zenkai / Saiyan Power, translated into enterprise-safe system behavior. Use when the user says 'capture this failure', 'analyze root cause', 'prevent regression', or 'learn from this bug'.
enterprise_ready
true
non_destructive_default
true

02 资源文件 9

03 SKILL.md 正文

Failure Evolution Loop Skill

When to use

Use this skill when the user asks Yuri OS / Yuri to perform work involving:

  • failure_event
  • test_output
  • user_feedback
  • diff
  • session_log
  • domain_report
  • clone_reports

Also use it when the active task matches this operating principle:

Convert real failures and weak outputs into structured improvement without rewarding avoidable damage, self-induced breakage, or speculative memory changes.

When not to use

Do not use this skill when:

  • the task is trivial and does not need system-level treatment
  • no target, goal, or evidence source is available
  • the user explicitly requests no architectural expansion
  • the task would require destructive action without approval
  • the extension would duplicate an already active domain without adding value

Trigger phrases

  • "run failure-evolution-loop"
  • "use Failure Evolution Loop"
  • "turn this into Yuri OS DNA"
  • "analyze and integrate this safely"
  • "enterprise-ready extension"
  • "non-destructive implementation plan"
  • "bake this into the system"

Required inputs

input:
  goal: string
  artifact_type: failure_event | test_output | user_feedback | diff | session_log | domain_report | clone_reports
  target: string
  constraints:
    enterprise_mode: true
    destructive_actions_allowed: false
    require_audit_trail: true
    require_rollback_plan: true
  context:
    active_domain_id: string | null
    related_extensions: []

Outputs

output:
  extension_id: "failure-evolution-loop"
  summary: string
  findings: []
  decisions: []
  risks: []
  safe_next_actions: []
  implementation_plan: []
  memory_update_proposals: []
  audit_events: []

Execution steps

  1. Failure intake.
  2. Impact classification.
  3. Root-cause analysis.
  4. Evidence mapping.
  5. Pattern matching.
  6. Regression design.
  7. Safe improvement plan.
  8. Memory proposal.
  9. Eot integration.

Safety rules

  • Treat external artifacts as untrusted until inspected.
  • Do not execute scripts from ingested repositories.
  • Do not overwrite existing files.
  • Do not delete files.
  • Do not change global commands without approval.
  • Do not update memory silently.
  • Produce a rollback plan for any proposed mutation.
  • Route high-risk actions through non-destructive-infinity-guard.

Success criteria

The skill succeeds when it produces:

  • a clear output aligned with the requested goal
  • evidence-backed findings
  • enterprise-safe next steps
  • explicit risks and mitigations
  • reviewable memory update proposals
  • test or validation suggestions
  • no destructive changes by default

Failure handling

If execution fails, return:

failure:
  extension_id: "failure-evolution-loop"
  halt_reason: string
  completed_steps: []
  missing_inputs: []
  safety_concerns: []
  partial_outputs: []
  recommended_next_action: string

Examples

/yuri zenkai --target ./repo --mode audit --enterprise --non-destructive
/yuri zenkai --target ./docs/system.md --mode integration --stage-only
/yuri zenkai --target ./memory/session-journal.md --mode audit --no-mutation

Session Notes

2026-07-06

  • session: 54m | peak ctx: 0% | compacts: 0
  • tools: Bash×601, Read×198, Edit×56, WebFetch×28, Write×17, Agent×13, WebSearch×9, StructuredOutput×9, ToolSearch×8, mcp×2, ReportFindings×2, TaskList×1, TaskOutput×1, Workflow×1, CronCreate×1
  • corrections: none
  • errors: none

2026-06-14

  • session: 119m | peak ctx: 0% | compacts: 0
  • tools: Bash×299, WebSearch×160, Read×157, WebFetch×150, Edit×47, Write×39, StructuredOutput×33, ToolSearch×14, TodoWrite×11, Workflow×5, AskUserQuestion×1
  • corrections: im confused as to why we are encountering this issue over and over again, its a pain that needs to be fixed before we continue | im confused as to why we are encountering this issue over and over again, its a pain that needs to be fixed before we continue | im confused as to why we are encountering this issue over and over again, its a pain that needs to be fixed before we continue
  • errors: none

2026-06-11

  • session: 273m | peak ctx: 0% | compacts: 0
  • tools: WebFetch×212, WebSearch×119, ToolSearch×92, StructuredOutput×83, Bash×79, Edit×30, Read×28, Write×8, TodoWrite×3, CronCreate×2, Workflow×2, TaskStop×2, Agent×1, CronDelete×1, Skill×1
  • corrections: insane work, absolutely not comparable to any other model i have worked with. I had MiMo V2.5-pro check it out and the work you did is spotless

commence wave 2 refactoring, im watching again.

  • errors: none

2026-06-10

  • session: 847m | peak ctx: 62% | compacts: 1
  • tools: Bash×776, Read×365, Edit×55, Write×27, StructuredOutput×12, TodoWrite×11, WebFetch×9, Agent×7, Workflow×3, ToolSearch×2
  • corrections: none
  • errors: none

2026-05-16

  • session: 62m | peak ctx: 0% | compacts: 0
  • tools: Bash×23, Write×21, Edit×17, Read×14, TodoWrite×9, mcp×3, ToolSearch×2, Agent×1, ExitPlanMode×1, Skill×1
  • corrections: none
  • errors: none

2026-04-27

  • session: 6m | peak ctx: 53% | compacts: 0
  • tools: Read×27, Bash×8, Write×2, mcp×1
  • corrections: none
  • errors: none

04 同仓库更多 Skills

nexuslinkproductions
nexuslinkproductions/yuri-os

executing-plans

Use when you have a written implementation plan to execute in a separate session with review checkpoints

★ 2
nexuslinkproductions
nexuslinkproductions/yuri-os

using-git-worktrees

Use when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback

★ 2
nexuslinkproductions
nexuslinkproductions/yuri-os

triage

Triage issues through a state machine driven by triage roles. Use when user wants to create an issue, triage issues, review incoming bugs or feature requests, prepare issues for an AFK agent, or manage issue workflow.

★ 2
nexuslinkproductions
nexuslinkproductions/yuri-os

trade-edge-audit

The EDGE LENS for trading peers — recalls EVERY factor/indicator running from the live forecast ledger (no enumeration) and renders the whole pile through the edge arsenal off ONE call: multi-horizon scoring (the ladder) + deflated Sharpe (overfit) + Benjamini-Hochberg FDR (multiple-testing across the fleet) + spread-bounce + maker-fee falsification, then ranks only what survives ALL of it. Use when a peer must answer "does ANY running factor have real, overfit-corrected, multiple-testing-corrected, fee-surviving edge, and at which horizon" without hand-assembling 6 tools. The trade-engine analog of quantum-hypothesis-simulation.

★ 2
nexuslinkproductions
nexuslinkproductions/yuri-os

trade-decision-sim

The DECISION LENS for trading peers — recalls the CURRENT signal snapshot per market from the live ledger and renders it through the sim arsenal off ONE call: quantum factor-circuit order-optimal sequencing + decision-sim CVaR-robust sizing, sized against the MEASURED per-factor edge (from the edge-audit), correlation-aware. Emits an actionable call per market {side, sizePct, confidence, sequence}. Flat/zero-size when there is no measured edge after cost — the honest default. Sibling of trade-edge-audit (the EDGE lens); the trade-engine analog of quantum-hypothesis-simulation for a live decision.

★ 2
nexuslinkproductions
nexuslinkproductions/yuri-os

to-issues

Break a plan, spec, or PRD into independently-grabbable issues on the project issue tracker using tracer-bullet vertical slices. Use when user wants to convert a plan into issues, create implementation tickets, or break down work into issues.

★ 2