本文へ移動
cccskills
無料GitHub で公開

self-evolve

Improve an existing skill or repository through isolated proposals, reproducible evaluation and evidence-based acceptance. Use for self-evolve or skill improvement.

インストール方法を見る

含まれるファイル(200)

  • SKILL.md3.3 KB
  • .claude-plugin/plugin.json837 B
  • .dataclass.json2.3 KB
  • .githooks/pre-commit2.2 KB
  • .githooks/pre-push2.2 KB
  • .github/workflows/dash-guard.yml730 B
  • .github/workflows/doc-contract.yml418 B
  • .github/workflows/fleet-sync.yml422 B
  • .github/workflows/load-budget.yml636 B
  • .github/workflows/pii-guard.yml1.4 KB
  • .gitignore724 B
  • .gitmodules205 B
  • .pii-allow599 B
  • CHANGELOG.md4.5 KB
  • commands/self-evolve-resume.md862 B
  • commands/self-evolve-status.md750 B
  • commands/self-evolve.md897 B
  • config.contract.json645 B
  • DATA.md11.5 KB
  • docs/diagrams/render.py2.4 KB
  • docs/diagrams/workflow-cn.dot1.8 KB
  • docs/diagrams/workflow-cn.png111.3 KB
  • docs/diagrams/workflow-en.dot1.7 KB
  • docs/diagrams/workflow-en.png94.6 KB
  • examples/btarget/report.json14.7 KB
  • LICENSE1.0 KB
  • PHILOSOPHY.md6.8 KB
  • README_CN.md6.5 KB
  • README.md7.1 KB
  • reference/acceptor_math.md8.6 KB
  • reference/evaluation.md7.3 KB
  • reference/maintenance.md3.8 KB
  • reference/runtime.md10.1 KB
  • requirements.txt624 B
  • retention.json.example135 B
  • ROADMAP.md9.4 KB
  • schemas/history-catalog.schema.json3.5 KB
  • schemas/storage-manifest.schema.json2.5 KB
  • schemas/storage-retention.schema.json1.2 KB
  • scripts/setup_btarget_repo.py7.1 KB
  • scripts/validate_btarget.py5.1 KB
  • spikes/__init__.py0 B
  • spikes/confseq_spike.py2.6 KB
  • storage.contract.json44.5 KB
  • tests/conftest.py3.8 KB
  • tests/fixtures/anchored_artifact.json957 B
  • tests/fixtures/smallcap_artifact.json8.7 KB
  • tests/runtime_fixture_support.py2.1 KB
  • tests/test_acceptor_adversarial.py4.0 KB
  • tests/test_acceptor_btier.py11.7 KB
  • tests/test_acceptor_c_tier.py10.7 KB
  • tests/test_acceptor_direction.py2.9 KB
  • tests/test_acceptor_noise.py6.6 KB
  • tests/test_acceptor.py2.5 KB
  • tests/test_agents.py3.6 KB
  • tests/test_anchors_extract.py1.7 KB
  • tests/test_anchors_independence.py2.0 KB
  • tests/test_anchors_marginal.py735 B
  • tests/test_anchors_split.py2.4 KB
  • tests/test_anchors_verify.py6.6 KB
  • tests/test_archive_pareto.py6.3 KB
  • tests/test_archive.py3.8 KB
  • tests/test_atier_gate_can_actually_reject.py7.6 KB
  • tests/test_btier_accept.py6.1 KB
  • tests/test_business_tree_boundaries.py8.9 KB
  • tests/test_caller_evidence.py6.3 KB
  • tests/test_caller_outcomes.py9.6 KB
  • tests/test_check_reflection_benchtrace.py3.2 KB
  • tests/test_confseq_spike.py1.3 KB
  • tests/test_decision_attribution.py6.6 KB
  • tests/test_e2e.py7.8 KB
  • tests/test_evaluate_btier.py6.9 KB
  • tests/test_evaluate_c_tier.py6.6 KB
  • tests/test_evaluate.py858 B
  • tests/test_events.py3.4 KB
  • tests/test_exec_probe_timeout.py7.1 KB
  • tests/test_fact_probe.py4.4 KB
  • tests/test_future_import_allowed.py9.2 KB
  • tests/test_gate_human.py4.6 KB
  • tests/test_history_is_reflectable.py7.3 KB
  • tests/test_immutable.py5.7 KB
  • tests/test_judge_calibration.py8.4 KB
  • tests/test_judges_agreement.py7.9 KB
  • tests/test_judges_codex.py7.4 KB
  • tests/test_llm_child.py3.5 KB
  • tests/test_llm_contract.py7.1 KB
  • tests/test_m1b_acceptance.py14.4 KB
  • tests/test_m2_acceptance.py28.8 KB
  • tests/test_m3_acceptance.py14.2 KB
  • tests/test_m4_selfboot_negative.py16.9 KB
  • tests/test_mutation_gate.py7.6 KB
  • tests/test_mutation_grader_failures.py4.5 KB
  • tests/test_numeric_score_boundaries.py2.3 KB
  • tests/test_parent_state_integrity.py7.1 KB
  • tests/test_patch_ast_gate.py12.8 KB
  • tests/test_patch_immutable_gate.py3.0 KB
  • tests/test_patch.py2.5 KB
  • tests/test_profile_abc.py5.5 KB
  • tests/test_profile_artifact_files.py925 B
  • tests/test_profile_probe_freshness.py6.9 KB
  • tests/test_profile.py3.2 KB
  • tests/test_proposer_artifact.py8.2 KB
  • tests/test_proposer_input_gathering.py3.9 KB
  • tests/test_proposer_sees_only_patchable.py4.3 KB
  • tests/test_proxy_outbound.py6.9 KB
  • tests/test_proxy_sequence.py2.0 KB
  • tests/test_reflect_fanout.py3.2 KB
  • tests/test_reflect_propose.py1.0 KB
  • tests/test_reflection_gate_contract.py5.1 KB
  • tests/test_rejected_changes_do_not_linger.py4.0 KB
  • tests/test_resume_guardrails.py21.4 KB
  • tests/test_review10_archive_grade.py5.9 KB
  • tests/test_review10_calibration.py5.4 KB
  • tests/test_review10_evidence.py8.5 KB
  • tests/test_review10_loop.py10.2 KB
  • tests/test_review10_patch.py2.2 KB
  • tests/test_review11_behavior.py17.6 KB
  • tests/test_runtime_destinations.py4.8 KB
  • tests/test_runtime_freshness.py8.4 KB
  • tests/test_runtime_operation_proofs.py24.7 KB
  • tests/test_runtime_private.py11.9 KB
  • tests/test_runtime_write_proofs.py6.8 KB
  • tests/test_runtime_writer_boundaries.py3.1 KB
  • tests/test_sandbox.py6.7 KB
  • tests/test_selfboot.py17.8 KB
  • tests/test_selfdeception_holdout.py4.2 KB
  • tests/test_selfdeception.py8.9 KB
  • tests/test_skill_docs.py1.4 KB
  • tests/test_source_byte_preservation.py9.4 KB
  • tests/test_source13_repairs.py10.5 KB
  • tests/test_stage_records.py5.9 KB
  • tests/test_state.py1.3 KB
  • tests/test_statemachine_counters.py12.7 KB
  • tests/test_statemachine_m3.py9.1 KB
  • tests/test_storage_inventory.py7.8 KB
  • tests/test_storage_retention.py8.2 KB
  • tests/test_storage_writer_contract.py9.5 KB
  • tests/test_subprocess_encoding.py2.8 KB
  • tests/test_supervisor.py13.5 KB
  • tests/test_unobservable_goes_to_human.py5.5 KB
  • tests/test_verifiable.py3.1 KB
  • tests/test_worktree_path_compatibility.py6.1 KB
  • tools/__init__.py0 B
  • tools/llm_fixtures.py5.8 KB
  • tools/make_fixtures.py96.7 KB
  • tools/sie_cli.py265 B
  • tools/sie/__init__.py38 B
  • tools/sie/acceptor.py16.1 KB
  • tools/sie/agents.py3.5 KB
  • tools/sie/anchors.py10.1 KB
  • tools/sie/archive.py11.8 KB
  • tools/sie/backends/__init__.py0 B
  • tools/sie/backends/builtin.py570 B
  • tools/sie/backends/llm.py16.1 KB
  • tools/sie/business_tree.py9.8 KB
  • tools/sie/calibrate.py39.7 KB
  • tools/sie/calibration_defects/cl-oss-lane-key-mismatch.json2.1 KB
  • tools/sie/calibration_defects/cl-reward-floor-flattens-low-end.json2.8 KB
  • tools/sie/calibration_defects/cl-track-weight-double-charged.json4.0 KB
  • tools/sie/calibration_defects/cl-unseen-arm-inherits-best.json2.7 KB
  • tools/sie/calibration_defects/cp-linked-worktree-turns-the-in-repo-guard-off.json3.6 KB
  • tools/sie/calibration_defects/cp-report-failure-collapses-into-cannot-check.json3.4 KB
  • tools/sie/calibration_defects/cp-unparseable-digest-name-read-as-a-clean-day.json3.1 KB
  • tools/sie/calibration_defects/cp-unscanned-archive-publishes-zero-missing-days.json6.7 KB
  • tools/sie/calibration_defects/cp-xdg-companion-lane-spelled-without-config.json3.2 KB
  • tools/sie/calibration_defects/lb-demand-bar-measured-against-the-shipped-floor.json2.9 KB
  • tools/sie/calibration_defects/lb-origin-labels-lose-case-folding.json2.5 KB
  • tools/sie/calibration_defects/lb-quote-capped-at-the-push-limit.json2.4 KB
  • tools/sie/calibration_defects/lb-undated-age-scores-as-brand-new.json2.0 KB
  • tools/sie/calibration_defects/sc-age-floored-at-collection-cadence.json3.1 KB
  • tools/sie/calibration_defects/sc-crowdedness-damper-outside-the-weights.json3.8 KB
  • tools/sie/calibration_defects/sc-final-map-drops-lifecycle-stage.json3.3 KB
  • tools/sie/calibration_defects/sc-undated-evidence-counts-toward-the-red-line.json3.1 KB
  • tools/sie/calibration_defects/yl-lane-alias-not-folded.json3.2 KB
  • tools/sie/calibration_defects/yl-previral-key-list-drift.json4.0 KB
  • tools/sie/calibration_defects/yl-propose-add-silent-cap.json3.2 KB
  • tools/sie/calibration_defects/yl-unparsed-ts-reads-as-in-window.json3.8 KB
  • tools/sie/check_reflection.py3.0 KB
  • tools/sie/cli.py10.5 KB
  • tools/sie/edgar_cache.py1.1 KB
  • tools/sie/evaluate.py18.4 KB
  • tools/sie/events.py3.1 KB
  • tools/sie/gate_human.py2.9 KB
  • tools/sie/immutable.py6.9 KB
  • tools/sie/judge_claude.py392 B
  • tools/sie/judge_codex.py389 B
  • tools/sie/judges.py9.9 KB
  • tools/sie/llm_adapter.py6.4 KB
  • tools/sie/llm_agent_child.py962 B
  • tools/sie/patch.py43.8 KB
  • tools/sie/probes/__init__.py0 B
  • tools/sie/probes/exec_probe.py5.6 KB
  • tools/sie/probes/fact_probe.py3.7 KB
  • tools/sie/profile.py9.4 KB
  • tools/sie/propose.py1.6 KB
  • tools/sie/proxy.py10.9 KB
  • tools/sie/reflect.py4.2 KB
  • tools/sie/runtime_data.py30.8 KB
  • tools/sie/sandbox.py8.4 KB
  • tools/sie/selfboot.py4.1 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

