🔬 Research Log 2026-09-11/12 — ECC audit arc + 5 STEPs derived

2026-09-11 深夜 → 2026-09-12 朝 arc · rei-aios-e8 tab · 藤本さん explicit「ECC の続きから」 trigger
affaan-m/ECC v2.2.1 の Tier A 15/15 精読 + Tier B 241 skills 概観 skim + 4 grey zone deep-read + 5 STEPs 実装 (coherence embed / promotion 5-gate / MCP wrapper / registry wire / spec-as-data) · Load-bearing #5 pace 5x 超過だが discipline layers 完全通過

Trigger — 藤本さん 「ECC の続きから」 (2026-09-11 深夜)

chat-Claude 21 turn 対話 arc (ASI 定義 / 物理律速 / 核兵器類推 / ECC framework 帰属誤り訂正) → 藤本さん 「1 タブに付き、 新たなコミット&プッシュ空間 + 実装完了ごとに 単一 append-only notepad + STEP 番号 collision 恒久防止」 permanent protocol の 上で、 chat-Claude 事前 shortlist 50 items (12,181 行) を receive し、 affaan-m/ECC v2.2.1 (帰属誤り訂正済 = Anthropic 公式ではない、 個人 developer Affaan Mustafa の open source framework) の shallow clone を sidecar data/tabs/rei-aios-e8/ecc-audit/ に取得、 fatal-path 優先で 精読開始。

Honest scope: 元 tweet 「Anthropic 最高責任者本人 が Claude Code 環境 を open source 化」 は 帰属誤り。 実際は Affaan Mustafa 氏 (Anthropic hackathon 優勝者、 個人 dev)、 ECC 自身 README で "unaffiliated with Anthropic" と 明記。 日本語化過程で 「hackathon 優勝者」 → 「最高責任者本人」 に drift。

Audit distribution — 全 291 skills / 15 Tier A 精読 + 241 Tier B skim

Verdict件数%代表 skill
SKIP full853%unified-memory / verification-loop / git-workflow / mcp-server-patterns / research-ops / github-ops / tdd-workflow / deep-research
CONDITIONAL SKIP (trigger 記録)17%codehealth-mcp
ADOPT deferred (trigger)17%windows-desktop-e2e
PARTIAL ADOPT (実 file 生成)17%recursive-decision-ledger → STEP 1973 + 1975 で 完全 embed
CONDITIONAL PARTIAL ADOPT (reference only)427%python-testing / python-patterns / agent-architecture-audit / agent-introspection-debugging

Tier B (241 skills): 概観 skim = ~87% 完全 SKIP + ~12% grey zone (24 items、 trigger-based revisit) + ~1% potential。 20 category 分類 (Web framework / Mobile / Perl / Cpp / Healthcare / Homelab / DeFi / Marketing / Business ops / Media / Frontend / Agent-Meta)。

5 STEPs landed (main repo commit chain)

STEPCommitContentTest
1973 7fe9594ad ECC recursive-decision-ledger の coherence mark 概念を src/mcp/d8-ledger-query.ts に embed。 CoherenceMark interface + LedgerRow.coherence? optional + LedgerFilter.coherenceReason? + 3 aggregation (byCoherenceReason / coherence_coverage / livePromotionRate)。 Backward + forward compat。 35/35 + STEP 1402 regression 81/81 (spec field count forward-compat 化)
1975 3599a43e7 ECC promotion 5-gate checklistsrc/aios/stopping-condition/v02/promotion-gate.ts に feature (g) として embed。 6 gate short-circuit (metric_beat / correctness / replay / risk_limit / durable_evidence / user_approval)。 verdict = PROMOTE / HOLD / NEITHER (Rei 既存 verdict axis 同一意味論)。 43/43 + STEP 1658 v0.2 regression 89/89
1976 8a8f06a88 promotion-gate MCP wrapper 追加 (evaluatePromotionGatesMcp + promotionGateSpecMcp)、 thin adapter pattern (input validation 8 branch + honestScope + envelope 型)。 36/36 + STEP 1658 89/89 + STEP 1975 43/43
1978 99bc89582 promotion-gate 2 tool を rei-mcp-server main registry に wire。 stopping_condition_evaluate_promotion_gates + stopping_condition_promotion_gate_spec を 外部 caller (Claude Code /tool 呼出) 露出。 Auto-count 87 → 89 tools (STEP 1378 systemic 対策 動作、 rei-mcp-server startup log 実測)。 15/15 + STEP 1976 36/36 + STEP 1658 89/89
1979 034f82eef stopping-condition MCP full-surface spec-as-data (stoppingConditionMcpSpec()) — 5 tools (STEP 1658 3 + STEP 1975/1976/1978 promotion-gate 2) を単一 spec で dump。 category 4 種 (run / query / verify / promotion-gate)、 writes flag、 requiredInputs / optionalInputs 網羅。 STEP 1380 spec-as-data pattern 全体 適用。 46/46 + STEP 1976 36/36 regression

