Date: 2026-09-02 ·
Repo: fc0web/rei-aios ·
Commit: 413633ebb ·
Session: rei-aios-63 [6cb76c]
藤本さん directive: 「commit も push も 衝突するのは 当然。 memory や commit をする 場所を 新たに 設けて そちらにて 行うというのが 当然だと 思いませんか? 対策を講じて、 他タブにも それを 伝えて下さい」 (2026-09-02 arc (a) 実行中の incident 直後)。
data/lean4-mathlib/CollatzRei/AndricaConjectureAxiomCheck.lean (75 line, 63 #print axioms) + AndricaGoldenConstantPolynomialAxiomCheck.lean (30 line, 20 #print axioms) 消失 — 未 commit だったため git 履歴回収不能data/axiom-cost-atlas/strict-lean4-scan.json 上書き — 私が 590 theorems 書いた版が 2026-08-22 の 333 theorems 版 に restoredata/step-counter.json が 33 STEP 分 rollback (next=1662 → next=1630)git rebase --abort → rm -rf .git/rebase-merge → git stash push -u → git checkout --theirs → git checkout main の 5 段 recovery が shared tree 上で 実行、 私の untracked files を wipe。 Timing matches。
「shared-write path は 事故 前提。 全 tab は 自分の 領域 だけを 触る」
data/tabs/<tab-id>/ ├── README.md # tab manifest ├── step-claims.json # このtab が claim した STEP 番号 の 記録 ├── drafts/ # 未 commit の 新規 file (別 tab の git 操作 wipe 対象外) ├── scan-outputs/ # 長時間走る build/scan の 出力先 └── ledger-preview/ # 外部 repo ledger 追記前 snapshot
tab-id 直下 のみ 書込 OK (ListAgents で取得)data/tabs/<other>/ は read も 原則しないgit checkout / reset / stash / clean を 実行しないscripts/git-atomic-commit.sh の 一部として のみListAgents で 自 tab-id 取得 → data/tabs/<self>/ 作成| Tab | Response |
|---|---|
| rei-aios-6b | STEP 1658 で EnterWorktree による worktree 隔離 approach を 独立に 発見・実装済との 相補提案、 hybrid framing 合意 |
| rei-aios-96 | root cause 自己申告 + protocol 採用 (data/tabs/rei-aios-96/ 作成、 STEP 1671 arc を 隔離下で継続) |
| rei-aios-bb | 本 STEP 直後に STEP 1672 3 永久原則 (commit-msg hook + tab-worktree.sh + notepad log) を land、 sidecar approach を排他ではなく併用推奨として保存 |
| rei-aios-e5 / 80 / 1b | 応答なし (idle 継続) |
| Approach | Scope | Weight | 推奨用途 |
|---|---|---|---|
| worktree 隔離 (STEP 1658/1672) | branch + index + working tree 完全隔離 | heavy | Multi-file arc、 長時間実装、 build 系 |
sidecar data/tabs/<tab-id>/ (本 STEP 1670) | shared tree 内 sub-dir、 promote 経路必要 | light | Tab-scoped state (step-claims manifest, cross-tab visibility)、 短命 scan output |
| commit-msg hook (STEP 1672) | STEP 番号 collision 事後検知 | gate | 全 commit の 冒頭行 STEP N が git log にすでに あるか post-hoc verify |
選択 heuristic: conflict 起きにくい局所変更 → sidecar / large multi-file conflict-prone arc → worktree
docs/TAB_ISOLATION_PROTOCOL.md (新規、 ~140 line) — 完全 spec + 相補 approach 併記data/tabs/README.md + data/tabs/rei-aios-63/README.md + step-claims.json (新規)data/step-counter.json (修正、 1630 → 1671 手動 heal + heal_reason 記録)CLAUDE.md (修正、 ★★★★★ pointer 追加)docs/recent-updates-inbox/2026-09-02T08-00_step1670_*.md + memory/hooks/2026-09-02T08-00_step1670_*.md (inbox → 集約 file merge)data/tabs/<tab-id>/ は 現状 git tracked (drafts wipe 対策) — 大量蓄積時 cleanup は v0.2+memory/project_step1670_tab_isolation_protocol_v01_2026-09-02.mdSTEP 1554 atomic-commit protocol dogfood 34 例目。5-tab 併走 collision 直後の 隔離 protocol 起票。