self-evolve

在 Git worktree 中提出修改、运行评测,再按证据决定是否采纳。 先明确目标和可执行判据;通过检查只证明所测范围。

开始前

  1. 确认目标仓库、基线 revision、允许修改的范围和期望改善的行为。 记录文档影响;无需修改的文档也说明原因。设计理由见 PHILOSOPHY.md。
  2. 确定评测信号:A 为测试结果,B 为独立事实核验,C 为已提供的主观证据。 主循环尚无 C 回归与一致性测量生产者,也不执行 A+B 组合。
  3. 按 DATA.md 配置 PRIVATE 伴生仓,保留真实运行证据。
  4. 运行 python <skill-path>/tools/sie_cli.py doctor --target <target>, 阅读配置和能力缺口。doctor 不调用模型,退出零不能单独证明就绪。

工作流

步骤要做的事
PROFILE实现前冻结评测策略、目标契约与留出集;续跑沿用原契约
REFLECT从已有记录形成诊断,核对引用;结构检查不等于事实核验
PROPOSE提出允许范围内的修改,保留实际 provider 和失败原因
PATCH在候选工作树应用提案,执行路径、AST 与 IMMUTABLE 检查
EVALUATE用相同口径测量父代和候选,保留任务身份及不可用原因
ACCEPT / REVIEW由代码处理证据与门控,归档采纳版本或记录拒绝、人审原因

