docs: state pty precondition for issue 434 n1 marker design - #437
Open
kappaseijin4claude wants to merge 1 commit into
Open
docs: state pty precondition for issue 434 n1 marker design#437kappaseijin4claude wants to merge 1 commit into
kappaseijin4claude wants to merge 1 commit into
Conversation
Refs #434 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01E1ve5ae7r5n43cAzFGXycK
This was referenced Sep 13, 2026
Collaborator
Author
Collaborator
Author
凍結解除の判断スケジュール(ユーザー決定 2026-09-13)fork→公式agmsg切替・agguild_pool移行が完了(2026-09-13)したことを受け、
2026-09-20頃、新環境(agguild経由)の運用実績に問題がなければ、このissue/PRを 親issue: #373 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
Issue #434 の設計文書(PR #435)に、前提として読み取れるだけだった「N1 は PTY で起動する」を、前提条件として明記する。あわせて、前提が崩れた場合の負の対照を足す。契約は変えない。
Refs #434
変更点
対象は
docs/decisions/2026-09-13T075316_issue-434-native-transcript-marker-design.mdだけで、差分は +20 行である。pilot-pty.pyによる PTY 起動に限る。送信直前に PTY master FD を確かめ、確保できなければ prompt を送らず(送信回数 0)unknownとする。stdin・FIFO・file などの代替入力は試さないunknown・送信 record=0・代替入力 0 になることを確かめる対照なぜ要るか
breaker の指摘による。prompt を送れなければ transcript は生成されない。
これまで設計書は、§1・§2・§5 で PTY を前提にしていたが、前提が崩れたときの扱いと対照が無かった。
既存の §3.2 は「送信時に FD が無い」ことを扱う。§3.0 は、送信の前に PTY 起動でないことを検出して止める点で扱う範囲が違う。
現行の runner は
pilot-pty.py run経由で起動しており(scripts/pilot-gate-runner.sh:1113)、前提を満たしている。実装中の作業へ新しい契約は持ち込まない。README への影響
無。gate harness は開発・受入用の内部ツールである。
🤖 Generated with Claude Code
https://claude.ai/code/session_01QCtgi8wVJDRaMwXHZmkHqT