← /tools/ · Rei-AIOS home

Research Log 2026-09-18 — 端子仕様 arc 全 12 STEP 完了 (mock/reference 層)

148 test PASS self-verify only real integration deferred · Owner: 藤本 伸樹 (Nobuki Fujimoto) · Tabs: rei-aios-0c (spec/canary owner) + rei-aios-02 (impl owner)

目的

「端子仕様 (terminal spec)」 = 3 独立装置 (device_c ZCE Ctx accounting checker / compose_baseline SAT UNSAT proof compression / zce_lean formal roundtrip) を 単一 invocation IF (invoke_via_terminal(device, target, canary)) で 統合し、 F2 composition rule (strict AND) で 端到端 verdict を compose する pattern。 scripts/site-verify-signature.sh (STEP 2058 canary v1) を 「端子 1 本目」 として retrospective identification、 STEP 2098-2110 で mock/reference impl 層 を 完成。

Arc 概観 — 12 STEP timeline

STEPSlugLayerTestOwner
2098terminal_spec_v0_freezebase v0 spec-freezerei-aios-0c
2099terminal_spec_v01_f1_f7_addendumv0.1 F1-F7 addendum spec-freezerei-aios-0c
2100f1_canary_object_implF1 canary 3 file (data)rei-aios-0c
2101f2_composition_implF2 composition rule (v0 strict AND + v1 partial + weighted KILL)24/24rei-aios-02
2102f3_meta_canary_implF3 meta-canary I1-I4 checker12/12rei-aios-02
2103f5_external_verifier_cli_implF5 external verifier CLI (manifest v0)26/26rei-aios-02
2104f6_rei_checker_parallel_implF6 rei-checker-mcp parallel invocation (責務分離 hard)15/15rei-aios-02
2105f7_chip_integration_implF7 axiom footprint chip integration14/14rei-aios-02
2106f2_three_device_wire_implF2 3-device wire (mock adapters + F2+F7 wire)20/20rei-aios-02
2107real_device_probes_env_detectReal device 3 者 env probe14/14rei-aios-02
2109external_verifier_manifest_generatorExternal verifier manifest generator (F5 CLI 前提 artifact)14/14rei-aios-02
2110f3_real_probe_integrationF3 meta-canary real probe integration (3-status report)9/9rei-aios-02

STEP 2108 は peer tab (rei-aios-d7) の 別 topic (d7_timestamp_desync_failure_log_entry) が claim 済み、 端子仕様 arc とは無関係で番号 skip。

Spec ↔ impl mapping

Spec §Impl entityBehaviour
base v0 §2Verdict enumREAL / FALLBACK / UNKNOWN (3 排他)
§3.1 invocation contractinvoke_via_terminal + invoke_all_via_terminal3-device orchestrator + composed audit hash
§3.3 composition rulecompose_strict_andFALLBACK ≻ UNKNOWN、 empty → UNKNOWN
§F1 canary schemadata/tabs/rei-aios-0c/canary/ 3 filedevice_c ill-formed r>b + compose_baseline trivially UNSAT + zce_lean axiom-free Prelude-only
§F2.1 v0 strict ANDcompose_strict_anddefault
§F2.2 v1 partial verdictcompose_partial_verdictopt-in 5-field schema、 overall は v0 と byte-for-byte 一致
§F2.3 v1 weightedcompose_weighted → NotImplementedErrorKILL hard guard (self-preference bias 予防)
§F3 meta-canarycheck_I1_idempotency + I2 + I3 + I4independent spec-derived rederivation (F2 impl call せず)
§F5 external verifierf5_verifier_cli.py + external_verifier_manifest_generator.pyidentity check 3-state + Panickssery citation embed + exit code 0/1/2
§F6 rei-checker parallelf6_rei_checker_parallel.py責務分離 hard、 2 verdict merge せず side-by-side
§F7 chip integrationf7_chip_integration.py全 REAL sum、 else None、 dependency direction hard

3 real device 実測 env 現状

2026-09-18 セッション実測: 3/3 device env_blocked

Real invocation は 全 defer、 open gate 3 (braid explicit go / W3-a pilot / ZCE v0.3 encoder) close 後 別 STEP 依存。

Discipline (全 STEP 通し)

Mandatory citation (§F5.1)

Panickssery, N., et al. "LLM Evaluators Recognize and Favor Their Own Generations." NeurIPS 2024. arXiv:2404.13076.
→ 端子 code を書いた identity は verifier 不可 (self-preference bias 直接該当)。 external verifier requirement (§F3.3 + §F5.2) は 別 identity (別 LLM / 別 Rei tab / 決定論的 Lean 4 proof) 経由 別 STEP defer。

Honest scope (arc 全体)

本 arc が 主張しないこと:

Next candidates (open gate 3 close 後 別 STEP、 藤本さん explicit go 依存)

  1. Real device 3 者 real invocation wire: rei_repair pip install / cadical+drat-trim+cake_lpr+zstd install / lean toolchain + ZCE v0.3 encoder impl
  2. Real external verify execute: 別 LLM identity 経由 F5 CLI run against STEP 2109 で 生成 する manifest
  3. F3 real device real invariant satisfaction verify: real invoker で invariant check、 status="real_pass"

References