Repository navigation
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>
…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>
Restore pre-process agent features dropped from the review build (#22)
Bind remembered approval to a registered direct host and its protected key. Require explicit live-session approval when the host cannot be verified. Keep revocation, receipt and draft retry state scoped to each approved client. Agent: Codex
…13) Identify the agent app that launches the helper by its code signature: team ID (or leaf certificate without a team) plus signing identifier. Any hardened, certificate-signed, non-platform app now gets a durable approval; the CodebasicTTSDirectMCPHost Info.plist key that no real agent app carries is no longer required. Hosts may have entitlements other than get-task-allow and dyld environment variables. Ad-hoc, unsigned, shell or system-interpreter launchers still get a one-run approval. An approval no longer lapses after 30 idle days; it ends only on revocation, a different signer or app, or a replaced helper key. Add AgentTrustStoreTests to ./build.sh test. Agent: Claude Code Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015LJG7MWqYoCZivtQ96kBhP
Add the [AGENT-CONN] category so the persistent per-app approval can be verified from the unified log: which app identity reconnected, whether it was recognized, and what it got. No draft text or key material. Agent: Claude Code Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015LJG7MWqYoCZivtQ96kBhP
Agent: Claude Code Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015LJG7MWqYoCZivtQ96kBhP
Agent: Claude Code Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015LJG7MWqYoCZivtQ96kBhP
Manual testing with Claude Code (a 366 MB signed binary) showed no approval request: validating the host signature takes about a second on the main thread, past the 750 ms pairing deadline, so hello answered unavailable. Compute the host identity on the socket thread before the main-thread hop and cache it per running parent process (pid, start time, executable path), so later checks, including the per-request delivery verifier, are cheap. Drop the redundant second validity check; process identity is re-checked instead. Log main-deadline timeouts. Agent: Claude Code Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015LJG7MWqYoCZivtQ96kBhP
) Manual testing found that a Keychain key created by a self-signed helper (no Team ID) is bound to that build's cdhash. After any rebuild or update the new helper gets errSecAuthFailed (-25293) on signing, and since an inaccessible key is never replaced, the approved app could not connect again. Store the key per identified app in ~/Library/Application Support/Codebasic TTS/agent-client-keys (0700 dir, 0600 file, no symlinks, single link, created atomically). Approval stays bound to the launching app's code signature. --forget-key deletes the file. Fixtures keep using their own key directory. Agent: Claude Code Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015LJG7MWqYoCZivtQ96kBhP
Agent: Claude Code Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015LJG7MWqYoCZivtQ96kBhP
Agent: Claude Code Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015LJG7MWqYoCZivtQ96kBhP
승격 자문 2/3 결과 (HEAD
|
| ID | 내용 | 주 모델 확인 |
|---|---|---|
| Codex P2-01 | 승인 파일이 256 KiB 상한에 붙어 있을 때 앱별 받기 끄기(true→false, +1바이트)가 저장되지 않는다. 기존 철회는 모두 required로 분류돼 fitting이 nil이 되고, 디스크에는 true가 남아 재시작 후 다시 연결될 수 있다 |
fitting은 required(디스크 철회 전부 포함)가 안 맞으면 nil, commit은 그때 false, deny는 메모리에만 반영. 정적으로 확인됨(상한에 정확히 붙은 파일이라는 좁은 조건) |
important: 상한 병합 시 이미 저장한 철회가 재시작 후 빠질 수 있음(Codex P2-02), run_persistent_pairing.py --real-idle 단언 오류(P2-03), 비정상 종료 테스트가 런처에 SIGKILL(P2-04), 대본 픽스처의 요청 선택(P2-05), 음성 로그 검증을 건너뛰어도 exit 0(Claude P2-01). minor: 로그 범위 문구(Codex P2-06), busy 기록 오표시, 컴파일 단계 환경 상속, 홈 해석 변경의 릴리스 노트(Claude P2-02~04).
주 모델 결정 (승격 시도 2/5)
blocked. 정적으로 확인된 차단 지적 P2-01이 있다. 에이전트 탭이 열려 있으면 별도 조작 없이 연결 #31 흐름에 P2-01·P2-02 수정과 P2-03~P2-05·Claude P2-01 픽스처 정리를 넘긴다.- P-02는 사용자 결정 카드에 권고안(저장할 수 없으면
busy로 거절)을 올렸고, 되돌릴 수 있는 변경이므로 권고안으로 함께 구현하게 한다. 사용자가 다른 선택을 하면 되돌린다. - P-07(Dock 상시 노출, 최소 macOS 14, "코드 해설" Services 제거)은 코드 수정 없이 사용자 확인을 기다리며, 승격 요약에 릴리스 노트 항목으로 적는다.
- 승격 자문은 3회 중 2회를 썼다. 다음 수정 HEAD에서 마지막 3/3을 받는다. 그 뒤에도 차단이 남으면 사용자와 상의한다.
Generated by Claude Code
… draft database (#31, #4) Answers the #33 promotion round-2 findings: - P2-01/P2-02: the approvals file limit is 16 MiB (about 240,000 revocations; tests use a 256 KiB store). Past it a denial is still saved: revocations that remove a row of the last intact file are kept, then that file's own, then the others, newest first; only the oldest revocations of apps without a row are left out, and they stay in effect for the run. Test: a file exactly at the limit, one app's receipt off and then revoke. - P-02 (reversible, pending the user's choice): when drafts.sqlite cannot be opened, agent drafts get busy instead of being accepted into memory, and the tab says so. - Claude P2-02: a speech request whose main-queue block did not run is logged as unconfirmed, not busy. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015LJG7KnMPqFcfTZ8A1C2qh
…passes silently (#31) Round-2 promotion findings on the manual fixtures: - P2-03: --real-idle asserted clicks == 1 after idle, but since per-app approval (#13) the first pairing is two user actions (receipt on, then approve); 38b3953 added the second count without updating the idle check. The first pairing now asserts exactly two, and the idle check compares against the count before the idle and also asserts that no approval request is waiting and the same single app is still trusted. - P2-04: the SIGKILL restart scenario killed the registered host (the launcher). It now finds the host's one child, checks that the app's connection carries that PID (the probe's "clients" reports it), kills that helper, confirms the host reaped it as a signalled child (exit 71) and that the PID is gone, and reconnects through a new helper. - P2-05: approvals pick the request whose helper PID is the client's own helper (the launcher's child, or the process itself when started directly). The "only one request" fallback is gone, in fs.approve too. - Claude P2-01: run_speech_socket_log.py exits 3 (SKIPPED) when `log` cannot run under a sandbox, printing the requesting PID; --check-log FILE PID checks a captured `log stream` file outside the sandbox (read only) and requires the lines to carry that PID. - Codex P2-06: the log section says the draft and speech lines cover requests that reached the handler, and which earlier refusals are not logged. Agent: Claude Code Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ved revocation; close SQLite once on a failed open (#31, #4) Answers the round-26 Codex finding: new revocations without a row are saved only up to the limit less an 8 KiB reserve, and a saved revocation is never pushed out by this app's own writes. Receipt and row changes use the reserve, so they always save. Revocations that remove a row are always written. Test: a revocation saved at normal size survives revocations piling up to the soft limit and another app's receipt off. Also: SQLiteDraftStore no longer closes its handle twice when setup fails (deinit runs for a failed init). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015LJG7KnMPqFcfTZ8A1C2qh
…t stays (#31) - AgentCatalogTests: a file that exists but is not SQLite (the handle is opened, setup SQL fails) and a path under a regular file both return nil from SQLiteDraftStore, 50 times each, with no crash and the file left byte-identical. Stated in the test: this does not prove the handle is closed once; SQLite rejects a second close quietly here, and the run also passes with `db = nil` removed. - docs P-06: quitting drops helper connections, receipt proofs, this-run approvals of unidentified hosts, the instruction share selection and the closed-draft key memory; drafts stay in drafts.sqlite and registered apps' approvals, revocations and receipt choices in agent-approvals.json. The old line said open drafts and approval records were lost on quit. Agent: Claude Code Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…the file; revocations without a row fill to 1 KiB short of it; exact fit cost (#31) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015LJG7KnMPqFcfTZ8A1C2qh
…near the limit (#31) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015LJG7KnMPqFcfTZ8A1C2qh
Promote #31 round-3 fixes into integration/issue-4
승격 자문 3/3 결과 (HEAD
|
| 포함 변경 | 등급·근거 |
|---|---|
| #14/#28/#30/#32 문서·지침 | 각 PR 기록. #32는 이전 규칙의 독립 검토자 합의 |
| multi-agent-dev 4e532a3 동기화 (#38) | A (Codex gpt-6.2-sol, #4) |
| #13 범위 + #31 에이전트 앱 연결 (#34/#36, #39/#40, #41/#42) | 하위 흐름에서 Codex·Antigravity 자문. 승격 HEAD에서 A(Codex 3회). 증거는 #31, #13, #41 |
릴리스 노트 후보 (사용자 확인 대기, Claude P-07): Dock 상시 노출(LSUIElement 제거), 최소 macOS 13→14, "코드 해설" Services 항목 제거, 제품 홈 해석의 getpwuid 전환. 개발 빌드에서 이전에 승인한 앱은 다시 승인해야 한다.
미확인: 실제 Claude Code 연결 확인(사용자가 "허용"을 한 번 눌러야 함), 실제 Developer ID 서명 앱의 anchor apple 판정(Claude P-05).
Generated by Claude Code
사용자 결정 반영: P3-01 후속 이관사용자 방침(2026-11-28 23:12Z, 프로젝트 대화): 연결 허용·취소 기록은 문제 분석용 로그 수준이면 되고, 많이 기록할 필요가 없다. 오래된 기록이 쌓였다가 밀려 없어져도 상관없다(예전 것은 의미가 없다).
Generated by Claude Code |
|
사용자 확인(2026-11-28 23:16Z): "코드 해설" Services 항목 제거는 의도한 변경이다. 에이전트가 대본을 넘기는 방식으로 일반화했으므로 특수 기능은 정리한다(b98b2ce). 릴리스 노트 후보 중 이 항목은 확정. Dock 상시 노출과 최소 macOS 14는 아직 확인 대기. Generated by Claude Code |
|
사용자 결정(2026-11-28 23:17–23:18Z, 결정 카드): 최소 macOS 14 유지(main도 이미 14 전용 SwiftUI API를 쓰고 대상 OS를 지정하지 않아 실제로는 13에서 돌지 않았음), Dock 상시 표시 유지( Generated by Claude Code |
Revoking an app's approval kept its key refused for good, and the app offered no way back short of an undocumented --forget-key run. Now the revoked live helper stays blocked, but a new session of that app gets a fresh approval request; allowing it lifts the key's revocation (and any unsaved revocation of it). A failed save leaves the key revoked. Agent: Claude Code (runtime model unverified) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015LJG7NX2yks21D5Tau2tYG
Adds "Claude 데스크톱 앱 · claude_desktop_config.json" to the MCP setup menu: an mcpServers entry with the bundled helper path, copied only. The user merges it through the desktop app's Edit Config and restarts it. The desktop app is identified by its signer like any launcher and approved once as its own app; nothing in the trust boundary changes. Agent: Claude Code (runtime model unverified) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015LJG7NX2yks21D5Tau2tYG
Agent: Claude Code (runtime model unverified) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015LJG7NX2yks21D5Tau2tYG
…ion (#43) Round 1 advice (Codex, Antigravity): - A helper told "revoked" stays revoked for its lifetime, so an app restart or a re-approval of the same key does not reattach that session. - Approval requests raised before their key was revoked by another instance are removed when that revocation is adopted. - trust() withdraws a pending revocation only right before saving, so Failure.full/hostChanged leave it pending. - The mcpServers paste hint matches the copied structure. Agent: Claude Code (runtime model unverified) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015LJG7NX2yks21D5Tau2tYG
Round 2 advice: a session of the revoked app that never received "revoked" can connect again once the user re-approves that app. Approval is per app (registered host and key), not per session, as it is for every approved app across restarts; this is documented rather than changed. The paste hint now says to merge the whole server block. Agent: Claude Code (runtime model unverified) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015LJG7NX2yks21D5Tau2tYG
철회한 에이전트 앱의 새 세션에서 다시 승인 요청, 공통 mcpServers JSON 복사 (#43)
승격 후보 갱신: d271b4b → 1967d91수동 확인 6/7에서 승인 철회 후 다시 허용할 방법이 없음을 발견(#43). 사용자 결정 "후보에서 고침(다시 묻기)"에 따라 PR #44(A 등급 자문 3회, P1 없음, 남은 P2/P3는 #37)를 integration/issue-4에 병합해 head가 1967d91가 되었습니다. 같은 변경에 공통 릴리스 빌드 (사용자 Mac, 로컬 파일만)
수동 확인 3/7~7/7을 이 빌드로 다시 진행합니다. main 병합은 사용자 결정입니다. Generated by Claude Code |
Requested by 이성주 · project thread
최종 승격 후보 (하나)
d271b4be01fe0368e75f04b05ec7d10ba5e80d43(integration/issue-4) /main기준d69ff6465565a3023b94b5b121b5cfcb2cae544agpt-6.2-sol유효 자문 3회. 마지막 회차 세션01a223a6-21ad-7f52-b837-2ae1a9cdf804). 빈 자리: Google 계열 승격 자문(하위 흐름에서는 Antigravity 동의).포함 변경과 근거
4e532a3동기화 (#38)승격 자문·결정 기록: 1/3, 2/3, 3/3, 사용자 결정 반영.
실행 검증 (같은 SHA, 사용자 Mac, 별도 워크트리)
macOS 27.2.1, Swift 6.4.2.
git diff --check d69ff64 d271b4bexit 0,./build.sh buildexit 0,./build.sh testexit 0(Python 23 OK, trust store·draft history·catalog·speech gate·connection 134·style 49 모두 통과, 실패 0). 수동 픽스처는 #31 흐름에서888eac7에 sandbox-exec로 모두 통과했고 실제 경로 차이는 0.배포 빌드 (이 SHA)
~/code/tts/promo-builds/d271b4b/Codebasic-TTS-d271b4b.zip(1,692,599바이트) +SHA256SUMS.txt,BUILD-INFO.txt1e1734ee8e28ca4ceb3bf00b3b3246d9bdae7ed6982157e4c6f42e1ad27a00bd071f0af4467ad7f8996b46cfb1dd6a382a83865018e93eccd5eac7a5e16c0f69./build.sh build로 다시 빌드(2026-11-28 23:12Z)한 릴리스(-O) 빌드. 0.2.1 (빌드 3), arm64 전용, 최소 macOS 14.0Codebasic TTS Local, Team ID 없음, hardened runtime, entitlements 없음.codesign --verify --deep --strict통과.spctl은 거부(Developer ID·공증 아님, 다른 Mac에서는 Gatekeeper가 막음)릴리스 노트 후보 (사용자 확인 대기)
Dock 상시 노출(
LSUIElement제거), 최소 macOS 13→14, "코드 해설" Services 항목 제거, 대본 DB를 열 수 없으면 에이전트 대본을busy로 거절(권고안으로 구현, 되돌릴 수 있음), 개발 빌드에서 이전에 승인한 앱은 다시 승인 필요.미확인
실제 Claude Code 연결 확인(사용자가 "허용"을 한 번 눌러야 함), Developer ID 서명 앱의
anchor apple판정.참고
main병합은 사용자가 직접 한다. 에이전트는 병합하지 않는다. 릴리스·배포는 별도 승인이 필요하다.