Skip to content

main 승격: 에이전트 앱 연결(#13, #31)과 독립 자문 지침(4e532a3) 단일 후보 - #33

Open
lseongjoo wants to merge 102 commits into
mainfrom
integration/issue-4
Open

lseongjoo wants to merge 102 commits into
mainfrom
integration/issue-4

Conversation

@lseongjoo

@lseongjoo lseongjoo commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

Requested by 이성주 · project thread

최종 승격 후보 (하나)

  • 승격 HEAD d271b4be01fe0368e75f04b05ec7d10ba5e80d43 (integration/issue-4) / main 기준 d69ff6465565a3023b94b5b121b5cfcb2cae544a
  • 76개 파일(+12155/−289). 보증 등급 A (승격 HEAD에서 Codex gpt-6.2-sol 유효 자문 3회. 마지막 회차 세션 01a223a6-21ad-7f52-b837-2ae1a9cdf804). 빈 자리: Google 계열 승격 자문(하위 흐름에서는 Antigravity 동의).
  • 미해결 차단 지적 없음. P3-01(16 MiB 상한에서 오래된 철회가 밀림)은 사용자 방침(이력은 분석용 로그이며 밀려도 무방)에 따라 #35로 이관.

포함 변경과 근거

변경 등급·근거
문서·지침 #14/#28/#30/#32 각 PR 기록(#32는 이전 규칙의 독립 검토자 합의)
multi-agent-dev 4e532a3 동기화 (#38) A, #4 결정. 후속 #37
에이전트 앱 연결 #13 범위 + 탭 자동 연결 #31 (#34/#36, 승격 지적 수정 #39/#40, #41/#42) 하위 흐름 Codex·Antigravity 자문과 Mac 픽스처 증거(#31, #13, #41). 승격 HEAD에서 A. 후속 #35

승격 자문·결정 기록: 1/3, 2/3, 3/3, 사용자 결정 반영.

실행 검증 (같은 SHA, 사용자 Mac, 별도 워크트리)

macOS 27.2.1, Swift 6.4.2. git diff --check d69ff64 d271b4b exit 0, ./build.sh build exit 0, ./build.sh test exit 0(Python 23 OK, trust store·draft history·catalog·speech gate·connection 134·style 49 모두 통과, 실패 0). 수동 픽스처는 #31 흐름에서 888eac7에 sandbox-exec로 모두 통과했고 실제 경로 차이는 0.

배포 빌드 (이 SHA)

  • 위치(사용자 Mac): ~/code/tts/promo-builds/d271b4b/Codebasic-TTS-d271b4b.zip (1,692,599바이트) + SHA256SUMS.txt, BUILD-INFO.txt
  • zip SHA-256 1e1734ee8e28ca4ceb3bf00b3b3246d9bdae7ed6982157e4c6f42e1ad27a00bd
  • 실행 파일 SHA-256 071f0af4467ad7f8996b46cfb1dd6a382a83865018e93eccd5eac7a5e16c0f69
  • 깨끗한 상태에서 ./build.sh build로 다시 빌드(2026-11-28 23:12Z)한 릴리스(-O) 빌드. 0.2.1 (빌드 3), arm64 전용, 최소 macOS 14.0
  • 서명: 로컬 자체 서명 Codebasic 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 병합은 사용자가 직접 한다. 에이전트는 병합하지 않는다. 릴리스·배포는 별도 승인이 필요하다.
  • 되돌리기: 이 병합 커밋을 revert.

lseongjoo and others added 30 commits November 21, 2026 18:34
- 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
Fix #33 promotion findings in #13/#31: keep saved revocations, isolate fixtures, log receipts (#31)
Bring the #33 promotion fixes for #13/#31 into the promotion candidate (#4)

Copy link
Copy Markdown
Contributor Author

승격 자문 2/3 결과 (HEAD c6ac0b6): 준비도 blocked

후보: integration/issue-4 c6ac0b627d3dcb028f2ccfa7dccc604eb3396805 → main d69ff6465565a3023b94b5b121b5cfcb2cae544a. 1회차 수정은 #39 → #40으로 들어왔다.

실행 검증 (같은 SHA, 사용자 Mac, 별도 워크트리)

git diff --check exit 0, ./build.sh build exit 0, ./build.sh test exit 0(Python 23 OK, trust store·catalog·draft·speech gate·connection 134·style 49 통과, 실패 0). 설치·음성 재생·실제 설정 변경은 없었다. Tests/Fixtures의 수동 픽스처는 이번에도 실행하지 않았다(#31 흐름에서 ee78d9c에 sandbox-exec로 10개 모두 exit 0, 실제 경로 변화 0으로 기록됨).

자문 2/3 (증분 31f30aa..c6ac0b6)

  • Codex CLI gpt-6.2-sol, effort high, read-only, 세션 01a2235e-eb26-70f2-b569-94144391d01f. 유효(A). 입력이 ARG_MAX를 넘어 stdin(-)으로 넘겼다.
  • Claude Code CLI, modelUsage claude-haiku-5-5, 세션 62d6cbe9-a946-47bb-ae01-5b0f25891221. 같은 계열.

1회차 지적 상태 (Codex): P-03 해소, P-01·P-04·P-05 부분 해소, P-02·P-06 미해소. Claude는 픽스처의 실사용자 경로·제품 ID 문제 해소, 새 차단 후보 없음으로 보고.

새 차단 후보:

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

claude and others added 6 commits November 28, 2026 18:23
… 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
#31/#13: round-3 promotion advice (denials at the cap, kept revocations, fixture isolation, busy on draft DB failure)
Promote #31 round-3 fixes into integration/issue-4

Copy link
Copy Markdown
Contributor Author

승격 자문 3/3 결과 (HEAD d271b4b)와 사용자 상의 요청

후보: integration/issue-4 d271b4be01fe0368e75f04b05ec7d10ba5e80d43 → main d69ff6465565a3023b94b5b121b5cfcb2cae544a. 2회차 수정은 #41 → #42로 들어왔다.

실행 검증 (같은 SHA, 사용자 Mac, 별도 워크트리)

git diff --check exit 0, ./build.sh build exit 0, ./build.sh test exit 0. Python 23 OK, trust store, draft history("failed database setup" 포함), catalog, speech gate, connection 134, style 49 모두 통과했고 실패는 0이다. 설치·음성 재생·실제 설정 변경은 없었다. 수동 픽스처는 #31 흐름에서 888eac7에 sandbox-exec로 실행해 모두 통과했고, 실제 경로 스냅샷 차이는 0이다(#41).

자문 3/3 (증분 c6ac0b6..d271b4b)

  • Codex CLI gpt-6.2-sol, effort high, read-only. 첫 실행(세션 01a223a5-…)은 입력이 1,048,576자를 넘어 거부돼 보고가 없었다. 자신의 2회차 원본 로그 대신 2회차 최종 보고 전문만 넣어 재실행했다(세션 01a223a6-21ad-7f52-b837-2ae1a9cdf804, 재실행 1/2). 유효(A).
  • Claude Code CLI, modelUsage claude-haiku-5-5, 세션 edd94daf-f93c-4bde-abdb-c23c292e0a3a. 같은 계열이고, 새 차단 후보는 없다고 보고했다.

해소: P-02(DB 초기화 실패 시 busy), P-03, P-04, P-06, P2-03~P2-06. 부분 해소: P-01, P-05, P2-01, P2-02.

남은 차단 후보: Codex P3-01. 승인 파일이 상한(16 MiB, 철회 약 24만 건)에 닿은 상태에서 받기를 끄면, 그 기록을 위해 행이 없는 가장 오래된 철회가 디스크에서 빠진다. 빠진 키는 재시작 뒤 .unknown이 되어 새 승인 클릭이 필요하다. 다만 그 앱의 승인 행이 남은 옛 백업이 돌아오면 재승인 없이 신뢰될 수 있다.

  • 주 모델 확인: Tests/AgentTrustStoreTests.swift 상한 테스트가 lookup(... capFile.revoked[0]) == .unknown을 직접 단언한다. 의도된 절충으로 정적으로 확인됨.
  • 발생 조건: 16 MiB에 이르는 철회 이력, 그리고 그 키의 승인 행이 있는 옛 백업 복원이 함께 있어야 한다. 에이전트 탭이 열려 있으면 별도 조작 없이 연결 #31 흐름은 꽉 찬 파일에서 거부 기록과 저장된 철회가 같은 바이트를 두고 다투는 본질적 절충으로 보고 #35에 선택지를 남겼다.

important(후속): 키 교체가 용량 거절되면 기존 승인도 철회될 수 있음(P3-02), 상한 규모 병합의 메인 스레드 비용(P3-03), 소켓 프로브의 DB 실패 정책(P3-04), 음성 로그 픽스처 비교 엄밀성(P3-05), 읽을 수 없는 파일에서 받기를 켜면 철회 목록도 비워짐(Claude P3-04, 기존 결함), 픽스처 서명이 사용자 Codebasic TTS Local 인증서를 기본값으로 씀(Claude P-01 잔존). 이 항목들은 #35에 모아 둔다.

주 모델 결정 (승격 시도 3/5)

  • 승격 자문 상한(3회)을 다 썼다. 이 후보는 A 등급이 필요한 클래스이므로, 차단 후보 P3-01을 후속 이관하려면 사용자 결정이 필요하다. 사용자 결정 전에는 승격 후보로 제시하지 않는다.
  • 권고: d271b4b를 그대로 승격 후보로 두고 P3-01과 위 important 항목을 #35에서 처리한다. 근거는 세 가지다. 실사용에서 16 MiB 철회 이력에 이르기 어렵다. 빠진 철회도 기본은 재승인 필요(.unknown)다. 이 후보는 1·2회차의 실제 결함(철회 복구, 픽스처 격리, 상한 256 KiB 경계)을 이미 고쳤다.

승격 요약 (결정 후 PR 본문에 반영)

포함 변경 등급·근거
#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

Copy link
Copy Markdown
Contributor Author

사용자 결정 반영: P3-01 후속 이관

사용자 방침(2026-11-28 23:12Z, 프로젝트 대화): 연결 허용·취소 기록은 문제 분석용 로그 수준이면 되고, 많이 기록할 필요가 없다. 오래된 기록이 쌓였다가 밀려 없어져도 상관없다(예전 것은 의미가 없다).

  • 상한에서 오래된 철회가 밀려나는 동작(Codex P3-01)은 이 방침상 허용된 동작으로 본다. 그래서 d271b4b를 승격 후보로 유지한다.
  • 남는 위험은 옛 백업 복구 시 철회한 앱이 다시 신뢰되는 경로 하나다. 이건 #35에서 철회 목록 대신 세대 번호로 복구를 감지하고, 감지 시 승인을 전부 무효화한 뒤 재승인을 받는 방식으로 막고, 이력은 작은 순환 진단 로그로 단순화한다(#31 후속: 승인 파일 경계 사례와 UX 정리 #35 (comment)).
  • 사용자 지시에 따라, 최종 후보를 제시할 때는 이 SHA의 배포 빌드(산출물 경로, SHA-256, 서명, 빌드·테스트 결과)를 함께 붙인다. 빌드는 사용자 Mac에서 준비하는 중이다.

Generated by Claude Code

@lseongjoo lseongjoo changed the title main 승격: multi-agent-dev 독립 검토 지침 (#32, #4) main 승격: 에이전트 앱 연결(#13, #31)과 독립 자문 지침(4e532a3) 단일 후보 Nov 28, 2026

Copy link
Copy Markdown
Contributor Author

사용자 확인(2026-11-28 23:16Z): "코드 해설" Services 항목 제거는 의도한 변경이다. 에이전트가 대본을 넘기는 방식으로 일반화했으므로 특수 기능은 정리한다(b98b2ce). 릴리스 노트 후보 중 이 항목은 확정. Dock 상시 노출과 최소 macOS 14는 아직 확인 대기.


Generated by Claude Code

Copy link
Copy Markdown
Contributor Author

사용자 결정(2026-11-28 23:17–23:18Z, 결정 카드): 최소 macOS 14 유지(main도 이미 14 전용 SwiftUI API를 쓰고 대상 OS를 지정하지 않아 실제로는 13에서 돌지 않았음), Dock 상시 표시 유지(LSUIElement 제거). 릴리스 노트 후보는 모두 확정됐다. 후보 SHA 재확인: integration/issue-4 = d271b4b, main = d69ff64로 변동 없음. 남은 것은 사용자의 main 병합 판단뿐이다.


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)

Copy link
Copy Markdown
Contributor Author

승격 후보 갱신: d271b4b → 1967d91

수동 확인 6/7에서 승인 철회 후 다시 허용할 방법이 없음을 발견(#43). 사용자 결정 "후보에서 고침(다시 묻기)"에 따라 PR #44(A 등급 자문 3회, P1 없음, 남은 P2/P3는 #37)를 integration/issue-4에 병합해 head가 1967d91가 되었습니다. 같은 변경에 공통 mcpServers JSON 복사(Claude 데스크톱 앱 등) 포함.

릴리스 빌드 (사용자 Mac, 로컬 파일만)

  • 경로: promo-builds/1967d91/Codebasic-TTS-1967d91.zip (1,697,602 bytes), 압축 해제 사본 app/
  • zip SHA-256 d6c9a93b2252c78753c74b8d9e3032b90d4937f56cc0f8c75de0085156b6074d
  • 실행 파일 SHA-256 20d1e5bbf01400876c76c0c9f6850781cf11c1e2712fd32f381c265248f71f7e
  • 0.2.1 (build 3), arm64, macOS 14.0+, 릴리스 -O
  • 서명: 로컬 "Codebasic TTS Local", Team ID 없음, hardened runtime, codesign --verify --deep --strict 통과, spctl rejected(예상)
  • rm -rf build && ./build.sh build 0, ./build.sh test 0 (Ran 23 tests OK)

수동 확인 3/7~7/7을 이 빌드로 다시 진행합니다. main 병합은 사용자 결정입니다.


Generated by Claude Code

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.

2 participants