Repository navigation
post: local-first AI 엔지니어링 1·2편 발행 — 노션 아티클 동기화·시리즈 등록 - #67
Merged
Merged
Conversation
- 1편: 클라우드 서버 없이 브라우저가 로컬 Rust 데몬과 직접 대화하는 이유 (local-first-ai-engineering) - 2편: 왜 코드·스펙 에이전트에서 임베딩과 벡터DB를 버렸는가 (why-not-embeddings) - 노션 callout → 인용 블록, <code>/<b>/<i> → 마크다운, 1편↔2편 내부 링크(/posts/...), 없던 이미지·태그 정리 - series local-first-ai 레지스트리 등록(완결 2편), README 포스트·시리즈 수 갱신
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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. |
Comment on lines
+312
to
+324
| ```sql | ||
| -- trigram: the default unicode61 tokenizer folds a run | ||
| -- of CJK characters into ONE token, so a substring | ||
| -- query like 커밋 could never match 커밋 메시지. | ||
| CREATE VIRTUAL TABLE IF NOT EXISTS messages_fts USING fts5( | ||
| content, | ||
| session_id UNINDEXED, | ||
| message_id UNINDEXED, | ||
| tokenize = 'trigram' | ||
| ); | ||
| ``` | ||
|
|
||
| 이건 추측이 아니라 실제로 겪은 버그다. `unicode61`은 한글 연속 구간을 하나의 토큰으로 접는다. 그래서 "커밋"으로 "커밋 메시지를 남겼다"를 찾지 못한다. trigram 토크나이저는 문자 3개 창을 전부 색인해서 MATCH를 부분 문자열 검색으로 바꾼다. |
Comment on lines
+102
to
+106
| | 질문 | 실제 호출 | | ||
| | --- | --- | | ||
| | A를 바꾸면 어디가 깨지는가 | `graph_walk start=[sym] edgeType=references direction=in` | | ||
| | B까지 어떻게 닿는가 | `graph_walk direction=out depth=n` | | ||
| | 이 둘 사이 전체 | `direction=both` | |
| else score = 4; // 본문에만 | ||
| ``` | ||
|
|
||
| FTS5 토크나이저는 `unicode61`에 `tokenchars '_.$#@-'`를 얹었다. `walkGraph`, `auth.client.ts`, `@developjik/sqlite-graph-mcp`가 한 토큰으로 남게 하려는 것이다. 기본 토크나이저로는 이 중 상당수가 쪼개져서 prefix 검색이 어긋난다. |
Comment on lines
+105
to
+106
| // 1·2편 발행, 3편(프론트엔드·UI 검증) 예정 | ||
| goal: 3, |
There was a problem hiding this comment.
🔍 PR 설명과 실제 시리즈 목표 편수가 다름
PR 설명의 목표는 2편이지만, 시리즈 상세 페이지는 3편을 기준으로 연재 상태를 표시합니다. README에 명시한 3편 계획을 PR 설명에도 반영하면 혼동을 줄일 수 있습니다.
Was this helpful? React with 👍 or 👎 to provide feedback.
This branch was successfully deployed
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.
요약
노션에 이미 발행한 엔지니어링 아티클 1편·2편을 블로그 포스트로 옮겨 시리즈로 묶었습니다. 원고는
drafts/local-first-ai-engineering.md,work/article2.md두 파일이고, 문장은 그대로 두고 블로그 포맷으로만 변환했습니다.src/content/posts/local-first-ai-engineering.mdxsrc/content/posts/why-not-embeddings.mdx변환 내용
>) — 사이트에 callout 컴포넌트가 없어.prose blockquote스타일을 그대로 씁니다. 내부<br />목록은 마크다운 목록/불릿으로 풀었습니다.<code>→ 백틱,<b>→**,<i>→*.<callout>·<br />잔여 태그 없음.app.notion.com/p/Rust-...)를/posts/local-first-ai-engineering으로 바꾸고, 1편 끝에 "다음 편" 링크를 추가했습니다. 두 글 모두 상단에 시리즈 안내 한 줄을 둡니다.date: 2026-11-23, 기존 태그 어휘(AI·아키텍처·Rust·TypeScript·에이전트)만 사용,series: local-first-ai,seriesPart: 1/2. 본문 H1은 기존 123편과 동일하게 제목을 반복합니다.확인이 필요한 판단 두 가지
src/lib/posts.ts) —SERIES레지스트리에local-first-ai(로컬 우선 AI 엔지니어링, accent#a8557a)를 추가했습니다. 예정 편수를 3편(프론트엔드·UI 검증)으로 잡아goal: 3이라 지금은 "연재 중 · 2/3"으로 표시되고, 2편으로 완결하려면goal: 2로 바꾸면 됩니다. 이 항목이 없으면 프론트매터의series는 무시되고 시리즈 페이지(/series/local-first-ai)·EP 배지·이전/다음 편 내비가 생기지 않습니다. 시리즈로 묶는 게 싫으면 이 항목과 두 글의series/seriesPart만 빼면 됩니다.— 부제만 붙였습니다(사이트 기존 관례). 노션과 글자 단위로 일치시키려면 부제를 지우면 됩니다.검증
pnpm build를 돌릴 수 없었습니다(설치 시도 중 확인). 대신@mdx-js/mdx+remark-gfm으로 두 파일을 컴파일 검증했고 둘 다 통과했습니다(기존spec-studio-build-log.mdx도 같은 조건에서 통과). frontmatter YAML 파싱과 표 열 수(2열/3열)도 확인했습니다.pnpm build)가 초록이면 배포 준비 완료입니다.머지는 직접 하시면 됩니다. CI 결과는 이 PR에서 확인하고, 실패하면 로그 보고 바로 고치겠습니다.