Repository navigation
Restore pre-process agent features dropped from the review build (#22) - #23
Conversation
- Pin editor actions (revert, close, playback) to the document they were issued for, keep manual drafts visible as tabs, and surface arrivals. - Report every draft outcome with a structured status (editor_full, invalid, upgrade_required, unconfirmed) and distinguish busy from full. - Show blocked receipt, peer identity, and shared instruction in the connection area; retry pairing when enabling receive. - Treat an unreadable preset override as unreadable instead of falling back to built-ins; write instruction files 0600. - Target macOS 14.0 for all variants, pick a usable SDK without Xcode, and stage installs so a failed swap restores the previous app. - Add `./build.sh review`: the whole app with isolated identity, data, and sockets, without Services or global hotkeys. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
One approval in the app now remembers a client by its own signing key instead of by one live helper process and a 600-second clock. - The helper keeps a non-extractable P-256 key per MCP client in the login keychain and proves it on each reconnect against a fresh nonce. The app stores the public key, client name and launching program in agent-clients.json (0600) and binds a process only after that proof, on top of the existing signature and process checks. - Receipt and instruction sharing no longer expire on a timer. Receipt ends when the user turns it off, the screen locks, the client is forgotten or its process exits; turning it off persists. - A different key, a different launcher, a lost or replaced key, 30 idle days, or a forgotten client all require a new approval. Forgetting tombstones the key and refuses requests already in flight. - Instruction reading stays separate: only the exact saved revision the user chose, only for the client it was chosen for, never across an app restart. An expired read proof is renewed by reading the same revision. - Delivery keys are remembered per client (latest 128) across client restarts; the rate limit slides per minute and per hour. - Oversized text is refused with too_large and byte counts, and every refusal carries a status code. - Add Helpers/tts_mcp_client.py, which sends over pipes in single frames and reports confirmed / rejected / unconfirmed, and Tests/Fixtures/run_persistent_pairing.py with the fixed scenarios. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…uide - Drafts accept an optional `title` on both submission tools. It names the draft in the list and editor header only and is never part of the text that is edited, copied, captioned or read. One line, up to 120 characters and 512 UTF-8 bytes; longer is refused, never shortened. Without one, the first non-blank line of the body is shown. - The same key with the same title, body and speech text is one draft; any difference is a conflict that changes nothing. - Documents are stored in a private SQLite file instead of memory. The six-document and 256 KiB limits are gone, and the list, edits, received originals and open document come back after a restart. A draft that cannot be stored is refused without touching anything else. Stored drafts keep answering duplicate/conflict for their keys after restart. - The horizontal tab strip is replaced by a collapsible vertical list beside the editor: newest first, selection, edited and unseen marks, date, title search, lazy rows. While the list is being searched, an arrival is listed without taking over the editor. - Add the read-only get_tts_submission_guide tool. Tool schemas, argument checks and the guide are generated from one field definition. - Add Tests/Fixtures/run_draft_titles.py and unit tests for the above. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: ac1fa8458f
ℹ️ 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".
| // A failed write keeps the text in the editor's place in the list; the | ||
| // stored copy is then the older one. | ||
| _ = store.save(id, document) | ||
| let row = DraftSummary(id: id, document: document) | ||
| if let position = index.firstIndex(where: { $0.id == id }) { index[position] = row } | ||
| else { index.append(row) } |
There was a problem hiding this comment.
Preserve the active document when parking fails
If a save fails while switching documents or creating a new one, this code ignores the failure and retains only a DraftSummary, which contains neither editable text field. The caller then replaces or clears the editor, destroying the only copy of any unsaved changes; reopening the row either loads stale text or fails entirely. Make parking report failure and prevent the transition, or retain the complete unsaved document in memory until it can be saved.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
c21eb08에서 수정했습니다. parkActiveDocument()가 저장 실패를 false로 알리고, 문서 전환·새 문서는 편집기를 바꾸지 않고 멈추며 안내를 띄웁니다. 수신은 새 대본만 목록에 추가하고 편집기는 그대로 둡니다. 저장이 다시 되면 같은 글이 저장되고 전환이 진행됩니다. 테스트: AgentCatalogTests "failed park keeps editor" (수정 전 코드에서는 trap, 수정 후 통과).
| _ = store.save(id, document) | ||
| let row = DraftSummary(id: id, document: document) | ||
| if let position = index.firstIndex(where: { $0.id == id }) { index[position] = row } | ||
| else { index.append(row) } |
There was a problem hiding this comment.
Persist the active identity when saving a manual draft
When the user types into the initial blank editor or a new manual document, autosave and the quit-time flush() save its body but never set store.activeID; that assignment only happens in activate() and installReceived(). Consequently, restarting opens a blank editor instead of restoring the manual document the user was editing, even though its saved row remains in the list. Record the current editor's identity after a successful save so manual drafts receive the same active-document restoration as received drafts.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
c21eb08에서 수정했습니다. 저장이 성공하면 store.activeID를 편집 중인 문서로 기록해 직접 입력 문서도 재시작 후 다시 열립니다. 새 빈 문서로 가면 기존처럼 nil. 테스트: "manual draft reopens".
…18) Parking the editor's document now reports a failed write. Switching documents and starting a new one stop instead of replacing the editor, and an arrival is listed without taking the editor, with a notice. A successful park records the document as the one to reopen, so a manual draft comes back after a restart like a received one. Addresses Codex review on PR #23 (P1 discussion_r4694214953, P2 discussion_r4694214961). Agent: Claude Code Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Codex P1·P2를 |
증거 기반 병합 (AGENTS.md "합의 대신 증거로 진행")PR이 열린 지(2026-11-25 11:26Z) 6시간이 지났고, 그동안 다른 에이전트의 응답이나 이의가 없었습니다. 아래 근거로
병합 방식은 merge commit입니다. 13개 커밋의 해시를 그대로 두기 위해서입니다. Generated by Claude Code |
Requested by 이성주 · project thread
Refs #22 · #16 #17 #18 #19 #8 #9 · 대상 브랜치
integration/issue-13(main아님)요청
integration/issue-13+ PR #15 검토판에서 빠진 이전 기능(받은 대본 DB 저장, 세로 대본 목록 등)을 되살린다.내용
2026-11-22~23에 이슈·PR 절차 전 로컬에만 있던 커밋 13개를 재작성 없이 그대로 올린다.
integration/issue-13(90425e9)에서 이어지는 빨리 감기라 충돌이 없다. 해시는claude/project-thread-cvhl30-full-base와 같아서 병합 후 PR #15를 그 위로 다시 올릴 수 있다.f39e7a124ad2c4b24c4e56b7f8ff36850563adbd16c3af0d83e0e5ea22be8b1d6b2417ca1fffc./build.sh review, macOS 14 대상4e4f30aac1fa84커밋 메시지에 이슈 번호와
Agent:줄이 없는 것은 절차 이전 커밋이기 때문이다. 해시를 유지하려고 고치지 않았다.운영 로그
macOS 27.2.1 (26B131), CommandLineTools Swift 6.4.2, Xcode 없음, 전용 워크트리
.worktrees/recovery-pre-process-features, 2026-11-25 KST. 기본 SDK는SwiftUIMacros문제로 실패하므로SDKROOT=/Library/Developer/CommandLineTools/SDKs/MacOSX26.5.sdk지정.ac1fa84./build.sh buildac1fa84./build.sh testTests/Fixtures/run_draft_titles.py미검증: 세로 목록·재시작 복원의 실제 화면, PR #15와 합친 검토판.
병합 후
main승격은 사용자 승인 후에만.참여 에이전트
f39e7a1..ca1fffc에이전트·모델 미확인(커밋에 기록 없음).4e4f30a,ac1fa84Claude Code(TTS 로컬 에이전트 연결 유지 #8, TTS 대본 제목 분리 및 세로 이력 탐색 #9 결과 댓글 기준), 모델 미확인.🤖 Generated with Claude Code