Development records / 2026-10-31

Auto90の開発・検証で起きた失敗の記録

Auto90: failures and verification history

記録追加日:2026年10月31日(過去の開発記録の追補)

Published: October 31, 2026 (historical development notes)

危険度90以上の通信を10分間遮断する機能について、署名試験、コード修正、仮想マシンの構築と未実証事項を記録します。

A record of signed execution tests, code reviews, VM setup and unresolved live blocking for Auto90.

Auto90が目指した動作

What Auto90 was supposed to do

危険度スコア90以上の通信を自動的に600秒(10分)遮断し、時間が過ぎたら解除する構想でした。実通信の遮断・600秒後の復旧を示す実測は資料にありません。

The idea was to block traffic scored 90+ for 600 seconds, then remove the rule. No supplied report establishes an observed live block and timed recovery.

注意:これは2026年10月13〜16日前後の開発・検証時点の記録です。後日のAutomaticDefenseの状態をさかのぼって確定するものではありません。

Note: This reflects observations around October 13–16, not the later state of AutomaticDefense.

10月13〜16日の主な経緯

Key chronology, October 13–16

  1. 10月13日:旧スクリプトのTOCTOU(検査した内容と実行する内容が変わる可能性)や試験の不備を見直しました。
  2. Oct 13: The signed-probe design and test harness were revised to address TOCTOU and evidence gaps.
  3. 10月14日:v2のSYSTEM初回起動でPowerShell関数Hが標準別名hと衝突し、終了コード1。再試行せずv3へ移りました。
  4. Oct 14: The v2 SYSTEM probe failed due to a PowerShell alias collision; its failed run was not repeated.
  5. 10月15日:v3の配置・署名・タスク設定照合を進めました。別の資料では、v3を1回起動し終了コード1だったと報告されています。
  6. Oct 15: v3 packaging/registration checks advanced. A later report records one v3 launch ending with exit code 1.
  7. 10月15〜16日:Windows 11・Ubuntuの仮想PCで起動と設定に苦労しましたが、10月16日にはping・HTTP応答200・接続維持を確認。
  8. Oct 15–16: Despite VM setup issues, ping, HTTP 200 and observed established connections were reported.
  9. その後の未達:Auto90自身の実測90点判定、Firewallルールでの遮断、600秒後の解除は未実施。
  10. Still unverified: Auto90 scoring, actual firewall blocking and 600-second recovery were not tested end to end.

注:10月15日までをまとめた古い記録には「v3未起動」とあり、15〜16日の後日報告では「v3を1回起動し失敗」とあります。確認時点の違う記録として区別し、未起動と異常終了の両方を同一時点の事実とは扱いません。

Note: An earlier snapshot says v3 had not been launched; a subsequent report records one failed launch. These are different evidence cutoffs, not simultaneous findings.

10月13〜15日の失敗・検証上の課題(F01〜F16)

16 recorded issues, F01–F16

実際の異常終了、実害が出る前に見つかった設計の危険、テスト用コードの不備、AI側の制限を分けて掲載します。

These cover failed runs, design risks, test-harness problems and an external service limit, not 16 separate product failures.

  1. F01 SYSTEMでPowerShellがRestricted:SYSTEM側のスクリプト実行制限を確認。設定を恒久的に弱めず署名プローブで検証へ。
  2. F01 Script execution blocked under SYSTEM: An effective Restricted policy stopped script execution; a signed probe was considered.
  3. F02 Monitor等の3タスクが終了コード1:既存Auto90タスクの異常終了。stderr不足のため原因は断定できません。
  4. F02 Three Auto90 tasks exited with code 1: The underlying reason was not determined from absent stderr.
  5. F03 画面接続が再起動後約30秒で切れる:発生報告はあるものの、署名試験との因果関係は不明。
  6. F03 UI connection dropped about 30 seconds after reboot: The connection issue was not traced to the signing tests.
  7. F04 v2署名試験で関数Hが標準別名hと衝突:実機初回起動で異常終了し3つの結果ファイルが欠落。関数名を直し、旧タスクは再試行せず。
  8. F04 v2 probe collided with the PowerShell h alias: A naming conflict broke the initial run; it was corrected without rerunning the old task.
  9. F05 確認後に実行ファイルが変わる余地:TOCTOU問題。検査済みファイルと実行対象を同一にする設計へ変更。
  10. F05 Checked code could differ from executed code: A time-of-check/time-of-use gap was addressed in the design.
  11. F06 署名拒否の分類が広すぎる:禁止すべき実行と判別不能なエラーの扱いを厳密にする設計へ修正。
  12. F06 Signature-rejection classification was overly broad: Rejection reasons needed more precise classification.
  13. F07 個別JSONと集計結果の照合不足:4ケースそれぞれの結果と合計結果が一致するよう検証を追加。
  14. F07 Per-case and summary JSON were not cross-checked: The revised harness verifies matching per-case and aggregate evidence.
  15. F08 登録直前のタスクXML照合不足:承認済みの内容が登録直前まで同一か検査を追加。
  16. F08 Task XML needed a last-minute integrity check: The pre-registration task definition check was strengthened.
  17. F09 登録完了記録が存在だけで合格し得た:記録の中身を見ずファイルの有無だけで合格しないよう変更。
  18. F09 Existence of a receipt could count as success: Acceptance checks were changed to validate contents.
  19. F10 回帰試験でセットアップエラー7件:最終回帰では解消したが、7件の個々の内訳は不明。
  20. F10 Regression setup yielded seven errors: Later tests were reported clean; individual causes were not specified.
  21. F11 File.Replaceが1回失敗:一時的なファイル置換失敗を記録。再現せず根本原因は不明。
  22. F11 File.Replace failed once: A transient error was not reproduced; the root cause remains unknown.
  23. F12 型・モック・reparse模擬で試験エラー:本体の失敗と区別し、検証用コード側の問題を修正。
  24. F12 Mock and reparse simulation tests errored: Test harness defects were addressed separately from product behavior.
  25. F13 Review配置試験の権限・ハーネス不備:ポリシー読取りが拒否され、テスト環境条件を修正。
  26. F13 Review placement tests hit permission/harness errors: The test environment and harness required adjustment.
  27. F14 v3ハーネス起動前拒否と変数衝突:Root変数の衝突などを解消し、163項目成功の報告。
  28. F14 v3 harness was rejected and then hit a variable collision: The harness was corrected; 163 checks were reported passing.
  29. F15 Codexの429で開発作業が中断:AIサービス側の一時的なリクエスト制限であり製品障害とは区別。
  30. F15 Development paused due to a 429 rate limit: An AI service limit was not a product defect.
  31. F16 承認記録の8項目が空欄に見えた:表示方法の問題を直し、内容一致を確認した報告。
  32. F16 Eight approval fields appeared blank: Output formatting was corrected and contents were reportedly verified.

