Skip to content

docs(adr): hand approved lanes to T3 Code threads - #267

Merged
furedea merged 3 commits into
mainfrom
docs/t3-lanes-adr
Nov 21, 2026
Merged

furedea merged 3 commits into
mainfrom
docs/t3-lanes-adr

Conversation

@furedea-agent

@furedea-agent furedea-agent Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

承認済みの lane を Herdr のペインではなく T3 Code の thread(t3 thread CLI)に渡す決定を ADR-0028 として記録し,ADR-0010 を一部置き換える.docs/DESIGN.md・DESIGN_ja.md の Herdr 固有の記述を,T3 の thread だけを運び手とする形に合わせる.T3 を使えないときは lane を起動せず理由を報告し,Herdr は非推奨でユーザーが明示的に求めたときだけ使う.
決めること:ADR-0028 の内容でよいか.

Refs #264
計画:#264 (comment)

項目 変更前 変更後
lane の運び手 Herdr の worktree とペイン(ADR-0010) T3 Code の thread(ADR-0028).T3 を使えないときは起動せず報告.Herdr は非推奨で,ユーザーが明示的に求めたときだけ使い,後の Issue で削除
親の待ち方 herdr agent wait t3 thread start --wait / t3 thread send --wait,承認・質問待ちはユーザーが T3 で答える
手順の Skill herdr-delegation delegation(delegskill lane で新設)
ADR-0010 accepted accepted+partly-superseded-by: [ADR-0028](本文は変更なし)

検証

  • adr-check --base origin/main docs/adr:成功(supersedes と partly-superseded-by の対応を含む)
  • dprint fmt で 3 ファイルを整形
  • pre-commit(ls-lint ほか)と commitlint:成功
  • lychee・markdownlint はローカルに無いため CI の adr-lint に任せる

制限

  • merge の順序:DESIGN は delegation Skill と t3 thread を主な手順として書く.これらは delegskill・t3guard lane の PR で入るため,この PR はその 2 つの merge 後に merge してください(claude-review・codex-review の P2 指摘 2 件.DESIGN の更新は計画でこの lane の担当なので内容は戻さず,返信して resolve 済み).
範囲と前提
  • 変更ファイル:docs/adr/0028_hand_approved_lanes_to_t3_code_threads.md(新規),docs/adr/0010_hand_approved_lanes_to_herdr_sessions.md(front matter のみ),docs/DESIGN.md,docs/DESIGN_ja.md
  • ADR-0028 は status: proposed.guard(t3guard)などの実装はほかの lane の PR にあり,この PR だけでは実装されないため.全 lane の merge と T3 での実地確認の後に accepted にする想定.
  • 選択肢:Herdr を続ける/t3 thread CLI/T3 の delegate_task・subagents・Agent Rooms.delegate_task は手順が T3 の中に入り feat(agent-runtime): build persistent, isolated, provider-neutral agent infrastructure #181 の交換可能性に反するため退けた.Antigravity は利用規約上 lane の受け手にしない([Question]: Is using agy acp from a non-editor ACP client permitted under the Additional Terms? google-antigravity/antigravity-cli#1493).
  • DESIGN の Skills 列は delegation を指す.この Skill は delegskill lane の PR で追加されるため,そちらより先に merge すると一時的に存在しない Skill 名を指す.
  • DESIGN の guard の節(Herdr サーバ・ペイン入力の記述)は Herdr を残す間も正しいので変更していない.t3 thread の guard の記述は t3guard lane の範囲.
  • 計画からの逸脱:ユーザーの判断で,Herdr を代替手段とせず,T3 を使えないときは lane を起動せず報告し,Herdr はユーザーが明示的に求めたときだけ使う非推奨の道具と記述した.

🤖 Generated with Claude Code

Record ADR-0028, which hands approved lanes to T3 Code threads through
the t3 thread CLI and partly supersedes ADR-0010, and describe lanes as
T3 threads in DESIGN.md and DESIGN_ja.md with Herdr as the fallback.

Refs #264

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@furedea

furedea commented Nov 20, 2026

