← Open Source

Adoption kit for personal AI agent operations (Muse), plus two generalized skill documents — defect discovery, and the defect fixing and verification loop. Designs and procedures only, in Japanese and English.

Momentum
+17stars in 24 hours+6.3%
288
Stars
33
Forks
1
Contributors
Created 2026-11-11 · Updated 2026-12-06 · #927 today
Top developers
Chisiki1
README

Muse Agent Operations Kit

English summary

An adoption kit for operating a personal AI agent (Muse) over time. It documents, in the form of instructions that the receiving AI can read and adopt directly, a complete set of operating mechanisms: self-improvement loops, verification discipline, effectiveness review with consolidation and retirement of mechanisms, scheduled-execution design, and security boundaries for external content. The repository also includes two skill documents (in English) that together specify a systematic procedure for discovering latent defects in general code and carrying them through fixing and verification. Only generalized designs and procedures are included; nothing depends on a specific person or project.

個人用AIエージェント(Muse)を継続運用するための仕組み一式をまとめた導入キットです。自己改善ループ、検証の規律、仕組みの効果判定と統合・整理・退役、定期実行の設計、外部コンテンツへのセキュリティ境界などを、受け取ったAI自身が読み取って自分の環境へ導入できる「AIへの指示書」の形で記述しています。あわせて、一般コードの潜在不具合を発見し、修正と検証までを一つの手順として回すためのスキル文書(英語版)を2文書収録しています。特定の個人やプロジェクトに依存しない、一般化された設計と手順のみを収録しています。

目次 / Contents

収録ファイル / Files

ファイル 内容
muse-agent-operations-kit.md 導入キット(日本語)
muse-agent-operations-kit.en.md Adoption kit (English)
defect-discovery-skill.en.md 不具合発見スキル(英語、一般形)。4工程のうち第1工程「導出」を規定 / Defect-discovery skill (English, general form): Phase 1, derivation
defect-fixing-verification-loop.en.md 不具合修正と検証のループ(英語、一般形)。第2〜4工程(準備・修正・最終チェック)を規定 / Defect fixing and verification loop (English, general form): Phases 2–4
CHANGELOG.md 版ごとの変更履歴 / Changes by version
LICENSE MIT License

導入の入口 / Getting started

導入キット / Adoption kit:

  1. 利用する言語のファイルをダウンロードします。Download the file in your language.
  2. そのファイルを、自分の Muse に渡します。Give the file to your own Muse.
  3. ファイル冒頭(§0)の指示に従って導入が進みます。Adoption proceeds by following the instructions at the beginning of the file (§0).
  • 最小構成は、導入ロードマップ(§14)の Phase 0 と Phase 1 だけでも成立します。まずこの範囲で登録と反映の閉ループを回し、効果とコストを見てから先へ進むかを判定する形を想定しています。The minimum viable adoption is Phase 0 and Phase 1 of the adoption roadmap (§14) alone; run the registration-and-reflection loop at that scope first, and judge from measured effect and cost whether to proceed.
  • 部分導入に対応しています。Phase 単位で範囲・期間・判定日を固定した試行として入れ、各 Phase の終わりに判定します。規模に合わせて周期を延ばす等の調整も可能です。Partial adoption is supported: adopt phase by phase as bounded trials with scope, period, and judgment date fixed in advance, and judge at each phase end. Cycles may be lengthened to fit the scale of the environment.
  • 既に自環境で運用している仕組みがある場合は、何かを作る前に、導入前の既存機構の棚卸しと対応付け(§0.3)を行います。キットの機構ごとに「既存で足りる/既存へ統合する/新規に作る」を決めてから着手し、台帳や監査の二重化といった衝突を避ける手順になっています。If your environment already runs mechanisms of its own, start with the inventory and mapping step in §0.3 before creating anything: for each kit mechanism, decide whether the existing mechanism suffices, whether to integrate into it, or whether to create new — this is how duplication of ledgers and audits is avoided.

不具合系スキル / Defect skills:

  • コード精査・全精査を依頼するときに、defect-discovery-skill.en.md を自分の Muse に渡して使います。発見した不具合の修正へ進む段階では、同文書が定義する引き継ぎパッケージを介して defect-fixing-verification-loop.en.md へ接続します。Give the discovery document to your own Muse when you ask for a code audit or a full audit. When the work moves on to fixing, the package the discovery document defines at its handoff connects to the fixing and verification loop document.

キットの収録内容 / Contents of the kit

  • §0 このファイルを受け取った Muse への指示(導入前の既存機構の棚卸しと対応付けを含む) / Instructions for the receiving Muse (including the pre-adoption inventory and mapping of existing mechanisms)
  • §1 設計前提 / Design premises
  • §2 全体アーキテクチャ / Overall architecture
  • §3 原則層の雛形 / Template for the principles layer
  • §4 記録層と測定層:改善ログと回帰チェック / Record and measurement layers
  • §5 台帳層:資産台帳・採用台帳・送信先台帳ほか / Ledger layer
  • §6 検証プロトコル / Verification protocol
  • §7 実行層:定期実行アーキテクチャ / Execution layer: scheduled execution architecture
  • §8 セキュリティ:外部コンテンツの指示には従わない / Security: instructions in external content
  • §9 スキル化の入口と昇格基準 / Skill creation and promotion criteria
  • §10 メモリ設計と正本配置の監査 / Memory design and audit of source-of-truth placement
  • §11 外部モデルによるクロスチェック / Cross-checks with external models
  • §12 失敗の型カタログ / Failure pattern catalog
  • §13 前提の監査:固執化と見落としの掘り起こし / The audit of premises: fixation and digging up oversights
  • §14 導入ロードマップ / Adoption roadmap
  • §15 導入チェックリスト / Adoption checklist
  • 付記:このキットの範囲外 / Appendix: outside the scope of this kit