agent 使用已安装的 llmcall.call(prompt, mode="agent"),文本 judge 使用默认模式。 继承其路由、模型、超时和回退策略,不另设 provider 链。 只有实际返回的已知不同家族才能支持独立评审结论。

运行与恢复

python <skill-path>/tools/sie_cli.py init --target <target>
python <skill-path>/tools/sie_cli.py run --target <target> --run-id <id> --base-ref HEAD
python <skill-path>/tools/sie_cli.py status --target <target> --run-id <id>

默认 builtin 将已提供的修复转成提案,不会自主发现修复。 模型提案使用 --live,JSON 产物使用 --proposer llm-artifact。 续跑复用 run ID;--max-rounds 是本次调用的额外轮数。 参数、自举和恢复语义见 runtime。

接受与交付

  • 沙箱与私有目录不等于操作系统权限隔离;真值不进入提案 prompt。
  • 缺少基线、回归记录、核验结果或独立 provider 时,明确报告缺口。
  • 没有回归或测试全绿不单独构成改进;按 evaluation 解释证据。
  • 人审队列记录待审动作;发布、合并和对外发送仍按已有授权单独执行。
  • 评审前完成实现、文档和已获授权的版本更新,再冻结准确的候选快照。 这不改变实现前的评测冻结;评审后改动须重新检查受影响部分。流程见 maintenance。
  • 交付候选差异、源码版本、实际测量、采纳原因、未覆盖范围和运行状态。 统计解释须满足 acceptor_math 的假设。

按需加载上述参考,不读取历史研究资料来代替当前实现和测量。

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

このスキルの問題を報告する