You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(delegation): offer herdr-core (hc) as an alternative lane transport to T3 Code #280
方針変更(2026-11-28,ユーザー決定): T3 Code は削除せず既定の transport のまま残し,herdr-core(hc)は代替経路として追加する.ユーザーが Herdr アプリや hc を求めたとき,または T3 Code を使えないときに使う.hc は core が動いていなければ起動してしまうため,Herdr アプリが起動していることを前提条件とする.以下の「T3 を削除する」受け入れ条件はこの決定で置き換えられた.
レーンの transport を T3 Code から Herdr デスクトップアプリのランタイム herdr-core(hc)に移し,T3 関連をすべて削除する.
理由: T3 Code はユーザーのマシンから削除され,レーンを Herdr の iPhone アプリ(herdr-core に SSH 接続し,Herdr TUI は見えない)から見て応答できるようにしたい.
flowchart LR
P[親セッション] -->|herdr worktree create| W[lane worktree]
P -->|hc run --bg --no-parent --json| L[lane: claude / codex in hc terminal]
L -->|OSC 7501 status| C[herdr-core]
P -->|hc wait / hc get / hc read| C
U[ユーザー: Herdr app / iPhone] --> C
Loading
Before
After
レーン起動
t3 thread start
herdr worktree create + hc run --bg --no-parent --json --name <lane> --cwd <worktree> claude ...
待機
t3 thread show のポーリング
hc wait <address>(状態は Claude Code / Codex がネイティブに出す OSC 7501)
報告
レーンは親に送信しない
同じ(hc send の <hc> タグはユーザー入力と検証可能に区別できないため)
guard
t3 thread start は claudeAgent/codex のみ,send は自セッションの thread のみ
hc run は claude/codex を許可されたオプションでのみ,send/kill/rm は自セッションが起動した terminal のみ
herdr-delegation
非推奨,T3 を指す
非推奨のまま,新しい delegation(hc)を指す
受け入れ条件
delegation スキルが hc を transport として記述し,references/t3.md を references/hc.md に置き換える
development-cycle(references/branches.md を含む)と docs/DESIGN*.md から T3 を除く
t3_thread.py,t3_ownership.py とそのテスト,guard_command.py,verification_session.py,cleanup_worktrees.py,literal_words.py,agents/hooks.json,agents/command_permissions.json,agents/claude/settings.json の T3 部分を削除する
hc run を guard が判定する: claude/codex 以外・未許可オプション・式展開・ラッパー・別マシンは ask または deny
hc send/kill/rm は自セッションが hc run --json で起動した terminal のアドレスにのみ許可
hc を sandbox の excludedCommands と command permissions に追加
ADR-0028 を superseded にし,新しい ADR を追加
CI が green
範囲・前提
範囲外: dotfiles での T3 削除と Herdr アプリのインストール(別レーン),Herdr TUI の削除.
前提: Claude Code 2.1.295 以降と Codex 0.163 以降は OSC 7501 をネイティブに出す(stablyai/orca の support matrix,2026-11-17).Codex は --no-daemon が必要(hc --skill).
changed the title [-]refactor(delegation): hand lanes to herdr-core (hc) and remove T3 Code[/-][+]feat(delegation): offer herdr-core (hc) as an alternative lane transport to T3 Code[/+]on Nov 28, 2026
Activity
fix(hooks): root hc lanes in this session's checkouts and recheck add…
docs(delegation): state where hc lanes may start and how addresses ar…
fix(hooks): require --cwd on hc lane starts
fix(hooks): count only created worktrees as hc lane roots
feat(hooks)!: guard hc lane commands in place of t3 thread
feat(delegation): run lanes in herdr-core terminals through hc
docs(adr): hand approved lanes to herdr-core terminals
fix(hooks): root hc lanes in this session's checkouts and recheck add…
docs(delegation): state where hc lanes may start and how addresses ar…
fix(hooks): require --cwd on hc lane starts
fix(hooks): count only created worktrees as hc lane roots
[-]refactor(delegation): hand lanes to herdr-core (hc) and remove T3 Code[/-][+]feat(delegation): offer herdr-core (hc) as an alternative lane transport to T3 Code[/+]