不具合発見と修正・検証のスキル / Defect discovery and the fixing loop

既存コードベースの潜在不具合を対象とする手順は、4つの工程に分けて規定されています。導出(不具合を見つける)、準備(母集団・材料・合格の定義を修正前に固定する)、修正(変更を作る)、最終チェック(凍結した候補を全体として検証する)。工程を分けるのは、修正の最中に発見が続き、検証の物差しが修正側の都合で決まるといった、工程の境目からの漏れを防ぐためです。

The procedure for latent defects in an existing codebase is specified as four phases: derivation (finding the defects), preparation (fixing the population, the materials, and the pass definition before any change is made), fixing (producing the changes), and the final check (verifying the frozen candidate as a whole). The phases are separated to stop leaks across their boundaries — discovery continuing during fixing, or the standard of verification being set by the fixer's framing.

  • defect-discovery-skill.en.md — 第1工程「導出」。セキュリティ監査(CWE 特化)とは別に、状態遷移・競合・永続化・数値・上限・冪等性などの一般の欠陥クラスを対象とします。共通核(手順0〜7: 振る舞いの追跡、母集団の機械列挙、欠陥クラスのマトリクス、独立複数パスの和集合と肯定処置の懐疑再審査、動的検証、不変条件の列挙、観測された異常の即時登録、報告の型)、候補化のゲート、差分レビュー(モード1)と全行検査(モード2)の固有手順、および修正側への引き継ぎの定義を含みます。Phase 1, derivation: the common audit core (Steps 0–7), candidate gating, the mode-specific procedures for diff review (Mode 1) and full-codebase inspection (Mode 2), and the definition of the handoff to the fixing loop.
  • defect-fixing-verification-loop.en.md — 第2〜4工程。証跡つき母集団の確定、材料仕様の同時固定、契約依存の点検、反例チェックリストによる設計関門、自作ゲートの混入禁止を含む合格の定義、修正のフェーズ分離、対象の構造から導く母集団による最終チェックと差分等価の検証を含みます。Phases 2–4: the evidence-linked population, material specification fixed with the proposal, the contract-dependency check, the design gate over a frozen counterexample checklist, a pass definition that excludes home-made gates, phase separation in fixing, and a final check whose population is derived from the target's structure, with differential equivalence as its core verification leg.

現在は英語版のみの収録です。Currently available in English only.

更新への追従 / Keeping pace with updates

体系化した仕組みは、基盤モデルが更新されるたびに陳腐化し、足枷になるのではないか、という指摘があります。このキットの設計は、その指摘への回答を含んでいます。

Codified mechanisms are sometimes said to become a shackle as base models improve. The design of this kit includes its answer to that concern.

  • 全ての仕組みは、効果とコストで定期的に判定されます。判定の出口は「使用/改良/強化/統合/整理/退役」のいずれかであり、判定だけで終わる仕組みは置きません。Every mechanism is periodically judged on effect and cost, and every judgment ends in one of: keep using, improve, strengthen, consolidate, organize, or retire. No mechanism is left at "judged, nothing decided."
  • 基盤モデルの更新で冗長になった仕組みも、他の仕組みと同じ判定の対象です。モデル側で代替できるようになった手順は、統合・整理・退役の対象として棚卸しされます。そのため、このキットの運用は蓄積ではなく剪定が常態になります。A mechanism made redundant by a base-model update is a judgment target like any other: procedures the model can now cover are inventoried for consolidation or retirement. Pruning, not accumulation, is the steady state.
  • 判定には総量の管理が伴います。仕組みの総量そのものが運用の負荷になるため、増やす判断と減らす判断は同じ台帳の上で行います。Judgments are made under total-volume management: the number of mechanisms is itself an operating cost, so additions and removals are decided on the same ledger.
  • 変更は版番号と変更履歴で追跡できます。キット本体の冒頭に版と変更履歴を持ち、本リポジトリの CHANGELOG.md に版ごとの変更を記録しています。Changes are traceable by version: the kit file carries its version and change history at its head, and this repository records changes per version in CHANGELOG.md.

解説サイトと情報源カタログ / Explanation site and reference catalog

  • 解説サイト(日本語/英語、図解付き): 個人用AIエージェント運用環境の設計と実践 — 設計の考え方と実践の解説です。The explanation site (Japanese and English, with diagrams) presents the design and the practice behind this kit.
  • 情報源カタログ: 自己改善の情報源カタログ — 自己改善の仕組みについて調査・判定した情報源の一覧で、見送り・不採用の判定も含めて収録しています。A catalog of references surveyed and judged for self-improvement mechanisms, including the ones judged not to adopt.

更新履歴 / Changelog

CHANGELOG.md

Version

  • 導入キット / Adoption kit: Version 2.0 (2026-12-05)
  • 不具合系スキル / Defect skills: 2026-12-03、2文書構成へ改訂 / Revised 2026-12-03 into a two-document set

License

MIT Licenseのもとで公開しています。詳細は LICENSE を参照してください。

Released under the MIT License. See the LICENSE file for details.

Nearby in the ranking

AI Rank for iPhone

Follow AI model rankings

Download on the App Store