notParsec / 문서전체 문서

생성 코드·템플릿

notParsec · Rust 개발 설계

design/plan.template.html

출처: 현재 작업 폴더 · 원문 다운로드

<!doctype html>
<html lang="ko">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta name="color-scheme" content="light">
<title>notParsec · Rust 개발 설계</title>
<style>
:root{--ink:#182c32;--muted:#536970;--paper:#f5f7f5;--white:#fff;--line:#dce4e0;--green:#116c59;--soft:#e4f2eb;--amber:#7b4b16;--amberbg:#fff5df;--blue:#235b89;font-family:"Segoe UI","Malgun Gothic",sans-serif;color:var(--ink);background:var(--paper);font-size:15px;line-height:1.65}
*{box-sizing:border-box}body{margin:0}a{color:var(--green);text-underline-offset:3px}button,input,select,textarea{font:inherit}button,a.button{padding:9px 14px;background:var(--white);color:var(--ink);border:1px solid var(--line);border-radius:6px;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:6px}button:hover,a.button:hover{border-color:var(--green);background:var(--soft)}button.primary{background:var(--green);color:white;border-color:var(--green)}button:disabled{opacity:.5;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #4098c0;outline-offset:3px}input[type=checkbox]{width:19px;height:19px;accent-color:var(--green);flex-shrink:0}select,input[type=search],textarea{border:1px solid #bdccc5;border-radius:5px;background:white;color:var(--ink);padding:9px 11px;max-width:100%}textarea{width:100%;resize:vertical;min-height:120px}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(28px,3.6vw,44px);font-weight:650;line-height:1.25;letter-spacing:-1.4px;margin-bottom:20px}h2{font-size:24px;letter-spacing:-.6px;line-height:1.4;margin-bottom:16px}h3{font-size:17px;line-height:1.5;margin-bottom:8px}p{margin-bottom:12px}code{font-family:Consolas,monospace;font-size:.91em;overflow-wrap:anywhere}small,.small{font-size:13px;color:var(--muted)}.muted{color:var(--muted)}.mono{font-family:Consolas,monospace;font-size:12px;letter-spacing:1px}.layout{display:grid;grid-template-columns:224px minmax(0,1fr);max-width:1520px;margin:auto}.sidebar{position:sticky;top:0;height:100vh;padding:34px 24px;border-right:1px solid var(--line);display:flex;flex-direction:column;gap:30px}.brand{font-size:22px;letter-spacing:-1px;font-weight:700}.brand span{color:var(--green)}.nav{display:flex;flex-direction:column;gap:5px}.nav a{color:var(--muted);text-decoration:none;padding:8px 0}.nav a:hover{color:var(--green)}.sidebottom{margin-top:auto;font-size:12px;color:var(--muted)}main{min-width:0;padding:34px clamp(20px,4vw,68px) 70px;max-width:1260px}.topline{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:36px}.label{display:inline-block;font-size:12px;letter-spacing:.6px;color:var(--green);background:var(--soft);padding:3px 8px;border-radius:3px}.hero{display:grid;grid-template-columns:minmax(0,1fr) 235px;gap:32px;align-items:start}.hero p{max-width:680px}.scope{border-left:3px solid var(--green);padding-left:18px}.scope strong{display:block;font-size:18px;margin:6px 0}.stats{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:28px 0 14px;padding:22px 0;gap:12px}.stat strong{display:block;font-size:27px;line-height:1.2;font-weight:600;font-variant-numeric:tabular-nums}.stat span{font-size:12px;color:var(--muted)}.stat+div{border-left:1px solid var(--line);padding-left:18px}.progress{height:5px;background:var(--line);border-radius:5px;overflow:hidden}.progress span{display:block;height:100%;background:var(--green);width:0}.save{font-size:12px;min-height:22px;margin:6px 0 0;color:var(--muted)}section{padding-top:48px;scroll-margin-top:20px}.section-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:8px}.section-head h2{margin:0}.decisions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:20px}.decision{border-top:2px solid var(--line);padding-top:12px}.decision .mono{color:var(--muted)}.decision strong{display:block;margin:5px 0}.decision p{font-size:14px}.diagram{background:white;border:1px solid var(--line);padding:24px;margin:22px 0}.flow{display:flex;align-items:stretch;gap:9px;flex-wrap:wrap}.flow .node{flex:1;min-width:120px;border-top:3px solid var(--green);background:var(--paper);padding:13px}.flow .node strong{display:block}.arrow{align-self:center;color:var(--muted)}.flow-caption{font-size:13px;color:var(--muted);margin-top:14px}.contracts{display:grid;grid-template-columns:1fr 1fr;gap:20px}.contracts div{padding:14px 0;border-bottom:1px solid var(--line)}.contracts p{font-size:14px;margin-bottom:0}.callout{border-left:3px solid var(--green);background:var(--soft);padding:15px 18px;margin:18px 0}.warning{border-left-color:#aa7426;background:var(--amberbg);color:var(--amber)}.toolbar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:18px 0}.filters{display:grid;grid-template-columns:minmax(180px,1fr) 170px 170px;gap:12px;margin-bottom:20px}.filters label{display:flex;flex-direction:column;gap:5px;font-size:13px}.phase{border:1px solid var(--line);background:white;margin-bottom:15px;border-radius:7px;overflow:hidden}.phase>summary{cursor:pointer;padding:18px 20px;display:flex;align-items:center;gap:13px;list-style:none}.phase>summary:before{content:'+';color:var(--green);font-size:20px;width:14px}.phase[open]>summary:before{content:'−'}.phase-name{flex:1;min-width:0}.phase-name strong{display:block}.phase-count{font-size:12px;color:var(--muted);white-space:nowrap}.feature{padding:20px;border-top:1px solid var(--line)}.feature.selected{border-left:3px solid var(--green);padding-left:17px}.feature-top{display:flex;align-items:center;gap:10px;margin-bottom:10px;flex-wrap:wrap}.check-label{display:flex;gap:8px;align-items:center;cursor:pointer;min-height:30px}.id{font-family:Consolas,monospace;font-size:13px;color:var(--green)}.feature-top select{margin-left:auto;padding:5px 8px;font-size:13px;max-width:160px}.feature p{font-size:14px;max-width:900px}.feature details>summary{cursor:pointer;color:var(--green);font-size:13px}.detail{margin-top:14px;display:grid;grid-template-columns:1.2fr 1fr;gap:24px}.detail h4{font-size:13px;margin:0 0 6px}.detail ul{padding-left:20px;margin:0;font-size:14px}.detail p{margin:0 0 10px}.dependency{display:flex;gap:5px;flex-wrap:wrap;margin-top:9px}.dependency button{padding:2px 7px;font-size:12px;border-radius:3px}.risk{margin-top:12px;font-size:13px;color:var(--amber)}.empty{padding:35px;text-align:center;color:var(--muted);border:1px dashed var(--line)}.reuse-table{width:100%;border-collapse:collapse;margin:20px 0;font-size:14px}.reuse-table th,.reuse-table td{padding:14px 10px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}.reuse-table th{color:var(--muted);font-size:12px}.reuse-table td:first-child{min-width:145px}.table-wrap{overflow-x:auto}.handoff{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:26px}.handoff label{display:block;font-size:14px;margin-bottom:7px}.brief{font-family:Consolas,'Malgun Gothic',monospace;font-size:12px;height:330px;line-height:1.6}.sources{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 25px}.source a{display:block;font-size:14px}.source small{display:block}.notes-list{padding-left:20px}.notes-list li{margin:6px 0}.hidden,[hidden]{display:none!important}footer{border-top:1px solid var(--line);margin-top:42px;padding-top:20px;font-size:12px;color:var(--muted)}#notice{min-height:26px;color:var(--green);font-size:13px}#dependency-warning{font-size:13px}.pill{font-size:12px;color:var(--muted)}.print-only{display:none}
@media(max-width:1050px){.layout{grid-template-columns:180px 1fr}.sidebar{padding:24px 18px}.hero{grid-template-columns:1fr}.scope{display:none}.decisions{grid-template-columns:1fr 1fr}main{padding:25px}.filters{grid-template-columns:1fr 1fr}.filters label:first-child{grid-column:1/-1}}
@media(max-width:700px){.layout{display:block}.sidebar{height:auto;position:static;border-right:0;border-bottom:1px solid var(--line);padding:18px 20px;gap:10px}.sidebar .nav{flex-direction:row;flex-wrap:wrap;gap:6px 20px;font-size:13px}.sidebottom,.sidebar>.mono{display:none}main{padding:24px 16px}.topline{margin-bottom:25px}.hero{gap:0}.stats{grid-template-columns:repeat(2,1fr);gap:20px}.stat:nth-child(3){border-left:0;padding-left:0}.decisions,.contracts,.handoff,.detail,.sources{grid-template-columns:1fr}.filters{grid-template-columns:1fr 1fr}.section-head{align-items:start;flex-direction:column}.phase>summary{padding:14px}.phase-name small{display:none}.feature{padding:16px}.feature.selected{padding-left:13px}.diagram{padding:14px}.flow{display:grid;grid-template-columns:1fr 1fr}.arrow{display:none}.flow .node{min-width:0}.toolbar button{flex:1}.feature-top select{max-width:135px}.phase-count{white-space:normal;max-width:70px}section{padding-top:36px}}
@media print{body{background:white}.layout{display:block}.sidebar,.toolbar,.filters,#notice,.save,.actions,.handoff textarea,.handoff label{display:none}main{padding:0;max-width:none}.phase,.diagram{break-inside:auto}.feature{break-inside:avoid}details:not([open])>*:not(summary){display:block!important}.feature:not(.selected){display:none}.sources{display:block}.source{margin:5px 0}.print-only{display:block}a{color:inherit}section{padding-top:24px}}

.setting-row{padding:18px 20px;border-top:1px solid var(--line);background:white}.setting-row p{font-size:14px;margin:6px 0}.setting-top{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.setting-top label{display:flex;align-items:center;gap:8px}.setting-row>code{font-size:12px;color:var(--green)}.setting-row summary{font-size:13px;color:var(--green);cursor:pointer}.settings-scroll{max-height:760px;overflow:auto;border:1px solid var(--line);border-radius:7px}.audit-stats{display:flex;flex-wrap:wrap;gap:12px;margin:16px 0}.audit-stats span{background:var(--soft);padding:8px 12px;font-size:13px}.recovery-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.recovery-grid>div{border-top:2px solid var(--line);padding-top:12px}.recovery-grid p{font-size:14px}.settings-controls{display:grid;grid-template-columns:1fr 220px;gap:12px}.settings-controls label{display:flex;flex-direction:column;font-size:13px;gap:5px}
@media(max-width:700px){.recovery-grid,.settings-controls{grid-template-columns:1fr}.setting-top .pill{display:block}.settings-scroll{max-height:650px}.sidebar .nav{gap:3px 15px}.toolbar button{flex:1 1 130px}.setting-row{padding:15px}.setting-row>code{overflow-wrap:anywhere}}
@media print{.settings-scroll{max-height:none;overflow:visible}.settings-controls{display:none}.setting-row{break-inside:avoid}}
.ui-scope{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;margin:10px 0}.ui-scope label{display:flex;align-items:center;gap:5px;font-size:13px}.ui-scope button{font-size:12px;padding:4px 7px;max-width:100%;text-align:left}.ui-quote{white-space:pre-wrap;overflow-wrap:anywhere;border-left:2px solid var(--line);padding-left:12px}.ui-functions{font-family:Consolas,monospace;font-size:12px;overflow-wrap:anywhere}.sidebar{overflow-y:auto}.run-table{overflow-x:auto}.run-table table{min-width:570px;width:100%;border-collapse:collapse}.run-table th,.run-table td{padding:12px 14px;vertical-align:top;text-align:left;border-bottom:1px solid var(--line)}.run-table th{font-size:13px;color:var(--muted)}.run-table td{font-size:14px}.run-step{border:1px solid var(--line);border-radius:7px;margin:14px 0;background:var(--white)}.run-step>summary{padding:16px 18px;cursor:pointer;font-weight:600;color:var(--green)}.run-content{padding:0 18px 18px}.run-content pre{padding:16px;background:#eff3f0;border:1px solid var(--line);border-radius:5px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65}.run-content ol{padding-left:22px}.run-content li{margin:10px 0}.run-content kbd{font:inherit;border:1px solid var(--line);border-radius:3px;padding:1px 5px}
__PROGRESS_CSS__
</style>
</head>
<body>
<div class="layout">
<aside class="sidebar"><div class="brand">not<span>Parsec</span></div><div class="mono">PRIVATE BUILD PLAN<br>2026.09 / v6</div><nav class="nav" aria-label="설계 목차"><a href="#parsec-parity">최우선 · Parsec 재현 기준</a><a href="#development-progress">전체 개발 진행 현황</a><a href="#overview">01 설계 방향</a><a href="#architecture">02 Rust 아키텍처</a><a href="#desktop-gui">Windows GUI 사용법</a><a href="#run-guide">코드 경로 · 빌드 · 실행</a><a href="#password-access">접속 비밀번호 · Ubuntu</a><a href="#server-system">03 연결 관리 서버</a><a href="#features">04 기능 체크리스트</a><a href="#settings-audit">05 설정 전수 목록</a><a href="#ui-audit">06 UI 누락 재검토</a><a href="#recovery">07 디컴파일 복구</a><a href="#reuse">08 코드 재사용</a><a href="#handoff">09 개발 착수</a><a href="#references">10 근거 자료</a></nav><div class="sidebottom">Windows first<br>개인용 · 비공개 · 비배포<br><br>선택 상태는 이 브라우저에 저장됩니다.</div></aside>
<main>
<p class="callout"><a href="parsec-feature-comparison.html">Parsec ↔ notParsec 기능별 구현 체크 · 설정·UI 비교표 보기 →</a></p>

<div class="topline"><span class="label">전체 82개 범위 착수 · 캡처/장치 API 구현</span><span class="mono">RUST / WINDOWS / LOW LATENCY</span></div>
<header id="overview"><div class="hero"><div><h1>Rust 원격 데스크톱<br>개발 설계 & 체크리스트</h1><p class="muted">명시한 예외 외에는 Parsec의 기능·사용 흐름·레이아웃·구조를 원본 근거에 따라 재현합니다. 체크는 다음 작업 묶음이며, 원본 일치 검증은 구현 상태와 별도로 기록합니다.</p></div><div class="scope"><small>초기 비교 시험 조건</small><strong>1080p · 60 fps</strong><small>Windows ↔ Windows<br>NVENC H.264 · SDR<br>음성 + 키보드·마우스</small></div></div>
<div class="stats" aria-label="선택과 진행 요약"><div class="stat"><strong id="selected-count">—</strong><span>선택한 기능 / <span id="total-count">82</span></span></div><div class="stat"><strong id="done-count">0</strong><span>사용자 완료 기록</span></div><div class="stat"><strong id="ready-count">—</strong><span>선행 완료 · 착수 가능</span></div><div class="stat"><strong id="progress-text">0%</strong><span>사용자 기록 진행률</span></div></div><div class="progress" id="progress" role="progressbar" aria-label="선택 기능 완료율" aria-valuemin="0" aria-valuemax="100" aria-valuenow="0"><span id="progress-fill"></span></div><p class="save" id="save-state" role="status">저장 상태 확인 중</p>
<div class="decisions"><div class="decision"><span class="mono">01 / ENGINE</span><strong>Rust 중심 + 얇은 FFI</strong><p>세션·큐·복구는 Rust, Windows와 코덱은 검증된 네이티브 API에 연결합니다.</p></div><div class="decision"><span class="mono">02 / NETWORK</span><strong>원본 전송 구조 대조</strong><p>BUD·접속 흐름과 기존 QUIC 구현의 차이를 먼저 확인합니다. 미확인 전송을 같은 구조로 선언하지 않습니다.</p></div><div class="decision"><span class="mono">03 / REUSE</span><strong>공개 코드 + 디컴파일 복구</strong><p>원본에 대응하는 공개 코드와 복구 C/Rust 로직의 출처·타입·변경·비교 결과를 기록합니다.</p></div></div>
</header>
<div class="callout small"><strong>공인 IP가 있는 내 홈서버로 운영하기</strong><br>인증·접속 중개와 PC 간 영상 전송을 나눈 배치, 도메인·UDP 포트, 직접 연결·VPN·relay 비교를 <a href="homeserver-architecture.html">홈서버 운영 설명 HTML ↗</a>에서 확인할 수 있습니다.</div>
__PARITY_GUIDE__
<section id="architecture"><div class="section-head"><h2>현재 구현안 · 원본 구조 대조 필요</h2><a href="ARCHITECTURE.ko.md">상세 설계 문서 ↗</a></div><p class="muted">아래 GPU/QUIC 흐름은 기존 제안과 현재 시험 기반입니다. 원본 일치가 확인된 구조가 아닙니다. 최종 앱·프로세스·전송 책임은 원본 근거와 E01–E04에 맞춰 교정합니다.</p><div class="diagram" role="img" aria-label="호스트 DXGI 캡처에서 NVENC 인코딩, QUIC 전송, 클라이언트 MF 디코딩과 D3D11 화면 표시로 이어지는 파이프라인"><div class="flow"><div class="node"><small>HOST / GPU</small><strong>DXGI 캡처</strong><small>BGRA → NV12</small></div><span class="arrow">→</span><div class="node"><small>ENCODER</small><strong>NVENC</strong><small>H.264 · IDR 복구</small></div><span class="arrow">→</span><div class="node"><small>TRANSPORT</small><strong>Quinn + rustls</strong><small>인증 · 조각 · 기한</small></div><span class="arrow">→</span><div class="node"><small>CLIENT / GPU</small><strong>MF → D3D11</strong><small>디코딩 · 화면 표시</small></div></div><div class="flow-caption">오디오: WASAPI → Opus → datagram → 지터 버퍼 → WASAPI | 입력: 승인된 세션 → key/button 상태 → SendInput</div></div><div class="contracts"><div><h3>미디어 worker가 GPU 자원을 소유</h3><p>Tokio는 연결·제어, 전용 worker는 COM·캡처·코덱을 담당합니다. 수명이 끝나기 전 texture를 재사용하지 않습니다.</p></div><div><h3>모든 큐에 길이와 기한을 설정</h3><p>늦은 프레임을 계속 쌓지 않습니다. 압축 프레임의 참조 관계를 고려해 폐기 후 IDR로 복구합니다.</p></div><div><h3>장치 신뢰와 입력 승인을 분리</h3><p>양쪽 fingerprint를 확인하고 호스트에서 제어를 승인합니다. 단절 시 눌린 키와 버튼을 해제합니다.</p></div><div><h3>UI와 영상 표시를 분리</h3><p>egui는 연결·설정 UI, 별도 D3D11 창은 실제 영상 출력입니다. 단일 세션은 초기 시험 조건이며 최종 범위 제한이 아닙니다.</p></div></div><div class="callout small">기존 자체 제안은 원본 대조 전입니다. 사용자용 host/client 분리, QUIC 고정과 별도 영상 창 등의 선택도 재검토합니다. 원본 내부의 미확인 부분은 임의 사양으로 채우지 않습니다. <a href="../analysis/parsec/OPEN_SOURCE_DEEP_ANALYSIS.ko.md">기존 분석 근거</a></div></section>
__PROGRESS_FRAGMENT__
__RUN_GUIDE__
<section id="password-access"><div class="section-head"><h2>계정 없이, PC별 접속 비밀번호</h2><a href="../IMPLEMENTATION.md">실제 구현·실행 방법 ↗</a></div><p>가입·로그인·로그아웃 기능은 만들지 않습니다. <strong>접속 대상 PC(host)에 비밀번호를 설정</strong>하고, 접속하는 앱(client)은 새 연결마다 입력합니다. 연결 관리 서버는 <strong>Ubuntu</strong>에서 실행하며 원격 접속 비밀번호를 보관하지 않습니다.</p><div class="contracts"><div><h3>F80 · 호스트 비밀번호 보관</h3><p>Argon2id + 무작위 salt, Windows DPAPI 보호. 로컬 설정·변경·손상 시 접속 거부.</p></div><div><h3>F81 · 연결별 인증</h3><p>신뢰한 host 인증서와 QUIC 암호화 확인 후 비밀번호 검증. 실패 누적 제한과 0-RTT 차단.</p></div><div><h3>F82 · 입력·설정 UI</h3><p>기기 선택 → 비밀번호 입력 → 연결. 마스킹·취소·재입력·설정 변경, 계정 화면 없음.</p></div><div><h3>Ubuntu 서버</h3><p>연결 관리·장치 신원은 서버, 비밀번호 확인은 해당 host. Ubuntu systemd와 내부 HTTP/proxy 배치.</p></div></div><div class="toolbar"><button id="password-add" type="button" class="primary">비밀번호 기능 3개 포함</button></div><p class="small">F80–F82는 기본 30개에 포함되며 기존 선택에는 선행 관계로 반영됩니다. 현재 실제 QUIC 비밀번호 인증, 장치 등록·인증·목록·heartbeat·폐기 API, 로컬 GPU 캡처 probe와 Linux 서버 파일을 구현했습니다. 기존 역할별 GUI는 통합 앱으로 수정해야 합니다. Ubuntu의 WSS·ticket·운영 배포는 검증됐으며 Windows 통합과 영상 스트리밍·입력은 남아 있습니다. 체크의 완료 상태를 자동으로 올리지 않습니다.</p></section>
<section id="server-system"><div class="section-head"><h2>연결 관리 서버도 개발 범위입니다</h2><a href="CONTROL_SERVER.ko.md">서버 상세 설계 ↗</a></div>
<p>기존 F32/F33에는 접속 중개·중계의 개요, F64/F65에는 컴퓨터 목록·초대 UI가 있었습니다. 서버의 DB·API 인증·세션 상태·배포·복원 기준을 <strong>F71–F79의 독립 기능 9개</strong>로 보강했습니다.</p>
<div class="contracts" id="server-audit"></div>
<div class="callout small"><strong>홈서버 운영 범위 선택</strong><br>아래 버튼은 기존 선택에 서버 9개와 선행 기능을 추가합니다. 기본 30개는 초기 작업 묶음입니다. 자동 NAT/relay도 원본 대조 대상이며 선택 여부를 최종 기능 제외로 해석하지 않습니다. F64/F65는 M4로 이동하고 서버 기능을 선행 조건으로 연결했습니다.</div>
<div class="toolbar"><button type="button" class="primary" id="server-add">연결 관리 서버 9개 추가</button><a class="button" href="homeserver-architecture.html#concepts">VPN·VPS 개념과 배치 설명 ↗</a></div>
<p id="server-progress" class="small" aria-live="polite"></p><div id="server-feature-list" class="settings-scroll"></div>
<p class="small">체크는 아래 전체 기능 목록과 같은 F ID에 반영되고, JSON·HTML 저장·개발 착수 지시문에도 포함됩니다. 새 선행 조건이 미완료인 기존 완료 기록은 재검토 경고로 표시합니다. 운영 배포와 공개 API 검증 기록은 Ubuntu 운영 문서를 따릅니다. 원본 서버 내부 복원과는 구분합니다.</p></section>
<section id="features"><div class="section-head"><h2>기능 체크리스트</h2><span class="small" id="visible-count"></span></div><p class="muted">체크는 <strong>다음 작업 묶음에 포함</strong>한다는 뜻이며, 미선택은 원본 기능의 최종 제외가 아닙니다. 기존 구현 제안은 PARSEC_PARITY 계약으로 재검토합니다. 진행 상태는 따로 기록합니다. 선행 기능은 자동으로 함께 선택되고, 해제하면 그 기능에 의존하는 항목도 범위에서 빠집니다.</p><div class="toolbar" aria-label="개발 범위 프리셋"><button type="button" data-preset="video">LAN 영상만</button><button type="button" data-preset="mvp">초기 시험 묶음</button><button type="button" data-preset="all">전체 기능</button><button type="button" id="expand-all">단계 모두 펼치기</button></div><div class="filters"><label>기능 검색<input type="search" id="search" placeholder="예: 오디오, NVENC, 재사용"></label><label>개발 단계<select id="phase-filter"><option value="all">모든 단계</option></select></label><label>표시 범위<select id="scope-filter"><option value="all">모든 기능</option><option value="selected">선택한 기능</option><option value="ready">착수 가능</option><option value="unfinished">선택 · 미완료</option><option value="blocked">차단 표시</option></select></label></div><p id="notice" role="status" aria-live="polite"></p><div id="dependency-warning" role="status"></div><div id="feature-list"></div><noscript><p>체크리스트를 사용하려면 JavaScript를 켜세요. 전체 설계는 ARCHITECTURE.ko.md와 plan-data.json에 있습니다.</p></noscript></section>
<section id="settings-audit"><div class="section-head"><h2>설정 전수 목록</h2><a href="SETTINGS_AND_RECOVERY.ko.md">설정·복구 분석 ↗</a></div><p>설치본 150-104a의 설정 스키마를 직접 추출했습니다. 아래 체크는 <strong>옵션의 구현·감사 범위 선택</strong>이며, 이 PC의 Parsec 설정을 변경하지 않습니다.</p><div class="audit-stats"><span>139개 등록 레코드</span><span>화면별 키 포함 173개</span><span>UI 함수 참조 61개</span><span>별도 항목 포함 163개</span></div><p class="small">139개 레코드는 모두 목록에 대응시켰습니다. 실제 실행 UI·웹 UI·다른 OS/버전의 전체 옵션까지 확인했다는 뜻은 아닙니다. 내부·계정 상태와 플랫폼 제외 항목도 누락 대신 처리 방침을 표시합니다.</p><div class="toolbar"><button type="button" class="primary" id="privacy-preset">Privacy + 가상 화면 추가</button><button type="button" id="settings-all">전체 설정 구현·감사 선택</button><button type="button" id="settings-clear">옵션 선택 해제</button></div><p class="small">옵션 선택 시 담당 기능과 선행 기능이 추가됩니다. 옵션만 해제하면 기능 선택은 유지됩니다. 기능을 해제하면 해당 옵션 선택도 해제됩니다.</p><div class="settings-controls"><label>설정 검색<input type="search" id="setting-search" placeholder="예: privacy, virtual, microphone, host_, hotkey"></label><label>설정 분류<select id="setting-category"><option value="all">모든 분류</option></select></label></div><p class="small" id="setting-count" aria-live="polite"></p><div id="settings-list" class="settings-scroll"></div><div class="callout warning small">원본 테이블의 기본값은 시작 시점의 기초 데이터입니다. 예를 들어 encoder_fps의 static default는 0이지만 공식 문서는 60을 설명합니다. 범위 역시 UI에서 허용하는 값과 다를 수 있습니다. 자체 앱의 유효 기본값·범위·적용 시점은 F47에서 따로 확정합니다.</div></section>
<section id="ui-audit"><p><a href="ui-recovery.html">150-104a 원본 폰트·아이콘·레이아웃 복구 미리보기</a> · <a href="UI_RECOVERY.ko.md">함수별 근거와 남은 차이</a></p><div class="section-head"><h2>UI 텍스트 복구 · 누락 재검토</h2><a href="UI_TEXT_AUDIT.ko.md">화면별 분석 보고서 ↗</a></div><p>Settings, Computers, Friends, Guests, 연결 대기·오류, 채팅, overlay, 로그인·업데이트까지 디컴파일과 문자열 참조를 대조했습니다. <strong>새 기능 7개 추가 · 기존 기능 9개 보강</strong>에 이어 연결 관리 서버 9개를 포함해 현재 총 82개 기능을 계획합니다.</p><div class="audit-stats" id="ui-stats"></div><p class="small">후보 수에는 설정 키·서식·로그·내부 ID 및 긴 문구의 중복 조각 34개가 포함됩니다. 모든 후보가 실제로 보이는 고유 문구라는 뜻은 아닙니다. 서버 오류 사전·웹 UI 번들·NSIS 압축 설치 화면은 미복원으로 남아 있습니다.</p><div class="toolbar"><button type="button" class="primary" id="ui-add-new">새 UI 기능 7개 추가</button><button type="button" id="ui-audit-all">UI 전체 구현·감사 선택</button><a class="button" href="../analysis/parsec/research/ui/ui-texts.tsv">원문 993개 TSV</a></div><p class="small">체크는 연결된 F 기능의 범위를 변경합니다. 동일 기능을 참조하는 화면도 함께 반영됩니다. F64/F65를 선택하면 실제 서버인 F74/F76과 선행 기능도 포함됩니다. 제외·내부용·미복원 항목의 F63 체크는 구현 약속이 아닌 처리 방침 감사입니다. 기존 선택·메모·진행 기록은 보존합니다.</p><div class="settings-controls"><label>화면·복구 원문 검색<input type="search" id="ui-search" placeholder="예: chat, Privacy, Copy Map String, F65"></label><label>대조 판정<select id="ui-result"><option value="all">모든 판정</option></select></label></div><p id="ui-count" class="small" aria-live="polite"></p><div id="ui-audit-list" class="settings-scroll"></div><div class="callout small">각 행의 원문·문자열 주소·함수 링크에서 근거를 확인할 수 있습니다. 구현 목록은 Rust 재구현 요구사항이며, 원본 변수명·타입·전체 소스가 복구됐다는 의미는 아닙니다.</div></section>
<section id="recovery"><div class="section-head"><h2>디컴파일 기반 복구 범위</h2><a href="SETTINGS_AND_RECOVERY.ko.md">함수 주소와 복구 한계 ↗</a></div><p>공개 소스가 없는 로직도 복구 후보에 포함합니다. <strong>의사 코드 → 타입·수명 계약 복원 → 독립 C/Rust 함수 → 실패·경계 시험 → 자체 모듈 통합</strong> 순서이며, 원본 프로젝트 전체가 복구된 상태는 아닙니다.</p><div class="recovery-grid"><div><h3>설정 스키마 · UI 조건</h3><p>139개 레코드와 화면별 파생 키를 실제 추출했습니다. 타입·정수 범위·기초 기본값과 UI의 enable/disable 조건을 복구합니다.</p><code>18004e9b0 · 180012c50 · F46/F47</code></div><div><h3>Privacy 상태 전이 · topology</h3><p>가상 화면 준비, physical display 제외, 실패 재시도, 활성 상태 검증, 종료 시 복원·잠금을 복구 후보로 정리했습니다.</p><code>1800bc9b0 · 1800bc670 · 1800a6b70 · F48</code></div><div><h3>전송 조각 · 큐 · 세션</h3><p>BUD 분할·재조립과 SCTP/DTLS 경계, frame deadline·입력 해제 계약을 재구현에 사용합니다. 혼잡 제어 전체와 서버 호환은 미복원입니다.</p><code>18003d430 · 18003cfa0 · 18009b410 · F46</code></div><div><h3>미디어 · 가상 장치 경계</h3><p>코덱 설정 변환, audio queue, VDD/USB의 호출·상태·오류 처리를 복구합니다. driver 전체 소스·서명·정확한 ABI는 별도 확인이 필요합니다.</p><code>180052b80 · 1800d83a0 · F49–F62</code></div></div><p class="small">복구 C/Rust 코드는 출처 함수·원본 hash·확신도·이용 조건·검증 결과를 함께 관리합니다. Parsec 실행 파일의 계정·구독 검사 변경은 이 재구현 계획에 포함하지 않습니다.</p></section>
<section id="reuse"><h2>원본 대응 코드 재사용</h2><div class="callout warning">F44/F45는 원본 대응 부품 조사입니다. Parsec을 다른 제품 fork로 치환하거나 원본과 다른 프로토콜·UI를 채택하는 지시가 아닙니다.</div><p>비공개 개인 사용은 공개 코드 선택의 폭을 넓혀 줍니다. GPL-3.0은 타인에게 전달하지 않는 사용·수정을 허용합니다. AGPL은 수정본의 원격 이용자에게 소스를 제공하는 조건도 있으므로 함께 확인합니다. <a href="https://github.com/LizardByte/Sunshine/blob/master/LICENSE" target="_blank" rel="noopener noreferrer">GPL §2</a> · <a href="https://github.com/rustdesk/rustdesk/blob/master/LICENCE" target="_blank" rel="noopener noreferrer">AGPL §13</a></p><div class="table-wrap"><table class="reuse-table"><thead><tr><th>대상</th><th>활용 방향</th><th>라이선스·설계 판단</th></tr></thead><tbody><tr><td><strong>Quinn / windows-rs / egui</strong></td><td>Rust 네트워크·Windows API·설정 UI</td><td>MIT / Apache-2.0. 현재 구현 기술. 원본 일치/명시 예외 범위와 버전·dependency 조건을 재검토.</td></tr><tr><td><strong>Opus / libmatoya</strong></td><td>오디오 코덱은 재사용. libmatoya는 필요한 OS wrapper만 참고·선별</td><td>Opus BSD 계열, libmatoya MIT. 공개 libmatoya 4.0이 설치본의 5.0과 같다고 가정하지 않음.</td></tr><tr><td><strong>Sunshine + Moonlight</strong></td><td>원본 동작에 대응하는 일부 모듈의 근거 조사</td><td>GPL-3.0. 원본 함수/동작과 비교해 대응 부품만 F44로 평가. 제품 전환 금지.</td></tr><tr><td><strong>RustDesk</strong></td><td>원본에 대응하는 capture·input 부품 조사</td><td>AGPL-3.0, 원본 구조·동작 대응과 차이를 F45로 검토. 제품/UI 전환 금지.</td></tr><tr><td><strong>디컴파일 기반 복구 코드</strong></td><td>타입·상태 전이·설정·자료 구조를 복구한 C/Rust 로직</td><td>F46의 별도 복구 작업대에서 구현·검증 후 통합 후보로 관리. 공개 의존성 라이선스가 자동 적용되지는 않으며 출처와 이용 조건을 따로 기록.</td></tr></tbody></table></div><p class="small">개인 사용이라는 조건이 모든 코드의 라이선스를 없애 주지는 않습니다. Rust로 번역하거나 DLL로 분리해도 원 코드의 조건이 자동으로 사라지지 않습니다. F44/F45의 선택은 원본 대응 부품 조사이며 제품 fork 전환을 허용하지 않습니다.</p></section>
<section id="handoff"><h2>이 선택으로 개발 착수</h2><p class="muted">공통 원본 재현 계약·명시 예외·선택 작업·원본 비교 기준이 모든 지시문에 포함됩니다. 확인된 구조 불일치 교정을 우선합니다.</p><div class="handoff"><div><label for="notes">추가 요구사항 <small>최대 5,000자</small></label><textarea id="notes" maxlength="5000" placeholder="예: 먼저 내 노트북을 클라이언트로 사용. 미관찰 원본 화면을 먼저 확인."></textarea><div class="toolbar actions"><button type="button" class="primary" id="copy-brief">착수 지시문 복사</button><button type="button" id="download-brief">지시문 .md 저장</button></div><div class="toolbar actions"><button type="button" id="export-json">선택 JSON 저장</button><button type="button" id="import-json">JSON 불러오기</button><input id="import-file" type="file" accept="application/json,.json" hidden><button type="button" id="snapshot">체크 상태를 HTML로 저장</button></div><p class="small">체크는 브라우저 저장소에 보관되며 원본 파일 자체를 수정하지 않습니다. 다음 개발 지시에는 복사한 지시문을 붙여 넣거나 저장한 JSON/HTML을 사용하세요. HTML 저장본은 선택 상태를 내장합니다.</p><p class="small" id="handoff-status" role="status" aria-live="polite"></p></div><div><label for="brief">생성된 개발 지시문</label><textarea id="brief" class="brief" readonly spellcheck="false"></textarea></div></div><p class="print-only">인쇄본의 체크와 진행 상태는 사용자 기록입니다. 실제 시험 완료 여부는 구현 결과에서 검증해야 합니다.</p></section>
<section id="references"><h2>근거와 재현 자료</h2><p class="muted">공식 저장소·API 자료는 2026-09-20에 확인했습니다. 실제 채택 시 commit과 전체 라이선스 조건을 다시 고정합니다.</p><div class="sources" id="sources"></div></section><footer>notParsec / 설계 v2026-09-21.6 · 오프라인 사용 가능 · 구현 기록과 사용자 기록을 구분합니다. 실시간 시험 결과가 아닙니다.</footer>
</main></div>
<script id="plan-data" type="application/json">__PLAN_DATA__</script>
<script id="initial-state" type="application/json">null</script>
<script>__PLAN_CORE__</script>
<script id="development-data" type="application/json">__PROGRESS_DATA__</script>
<script>__PROGRESS_CORE__</script>
<script>__PROGRESS_UI__</script>
<script>__PLAN_UI__</script>
</body></html>