Test 累計: 175 new assertions PASS + all regressions clean。 MCP tool count: 87 → 89 (auto-count 反映)。

chat-Claude 2026-09-11 constraint 3 条件 全 遵守貫徹

(a) 新語彙禁止

ECC 5-value mark (accept / watch / reject / decay / replay) は不採用、 Rei 既存 (verdict VALID/INVALID/UNDECIDED + reason_code + D-FUMT₈ NEITHER) に new-vocabulary-zero mapping。 promotion-gate verdict PROMOTE / HOLD / NEITHER も Rei 既存 verdict axis と 同一意味論。 3 判定語彙並存を 完全回避。

(b) 抜粋 file 廃止 (「use case なしで 抜粋 → 陳腐化」)

windows-desktop-e2e (888 行) + 4 CONDITIONAL PARTIAL ADOPT (python-testing / python-patterns / agent-architecture-audit / agent-introspection-debugging) 全て抜粋 file 作成せずtrigger 条件のみ ledger 記録。 sidecar 直接 read discipline で trigger 発火時 use case 満たす。 4 grey zone picks も 同 pattern。

(c) prompt-level firing collision 発見

ECC CLAUDE.md + 2 rule file (everything-claude-code-guardrails.md + node.md) に 「do not override project rules」 baseline text 埋込。 Rei CLAUDE.md (Load-bearing #5「急がずゆっくりと」 / Peace Axiom #196 / 3 永久原則) と prompt-level 衝突 potential = adopted/ には copy しない discipline 確立。

4 Grey zone picks (4/4 CONDITIONAL PARTIAL ADOPT = decisive validation)

Pick対応 Rei 装置抽出 pattern
workspace-surface-audit 127 audit automation trio (harness-sync / repo-discovery / connector-inventory / research-radar) 5-section output format (Current / Parity / Primitive gaps / Missing / Top 3-5)
santa-method 307 STEP 1945 reflection-checker arc (4-arm 実測) Dual reviewer + fresh agents + 6 failure modes taxonomy = STEP 1945 pattern の generic 版
skill-scout 141 connector-inventory 545+ + CLAUDE.md 4-rule Rank 5 criteria + 3-choice decision (Use existing / Fork or extend / Create fresh) + vet checklist
strategic-compact 157 file-first discipline (notepad + hook + sidecar) Quantified signals (context 160k + 60k reminder + tool count 50/25) + 6-phase decision guide + task list 消失 warning

Common insight (最終形):

Self-referential pattern 実感: session close 前 timing で strategic-compact を picked = 「close 前 に compaction discipline を reference する行為」 が skill 内容 と メタレベル で一致。 藤本さん 「もう少しで close」 と strategic-compact 「manual /compact at phase boundary」 の pattern が 同型 = grey zone reference-only value の 実効性 実測。

Sampling bias warning (chat-Claude 2026-09-11) 検証結果

chat-Claude 予想: 「HIGH COLLISION 4 件 は SKIP 出やすい構造 sample、 Tier A 残 11 件で 本当の採用候補が出る」

PhaseSamplePositive verdictVerification
HIGH COLLISION 442 (recursive-decision-ledger + windows-desktop-e2e)予想通り SKIP-dominant + 1 PARTIAL ADOPT + 1 ADOPT-deferred
Tier A tick #1-2 (5)50全 SKIP (Rei 完全 外領域)
Tier A tick #3-4 fatal (6)63 CONDITIONAL PARTIAL ADOPT (python-testing / python-patterns / agent-architecture-audit / agent-introspection-debugging)★ 明確に validate = fatal path 3/4 positive-tinted
Grey zone picks (4)44 CONDITIONAL PARTIAL ADOPT★★ Decisive validation = Tier B でも 部分 positive

修正済 hypothesis 最終形: 「藤本さん Rei stack は 既 specialized で ECC full-adopt candidates は 限定的、 但し reference-only pattern (Python 一般 idiom / agent debugging taxonomy / audit output format / dual-review discipline / quantified compact signals) は Rei 未整理領域 (rei-meta-mcp Phase 2A / failure mode dataset / Python stdlib-first module / metric formalization / arc close discipline) に 部分 value を提供する」

未完 defer arcs (別 STEP 起票 候補、 藤本さん explicit go 待ち)

Grey zone 残 20/24 items: future trigger 発生時 revisit (hexagonal-arch / manim-video / cost-aware-llm-pipeline / skill-stocktake / canary-watch / autonomous-agent-harness / rust-patterns / pytorch-patterns / etc.)

Load-bearing #5 pace 検証最終形

週 2-3 STEPs の install pace に対し 1 session で 5 STEPs (+ 1 site page STEP 1981) = 5x 超過だが、 各 STEP の discipline layers 完全通過:

  • Test PASS (35+43+36+15+46 = 175 new + regression clean)
  • Backward compat + forward compat 両立
  • chat-Claude constraint 3 条件 全 遵守
  • Notepad + memory hook (inbox pattern) 生成
  • Atomic commit --only isolation 5 回 全成功
  • Tab Isolation Protocol v0.1 完全遵守 (peer tab rei-aios-d5 collision なし)

結論: 「急がずゆっくりと」 の意味論は 「速度」 ではなく 「discipline layer 数」 と 実測 confirmation。 5 STEPs / 1 session は pace 超過だが discipline は 全 layer 通過。

成果物 (sidecar 永続、 全 shared tree touch は 藤本さん explicit go)

Sidecar (13 file)

data/tabs/rei-aios-e8/ecc-audit/
├─ ECC/                                        (v2.2.1 shallow clone、 291 skills / 68 agents / 94 commands)
├─ REPORT.md                                   Phase 0-3 初期 audit
├─ REPORT_PHASE3_VERDICTS.md                   HIGH COLLISION 4 verdict
├─ REPORT_TIER_A_TICK_01-04.md                 Tier A tick 4 分割
├─ REPORT_TIER_B_SKIM.md                       241 skills 概観
├─ SUMMARY_FOR_CHAT_CLAUDE.md                  5 段落 relay 用
├─ ARC_CLOSED.md                               formal close marker
├─ REPORT_GREY_ZONE_01-04.md                   4 grey zone picks
└─ adopted/
   ├─ recursive-decision-ledger-partial.md    新語彙ゼロ mapping + coherence 抽出
   └─ windows-desktop-e2e-triggers.md          trigger 条件のみ

Memory hooks (inbox pattern、 次 merger で MEMORY.md 集約)

~/.claude/projects/C--Users-user-rei-aios/memory/hooks/
├─ 2026-09-12T00-20_ecc-tier-a-close.md
├─ 2026-09-12T06-50_ecc-arc-close-and-derived-steps.md
└─ 2026-09-12T07-45_ecc-session-close-5-steps-4-grey.md

Main repo commit chain (origin/main push 済)

7fe9594ad (STEP 1973 coherence embed)
   → 3599a43e7 (STEP 1975 promotion 5-gate embed)
   → 8a8f06a88 (STEP 1976 MCP wrapper)
   → 99bc89582 (STEP 1978 registry wire、 87→89 tools)
   → 034f82eef (STEP 1979 full-surface spec)
   → (本 STEP 1981 site 反映 pending push)