Retire the legacy imperative launch stack / unify claude TUI mode (ADR-004 R2 completion)
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 2
- Forks
- 0
- Avg merge
- 5h 6m
- Merged PRs (30d)
- 1
Description
背景
ADR-DOE-AGENTS-008(PR #552)で readiness 物理の定義は一本化したが、launch stack 自体は 2 系統のまま:
- legacy 命令型: session.py + adapters(claude は
--ax-screen-readermode、ready = footer) - sessionhost: per-kind defhandler impls(claude は通常 TUI mode、idle =
❯)
同一 kind の起動 argv・TUI mode が fork しており、ADR-004 R2「同一モジュールが直接束縛と host 束縛の両方で動く」の完成が本来の根治。
作業項目
- legacy 消費者(handlers/production.py TmuxAgentHandler・handlers/{claude,codex}.hy・session.py・CLI)を per-kind impls の in-process 束縛へ合流
- claude 起動 mode の統一裁定(screen-reader vs 通常 TUI — 物理はどちらかに一本化)
- screen-reader trust first-paint gap の解消: verbatim capture(claude_screen_reader_trust_dialog.txt)に「Please answer y or n.」が無く、
has_claude_screen_reader_trust_promptは初回描画に match しない(実運用は generic onboarding pattern が dismissal を担っていた — ADR-008 problem fact 4 / test_ready_physics_single_home.py の documented pin を flip する) - 後方互換なし方針に従い legacy 経路は削除(compat shim を残さない)
参照
ADR-DOE-AGENTS-008 context 3 / :plans follow-up 節。結合核 — frontier ルート。
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with ADR-DOE-AGENTS-008 context 3, the :plans follow-up, and the frontier route. Trace handlers/production.py, handlers/{claude,codex}.hy, session.py, and the CLI, then inspect claude_screen_reader_trust_dialog.txt and test_ready_physics_single_home.py. Done means both launch paths use the per-kind in-process bindings, Claude has one mode, the trust prompt is detected on first paint, and the legacy path is removed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli, tooling
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100