Repository navigation
Add report-only mediator boundary demo - #945
Conversation
Add an independent manual fixture workflow and mechanical checks for declared purpose, scope, provenance binding, composition, and unresolved states. Preserve existing Tasukeru files and authority boundaries. No real AI, live approval, ledger writes, repairs, merge, or workflow dispatch are enabled. Local tests and simulations passed; GitHub manual runtime remains unverified.
Additional independent checks and features added to the mediation experimentA mediator may organize a proposal, but its own statement that the proposal is "safe" cannot establish that the original purpose, target, and authority were preserved, or that the combined operations are acceptable. The existing evidence comparison gate does not cover these outer conditions, so a separate verification demo has been added. The added features are:
These checks operate on typed fixture inputs only and never grant execution permission. Local validation passed: 18 new tests, 228 existing tests, 32 comparison scenarios, 20 existing self-tests, and 10 existing mock scenarios. All three GitHub PR checks also succeeded: Python 3.10, Python 3.11, and Tasukeru advisory analysis. Only four new files were added. The existing 236 files were unchanged. The new YAML file is 3,516 bytes. Unverified or unconnected: execution of this new manual workflow on GitHub, real AI mediation performance, live approval, a durable ledger and event bus, and enforcement boundaries for external operations. CI success does not verify these capabilities or establish whole-system safety. No merge, auto-merge configuration, or manual dispatch of the new demo has been performed. Please review the changes before merging manually. |
目的と不足していた点
メディエーターの提案が「分かりやすい」「安全そう」というだけで、実行権限や最終的な安全判断にならないことを、現在のTasukeru部品と組み合わせて確認する独立デモを追加します。
既存の証拠検証ゲートは、事実・出所の一致を確認する役割です。その契約内の不具合や権限回避を発見したという意味ではありません。証拠照合の外側にある、元の目的・対象・範囲・権限・操作の組合せ・未解決状態を一緒に検証するデモが不足していました。
追加機能
3つの手書きの模擬案は範囲を狭めて人間のレビュー待ちへ戻します。元ログの修復ではありません。全シナリオで実行権限は付与しません。
新規ファイルのみ
.github/workflows/tasukeru-mediator-boundary-demo.ymlscripts/tasukeru_mediation_demo/run_mediator_boundary_demo.pytests/test_tasukeru_mediator_boundary_demo.pydocs/tasukeru-mediator-boundary-demo.md既存の236ファイルのGit blobが基準コミット
4cc1e5e0a0575ad26879a2bd98639543648314c1と同じことを確認しました。既存解析・Observer・承認草案・ワークフロー・判定条件は変更しません。新規YAMLは3,516バイトで、500 KB未満です。ローカル確認
未検証・接続しない範囲
実AI、実ユーザー承認、共有台帳、認証付きイベントバス、実際の外部操作、自動修復、最終採用は接続しません。自然言語の隠れた目的を見抜く性能や、実AIが自力で案を修正する能力は未検証です。出所・承認者・時刻・履歴・停止状態は模擬入力であり、ハッシュは本人確認を代替しません。
ローカル環境では有効なactionlintとpytestが利用できず、Actions専用構文検証・pytestによる全体実行は未実施です(標準unittestの上記246件は実行済み)。GitHubの既存PR CIと、この新規ワークフローの手動実行は別途確認が必要です。
このPRの準備でマージ、auto-mergeの設定、手動workflow_dispatchは行いません。ユーザーが確認して手動マージした後に、
mainから手動実行できます。成功は本番承認やシステム全体の安全性の証明ではありません。