用語:SYSTEM=Windowsの高権限アカウント。署名プローブ=安全なスクリプト実行が成立するか調べる小規模な試験。TOCTOU=検査と実行の間に中身が変わる危険。

Terms: SYSTEM is a privileged Windows identity; a signed probe tests execution policy; TOCTOU refers to changes between verification and use.

10月15〜16日追補:開発コードと仮想マシン

Oct 15–16 additions: code and test VMs

こちらは別の追加報告に載る出来事です。同一原因や独立事故の件数と決めつけず、代表的な経緯をまとめます。

These items come from a later report. They should not be double-counted as independent incidents.

  1. 解除失敗後の新たな遮断を抑止:解除に失敗したまま次の遮断を進められる経路を開発側で修正。
  2. Prevent more blocking after failed release: Code logic was revised in the development environment.
  3. Watchdog時刻・「再開可能」表示の誤判定:正常終了していない状況で稼働・再開可能と表示しないよう修正。
  4. Watchdog/ready status could mislead: Readiness timestamps and unsafe resume indications were corrected.
  5. 署名済み成果物・信頼設定が未完成:ソフト本体の実SYSTEM環境でのAllSigned受入れは未完了。
  6. Signed deliverables/trust were incomplete: The actual product was not accepted under SYSTEM/AllSigned.
  7. VirtualBox起動・Guest Additionsの問題:VM起動失敗や再起動フリーズなどを試行錯誤で復旧。
  8. VirtualBox startup and Guest Additions issues: Startup and reboot stalls were worked around.
  9. Ubuntuの設定・コンソール操作ミス:ログイン、Netplan編集、HTTPサーバーの入力などでつまずいたが、通常HTTP通信には成功。
  10. Ubuntu setup and command mistakes: Network configuration and server commands were corrected until HTTP worked.
  11. Ubuntuのsoft lockup:CPUが長時間処理を返さない警告が出て、根本原因は未特定。
  12. Ubuntu soft-lockup warnings: Kernel stalls remained unexplained.
  13. Windows VMの利用ライセンス:動作確認とは別に利用条件上の判断が未完了。
  14. Windows VM licensing: Permission to use the test VM was unresolved.
  15. 危険度90を出す本体採点試験:通信相手と試験条件は準備したが、Auto90が実際に90点判定した測定は未実施。
  16. No measured Auto90 score 90: Normal connectivity was tested, not the actual detection threshold.

用語:VM=仮想PC。HTTP 200=試験Webサーバーが応答した印。接続できることと、遮断した通信を解除して元に戻せたことは別です。

Terms: VM is a virtual PC; HTTP 200 means a test web server responded. Connectivity is not proof of blocking and recovery.

資料・確認範囲

Source scope

出典:『失敗からたどるAuto90の開発・検証記録(2026年10月13〜15日)』『Auto90開発の失敗・つまずきと学び(主に10月15〜16日)』。実機ログ原本をすべて再実行したわけではありません。後者にあるv3起動結果は前者の記録作成時点より後の情報として記述しています。

Sources: supplied Auto90 history report (Oct 13–15) and Auto90 failures/lessons report (mainly Oct 15–16). Findings were not independently rerun; the later v3 outcome is kept distinct from the earlier snapshot.

関連記録

Related records