feat(core): 추측으로 짝지은 강조를 세고 슬랙은 글자 별표를 이스케이프한다 - #102
Merged
Merged
Conversation
minjun0219
added this pull request to stack #101
October 2, 2026 14:09
🚀 Deploying Preview to Cloudflare 🚀Preview URL: https://feat-report-guessed-pair.mdwire.minjun.dev, https://feat-report-guessed-pair-mdwire-site.minjun.workers.dev (commit 15f5fc0)This URL reflects your latest Preview deploymentPreview Deployments by commit
|
minjun0219
marked this pull request as ready for review
October 2, 2026 22:44
여는 쪽이 막힌 강조(#100)는 규칙이 아니라 추측으로 짝을 맺는다. 그 판단을 보고에 드러내고, 애매한 자리를 좁히고, 슬랙에서 글자 별표가 다시 읽히는 것을 막는다. 모델에게 "수식은 백틱으로" 라고 부탁하지 않아도 되게 하는 것이 목표다. - `Repairs.guessed_pair`(npm `guessedPair`, Go `GuessedPair`, CLI JSON) — 고친 것 다섯 번째. `any()`에 든다. 0 이 아니면 한 번 볼 만한 답변이다 - 거울 짝은 **닫는 마커 뒤에 글자(조사)가 와야** 맺는다 — 마스킹 번호 `4***-…-003*` 의 홑 `*` 가 같은 줄 멀리의 글롭 `underfront.*` 와 묶이던 것. **양 끝이 다 ASCII 영숫자면 수식**이라 짝짓지 않는다(`x**(y)**z`, `2**(n-1)**2`). 막힌 여는 마커가 또 오면 앞의 것은 글자로 되돌리고 새것을 연다 — 앞의 것이 뒤의 거울 짝을 가로채지 않게 - **슬랙은 글자 `*` 를 `\*` 로 낸다**(실측 2026-10-02, `chat.postMessage`): 글자로 둔 별표를 슬랙이 CommonMark 로 다시 읽어 `x**(y)**z 와 2**(n-1)**2` 의 `**z 와 2**` 와 마스킹 번호의 `-****-` 를 굵게로 그렸다(후자는 지금 main 도 그렇다). `\*` `\~` `\<` `\_` 는 글자로 그렸다. 하네스의 슬랙 CommonMark 판정(#99)이 이걸 잡아냈다. 코퍼스 슬랙 기대값 4건이 바뀐다 - Rust · Go · 하네스 참조 모델 같이. 코퍼스 `hemmed-opener-before-punct` 에 수식 줄 · 사이트 문서에 `<Next />` Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
닫는 쪽·여는 쪽이 막힌 모양, 겹친 강조, 수식, 낫표를 부품으로 넣어 새 규칙이 스트리밍 일치와 Rust↔Go 대조에 실제로 걸리게 한다. Rust 20,000회 · Go 4,000회(Rust CLI 대조) 통과. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
minjun0219
force-pushed
the
feat/report-guessed-pair
branch
from
October 2, 2026 23:19
5c847e2 to
15f5fc0
Compare
Merged
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.
#100 의 거울 짝은 규칙이 아니라 추측이다. 그 판단을 보고(
guessedPair)에 드러내고, 애매한 자리를 좁혀(수식 · 글롭) 모델에게 "수식은 백틱으로" 라고 부탁하지 않아도 되게 한다. 그 과정에서 하네스가 잡아낸 슬랙 고장 — 글자로 둔 별표를 슬랙이 CommonMark 로 다시 읽는다 — 을\*이스케이프로 막는다. #99 → #100 위에 쌓은 PR 이다.변경 사항
거울 짝의 조건을 둘 더 좁혔다
닫는 마커 뒤에 글자(조사) 가 와야 한다 — 마스킹 번호
4***-…-003*의 홑*가 같은 줄 멀리의 글롭underfront.*와 묶이던 것을 실측에서 잡았다. 양 끝이 다 ASCII 영숫자면 수식(x**(y)**z,2**(n-1)**2)이라 짝짓지 않는다. 막힌 여는 마커가 또 오면 앞의 것은 글자로 되돌린다.crates/mdwire-core/src/inline.rs:332
슬랙도 글자
*를\*로 낸다실측(2026-10-02,
chat.postMessage): 그대로 보낸x**(y)**z 와 2**(n-1)**2는**z 와 2**가 굵게, 마스킹 번호의-****-도 굵게(이건 지금 main 도 그렇다).\*\~\<\_는 글자로 그렸다. 코퍼스 슬랙 기대값 4건이 바뀌고 슬랙의escapedChar가 는다.crates/mdwire-core/src/vocab.rs:237
보고 항목
guessed_pair고친 것 다섯 번째(
any()에 든다). 0 이 아니면 한 번 볼 만한 답변이다. Rust · Go · npm · CLI JSON 같이. 사이트 컴포넌트의 키 목록은 npm 에 올라간 판을 쓰므로 다음 판으로 올릴 때 더한다(주석으로 남김).crates/mdwire-core/src/lib.rs:195
검증
게이트 전부 통과(코퍼스 162회 · 불일치 0 · 위반 0, Go 대조, 사이트 빌드). 슬랙 전후 실측은 봇 DM(실측 H). 남는 애매함은
한글**(x)**한글처럼 문맥으로만 가려지는 모양뿐이고 그건guessedPair가 센다.모든 리뷰 코멘트는 한국어로 작성해 주세요.
🤖 Generated with Claude Code