Copy link
Copy Markdown
Owner

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-21T11:54:35.224618Z a654f43 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Comment thread docs/DESIGN.md Resolved
@github-actions

Copy link
Copy Markdown

Review summary

This is a docs-only PR. It adds ADR-0028 (proposed), marks ADR-0010 as partly superseded, and updates DESIGN.md and DESIGN_ja.md. I found no correctness or security problems. The supersedes / partly-superseded-by pairing follows the existing ADR-0020/0021/0027 convention, and the ADR-0007 and ADR-0009 references resolve.

P2 (inline, docs/DESIGN.md): the design doc now names the delegation Skill and t3 thread --wait as the normal path. In this tree only herdr-delegation exists, and no guard covers t3 thread. The docs run ahead of the implementation until the delegskill and t3guard lanes merge. Fix by ordering the merges or keeping herdr-delegation in the Skills column for now.

Not blocking: ADR-0028 says the guard "enforces in code" the Antigravity exclusion, the provider allowlist and thread ownership. None of that exists yet, which fits its proposed status. Promote it to accepted only after the guard lane lands and the behavior is checked.

🤖 Generated with Claude Code

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 4e09240729

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread docs/DESIGN.md Resolved
Describe Herdr as deprecated and used only when T3 is unavailable,
instead of an equal fallback, in ADR-0028 and both DESIGN files.

Refs #264

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@furedea

furedea commented Nov 21, 2026

Copy link
Copy Markdown
Owner

@codex review

@github-actions

Copy link
Copy Markdown

Review: no blocking findings (P0/P1: none).

Checked:

  • ADR-0028 front matter follows ADR-0025. The supersedes / partly-superseded-by pairing matches the existing ADR-0020/0021 pattern, and 0028 is the next free number.
  • The DESIGN.md and DESIGN_ja.md edits agree with each other, and the table columns are still aligned.
  • The ADR's guard and sandbox claims describe work in other lanes (t3guard, delegskill). They are not enforced by this PR, but the ADR is proposed, so that fits.

Notes, no action needed:

  • P3: until the delegskill lane merges, DESIGN points at a delegation Skill that doesn't exist. agents/skills/development-cycle and its references/branches.md still name herdr-delegation. The PR description already covers this with a merge-order note, so I'm not raising it again.
  • The ADR already lists the unbounded --wait as a known downside.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Swish!

Reviewed commit: 106d08d561

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

When T3 is unavailable the parent starts no lane and reports the reason;
Herdr is deprecated and used only when the user explicitly asks for it.

Refs #264

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@furedea

furedea commented Nov 21, 2026

Copy link
Copy Markdown
Owner

@codex review

Comment thread docs/DESIGN.md Resolved
@github-actions

Copy link
Copy Markdown

Review summary

This PR changes docs only: ADR-0028, the ADR-0010 front matter, and DESIGN.md / DESIGN_ja.md. I found no correctness or security problems.

  • ADR links: supersedes: [ADR-0010] in ADR-0028 and partly-superseded-by: [ADR-0028] in ADR-0010 satisfy adr-check's two-way supersession rule (tools/adr-check/src/adrcheck/references.py).
  • ADR claims vs. the repo: The guard rules the ADR describes match the code already on the base branch (agents/hooks/lib/t3_thread.py, t3_ownership.py). That covers the claudeAgent/codex provider allowlist, rejecting a missing --provider, and send-only-to-owned-threads. t3 thread * is also in agents/claude/settings.json.
  • EN/JA parity: DESIGN.md and DESIGN_ja.md carry the same changes.

Findings

  • P2 (inline): DESIGN points to a delegation skill that doesn't exist yet. It also still links herdr-delegation from development-cycle. The PR text already says to merge this one last, so this is a merge-order risk only.

No tests apply to a docs-only change.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. What shall we delve into next?

Reviewed commit: a654f4370c

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@furedea
furedea merged commit d90cda0 into main Nov 21, 2026
29 checks passed
@furedea
furedea deleted the docs/t3-lanes-adr branch November 21, 2026 12:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant