/best-copilot:evolution-loopfrom best-copilot
Turns verified signals (task closeout, repeated failure, review loops, stale triggers, user feedback) into auditable, bounded evolution proposals for agents, skills, memory, and README guidance.
Ships in best-copilot. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
This skill gives best-copilot a lightweight, auditable evolution cycle inspired by Evolver, Memento-style reflective learning, SkillOpt-style skill optimization, and the seven-module self-evolving agent loop: Planner, Executor, Observer, Evaluator, Reflector, Memory, and Policy.
Evolution is not free-form rewriting. It is a bounded loop:
agents/, root skills/, .github/instructions/**, and references in this plugin checkout; target-repository learnings go to target memories/repo/**, target spec/**, or target instructions.Planner: identify the improvement goal, trigger, affected workflow surface, non-goals, validation plan, and rollback plan.Executor: make the smallest approved file change or return a proposal when approval/review is missing.Observer: capture the concrete signal: failed check, review finding, repeated blocker, stale trigger, user correction, or verified success pattern.Evaluator: score the signal against acceptance impact, recurrence, severity, confidence, blast radius, and whether current rules already cover it.Reflector: extract the reusable lesson as root_cause, lesson, future_action, and anti_pattern_to_avoid.Memory: write only verified accepted/rejected/deferred evolution events and compact recovery notes to the canonical target.Policy: update routing rules, prompt clauses, templates, tool priority, review gates, or workflow guidance only after validation and rollback are clear.Do not merge these roles into one prompt blob. If a step has no evidence, mark it not_applicable or return a proposal instead of inventing durable learning.
Use SkillOpt-style optimization as a measured workflow improvement loop, not as permission to grow prompts.
Record each accepted evolution as a compact event:
## EvolutionEvent: <YYYY-MM-DD-topic>
- signal:
- target:
- mutation:
- validation:
- rollback:
- status: proposed|accepted|rejected|deprecated
For skill or agent optimization, add an optimization_event block:
- baseline_behavior:
- baseline_metrics:
- mutation_hypothesis:
- eval_cases:
- success_threshold:
- validation_result:
- token_cost_delta:
- reliability_delta:
- rollback_plan:
Accepted plugin evolution events are logged in references/events.md when no target-local memory applies.
repair-only: fix broken trigger, broken route, false claim, failed validation.harden: reduce ambiguity, add guardrails, improve verification, prevent repeated errors.balanced: small improvement that preserves current workflow.innovate: add a new capability only when existing skills cannot cover repeated demand.BLOCKED evolution_writeback_unavailable.Before accepting a workflow evolution, review it through these ten passes and record the result as pass | concern | blocked:
source_priority: current repo files and explicit user intent outrank external references and memory.module_separation: Planner, Executor, Observer, Evaluator, Reflector, Memory, and Policy stay separable.scope_minimality: the mutation is the smallest reusable change, not a broad rewrite.no_capability_loss: existing init gates, native ask gates, review lanes, permission boundaries, model/cost policies, final independent review, and verification requirements are not weakened.evidence_quality: the signal is verified or explicitly marked as proposal-only.memory_hygiene: no secrets, PII, raw logs, chat transcripts, or unverified guesses are stored.policy_reversibility: rollback is clear and does not depend on hidden state.runtime_compatibility: Codex, Copilot, and Claude packaging boundaries are not broken.verification_fit: static checks, schema checks, eval/probe prompts, or command evidence match the change type; review-boundary changes include contamination, permission, model/cost, final-review, and token-reuse probes.future_reuse: the lesson helps future tasks without forcing unrelated tasks through heavier workflow.## Evolution Proposal
- strategy:
- signals:
- target:
- proposed_mutation:
- expected_delta:
- validation_plan:
- rollback_plan:
- writeback_files:
- state_sync:
- seven_module_trace:
- ten_pass_review:
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub funky-eyes/best-copilot --plugin best-copilot39 skills in this plugin
/brainstormingCompatibility entrypoint for unresolved MEDIUM/LARGE design choices. PM and Technical Architect workflows own the SDD rules; do not load this skill for clear or approved work./change-verificationUse after code or configuration changes to prove the changed behavior with minimal sufficient commands, HTTP/browser checks, or static evidence. DO NOT USE FOR: purely speculative review without a concrete change./context-packet-fastpathUse to prepare a minimal context packet for a delegated subtask or to consume a frozen packet without re-reading unrelated files./core-workflow-contractUse when an agent needs the shared best-copilot contract for source priority, runtime adapters, init gates, work modes, dispatch packets, review, verification, memory, spec, state persistence, or closeout./developer-workflowUse when implementing a frozen subtask, staying inside assigned files, or reviewing Technical Architect-owned code as the Developer./development-branch-closeoutUse after implementation and required verification when PM/coordinator must choose merge, pull request, preserve, discard, or workspace cleanup handling for the current branch.Other plugins' skills for the same job